@azure/arm-compute 23.2.0-alpha.20260120.1 → 23.3.0-alpha.20260121.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/computeManagementClient.d.ts +3 -1
- package/dist/browser/computeManagementClient.d.ts.map +1 -1
- package/dist/browser/computeManagementClient.js +6 -2
- package/dist/browser/computeManagementClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +316 -3
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +22 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +19 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +533 -0
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +6 -0
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +47 -2
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/galleryScriptVersions.d.ts +111 -0
- package/dist/browser/operations/galleryScriptVersions.d.ts.map +1 -0
- package/dist/browser/operations/galleryScriptVersions.js +484 -0
- package/dist/browser/operations/galleryScriptVersions.js.map +1 -0
- package/dist/browser/operations/galleryScripts.d.ts +101 -0
- package/dist/browser/operations/galleryScripts.d.ts.map +1 -0
- package/dist/browser/operations/galleryScripts.js +454 -0
- package/dist/browser/operations/galleryScripts.js.map +1 -0
- package/dist/browser/operations/index.d.ts +2 -0
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +2 -0
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/galleryScriptVersions.d.ts +84 -0
- package/dist/browser/operationsInterfaces/galleryScriptVersions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/galleryScriptVersions.js +4 -0
- package/dist/browser/operationsInterfaces/galleryScriptVersions.js.map +1 -0
- package/dist/browser/operationsInterfaces/galleryScripts.d.ts +76 -0
- package/dist/browser/operationsInterfaces/galleryScripts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/galleryScripts.js +4 -0
- package/dist/browser/operationsInterfaces/galleryScripts.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +2 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/computeManagementClient.d.ts +3 -1
- package/dist/commonjs/computeManagementClient.d.ts.map +1 -1
- package/dist/commonjs/computeManagementClient.js +5 -1
- package/dist/commonjs/computeManagementClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +316 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +23 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +19 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +539 -6
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +6 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +47 -2
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/galleryScriptVersions.d.ts +111 -0
- package/dist/commonjs/operations/galleryScriptVersions.d.ts.map +1 -0
- package/dist/commonjs/operations/galleryScriptVersions.js +489 -0
- package/dist/commonjs/operations/galleryScriptVersions.js.map +1 -0
- package/dist/commonjs/operations/galleryScripts.d.ts +101 -0
- package/dist/commonjs/operations/galleryScripts.d.ts.map +1 -0
- package/dist/commonjs/operations/galleryScripts.js +459 -0
- package/dist/commonjs/operations/galleryScripts.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +2 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +2 -0
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/galleryScriptVersions.d.ts +84 -0
- package/dist/commonjs/operationsInterfaces/galleryScriptVersions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/galleryScriptVersions.js +5 -0
- package/dist/commonjs/operationsInterfaces/galleryScriptVersions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/galleryScripts.d.ts +76 -0
- package/dist/commonjs/operationsInterfaces/galleryScripts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/galleryScripts.js +5 -0
- package/dist/commonjs/operationsInterfaces/galleryScripts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +2 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/computeManagementClient.d.ts +3 -1
- package/dist/esm/computeManagementClient.d.ts.map +1 -1
- package/dist/esm/computeManagementClient.js +6 -2
- package/dist/esm/computeManagementClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +316 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +22 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +19 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +533 -0
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +6 -0
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +47 -2
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/galleryScriptVersions.d.ts +111 -0
- package/dist/esm/operations/galleryScriptVersions.d.ts.map +1 -0
- package/dist/esm/operations/galleryScriptVersions.js +484 -0
- package/dist/esm/operations/galleryScriptVersions.js.map +1 -0
- package/dist/esm/operations/galleryScripts.d.ts +101 -0
- package/dist/esm/operations/galleryScripts.d.ts.map +1 -0
- package/dist/esm/operations/galleryScripts.js +454 -0
- package/dist/esm/operations/galleryScripts.js.map +1 -0
- package/dist/esm/operations/index.d.ts +2 -0
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +2 -0
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/galleryScriptVersions.d.ts +84 -0
- package/dist/esm/operationsInterfaces/galleryScriptVersions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/galleryScriptVersions.js +4 -0
- package/dist/esm/operationsInterfaces/galleryScriptVersions.js.map +1 -0
- package/dist/esm/operationsInterfaces/galleryScripts.d.ts +76 -0
- package/dist/esm/operationsInterfaces/galleryScripts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/galleryScripts.js +4 -0
- package/dist/esm/operationsInterfaces/galleryScripts.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +2 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/computeManagementClient.d.ts +3 -1
- package/dist/react-native/computeManagementClient.d.ts.map +1 -1
- package/dist/react-native/computeManagementClient.js +6 -2
- package/dist/react-native/computeManagementClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +316 -3
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +22 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +19 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +533 -0
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +6 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +47 -2
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/galleryScriptVersions.d.ts +111 -0
- package/dist/react-native/operations/galleryScriptVersions.d.ts.map +1 -0
- package/dist/react-native/operations/galleryScriptVersions.js +484 -0
- package/dist/react-native/operations/galleryScriptVersions.js.map +1 -0
- package/dist/react-native/operations/galleryScripts.d.ts +101 -0
- package/dist/react-native/operations/galleryScripts.d.ts.map +1 -0
- package/dist/react-native/operations/galleryScripts.js +454 -0
- package/dist/react-native/operations/galleryScripts.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +2 -0
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +2 -0
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/galleryScriptVersions.d.ts +84 -0
- package/dist/react-native/operationsInterfaces/galleryScriptVersions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/galleryScriptVersions.js +4 -0
- package/dist/react-native/operationsInterfaces/galleryScriptVersions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/galleryScripts.d.ts +76 -0
- package/dist/react-native/operationsInterfaces/galleryScripts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/galleryScripts.js +4 -0
- package/dist/react-native/operationsInterfaces/galleryScripts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +2 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import type { Operations, AvailabilitySets, CapacityReservationGroups, DedicatedHostGroups, Images, VirtualMachineImagesEdgeZone, VirtualMachineImages, LogAnalytics, VirtualMachineExtensionImages, VirtualMachineRunCommands, UsageOperations, VirtualMachineScaleSets, VirtualMachines, VirtualMachineSizes, ProximityPlacementGroups, RestorePointCollections, SshPublicKeys, CapacityReservations, DedicatedHosts, RestorePoints, VirtualMachineScaleSetRollingUpgrades, VirtualMachineScaleSetExtensions, VirtualMachineScaleSetVMs, VirtualMachineScaleSetVMExtensions, VirtualMachineScaleSetVMRunCommands, VirtualMachineExtensions, DiskAccesses, DiskEncryptionSets, Disks, Snapshots, DiskRestorePointOperations, ResourceSkus, Galleries, CommunityGalleries, CommunityGalleryImages, CommunityGalleryImageVersions, SharedGalleries, SharedGalleryImages, SharedGalleryImageVersions, GalleryApplications, GalleryApplicationVersions, GalleryImages, GalleryImageVersions, GalleryInVMAccessControlProfiles, GalleryInVMAccessControlProfileVersions, GallerySharingProfile, SoftDeletedResource, CloudServiceRoleInstances, CloudServiceRoles, CloudServices, CloudServicesUpdateDomain, CloudServiceOperatingSystems } from "./operationsInterfaces/index.js";
|
|
3
|
+
import type { Operations, AvailabilitySets, CapacityReservationGroups, DedicatedHostGroups, Images, VirtualMachineImagesEdgeZone, VirtualMachineImages, LogAnalytics, VirtualMachineExtensionImages, VirtualMachineRunCommands, UsageOperations, VirtualMachineScaleSets, VirtualMachines, VirtualMachineSizes, ProximityPlacementGroups, RestorePointCollections, SshPublicKeys, CapacityReservations, DedicatedHosts, RestorePoints, VirtualMachineScaleSetRollingUpgrades, VirtualMachineScaleSetExtensions, VirtualMachineScaleSetVMs, VirtualMachineScaleSetVMExtensions, VirtualMachineScaleSetVMRunCommands, VirtualMachineExtensions, DiskAccesses, DiskEncryptionSets, Disks, Snapshots, DiskRestorePointOperations, ResourceSkus, Galleries, CommunityGalleries, CommunityGalleryImages, CommunityGalleryImageVersions, SharedGalleries, SharedGalleryImages, SharedGalleryImageVersions, GalleryApplications, GalleryApplicationVersions, GalleryImages, GalleryImageVersions, GalleryInVMAccessControlProfiles, GalleryInVMAccessControlProfileVersions, GalleryScripts, GalleryScriptVersions, GallerySharingProfile, SoftDeletedResource, CloudServiceRoleInstances, CloudServiceRoles, CloudServices, CloudServicesUpdateDomain, CloudServiceOperatingSystems } from "./operationsInterfaces/index.js";
|
|
4
4
|
import type { ComputeManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class ComputeManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
@@ -57,6 +57,8 @@ export declare class ComputeManagementClient extends coreClient.ServiceClient {
|
|
|
57
57
|
galleryImageVersions: GalleryImageVersions;
|
|
58
58
|
galleryInVMAccessControlProfiles: GalleryInVMAccessControlProfiles;
|
|
59
59
|
galleryInVMAccessControlProfileVersions: GalleryInVMAccessControlProfileVersions;
|
|
60
|
+
galleryScripts: GalleryScripts;
|
|
61
|
+
galleryScriptVersions: GalleryScriptVersions;
|
|
60
62
|
gallerySharingProfile: GallerySharingProfile;
|
|
61
63
|
softDeletedResource: SoftDeletedResource;
|
|
62
64
|
cloudServiceRoleInstances: CloudServiceRoleInstances;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeManagementClient.d.ts","sourceRoot":"","sources":["../../src/computeManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"computeManagementClient.d.ts","sourceRoot":"","sources":["../../src/computeManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAyDlD,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,MAAM,EACN,4BAA4B,EAC5B,oBAAoB,EACpB,YAAY,EACZ,6BAA6B,EAC7B,yBAAyB,EACzB,eAAe,EACf,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,qCAAqC,EACrC,gCAAgC,EAChC,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,KAAK,EACL,SAAS,EACT,0BAA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
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
5
|
import * as coreClient from "@azure/core-client";
|
|
6
6
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
7
|
-
import { OperationsImpl, AvailabilitySetsImpl, CapacityReservationGroupsImpl, DedicatedHostGroupsImpl, ImagesImpl, VirtualMachineImagesEdgeZoneImpl, VirtualMachineImagesImpl, LogAnalyticsImpl, VirtualMachineExtensionImagesImpl, VirtualMachineRunCommandsImpl, UsageOperationsImpl, VirtualMachineScaleSetsImpl, VirtualMachinesImpl, VirtualMachineSizesImpl, ProximityPlacementGroupsImpl, RestorePointCollectionsImpl, SshPublicKeysImpl, CapacityReservationsImpl, DedicatedHostsImpl, RestorePointsImpl, VirtualMachineScaleSetRollingUpgradesImpl, VirtualMachineScaleSetExtensionsImpl, VirtualMachineScaleSetVMsImpl, VirtualMachineScaleSetVMExtensionsImpl, VirtualMachineScaleSetVMRunCommandsImpl, VirtualMachineExtensionsImpl, DiskAccessesImpl, DiskEncryptionSetsImpl, DisksImpl, SnapshotsImpl, DiskRestorePointOperationsImpl, ResourceSkusImpl, GalleriesImpl, CommunityGalleriesImpl, CommunityGalleryImagesImpl, CommunityGalleryImageVersionsImpl, SharedGalleriesImpl, SharedGalleryImagesImpl, SharedGalleryImageVersionsImpl, GalleryApplicationsImpl, GalleryApplicationVersionsImpl, GalleryImagesImpl, GalleryImageVersionsImpl, GalleryInVMAccessControlProfilesImpl, GalleryInVMAccessControlProfileVersionsImpl, GallerySharingProfileImpl, SoftDeletedResourceImpl, CloudServiceRoleInstancesImpl, CloudServiceRolesImpl, CloudServicesImpl, CloudServicesUpdateDomainImpl, CloudServiceOperatingSystemsImpl, } from "./operations/index.js";
|
|
7
|
+
import { OperationsImpl, AvailabilitySetsImpl, CapacityReservationGroupsImpl, DedicatedHostGroupsImpl, ImagesImpl, VirtualMachineImagesEdgeZoneImpl, VirtualMachineImagesImpl, LogAnalyticsImpl, VirtualMachineExtensionImagesImpl, VirtualMachineRunCommandsImpl, UsageOperationsImpl, VirtualMachineScaleSetsImpl, VirtualMachinesImpl, VirtualMachineSizesImpl, ProximityPlacementGroupsImpl, RestorePointCollectionsImpl, SshPublicKeysImpl, CapacityReservationsImpl, DedicatedHostsImpl, RestorePointsImpl, VirtualMachineScaleSetRollingUpgradesImpl, VirtualMachineScaleSetExtensionsImpl, VirtualMachineScaleSetVMsImpl, VirtualMachineScaleSetVMExtensionsImpl, VirtualMachineScaleSetVMRunCommandsImpl, VirtualMachineExtensionsImpl, DiskAccessesImpl, DiskEncryptionSetsImpl, DisksImpl, SnapshotsImpl, DiskRestorePointOperationsImpl, ResourceSkusImpl, GalleriesImpl, CommunityGalleriesImpl, CommunityGalleryImagesImpl, CommunityGalleryImageVersionsImpl, SharedGalleriesImpl, SharedGalleryImagesImpl, SharedGalleryImageVersionsImpl, GalleryApplicationsImpl, GalleryApplicationVersionsImpl, GalleryImagesImpl, GalleryImageVersionsImpl, GalleryInVMAccessControlProfilesImpl, GalleryInVMAccessControlProfileVersionsImpl, GalleryScriptsImpl, GalleryScriptVersionsImpl, GallerySharingProfileImpl, SoftDeletedResourceImpl, CloudServiceRoleInstancesImpl, CloudServiceRolesImpl, CloudServicesImpl, CloudServicesUpdateDomainImpl, CloudServiceOperatingSystemsImpl, } from "./operations/index.js";
|
|
8
8
|
export class ComputeManagementClient extends coreClient.ServiceClient {
|
|
9
9
|
$host;
|
|
10
10
|
subscriptionId;
|
|
@@ -29,7 +29,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
|
|
|
29
29
|
requestContentType: "application/json; charset=utf-8",
|
|
30
30
|
credential: credentials,
|
|
31
31
|
};
|
|
32
|
-
const packageDetails = `azsdk-js-arm-compute/23.
|
|
32
|
+
const packageDetails = `azsdk-js-arm-compute/23.3.0`;
|
|
33
33
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34
34
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
35
35
|
: `${packageDetails}`;
|
|
@@ -111,6 +111,8 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
|
|
|
111
111
|
this.galleryImageVersions = new GalleryImageVersionsImpl(this);
|
|
112
112
|
this.galleryInVMAccessControlProfiles = new GalleryInVMAccessControlProfilesImpl(this);
|
|
113
113
|
this.galleryInVMAccessControlProfileVersions = new GalleryInVMAccessControlProfileVersionsImpl(this);
|
|
114
|
+
this.galleryScripts = new GalleryScriptsImpl(this);
|
|
115
|
+
this.galleryScriptVersions = new GalleryScriptVersionsImpl(this);
|
|
114
116
|
this.gallerySharingProfile = new GallerySharingProfileImpl(this);
|
|
115
117
|
this.softDeletedResource = new SoftDeletedResourceImpl(this);
|
|
116
118
|
this.cloudServiceRoleInstances = new CloudServiceRoleInstancesImpl(this);
|
|
@@ -164,6 +166,8 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
|
|
|
164
166
|
galleryImageVersions;
|
|
165
167
|
galleryInVMAccessControlProfiles;
|
|
166
168
|
galleryInVMAccessControlProfileVersions;
|
|
169
|
+
galleryScripts;
|
|
170
|
+
galleryScriptVersions;
|
|
167
171
|
gallerySharingProfile;
|
|
168
172
|
softDeletedResource;
|
|
169
173
|
cloudServiceRoleInstances;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeManagementClient.js","sourceRoot":"","sources":["../../src/computeManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,6BAA6B,EAC7B,uBAAuB,EACvB,UAAU,EACV,gCAAgC,EAChC,wBAAwB,EACxB,gBAAgB,EAChB,iCAAiC,EACjC,6BAA6B,EAC7B,mBAAmB,EACnB,2B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,aAAa,CAAgB;IAC7B,yBAAyB,CAA4B;IACrD,4BAA4B,CAA+B;CAC5D","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AvailabilitySetsImpl,\n CapacityReservationGroupsImpl,\n DedicatedHostGroupsImpl,\n ImagesImpl,\n VirtualMachineImagesEdgeZoneImpl,\n VirtualMachineImagesImpl,\n LogAnalyticsImpl,\n VirtualMachineExtensionImagesImpl,\n VirtualMachineRunCommandsImpl,\n UsageOperationsImpl,\n VirtualMachineScaleSetsImpl,\n VirtualMachinesImpl,\n VirtualMachineSizesImpl,\n ProximityPlacementGroupsImpl,\n RestorePointCollectionsImpl,\n SshPublicKeysImpl,\n CapacityReservationsImpl,\n DedicatedHostsImpl,\n RestorePointsImpl,\n VirtualMachineScaleSetRollingUpgradesImpl,\n VirtualMachineScaleSetExtensionsImpl,\n VirtualMachineScaleSetVMsImpl,\n VirtualMachineScaleSetVMExtensionsImpl,\n VirtualMachineScaleSetVMRunCommandsImpl,\n VirtualMachineExtensionsImpl,\n DiskAccessesImpl,\n DiskEncryptionSetsImpl,\n DisksImpl,\n SnapshotsImpl,\n DiskRestorePointOperationsImpl,\n ResourceSkusImpl,\n GalleriesImpl,\n CommunityGalleriesImpl,\n CommunityGalleryImagesImpl,\n CommunityGalleryImageVersionsImpl,\n SharedGalleriesImpl,\n SharedGalleryImagesImpl,\n SharedGalleryImageVersionsImpl,\n GalleryApplicationsImpl,\n GalleryApplicationVersionsImpl,\n GalleryImagesImpl,\n GalleryImageVersionsImpl,\n GalleryInVMAccessControlProfilesImpl,\n GalleryInVMAccessControlProfileVersionsImpl,\n GallerySharingProfileImpl,\n SoftDeletedResourceImpl,\n CloudServiceRoleInstancesImpl,\n CloudServiceRolesImpl,\n CloudServicesImpl,\n CloudServicesUpdateDomainImpl,\n CloudServiceOperatingSystemsImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n AvailabilitySets,\n CapacityReservationGroups,\n DedicatedHostGroups,\n Images,\n VirtualMachineImagesEdgeZone,\n VirtualMachineImages,\n LogAnalytics,\n VirtualMachineExtensionImages,\n VirtualMachineRunCommands,\n UsageOperations,\n VirtualMachineScaleSets,\n VirtualMachines,\n VirtualMachineSizes,\n ProximityPlacementGroups,\n RestorePointCollections,\n SshPublicKeys,\n CapacityReservations,\n DedicatedHosts,\n RestorePoints,\n VirtualMachineScaleSetRollingUpgrades,\n VirtualMachineScaleSetExtensions,\n VirtualMachineScaleSetVMs,\n VirtualMachineScaleSetVMExtensions,\n VirtualMachineScaleSetVMRunCommands,\n VirtualMachineExtensions,\n DiskAccesses,\n DiskEncryptionSets,\n Disks,\n Snapshots,\n DiskRestorePointOperations,\n ResourceSkus,\n Galleries,\n CommunityGalleries,\n CommunityGalleryImages,\n CommunityGalleryImageVersions,\n SharedGalleries,\n SharedGalleryImages,\n SharedGalleryImageVersions,\n GalleryApplications,\n GalleryApplicationVersions,\n GalleryImages,\n GalleryImageVersions,\n GalleryInVMAccessControlProfiles,\n GalleryInVMAccessControlProfileVersions,\n GallerySharingProfile,\n SoftDeletedResource,\n CloudServiceRoleInstances,\n CloudServiceRoles,\n CloudServices,\n CloudServicesUpdateDomain,\n CloudServiceOperatingSystems,\n} from \"./operationsInterfaces/index.js\";\nimport type { ComputeManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ComputeManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ComputeManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ComputeManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ComputeManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-compute/23.2.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.operations = new OperationsImpl(this);\n this.availabilitySets = new AvailabilitySetsImpl(this);\n this.capacityReservationGroups = new CapacityReservationGroupsImpl(this);\n this.dedicatedHostGroups = new DedicatedHostGroupsImpl(this);\n this.images = new ImagesImpl(this);\n this.virtualMachineImagesEdgeZone = new VirtualMachineImagesEdgeZoneImpl(this);\n this.virtualMachineImages = new VirtualMachineImagesImpl(this);\n this.logAnalytics = new LogAnalyticsImpl(this);\n this.virtualMachineExtensionImages = new VirtualMachineExtensionImagesImpl(this);\n this.virtualMachineRunCommands = new VirtualMachineRunCommandsImpl(this);\n this.usageOperations = new UsageOperationsImpl(this);\n this.virtualMachineScaleSets = new VirtualMachineScaleSetsImpl(this);\n this.virtualMachines = new VirtualMachinesImpl(this);\n this.virtualMachineSizes = new VirtualMachineSizesImpl(this);\n this.proximityPlacementGroups = new ProximityPlacementGroupsImpl(this);\n this.restorePointCollections = new RestorePointCollectionsImpl(this);\n this.sshPublicKeys = new SshPublicKeysImpl(this);\n this.capacityReservations = new CapacityReservationsImpl(this);\n this.dedicatedHosts = new DedicatedHostsImpl(this);\n this.restorePoints = new RestorePointsImpl(this);\n this.virtualMachineScaleSetRollingUpgrades = new VirtualMachineScaleSetRollingUpgradesImpl(\n this,\n );\n this.virtualMachineScaleSetExtensions = new VirtualMachineScaleSetExtensionsImpl(this);\n this.virtualMachineScaleSetVMs = new VirtualMachineScaleSetVMsImpl(this);\n this.virtualMachineScaleSetVMExtensions = new VirtualMachineScaleSetVMExtensionsImpl(this);\n this.virtualMachineScaleSetVMRunCommands = new VirtualMachineScaleSetVMRunCommandsImpl(this);\n this.virtualMachineExtensions = new VirtualMachineExtensionsImpl(this);\n this.diskAccesses = new DiskAccessesImpl(this);\n this.diskEncryptionSets = new DiskEncryptionSetsImpl(this);\n this.disks = new DisksImpl(this);\n this.snapshots = new SnapshotsImpl(this);\n this.diskRestorePointOperations = new DiskRestorePointOperationsImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.galleries = new GalleriesImpl(this);\n this.communityGalleries = new CommunityGalleriesImpl(this);\n this.communityGalleryImages = new CommunityGalleryImagesImpl(this);\n this.communityGalleryImageVersions = new CommunityGalleryImageVersionsImpl(this);\n this.sharedGalleries = new SharedGalleriesImpl(this);\n this.sharedGalleryImages = new SharedGalleryImagesImpl(this);\n this.sharedGalleryImageVersions = new SharedGalleryImageVersionsImpl(this);\n this.galleryApplications = new GalleryApplicationsImpl(this);\n this.galleryApplicationVersions = new GalleryApplicationVersionsImpl(this);\n this.galleryImages = new GalleryImagesImpl(this);\n this.galleryImageVersions = new GalleryImageVersionsImpl(this);\n this.galleryInVMAccessControlProfiles = new GalleryInVMAccessControlProfilesImpl(this);\n this.galleryInVMAccessControlProfileVersions = new GalleryInVMAccessControlProfileVersionsImpl(\n this,\n );\n this.gallerySharingProfile = new GallerySharingProfileImpl(this);\n this.softDeletedResource = new SoftDeletedResourceImpl(this);\n this.cloudServiceRoleInstances = new CloudServiceRoleInstancesImpl(this);\n this.cloudServiceRoles = new CloudServiceRolesImpl(this);\n this.cloudServices = new CloudServicesImpl(this);\n this.cloudServicesUpdateDomain = new CloudServicesUpdateDomainImpl(this);\n this.cloudServiceOperatingSystems = new CloudServiceOperatingSystemsImpl(this);\n }\n\n operations: Operations;\n availabilitySets: AvailabilitySets;\n capacityReservationGroups: CapacityReservationGroups;\n dedicatedHostGroups: DedicatedHostGroups;\n images: Images;\n virtualMachineImagesEdgeZone: VirtualMachineImagesEdgeZone;\n virtualMachineImages: VirtualMachineImages;\n logAnalytics: LogAnalytics;\n virtualMachineExtensionImages: VirtualMachineExtensionImages;\n virtualMachineRunCommands: VirtualMachineRunCommands;\n usageOperations: UsageOperations;\n virtualMachineScaleSets: VirtualMachineScaleSets;\n virtualMachines: VirtualMachines;\n virtualMachineSizes: VirtualMachineSizes;\n proximityPlacementGroups: ProximityPlacementGroups;\n restorePointCollections: RestorePointCollections;\n sshPublicKeys: SshPublicKeys;\n capacityReservations: CapacityReservations;\n dedicatedHosts: DedicatedHosts;\n restorePoints: RestorePoints;\n virtualMachineScaleSetRollingUpgrades: VirtualMachineScaleSetRollingUpgrades;\n virtualMachineScaleSetExtensions: VirtualMachineScaleSetExtensions;\n virtualMachineScaleSetVMs: VirtualMachineScaleSetVMs;\n virtualMachineScaleSetVMExtensions: VirtualMachineScaleSetVMExtensions;\n virtualMachineScaleSetVMRunCommands: VirtualMachineScaleSetVMRunCommands;\n virtualMachineExtensions: VirtualMachineExtensions;\n diskAccesses: DiskAccesses;\n diskEncryptionSets: DiskEncryptionSets;\n disks: Disks;\n snapshots: Snapshots;\n diskRestorePointOperations: DiskRestorePointOperations;\n resourceSkus: ResourceSkus;\n galleries: Galleries;\n communityGalleries: CommunityGalleries;\n communityGalleryImages: CommunityGalleryImages;\n communityGalleryImageVersions: CommunityGalleryImageVersions;\n sharedGalleries: SharedGalleries;\n sharedGalleryImages: SharedGalleryImages;\n sharedGalleryImageVersions: SharedGalleryImageVersions;\n galleryApplications: GalleryApplications;\n galleryApplicationVersions: GalleryApplicationVersions;\n galleryImages: GalleryImages;\n galleryImageVersions: GalleryImageVersions;\n galleryInVMAccessControlProfiles: GalleryInVMAccessControlProfiles;\n galleryInVMAccessControlProfileVersions: GalleryInVMAccessControlProfileVersions;\n gallerySharingProfile: GallerySharingProfile;\n softDeletedResource: SoftDeletedResource;\n cloudServiceRoleInstances: CloudServiceRoleInstances;\n cloudServiceRoles: CloudServiceRoles;\n cloudServices: CloudServices;\n cloudServicesUpdateDomain: CloudServicesUpdateDomain;\n cloudServiceOperatingSystems: CloudServiceOperatingSystems;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"computeManagementClient.js","sourceRoot":"","sources":["../../src/computeManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,6BAA6B,EAC7B,uBAAuB,EACv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AAkB;IACjC,mBAAmB,CAAsB;IACzC,0BAA0B,CAA6B;IACvD,mBAAmB,CAAsB;IACzC,0BAA0B,CAA6B;IACvD,aAAa,CAAgB;IAC7B,oBAAoB,CAAuB;IAC3C,gCAAgC,CAAmC;IACnE,uCAAuC,CAA0C;IACjF,cAAc,CAAiB;IAC/B,qBAAqB,CAAwB;IAC7C,qBAAqB,CAAwB;IAC7C,mBAAmB,CAAsB;IACzC,yBAAyB,CAA4B;IACrD,iBAAiB,CAAoB;IACrC,aAAa,CAAgB;IAC7B,yBAAyB,CAA4B;IACrD,4BAA4B,CAA+B;CAC5D","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AvailabilitySetsImpl,\n CapacityReservationGroupsImpl,\n DedicatedHostGroupsImpl,\n ImagesImpl,\n VirtualMachineImagesEdgeZoneImpl,\n VirtualMachineImagesImpl,\n LogAnalyticsImpl,\n VirtualMachineExtensionImagesImpl,\n VirtualMachineRunCommandsImpl,\n UsageOperationsImpl,\n VirtualMachineScaleSetsImpl,\n VirtualMachinesImpl,\n VirtualMachineSizesImpl,\n ProximityPlacementGroupsImpl,\n RestorePointCollectionsImpl,\n SshPublicKeysImpl,\n CapacityReservationsImpl,\n DedicatedHostsImpl,\n RestorePointsImpl,\n VirtualMachineScaleSetRollingUpgradesImpl,\n VirtualMachineScaleSetExtensionsImpl,\n VirtualMachineScaleSetVMsImpl,\n VirtualMachineScaleSetVMExtensionsImpl,\n VirtualMachineScaleSetVMRunCommandsImpl,\n VirtualMachineExtensionsImpl,\n DiskAccessesImpl,\n DiskEncryptionSetsImpl,\n DisksImpl,\n SnapshotsImpl,\n DiskRestorePointOperationsImpl,\n ResourceSkusImpl,\n GalleriesImpl,\n CommunityGalleriesImpl,\n CommunityGalleryImagesImpl,\n CommunityGalleryImageVersionsImpl,\n SharedGalleriesImpl,\n SharedGalleryImagesImpl,\n SharedGalleryImageVersionsImpl,\n GalleryApplicationsImpl,\n GalleryApplicationVersionsImpl,\n GalleryImagesImpl,\n GalleryImageVersionsImpl,\n GalleryInVMAccessControlProfilesImpl,\n GalleryInVMAccessControlProfileVersionsImpl,\n GalleryScriptsImpl,\n GalleryScriptVersionsImpl,\n GallerySharingProfileImpl,\n SoftDeletedResourceImpl,\n CloudServiceRoleInstancesImpl,\n CloudServiceRolesImpl,\n CloudServicesImpl,\n CloudServicesUpdateDomainImpl,\n CloudServiceOperatingSystemsImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n AvailabilitySets,\n CapacityReservationGroups,\n DedicatedHostGroups,\n Images,\n VirtualMachineImagesEdgeZone,\n VirtualMachineImages,\n LogAnalytics,\n VirtualMachineExtensionImages,\n VirtualMachineRunCommands,\n UsageOperations,\n VirtualMachineScaleSets,\n VirtualMachines,\n VirtualMachineSizes,\n ProximityPlacementGroups,\n RestorePointCollections,\n SshPublicKeys,\n CapacityReservations,\n DedicatedHosts,\n RestorePoints,\n VirtualMachineScaleSetRollingUpgrades,\n VirtualMachineScaleSetExtensions,\n VirtualMachineScaleSetVMs,\n VirtualMachineScaleSetVMExtensions,\n VirtualMachineScaleSetVMRunCommands,\n VirtualMachineExtensions,\n DiskAccesses,\n DiskEncryptionSets,\n Disks,\n Snapshots,\n DiskRestorePointOperations,\n ResourceSkus,\n Galleries,\n CommunityGalleries,\n CommunityGalleryImages,\n CommunityGalleryImageVersions,\n SharedGalleries,\n SharedGalleryImages,\n SharedGalleryImageVersions,\n GalleryApplications,\n GalleryApplicationVersions,\n GalleryImages,\n GalleryImageVersions,\n GalleryInVMAccessControlProfiles,\n GalleryInVMAccessControlProfileVersions,\n GalleryScripts,\n GalleryScriptVersions,\n GallerySharingProfile,\n SoftDeletedResource,\n CloudServiceRoleInstances,\n CloudServiceRoles,\n CloudServices,\n CloudServicesUpdateDomain,\n CloudServiceOperatingSystems,\n} from \"./operationsInterfaces/index.js\";\nimport type { ComputeManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ComputeManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ComputeManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ComputeManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ComputeManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-compute/23.3.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.operations = new OperationsImpl(this);\n this.availabilitySets = new AvailabilitySetsImpl(this);\n this.capacityReservationGroups = new CapacityReservationGroupsImpl(this);\n this.dedicatedHostGroups = new DedicatedHostGroupsImpl(this);\n this.images = new ImagesImpl(this);\n this.virtualMachineImagesEdgeZone = new VirtualMachineImagesEdgeZoneImpl(this);\n this.virtualMachineImages = new VirtualMachineImagesImpl(this);\n this.logAnalytics = new LogAnalyticsImpl(this);\n this.virtualMachineExtensionImages = new VirtualMachineExtensionImagesImpl(this);\n this.virtualMachineRunCommands = new VirtualMachineRunCommandsImpl(this);\n this.usageOperations = new UsageOperationsImpl(this);\n this.virtualMachineScaleSets = new VirtualMachineScaleSetsImpl(this);\n this.virtualMachines = new VirtualMachinesImpl(this);\n this.virtualMachineSizes = new VirtualMachineSizesImpl(this);\n this.proximityPlacementGroups = new ProximityPlacementGroupsImpl(this);\n this.restorePointCollections = new RestorePointCollectionsImpl(this);\n this.sshPublicKeys = new SshPublicKeysImpl(this);\n this.capacityReservations = new CapacityReservationsImpl(this);\n this.dedicatedHosts = new DedicatedHostsImpl(this);\n this.restorePoints = new RestorePointsImpl(this);\n this.virtualMachineScaleSetRollingUpgrades = new VirtualMachineScaleSetRollingUpgradesImpl(\n this,\n );\n this.virtualMachineScaleSetExtensions = new VirtualMachineScaleSetExtensionsImpl(this);\n this.virtualMachineScaleSetVMs = new VirtualMachineScaleSetVMsImpl(this);\n this.virtualMachineScaleSetVMExtensions = new VirtualMachineScaleSetVMExtensionsImpl(this);\n this.virtualMachineScaleSetVMRunCommands = new VirtualMachineScaleSetVMRunCommandsImpl(this);\n this.virtualMachineExtensions = new VirtualMachineExtensionsImpl(this);\n this.diskAccesses = new DiskAccessesImpl(this);\n this.diskEncryptionSets = new DiskEncryptionSetsImpl(this);\n this.disks = new DisksImpl(this);\n this.snapshots = new SnapshotsImpl(this);\n this.diskRestorePointOperations = new DiskRestorePointOperationsImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.galleries = new GalleriesImpl(this);\n this.communityGalleries = new CommunityGalleriesImpl(this);\n this.communityGalleryImages = new CommunityGalleryImagesImpl(this);\n this.communityGalleryImageVersions = new CommunityGalleryImageVersionsImpl(this);\n this.sharedGalleries = new SharedGalleriesImpl(this);\n this.sharedGalleryImages = new SharedGalleryImagesImpl(this);\n this.sharedGalleryImageVersions = new SharedGalleryImageVersionsImpl(this);\n this.galleryApplications = new GalleryApplicationsImpl(this);\n this.galleryApplicationVersions = new GalleryApplicationVersionsImpl(this);\n this.galleryImages = new GalleryImagesImpl(this);\n this.galleryImageVersions = new GalleryImageVersionsImpl(this);\n this.galleryInVMAccessControlProfiles = new GalleryInVMAccessControlProfilesImpl(this);\n this.galleryInVMAccessControlProfileVersions = new GalleryInVMAccessControlProfileVersionsImpl(\n this,\n );\n this.galleryScripts = new GalleryScriptsImpl(this);\n this.galleryScriptVersions = new GalleryScriptVersionsImpl(this);\n this.gallerySharingProfile = new GallerySharingProfileImpl(this);\n this.softDeletedResource = new SoftDeletedResourceImpl(this);\n this.cloudServiceRoleInstances = new CloudServiceRoleInstancesImpl(this);\n this.cloudServiceRoles = new CloudServiceRolesImpl(this);\n this.cloudServices = new CloudServicesImpl(this);\n this.cloudServicesUpdateDomain = new CloudServicesUpdateDomainImpl(this);\n this.cloudServiceOperatingSystems = new CloudServiceOperatingSystemsImpl(this);\n }\n\n operations: Operations;\n availabilitySets: AvailabilitySets;\n capacityReservationGroups: CapacityReservationGroups;\n dedicatedHostGroups: DedicatedHostGroups;\n images: Images;\n virtualMachineImagesEdgeZone: VirtualMachineImagesEdgeZone;\n virtualMachineImages: VirtualMachineImages;\n logAnalytics: LogAnalytics;\n virtualMachineExtensionImages: VirtualMachineExtensionImages;\n virtualMachineRunCommands: VirtualMachineRunCommands;\n usageOperations: UsageOperations;\n virtualMachineScaleSets: VirtualMachineScaleSets;\n virtualMachines: VirtualMachines;\n virtualMachineSizes: VirtualMachineSizes;\n proximityPlacementGroups: ProximityPlacementGroups;\n restorePointCollections: RestorePointCollections;\n sshPublicKeys: SshPublicKeys;\n capacityReservations: CapacityReservations;\n dedicatedHosts: DedicatedHosts;\n restorePoints: RestorePoints;\n virtualMachineScaleSetRollingUpgrades: VirtualMachineScaleSetRollingUpgrades;\n virtualMachineScaleSetExtensions: VirtualMachineScaleSetExtensions;\n virtualMachineScaleSetVMs: VirtualMachineScaleSetVMs;\n virtualMachineScaleSetVMExtensions: VirtualMachineScaleSetVMExtensions;\n virtualMachineScaleSetVMRunCommands: VirtualMachineScaleSetVMRunCommands;\n virtualMachineExtensions: VirtualMachineExtensions;\n diskAccesses: DiskAccesses;\n diskEncryptionSets: DiskEncryptionSets;\n disks: Disks;\n snapshots: Snapshots;\n diskRestorePointOperations: DiskRestorePointOperations;\n resourceSkus: ResourceSkus;\n galleries: Galleries;\n communityGalleries: CommunityGalleries;\n communityGalleryImages: CommunityGalleryImages;\n communityGalleryImageVersions: CommunityGalleryImageVersions;\n sharedGalleries: SharedGalleries;\n sharedGalleryImages: SharedGalleryImages;\n sharedGalleryImageVersions: SharedGalleryImageVersions;\n galleryApplications: GalleryApplications;\n galleryApplicationVersions: GalleryApplicationVersions;\n galleryImages: GalleryImages;\n galleryImageVersions: GalleryImageVersions;\n galleryInVMAccessControlProfiles: GalleryInVMAccessControlProfiles;\n galleryInVMAccessControlProfileVersions: GalleryInVMAccessControlProfileVersions;\n galleryScripts: GalleryScripts;\n galleryScriptVersions: GalleryScriptVersions;\n gallerySharingProfile: GallerySharingProfile;\n softDeletedResource: SoftDeletedResource;\n cloudServiceRoleInstances: CloudServiceRoleInstances;\n cloudServiceRoles: CloudServiceRoles;\n cloudServices: CloudServices;\n cloudServicesUpdateDomain: CloudServicesUpdateDomain;\n cloudServiceOperatingSystems: CloudServiceOperatingSystems;\n}\n"]}
|
|
@@ -4006,12 +4006,14 @@ export interface GalleryArtifactPublishingProfileBase {
|
|
|
4006
4006
|
readonly publishedDate?: Date;
|
|
4007
4007
|
/** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */
|
|
4008
4008
|
endOfLifeDate?: Date;
|
|
4009
|
-
/** Specifies the storage account type to be used to store the image. This property is not updatable. */
|
|
4009
|
+
/** Specifies the storage account type to be used to store the image. Cannot be specified along with storageAccountStrategy. This property is not updatable. */
|
|
4010
4010
|
storageAccountType?: StorageAccountType;
|
|
4011
4011
|
/** Optional parameter which specifies the mode to be used for replication. This property is not updatable. */
|
|
4012
4012
|
replicationMode?: ReplicationMode;
|
|
4013
4013
|
/** The target extended locations where the Image Version is going to be replicated to. This property is updatable. */
|
|
4014
4014
|
targetExtendedLocations?: GalleryTargetExtendedLocation[];
|
|
4015
|
+
/** Specifies the strategy to be used when selecting the storage account type. Cannot be specified along with storageAccountType, but can be overridden per region by specifying targetRegions[].storageAccountType. This property is not updatable. */
|
|
4016
|
+
storageAccountStrategy?: StorageAccountStrategy;
|
|
4015
4017
|
}
|
|
4016
4018
|
/** Describes the target region information. */
|
|
4017
4019
|
export interface TargetRegion {
|
|
@@ -4172,8 +4174,11 @@ export interface ValidationsProfile {
|
|
|
4172
4174
|
export interface ExecutedValidation {
|
|
4173
4175
|
/** This property specifies the type of image version validation. */
|
|
4174
4176
|
type?: string;
|
|
4175
|
-
/**
|
|
4176
|
-
|
|
4177
|
+
/**
|
|
4178
|
+
* This property specifies the status of the validationProfile of the image version.
|
|
4179
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4180
|
+
*/
|
|
4181
|
+
readonly status?: ValidationStatus;
|
|
4177
4182
|
/** This property specifies the valid version of the validation. */
|
|
4178
4183
|
version?: string;
|
|
4179
4184
|
/** This property specifies the starting timestamp. */
|
|
@@ -4285,6 +4290,75 @@ export interface GalleryResourceProfileVersionPropertiesBase {
|
|
|
4285
4290
|
*/
|
|
4286
4291
|
readonly replicationStatus?: ReplicationStatus;
|
|
4287
4292
|
}
|
|
4293
|
+
/** The List Gallery Script operation response. */
|
|
4294
|
+
export interface GalleryScriptList {
|
|
4295
|
+
/** The GalleryScript items on this page */
|
|
4296
|
+
value: GalleryScript[];
|
|
4297
|
+
/** The link to the next page of items */
|
|
4298
|
+
nextLink?: string;
|
|
4299
|
+
}
|
|
4300
|
+
/** Describes the properties of a gallery script definition. */
|
|
4301
|
+
export interface GalleryScriptProperties {
|
|
4302
|
+
/** The description of this gallery script definition resource. This property is updatable. */
|
|
4303
|
+
description?: string;
|
|
4304
|
+
/** The Eula agreement (End User License Agreement) for the gallery Script Definition. */
|
|
4305
|
+
eula?: string;
|
|
4306
|
+
/** The privacy statement uri. */
|
|
4307
|
+
privacyStatementUri?: string;
|
|
4308
|
+
/** The release note uri. */
|
|
4309
|
+
releaseNoteUri?: string;
|
|
4310
|
+
/** The end of life date of the gallery Script Definition. This property can be used for decommissioning purposes. This property is updatable. */
|
|
4311
|
+
endOfLifeDate?: Date;
|
|
4312
|
+
/** This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.** */
|
|
4313
|
+
supportedOSType: OperatingSystemTypes;
|
|
4314
|
+
/**
|
|
4315
|
+
* The provisioning state, which only appears in the response.
|
|
4316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4317
|
+
*/
|
|
4318
|
+
readonly provisioningState?: GalleryProvisioningState;
|
|
4319
|
+
}
|
|
4320
|
+
/** Paged collection of GalleryScriptVersion items */
|
|
4321
|
+
export interface GalleryScriptVersionList {
|
|
4322
|
+
/** The GalleryScriptVersion items on this page */
|
|
4323
|
+
value: GalleryScriptVersion[];
|
|
4324
|
+
/** The link to the next page of items */
|
|
4325
|
+
nextLink?: string;
|
|
4326
|
+
}
|
|
4327
|
+
/** Describes the properties of a gallery script version. */
|
|
4328
|
+
export interface GalleryScriptVersionProperties {
|
|
4329
|
+
/** The publishing profile of a gallery image version. */
|
|
4330
|
+
publishingProfile: GalleryScriptVersionPublishingProfile;
|
|
4331
|
+
/** The safety profile of the Gallery Script Version. */
|
|
4332
|
+
safetyProfile?: GalleryScriptVersionSafetyProfile;
|
|
4333
|
+
/**
|
|
4334
|
+
* The provisioning state, which only appears in the response.
|
|
4335
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4336
|
+
*/
|
|
4337
|
+
readonly provisioningState?: GalleryProvisioningState;
|
|
4338
|
+
/**
|
|
4339
|
+
* This is the replication status of the gallery image version.
|
|
4340
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4341
|
+
*/
|
|
4342
|
+
readonly replicationStatus?: ReplicationStatus;
|
|
4343
|
+
}
|
|
4344
|
+
/** The source script from which the Script Version is going to be created. */
|
|
4345
|
+
export interface ScriptSource {
|
|
4346
|
+
/** Required. The link of the source script, it must be a readable storage blob with SAS URI or publicly accessible URI or managed identity enabled. */
|
|
4347
|
+
scriptLink: string;
|
|
4348
|
+
/** Optional. Any input parameters that needs to passed to the script and are accessed within the script for its execution. */
|
|
4349
|
+
parameters?: GalleryScriptParameter[];
|
|
4350
|
+
}
|
|
4351
|
+
/** The definition of a generic gallery parameter. */
|
|
4352
|
+
export interface GenericGalleryParameter {
|
|
4353
|
+
/** The name of the parameter. */
|
|
4354
|
+
name: string;
|
|
4355
|
+
/** Indicates whether this parameter must be passed. */
|
|
4356
|
+
required?: boolean;
|
|
4357
|
+
/** The default value of the parameter, only applies to string types. */
|
|
4358
|
+
defaultValue?: string;
|
|
4359
|
+
/** A description to help users understand what this parameter means */
|
|
4360
|
+
description?: string;
|
|
4361
|
+
}
|
|
4288
4362
|
/** Specifies information about the gallery sharing profile update. */
|
|
4289
4363
|
export interface SharingUpdate {
|
|
4290
4364
|
/** This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.** */
|
|
@@ -5808,6 +5882,43 @@ export interface GalleryInVMAccessControlProfileVersionUpdate extends UpdateReso
|
|
|
5808
5882
|
/** This is the Access Control Rules specification for an inVMAccessControlProfile version. */
|
|
5809
5883
|
rules?: AccessControlRules;
|
|
5810
5884
|
}
|
|
5885
|
+
/** Specifies information about the gallery Script Definition that you want to update. */
|
|
5886
|
+
export interface GalleryScriptUpdate extends UpdateResourceDefinition {
|
|
5887
|
+
/** The description of this gallery script definition resource. This property is updatable. */
|
|
5888
|
+
description?: string;
|
|
5889
|
+
/** The Eula agreement (End User License Agreement) for the gallery Script Definition. */
|
|
5890
|
+
eula?: string;
|
|
5891
|
+
/** The privacy statement uri. */
|
|
5892
|
+
privacyStatementUri?: string;
|
|
5893
|
+
/** The release note uri. */
|
|
5894
|
+
releaseNoteUri?: string;
|
|
5895
|
+
/** The end of life date of the gallery Script Definition. This property can be used for decommissioning purposes. This property is updatable. */
|
|
5896
|
+
endOfLifeDate?: Date;
|
|
5897
|
+
/** This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.** */
|
|
5898
|
+
supportedOSType?: OperatingSystemTypes;
|
|
5899
|
+
/**
|
|
5900
|
+
* The provisioning state, which only appears in the response.
|
|
5901
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
5902
|
+
*/
|
|
5903
|
+
readonly provisioningState?: GalleryProvisioningState;
|
|
5904
|
+
}
|
|
5905
|
+
/** Specifies information about the gallery Script Version that you want to update. */
|
|
5906
|
+
export interface GalleryScriptVersionUpdate extends UpdateResourceDefinition {
|
|
5907
|
+
/** The publishing profile of a gallery image version. */
|
|
5908
|
+
publishingProfile?: GalleryScriptVersionPublishingProfile;
|
|
5909
|
+
/** The safety profile of the Gallery Script Version. */
|
|
5910
|
+
safetyProfile?: GalleryScriptVersionSafetyProfile;
|
|
5911
|
+
/**
|
|
5912
|
+
* The provisioning state, which only appears in the response.
|
|
5913
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
5914
|
+
*/
|
|
5915
|
+
readonly provisioningState?: GalleryProvisioningState;
|
|
5916
|
+
/**
|
|
5917
|
+
* This is the replication status of the gallery image version.
|
|
5918
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
5919
|
+
*/
|
|
5920
|
+
readonly replicationStatus?: ReplicationStatus;
|
|
5921
|
+
}
|
|
5811
5922
|
/** The publishing profile of a gallery image version. */
|
|
5812
5923
|
export interface GalleryApplicationVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
|
|
5813
5924
|
/** The source image from which the Image Version is going to be created. */
|
|
@@ -5827,6 +5938,11 @@ export interface GalleryApplicationVersionPublishingProfile extends GalleryArtif
|
|
|
5827
5938
|
/** The publishing profile of a gallery image Version. */
|
|
5828
5939
|
export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
|
|
5829
5940
|
}
|
|
5941
|
+
/** The publishing profile of a gallery image version. */
|
|
5942
|
+
export interface GalleryScriptVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
|
|
5943
|
+
/** The source script from which the Script Version is going to be created. */
|
|
5944
|
+
source: ScriptSource;
|
|
5945
|
+
}
|
|
5830
5946
|
/** Contains encryption settings for an OS disk image. */
|
|
5831
5947
|
export interface OSDiskImageEncryption extends DiskImageEncryption {
|
|
5832
5948
|
/** This property specifies the security profile of an OS disk image. */
|
|
@@ -5855,6 +5971,9 @@ export interface GalleryImageVersionSafetyProfile extends GalleryArtifactSafetyP
|
|
|
5855
5971
|
/** Indicates whether or not the deletion is blocked for this Gallery Image Version if its End Of Life has not expired. */
|
|
5856
5972
|
blockDeletionBeforeEndOfLife?: boolean;
|
|
5857
5973
|
}
|
|
5974
|
+
/** The safety profile of the Gallery Script Version. */
|
|
5975
|
+
export interface GalleryScriptVersionSafetyProfile extends GalleryArtifactSafetyProfileBase {
|
|
5976
|
+
}
|
|
5858
5977
|
/** The source of the gallery artifact version. */
|
|
5859
5978
|
export interface GalleryArtifactVersionFullSource extends GalleryArtifactVersionSource {
|
|
5860
5979
|
/** The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source. */
|
|
@@ -5895,6 +6014,17 @@ export interface GalleryInVMAccessControlProfileVersionProperties extends Galler
|
|
|
5895
6014
|
/** This is the Access Control Rules specification for an inVMAccessControlProfile version. */
|
|
5896
6015
|
rules?: AccessControlRules;
|
|
5897
6016
|
}
|
|
6017
|
+
/** The definition of a parameter that can be passed to a script of a Gallery Script Version. */
|
|
6018
|
+
export interface GalleryScriptParameter extends GenericGalleryParameter {
|
|
6019
|
+
/** Specifies the type of the Gallery Script parameter. Possible values are: String, Int, Double, Boolean, Enum */
|
|
6020
|
+
type?: GalleryScriptParameterType;
|
|
6021
|
+
/** The minimum value of parameter. */
|
|
6022
|
+
minValue?: string;
|
|
6023
|
+
/** The minimum value of parameter. */
|
|
6024
|
+
maxValue?: string;
|
|
6025
|
+
/** A list of permissible values. Only applicable values are from 'enum' values defined in 'GalleryScriptParameter'. */
|
|
6026
|
+
enumValues?: string[];
|
|
6027
|
+
}
|
|
5898
6028
|
/** Describes a Virtual Machine Image. */
|
|
5899
6029
|
export interface VirtualMachineImage extends VirtualMachineImageResource {
|
|
5900
6030
|
/** Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. */
|
|
@@ -6905,6 +7035,16 @@ export interface GalleryInVMAccessControlProfileVersion extends TrackedResource
|
|
|
6905
7035
|
/** This is the Access Control Rules specification for an inVMAccessControlProfile version. */
|
|
6906
7036
|
rules?: AccessControlRules;
|
|
6907
7037
|
}
|
|
7038
|
+
/** Specifies information about the gallery Script Definition that you want to create or update. */
|
|
7039
|
+
export interface GalleryScript extends TrackedResource {
|
|
7040
|
+
/** Describes the properties of a gallery Script Definition. */
|
|
7041
|
+
properties?: GalleryScriptProperties;
|
|
7042
|
+
}
|
|
7043
|
+
/** Concrete tracked resource types can be created by aliasing this type using a specific property type. */
|
|
7044
|
+
export interface GalleryScriptVersion extends TrackedResource {
|
|
7045
|
+
/** Describes the properties of a gallery Script Version. */
|
|
7046
|
+
properties?: GalleryScriptVersionProperties;
|
|
7047
|
+
}
|
|
6908
7048
|
/** The details information of soft-deleted resource. */
|
|
6909
7049
|
export interface GallerySoftDeletedResource extends TrackedResource {
|
|
6910
7050
|
/** arm id of the soft-deleted resource */
|
|
@@ -7949,6 +8089,54 @@ export interface GalleryInVMAccessControlProfileVersionsDeleteHeaders {
|
|
|
7949
8089
|
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
7950
8090
|
location?: string;
|
|
7951
8091
|
}
|
|
8092
|
+
/** Defines headers for GalleryScripts_createOrUpdate operation. */
|
|
8093
|
+
export interface GalleryScriptsCreateOrUpdateHeaders {
|
|
8094
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
8095
|
+
location?: string;
|
|
8096
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
8097
|
+
retryAfter?: number;
|
|
8098
|
+
}
|
|
8099
|
+
/** Defines headers for GalleryScripts_update operation. */
|
|
8100
|
+
export interface GalleryScriptsUpdateHeaders {
|
|
8101
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
8102
|
+
location?: string;
|
|
8103
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
8104
|
+
retryAfter?: number;
|
|
8105
|
+
}
|
|
8106
|
+
/** Defines headers for GalleryScripts_delete operation. */
|
|
8107
|
+
export interface GalleryScriptsDeleteHeaders {
|
|
8108
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
8109
|
+
location?: string;
|
|
8110
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
8111
|
+
retryAfter?: number;
|
|
8112
|
+
}
|
|
8113
|
+
/** Defines headers for GalleryScriptVersions_createOrUpdate operation. */
|
|
8114
|
+
export interface GalleryScriptVersionsCreateOrUpdateHeaders {
|
|
8115
|
+
/** A link to the status monitor */
|
|
8116
|
+
azureAsyncOperation?: string;
|
|
8117
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
8118
|
+
location?: string;
|
|
8119
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
8120
|
+
retryAfter?: number;
|
|
8121
|
+
}
|
|
8122
|
+
/** Defines headers for GalleryScriptVersions_update operation. */
|
|
8123
|
+
export interface GalleryScriptVersionsUpdateHeaders {
|
|
8124
|
+
/** A link to the status monitor */
|
|
8125
|
+
azureAsyncOperation?: string;
|
|
8126
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
8127
|
+
location?: string;
|
|
8128
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
8129
|
+
retryAfter?: number;
|
|
8130
|
+
}
|
|
8131
|
+
/** Defines headers for GalleryScriptVersions_delete operation. */
|
|
8132
|
+
export interface GalleryScriptVersionsDeleteHeaders {
|
|
8133
|
+
/** A link to the status monitor */
|
|
8134
|
+
azureAsyncOperation?: string;
|
|
8135
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
8136
|
+
location?: string;
|
|
8137
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
8138
|
+
retryAfter?: number;
|
|
8139
|
+
}
|
|
7952
8140
|
/** Defines headers for GallerySharingProfile_update operation. */
|
|
7953
8141
|
export interface GallerySharingProfileUpdateHeaders {
|
|
7954
8142
|
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
@@ -10624,6 +10812,22 @@ export declare enum KnownEdgeZoneStorageAccountType {
|
|
|
10624
10812
|
* **Premium_LRS**
|
|
10625
10813
|
*/
|
|
10626
10814
|
export type EdgeZoneStorageAccountType = string;
|
|
10815
|
+
/** Known values of {@link StorageAccountStrategy} that the service accepts. */
|
|
10816
|
+
export declare enum KnownStorageAccountStrategy {
|
|
10817
|
+
/** Choose Standard_ZRS storage if the region supports it, else choose Standard_LRS storage, unless overridden by specifying regional storageAccountType. If no storageAccountStrategy is specified, this is the default strategy (from API version 2025-03-03 onwards). */
|
|
10818
|
+
PreferStandardZRS = "PreferStandard_ZRS",
|
|
10819
|
+
/** Choose Standard_LRS storage unless overridden by specifying regional storageAccountType. */
|
|
10820
|
+
DefaultStandardLRS = "DefaultStandard_LRS"
|
|
10821
|
+
}
|
|
10822
|
+
/**
|
|
10823
|
+
* Defines values for StorageAccountStrategy. \
|
|
10824
|
+
* {@link KnownStorageAccountStrategy} can be used interchangeably with StorageAccountStrategy,
|
|
10825
|
+
* this enum contains the known values that the service supports.
|
|
10826
|
+
* ### Known values supported by the service
|
|
10827
|
+
* **PreferStandard_ZRS**: Choose Standard_ZRS storage if the region supports it, else choose Standard_LRS storage, unless overridden by specifying regional storageAccountType. If no storageAccountStrategy is specified, this is the default strategy (from API version 2025-03-03 onwards). \
|
|
10828
|
+
* **DefaultStandard_LRS**: Choose Standard_LRS storage unless overridden by specifying regional storageAccountType.
|
|
10829
|
+
*/
|
|
10830
|
+
export type StorageAccountStrategy = string;
|
|
10627
10831
|
/** Known values of {@link AggregatedReplicationState} that the service accepts. */
|
|
10628
10832
|
export declare enum KnownAggregatedReplicationState {
|
|
10629
10833
|
/** Unknown */
|
|
@@ -10760,6 +10964,31 @@ export declare enum KnownEndpointAccess {
|
|
|
10760
10964
|
* **Deny**
|
|
10761
10965
|
*/
|
|
10762
10966
|
export type EndpointAccess = string;
|
|
10967
|
+
/** Known values of {@link GalleryScriptParameterType} that the service accepts. */
|
|
10968
|
+
export declare enum KnownGalleryScriptParameterType {
|
|
10969
|
+
/** String gallery script parameter type */
|
|
10970
|
+
String = "String",
|
|
10971
|
+
/** Int gallery script parameter type */
|
|
10972
|
+
Int = "Int",
|
|
10973
|
+
/** Double gallery script parameter type */
|
|
10974
|
+
Double = "Double",
|
|
10975
|
+
/** Boolean gallery script parameter type */
|
|
10976
|
+
Boolean = "Boolean",
|
|
10977
|
+
/** Enum gallery script parameter type */
|
|
10978
|
+
Enum = "Enum"
|
|
10979
|
+
}
|
|
10980
|
+
/**
|
|
10981
|
+
* Defines values for GalleryScriptParameterType. \
|
|
10982
|
+
* {@link KnownGalleryScriptParameterType} can be used interchangeably with GalleryScriptParameterType,
|
|
10983
|
+
* this enum contains the known values that the service supports.
|
|
10984
|
+
* ### Known values supported by the service
|
|
10985
|
+
* **String**: String gallery script parameter type \
|
|
10986
|
+
* **Int**: Int gallery script parameter type \
|
|
10987
|
+
* **Double**: Double gallery script parameter type \
|
|
10988
|
+
* **Boolean**: Boolean gallery script parameter type \
|
|
10989
|
+
* **Enum**: Enum gallery script parameter type
|
|
10990
|
+
*/
|
|
10991
|
+
export type GalleryScriptParameterType = string;
|
|
10763
10992
|
/** Known values of {@link SharingUpdateOperationTypes} that the service accepts. */
|
|
10764
10993
|
export declare enum KnownSharingUpdateOperationTypes {
|
|
10765
10994
|
/** Add */
|
|
@@ -13085,6 +13314,90 @@ export interface GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessC
|
|
|
13085
13314
|
/** Contains response data for the listByGalleryInVMAccessControlProfileNext operation. */
|
|
13086
13315
|
export type GalleryInVMAccessControlProfileVersionsListByGalleryInVMAccessControlProfileNextResponse = GalleryInVMAccessControlProfileVersionList;
|
|
13087
13316
|
/** Optional parameters. */
|
|
13317
|
+
export interface GalleryScriptsListByGalleryOptionalParams extends coreClient.OperationOptions {
|
|
13318
|
+
}
|
|
13319
|
+
/** Contains response data for the listByGallery operation. */
|
|
13320
|
+
export type GalleryScriptsListByGalleryResponse = GalleryScriptList;
|
|
13321
|
+
/** Optional parameters. */
|
|
13322
|
+
export interface GalleryScriptsGetOptionalParams extends coreClient.OperationOptions {
|
|
13323
|
+
}
|
|
13324
|
+
/** Contains response data for the get operation. */
|
|
13325
|
+
export type GalleryScriptsGetResponse = GalleryScript;
|
|
13326
|
+
/** Optional parameters. */
|
|
13327
|
+
export interface GalleryScriptsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
13328
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13329
|
+
updateIntervalInMs?: number;
|
|
13330
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
13331
|
+
resumeFrom?: string;
|
|
13332
|
+
}
|
|
13333
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
13334
|
+
export type GalleryScriptsCreateOrUpdateResponse = GalleryScript;
|
|
13335
|
+
/** Optional parameters. */
|
|
13336
|
+
export interface GalleryScriptsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
13337
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13338
|
+
updateIntervalInMs?: number;
|
|
13339
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
13340
|
+
resumeFrom?: string;
|
|
13341
|
+
}
|
|
13342
|
+
/** Contains response data for the update operation. */
|
|
13343
|
+
export type GalleryScriptsUpdateResponse = GalleryScript;
|
|
13344
|
+
/** Optional parameters. */
|
|
13345
|
+
export interface GalleryScriptsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
13346
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13347
|
+
updateIntervalInMs?: number;
|
|
13348
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
13349
|
+
resumeFrom?: string;
|
|
13350
|
+
}
|
|
13351
|
+
/** Contains response data for the delete operation. */
|
|
13352
|
+
export type GalleryScriptsDeleteResponse = GalleryScriptsDeleteHeaders;
|
|
13353
|
+
/** Optional parameters. */
|
|
13354
|
+
export interface GalleryScriptsListByGalleryNextOptionalParams extends coreClient.OperationOptions {
|
|
13355
|
+
}
|
|
13356
|
+
/** Contains response data for the listByGalleryNext operation. */
|
|
13357
|
+
export type GalleryScriptsListByGalleryNextResponse = GalleryScriptList;
|
|
13358
|
+
/** Optional parameters. */
|
|
13359
|
+
export interface GalleryScriptVersionsListByGalleryScriptOptionalParams extends coreClient.OperationOptions {
|
|
13360
|
+
}
|
|
13361
|
+
/** Contains response data for the listByGalleryScript operation. */
|
|
13362
|
+
export type GalleryScriptVersionsListByGalleryScriptResponse = GalleryScriptVersionList;
|
|
13363
|
+
/** Optional parameters. */
|
|
13364
|
+
export interface GalleryScriptVersionsGetOptionalParams extends coreClient.OperationOptions {
|
|
13365
|
+
}
|
|
13366
|
+
/** Contains response data for the get operation. */
|
|
13367
|
+
export type GalleryScriptVersionsGetResponse = GalleryScriptVersion;
|
|
13368
|
+
/** Optional parameters. */
|
|
13369
|
+
export interface GalleryScriptVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
13370
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13371
|
+
updateIntervalInMs?: number;
|
|
13372
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
13373
|
+
resumeFrom?: string;
|
|
13374
|
+
}
|
|
13375
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
13376
|
+
export type GalleryScriptVersionsCreateOrUpdateResponse = GalleryScriptVersion;
|
|
13377
|
+
/** Optional parameters. */
|
|
13378
|
+
export interface GalleryScriptVersionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
13379
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13380
|
+
updateIntervalInMs?: number;
|
|
13381
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
13382
|
+
resumeFrom?: string;
|
|
13383
|
+
}
|
|
13384
|
+
/** Contains response data for the update operation. */
|
|
13385
|
+
export type GalleryScriptVersionsUpdateResponse = GalleryScriptVersion;
|
|
13386
|
+
/** Optional parameters. */
|
|
13387
|
+
export interface GalleryScriptVersionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
13388
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13389
|
+
updateIntervalInMs?: number;
|
|
13390
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
13391
|
+
resumeFrom?: string;
|
|
13392
|
+
}
|
|
13393
|
+
/** Contains response data for the delete operation. */
|
|
13394
|
+
export type GalleryScriptVersionsDeleteResponse = GalleryScriptVersionsDeleteHeaders;
|
|
13395
|
+
/** Optional parameters. */
|
|
13396
|
+
export interface GalleryScriptVersionsListByGalleryScriptNextOptionalParams extends coreClient.OperationOptions {
|
|
13397
|
+
}
|
|
13398
|
+
/** Contains response data for the listByGalleryScriptNext operation. */
|
|
13399
|
+
export type GalleryScriptVersionsListByGalleryScriptNextResponse = GalleryScriptVersionList;
|
|
13400
|
+
/** Optional parameters. */
|
|
13088
13401
|
export interface GallerySharingProfileUpdateOptionalParams extends coreClient.OperationOptions {
|
|
13089
13402
|
/** Delay to wait until next poll, in milliseconds. */
|
|
13090
13403
|
updateIntervalInMs?: number;
|