diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts
index 23b3a6624ee8..92574a104a18 100644
--- a/sdk/compute/arm-compute/src/computeManagementClient.ts
+++ b/sdk/compute/arm-compute/src/computeManagementClient.ts
@@ -31,6 +31,8 @@ class ComputeManagementClient extends ComputeManagementClientContext {
virtualMachineScaleSets: operations.VirtualMachineScaleSets;
virtualMachineSizes: operations.VirtualMachineSizes;
images: operations.Images;
+ restorePointCollections: operations.RestorePointCollections;
+ restorePoints: operations.RestorePoints;
virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions;
virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades;
virtualMachineScaleSetVMExtensions: operations.VirtualMachineScaleSetVMExtensions;
@@ -49,6 +51,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
galleryImageVersions: operations.GalleryImageVersions;
galleryApplications: operations.GalleryApplications;
galleryApplicationVersions: operations.GalleryApplicationVersions;
+ gallerySharingProfile: operations.GallerySharingProfile;
+ sharedGalleries: operations.SharedGalleries;
+ sharedGalleryImages: operations.SharedGalleryImages;
+ sharedGalleryImageVersions: operations.SharedGalleryImageVersions;
cloudServiceRoleInstances: operations.CloudServiceRoleInstances;
cloudServiceRoles: operations.CloudServiceRoles;
cloudServices: operations.CloudServices;
@@ -79,6 +85,8 @@ class ComputeManagementClient extends ComputeManagementClientContext {
this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this);
this.virtualMachineSizes = new operations.VirtualMachineSizes(this);
this.images = new operations.Images(this);
+ this.restorePointCollections = new operations.RestorePointCollections(this);
+ this.restorePoints = new operations.RestorePoints(this);
this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this);
this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this);
this.virtualMachineScaleSetVMExtensions = new operations.VirtualMachineScaleSetVMExtensions(this);
@@ -97,6 +105,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
this.galleryImageVersions = new operations.GalleryImageVersions(this);
this.galleryApplications = new operations.GalleryApplications(this);
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
+ this.gallerySharingProfile = new operations.GallerySharingProfile(this);
+ this.sharedGalleries = new operations.SharedGalleries(this);
+ this.sharedGalleryImages = new operations.SharedGalleryImages(this);
+ this.sharedGalleryImageVersions = new operations.SharedGalleryImageVersions(this);
this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this);
this.cloudServiceRoles = new operations.CloudServiceRoles(this);
this.cloudServices = new operations.CloudServices(this);
diff --git a/sdk/compute/arm-compute/src/computeManagementClientContext.ts b/sdk/compute/arm-compute/src/computeManagementClientContext.ts
index e1cd142fbab7..caaeadfb862e 100644
--- a/sdk/compute/arm-compute/src/computeManagementClientContext.ts
+++ b/sdk/compute/arm-compute/src/computeManagementClientContext.ts
@@ -36,7 +36,7 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie
if (!options) {
options = {};
}
- if (!options.userAgent) {
+ if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
@@ -50,10 +50,10 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie
this.credentials = credentials;
this.subscriptionId = subscriptionId;
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
+ if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
+ if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index 8aef1b3eed34..967d4c6ca074 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -129,12 +130,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -144,6 +156,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -182,7 +197,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
index 8057c287d782..1e57c9d53abe 100644
--- a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -124,6 +125,8 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -131,6 +134,14 @@ export {
Resource,
ResourceInstanceViewStatus,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RoleInstance,
RoleInstanceInstanceView,
RoleInstanceListResult,
@@ -145,6 +156,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -180,7 +194,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
index 9f12cfbbea05..1e9dfd8e27ce 100644
--- a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -127,6 +128,8 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -134,6 +137,14 @@ export {
Resource,
ResourceInstanceViewStatus,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RoleInstances,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
@@ -144,6 +155,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -180,7 +194,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index c736aba45b3a..b6f34888e48f 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -129,12 +130,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -144,6 +156,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -182,7 +197,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index bde2995b4c09..deea0cb38833 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -129,12 +130,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -144,6 +156,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -182,7 +197,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
index 367ca3b53d1e..75e5593fe9d5 100644
--- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
@@ -79,6 +79,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -128,12 +129,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -143,6 +154,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -178,7 +192,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
index 84c16446f38c..b1e1e6a71096 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -79,6 +79,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -125,6 +126,8 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -132,6 +135,14 @@ export {
Resource,
ResourceRange,
ResourceUriList,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -141,6 +152,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -176,7 +190,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts
index f471a7f09f1c..3e560539ca22 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -127,12 +128,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -142,6 +153,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -177,7 +191,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
index dc086f47241f..794243ab3ff1 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -124,12 +125,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -139,6 +150,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -174,7 +188,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
index 372d9958c67f..e952760016ec 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -124,12 +125,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -139,6 +150,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -174,7 +188,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
index bc330fba6b11..0d543a5cc3f1 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -124,12 +125,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -139,6 +150,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -174,7 +188,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
index 936cae5783c9..cecf6ffdd9a8 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -124,12 +125,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -139,6 +150,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -174,7 +188,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
index 60b965fa1e52..0ac43aeb3c7d 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageList,
GalleryImageUpdate,
@@ -124,12 +125,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -139,6 +150,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -174,7 +188,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
new file mode 100644
index 000000000000..959e24e26d33
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
@@ -0,0 +1,231 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AdditionalCapabilities,
+ AdditionalUnattendContent,
+ ApiEntityReference,
+ ApiError,
+ ApiErrorBase,
+ AutomaticOSUpgradePolicy,
+ AutomaticOSUpgradeProperties,
+ AutomaticRepairsPolicy,
+ AvailabilitySet,
+ AvailablePatchSummary,
+ BaseResource,
+ BillingProfile,
+ BootDiagnostics,
+ BootDiagnosticsInstanceView,
+ CloudError,
+ CloudService,
+ CloudServiceExtensionProfile,
+ CloudServiceExtensionProperties,
+ CloudServiceNetworkProfile,
+ CloudServiceOsProfile,
+ CloudServiceProperties,
+ CloudServiceRoleProfile,
+ CloudServiceRoleProfileProperties,
+ CloudServiceRoleSku,
+ CloudServiceVaultAndSecretReference,
+ CloudServiceVaultCertificate,
+ CloudServiceVaultSecretGroup,
+ CreationData,
+ DataDisk,
+ DataDiskImage,
+ DataDiskImageEncryption,
+ DedicatedHost,
+ DedicatedHostAllocatableVM,
+ DedicatedHostAvailableCapacity,
+ DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
+ DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ DiskAccess,
+ DiskEncryptionSet,
+ DiskEncryptionSetParameters,
+ DiskEncryptionSettings,
+ DiskImageEncryption,
+ DiskInstanceView,
+ DiskSecurityProfile,
+ DiskSku,
+ Encryption,
+ EncryptionImages,
+ EncryptionSetIdentity,
+ EncryptionSettingsCollection,
+ EncryptionSettingsElement,
+ ExtendedLocation,
+ Extension,
+ Gallery,
+ GalleryApplication,
+ GalleryApplicationUpdate,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
+ GalleryArtifactPublishingProfileBase,
+ GalleryArtifactVersionSource,
+ GalleryDataDiskImage,
+ GalleryDiskImage,
+ GalleryIdentifier,
+ GalleryImage,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ GalleryImageUpdate,
+ GalleryImageVersion,
+ GalleryImageVersionPublishingProfile,
+ GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
+ GalleryOSDiskImage,
+ GalleryUpdate,
+ HardwareProfile,
+ Image,
+ ImageDataDisk,
+ ImageDisk,
+ ImageDiskReference,
+ ImageOSDisk,
+ ImagePurchasePlan,
+ ImageReference,
+ ImageStorageProfile,
+ InnerError,
+ InstanceViewStatus,
+ KeyForDiskEncryptionSet,
+ KeyVaultAndKeyReference,
+ KeyVaultAndSecretReference,
+ KeyVaultKeyReference,
+ KeyVaultSecretReference,
+ LastPatchInstallationSummary,
+ LinuxConfiguration,
+ LinuxPatchSettings,
+ LoadBalancerConfiguration,
+ LoadBalancerConfigurationProperties,
+ LoadBalancerFrontendIPConfiguration,
+ LoadBalancerFrontendIPConfigurationProperties,
+ MaintenanceRedeployStatus,
+ ManagedDiskParameters,
+ NetworkInterfaceReference,
+ NetworkProfile,
+ OSDisk,
+ OSDiskImage,
+ OSDiskImageEncryption,
+ OSProfile,
+ PatchSettings,
+ Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
+ PropertyUpdatesInProgress,
+ ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
+ PurchasePlan,
+ RecommendedMachineConfiguration,
+ RegionalReplicationStatus,
+ ReplicationStatus,
+ Resource,
+ ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
+ RollingUpgradePolicy,
+ RollingUpgradeProgressInfo,
+ RollingUpgradeRunningStatus,
+ RollingUpgradeStatusInfo,
+ RunCommandInputParameter,
+ ScaleInPolicy,
+ ScheduledEventsProfile,
+ SecurityProfile,
+ ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
+ Sku,
+ Snapshot,
+ SnapshotSku,
+ SourceVault,
+ SshConfiguration,
+ SshPublicKey,
+ SshPublicKeyResource,
+ StorageProfile,
+ SubResource,
+ SubResourceReadOnly,
+ SubResourceWithColocationStatus,
+ TargetRegion,
+ TerminateNotificationProfile,
+ UefiSettings,
+ UpdateResourceDefinition,
+ UpgradePolicy,
+ UserArtifactManage,
+ UserArtifactSource,
+ VaultCertificate,
+ VaultSecretGroup,
+ VirtualHardDisk,
+ VirtualMachine,
+ VirtualMachineAgentInstanceView,
+ VirtualMachineCaptureResult,
+ VirtualMachineExtension,
+ VirtualMachineExtensionHandlerInstanceView,
+ VirtualMachineExtensionImage,
+ VirtualMachineExtensionInstanceView,
+ VirtualMachineHealthStatus,
+ VirtualMachineIdentity,
+ VirtualMachineIdentityUserAssignedIdentitiesValue,
+ VirtualMachineImage,
+ VirtualMachineImageFeature,
+ VirtualMachineImageResource,
+ VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
+ VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
+ VirtualMachineRunCommand,
+ VirtualMachineRunCommandInstanceView,
+ VirtualMachineRunCommandScriptSource,
+ VirtualMachineScaleSet,
+ VirtualMachineScaleSetDataDisk,
+ VirtualMachineScaleSetExtension,
+ VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
+ VirtualMachineScaleSetIdentity,
+ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
+ VirtualMachineScaleSetIPConfiguration,
+ VirtualMachineScaleSetIpTag,
+ VirtualMachineScaleSetManagedDiskParameters,
+ VirtualMachineScaleSetNetworkConfiguration,
+ VirtualMachineScaleSetNetworkConfigurationDnsSettings,
+ VirtualMachineScaleSetNetworkProfile,
+ VirtualMachineScaleSetOSDisk,
+ VirtualMachineScaleSetOSProfile,
+ VirtualMachineScaleSetPublicIPAddressConfiguration,
+ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
+ VirtualMachineScaleSetStorageProfile,
+ VirtualMachineScaleSetUpdateIPConfiguration,
+ VirtualMachineScaleSetUpdateNetworkConfiguration,
+ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
+ VirtualMachineScaleSetVM,
+ VirtualMachineScaleSetVMExtension,
+ VirtualMachineScaleSetVMExtensionUpdate,
+ VirtualMachineScaleSetVMInstanceView,
+ VirtualMachineScaleSetVMNetworkProfileConfiguration,
+ VirtualMachineScaleSetVMProfile,
+ VirtualMachineScaleSetVMProtectionPolicy,
+ WindowsConfiguration,
+ WinRMConfiguration,
+ WinRMListener
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts
index 3ec781e33572..f5283950fb63 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -129,12 +130,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -144,6 +156,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -182,7 +197,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index 0bfcc2540a51..c768e2526501 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -11,6 +11,838 @@ import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
+/**
+ * The properties of the source resource that this restore point collection is created from.
+ */
+export interface RestorePointCollectionSourceProperties {
+ /**
+ * Location of the source resource used to create this restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly location?: string;
+ /**
+ * Resource Id of the source resource used to create this restore point collection
+ */
+ id?: string;
+}
+
+/**
+ * Specifies the hardware settings for the virtual machine.
+ */
+export interface HardwareProfile {
+ /**
+ * Specifies the size of the virtual machine.
The enum data type is currently deprecated
+ * and will be removed by December 23rd 2023.
Recommended way to get the list of
+ * available sizes is using these APIs:
[List all available virtual machine sizes in an
+ * availability
+ * set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
+ * [List all available virtual machine sizes in a region](
+ * https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available
+ * virtual machine sizes for
+ * resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For
+ * more information about virtual machine sizes, see [Sizes for virtual
+ * machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM
+ * sizes depend on region and availability set. Possible values include: 'Basic_A0', 'Basic_A1',
+ * 'Basic_A2', 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2',
+ * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
+ * 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', 'Standard_A2_v2',
+ * 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2', 'Standard_A8m_v2',
+ * 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', 'Standard_B2ms', 'Standard_B4ms',
+ * 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11',
+ * 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2',
+ * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3', 'Standard_D4_v3',
+ * 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3', 'Standard_D2s_v3',
+ * 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3',
+ * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2',
+ * 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3',
+ * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14',
+ * 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2',
+ * 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2',
+ * 'Standard_DS15_v2', 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2',
+ * 'Standard_DS14-4_v2', 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3',
+ * 'Standard_E32_v3', 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3',
+ * 'Standard_E16s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3',
+ * 'Standard_E32-8s_v3', 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1',
+ * 'Standard_F2', 'Standard_F4', 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s',
+ * 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2',
+ * 'Standard_F8s_v2', 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2',
+ * 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
+ * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5',
+ * 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', 'Standard_GS5-8', 'Standard_H8',
+ * 'Standard_H16', 'Standard_H8m', 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr',
+ * 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s', 'Standard_M64s',
+ * 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', 'Standard_M64-32ms',
+ * 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', 'Standard_NC6',
+ * 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', 'Standard_NC12s_v2',
+ * 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', 'Standard_NC12s_v3',
+ * 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', 'Standard_ND12s',
+ * 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', 'Standard_NV24'
+ */
+ vmSize?: VirtualMachineSizeTypes;
+}
+
+/**
+ * An interface representing SubResource.
+ */
+export interface SubResource extends BaseResource {
+ /**
+ * Resource Id
+ */
+ id?: string;
+}
+
+/**
+ * Describes a reference to Key Vault Secret
+ */
+export interface KeyVaultSecretReference {
+ /**
+ * The URL referencing a secret in a Key Vault.
+ */
+ secretUrl: string;
+ /**
+ * The relative URL of the Key Vault containing the secret.
+ */
+ sourceVault: SubResource;
+}
+
+/**
+ * Describes a reference to Key Vault Key
+ */
+export interface KeyVaultKeyReference {
+ /**
+ * The URL referencing a key encryption key in Key Vault.
+ */
+ keyUrl: string;
+ /**
+ * The relative URL of the Key Vault containing the key.
+ */
+ sourceVault: SubResource;
+}
+
+/**
+ * Describes a Encryption Settings for a Disk
+ */
+export interface DiskEncryptionSettings {
+ /**
+ * Specifies the location of the disk encryption key, which is a Key Vault Secret.
+ */
+ diskEncryptionKey?: KeyVaultSecretReference;
+ /**
+ * Specifies the location of the key encryption key in Key Vault.
+ */
+ keyEncryptionKey?: KeyVaultKeyReference;
+ /**
+ * Specifies whether disk encryption should be enabled on the virtual machine.
+ */
+ enabled?: boolean;
+}
+
+/**
+ * Describes the parameter of customer managed disk encryption set resource id that can be
+ * specified for disk.
NOTE: The disk encryption set resource id can only be specified for
+ * managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
+ */
+export interface DiskEncryptionSetParameters extends SubResource {
+}
+
+/**
+ * The parameters of a managed disk.
+ */
+export interface ManagedDiskParameters extends SubResource {
+ /**
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
+ * with data disks, it cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', 'Premium_ZRS', 'StandardSSD_ZRS'
+ */
+ storageAccountType?: StorageAccountTypes;
+ /**
+ * Specifies the customer managed disk encryption set resource id for the managed disk.
+ */
+ diskEncryptionSet?: DiskEncryptionSetParameters;
+}
+
+/**
+ * The API entity reference.
+ */
+export interface ApiEntityReference {
+ /**
+ * The ARM resource id in the form of
+ * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
+ */
+ id?: string;
+}
+
+/**
+ * Describes an Operating System disk.
+ */
+export interface RestorePointSourceVMOSDisk {
+ /**
+ * Gets the Operating System type. Possible values include: 'Windows', 'Linux'
+ */
+ osType?: OperatingSystemType;
+ /**
+ * Gets the disk encryption settings.
+ */
+ encryptionSettings?: DiskEncryptionSettings;
+ /**
+ * Gets the disk name.
+ */
+ name?: string;
+ /**
+ * Gets the caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ */
+ caching?: CachingTypes;
+ /**
+ * Gets the disk size in GB.
+ */
+ diskSizeGB?: number;
+ /**
+ * Gets the managed disk details
+ */
+ managedDisk?: ManagedDiskParameters;
+ /**
+ * Gets the disk restore point Id.
+ */
+ diskRestorePoint?: ApiEntityReference;
+}
+
+/**
+ * Describes a data disk.
+ */
+export interface RestorePointSourceVMDataDisk {
+ /**
+ * Gets the logical unit number.
+ */
+ lun?: number;
+ /**
+ * Gets the disk name.
+ */
+ name?: string;
+ /**
+ * Gets the caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ */
+ caching?: CachingTypes;
+ /**
+ * Gets the initial disk size in GB for blank data disks, and the new desired size for existing
+ * OS and Data disks.
+ */
+ diskSizeGB?: number;
+ /**
+ * Gets the managed disk details
+ */
+ managedDisk?: ManagedDiskParameters;
+ /**
+ * Gets the disk restore point Id.
+ */
+ diskRestorePoint?: ApiEntityReference;
+}
+
+/**
+ * Describes the storage profile.
+ */
+export interface RestorePointSourceVMStorageProfile {
+ /**
+ * Gets the OS disk of the VM captured at the time of the restore point creation.
+ */
+ osDisk?: RestorePointSourceVMOSDisk;
+ /**
+ * Gets the data disks of the VM captured at the time of the restore point creation.
+ */
+ dataDisks?: RestorePointSourceVMDataDisk[];
+}
+
+/**
+ * Specifies additional XML formatted information that can be included in the Unattend.xml file,
+ * which is used by Windows Setup. Contents are defined by setting name, component name, and the
+ * pass in which the content is applied.
+ */
+export interface AdditionalUnattendContent {
+ /**
+ * The pass name. Currently, the only allowable value is OobeSystem. Possible values include:
+ * 'OobeSystem'
+ */
+ passName?: PassNames;
+ /**
+ * The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
+ * Possible values include: 'Microsoft-Windows-Shell-Setup'
+ */
+ componentName?: ComponentNames;
+ /**
+ * Specifies the name of the setting to which the content applies. Possible values are:
+ * FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'
+ */
+ settingName?: SettingNames;
+ /**
+ * Specifies the XML formatted content that is added to the unattend.xml file for the specified
+ * path and component. The XML must be less than 4KB and must include the root element for the
+ * setting or feature that is being inserted.
+ */
+ content?: string;
+}
+
+/**
+ * Specifies settings related to VM Guest Patching on Windows.
+ */
+export interface PatchSettings {
+ /**
+ * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated
+ * to virtual machine scale set with OrchestrationMode as Flexible.
Possible values
+ * are:
**Manual** - You control the application of patches to a virtual machine.
+ * You do this by applying patches manually inside the VM. In this mode, automatic updates are
+ * disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
+ * **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property
+ * WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform**
+ * - the virtual machine will automatically updated by the platform. The properties
+ * provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values
+ * include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
+ */
+ patchMode?: WindowsVMGuestPatchMode;
+ /**
+ * Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching,
+ * the 'provisionVMAgent' must be set to true and 'patchMode' must be set to
+ * 'AutomaticByPlatform'.
+ */
+ enableHotpatching?: boolean;
+ /**
+ * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
+ * Possible values are:
**ImageDefault** - You control the timing of patch
+ * assessments on a virtual machine.
**AutomaticByPlatform** - The platform will
+ * trigger periodic patch assessments. The property provisionVMAgent must be true. Possible
+ * values include: 'ImageDefault', 'AutomaticByPlatform'
+ */
+ assessmentMode?: WindowsPatchAssessmentMode;
+}
+
+/**
+ * Describes Protocol and thumbprint of Windows Remote Management listener
+ */
+export interface WinRMListener {
+ /**
+ * Specifies the protocol of WinRM listener.
Possible values are:
**http**
+ * **https**. Possible values include: 'Http', 'Https'
+ */
+ protocol?: ProtocolTypes;
+ /**
+ * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a
+ * secret to the Key Vault, see [Add a key or secret to the key
+ * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case,
+ * your certificate needs to be It is the Base64 encoding of the following JSON Object which is
+ * encoded in UTF-8:
{
"data":"",
+ * "dataType":"pfx",
"password":""
}
+ */
+ certificateUrl?: string;
+}
+
+/**
+ * Describes Windows Remote Management configuration of the VM
+ */
+export interface WinRMConfiguration {
+ /**
+ * The list of Windows Remote Management listeners
+ */
+ listeners?: WinRMListener[];
+}
+
+/**
+ * Specifies Windows operating system settings on the virtual machine.
+ */
+export interface WindowsConfiguration {
+ /**
+ * Indicates whether virtual machine agent should be provisioned on the virtual machine.
+ * When this property is not specified in the request body, default behavior is to set it to
+ * true. This will ensure that VM Agent is installed on the VM so that extensions can be added
+ * to the VM later.
+ */
+ provisionVMAgent?: boolean;
+ /**
+ * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value
+ * is true.
For virtual machine scale sets, this property can be updated and updates
+ * will take effect on OS reprovisioning.
+ */
+ enableAutomaticUpdates?: boolean;
+ /**
+ * Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time".
+ * Possible values can be
+ * [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id)
+ * value from time zones returned by
+ * [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).
+ */
+ timeZone?: string;
+ /**
+ * Specifies additional base-64 encoded XML formatted information that can be included in the
+ * Unattend.xml file, which is used by Windows Setup.
+ */
+ additionalUnattendContent?: AdditionalUnattendContent[];
+ /**
+ * [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
+ */
+ patchSettings?: PatchSettings;
+ /**
+ * Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
+ */
+ winRM?: WinRMConfiguration;
+}
+
+/**
+ * Contains information about SSH certificate public key and the path on the Linux VM where the
+ * public key is placed.
+ */
+export interface SshPublicKey {
+ /**
+ * Specifies the full path on the created VM where ssh public key is stored. If the file already
+ * exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
+ */
+ path?: string;
+ /**
+ * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be
+ * at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys
+ * on Linux and Mac for Linux VMs in
+ * Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
+ */
+ keyData?: string;
+}
+
+/**
+ * SSH configuration for Linux based VMs running on Azure
+ */
+export interface SshConfiguration {
+ /**
+ * The list of SSH public keys used to authenticate with linux based VMs.
+ */
+ publicKeys?: SshPublicKey[];
+}
+
+/**
+ * Specifies settings related to VM Guest Patching on Linux.
+ */
+export interface LinuxPatchSettings {
+ /**
+ * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated
+ * to virtual machine scale set with OrchestrationMode as Flexible.
Possible values
+ * are:
**ImageDefault** - The virtual machine's default patching configuration is
+ * used.
**AutomaticByPlatform** - The virtual machine will be automatically updated
+ * by the platform. The property provisionVMAgent must be true. Possible values include:
+ * 'ImageDefault', 'AutomaticByPlatform'
+ */
+ patchMode?: LinuxVMGuestPatchMode;
+ /**
+ * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
+ * Possible values are:
**ImageDefault** - You control the timing of patch
+ * assessments on a virtual machine.
**AutomaticByPlatform** - The platform will
+ * trigger periodic patch assessments. The property provisionVMAgent must be true. Possible
+ * values include: 'ImageDefault', 'AutomaticByPlatform'
+ */
+ assessmentMode?: LinuxPatchAssessmentMode;
+}
+
+/**
+ * Specifies the Linux operating system settings on the virtual machine.
For a list of
+ * supported Linux distributions, see [Linux on Azure-Endorsed
+ * Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
+ */
+export interface LinuxConfiguration {
+ /**
+ * Specifies whether password authentication should be disabled.
+ */
+ disablePasswordAuthentication?: boolean;
+ /**
+ * Specifies the ssh key configuration for a Linux OS.
+ */
+ ssh?: SshConfiguration;
+ /**
+ * Indicates whether virtual machine agent should be provisioned on the virtual machine.
+ * When this property is not specified in the request body, default behavior is to set it to
+ * true. This will ensure that VM Agent is installed on the VM so that extensions can be added
+ * to the VM later.
+ */
+ provisionVMAgent?: boolean;
+ /**
+ * [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
+ */
+ patchSettings?: LinuxPatchSettings;
+}
+
+/**
+ * Describes a single certificate reference in a Key Vault, and where the certificate should reside
+ * on the VM.
+ */
+export interface VaultCertificate {
+ /**
+ * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a
+ * secret to the Key Vault, see [Add a key or secret to the key
+ * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case,
+ * your certificate needs to be It is the Base64 encoding of the following JSON Object which is
+ * encoded in UTF-8:
{
"data":"",
+ * "dataType":"pfx",
"password":""
}
+ */
+ certificateUrl?: string;
+ /**
+ * For Windows VMs, specifies the certificate store on the Virtual Machine to which the
+ * certificate should be added. The specified certificate store is implicitly in the LocalMachine
+ * account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent
+ * directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file
+ * and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
+ */
+ certificateStore?: string;
+}
+
+/**
+ * Describes a set of certificates which are all in the same Key Vault.
+ */
+export interface VaultSecretGroup {
+ /**
+ * The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
+ */
+ sourceVault?: SubResource;
+ /**
+ * The list of key vault references in SourceVault which contain certificates.
+ */
+ vaultCertificates?: VaultCertificate[];
+}
+
+/**
+ * Specifies the operating system settings for the virtual machine. Some of the settings cannot be
+ * changed once VM is provisioned.
+ */
+export interface OSProfile {
+ /**
+ * Specifies the host OS name of the virtual machine.
This name cannot be updated after
+ * the VM is created.
**Max-length (Windows):** 15 characters
**Max-length
+ * (Linux):** 64 characters.
For naming conventions and restrictions see [Azure
+ * infrastructure services implementation
+ * guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).
+ */
+ computerName?: string;
+ /**
+ * Specifies the name of the administrator account.
This property cannot be updated
+ * after the VM is created.
**Windows-only restriction:** Cannot end in "."
+ * **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ * "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ * "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ * "sys", "test2", "test3", "user4", "user5".
**Minimum-length (Linux):** 1 character
+ *
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20
+ * characters.
+ */
+ adminUsername?: string;
+ /**
+ * Specifies the password of the administrator account.
**Minimum-length (Windows):** 8
+ * characters
**Minimum-length (Linux):** 6 characters
**Max-length
+ * (Windows):** 123 characters
**Max-length (Linux):** 72 characters
+ * **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower
+ * characters
Has upper characters
Has a digit
Has a special character (Regex match
+ * [\W_])
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123",
+ * "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
For
+ * resetting the password, see [How to reset the Remote Desktop service or its login password in
+ * a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
+ *
For resetting root password, see [Manage users, SSH, and check or repair disks on
+ * Azure Linux VMs using the VMAccess
+ * Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)
+ */
+ adminPassword?: string;
+ /**
+ * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a
+ * binary array that is saved as a file on the Virtual Machine. The maximum length of the binary
+ * array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData
+ * property**
This property cannot be updated after the VM is created.
+ * customData is passed to the VM to be saved as a file, for more information see [Custom Data on
+ * Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
+ *
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM
+ * during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)
+ */
+ customData?: string;
+ /**
+ * Specifies Windows operating system settings on the virtual machine.
+ */
+ windowsConfiguration?: WindowsConfiguration;
+ /**
+ * Specifies the Linux operating system settings on the virtual machine.
For a list of
+ * supported Linux distributions, see [Linux on Azure-Endorsed
+ * Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
+ */
+ linuxConfiguration?: LinuxConfiguration;
+ /**
+ * Specifies set of certificates that should be installed onto the virtual machine.
+ */
+ secrets?: VaultSecretGroup[];
+ /**
+ * Specifies whether extension operations should be allowed on the virtual machine.
This
+ * may only be set to False when no extensions are present on the virtual machine.
+ */
+ allowExtensionOperations?: boolean;
+ /**
+ * Specifies whether the guest provision signal is required to infer provision success of the
+ * virtual machine. **Note: This property is for private testing only, and all customers must
+ * not set the property to false.**
+ */
+ requireGuestProvisionSignal?: boolean;
+}
+
+/**
+ * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
+ * to diagnose VM status.
You can easily view the output of your console log.
+ * Azure also enables you to see a screenshot of the VM from the hypervisor.
+ */
+export interface BootDiagnostics {
+ /**
+ * Whether boot diagnostics should be enabled on the Virtual Machine.
+ */
+ enabled?: boolean;
+ /**
+ * Uri of the storage account to use for placing the console output and screenshot.
If
+ * storageUri is not specified while enabling boot diagnostics, managed storage will be used.
+ */
+ storageUri?: string;
+}
+
+/**
+ * Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
+ */
+export interface DiagnosticsProfile {
+ /**
+ * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
+ * to diagnose VM status.
You can easily view the output of your console log.
+ * Azure also enables you to see a screenshot of the VM from the hypervisor.
+ */
+ bootDiagnostics?: BootDiagnostics;
+}
+
+/**
+ * Specifies the security settings like secure boot and vTPM used while creating the virtual
+ * machine.
Minimum api-version: 2020-12-01
+ */
+export interface UefiSettings {
+ /**
+ * Specifies whether secure boot should be enabled on the virtual machine.
Minimum
+ * api-version: 2020-12-01
+ */
+ secureBootEnabled?: boolean;
+ /**
+ * Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version:
+ * 2020-12-01
+ */
+ vTpmEnabled?: boolean;
+}
+
+/**
+ * Specifies the Security profile settings for the virtual machine or virtual machine scale set.
+ */
+export interface SecurityProfile {
+ /**
+ * Specifies the security settings like secure boot and vTPM used while creating the virtual
+ * machine.
Minimum api-version: 2020-12-01
+ */
+ uefiSettings?: UefiSettings;
+ /**
+ * This property can be used by user in the request to enable or disable the Host Encryption for
+ * the virtual machine or virtual machine scale set. This will enable the encryption for all the
+ * disks including Resource/Temp disk at host itself.
Default: The Encryption at host
+ * will be disabled unless this property is set to true for the resource.
+ */
+ encryptionAtHost?: boolean;
+ /**
+ * Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable
+ * UefiSettings.
Default: UefiSettings will not be enabled unless this property is set
+ * as TrustedLaunch. Possible values include: 'TrustedLaunch'
+ */
+ securityType?: SecurityTypes;
+}
+
+/**
+ * Describes the properties of the Virtual Machine for which the restore point was created. The
+ * properties provided are a subset and the snapshot of the overall Virtual Machine properties
+ * captured at the time of the restore point creation.
+ */
+export interface RestorePointSourceMetadata {
+ /**
+ * Gets the hardware profile.
+ */
+ hardwareProfile?: HardwareProfile;
+ /**
+ * Gets the storage profile.
+ */
+ storageProfile?: RestorePointSourceVMStorageProfile;
+ /**
+ * Gets the OS profile.
+ */
+ osProfile?: OSProfile;
+ /**
+ * Gets the diagnostics profile.
+ */
+ diagnosticsProfile?: DiagnosticsProfile;
+ /**
+ * Gets the license type, which is for bring your own license scenario.
+ */
+ licenseType?: string;
+ /**
+ * Gets the virtual machine unique id.
+ */
+ vmId?: string;
+ /**
+ * Gets the security profile.
+ */
+ securityProfile?: SecurityProfile;
+}
+
+/**
+ * Restore Point Provisioning details.
+ */
+export interface RestorePointProvisioningDetails {
+ /**
+ * Gets the creation time of the restore point.
+ */
+ creationTime?: Date;
+ /**
+ * Gets the total size of the data in all the disks which are part of the restore point.
+ */
+ totalUsedSizeInBytes?: number;
+ /**
+ * Gets the status of the Create restore point operation.
+ */
+ statusCode?: number;
+ /**
+ * Gets the status message of the Create restore point operation.
+ */
+ statusMessage?: string;
+}
+
+/**
+ * The resource model definition for an Azure Resource Manager proxy resource. It will not have
+ * tags and a location
+ */
+export interface ProxyResource extends BaseResource {
+ /**
+ * Resource Id
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * Resource name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+}
+
+/**
+ * Restore Point details.
+ */
+export interface RestorePoint extends ProxyResource {
+ /**
+ * Gets the details of the VM captured at the time of the restore point creation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly sourceMetadata?: RestorePointSourceMetadata;
+ /**
+ * Gets the provisioning state of the restore point.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: string;
+ /**
+ * Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints
+ * for more details. Possible values include: 'CrashConsistent', 'FileSystemConsistent',
+ * 'ApplicationConsistent'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly consistencyMode?: ConsistencyModeTypes;
+ /**
+ * Gets the provisioning details set by the server during Create restore point operation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningDetails?: RestorePointProvisioningDetails;
+ /**
+ * List of disk resource ids that the customer wishes to exclude from the restore point. If no
+ * disks are specified, all disks will be included.
+ */
+ excludeDisks?: ApiEntityReference[];
+}
+
+/**
+ * The Resource model definition.
+ */
+export interface Resource extends BaseResource {
+ /**
+ * Resource Id
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * Resource name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+ /**
+ * Resource location
+ */
+ location: string;
+ /**
+ * Resource tags
+ */
+ tags?: { [propertyName: string]: string };
+}
+
+/**
+ * Create or update Restore Point collection parameters.
+ */
+export interface RestorePointCollection extends Resource {
+ source?: RestorePointCollectionSourceProperties;
+ /**
+ * The provisioning state of the restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: string;
+ /**
+ * The unique id of the restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly restorePointCollectionId?: string;
+ /**
+ * A list containing all restore points created under this restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly restorePoints?: RestorePoint[];
+}
+
+/**
+ * The Update Resource model definition.
+ */
+export interface UpdateResource {
+ /**
+ * Resource tags
+ */
+ tags?: { [propertyName: string]: string };
+}
+
+/**
+ * Update Restore Point collection parameters.
+ */
+export interface RestorePointCollectionUpdate extends UpdateResource {
+ source?: RestorePointCollectionSourceProperties;
+ /**
+ * The provisioning state of the restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: string;
+ /**
+ * The unique id of the restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly restorePointCollectionId?: string;
+ /**
+ * A list containing all restore points created under this restore point collection.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly restorePoints?: RestorePoint[];
+}
+
/**
* Describes the properties of a Compute Operation value.
*/
@@ -99,16 +931,6 @@ export interface InstanceViewStatus {
time?: Date;
}
-/**
- * An interface representing SubResource.
- */
-export interface SubResource extends BaseResource {
- /**
- * Resource Id
- */
- id?: string;
-}
-
/**
* Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the
* hardware the scale set is currently on, you need to deallocate the VMs in the scale set before
@@ -130,44 +952,13 @@ export interface Sku {
capacity?: number;
}
-/**
- * The Resource model definition.
- */
-export interface Resource extends BaseResource {
- /**
- * Resource Id
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * Resource name
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly name?: string;
- /**
- * Resource type
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: string;
- /**
- * Resource location
- */
- location: string;
- /**
- * Resource tags
- */
- tags?: { [propertyName: string]: string };
-}
-
/**
* Specifies information about the availability set that the virtual machine should be assigned to.
* Virtual machines specified in the same availability set are allocated to different nodes to
- * maximize availability. For more information about availability sets, see [Manage the
- * availability of virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
- *
For more information on Azure planned maintenance, see [Planned maintenance for virtual
- * machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
+ * maximize availability. For more information about availability sets, see [Availability sets
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
+ * For more information on Azure planned maintenance, see [Maintenance and updates for Virtual
+ * Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
*
Currently, a VM can only be added to availability set at creation time. An existing VM
* cannot be added to an availability set.
*/
@@ -202,16 +993,6 @@ export interface AvailabilitySet extends Resource {
sku?: Sku;
}
-/**
- * The Update Resource model definition.
- */
-export interface UpdateResource {
- /**
- * Resource tags
- */
- tags?: { [propertyName: string]: string };
-}
-
/**
* Specifies information about the availability set that the virtual machine should be assigned to.
* Only tags may be updated.
@@ -598,7 +1379,10 @@ export interface VirtualMachineSize {
*/
name?: string;
/**
- * The number of cores supported by the virtual machine size.
+ * The number of cores supported by the virtual machine size. For Constrained vCPU capable VM
+ * sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU
+ * count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or
+ * https://docs.microsoft.com/rest/api/compute/resourceskus/list
*/
numberOfCores?: number;
/**
@@ -1471,87 +2255,32 @@ export interface VirtualMachineCaptureResult extends SubResource {
*/
readonly resources?: any[];
}
-
-/**
- * Specifies information about the marketplace image used to create the virtual machine. This
- * element is only used for marketplace images. Before you can use a marketplace image from an API,
- * you must enable the image for programmatic use. In the Azure portal, find the marketplace image
- * that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter
- * any required information and then click **Save**.
- */
-export interface Plan {
- /**
- * The plan ID.
- */
- name?: string;
- /**
- * The publisher ID.
- */
- publisher?: string;
- /**
- * Specifies the product of the image from the marketplace. This is the same value as Offer under
- * the imageReference element.
- */
- product?: string;
- /**
- * The promotion code.
- */
- promotionCode?: string;
-}
-
-/**
- * Specifies the hardware settings for the virtual machine.
- */
-export interface HardwareProfile {
- /**
- * Specifies the size of the virtual machine.
The enum data type is currently deprecated
- * and will be removed by December 23rd 2023.
Recommended way to get the list of
- * available sizes is using these APIs:
[List all available virtual machine sizes in an
- * availability
- * set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
- * [List all available virtual machine sizes in a region](
- * https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)
[List all
- * available virtual machine sizes for
- * resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For
- * more information about virtual machine sizes, see [Sizes for virtual
- * machines](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes).
The
- * available VM sizes depend on region and availability set. Possible values include: 'Basic_A0',
- * 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2',
- * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
- * 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', 'Standard_A2_v2',
- * 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2', 'Standard_A8m_v2',
- * 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', 'Standard_B2ms', 'Standard_B4ms',
- * 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11',
- * 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2',
- * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3', 'Standard_D4_v3',
- * 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3', 'Standard_D2s_v3',
- * 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3',
- * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2',
- * 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3',
- * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14',
- * 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2',
- * 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2',
- * 'Standard_DS15_v2', 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2',
- * 'Standard_DS14-4_v2', 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3',
- * 'Standard_E32_v3', 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3',
- * 'Standard_E16s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3',
- * 'Standard_E32-8s_v3', 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1',
- * 'Standard_F2', 'Standard_F4', 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s',
- * 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2',
- * 'Standard_F8s_v2', 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2',
- * 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
- * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5',
- * 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', 'Standard_GS5-8', 'Standard_H8',
- * 'Standard_H16', 'Standard_H8m', 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr',
- * 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s', 'Standard_M64s',
- * 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', 'Standard_M64-32ms',
- * 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', 'Standard_NC6',
- * 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', 'Standard_NC12s_v2',
- * 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', 'Standard_NC12s_v3',
- * 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', 'Standard_ND12s',
- * 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', 'Standard_NV24'
+
+/**
+ * Specifies information about the marketplace image used to create the virtual machine. This
+ * element is only used for marketplace images. Before you can use a marketplace image from an API,
+ * you must enable the image for programmatic use. In the Azure portal, find the marketplace image
+ * that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter
+ * any required information and then click **Save**.
+ */
+export interface Plan {
+ /**
+ * The plan ID.
*/
- vmSize?: VirtualMachineSizeTypes;
+ name?: string;
+ /**
+ * The publisher ID.
+ */
+ publisher?: string;
+ /**
+ * Specifies the product of the image from the marketplace. This is the same value as Offer under
+ * the imageReference element.
+ */
+ product?: string;
+ /**
+ * The promotion code.
+ */
+ promotionCode?: string;
}
/**
@@ -1592,60 +2321,6 @@ export interface ImageReference extends SubResource {
readonly exactVersion?: string;
}
-/**
- * Describes a reference to Key Vault Secret
- */
-export interface KeyVaultSecretReference {
- /**
- * The URL referencing a secret in a Key Vault.
- */
- secretUrl: string;
- /**
- * The relative URL of the Key Vault containing the secret.
- */
- sourceVault: SubResource;
-}
-
-/**
- * Describes the parameter of customer managed disk encryption set resource id that can be
- * specified for disk.
NOTE: The disk encryption set resource id can only be specified for
- * managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
- */
-export interface DiskEncryptionSetParameters extends SubResource {
-}
-
-/**
- * Describes a reference to Key Vault Key
- */
-export interface KeyVaultKeyReference {
- /**
- * The URL referencing a key encryption key in Key Vault.
- */
- keyUrl: string;
- /**
- * The relative URL of the Key Vault containing the key.
- */
- sourceVault: SubResource;
-}
-
-/**
- * Describes a Encryption Settings for a Disk
- */
-export interface DiskEncryptionSettings {
- /**
- * Specifies the location of the disk encryption key, which is a Key Vault Secret.
- */
- diskEncryptionKey?: KeyVaultSecretReference;
- /**
- * Specifies the location of the key encryption key in Key Vault.
- */
- keyEncryptionKey?: KeyVaultKeyReference;
- /**
- * Specifies whether disk encryption should be enabled on the virtual machine.
- */
- enabled?: boolean;
-}
-
/**
* Describes the uri of a disk.
*/
@@ -1671,33 +2346,17 @@ export interface DiffDiskSettings {
*
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is
* configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size
* documentation for Windows VM at
- * https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at
- * https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes
- * exposes a cache disk. Possible values include: 'CacheDisk', 'ResourceDisk'
+ * https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at
+ * https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes
+ * a cache disk. Possible values include: 'CacheDisk', 'ResourceDisk'
*/
placement?: DiffDiskPlacement;
}
-/**
- * The parameters of a managed disk.
- */
-export interface ManagedDiskParameters extends SubResource {
- /**
- * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
- * with data disks, it cannot be used with OS Disk. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', 'Premium_ZRS', 'StandardSSD_ZRS'
- */
- storageAccountType?: StorageAccountTypes;
- /**
- * Specifies the customer managed disk encryption set resource id for the managed disk.
- */
- diskEncryptionSet?: DiskEncryptionSetParameters;
-}
-
/**
* Specifies information about the operating system disk used by the virtual machine.
For
* more information about disks, see [About disks and VHDs for Azure virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
export interface OSDisk {
/**
@@ -1758,6 +2417,15 @@ export interface OSDisk {
* The managed disk parameters.
*/
managedDisk?: ManagedDiskParameters;
+ /**
+ * Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible
+ * values:
**Delete** If this value is used, the OS disk is deleted when VM is
+ * deleted.
**Detach** If this value is used, the os disk is retained after VM is
+ * deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the
+ * default value is set to **Delete**. User cannot change the delete option for ephemeral OS
+ * Disk. Possible values include: 'Delete', 'Detach'
+ */
+ deleteOption?: DiskDeleteOptionTypes;
}
/**
@@ -1843,6 +2511,14 @@ export interface DataDisk {
* 'true' along with setting detachOption: 'ForceDetach'. Possible values include: 'ForceDetach'
*/
detachOption?: DiskDetachOptionTypes;
+ /**
+ * Specifies whether data disk should be deleted or detached upon VM deletion.
Possible
+ * values:
**Delete** If this value is used, the data disk is deleted when VM is
+ * deleted.
**Detach** If this value is used, the data disk is retained after VM is
+ * deleted.
The default value is set to **detach**. Possible values include: 'Delete',
+ * 'Detach'
+ */
+ deleteOption?: DiskDeleteOptionTypes;
}
/**
@@ -1859,58 +2535,17 @@ export interface StorageProfile {
/**
* Specifies information about the operating system disk used by the virtual machine.
* For more information about disks, see [About disks and VHDs for Azure virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
osDisk?: OSDisk;
/**
* Specifies the parameters that are used to add a data disk to a virtual machine.
For
* more information about disks, see [About disks and VHDs for Azure virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
dataDisks?: DataDisk[];
}
-/**
- * Specifies the security settings like secure boot and vTPM used while creating the virtual
- * machine.
Minimum api-version: 2020-12-01
- */
-export interface UefiSettings {
- /**
- * Specifies whether secure boot should be enabled on the virtual machine.
Minimum
- * api-version: 2020-12-01
- */
- secureBootEnabled?: boolean;
- /**
- * Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version:
- * 2020-12-01
- */
- vTpmEnabled?: boolean;
-}
-
-/**
- * Specifies the Security profile settings for the virtual machine or virtual machine scale set.
- */
-export interface SecurityProfile {
- /**
- * Specifies the security settings like secure boot and vTPM used while creating the virtual
- * machine.
Minimum api-version: 2020-12-01
- */
- uefiSettings?: UefiSettings;
- /**
- * This property can be used by user in the request to enable or disable the Host Encryption for
- * the virtual machine or virtual machine scale set. This will enable the encryption for all the
- * disks including Resource/Temp disk at host itself.
Default: The Encryption at host
- * will be disabled unless this property is set to true for the resource.
- */
- encryptionAtHost?: boolean;
- /**
- * Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable
- * UefiSettings.
Default: UefiSettings will not be enabled unless this property is set
- * as TrustedLaunch. Possible values include: 'TrustedLaunch'
- */
- securityType?: SecurityTypes;
-}
-
/**
* Enables or disables a capability on the virtual machine or virtual machine scale set.
*/
@@ -1925,357 +2560,224 @@ export interface AdditionalCapabilities {
}
/**
- * Specifies additional XML formatted information that can be included in the Unattend.xml file,
- * which is used by Windows Setup. Contents are defined by setting name, component name, and the
- * pass in which the content is applied.
- */
-export interface AdditionalUnattendContent {
- /**
- * The pass name. Currently, the only allowable value is OobeSystem. Possible values include:
- * 'OobeSystem'
- */
- passName?: PassNames;
- /**
- * The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- * Possible values include: 'Microsoft-Windows-Shell-Setup'
- */
- componentName?: ComponentNames;
- /**
- * Specifies the name of the setting to which the content applies. Possible values are:
- * FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'
- */
- settingName?: SettingNames;
- /**
- * Specifies the XML formatted content that is added to the unattend.xml file for the specified
- * path and component. The XML must be less than 4KB and must include the root element for the
- * setting or feature that is being inserted.
- */
- content?: string;
-}
-
-/**
- * Describes Protocol and thumbprint of Windows Remote Management listener
- */
-export interface WinRMListener {
- /**
- * Specifies the protocol of WinRM listener.
Possible values are:
**http**
- * **https**. Possible values include: 'Http', 'Https'
- */
- protocol?: ProtocolTypes;
- /**
- * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a
- * secret to the Key Vault, see [Add a key or secret to the key
- * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case,
- * your certificate needs to be It is the Base64 encoding of the following JSON Object which is
- * encoded in UTF-8:
{
"data":"",
- * "dataType":"pfx",
"password":""
}
- */
- certificateUrl?: string;
-}
-
-/**
- * Describes Windows Remote Management configuration of the VM
- */
-export interface WinRMConfiguration {
- /**
- * The list of Windows Remote Management listeners
- */
- listeners?: WinRMListener[];
-}
-
-/**
- * Specifies settings related to VM Guest Patching on Windows.
- */
-export interface PatchSettings {
- /**
- * Specifies the mode of VM Guest Patching to IaaS virtual machine.
Possible values
- * are:
**Manual** - You control the application of patches to a virtual machine.
- * You do this by applying patches manually inside the VM. In this mode, automatic updates are
- * disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
- * **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property
- * WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform**
- * - the virtual machine will automatically updated by the platform. The properties
- * provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values
- * include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
- */
- patchMode?: WindowsVMGuestPatchMode;
- /**
- * Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching,
- * the 'provisionVMAgent' must be set to true and 'patchMode' must be set to
- * 'AutomaticByPlatform'.
- */
- enableHotpatching?: boolean;
-}
-
-/**
- * Specifies Windows operating system settings on the virtual machine.
+ * Specifies the configuration parameters for automatic repairs on the virtual machine scale set.
*/
-export interface WindowsConfiguration {
- /**
- * Indicates whether virtual machine agent should be provisioned on the virtual machine.
- * When this property is not specified in the request body, default behavior is to set it to
- * true. This will ensure that VM Agent is installed on the VM so that extensions can be added
- * to the VM later.
- */
- provisionVMAgent?: boolean;
- /**
- * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value
- * is true.
For virtual machine scale sets, this property can be updated and updates
- * will take effect on OS reprovisioning.
- */
- enableAutomaticUpdates?: boolean;
+export interface AutomaticRepairsPolicy {
/**
- * Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time".
- * Possible values can be
- * [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id)
- * value from time zones returned by
- * [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).
+ * Specifies whether automatic repairs should be enabled on the virtual machine scale set. The
+ * default value is false.
*/
- timeZone?: string;
+ enabled?: boolean;
/**
- * Specifies additional base-64 encoded XML formatted information that can be included in the
- * Unattend.xml file, which is used by Windows Setup.
+ * The amount of time for which automatic repairs are suspended due to a state change on VM. The
+ * grace time starts after the state change has completed. This helps avoid premature or
+ * accidental repairs. The time duration should be specified in ISO 8601 format. The minimum
+ * allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum
+ * allowed grace period is 90 minutes (PT90M).
*/
- additionalUnattendContent?: AdditionalUnattendContent[];
+ gracePeriod?: string;
+}
+
+/**
+ * Describes a network interface reference.
+ */
+export interface NetworkInterfaceReference extends SubResource {
/**
- * [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
+ * Specifies the primary network interface in case the virtual machine has more than 1 network
+ * interface.
*/
- patchSettings?: PatchSettings;
+ primary?: boolean;
/**
- * Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
+ * Specify what happens to the network interface when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
*/
- winRM?: WinRMConfiguration;
+ deleteOption?: DeleteOptions;
}
/**
- * Contains information about SSH certificate public key and the path on the Linux VM where the
- * public key is placed.
+ * Contains the IP tag associated with the public IP address.
*/
-export interface SshPublicKey {
+export interface VirtualMachineIpTag {
/**
- * Specifies the full path on the created VM where ssh public key is stored. If the file already
- * exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
+ * IP tag type. Example: FirstPartyUsage.
*/
- path?: string;
+ ipTagType?: string;
/**
- * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be
- * at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys
- * on Linux and Mac for Linux VMs in
- * Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ * IP tag associated with the public IP. Example: SQL, Storage etc.
*/
- keyData?: string;
+ tag?: string;
}
/**
- * SSH configuration for Linux based VMs running on Azure
+ * Describes a virtual machines network configuration's DNS settings.
*/
-export interface SshConfiguration {
+export interface VirtualMachinePublicIPAddressDnsSettingsConfiguration {
/**
- * The list of SSH public keys used to authenticate with linux based VMs.
+ * The Domain name label prefix of the PublicIPAddress resources that will be created. The
+ * generated name label is the concatenation of the domain name label and vm network profile
+ * unique ID.
*/
- publicKeys?: SshPublicKey[];
+ domainNameLabel: string;
}
/**
- * Specifies settings related to VM Guest Patching on Linux.
+ * Describes the public IP Sku
*/
-export interface LinuxPatchSettings {
+export interface PublicIPAddressSku {
/**
- * Specifies the mode of VM Guest Patching to IaaS virtual machine.
Possible values
- * are:
**ImageDefault** - The virtual machine's default patching configuration is
- * used.
**AutomaticByPlatform** - The virtual machine will be automatically updated
- * by the platform. The property provisionVMAgent must be true. Possible values include:
- * 'ImageDefault', 'AutomaticByPlatform'
+ * Specify public IP sku name. Possible values include: 'Basic', 'Standard'
*/
- patchMode?: LinuxVMGuestPatchMode;
+ publicIPAddressSkuName: PublicIPAddressSkuName;
+ /**
+ * Specify public IP sku tier. Possible values include: 'Regional', 'Global'
+ */
+ publicIPAddressSkuTier?: PublicIPAddressSkuTier;
}
/**
- * Specifies the Linux operating system settings on the virtual machine.
For a list of
- * supported Linux distributions, see [Linux on Azure-Endorsed
- * Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
- *
For running non-endorsed distributions, see [Information for Non-Endorsed
- * Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ * Describes a virtual machines IP Configuration's PublicIPAddress configuration
*/
-export interface LinuxConfiguration {
+export interface VirtualMachinePublicIPAddressConfiguration {
/**
- * Specifies whether password authentication should be disabled.
+ * The publicIP address configuration name.
*/
- disablePasswordAuthentication?: boolean;
+ name: string;
/**
- * Specifies the ssh key configuration for a Linux OS.
+ * The idle timeout of the public IP address.
*/
- ssh?: SshConfiguration;
+ idleTimeoutInMinutes?: number;
/**
- * Indicates whether virtual machine agent should be provisioned on the virtual machine.
- * When this property is not specified in the request body, default behavior is to set it to
- * true. This will ensure that VM Agent is installed on the VM so that extensions can be added
- * to the VM later.
+ * Specify what happens to the public IP address when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
*/
- provisionVMAgent?: boolean;
+ deleteOption?: DeleteOptions;
/**
- * [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
+ * The dns settings to be applied on the publicIP addresses .
*/
- patchSettings?: LinuxPatchSettings;
-}
-
-/**
- * Describes a single certificate reference in a Key Vault, and where the certificate should reside
- * on the VM.
- */
-export interface VaultCertificate {
+ dnsSettings?: VirtualMachinePublicIPAddressDnsSettingsConfiguration;
/**
- * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a
- * secret to the Key Vault, see [Add a key or secret to the key
- * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case,
- * your certificate needs to be It is the Base64 encoding of the following JSON Object which is
- * encoded in UTF-8:
{
"data":"",
- * "dataType":"pfx",
"password":""
}
+ * The list of IP tags associated with the public IP address.
*/
- certificateUrl?: string;
+ ipTags?: VirtualMachineIpTag[];
/**
- * For Windows VMs, specifies the certificate store on the Virtual Machine to which the
- * certificate should be added. The specified certificate store is implicitly in the LocalMachine
- * account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent
- * directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file
- * and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
+ * The PublicIPPrefix from which to allocate publicIP addresses.
*/
- certificateStore?: string;
-}
-
-/**
- * Describes a set of certificates which are all in the same Key Vault.
- */
-export interface VaultSecretGroup {
+ publicIPPrefix?: SubResource;
/**
- * The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
+ * Available from Api-Version 2019-07-01 onwards, it represents whether the specific
+ * ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and
+ * 'IPv6'. Possible values include: 'IPv4', 'IPv6'
*/
- sourceVault?: SubResource;
+ publicIPAddressVersion?: IPVersions;
/**
- * The list of key vault references in SourceVault which contain certificates.
+ * Specify the public IP allocation type. Possible values include: 'Dynamic', 'Static'
*/
- vaultCertificates?: VaultCertificate[];
+ publicIPAllocationMethod?: PublicIPAllocationMethod;
+ sku?: PublicIPAddressSku;
}
/**
- * Specifies the operating system settings for the virtual machine. Some of the settings cannot be
- * changed once VM is provisioned.
+ * Describes a virtual machine network profile's IP configuration.
*/
-export interface OSProfile {
- /**
- * Specifies the host OS name of the virtual machine.
This name cannot be updated after
- * the VM is created.
**Max-length (Windows):** 15 characters
**Max-length
- * (Linux):** 64 characters.
For naming conventions and restrictions see [Azure
- * infrastructure services implementation
- * guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).
- */
- computerName?: string;
+export interface VirtualMachineNetworkInterfaceIPConfiguration {
/**
- * Specifies the name of the administrator account.
This property cannot be updated
- * after the VM is created.
**Windows-only restriction:** Cannot end in "."
- * **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
- * "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
- * "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
- * "sys", "test2", "test3", "user4", "user5".
**Minimum-length (Linux):** 1 character
- *
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20
- * characters
For root access to the Linux VM, see [Using root privileges on Linux
- * virtual machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
- * For a list of built-in system users on Linux that should not be used in this field, see
- * [Selecting User Names for Linux on
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ * The IP configuration name.
*/
- adminUsername?: string;
+ name: string;
/**
- * Specifies the password of the administrator account.
**Minimum-length (Windows):** 8
- * characters
**Minimum-length (Linux):** 6 characters
**Max-length
- * (Windows):** 123 characters
**Max-length (Linux):** 72 characters
- * **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower
- * characters
Has upper characters
Has a digit
Has a special character (Regex match
- * [\W_])
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123",
- * "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
For
- * resetting the password, see [How to reset the Remote Desktop service or its login password in
- * a Windows
- * VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
- *
For resetting root password, see [Manage users, SSH, and check or repair disks on
- * Azure Linux VMs using the VMAccess
- * Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
+ * Specifies the identifier of the subnet.
*/
- adminPassword?: string;
+ subnet?: SubResource;
/**
- * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a
- * binary array that is saved as a file on the Virtual Machine. The maximum length of the binary
- * array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData
- * property**
This property cannot be updated after the VM is created.
- * customData is passed to the VM to be saved as a file, for more information see [Custom Data on
- * Azure
- * VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
- *
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM
- * during
- * creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ * Specifies the primary network interface in case the virtual machine has more than 1 network
+ * interface.
*/
- customData?: string;
+ primary?: boolean;
/**
- * Specifies Windows operating system settings on the virtual machine.
+ * The publicIPAddressConfiguration.
*/
- windowsConfiguration?: WindowsConfiguration;
+ publicIPAddressConfiguration?: VirtualMachinePublicIPAddressConfiguration;
/**
- * Specifies the Linux operating system settings on the virtual machine.
For a list of
- * supported Linux distributions, see [Linux on Azure-Endorsed
- * Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
- *
For running non-endorsed distributions, see [Information for Non-Endorsed
- * Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ * Available from Api-Version 2017-03-30 onwards, it represents whether the specific
+ * ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and
+ * 'IPv6'. Possible values include: 'IPv4', 'IPv6'
*/
- linuxConfiguration?: LinuxConfiguration;
+ privateIPAddressVersion?: IPVersions;
/**
- * Specifies set of certificates that should be installed onto the virtual machine.
+ * Specifies an array of references to application security group.
*/
- secrets?: VaultSecretGroup[];
+ applicationSecurityGroups?: SubResource[];
/**
- * Specifies whether extension operations should be allowed on the virtual machine.
This
- * may only be set to False when no extensions are present on the virtual machine.
+ * Specifies an array of references to backend address pools of application gateways. A virtual
+ * machine can reference backend address pools of multiple application gateways. Multiple virtual
+ * machines cannot use the same application gateway.
*/
- allowExtensionOperations?: boolean;
+ applicationGatewayBackendAddressPools?: SubResource[];
/**
- * Specifies whether the guest provision signal is required to infer provision success of the
- * virtual machine. **Note: This property is for private testing only, and all customers must
- * not set the property to false.**
+ * Specifies an array of references to backend address pools of load balancers. A virtual machine
+ * can reference backend address pools of one public and one internal load balancer. [Multiple
+ * virtual machines cannot use the same basic sku load balancer].
*/
- requireGuestProvisionSignal?: boolean;
+ loadBalancerBackendAddressPools?: SubResource[];
}
/**
- * Specifies the configuration parameters for automatic repairs on the virtual machine scale set.
+ * Describes a virtual machines network configuration's DNS settings.
*/
-export interface AutomaticRepairsPolicy {
- /**
- * Specifies whether automatic repairs should be enabled on the virtual machine scale set. The
- * default value is false.
- */
- enabled?: boolean;
+export interface VirtualMachineNetworkInterfaceDnsSettingsConfiguration {
/**
- * The amount of time for which automatic repairs are suspended due to a state change on VM. The
- * grace time starts after the state change has completed. This helps avoid premature or
- * accidental repairs. The time duration should be specified in ISO 8601 format. The minimum
- * allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum
- * allowed grace period is 90 minutes (PT90M).
+ * List of DNS servers IP addresses
*/
- gracePeriod?: string;
+ dnsServers?: string[];
}
/**
- * Describes a network interface reference.
+ * Describes a virtual machine network interface configurations.
*/
-export interface NetworkInterfaceReference extends SubResource {
+export interface VirtualMachineNetworkInterfaceConfiguration {
+ /**
+ * The network interface configuration name.
+ */
+ name: string;
/**
* Specifies the primary network interface in case the virtual machine has more than 1 network
* interface.
*/
primary?: boolean;
+ /**
+ * Specify what happens to the network interface when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
+ */
+ deleteOption?: DeleteOptions;
+ /**
+ * Specifies whether the network interface is accelerated networking-enabled.
+ */
+ enableAcceleratedNetworking?: boolean;
+ /**
+ * Specifies whether the network interface is FPGA networking-enabled.
+ */
+ enableFpga?: boolean;
+ /**
+ * Whether IP forwarding enabled on this NIC.
+ */
+ enableIPForwarding?: boolean;
+ /**
+ * The network security group.
+ */
+ networkSecurityGroup?: SubResource;
+ /**
+ * The dns settings to be applied on the network interfaces.
+ */
+ dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration;
+ /**
+ * Specifies the IP configurations of the network interface.
+ */
+ ipConfigurations: VirtualMachineNetworkInterfaceIPConfiguration[];
+ dscpConfiguration?: SubResource;
}
/**
- * Specifies the network interfaces of the virtual machine.
+ * Specifies the network interfaces or the networking configuration of the virtual machine.
*/
export interface NetworkProfile {
/**
@@ -2283,35 +2785,16 @@ export interface NetworkProfile {
* machine.
*/
networkInterfaces?: NetworkInterfaceReference[];
-}
-
-/**
- * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
- * to diagnose VM status.
You can easily view the output of your console log.
- * Azure also enables you to see a screenshot of the VM from the hypervisor.
- */
-export interface BootDiagnostics {
- /**
- * Whether boot diagnostics should be enabled on the Virtual Machine.
- */
- enabled?: boolean;
/**
- * Uri of the storage account to use for placing the console output and screenshot.
If
- * storageUri is not specified while enabling boot diagnostics, managed storage will be used.
+ * specifies the Microsoft.Network API version used when creating networking resources in the
+ * Network Interface Configurations. Possible values include: '2020-11-01'
*/
- storageUri?: string;
-}
-
-/**
- * Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
- */
-export interface DiagnosticsProfile {
+ networkApiVersion?: NetworkApiVersion;
/**
- * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
- * to diagnose VM status.
You can easily view the output of your console log.
- * Azure also enables you to see a screenshot of the VM from the hypervisor.
+ * Specifies the networking configurations that will be used to create the virtual machine
+ * networking resources.
*/
- bootDiagnostics?: BootDiagnostics;
+ networkInterfaceConfigurations?: VirtualMachineNetworkInterfaceConfiguration[];
}
/**
@@ -2723,6 +3206,32 @@ export interface VirtualMachineInstanceView {
patchStatus?: VirtualMachinePatchStatus;
}
+/**
+ * An interface representing TerminateNotificationProfile.
+ */
+export interface TerminateNotificationProfile {
+ /**
+ * Configurable length of time a Virtual Machine being deleted will have to potentially approve
+ * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration
+ * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
+ */
+ notBeforeTimeout?: string;
+ /**
+ * Specifies whether the Terminate Scheduled event is enabled or disabled.
+ */
+ enable?: boolean;
+}
+
+/**
+ * An interface representing ScheduledEventsProfile.
+ */
+export interface ScheduledEventsProfile {
+ /**
+ * Specifies Terminate Scheduled Event related configurations.
+ */
+ terminateNotificationProfile?: TerminateNotificationProfile;
+}
+
/**
* Describes a Virtual Machine.
*/
@@ -2767,16 +3276,15 @@ export interface VirtualMachine extends Resource {
/**
* Specifies information about the availability set that the virtual machine should be assigned
* to. Virtual machines specified in the same availability set are allocated to different nodes
- * to maximize availability. For more information about availability sets, see [Manage the
- * availability of virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
- *
For more information on Azure planned maintenance, see [Planned maintenance for
- * virtual machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
- *
Currently, a VM can only be added to availability set at creation time. The
- * availability set to which the VM is being added should be under the same resource group as the
- * availability set resource. An existing VM cannot be added to an availability set.
This
- * property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
+ * to maximize availability. For more information about availability sets, see [Availability sets
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
+ *
For more information on Azure planned maintenance, see [Maintenance and updates for
+ * Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
+ * Currently, a VM can only be added to availability set at creation time. The availability set
+ * to which the VM is being added should be under the same resource group as the availability set
+ * resource. An existing VM cannot be added to an availability set.
This property cannot
+ * exist along with a non-null properties.virtualMachineScaleSet reference.
*/
availabilitySet?: SubResource;
/**
@@ -2866,6 +3374,15 @@ export interface VirtualMachine extends Resource {
* the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01
*/
platformFaultDomain?: number;
+ /**
+ * Specifies Scheduled Event related configurations.
+ */
+ scheduledEventsProfile?: ScheduledEventsProfile;
+ /**
+ * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in
+ * here.
Minimum api-version: 2021-03-01
+ */
+ userData?: string;
/**
* The virtual machine child extension resources.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -2929,16 +3446,15 @@ export interface VirtualMachineUpdate extends UpdateResource {
/**
* Specifies information about the availability set that the virtual machine should be assigned
* to. Virtual machines specified in the same availability set are allocated to different nodes
- * to maximize availability. For more information about availability sets, see [Manage the
- * availability of virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
- *
For more information on Azure planned maintenance, see [Planned maintenance for
- * virtual machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
- *
Currently, a VM can only be added to availability set at creation time. The
- * availability set to which the VM is being added should be under the same resource group as the
- * availability set resource. An existing VM cannot be added to an availability set.
This
- * property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
+ * to maximize availability. For more information about availability sets, see [Availability sets
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
+ *
For more information on Azure planned maintenance, see [Maintenance and updates for
+ * Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
+ * Currently, a VM can only be added to availability set at creation time. The availability set
+ * to which the VM is being added should be under the same resource group as the availability set
+ * resource. An existing VM cannot be added to an availability set.
This property cannot
+ * exist along with a non-null properties.virtualMachineScaleSet reference.
*/
availabilitySet?: SubResource;
/**
@@ -3028,6 +3544,15 @@ export interface VirtualMachineUpdate extends UpdateResource {
* the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01
*/
platformFaultDomain?: number;
+ /**
+ * Specifies Scheduled Event related configurations.
+ */
+ scheduledEventsProfile?: ScheduledEventsProfile;
+ /**
+ * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in
+ * here.
Minimum api-version: 2021-03-01
+ */
+ userData?: string;
/**
* The identity of the virtual machine, if configured.
*/
@@ -3215,13 +3740,13 @@ export interface ImageStorageProfile {
/**
* Specifies information about the operating system disk used by the virtual machine.
* For more information about disks, see [About disks and VHDs for Azure virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
osDisk?: ImageOSDisk;
/**
* Specifies the parameters that are used to add a data disk to a virtual machine.
For
* more information about disks, see [About disks and VHDs for Azure virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
dataDisks?: ImageDataDisk[];
/**
@@ -3355,12 +3880,7 @@ export interface VirtualMachineScaleSetOSProfile {
* "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support",
* "support_388945a0", "sys", "test2", "test3", "user4", "user5".
**Minimum-length
* (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length
- * (Windows):** 20 characters
For root access to the Linux VM, see [Using root
- * privileges on Linux virtual machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
- * For a list of built-in system users on Linux that should not be used in this field, see
- * [Selecting User Names for Linux on
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ * (Windows):** 20 characters
*/
adminUsername?: string;
/**
@@ -3372,11 +3892,10 @@ export interface VirtualMachineScaleSetOSProfile {
* [\W_])
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123",
* "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
For
* resetting the password, see [How to reset the Remote Desktop service or its login password in
- * a Windows
- * VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
+ * a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
*
For resetting root password, see [Manage users, SSH, and check or repair disks on
* Azure Linux VMs using the VMAccess
- * Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
+ * Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)
*/
adminPassword?: string;
/**
@@ -3384,7 +3903,7 @@ export interface VirtualMachineScaleSetOSProfile {
* binary array that is saved as a file on the Virtual Machine. The maximum length of the binary
* array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to
* customize a Linux VM during
- * creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ * creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)
*/
customData?: string;
/**
@@ -3394,9 +3913,7 @@ export interface VirtualMachineScaleSetOSProfile {
/**
* Specifies the Linux operating system settings on the virtual machine.
For a list of
* supported Linux distributions, see [Linux on Azure-Endorsed
- * Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
- *
For running non-endorsed distributions, see [Information for Non-Endorsed
- * Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ * Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
*/
linuxConfiguration?: LinuxConfiguration;
/**
@@ -3601,14 +4118,13 @@ export interface VirtualMachineScaleSetStorageProfile {
/**
* Specifies information about the operating system disk used by the virtual machines in the
* scale set.
For more information about disks, see [About disks and VHDs for Azure
- * virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
osDisk?: VirtualMachineScaleSetOSDisk;
/**
* Specifies the parameters that are used to add data disks to the virtual machines in the scale
* set.
For more information about disks, see [About disks and VHDs for Azure virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
*/
dataDisks?: VirtualMachineScaleSetDataDisk[];
}
@@ -3631,17 +4147,6 @@ export interface VirtualMachineScaleSetUpdateStorageProfile {
dataDisks?: VirtualMachineScaleSetDataDisk[];
}
-/**
- * The API entity reference.
- */
-export interface ApiEntityReference {
- /**
- * The ARM resource id in the form of
- * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- */
- id?: string;
-}
-
/**
* Describes a virtual machines scale sets network configuration's DNS settings.
*/
@@ -3697,6 +4202,12 @@ export interface VirtualMachineScaleSetPublicIPAddressConfiguration {
* 'IPv6'. Possible values include: 'IPv4', 'IPv6'
*/
publicIPAddressVersion?: IPVersion;
+ /**
+ * Specify what happens to the public IP when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
+ */
+ deleteOption?: DeleteOptions;
+ sku?: PublicIPAddressSku;
}
/**
@@ -3715,6 +4226,11 @@ export interface VirtualMachineScaleSetUpdatePublicIPAddressConfiguration {
* The dns settings to be applied on the publicIP addresses .
*/
dnsSettings?: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings;
+ /**
+ * Specify what happens to the public IP when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
+ */
+ deleteOption?: DeleteOptions;
}
/**
@@ -3862,6 +4378,11 @@ export interface VirtualMachineScaleSetNetworkConfiguration extends SubResource
* Whether IP forwarding enabled on this NIC.
*/
enableIPForwarding?: boolean;
+ /**
+ * Specify what happens to the network interface when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
+ */
+ deleteOption?: DeleteOptions;
}
/**
@@ -3900,6 +4421,11 @@ export interface VirtualMachineScaleSetUpdateNetworkConfiguration extends SubRes
* Whether IP forwarding enabled on this NIC.
*/
enableIPForwarding?: boolean;
+ /**
+ * Specify what happens to the network interface when the VM is deleted. Possible values include:
+ * 'Delete', 'Detach'
+ */
+ deleteOption?: DeleteOptions;
}
/**
@@ -3916,6 +4442,12 @@ export interface VirtualMachineScaleSetNetworkProfile {
* The list of network configurations.
*/
networkInterfaceConfigurations?: VirtualMachineScaleSetNetworkConfiguration[];
+ /**
+ * specifies the Microsoft.Network API version used when creating networking resources in the
+ * Network Interface Configurations for Virtual Machine Scale Set with orchestration mode
+ * 'Flexible'. Possible values include: '2020-11-01'
+ */
+ networkApiVersion?: NetworkApiVersion;
}
/**
@@ -3932,6 +4464,12 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile {
* The list of network configurations.
*/
networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[];
+ /**
+ * specifies the Microsoft.Network API version used when creating networking resources in the
+ * Network Interface Configurations for Virtual Machine Scale Set with orchestration mode
+ * 'Flexible'. Possible values include: '2020-11-01'
+ */
+ networkApiVersion?: NetworkApiVersion;
}
/**
@@ -4073,32 +4611,6 @@ export interface VirtualMachineScaleSetExtensionProfile {
extensionsTimeBudget?: string;
}
-/**
- * An interface representing TerminateNotificationProfile.
- */
-export interface TerminateNotificationProfile {
- /**
- * Configurable length of time a Virtual Machine being deleted will have to potentially approve
- * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration
- * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- */
- notBeforeTimeout?: string;
- /**
- * Specifies whether the Terminate Scheduled event is enabled or disabled.
- */
- enable?: boolean;
-}
-
-/**
- * An interface representing ScheduledEventsProfile.
- */
-export interface ScheduledEventsProfile {
- /**
- * Specifies Terminate Scheduled Event related configurations.
- */
- terminateNotificationProfile?: TerminateNotificationProfile;
-}
-
/**
* Describes a virtual machine scale set virtual machine profile.
*/
@@ -4162,6 +4674,11 @@ export interface VirtualMachineScaleSetVMProfile {
* Specifies Scheduled Event related configurations.
*/
scheduledEventsProfile?: ScheduledEventsProfile;
+ /**
+ * UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer
+ * should not pass any secrets in here.
Minimum api-version: 2021-03-01
+ */
+ userData?: string;
}
/**
@@ -4205,6 +4722,11 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
* Specifies Scheduled Event related configurations.
*/
scheduledEventsProfile?: ScheduledEventsProfile;
+ /**
+ * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in
+ * here.
Minimum api-version: 2021-03-01
+ */
+ userData?: string;
}
/**
@@ -4825,14 +5347,13 @@ export interface VirtualMachineScaleSetVM extends Resource {
/**
* Specifies information about the availability set that the virtual machine should be assigned
* to. Virtual machines specified in the same availability set are allocated to different nodes
- * to maximize availability. For more information about availability sets, see [Manage the
- * availability of virtual
- * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
- *
For more information on Azure planned maintenance, see [Planned maintenance for
- * virtual machines in
- * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
- *
Currently, a VM can only be added to availability set at creation time. An existing
- * VM cannot be added to an availability set.
+ * to maximize availability. For more information about availability sets, see [Availability sets
+ * overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
+ *
For more information on Azure planned maintenance, see [Maintenance and updates for
+ * Virtual Machines in
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
+ * Currently, a VM can only be added to availability set at creation time. An existing VM cannot
+ * be added to an availability set.
*/
availabilitySet?: SubResource;
/**
@@ -4862,6 +5383,11 @@ export interface VirtualMachineScaleSetVM extends Resource {
* Specifies the protection policy of the virtual machine.
*/
protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy;
+ /**
+ * UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in
+ * here.
Minimum api-version: 2021-03-01
+ */
+ userData?: string;
/**
* Specifies information about the marketplace image used to create the virtual machine. This
* element is only used for marketplace images. Before you can use a marketplace image from an
@@ -6495,6 +7021,39 @@ export interface GalleryIdentifier {
readonly uniqueName?: string;
}
+/**
+ * Group of the gallery sharing profile
+ */
+export interface SharingProfileGroup {
+ /**
+ * This property allows you to specify the type of sharing group.
Possible values are:
+ *
**Subscriptions**
**AADTenants**. Possible values include: 'Subscriptions',
+ * 'AADTenants'
+ */
+ type?: SharingProfileGroupTypes;
+ /**
+ * A list of subscription/tenant ids the gallery is aimed to be shared to.
+ */
+ ids?: string[];
+}
+
+/**
+ * Profile for gallery sharing to subscription or tenant
+ */
+export interface SharingProfile {
+ /**
+ * This property allows you to specify the permission of sharing gallery.
Possible
+ * values are:
**Private**
**Groups**. Possible values include: 'Private',
+ * 'Groups'
+ */
+ permissions?: GallerySharingPermissionTypes;
+ /**
+ * A list of sharing profile groups.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly groups?: SharingProfileGroup[];
+}
+
/**
* Specifies information about the Shared Image Gallery that you want to create or update.
*/
@@ -6511,6 +7070,7 @@ export interface Gallery extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState;
+ sharingProfile?: SharingProfile;
}
/**
@@ -6554,6 +7114,7 @@ export interface GalleryUpdate extends UpdateResourceDefinition {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState;
+ sharingProfile?: SharingProfile;
}
/**
@@ -6679,12 +7240,12 @@ export interface GalleryArtifactPublishingProfileBase {
*/
excludeFromLatest?: boolean;
/**
- * The timestamp for when the gallery Image Version is published.
+ * The timestamp for when the gallery image version is published.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly publishedDate?: Date;
/**
- * The end of life date of the gallery Image Version. This property can be used for
+ * The end of life date of the gallery image version. This property can be used for
* decommissioning purposes. This property is updatable.
*/
endOfLifeDate?: Date;
@@ -6712,7 +7273,7 @@ export interface GalleryApplicationVersionPublishingProfile extends GalleryArtif
*/
export interface RegionalReplicationStatus {
/**
- * The region to which the gallery Image Version is being replicated to.
+ * The region to which the gallery image version is being replicated to.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly region?: string;
@@ -6735,7 +7296,7 @@ export interface RegionalReplicationStatus {
}
/**
- * This is the replication status of the gallery Image Version.
+ * This is the replication status of the gallery image version.
*/
export interface ReplicationStatus {
/**
@@ -6788,19 +7349,19 @@ export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinitio
}
/**
- * This is the gallery Image Definition identifier.
+ * This is the gallery image definition identifier.
*/
export interface GalleryImageIdentifier {
/**
- * The name of the gallery Image Definition publisher.
+ * The name of the gallery image definition publisher.
*/
publisher: string;
/**
- * The name of the gallery Image Definition offer.
+ * The name of the gallery image definition offer.
*/
offer: string;
/**
- * The name of the gallery Image Definition SKU.
+ * The name of the gallery image definition SKU.
*/
sku: string;
}
@@ -6839,7 +7400,7 @@ export interface Disallowed {
}
/**
- * Describes the gallery Image Definition purchase plan. This is used by marketplace images.
+ * Describes the gallery image definition purchase plan. This is used by marketplace images.
*/
export interface ImagePurchasePlan {
/**
@@ -6857,15 +7418,29 @@ export interface ImagePurchasePlan {
}
/**
- * Specifies information about the gallery Image Definition that you want to create or update.
+ * A feature for gallery image.
+ */
+export interface GalleryImageFeature {
+ /**
+ * The name of the gallery image feature.
+ */
+ name?: string;
+ /**
+ * The value of the gallery image feature.
+ */
+ value?: string;
+}
+
+/**
+ * Specifies information about the gallery image definition that you want to create or update.
*/
export interface GalleryImage extends Resource {
/**
- * The description of this gallery Image Definition resource. This property is updatable.
+ * The description of this gallery image definition resource. This property is updatable.
*/
description?: string;
/**
- * The Eula agreement for the gallery Image Definition.
+ * The Eula agreement for the gallery image definition.
*/
eula?: string;
/**
@@ -6893,7 +7468,7 @@ export interface GalleryImage extends Resource {
*/
hyperVGeneration?: HyperVGeneration;
/**
- * The end of life date of the gallery Image Definition. This property can be used for
+ * The end of life date of the gallery image definition. This property can be used for
* decommissioning purposes. This property is updatable.
*/
endOfLifeDate?: Date;
@@ -6902,24 +7477,28 @@ export interface GalleryImage extends Resource {
disallowed?: Disallowed;
purchasePlan?: ImagePurchasePlan;
/**
- * The current state of the gallery Image Definition. The provisioning state, which only appears
+ * The current state of the gallery image definition. The provisioning state, which only appears
* in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState2;
+ /**
+ * A list of gallery image features.
+ */
+ features?: GalleryImageFeature[];
}
/**
- * Specifies information about the gallery Image Definition that you want to update.
+ * Specifies information about the gallery image definition that you want to update.
*/
export interface GalleryImageUpdate extends UpdateResourceDefinition {
/**
- * The description of this gallery Image Definition resource. This property is updatable.
+ * The description of this gallery image definition resource. This property is updatable.
*/
description?: string;
/**
- * The Eula agreement for the gallery Image Definition.
+ * The Eula agreement for the gallery image definition.
*/
eula?: string;
/**
@@ -6947,7 +7526,7 @@ export interface GalleryImageUpdate extends UpdateResourceDefinition {
*/
hyperVGeneration?: HyperVGeneration;
/**
- * The end of life date of the gallery Image Definition. This property can be used for
+ * The end of life date of the gallery image definition. This property can be used for
* decommissioning purposes. This property is updatable.
*/
endOfLifeDate?: Date;
@@ -6956,16 +7535,20 @@ export interface GalleryImageUpdate extends UpdateResourceDefinition {
disallowed?: Disallowed;
purchasePlan?: ImagePurchasePlan;
/**
- * The current state of the gallery Image Definition. The provisioning state, which only appears
+ * The current state of the gallery image definition. The provisioning state, which only appears
* in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState2;
+ /**
+ * A list of gallery image features.
+ */
+ features?: GalleryImageFeature[];
}
/**
- * The publishing profile of a gallery Image Version.
+ * The publishing profile of a gallery image Version.
*/
export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
}
@@ -6975,10 +7558,14 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub
*/
export interface GalleryArtifactVersionSource {
/**
- * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user
- * image.
+ * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user
+ * image or storage account resource.
*/
id?: string;
+ /**
+ * The uri of the gallery artifact version source. Currently used to specify vhd/blob source.
+ */
+ uri?: string;
}
/**
@@ -7029,12 +7616,12 @@ export interface GalleryImageVersionStorageProfile {
}
/**
- * Specifies information about the gallery Image Version that you want to create or update.
+ * Specifies information about the gallery image version that you want to create or update.
*/
export interface GalleryImageVersion extends Resource {
publishingProfile?: GalleryImageVersionPublishingProfile;
/**
- * The current state of the gallery Image Version. The provisioning state, which only appears in
+ * The current state of the gallery image version. The provisioning state, which only appears in
* the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -7048,12 +7635,12 @@ export interface GalleryImageVersion extends Resource {
}
/**
- * Specifies information about the gallery Image Version that you want to update.
+ * Specifies information about the gallery image version that you want to update.
*/
export interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
publishingProfile?: GalleryImageVersionPublishingProfile;
/**
- * The current state of the gallery Image Version. The provisioning state, which only appears in
+ * The current state of the gallery image version. The provisioning state, which only appears in
* the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -7144,6 +7731,105 @@ export interface GalleryArtifactSource {
managedImage: ManagedArtifact;
}
+/**
+ * Specifies information about the gallery sharing profile update.
+ */
+export interface SharingUpdate extends BaseResource {
+ /**
+ * This property allows you to specify the operation type of gallery sharing update.
+ * Possible values are:
**Add**
**Remove**
**Reset**. Possible values
+ * include: 'Add', 'Remove', 'Reset'
+ */
+ operationType: SharingUpdateOperationTypes;
+ /**
+ * A list of sharing profile groups.
+ */
+ groups?: SharingProfileGroup[];
+}
+
+/**
+ * The Resource model definition.
+ */
+export interface PirResource {
+ /**
+ * Resource name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource location
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly location?: string;
+}
+
+/**
+ * Base information about the shared gallery resource in pir.
+ */
+export interface PirSharedGalleryResource extends PirResource {
+ /**
+ * The unique id of this shared gallery.
+ */
+ uniqueId?: string;
+}
+
+/**
+ * Specifies information about the Shared Gallery that you want to create or update.
+ */
+export interface SharedGallery extends PirSharedGalleryResource {
+}
+
+/**
+ * Specifies information about the gallery image definition that you want to create or update.
+ */
+export interface SharedGalleryImage extends PirSharedGalleryResource {
+ /**
+ * This property allows you to specify the type of the OS that is included in the disk when
+ * creating a VM from a managed image.
Possible values are:
**Windows**
+ *
**Linux**. Possible values include: 'Windows', 'Linux'
+ */
+ osType: OperatingSystemTypes;
+ /**
+ * This property allows the user to specify whether the virtual machines created under this image
+ * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'
+ */
+ osState: OperatingSystemStateTypes;
+ /**
+ * The end of life date of the gallery image definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ endOfLifeDate?: Date;
+ identifier: GalleryImageIdentifier;
+ recommended?: RecommendedMachineConfiguration;
+ disallowed?: Disallowed;
+ /**
+ * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values
+ * include: 'V1', 'V2'
+ */
+ hyperVGeneration?: HyperVGeneration;
+ /**
+ * A list of gallery image features.
+ */
+ features?: GalleryImageFeature[];
+ purchasePlan?: ImagePurchasePlan;
+}
+
+/**
+ * Specifies information about the gallery image version that you want to create or update.
+ */
+export interface SharedGalleryImageVersion extends PirSharedGalleryResource {
+ /**
+ * The published date of the gallery image version Definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ publishedDate?: Date;
+ /**
+ * The end of life date of the gallery image version Definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ endOfLifeDate?: Date;
+}
+
/**
* An interface representing InstanceSku.
*/
@@ -7897,8 +8583,9 @@ export interface ProximityPlacementGroupsGetOptionalParams extends msRest.Reques
*/
export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation. The response shows the list of instance view
- * of the dedicated hosts under the dedicated host group. Possible values include: 'instanceView'
+ * The expand expression to apply on the operation. 'InstanceView' will retrieve the list of
+ * instance views of the dedicated hosts under the dedicated host group. 'UserData' is not
+ * supported for dedicated host group. Possible values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -7908,7 +8595,9 @@ export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOpti
*/
export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation. Possible values include: 'instanceView'
+ * The expand expression to apply on the operation. 'InstanceView' will retrieve the list of
+ * instance views of the dedicated host. 'UserData' is not supported for dedicated host. Possible
+ * values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -7990,7 +8679,11 @@ export interface VirtualMachinesDeleteMethodOptionalParams extends msRest.Reques
*/
export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation. Possible values include: 'instanceView'
+ * The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the
+ * runtime properties of the virtual machine that is managed by the platform and can change
+ * outside of control plane operations. 'UserData' retrieves the UserData property as part of the
+ * VM model view that was provided by the user during the VM Create/Update operation. Possible
+ * values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -8091,6 +8784,18 @@ export interface VirtualMachineScaleSetsDeleteMethodOptionalParams extends msRes
forceDeletion?: boolean;
}
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachineScaleSetsGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation. 'UserData' retrieves the UserData property of
+ * the VM scale set that was provided by the user during the VM scale set Create/Update
+ * operation. Possible values include: 'userData'
+ */
+ expand?: ExpandTypesForGetVMScaleSets;
+}
+
/**
* Optional Parameters.
*/
@@ -8305,6 +9010,18 @@ export interface ImagesGetOptionalParams extends msRest.RequestOptionsBase {
expand?: string;
}
+/**
+ * Optional Parameters.
+ */
+export interface RestorePointCollectionsGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation. If expand=restorePoints, server will return
+ * all contained restore points in the restorePointCollection. Possible values include:
+ * 'restorePoints'
+ */
+ expand?: RestorePointCollectionExpandOptions;
+}
+
/**
* Optional Parameters.
*/
@@ -8360,7 +9077,9 @@ export interface VirtualMachineScaleSetVMsDeleteMethodOptionalParams extends msR
*/
export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation. Possible values include: 'instanceView'
+ * The expand expression to apply on the operation. 'InstanceView' will retrieve the instance
+ * view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine.
+ * Possible values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -8494,71 +9213,147 @@ export interface VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams
/**
* Optional Parameters.
*/
-export interface VirtualMachineScaleSetVMRunCommandsGetOptionalParams extends msRest.RequestOptionsBase {
+export interface VirtualMachineScaleSetVMRunCommandsGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation.
+ */
+ expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachineScaleSetVMRunCommandsListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation.
+ */
+ expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation.
+ */
+ expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The filter to apply on the operation. Only **location** filter is supported currently.
+ */
+ filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ResourceSkusListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The filter to apply on the operation. Only **location** filter is supported currently.
+ */
+ filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface GalleriesGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The select expression to apply on the operation. Possible values include: 'Permissions'
+ */
+ select?: SelectPermissions;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface GalleryImageVersionsGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus'
+ */
+ expand?: ReplicationStatusTypes;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface GalleryApplicationVersionsGetOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation.
+ * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus'
*/
- expand?: string;
+ expand?: ReplicationStatusTypes;
}
/**
* Optional Parameters.
*/
-export interface VirtualMachineScaleSetVMRunCommandsListOptionalParams extends msRest.RequestOptionsBase {
+export interface SharedGalleriesListOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation.
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
*/
- expand?: string;
+ sharedTo?: SharedToValues;
}
/**
* Optional Parameters.
*/
-export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams extends msRest.RequestOptionsBase {
+export interface SharedGalleriesListNextOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation.
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
*/
- expand?: string;
+ sharedTo?: SharedToValues;
}
/**
* Optional Parameters.
*/
-export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase {
+export interface SharedGalleryImagesListOptionalParams extends msRest.RequestOptionsBase {
/**
- * The filter to apply on the operation. Only **location** filter is supported currently.
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
*/
- filter?: string;
+ sharedTo?: SharedToValues;
}
/**
* Optional Parameters.
*/
-export interface ResourceSkusListNextOptionalParams extends msRest.RequestOptionsBase {
+export interface SharedGalleryImagesListNextOptionalParams extends msRest.RequestOptionsBase {
/**
- * The filter to apply on the operation. Only **location** filter is supported currently.
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
*/
- filter?: string;
+ sharedTo?: SharedToValues;
}
/**
* Optional Parameters.
*/
-export interface GalleryImageVersionsGetOptionalParams extends msRest.RequestOptionsBase {
+export interface SharedGalleryImageVersionsListOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus'
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
*/
- expand?: ReplicationStatusTypes;
+ sharedTo?: SharedToValues;
}
/**
* Optional Parameters.
*/
-export interface GalleryApplicationVersionsGetOptionalParams extends msRest.RequestOptionsBase {
+export interface SharedGalleryImageVersionsListNextOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus'
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
*/
- expand?: ReplicationStatusTypes;
+ sharedTo?: SharedToValues;
}
/**
@@ -8566,7 +9361,8 @@ export interface GalleryApplicationVersionsGetOptionalParams extends msRest.Requ
*/
export interface CloudServiceRoleInstancesGetOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply to the operation. Possible values include: 'instanceView'
+ * The expand expression to apply to the operation. 'UserData' is not supported for cloud
+ * services. Possible values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -8576,7 +9372,8 @@ export interface CloudServiceRoleInstancesGetOptionalParams extends msRest.Reque
*/
export interface CloudServiceRoleInstancesListOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply to the operation. Possible values include: 'instanceView'
+ * The expand expression to apply to the operation. 'UserData' is not supported for cloud
+ * services. Possible values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -8586,7 +9383,8 @@ export interface CloudServiceRoleInstancesListOptionalParams extends msRest.Requ
*/
export interface CloudServiceRoleInstancesListNextOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply to the operation. Possible values include: 'instanceView'
+ * The expand expression to apply to the operation. 'UserData' is not supported for cloud
+ * services. Possible values include: 'instanceView', 'userData'
*/
expand?: InstanceViewTypes;
}
@@ -8889,6 +9687,19 @@ export interface ImageListResult extends Array {
nextLink?: string;
}
+/**
+ * @interface
+ * The List restore point collection operation response.
+ * @extends Array
+ */
+export interface RestorePointCollectionListResult extends Array {
+ /**
+ * The uri to fetch the next page of RestorePointCollections. Call ListNext() with this to fetch
+ * the next page of RestorePointCollections
+ */
+ nextLink?: string;
+}
+
/**
* @interface
* The List VM scale set extension operation response.
@@ -9065,7 +9876,7 @@ export interface GalleryList extends Array {
export interface GalleryImageList extends Array {
/**
* The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call
- * ListNext() with this to fetch the next page of gallery Image Definitions.
+ * ListNext() with this to fetch the next page of gallery image definitions.
*/
nextLink?: string;
}
@@ -9077,8 +9888,8 @@ export interface GalleryImageList extends Array {
*/
export interface GalleryImageVersionList extends Array {
/**
- * The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch
- * the next page of gallery Image Versions.
+ * The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch
+ * the next page of gallery image versions.
*/
nextLink?: string;
}
@@ -9109,6 +9920,45 @@ export interface GalleryApplicationVersionList extends Array
+ */
+export interface SharedGalleryList extends Array {
+ /**
+ * The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the
+ * next page of shared galleries.
+ */
+ nextLink?: string;
+}
+
+/**
+ * @interface
+ * The List Shared Gallery Images operation response.
+ * @extends Array
+ */
+export interface SharedGalleryImageList extends Array {
+ /**
+ * The uri to fetch the next page of shared gallery images. Call ListNext() with this to fetch
+ * the next page of shared gallery images.
+ */
+ nextLink?: string;
+}
+
+/**
+ * @interface
+ * The List Shared Gallery Image versions operation response.
+ * @extends Array
+ */
+export interface SharedGalleryImageVersionList extends Array {
+ /**
+ * The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to
+ * fetch the next page of shared gallery image versions.
+ */
+ nextLink?: string;
+}
+
/**
* @interface
* An interface representing the RoleInstanceListResult.
@@ -9163,6 +10013,152 @@ export interface OSFamilyListResult extends Array {
nextLink?: string;
}
+/**
+ * Defines values for VirtualMachineSizeTypes.
+ * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4',
+ * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5',
+ * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11',
+ * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2',
+ * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s',
+ * 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3',
+ * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2',
+ * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3',
+ * 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3',
+ * 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3',
+ * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2',
+ * 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4',
+ * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2',
+ * 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2',
+ * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2',
+ * 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2',
+ * 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3',
+ * 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3',
+ * 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', 'Standard_E32-8s_v3',
+ * 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4',
+ * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s',
+ * 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2',
+ * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2',
+ * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3',
+ * 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16',
+ * 'Standard_GS5-8', 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m',
+ * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s',
+ * 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms',
+ * 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms',
+ * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2',
+ * 'Standard_NC12s_v2', 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3',
+ * 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s',
+ * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12',
+ * 'Standard_NV24'
+ * @readonly
+ * @enum {string}
+ */
+export type VirtualMachineSizeTypes = 'Basic_A0' | 'Basic_A1' | 'Basic_A2' | 'Basic_A3' | 'Basic_A4' | 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2_v2' | 'Standard_A4_v2' | 'Standard_A8_v2' | 'Standard_A2m_v2' | 'Standard_A4m_v2' | 'Standard_A8m_v2' | 'Standard_B1s' | 'Standard_B1ms' | 'Standard_B2s' | 'Standard_B2ms' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D2_v3' | 'Standard_D4_v3' | 'Standard_D8_v3' | 'Standard_D16_v3' | 'Standard_D32_v3' | 'Standard_D64_v3' | 'Standard_D2s_v3' | 'Standard_D4s_v3' | 'Standard_D8s_v3' | 'Standard_D16s_v3' | 'Standard_D32s_v3' | 'Standard_D64s_v3' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_D15_v2' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_DS1_v2' | 'Standard_DS2_v2' | 'Standard_DS3_v2' | 'Standard_DS4_v2' | 'Standard_DS5_v2' | 'Standard_DS11_v2' | 'Standard_DS12_v2' | 'Standard_DS13_v2' | 'Standard_DS14_v2' | 'Standard_DS15_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13-2_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14-4_v2' | 'Standard_E2_v3' | 'Standard_E4_v3' | 'Standard_E8_v3' | 'Standard_E16_v3' | 'Standard_E32_v3' | 'Standard_E64_v3' | 'Standard_E2s_v3' | 'Standard_E4s_v3' | 'Standard_E8s_v3' | 'Standard_E16s_v3' | 'Standard_E32s_v3' | 'Standard_E64s_v3' | 'Standard_E32-16_v3' | 'Standard_E32-8s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64-16s_v3' | 'Standard_F1' | 'Standard_F2' | 'Standard_F4' | 'Standard_F8' | 'Standard_F16' | 'Standard_F1s' | 'Standard_F2s' | 'Standard_F4s' | 'Standard_F8s' | 'Standard_F16s' | 'Standard_F2s_v2' | 'Standard_F4s_v2' | 'Standard_F8s_v2' | 'Standard_F16s_v2' | 'Standard_F32s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5' | 'Standard_GS4-8' | 'Standard_GS4-4' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H8' | 'Standard_H16' | 'Standard_H8m' | 'Standard_H16m' | 'Standard_H16r' | 'Standard_H16mr' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_M64s' | 'Standard_M64ms' | 'Standard_M128s' | 'Standard_M128ms' | 'Standard_M64-32ms' | 'Standard_M64-16ms' | 'Standard_M128-64ms' | 'Standard_M128-32ms' | 'Standard_NC6' | 'Standard_NC12' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC6s_v2' | 'Standard_NC12s_v2' | 'Standard_NC24s_v2' | 'Standard_NC24rs_v2' | 'Standard_NC6s_v3' | 'Standard_NC12s_v3' | 'Standard_NC24s_v3' | 'Standard_NC24rs_v3' | 'Standard_ND6s' | 'Standard_ND12s' | 'Standard_ND24s' | 'Standard_ND24rs' | 'Standard_NV6' | 'Standard_NV12' | 'Standard_NV24';
+
+/**
+ * Defines values for OperatingSystemType.
+ * Possible values include: 'Windows', 'Linux'
+ * @readonly
+ * @enum {string}
+ */
+export type OperatingSystemType = 'Windows' | 'Linux';
+
+/**
+ * Defines values for CachingTypes.
+ * Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * @readonly
+ * @enum {string}
+ */
+export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite';
+
+/**
+ * Defines values for StorageAccountTypes.
+ * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS',
+ * 'Premium_ZRS', 'StandardSSD_ZRS'
+ * @readonly
+ * @enum {string}
+ */
+export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS' | 'Premium_ZRS' | 'StandardSSD_ZRS';
+
+/**
+ * Defines values for PassNames.
+ * Possible values include: 'OobeSystem'
+ * @readonly
+ * @enum {string}
+ */
+export type PassNames = 'OobeSystem';
+
+/**
+ * Defines values for ComponentNames.
+ * Possible values include: 'Microsoft-Windows-Shell-Setup'
+ * @readonly
+ * @enum {string}
+ */
+export type ComponentNames = 'Microsoft-Windows-Shell-Setup';
+
+/**
+ * Defines values for SettingNames.
+ * Possible values include: 'AutoLogon', 'FirstLogonCommands'
+ * @readonly
+ * @enum {string}
+ */
+export type SettingNames = 'AutoLogon' | 'FirstLogonCommands';
+
+/**
+ * Defines values for WindowsVMGuestPatchMode.
+ * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type WindowsVMGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform';
+
+/**
+ * Defines values for WindowsPatchAssessmentMode.
+ * Possible values include: 'ImageDefault', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type WindowsPatchAssessmentMode = 'ImageDefault' | 'AutomaticByPlatform';
+
+/**
+ * Defines values for ProtocolTypes.
+ * Possible values include: 'Http', 'Https'
+ * @readonly
+ * @enum {string}
+ */
+export type ProtocolTypes = 'Http' | 'Https';
+
+/**
+ * Defines values for LinuxVMGuestPatchMode.
+ * Possible values include: 'ImageDefault', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type LinuxVMGuestPatchMode = 'ImageDefault' | 'AutomaticByPlatform';
+
+/**
+ * Defines values for LinuxPatchAssessmentMode.
+ * Possible values include: 'ImageDefault', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type LinuxPatchAssessmentMode = 'ImageDefault' | 'AutomaticByPlatform';
+
+/**
+ * Defines values for SecurityTypes.
+ * Possible values include: 'TrustedLaunch'
+ * @readonly
+ * @enum {string}
+ */
+export type SecurityTypes = 'TrustedLaunch';
+
+/**
+ * Defines values for ConsistencyModeTypes.
+ * Possible values include: 'CrashConsistent', 'FileSystemConsistent', 'ApplicationConsistent'
+ * @readonly
+ * @enum {string}
+ */
+export type ConsistencyModeTypes = 'CrashConsistent' | 'FileSystemConsistent' | 'ApplicationConsistent';
+
/**
* Defines values for VmDiskTypes.
* Possible values include: 'None', 'Unmanaged'
@@ -9292,55 +10288,6 @@ export type PatchInstallationState = 'Unknown' | 'Installed' | 'Failed' | 'Exclu
*/
export type OperatingSystemTypes = 'Windows' | 'Linux';
-/**
- * Defines values for VirtualMachineSizeTypes.
- * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4',
- * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5',
- * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11',
- * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2',
- * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s',
- * 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3',
- * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2',
- * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3',
- * 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3',
- * 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3',
- * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2',
- * 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4',
- * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2',
- * 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2',
- * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2',
- * 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2',
- * 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3',
- * 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3',
- * 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', 'Standard_E32-8s_v3',
- * 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4',
- * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s',
- * 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2',
- * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2',
- * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3',
- * 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16',
- * 'Standard_GS5-8', 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m',
- * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s',
- * 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms',
- * 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms',
- * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2',
- * 'Standard_NC12s_v2', 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3',
- * 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s',
- * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12',
- * 'Standard_NV24'
- * @readonly
- * @enum {string}
- */
-export type VirtualMachineSizeTypes = 'Basic_A0' | 'Basic_A1' | 'Basic_A2' | 'Basic_A3' | 'Basic_A4' | 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2_v2' | 'Standard_A4_v2' | 'Standard_A8_v2' | 'Standard_A2m_v2' | 'Standard_A4m_v2' | 'Standard_A8m_v2' | 'Standard_B1s' | 'Standard_B1ms' | 'Standard_B2s' | 'Standard_B2ms' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D2_v3' | 'Standard_D4_v3' | 'Standard_D8_v3' | 'Standard_D16_v3' | 'Standard_D32_v3' | 'Standard_D64_v3' | 'Standard_D2s_v3' | 'Standard_D4s_v3' | 'Standard_D8s_v3' | 'Standard_D16s_v3' | 'Standard_D32s_v3' | 'Standard_D64s_v3' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_D15_v2' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_DS1_v2' | 'Standard_DS2_v2' | 'Standard_DS3_v2' | 'Standard_DS4_v2' | 'Standard_DS5_v2' | 'Standard_DS11_v2' | 'Standard_DS12_v2' | 'Standard_DS13_v2' | 'Standard_DS14_v2' | 'Standard_DS15_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13-2_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14-4_v2' | 'Standard_E2_v3' | 'Standard_E4_v3' | 'Standard_E8_v3' | 'Standard_E16_v3' | 'Standard_E32_v3' | 'Standard_E64_v3' | 'Standard_E2s_v3' | 'Standard_E4s_v3' | 'Standard_E8s_v3' | 'Standard_E16s_v3' | 'Standard_E32s_v3' | 'Standard_E64s_v3' | 'Standard_E32-16_v3' | 'Standard_E32-8s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64-16s_v3' | 'Standard_F1' | 'Standard_F2' | 'Standard_F4' | 'Standard_F8' | 'Standard_F16' | 'Standard_F1s' | 'Standard_F2s' | 'Standard_F4s' | 'Standard_F8s' | 'Standard_F16s' | 'Standard_F2s_v2' | 'Standard_F4s_v2' | 'Standard_F8s_v2' | 'Standard_F16s_v2' | 'Standard_F32s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5' | 'Standard_GS4-8' | 'Standard_GS4-4' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H8' | 'Standard_H16' | 'Standard_H8m' | 'Standard_H16m' | 'Standard_H16r' | 'Standard_H16mr' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_M64s' | 'Standard_M64ms' | 'Standard_M128s' | 'Standard_M128ms' | 'Standard_M64-32ms' | 'Standard_M64-16ms' | 'Standard_M128-64ms' | 'Standard_M128-32ms' | 'Standard_NC6' | 'Standard_NC12' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC6s_v2' | 'Standard_NC12s_v2' | 'Standard_NC24s_v2' | 'Standard_NC24rs_v2' | 'Standard_NC6s_v3' | 'Standard_NC12s_v3' | 'Standard_NC24s_v3' | 'Standard_NC24rs_v3' | 'Standard_ND6s' | 'Standard_ND12s' | 'Standard_ND24s' | 'Standard_ND24rs' | 'Standard_NV6' | 'Standard_NV12' | 'Standard_NV24';
-
-/**
- * Defines values for CachingTypes.
- * Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- * @readonly
- * @enum {string}
- */
-export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite';
-
/**
* Defines values for DiskCreateOptionTypes.
* Possible values include: 'FromImage', 'Empty', 'Attach'
@@ -9358,13 +10305,12 @@ export type DiskCreateOptionTypes = 'FromImage' | 'Empty' | 'Attach';
export type DiskDetachOptionTypes = 'ForceDetach';
/**
- * Defines values for StorageAccountTypes.
- * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS',
- * 'Premium_ZRS', 'StandardSSD_ZRS'
+ * Defines values for DiskDeleteOptionTypes.
+ * Possible values include: 'Delete', 'Detach'
* @readonly
* @enum {string}
*/
-export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS' | 'Premium_ZRS' | 'StandardSSD_ZRS';
+export type DiskDeleteOptionTypes = 'Delete' | 'Detach';
/**
* Defines values for DiffDiskOptions.
@@ -9376,67 +10322,59 @@ export type DiffDiskOptions = 'Local';
/**
* Defines values for DiffDiskPlacement.
- * Possible values include: 'CacheDisk', 'ResourceDisk'
- * @readonly
- * @enum {string}
- */
-export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk';
-
-/**
- * Defines values for SecurityTypes.
- * Possible values include: 'TrustedLaunch'
+ * Possible values include: 'CacheDisk', 'ResourceDisk'
* @readonly
* @enum {string}
*/
-export type SecurityTypes = 'TrustedLaunch';
+export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk';
/**
- * Defines values for PassNames.
- * Possible values include: 'OobeSystem'
+ * Defines values for DeleteOptions.
+ * Possible values include: 'Delete', 'Detach'
* @readonly
* @enum {string}
*/
-export type PassNames = 'OobeSystem';
+export type DeleteOptions = 'Delete' | 'Detach';
/**
- * Defines values for ComponentNames.
- * Possible values include: 'Microsoft-Windows-Shell-Setup'
+ * Defines values for IPVersions.
+ * Possible values include: 'IPv4', 'IPv6'
* @readonly
* @enum {string}
*/
-export type ComponentNames = 'Microsoft-Windows-Shell-Setup';
+export type IPVersions = 'IPv4' | 'IPv6';
/**
- * Defines values for SettingNames.
- * Possible values include: 'AutoLogon', 'FirstLogonCommands'
+ * Defines values for PublicIPAllocationMethod.
+ * Possible values include: 'Dynamic', 'Static'
* @readonly
* @enum {string}
*/
-export type SettingNames = 'AutoLogon' | 'FirstLogonCommands';
+export type PublicIPAllocationMethod = 'Dynamic' | 'Static';
/**
- * Defines values for ProtocolTypes.
- * Possible values include: 'Http', 'Https'
+ * Defines values for PublicIPAddressSkuName.
+ * Possible values include: 'Basic', 'Standard'
* @readonly
* @enum {string}
*/
-export type ProtocolTypes = 'Http' | 'Https';
+export type PublicIPAddressSkuName = 'Basic' | 'Standard';
/**
- * Defines values for WindowsVMGuestPatchMode.
- * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
+ * Defines values for PublicIPAddressSkuTier.
+ * Possible values include: 'Regional', 'Global'
* @readonly
* @enum {string}
*/
-export type WindowsVMGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform';
+export type PublicIPAddressSkuTier = 'Regional' | 'Global';
/**
- * Defines values for LinuxVMGuestPatchMode.
- * Possible values include: 'ImageDefault', 'AutomaticByPlatform'
+ * Defines values for NetworkApiVersion.
+ * Possible values include: '2020-11-01'
* @readonly
* @enum {string}
*/
-export type LinuxVMGuestPatchMode = 'ImageDefault' | 'AutomaticByPlatform';
+export type NetworkApiVersion = '2020-11-01';
/**
* Defines values for VirtualMachinePriorityTypes.
@@ -9732,6 +10670,22 @@ export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'R
*/
export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
+/**
+ * Defines values for GallerySharingPermissionTypes.
+ * Possible values include: 'Private', 'Groups'
+ * @readonly
+ * @enum {string}
+ */
+export type GallerySharingPermissionTypes = 'Private' | 'Groups';
+
+/**
+ * Defines values for SharingProfileGroupTypes.
+ * Possible values include: 'Subscriptions', 'AADTenants'
+ * @readonly
+ * @enum {string}
+ */
+export type SharingProfileGroupTypes = 'Subscriptions' | 'AADTenants';
+
/**
* Defines values for AggregatedReplicationState.
* Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
@@ -9764,6 +10718,14 @@ export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS'
*/
export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite';
+/**
+ * Defines values for SharingUpdateOperationTypes.
+ * Possible values include: 'Add', 'Remove', 'Reset'
+ * @readonly
+ * @enum {string}
+ */
+export type SharingUpdateOperationTypes = 'Add' | 'Remove' | 'Reset';
+
/**
* Defines values for CloudServiceUpgradeMode.
* Possible values include: 'Auto', 'Manual', 'Simultaneous'
@@ -9774,11 +10736,35 @@ export type CloudServiceUpgradeMode = 'Auto' | 'Manual' | 'Simultaneous';
/**
* Defines values for InstanceViewTypes.
- * Possible values include: 'instanceView'
+ * Possible values include: 'instanceView', 'userData'
+ * @readonly
+ * @enum {string}
+ */
+export type InstanceViewTypes = 'instanceView' | 'userData';
+
+/**
+ * Defines values for RestorePointCollectionExpandOptions.
+ * Possible values include: 'restorePoints'
+ * @readonly
+ * @enum {string}
+ */
+export type RestorePointCollectionExpandOptions = 'restorePoints';
+
+/**
+ * Defines values for ExpandTypesForGetVMScaleSets.
+ * Possible values include: 'userData'
+ * @readonly
+ * @enum {string}
+ */
+export type ExpandTypesForGetVMScaleSets = 'userData';
+
+/**
+ * Defines values for SelectPermissions.
+ * Possible values include: 'Permissions'
* @readonly
* @enum {string}
*/
-export type InstanceViewTypes = 'instanceView';
+export type SelectPermissions = 'Permissions';
/**
* Defines values for ReplicationStatusTypes.
@@ -9788,6 +10774,14 @@ export type InstanceViewTypes = 'instanceView';
*/
export type ReplicationStatusTypes = 'ReplicationStatus';
+/**
+ * Defines values for SharedToValues.
+ * Possible values include: 'tenant'
+ * @readonly
+ * @enum {string}
+ */
+export type SharedToValues = 'tenant';
+
/**
* Defines values for ProvisioningState.
* Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'
@@ -11721,9 +12715,209 @@ export type VirtualMachineScaleSetsListNextResponse = VirtualMachineScaleSetList
};
/**
- * Contains response data for the listAllNext operation.
+ * Contains response data for the listAllNext operation.
+ */
+export type VirtualMachineScaleSetsListAllNextResponse = VirtualMachineScaleSetListWithLinkResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: VirtualMachineScaleSetListWithLinkResult;
+ };
+};
+
+/**
+ * Contains response data for the listSkusNext operation.
+ */
+export type VirtualMachineScaleSetsListSkusNextResponse = VirtualMachineScaleSetListSkusResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: VirtualMachineScaleSetListSkusResult;
+ };
+};
+
+/**
+ * Contains response data for the getOSUpgradeHistoryNext operation.
+ */
+export type VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse = VirtualMachineScaleSetListOSUpgradeHistory & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: VirtualMachineScaleSetListOSUpgradeHistory;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: VirtualMachineSizeListResult;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type ImagesCreateOrUpdateResponse = Image & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: Image;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type ImagesUpdateResponse = Image & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: Image;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type ImagesGetResponse = Image & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: Image;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type ImagesListByResourceGroupResponse = ImageListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ImageListResult;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type ImagesListResponse = ImageListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ImageListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type ImagesBeginCreateOrUpdateResponse = Image & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: Image;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
*/
-export type VirtualMachineScaleSetsListAllNextResponse = VirtualMachineScaleSetListWithLinkResult & {
+export type ImagesBeginUpdateResponse = Image & {
/**
* The underlying HTTP response.
*/
@@ -11736,14 +12930,14 @@ export type VirtualMachineScaleSetsListAllNextResponse = VirtualMachineScaleSetL
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineScaleSetListWithLinkResult;
+ parsedBody: Image;
};
};
/**
- * Contains response data for the listSkusNext operation.
+ * Contains response data for the listByResourceGroupNext operation.
*/
-export type VirtualMachineScaleSetsListSkusNextResponse = VirtualMachineScaleSetListSkusResult & {
+export type ImagesListByResourceGroupNextResponse = ImageListResult & {
/**
* The underlying HTTP response.
*/
@@ -11756,14 +12950,14 @@ export type VirtualMachineScaleSetsListSkusNextResponse = VirtualMachineScaleSet
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineScaleSetListSkusResult;
+ parsedBody: ImageListResult;
};
};
/**
- * Contains response data for the getOSUpgradeHistoryNext operation.
+ * Contains response data for the listNext operation.
*/
-export type VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse = VirtualMachineScaleSetListOSUpgradeHistory & {
+export type ImagesListNextResponse = ImageListResult & {
/**
* The underlying HTTP response.
*/
@@ -11776,14 +12970,14 @@ export type VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse = VirtualMach
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineScaleSetListOSUpgradeHistory;
+ parsedBody: ImageListResult;
};
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the createOrUpdate operation.
*/
-export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult & {
+export type RestorePointCollectionsCreateOrUpdateResponse = RestorePointCollection & {
/**
* The underlying HTTP response.
*/
@@ -11796,14 +12990,14 @@ export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineSizeListResult;
+ parsedBody: RestorePointCollection;
};
};
/**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the update operation.
*/
-export type ImagesCreateOrUpdateResponse = Image & {
+export type RestorePointCollectionsUpdateResponse = RestorePointCollection & {
/**
* The underlying HTTP response.
*/
@@ -11816,14 +13010,14 @@ export type ImagesCreateOrUpdateResponse = Image & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: Image;
+ parsedBody: RestorePointCollection;
};
};
/**
- * Contains response data for the update operation.
+ * Contains response data for the get operation.
*/
-export type ImagesUpdateResponse = Image & {
+export type RestorePointCollectionsGetResponse = RestorePointCollection & {
/**
* The underlying HTTP response.
*/
@@ -11836,14 +13030,14 @@ export type ImagesUpdateResponse = Image & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: Image;
+ parsedBody: RestorePointCollection;
};
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the list operation.
*/
-export type ImagesGetResponse = Image & {
+export type RestorePointCollectionsListResponse = RestorePointCollectionListResult & {
/**
* The underlying HTTP response.
*/
@@ -11856,14 +13050,14 @@ export type ImagesGetResponse = Image & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: Image;
+ parsedBody: RestorePointCollectionListResult;
};
};
/**
- * Contains response data for the listByResourceGroup operation.
+ * Contains response data for the listAll operation.
*/
-export type ImagesListByResourceGroupResponse = ImageListResult & {
+export type RestorePointCollectionsListAllResponse = RestorePointCollectionListResult & {
/**
* The underlying HTTP response.
*/
@@ -11876,14 +13070,14 @@ export type ImagesListByResourceGroupResponse = ImageListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: ImageListResult;
+ parsedBody: RestorePointCollectionListResult;
};
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the listNext operation.
*/
-export type ImagesListResponse = ImageListResult & {
+export type RestorePointCollectionsListNextResponse = RestorePointCollectionListResult & {
/**
* The underlying HTTP response.
*/
@@ -11896,14 +13090,14 @@ export type ImagesListResponse = ImageListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: ImageListResult;
+ parsedBody: RestorePointCollectionListResult;
};
};
/**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listAllNext operation.
*/
-export type ImagesBeginCreateOrUpdateResponse = Image & {
+export type RestorePointCollectionsListAllNextResponse = RestorePointCollectionListResult & {
/**
* The underlying HTTP response.
*/
@@ -11916,14 +13110,14 @@ export type ImagesBeginCreateOrUpdateResponse = Image & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: Image;
+ parsedBody: RestorePointCollectionListResult;
};
};
/**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the create operation.
*/
-export type ImagesBeginUpdateResponse = Image & {
+export type RestorePointsCreateResponse = RestorePoint & {
/**
* The underlying HTTP response.
*/
@@ -11936,14 +13130,14 @@ export type ImagesBeginUpdateResponse = Image & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: Image;
+ parsedBody: RestorePoint;
};
};
/**
- * Contains response data for the listByResourceGroupNext operation.
+ * Contains response data for the get operation.
*/
-export type ImagesListByResourceGroupNextResponse = ImageListResult & {
+export type RestorePointsGetResponse = RestorePoint & {
/**
* The underlying HTTP response.
*/
@@ -11956,14 +13150,14 @@ export type ImagesListByResourceGroupNextResponse = ImageListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: ImageListResult;
+ parsedBody: RestorePoint;
};
};
/**
- * Contains response data for the listNext operation.
+ * Contains response data for the beginCreate operation.
*/
-export type ImagesListNextResponse = ImageListResult & {
+export type RestorePointsBeginCreateResponse = RestorePoint & {
/**
* The underlying HTTP response.
*/
@@ -11976,7 +13170,7 @@ export type ImagesListNextResponse = ImageListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: ImageListResult;
+ parsedBody: RestorePoint;
};
};
@@ -14660,6 +15854,226 @@ export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = Gal
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GallerySharingProfileUpdateResponse = SharingUpdate & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharingUpdate;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GallerySharingProfileBeginUpdateResponse = SharingUpdate & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharingUpdate;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SharedGalleriesListResponse = SharedGalleryList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryList;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type SharedGalleriesGetResponse = SharedGallery & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGallery;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SharedGalleriesListNextResponse = SharedGalleryList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryList;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SharedGalleryImagesListResponse = SharedGalleryImageList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryImageList;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type SharedGalleryImagesGetResponse = SharedGalleryImage & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryImage;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SharedGalleryImagesListNextResponse = SharedGalleryImageList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryImageList;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SharedGalleryImageVersionsListResponse = SharedGalleryImageVersionList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryImageVersionList;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type SharedGalleryImageVersionsGetResponse = SharedGalleryImageVersion & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryImageVersion;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SharedGalleryImageVersionsListNextResponse = SharedGalleryImageVersionList & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SharedGalleryImageVersionList;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index 462dc5d43310..15fc68e3a706 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -12,6 +12,1161 @@ import * as msRest from "@azure/ms-rest-js";
export const CloudError = CloudErrorMapper;
export const BaseResource = BaseResourceMapper;
+export const RestorePointCollectionSourceProperties: msRest.CompositeMapper = {
+ serializedName: "RestorePointCollectionSourceProperties",
+ type: {
+ name: "Composite",
+ className: "RestorePointCollectionSourceProperties",
+ modelProperties: {
+ location: {
+ readOnly: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ },
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const HardwareProfile: msRest.CompositeMapper = {
+ serializedName: "HardwareProfile",
+ type: {
+ name: "Composite",
+ className: "HardwareProfile",
+ modelProperties: {
+ vmSize: {
+ serializedName: "vmSize",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SubResource: msRest.CompositeMapper = {
+ serializedName: "SubResource",
+ type: {
+ name: "Composite",
+ className: "SubResource",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const KeyVaultSecretReference: msRest.CompositeMapper = {
+ serializedName: "KeyVaultSecretReference",
+ type: {
+ name: "Composite",
+ className: "KeyVaultSecretReference",
+ modelProperties: {
+ secretUrl: {
+ required: true,
+ serializedName: "secretUrl",
+ type: {
+ name: "String"
+ }
+ },
+ sourceVault: {
+ required: true,
+ serializedName: "sourceVault",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ }
+};
+
+export const KeyVaultKeyReference: msRest.CompositeMapper = {
+ serializedName: "KeyVaultKeyReference",
+ type: {
+ name: "Composite",
+ className: "KeyVaultKeyReference",
+ modelProperties: {
+ keyUrl: {
+ required: true,
+ serializedName: "keyUrl",
+ type: {
+ name: "String"
+ }
+ },
+ sourceVault: {
+ required: true,
+ serializedName: "sourceVault",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ }
+};
+
+export const DiskEncryptionSettings: msRest.CompositeMapper = {
+ serializedName: "DiskEncryptionSettings",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionSettings",
+ modelProperties: {
+ diskEncryptionKey: {
+ serializedName: "diskEncryptionKey",
+ type: {
+ name: "Composite",
+ className: "KeyVaultSecretReference"
+ }
+ },
+ keyEncryptionKey: {
+ serializedName: "keyEncryptionKey",
+ type: {
+ name: "Composite",
+ className: "KeyVaultKeyReference"
+ }
+ },
+ enabled: {
+ serializedName: "enabled",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const DiskEncryptionSetParameters: msRest.CompositeMapper = {
+ serializedName: "DiskEncryptionSetParameters",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionSetParameters",
+ modelProperties: {
+ ...SubResource.type.modelProperties
+ }
+ }
+};
+
+export const ManagedDiskParameters: msRest.CompositeMapper = {
+ serializedName: "ManagedDiskParameters",
+ type: {
+ name: "Composite",
+ className: "ManagedDiskParameters",
+ modelProperties: {
+ ...SubResource.type.modelProperties,
+ storageAccountType: {
+ serializedName: "storageAccountType",
+ type: {
+ name: "String"
+ }
+ },
+ diskEncryptionSet: {
+ serializedName: "diskEncryptionSet",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionSetParameters"
+ }
+ }
+ }
+ }
+};
+
+export const ApiEntityReference: msRest.CompositeMapper = {
+ serializedName: "ApiEntityReference",
+ type: {
+ name: "Composite",
+ className: "ApiEntityReference",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointSourceVMOSDisk: msRest.CompositeMapper = {
+ serializedName: "RestorePointSourceVMOSDisk",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceVMOSDisk",
+ modelProperties: {
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ },
+ encryptionSettings: {
+ serializedName: "encryptionSettings",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionSettings"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ caching: {
+ serializedName: "caching",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ }
+ },
+ diskSizeGB: {
+ serializedName: "diskSizeGB",
+ type: {
+ name: "Number"
+ }
+ },
+ managedDisk: {
+ serializedName: "managedDisk",
+ type: {
+ name: "Composite",
+ className: "ManagedDiskParameters"
+ }
+ },
+ diskRestorePoint: {
+ serializedName: "diskRestorePoint",
+ type: {
+ name: "Composite",
+ className: "ApiEntityReference"
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointSourceVMDataDisk: msRest.CompositeMapper = {
+ serializedName: "RestorePointSourceVMDataDisk",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceVMDataDisk",
+ modelProperties: {
+ lun: {
+ serializedName: "lun",
+ type: {
+ name: "Number"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ caching: {
+ serializedName: "caching",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ }
+ },
+ diskSizeGB: {
+ serializedName: "diskSizeGB",
+ type: {
+ name: "Number"
+ }
+ },
+ managedDisk: {
+ serializedName: "managedDisk",
+ type: {
+ name: "Composite",
+ className: "ManagedDiskParameters"
+ }
+ },
+ diskRestorePoint: {
+ serializedName: "diskRestorePoint",
+ type: {
+ name: "Composite",
+ className: "ApiEntityReference"
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointSourceVMStorageProfile: msRest.CompositeMapper = {
+ serializedName: "RestorePointSourceVMStorageProfile",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceVMStorageProfile",
+ modelProperties: {
+ osDisk: {
+ serializedName: "osDisk",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceVMOSDisk"
+ }
+ },
+ dataDisks: {
+ serializedName: "dataDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceVMDataDisk"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const AdditionalUnattendContent: msRest.CompositeMapper = {
+ serializedName: "AdditionalUnattendContent",
+ type: {
+ name: "Composite",
+ className: "AdditionalUnattendContent",
+ modelProperties: {
+ passName: {
+ serializedName: "passName",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "OobeSystem"
+ ]
+ }
+ },
+ componentName: {
+ serializedName: "componentName",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Microsoft-Windows-Shell-Setup"
+ ]
+ }
+ },
+ settingName: {
+ serializedName: "settingName",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "AutoLogon",
+ "FirstLogonCommands"
+ ]
+ }
+ },
+ content: {
+ serializedName: "content",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PatchSettings: msRest.CompositeMapper = {
+ serializedName: "PatchSettings",
+ type: {
+ name: "Composite",
+ className: "PatchSettings",
+ modelProperties: {
+ patchMode: {
+ serializedName: "patchMode",
+ type: {
+ name: "String"
+ }
+ },
+ enableHotpatching: {
+ serializedName: "enableHotpatching",
+ type: {
+ name: "Boolean"
+ }
+ },
+ assessmentMode: {
+ serializedName: "assessmentMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const WinRMListener: msRest.CompositeMapper = {
+ serializedName: "WinRMListener",
+ type: {
+ name: "Composite",
+ className: "WinRMListener",
+ modelProperties: {
+ protocol: {
+ serializedName: "protocol",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Http",
+ "Https"
+ ]
+ }
+ },
+ certificateUrl: {
+ serializedName: "certificateUrl",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const WinRMConfiguration: msRest.CompositeMapper = {
+ serializedName: "WinRMConfiguration",
+ type: {
+ name: "Composite",
+ className: "WinRMConfiguration",
+ modelProperties: {
+ listeners: {
+ serializedName: "listeners",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "WinRMListener"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const WindowsConfiguration: msRest.CompositeMapper = {
+ serializedName: "WindowsConfiguration",
+ type: {
+ name: "Composite",
+ className: "WindowsConfiguration",
+ modelProperties: {
+ provisionVMAgent: {
+ serializedName: "provisionVMAgent",
+ type: {
+ name: "Boolean"
+ }
+ },
+ enableAutomaticUpdates: {
+ serializedName: "enableAutomaticUpdates",
+ type: {
+ name: "Boolean"
+ }
+ },
+ timeZone: {
+ serializedName: "timeZone",
+ type: {
+ name: "String"
+ }
+ },
+ additionalUnattendContent: {
+ serializedName: "additionalUnattendContent",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AdditionalUnattendContent"
+ }
+ }
+ }
+ },
+ patchSettings: {
+ serializedName: "patchSettings",
+ type: {
+ name: "Composite",
+ className: "PatchSettings"
+ }
+ },
+ winRM: {
+ serializedName: "winRM",
+ type: {
+ name: "Composite",
+ className: "WinRMConfiguration"
+ }
+ }
+ }
+ }
+};
+
+export const SshPublicKey: msRest.CompositeMapper = {
+ serializedName: "SshPublicKey",
+ type: {
+ name: "Composite",
+ className: "SshPublicKey",
+ modelProperties: {
+ path: {
+ serializedName: "path",
+ type: {
+ name: "String"
+ }
+ },
+ keyData: {
+ serializedName: "keyData",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SshConfiguration: msRest.CompositeMapper = {
+ serializedName: "SshConfiguration",
+ type: {
+ name: "Composite",
+ className: "SshConfiguration",
+ modelProperties: {
+ publicKeys: {
+ serializedName: "publicKeys",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SshPublicKey"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const LinuxPatchSettings: msRest.CompositeMapper = {
+ serializedName: "LinuxPatchSettings",
+ type: {
+ name: "Composite",
+ className: "LinuxPatchSettings",
+ modelProperties: {
+ patchMode: {
+ serializedName: "patchMode",
+ type: {
+ name: "String"
+ }
+ },
+ assessmentMode: {
+ serializedName: "assessmentMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const LinuxConfiguration: msRest.CompositeMapper = {
+ serializedName: "LinuxConfiguration",
+ type: {
+ name: "Composite",
+ className: "LinuxConfiguration",
+ modelProperties: {
+ disablePasswordAuthentication: {
+ serializedName: "disablePasswordAuthentication",
+ type: {
+ name: "Boolean"
+ }
+ },
+ ssh: {
+ serializedName: "ssh",
+ type: {
+ name: "Composite",
+ className: "SshConfiguration"
+ }
+ },
+ provisionVMAgent: {
+ serializedName: "provisionVMAgent",
+ type: {
+ name: "Boolean"
+ }
+ },
+ patchSettings: {
+ serializedName: "patchSettings",
+ type: {
+ name: "Composite",
+ className: "LinuxPatchSettings"
+ }
+ }
+ }
+ }
+};
+
+export const VaultCertificate: msRest.CompositeMapper = {
+ serializedName: "VaultCertificate",
+ type: {
+ name: "Composite",
+ className: "VaultCertificate",
+ modelProperties: {
+ certificateUrl: {
+ serializedName: "certificateUrl",
+ type: {
+ name: "String"
+ }
+ },
+ certificateStore: {
+ serializedName: "certificateStore",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const VaultSecretGroup: msRest.CompositeMapper = {
+ serializedName: "VaultSecretGroup",
+ type: {
+ name: "Composite",
+ className: "VaultSecretGroup",
+ modelProperties: {
+ sourceVault: {
+ serializedName: "sourceVault",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ },
+ vaultCertificates: {
+ serializedName: "vaultCertificates",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VaultCertificate"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const OSProfile: msRest.CompositeMapper = {
+ serializedName: "OSProfile",
+ type: {
+ name: "Composite",
+ className: "OSProfile",
+ modelProperties: {
+ computerName: {
+ serializedName: "computerName",
+ type: {
+ name: "String"
+ }
+ },
+ adminUsername: {
+ serializedName: "adminUsername",
+ type: {
+ name: "String"
+ }
+ },
+ adminPassword: {
+ serializedName: "adminPassword",
+ type: {
+ name: "String"
+ }
+ },
+ customData: {
+ serializedName: "customData",
+ type: {
+ name: "String"
+ }
+ },
+ windowsConfiguration: {
+ serializedName: "windowsConfiguration",
+ type: {
+ name: "Composite",
+ className: "WindowsConfiguration"
+ }
+ },
+ linuxConfiguration: {
+ serializedName: "linuxConfiguration",
+ type: {
+ name: "Composite",
+ className: "LinuxConfiguration"
+ }
+ },
+ secrets: {
+ serializedName: "secrets",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VaultSecretGroup"
+ }
+ }
+ }
+ },
+ allowExtensionOperations: {
+ serializedName: "allowExtensionOperations",
+ type: {
+ name: "Boolean"
+ }
+ },
+ requireGuestProvisionSignal: {
+ serializedName: "requireGuestProvisionSignal",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const BootDiagnostics: msRest.CompositeMapper = {
+ serializedName: "BootDiagnostics",
+ type: {
+ name: "Composite",
+ className: "BootDiagnostics",
+ modelProperties: {
+ enabled: {
+ serializedName: "enabled",
+ type: {
+ name: "Boolean"
+ }
+ },
+ storageUri: {
+ serializedName: "storageUri",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const DiagnosticsProfile: msRest.CompositeMapper = {
+ serializedName: "DiagnosticsProfile",
+ type: {
+ name: "Composite",
+ className: "DiagnosticsProfile",
+ modelProperties: {
+ bootDiagnostics: {
+ serializedName: "bootDiagnostics",
+ type: {
+ name: "Composite",
+ className: "BootDiagnostics"
+ }
+ }
+ }
+ }
+};
+
+export const UefiSettings: msRest.CompositeMapper = {
+ serializedName: "UefiSettings",
+ type: {
+ name: "Composite",
+ className: "UefiSettings",
+ modelProperties: {
+ secureBootEnabled: {
+ serializedName: "secureBootEnabled",
+ type: {
+ name: "Boolean"
+ }
+ },
+ vTpmEnabled: {
+ serializedName: "vTpmEnabled",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const SecurityProfile: msRest.CompositeMapper = {
+ serializedName: "SecurityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile",
+ modelProperties: {
+ uefiSettings: {
+ serializedName: "uefiSettings",
+ type: {
+ name: "Composite",
+ className: "UefiSettings"
+ }
+ },
+ encryptionAtHost: {
+ serializedName: "encryptionAtHost",
+ type: {
+ name: "Boolean"
+ }
+ },
+ securityType: {
+ serializedName: "securityType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "TrustedLaunch"
+ ]
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointSourceMetadata: msRest.CompositeMapper = {
+ serializedName: "RestorePointSourceMetadata",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceMetadata",
+ modelProperties: {
+ hardwareProfile: {
+ serializedName: "hardwareProfile",
+ type: {
+ name: "Composite",
+ className: "HardwareProfile"
+ }
+ },
+ storageProfile: {
+ serializedName: "storageProfile",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceVMStorageProfile"
+ }
+ },
+ osProfile: {
+ serializedName: "osProfile",
+ type: {
+ name: "Composite",
+ className: "OSProfile"
+ }
+ },
+ diagnosticsProfile: {
+ serializedName: "diagnosticsProfile",
+ type: {
+ name: "Composite",
+ className: "DiagnosticsProfile"
+ }
+ },
+ licenseType: {
+ serializedName: "licenseType",
+ type: {
+ name: "String"
+ }
+ },
+ vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ },
+ securityProfile: {
+ serializedName: "securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointProvisioningDetails: msRest.CompositeMapper = {
+ serializedName: "RestorePointProvisioningDetails",
+ type: {
+ name: "Composite",
+ className: "RestorePointProvisioningDetails",
+ modelProperties: {
+ creationTime: {
+ serializedName: "creationTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ totalUsedSizeInBytes: {
+ serializedName: "totalUsedSizeInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ statusCode: {
+ serializedName: "statusCode",
+ type: {
+ name: "Number"
+ }
+ },
+ statusMessage: {
+ serializedName: "statusMessage",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ProxyResource: msRest.CompositeMapper = {
+ serializedName: "ProxyResource",
+ type: {
+ name: "Composite",
+ className: "ProxyResource",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RestorePoint: msRest.CompositeMapper = {
+ serializedName: "RestorePoint",
+ type: {
+ name: "Composite",
+ className: "RestorePoint",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ sourceMetadata: {
+ readOnly: true,
+ serializedName: "sourceMetadata",
+ type: {
+ name: "Composite",
+ className: "RestorePointSourceMetadata"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ consistencyMode: {
+ readOnly: true,
+ serializedName: "consistencyMode",
+ type: {
+ name: "String"
+ }
+ },
+ provisioningDetails: {
+ readOnly: true,
+ serializedName: "provisioningDetails",
+ type: {
+ name: "Composite",
+ className: "RestorePointProvisioningDetails"
+ }
+ },
+ excludeDisks: {
+ serializedName: "excludeDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ApiEntityReference"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const Resource: msRest.CompositeMapper = {
+ serializedName: "Resource",
+ type: {
+ name: "Composite",
+ className: "Resource",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ required: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointCollection: msRest.CompositeMapper = {
+ serializedName: "RestorePointCollection",
+ type: {
+ name: "Composite",
+ className: "RestorePointCollection",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ source: {
+ serializedName: "properties.source",
+ type: {
+ name: "Composite",
+ className: "RestorePointCollectionSourceProperties"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ restorePointCollectionId: {
+ readOnly: true,
+ serializedName: "properties.restorePointCollectionId",
+ type: {
+ name: "String"
+ }
+ },
+ restorePoints: {
+ readOnly: true,
+ serializedName: "properties.restorePoints",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RestorePoint"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const UpdateResource: msRest.CompositeMapper = {
+ serializedName: "UpdateResource",
+ type: {
+ name: "Composite",
+ className: "UpdateResource",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const RestorePointCollectionUpdate: msRest.CompositeMapper = {
+ serializedName: "RestorePointCollectionUpdate",
+ type: {
+ name: "Composite",
+ className: "RestorePointCollectionUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ source: {
+ serializedName: "properties.source",
+ type: {
+ name: "Composite",
+ className: "RestorePointCollectionSourceProperties"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ restorePointCollectionId: {
+ readOnly: true,
+ serializedName: "properties.restorePointCollectionId",
+ type: {
+ name: "String"
+ }
+ },
+ restorePoints: {
+ readOnly: true,
+ serializedName: "properties.restorePoints",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RestorePoint"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
export const ComputeOperationValue: msRest.CompositeMapper = {
serializedName: "ComputeOperationValue",
type: {
@@ -142,100 +1297,35 @@ export const InstanceViewStatus: msRest.CompositeMapper = {
time: {
serializedName: "time",
type: {
- name: "DateTime"
- }
- }
- }
- }
-};
-
-export const SubResource: msRest.CompositeMapper = {
- serializedName: "SubResource",
- type: {
- name: "Composite",
- className: "SubResource",
- modelProperties: {
- id: {
- serializedName: "id",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const Sku: msRest.CompositeMapper = {
- serializedName: "Sku",
- type: {
- name: "Composite",
- className: "Sku",
- modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- tier: {
- serializedName: "tier",
- type: {
- name: "String"
- }
- },
- capacity: {
- serializedName: "capacity",
- type: {
- name: "Number"
+ name: "DateTime"
}
}
}
}
};
-export const Resource: msRest.CompositeMapper = {
- serializedName: "Resource",
+export const Sku: msRest.CompositeMapper = {
+ serializedName: "Sku",
type: {
name: "Composite",
- className: "Resource",
+ className: "Sku",
modelProperties: {
- id: {
- readOnly: true,
- serializedName: "id",
- type: {
- name: "String"
- }
- },
name: {
- readOnly: true,
serializedName: "name",
type: {
name: "String"
}
},
- type: {
- readOnly: true,
- serializedName: "type",
- type: {
- name: "String"
- }
- },
- location: {
- required: true,
- serializedName: "location",
+ tier: {
+ serializedName: "tier",
type: {
name: "String"
}
},
- tags: {
- serializedName: "tags",
+ capacity: {
+ serializedName: "capacity",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "Number"
}
}
}
@@ -304,27 +1394,6 @@ export const AvailabilitySet: msRest.CompositeMapper = {
}
};
-export const UpdateResource: msRest.CompositeMapper = {
- serializedName: "UpdateResource",
- type: {
- name: "Composite",
- className: "UpdateResource",
- modelProperties: {
- tags: {
- serializedName: "tags",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- }
- }
- }
-};
-
export const AvailabilitySetUpdate: msRest.CompositeMapper = {
serializedName: "AvailabilitySetUpdate",
type: {
@@ -2434,22 +3503,6 @@ export const Plan: msRest.CompositeMapper = {
}
};
-export const HardwareProfile: msRest.CompositeMapper = {
- serializedName: "HardwareProfile",
- type: {
- name: "Composite",
- className: "HardwareProfile",
- modelProperties: {
- vmSize: {
- serializedName: "vmSize",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
export const ImageReference: msRest.CompositeMapper = {
serializedName: "ImageReference",
type: {
@@ -2492,97 +3545,6 @@ export const ImageReference: msRest.CompositeMapper = {
}
};
-export const KeyVaultSecretReference: msRest.CompositeMapper = {
- serializedName: "KeyVaultSecretReference",
- type: {
- name: "Composite",
- className: "KeyVaultSecretReference",
- modelProperties: {
- secretUrl: {
- required: true,
- serializedName: "secretUrl",
- type: {
- name: "String"
- }
- },
- sourceVault: {
- required: true,
- serializedName: "sourceVault",
- type: {
- name: "Composite",
- className: "SubResource"
- }
- }
- }
- }
-};
-
-export const DiskEncryptionSetParameters: msRest.CompositeMapper = {
- serializedName: "DiskEncryptionSetParameters",
- type: {
- name: "Composite",
- className: "DiskEncryptionSetParameters",
- modelProperties: {
- ...SubResource.type.modelProperties
- }
- }
-};
-
-export const KeyVaultKeyReference: msRest.CompositeMapper = {
- serializedName: "KeyVaultKeyReference",
- type: {
- name: "Composite",
- className: "KeyVaultKeyReference",
- modelProperties: {
- keyUrl: {
- required: true,
- serializedName: "keyUrl",
- type: {
- name: "String"
- }
- },
- sourceVault: {
- required: true,
- serializedName: "sourceVault",
- type: {
- name: "Composite",
- className: "SubResource"
- }
- }
- }
- }
-};
-
-export const DiskEncryptionSettings: msRest.CompositeMapper = {
- serializedName: "DiskEncryptionSettings",
- type: {
- name: "Composite",
- className: "DiskEncryptionSettings",
- modelProperties: {
- diskEncryptionKey: {
- serializedName: "diskEncryptionKey",
- type: {
- name: "Composite",
- className: "KeyVaultSecretReference"
- }
- },
- keyEncryptionKey: {
- serializedName: "keyEncryptionKey",
- type: {
- name: "Composite",
- className: "KeyVaultKeyReference"
- }
- },
- enabled: {
- serializedName: "enabled",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
export const VirtualHardDisk: msRest.CompositeMapper = {
serializedName: "VirtualHardDisk",
type: {
@@ -2621,30 +3583,6 @@ export const DiffDiskSettings: msRest.CompositeMapper = {
}
};
-export const ManagedDiskParameters: msRest.CompositeMapper = {
- serializedName: "ManagedDiskParameters",
- type: {
- name: "Composite",
- className: "ManagedDiskParameters",
- modelProperties: {
- ...SubResource.type.modelProperties,
- storageAccountType: {
- serializedName: "storageAccountType",
- type: {
- name: "String"
- }
- },
- diskEncryptionSet: {
- serializedName: "diskEncryptionSet",
- type: {
- name: "Composite",
- className: "DiskEncryptionSetParameters"
- }
- }
- }
- }
-};
-
export const OSDisk: msRest.CompositeMapper = {
serializedName: "OSDisk",
type: {
@@ -2731,6 +3669,12 @@ export const OSDisk: msRest.CompositeMapper = {
name: "Composite",
className: "ManagedDiskParameters"
}
+ },
+ deleteOption: {
+ serializedName: "deleteOption",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -2831,6 +3775,12 @@ export const DataDisk: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ deleteOption: {
+ serializedName: "deleteOption",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -2872,20 +3822,14 @@ export const StorageProfile: msRest.CompositeMapper = {
}
};
-export const UefiSettings: msRest.CompositeMapper = {
- serializedName: "UefiSettings",
+export const AdditionalCapabilities: msRest.CompositeMapper = {
+ serializedName: "AdditionalCapabilities",
type: {
name: "Composite",
- className: "UefiSettings",
+ className: "AdditionalCapabilities",
modelProperties: {
- secureBootEnabled: {
- serializedName: "secureBootEnabled",
- type: {
- name: "Boolean"
- }
- },
- vTpmEnabled: {
- serializedName: "vTpmEnabled",
+ ultraSSDEnabled: {
+ serializedName: "ultraSSDEnabled",
type: {
name: "Boolean"
}
@@ -2894,90 +3838,43 @@ export const UefiSettings: msRest.CompositeMapper = {
}
};
-export const SecurityProfile: msRest.CompositeMapper = {
- serializedName: "SecurityProfile",
+export const AutomaticRepairsPolicy: msRest.CompositeMapper = {
+ serializedName: "AutomaticRepairsPolicy",
type: {
name: "Composite",
- className: "SecurityProfile",
+ className: "AutomaticRepairsPolicy",
modelProperties: {
- uefiSettings: {
- serializedName: "uefiSettings",
- type: {
- name: "Composite",
- className: "UefiSettings"
- }
- },
- encryptionAtHost: {
- serializedName: "encryptionAtHost",
+ enabled: {
+ serializedName: "enabled",
type: {
name: "Boolean"
}
},
- securityType: {
- serializedName: "securityType",
- type: {
- name: "Enum",
- allowedValues: [
- "TrustedLaunch"
- ]
- }
- }
- }
- }
-};
-
-export const AdditionalCapabilities: msRest.CompositeMapper = {
- serializedName: "AdditionalCapabilities",
- type: {
- name: "Composite",
- className: "AdditionalCapabilities",
- modelProperties: {
- ultraSSDEnabled: {
- serializedName: "ultraSSDEnabled",
+ gracePeriod: {
+ serializedName: "gracePeriod",
type: {
- name: "Boolean"
+ name: "String"
}
}
}
}
};
-export const AdditionalUnattendContent: msRest.CompositeMapper = {
- serializedName: "AdditionalUnattendContent",
+export const NetworkInterfaceReference: msRest.CompositeMapper = {
+ serializedName: "NetworkInterfaceReference",
type: {
name: "Composite",
- className: "AdditionalUnattendContent",
+ className: "NetworkInterfaceReference",
modelProperties: {
- passName: {
- serializedName: "passName",
- type: {
- name: "Enum",
- allowedValues: [
- "OobeSystem"
- ]
- }
- },
- componentName: {
- serializedName: "componentName",
- type: {
- name: "Enum",
- allowedValues: [
- "Microsoft-Windows-Shell-Setup"
- ]
- }
- },
- settingName: {
- serializedName: "settingName",
+ ...SubResource.type.modelProperties,
+ primary: {
+ serializedName: "properties.primary",
type: {
- name: "Enum",
- allowedValues: [
- "AutoLogon",
- "FirstLogonCommands"
- ]
+ name: "Boolean"
}
},
- content: {
- serializedName: "content",
+ deleteOption: {
+ serializedName: "properties.deleteOption",
type: {
name: "String"
}
@@ -2986,24 +3883,20 @@ export const AdditionalUnattendContent: msRest.CompositeMapper = {
}
};
-export const WinRMListener: msRest.CompositeMapper = {
- serializedName: "WinRMListener",
+export const VirtualMachineIpTag: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineIpTag",
type: {
name: "Composite",
- className: "WinRMListener",
+ className: "VirtualMachineIpTag",
modelProperties: {
- protocol: {
- serializedName: "protocol",
+ ipTagType: {
+ serializedName: "ipTagType",
type: {
- name: "Enum",
- allowedValues: [
- "Http",
- "Https"
- ]
+ name: "String"
}
},
- certificateUrl: {
- serializedName: "certificateUrl",
+ tag: {
+ serializedName: "tag",
type: {
name: "String"
}
@@ -3012,243 +3905,212 @@ export const WinRMListener: msRest.CompositeMapper = {
}
};
-export const WinRMConfiguration: msRest.CompositeMapper = {
- serializedName: "WinRMConfiguration",
+export const VirtualMachinePublicIPAddressDnsSettingsConfiguration: msRest.CompositeMapper = {
+ serializedName: "VirtualMachinePublicIPAddressDnsSettingsConfiguration",
type: {
name: "Composite",
- className: "WinRMConfiguration",
+ className: "VirtualMachinePublicIPAddressDnsSettingsConfiguration",
modelProperties: {
- listeners: {
- serializedName: "listeners",
+ domainNameLabel: {
+ required: true,
+ serializedName: "domainNameLabel",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "WinRMListener"
- }
- }
+ name: "String"
}
}
}
}
};
-export const PatchSettings: msRest.CompositeMapper = {
- serializedName: "PatchSettings",
+export const PublicIPAddressSku: msRest.CompositeMapper = {
+ serializedName: "PublicIPAddressSku",
type: {
name: "Composite",
- className: "PatchSettings",
+ className: "PublicIPAddressSku",
modelProperties: {
- patchMode: {
- serializedName: "patchMode",
+ publicIPAddressSkuName: {
+ required: true,
+ serializedName: "publicIPAddressSkuName",
type: {
name: "String"
}
},
- enableHotpatching: {
- serializedName: "enableHotpatching",
+ publicIPAddressSkuTier: {
+ serializedName: "publicIPAddressSkuTier",
type: {
- name: "Boolean"
+ name: "String"
}
}
}
}
};
-export const WindowsConfiguration: msRest.CompositeMapper = {
- serializedName: "WindowsConfiguration",
+export const VirtualMachinePublicIPAddressConfiguration: msRest.CompositeMapper = {
+ serializedName: "VirtualMachinePublicIPAddressConfiguration",
type: {
name: "Composite",
- className: "WindowsConfiguration",
+ className: "VirtualMachinePublicIPAddressConfiguration",
modelProperties: {
- provisionVMAgent: {
- serializedName: "provisionVMAgent",
+ name: {
+ required: true,
+ serializedName: "name",
type: {
- name: "Boolean"
+ name: "String"
}
},
- enableAutomaticUpdates: {
- serializedName: "enableAutomaticUpdates",
+ idleTimeoutInMinutes: {
+ serializedName: "properties.idleTimeoutInMinutes",
type: {
- name: "Boolean"
+ name: "Number"
}
},
- timeZone: {
- serializedName: "timeZone",
+ deleteOption: {
+ serializedName: "properties.deleteOption",
type: {
name: "String"
}
},
- additionalUnattendContent: {
- serializedName: "additionalUnattendContent",
+ dnsSettings: {
+ serializedName: "properties.dnsSettings",
+ type: {
+ name: "Composite",
+ className: "VirtualMachinePublicIPAddressDnsSettingsConfiguration"
+ }
+ },
+ ipTags: {
+ serializedName: "properties.ipTags",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "AdditionalUnattendContent"
+ className: "VirtualMachineIpTag"
}
}
}
},
- patchSettings: {
- serializedName: "patchSettings",
+ publicIPPrefix: {
+ serializedName: "properties.publicIPPrefix",
type: {
name: "Composite",
- className: "PatchSettings"
+ className: "SubResource"
}
},
- winRM: {
- serializedName: "winRM",
- type: {
- name: "Composite",
- className: "WinRMConfiguration"
- }
- }
- }
- }
-};
-
-export const SshPublicKey: msRest.CompositeMapper = {
- serializedName: "SshPublicKey",
- type: {
- name: "Composite",
- className: "SshPublicKey",
- modelProperties: {
- path: {
- serializedName: "path",
+ publicIPAddressVersion: {
+ serializedName: "properties.publicIPAddressVersion",
type: {
name: "String"
}
},
- keyData: {
- serializedName: "keyData",
+ publicIPAllocationMethod: {
+ serializedName: "properties.publicIPAllocationMethod",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const SshConfiguration: msRest.CompositeMapper = {
- serializedName: "SshConfiguration",
- type: {
- name: "Composite",
- className: "SshConfiguration",
- modelProperties: {
- publicKeys: {
- serializedName: "publicKeys",
+ },
+ sku: {
+ serializedName: "sku",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SshPublicKey"
- }
- }
+ name: "Composite",
+ className: "PublicIPAddressSku"
}
}
}
}
};
-export const LinuxPatchSettings: msRest.CompositeMapper = {
- serializedName: "LinuxPatchSettings",
+export const VirtualMachineNetworkInterfaceIPConfiguration: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineNetworkInterfaceIPConfiguration",
type: {
name: "Composite",
- className: "LinuxPatchSettings",
+ className: "VirtualMachineNetworkInterfaceIPConfiguration",
modelProperties: {
- patchMode: {
- serializedName: "patchMode",
+ name: {
+ required: true,
+ serializedName: "name",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const LinuxConfiguration: msRest.CompositeMapper = {
- serializedName: "LinuxConfiguration",
- type: {
- name: "Composite",
- className: "LinuxConfiguration",
- modelProperties: {
- disablePasswordAuthentication: {
- serializedName: "disablePasswordAuthentication",
- type: {
- name: "Boolean"
- }
},
- ssh: {
- serializedName: "ssh",
+ subnet: {
+ serializedName: "properties.subnet",
type: {
name: "Composite",
- className: "SshConfiguration"
+ className: "SubResource"
}
},
- provisionVMAgent: {
- serializedName: "provisionVMAgent",
+ primary: {
+ serializedName: "properties.primary",
type: {
name: "Boolean"
}
},
- patchSettings: {
- serializedName: "patchSettings",
+ publicIPAddressConfiguration: {
+ serializedName: "properties.publicIPAddressConfiguration",
type: {
name: "Composite",
- className: "LinuxPatchSettings"
+ className: "VirtualMachinePublicIPAddressConfiguration"
}
- }
- }
- }
-};
-
-export const VaultCertificate: msRest.CompositeMapper = {
- serializedName: "VaultCertificate",
- type: {
- name: "Composite",
- className: "VaultCertificate",
- modelProperties: {
- certificateUrl: {
- serializedName: "certificateUrl",
+ },
+ privateIPAddressVersion: {
+ serializedName: "properties.privateIPAddressVersion",
type: {
name: "String"
}
},
- certificateStore: {
- serializedName: "certificateStore",
+ applicationSecurityGroups: {
+ serializedName: "properties.applicationSecurityGroups",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ },
+ applicationGatewayBackendAddressPools: {
+ serializedName: "properties.applicationGatewayBackendAddressPools",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ },
+ loadBalancerBackendAddressPools: {
+ serializedName: "properties.loadBalancerBackendAddressPools",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
}
}
}
}
};
-
-export const VaultSecretGroup: msRest.CompositeMapper = {
- serializedName: "VaultSecretGroup",
+
+export const VirtualMachineNetworkInterfaceDnsSettingsConfiguration: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration",
type: {
name: "Composite",
- className: "VaultSecretGroup",
+ className: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration",
modelProperties: {
- sourceVault: {
- serializedName: "sourceVault",
- type: {
- name: "Composite",
- className: "SubResource"
- }
- },
- vaultCertificates: {
- serializedName: "vaultCertificates",
+ dnsServers: {
+ serializedName: "dnsServers",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "VaultCertificate"
+ name: "String"
}
}
}
@@ -3257,111 +4119,81 @@ export const VaultSecretGroup: msRest.CompositeMapper = {
}
};
-export const OSProfile: msRest.CompositeMapper = {
- serializedName: "OSProfile",
+export const VirtualMachineNetworkInterfaceConfiguration: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineNetworkInterfaceConfiguration",
type: {
name: "Composite",
- className: "OSProfile",
+ className: "VirtualMachineNetworkInterfaceConfiguration",
modelProperties: {
- computerName: {
- serializedName: "computerName",
+ name: {
+ required: true,
+ serializedName: "name",
type: {
name: "String"
}
},
- adminUsername: {
- serializedName: "adminUsername",
+ primary: {
+ serializedName: "properties.primary",
type: {
- name: "String"
+ name: "Boolean"
}
},
- adminPassword: {
- serializedName: "adminPassword",
+ deleteOption: {
+ serializedName: "properties.deleteOption",
type: {
name: "String"
}
},
- customData: {
- serializedName: "customData",
+ enableAcceleratedNetworking: {
+ serializedName: "properties.enableAcceleratedNetworking",
type: {
- name: "String"
+ name: "Boolean"
}
},
- windowsConfiguration: {
- serializedName: "windowsConfiguration",
+ enableFpga: {
+ serializedName: "properties.enableFpga",
+ type: {
+ name: "Boolean"
+ }
+ },
+ enableIPForwarding: {
+ serializedName: "properties.enableIPForwarding",
+ type: {
+ name: "Boolean"
+ }
+ },
+ networkSecurityGroup: {
+ serializedName: "properties.networkSecurityGroup",
type: {
name: "Composite",
- className: "WindowsConfiguration"
+ className: "SubResource"
}
},
- linuxConfiguration: {
- serializedName: "linuxConfiguration",
+ dnsSettings: {
+ serializedName: "properties.dnsSettings",
type: {
name: "Composite",
- className: "LinuxConfiguration"
+ className: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
}
},
- secrets: {
- serializedName: "secrets",
+ ipConfigurations: {
+ required: true,
+ serializedName: "properties.ipConfigurations",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "VaultSecretGroup"
+ className: "VirtualMachineNetworkInterfaceIPConfiguration"
}
}
}
},
- allowExtensionOperations: {
- serializedName: "allowExtensionOperations",
- type: {
- name: "Boolean"
- }
- },
- requireGuestProvisionSignal: {
- serializedName: "requireGuestProvisionSignal",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const AutomaticRepairsPolicy: msRest.CompositeMapper = {
- serializedName: "AutomaticRepairsPolicy",
- type: {
- name: "Composite",
- className: "AutomaticRepairsPolicy",
- modelProperties: {
- enabled: {
- serializedName: "enabled",
- type: {
- name: "Boolean"
- }
- },
- gracePeriod: {
- serializedName: "gracePeriod",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const NetworkInterfaceReference: msRest.CompositeMapper = {
- serializedName: "NetworkInterfaceReference",
- type: {
- name: "Composite",
- className: "NetworkInterfaceReference",
- modelProperties: {
- ...SubResource.type.modelProperties,
- primary: {
- serializedName: "properties.primary",
+ dscpConfiguration: {
+ serializedName: "properties.dscpConfiguration",
type: {
- name: "Boolean"
+ name: "Composite",
+ className: "SubResource"
}
}
}
@@ -3385,44 +4217,23 @@ export const NetworkProfile: msRest.CompositeMapper = {
}
}
}
- }
- }
- }
-};
-
-export const BootDiagnostics: msRest.CompositeMapper = {
- serializedName: "BootDiagnostics",
- type: {
- name: "Composite",
- className: "BootDiagnostics",
- modelProperties: {
- enabled: {
- serializedName: "enabled",
- type: {
- name: "Boolean"
- }
},
- storageUri: {
- serializedName: "storageUri",
+ networkApiVersion: {
+ serializedName: "networkApiVersion",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const DiagnosticsProfile: msRest.CompositeMapper = {
- serializedName: "DiagnosticsProfile",
- type: {
- name: "Composite",
- className: "DiagnosticsProfile",
- modelProperties: {
- bootDiagnostics: {
- serializedName: "bootDiagnostics",
+ },
+ networkInterfaceConfigurations: {
+ serializedName: "networkInterfaceConfigurations",
type: {
- name: "Composite",
- className: "BootDiagnostics"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VirtualMachineNetworkInterfaceConfiguration"
+ }
+ }
}
}
}
@@ -4057,6 +4868,45 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = {
}
};
+export const TerminateNotificationProfile: msRest.CompositeMapper = {
+ serializedName: "TerminateNotificationProfile",
+ type: {
+ name: "Composite",
+ className: "TerminateNotificationProfile",
+ modelProperties: {
+ notBeforeTimeout: {
+ serializedName: "notBeforeTimeout",
+ type: {
+ name: "String"
+ }
+ },
+ enable: {
+ serializedName: "enable",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const ScheduledEventsProfile: msRest.CompositeMapper = {
+ serializedName: "ScheduledEventsProfile",
+ type: {
+ name: "Composite",
+ className: "ScheduledEventsProfile",
+ modelProperties: {
+ terminateNotificationProfile: {
+ serializedName: "terminateNotificationProfile",
+ type: {
+ name: "Composite",
+ className: "TerminateNotificationProfile"
+ }
+ }
+ }
+ }
+};
+
export const VirtualMachine: msRest.CompositeMapper = {
serializedName: "VirtualMachine",
type: {
@@ -4214,6 +5064,19 @@ export const VirtualMachine: msRest.CompositeMapper = {
name: "Number"
}
},
+ scheduledEventsProfile: {
+ serializedName: "properties.scheduledEventsProfile",
+ type: {
+ name: "Composite",
+ className: "ScheduledEventsProfile"
+ }
+ },
+ userData: {
+ serializedName: "properties.userData",
+ type: {
+ name: "String"
+ }
+ },
resources: {
readOnly: true,
serializedName: "resources",
@@ -4413,6 +5276,19 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = {
name: "Number"
}
},
+ scheduledEventsProfile: {
+ serializedName: "properties.scheduledEventsProfile",
+ type: {
+ name: "Composite",
+ className: "ScheduledEventsProfile"
+ }
+ },
+ userData: {
+ serializedName: "properties.userData",
+ type: {
+ name: "String"
+ }
+ },
identity: {
serializedName: "identity",
type: {
@@ -5287,22 +6163,6 @@ export const VirtualMachineScaleSetUpdateStorageProfile: msRest.CompositeMapper
}
};
-export const ApiEntityReference: msRest.CompositeMapper = {
- serializedName: "ApiEntityReference",
- type: {
- name: "Composite",
- className: "ApiEntityReference",
- modelProperties: {
- id: {
- serializedName: "id",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
export const VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings: msRest.CompositeMapper = {
serializedName: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings",
type: {
@@ -5392,6 +6252,19 @@ export const VirtualMachineScaleSetPublicIPAddressConfiguration: msRest.Composit
type: {
name: "String"
}
+ },
+ deleteOption: {
+ serializedName: "properties.deleteOption",
+ type: {
+ name: "String"
+ }
+ },
+ sku: {
+ serializedName: "sku",
+ type: {
+ name: "Composite",
+ className: "PublicIPAddressSku"
+ }
}
}
}
@@ -5421,6 +6294,12 @@ export const VirtualMachineScaleSetUpdatePublicIPAddressConfiguration: msRest.Co
name: "Composite",
className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
}
+ },
+ deleteOption: {
+ serializedName: "properties.deleteOption",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -5694,6 +6573,12 @@ export const VirtualMachineScaleSetNetworkConfiguration: msRest.CompositeMapper
type: {
name: "Boolean"
}
+ },
+ deleteOption: {
+ serializedName: "properties.deleteOption",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -5759,7 +6644,13 @@ export const VirtualMachineScaleSetUpdateNetworkConfiguration: msRest.CompositeM
enableIPForwarding: {
serializedName: "properties.enableIPForwarding",
type: {
- name: "Boolean"
+ name: "Boolean"
+ }
+ },
+ deleteOption: {
+ serializedName: "properties.deleteOption",
+ type: {
+ name: "String"
}
}
}
@@ -5790,6 +6681,12 @@ export const VirtualMachineScaleSetNetworkProfile: msRest.CompositeMapper = {
}
}
}
+ },
+ networkApiVersion: {
+ serializedName: "networkApiVersion",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -5819,6 +6716,12 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper
}
}
}
+ },
+ networkApiVersion: {
+ serializedName: "networkApiVersion",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -6033,45 +6936,6 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = {
}
};
-export const TerminateNotificationProfile: msRest.CompositeMapper = {
- serializedName: "TerminateNotificationProfile",
- type: {
- name: "Composite",
- className: "TerminateNotificationProfile",
- modelProperties: {
- notBeforeTimeout: {
- serializedName: "notBeforeTimeout",
- type: {
- name: "String"
- }
- },
- enable: {
- serializedName: "enable",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const ScheduledEventsProfile: msRest.CompositeMapper = {
- serializedName: "ScheduledEventsProfile",
- type: {
- name: "Composite",
- className: "ScheduledEventsProfile",
- modelProperties: {
- terminateNotificationProfile: {
- serializedName: "terminateNotificationProfile",
- type: {
- name: "Composite",
- className: "TerminateNotificationProfile"
- }
- }
- }
- }
-};
-
export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = {
serializedName: "VirtualMachineScaleSetVMProfile",
type: {
@@ -6151,6 +7015,12 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = {
name: "Composite",
className: "ScheduledEventsProfile"
}
+ },
+ userData: {
+ serializedName: "userData",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -6223,6 +7093,12 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = {
name: "Composite",
className: "ScheduledEventsProfile"
}
+ },
+ userData: {
+ serializedName: "userData",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -7262,6 +8138,12 @@ export const VirtualMachineScaleSetVM: msRest.CompositeMapper = {
className: "VirtualMachineScaleSetVMProtectionPolicy"
}
},
+ userData: {
+ serializedName: "properties.userData",
+ type: {
+ name: "String"
+ }
+ },
plan: {
serializedName: "plan",
type: {
@@ -9950,6 +10832,62 @@ export const GalleryIdentifier: msRest.CompositeMapper = {
}
};
+export const SharingProfileGroup: msRest.CompositeMapper = {
+ serializedName: "SharingProfileGroup",
+ type: {
+ name: "Composite",
+ className: "SharingProfileGroup",
+ modelProperties: {
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ ids: {
+ serializedName: "ids",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const SharingProfile: msRest.CompositeMapper = {
+ serializedName: "SharingProfile",
+ type: {
+ name: "Composite",
+ className: "SharingProfile",
+ modelProperties: {
+ permissions: {
+ serializedName: "permissions",
+ type: {
+ name: "String"
+ }
+ },
+ groups: {
+ readOnly: true,
+ serializedName: "groups",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharingProfileGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
export const Gallery: msRest.CompositeMapper = {
serializedName: "Gallery",
type: {
@@ -9976,6 +10914,13 @@ export const Gallery: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ sharingProfile: {
+ serializedName: "properties.sharingProfile",
+ type: {
+ name: "Composite",
+ className: "SharingProfile"
+ }
}
}
}
@@ -10049,6 +10994,13 @@ export const GalleryUpdate: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ sharingProfile: {
+ serializedName: "properties.sharingProfile",
+ type: {
+ name: "Composite",
+ className: "SharingProfile"
+ }
}
}
}
@@ -10558,6 +11510,28 @@ export const ImagePurchasePlan: msRest.CompositeMapper = {
}
};
+export const GalleryImageFeature: msRest.CompositeMapper = {
+ serializedName: "GalleryImageFeature",
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "value",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const GalleryImage: msRest.CompositeMapper = {
serializedName: "GalleryImage",
type: {
@@ -10658,6 +11632,18 @@ export const GalleryImage: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ features: {
+ serializedName: "properties.features",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature"
+ }
+ }
+ }
}
}
}
@@ -10763,6 +11749,18 @@ export const GalleryImageUpdate: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ features: {
+ serializedName: "properties.features",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature"
+ }
+ }
+ }
}
}
}
@@ -10790,6 +11788,12 @@ export const GalleryArtifactVersionSource: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ uri: {
+ serializedName: "uri",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -11004,45 +12008,145 @@ export const OSDiskImageEncryption: msRest.CompositeMapper = {
}
};
-export const DataDiskImageEncryption: msRest.CompositeMapper = {
- serializedName: "DataDiskImageEncryption",
+export const DataDiskImageEncryption: msRest.CompositeMapper = {
+ serializedName: "DataDiskImageEncryption",
+ type: {
+ name: "Composite",
+ className: "DataDiskImageEncryption",
+ modelProperties: {
+ ...DiskImageEncryption.type.modelProperties,
+ lun: {
+ required: true,
+ serializedName: "lun",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const EncryptionImages: msRest.CompositeMapper = {
+ serializedName: "EncryptionImages",
+ type: {
+ name: "Composite",
+ className: "EncryptionImages",
+ modelProperties: {
+ osDiskImage: {
+ serializedName: "osDiskImage",
+ type: {
+ name: "Composite",
+ className: "OSDiskImageEncryption"
+ }
+ },
+ dataDiskImages: {
+ serializedName: "dataDiskImages",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DataDiskImageEncryption"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const TargetRegion: msRest.CompositeMapper = {
+ serializedName: "TargetRegion",
+ type: {
+ name: "Composite",
+ className: "TargetRegion",
+ modelProperties: {
+ name: {
+ required: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ regionalReplicaCount: {
+ serializedName: "regionalReplicaCount",
+ type: {
+ name: "Number"
+ }
+ },
+ storageAccountType: {
+ serializedName: "storageAccountType",
+ type: {
+ name: "String"
+ }
+ },
+ encryption: {
+ serializedName: "encryption",
+ type: {
+ name: "Composite",
+ className: "EncryptionImages"
+ }
+ }
+ }
+ }
+};
+
+export const ManagedArtifact: msRest.CompositeMapper = {
+ serializedName: "ManagedArtifact",
+ type: {
+ name: "Composite",
+ className: "ManagedArtifact",
+ modelProperties: {
+ id: {
+ required: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const GalleryArtifactSource: msRest.CompositeMapper = {
+ serializedName: "GalleryArtifactSource",
type: {
name: "Composite",
- className: "DataDiskImageEncryption",
+ className: "GalleryArtifactSource",
modelProperties: {
- ...DiskImageEncryption.type.modelProperties,
- lun: {
+ managedImage: {
required: true,
- serializedName: "lun",
+ serializedName: "managedImage",
type: {
- name: "Number"
+ name: "Composite",
+ className: "ManagedArtifact"
}
}
}
}
};
-export const EncryptionImages: msRest.CompositeMapper = {
- serializedName: "EncryptionImages",
+export const SharingUpdate: msRest.CompositeMapper = {
+ serializedName: "SharingUpdate",
type: {
name: "Composite",
- className: "EncryptionImages",
+ className: "SharingUpdate",
modelProperties: {
- osDiskImage: {
- serializedName: "osDiskImage",
+ operationType: {
+ required: true,
+ serializedName: "operationType",
type: {
- name: "Composite",
- className: "OSDiskImageEncryption"
+ name: "String"
}
},
- dataDiskImages: {
- serializedName: "dataDiskImages",
+ groups: {
+ serializedName: "groups",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DataDiskImageEncryption"
+ className: "SharingProfileGroup"
}
}
}
@@ -11051,71 +12155,161 @@ export const EncryptionImages: msRest.CompositeMapper = {
}
};
-export const TargetRegion: msRest.CompositeMapper = {
- serializedName: "TargetRegion",
+export const PirResource: msRest.CompositeMapper = {
+ serializedName: "PirResource",
type: {
name: "Composite",
- className: "TargetRegion",
+ className: "PirResource",
modelProperties: {
name: {
- required: true,
+ readOnly: true,
serializedName: "name",
type: {
name: "String"
}
},
- regionalReplicaCount: {
- serializedName: "regionalReplicaCount",
- type: {
- name: "Number"
- }
- },
- storageAccountType: {
- serializedName: "storageAccountType",
+ location: {
+ readOnly: true,
+ serializedName: "location",
type: {
name: "String"
}
- },
- encryption: {
- serializedName: "encryption",
+ }
+ }
+ }
+};
+
+export const PirSharedGalleryResource: msRest.CompositeMapper = {
+ serializedName: "PirSharedGalleryResource",
+ type: {
+ name: "Composite",
+ className: "PirSharedGalleryResource",
+ modelProperties: {
+ ...PirResource.type.modelProperties,
+ uniqueId: {
+ serializedName: "identifier.uniqueId",
type: {
- name: "Composite",
- className: "EncryptionImages"
+ name: "String"
}
}
}
}
};
-export const ManagedArtifact: msRest.CompositeMapper = {
- serializedName: "ManagedArtifact",
+export const SharedGallery: msRest.CompositeMapper = {
+ serializedName: "SharedGallery",
type: {
name: "Composite",
- className: "ManagedArtifact",
+ className: "SharedGallery",
modelProperties: {
- id: {
+ ...PirSharedGalleryResource.type.modelProperties
+ }
+ }
+};
+
+export const SharedGalleryImage: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImage",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImage",
+ modelProperties: {
+ ...PirSharedGalleryResource.type.modelProperties,
+ osType: {
required: true,
- serializedName: "id",
+ serializedName: "properties.osType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Windows",
+ "Linux"
+ ]
+ }
+ },
+ osState: {
+ required: true,
+ serializedName: "properties.osState",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Generalized",
+ "Specialized"
+ ]
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ identifier: {
+ required: true,
+ serializedName: "properties.identifier",
+ type: {
+ name: "Composite",
+ className: "GalleryImageIdentifier"
+ }
+ },
+ recommended: {
+ serializedName: "properties.recommended",
+ type: {
+ name: "Composite",
+ className: "RecommendedMachineConfiguration"
+ }
+ },
+ disallowed: {
+ serializedName: "properties.disallowed",
+ type: {
+ name: "Composite",
+ className: "Disallowed"
+ }
+ },
+ hyperVGeneration: {
+ serializedName: "properties.hyperVGeneration",
type: {
name: "String"
}
+ },
+ features: {
+ serializedName: "properties.features",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature"
+ }
+ }
+ }
+ },
+ purchasePlan: {
+ serializedName: "properties.purchasePlan",
+ type: {
+ name: "Composite",
+ className: "ImagePurchasePlan"
+ }
}
}
}
};
-export const GalleryArtifactSource: msRest.CompositeMapper = {
- serializedName: "GalleryArtifactSource",
+export const SharedGalleryImageVersion: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImageVersion",
type: {
name: "Composite",
- className: "GalleryArtifactSource",
+ className: "SharedGalleryImageVersion",
modelProperties: {
- managedImage: {
- required: true,
- serializedName: "managedImage",
+ ...PirSharedGalleryResource.type.modelProperties,
+ publishedDate: {
+ serializedName: "properties.publishedDate",
type: {
- name: "Composite",
- className: "ManagedArtifact"
+ name: "DateTime"
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
}
}
}
@@ -12759,6 +13953,34 @@ export const ImageListResult: msRest.CompositeMapper = {
}
};
+export const RestorePointCollectionListResult: msRest.CompositeMapper = {
+ serializedName: "RestorePointCollectionListResult",
+ type: {
+ name: "Composite",
+ className: "RestorePointCollectionListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RestorePointCollection"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const VirtualMachineScaleSetExtensionListResult: msRest.CompositeMapper = {
serializedName: "VirtualMachineScaleSetExtensionListResult",
type: {
@@ -13250,6 +14472,93 @@ export const GalleryApplicationVersionList: msRest.CompositeMapper = {
}
};
+export const SharedGalleryList: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryList",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharedGallery"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SharedGalleryImageList: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImageList",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImage"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SharedGalleryImageVersionList: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImageVersionList",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageVersionList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageVersion"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const RoleInstanceListResult: msRest.CompositeMapper = {
serializedName: "RoleInstanceListResult",
type: {
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index 9b890809faa8..40b80bbdf07d 100644
--- a/sdk/compute/arm-compute/src/models/parameters.ts
+++ b/sdk/compute/arm-compute/src/models/parameters.ts
@@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2020-12-01',
+ defaultValue: '2021-03-01',
type: {
name: "String"
}
@@ -49,7 +49,7 @@ export const apiVersion2: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2019-12-01',
+ defaultValue: '2020-12-01',
type: {
name: "String"
}
@@ -61,7 +61,7 @@ export const apiVersion3: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2021-03-01',
+ defaultValue: '2020-09-30',
type: {
name: "String"
}
@@ -169,7 +169,8 @@ export const expand1: msRest.OperationQueryParameter = {
type: {
name: "Enum",
allowedValues: [
- "instanceView"
+ "instanceView",
+ "userData"
]
}
}
@@ -248,6 +249,16 @@ export const galleryName: msRest.OperationURLParameter = {
}
}
};
+export const galleryUniqueName: msRest.OperationURLParameter = {
+ parameterPath: "galleryUniqueName",
+ mapper: {
+ required: true,
+ serializedName: "galleryUniqueName",
+ type: {
+ name: "String"
+ }
+ }
+};
export const hostGroupName: msRest.OperationURLParameter = {
parameterPath: "hostGroupName",
mapper: {
@@ -436,6 +447,16 @@ export const restorePointCollectionName: msRest.OperationURLParameter = {
}
}
};
+export const restorePointName: msRest.OperationURLParameter = {
+ parameterPath: "restorePointName",
+ mapper: {
+ required: true,
+ serializedName: "restorePointName",
+ type: {
+ name: "String"
+ }
+ }
+};
export const roleInstanceName: msRest.OperationURLParameter = {
parameterPath: "roleInstanceName",
mapper: {
@@ -490,6 +511,18 @@ export const select: msRest.OperationQueryParameter = {
}
}
};
+export const sharedTo: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "sharedTo"
+ ],
+ mapper: {
+ serializedName: "sharedTo",
+ type: {
+ name: "String"
+ }
+ }
+};
export const skipShutdown: msRest.OperationQueryParameter = {
parameterPath: [
"options",
diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
index 3a902fd5bb59..8bf13b7b73b0 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -129,12 +130,23 @@ export {
ProximityPlacementGroup,
ProximityPlacementGroupListResult,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -144,6 +156,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -182,7 +197,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
new file mode 100644
index 000000000000..5648fc69c126
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
@@ -0,0 +1,249 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AdditionalCapabilities,
+ AdditionalUnattendContent,
+ ApiEntityReference,
+ ApiError,
+ ApiErrorBase,
+ AutomaticOSUpgradePolicy,
+ AutomaticOSUpgradeProperties,
+ AutomaticRepairsPolicy,
+ AvailabilitySet,
+ AvailabilitySetUpdate,
+ AvailablePatchSummary,
+ BaseResource,
+ BillingProfile,
+ BootDiagnostics,
+ BootDiagnosticsInstanceView,
+ CloudError,
+ CloudService,
+ CloudServiceExtensionProfile,
+ CloudServiceExtensionProperties,
+ CloudServiceNetworkProfile,
+ CloudServiceOsProfile,
+ CloudServiceProperties,
+ CloudServiceRoleProfile,
+ CloudServiceRoleProfileProperties,
+ CloudServiceRoleSku,
+ CloudServiceVaultAndSecretReference,
+ CloudServiceVaultCertificate,
+ CloudServiceVaultSecretGroup,
+ CreationData,
+ DataDisk,
+ DataDiskImage,
+ DataDiskImageEncryption,
+ DedicatedHost,
+ DedicatedHostAllocatableVM,
+ DedicatedHostAvailableCapacity,
+ DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
+ DedicatedHostGroupUpdate,
+ DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
+ DedicatedHostUpdate,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ DiskAccess,
+ DiskEncryptionSet,
+ DiskEncryptionSetParameters,
+ DiskEncryptionSettings,
+ DiskImageEncryption,
+ DiskInstanceView,
+ DiskSecurityProfile,
+ DiskSku,
+ Encryption,
+ EncryptionImages,
+ EncryptionSetIdentity,
+ EncryptionSettingsCollection,
+ EncryptionSettingsElement,
+ ExtendedLocation,
+ Extension,
+ Gallery,
+ GalleryApplication,
+ GalleryApplicationUpdate,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
+ GalleryArtifactPublishingProfileBase,
+ GalleryArtifactVersionSource,
+ GalleryDataDiskImage,
+ GalleryDiskImage,
+ GalleryIdentifier,
+ GalleryImage,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ GalleryImageUpdate,
+ GalleryImageVersion,
+ GalleryImageVersionPublishingProfile,
+ GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
+ GalleryOSDiskImage,
+ GalleryUpdate,
+ HardwareProfile,
+ Image,
+ ImageDataDisk,
+ ImageDisk,
+ ImageDiskReference,
+ ImageOSDisk,
+ ImagePurchasePlan,
+ ImageReference,
+ ImageStorageProfile,
+ ImageUpdate,
+ InnerError,
+ InstanceViewStatus,
+ KeyForDiskEncryptionSet,
+ KeyVaultAndKeyReference,
+ KeyVaultAndSecretReference,
+ KeyVaultKeyReference,
+ KeyVaultSecretReference,
+ LastPatchInstallationSummary,
+ LinuxConfiguration,
+ LinuxPatchSettings,
+ LoadBalancerConfiguration,
+ LoadBalancerConfigurationProperties,
+ LoadBalancerFrontendIPConfiguration,
+ LoadBalancerFrontendIPConfigurationProperties,
+ MaintenanceRedeployStatus,
+ ManagedDiskParameters,
+ NetworkInterfaceReference,
+ NetworkProfile,
+ OSDisk,
+ OSDiskImage,
+ OSDiskImageEncryption,
+ OSProfile,
+ PatchSettings,
+ Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
+ PropertyUpdatesInProgress,
+ ProximityPlacementGroup,
+ ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
+ PurchasePlan,
+ RecommendedMachineConfiguration,
+ RegionalReplicationStatus,
+ ReplicationStatus,
+ Resource,
+ ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionListResult,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
+ RollingUpgradePolicy,
+ RollingUpgradeProgressInfo,
+ RollingUpgradeRunningStatus,
+ RollingUpgradeStatusInfo,
+ RunCommandInputParameter,
+ ScaleInPolicy,
+ ScheduledEventsProfile,
+ SecurityProfile,
+ ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
+ Sku,
+ Snapshot,
+ SnapshotSku,
+ SourceVault,
+ SshConfiguration,
+ SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
+ StorageProfile,
+ SubResource,
+ SubResourceReadOnly,
+ SubResourceWithColocationStatus,
+ TargetRegion,
+ TerminateNotificationProfile,
+ UefiSettings,
+ UpdateResource,
+ UpdateResourceDefinition,
+ UpgradePolicy,
+ UserArtifactManage,
+ UserArtifactSource,
+ VaultCertificate,
+ VaultSecretGroup,
+ VirtualHardDisk,
+ VirtualMachine,
+ VirtualMachineAgentInstanceView,
+ VirtualMachineCaptureResult,
+ VirtualMachineExtension,
+ VirtualMachineExtensionHandlerInstanceView,
+ VirtualMachineExtensionImage,
+ VirtualMachineExtensionInstanceView,
+ VirtualMachineExtensionUpdate,
+ VirtualMachineHealthStatus,
+ VirtualMachineIdentity,
+ VirtualMachineIdentityUserAssignedIdentitiesValue,
+ VirtualMachineImage,
+ VirtualMachineImageFeature,
+ VirtualMachineImageResource,
+ VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
+ VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
+ VirtualMachineRunCommand,
+ VirtualMachineRunCommandInstanceView,
+ VirtualMachineRunCommandScriptSource,
+ VirtualMachineRunCommandUpdate,
+ VirtualMachineScaleSet,
+ VirtualMachineScaleSetDataDisk,
+ VirtualMachineScaleSetExtension,
+ VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
+ VirtualMachineScaleSetIdentity,
+ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
+ VirtualMachineScaleSetIPConfiguration,
+ VirtualMachineScaleSetIpTag,
+ VirtualMachineScaleSetManagedDiskParameters,
+ VirtualMachineScaleSetNetworkConfiguration,
+ VirtualMachineScaleSetNetworkConfigurationDnsSettings,
+ VirtualMachineScaleSetNetworkProfile,
+ VirtualMachineScaleSetOSDisk,
+ VirtualMachineScaleSetOSProfile,
+ VirtualMachineScaleSetPublicIPAddressConfiguration,
+ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
+ VirtualMachineScaleSetStorageProfile,
+ VirtualMachineScaleSetUpdate,
+ VirtualMachineScaleSetUpdateIPConfiguration,
+ VirtualMachineScaleSetUpdateNetworkConfiguration,
+ VirtualMachineScaleSetUpdateNetworkProfile,
+ VirtualMachineScaleSetUpdateOSDisk,
+ VirtualMachineScaleSetUpdateOSProfile,
+ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
+ VirtualMachineScaleSetUpdateStorageProfile,
+ VirtualMachineScaleSetUpdateVMProfile,
+ VirtualMachineScaleSetVM,
+ VirtualMachineScaleSetVMExtension,
+ VirtualMachineScaleSetVMExtensionUpdate,
+ VirtualMachineScaleSetVMInstanceView,
+ VirtualMachineScaleSetVMNetworkProfileConfiguration,
+ VirtualMachineScaleSetVMProfile,
+ VirtualMachineScaleSetVMProtectionPolicy,
+ VirtualMachineUpdate,
+ WindowsConfiguration,
+ WinRMConfiguration,
+ WinRMListener
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
new file mode 100644
index 000000000000..959e24e26d33
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
@@ -0,0 +1,231 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AdditionalCapabilities,
+ AdditionalUnattendContent,
+ ApiEntityReference,
+ ApiError,
+ ApiErrorBase,
+ AutomaticOSUpgradePolicy,
+ AutomaticOSUpgradeProperties,
+ AutomaticRepairsPolicy,
+ AvailabilitySet,
+ AvailablePatchSummary,
+ BaseResource,
+ BillingProfile,
+ BootDiagnostics,
+ BootDiagnosticsInstanceView,
+ CloudError,
+ CloudService,
+ CloudServiceExtensionProfile,
+ CloudServiceExtensionProperties,
+ CloudServiceNetworkProfile,
+ CloudServiceOsProfile,
+ CloudServiceProperties,
+ CloudServiceRoleProfile,
+ CloudServiceRoleProfileProperties,
+ CloudServiceRoleSku,
+ CloudServiceVaultAndSecretReference,
+ CloudServiceVaultCertificate,
+ CloudServiceVaultSecretGroup,
+ CreationData,
+ DataDisk,
+ DataDiskImage,
+ DataDiskImageEncryption,
+ DedicatedHost,
+ DedicatedHostAllocatableVM,
+ DedicatedHostAvailableCapacity,
+ DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
+ DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ DiskAccess,
+ DiskEncryptionSet,
+ DiskEncryptionSetParameters,
+ DiskEncryptionSettings,
+ DiskImageEncryption,
+ DiskInstanceView,
+ DiskSecurityProfile,
+ DiskSku,
+ Encryption,
+ EncryptionImages,
+ EncryptionSetIdentity,
+ EncryptionSettingsCollection,
+ EncryptionSettingsElement,
+ ExtendedLocation,
+ Extension,
+ Gallery,
+ GalleryApplication,
+ GalleryApplicationUpdate,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
+ GalleryArtifactPublishingProfileBase,
+ GalleryArtifactVersionSource,
+ GalleryDataDiskImage,
+ GalleryDiskImage,
+ GalleryIdentifier,
+ GalleryImage,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ GalleryImageUpdate,
+ GalleryImageVersion,
+ GalleryImageVersionPublishingProfile,
+ GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
+ GalleryOSDiskImage,
+ GalleryUpdate,
+ HardwareProfile,
+ Image,
+ ImageDataDisk,
+ ImageDisk,
+ ImageDiskReference,
+ ImageOSDisk,
+ ImagePurchasePlan,
+ ImageReference,
+ ImageStorageProfile,
+ InnerError,
+ InstanceViewStatus,
+ KeyForDiskEncryptionSet,
+ KeyVaultAndKeyReference,
+ KeyVaultAndSecretReference,
+ KeyVaultKeyReference,
+ KeyVaultSecretReference,
+ LastPatchInstallationSummary,
+ LinuxConfiguration,
+ LinuxPatchSettings,
+ LoadBalancerConfiguration,
+ LoadBalancerConfigurationProperties,
+ LoadBalancerFrontendIPConfiguration,
+ LoadBalancerFrontendIPConfigurationProperties,
+ MaintenanceRedeployStatus,
+ ManagedDiskParameters,
+ NetworkInterfaceReference,
+ NetworkProfile,
+ OSDisk,
+ OSDiskImage,
+ OSDiskImageEncryption,
+ OSProfile,
+ PatchSettings,
+ Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
+ PropertyUpdatesInProgress,
+ ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
+ PurchasePlan,
+ RecommendedMachineConfiguration,
+ RegionalReplicationStatus,
+ ReplicationStatus,
+ Resource,
+ ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
+ RollingUpgradePolicy,
+ RollingUpgradeProgressInfo,
+ RollingUpgradeRunningStatus,
+ RollingUpgradeStatusInfo,
+ RunCommandInputParameter,
+ ScaleInPolicy,
+ ScheduledEventsProfile,
+ SecurityProfile,
+ ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
+ Sku,
+ Snapshot,
+ SnapshotSku,
+ SourceVault,
+ SshConfiguration,
+ SshPublicKey,
+ SshPublicKeyResource,
+ StorageProfile,
+ SubResource,
+ SubResourceReadOnly,
+ SubResourceWithColocationStatus,
+ TargetRegion,
+ TerminateNotificationProfile,
+ UefiSettings,
+ UpdateResourceDefinition,
+ UpgradePolicy,
+ UserArtifactManage,
+ UserArtifactSource,
+ VaultCertificate,
+ VaultSecretGroup,
+ VirtualHardDisk,
+ VirtualMachine,
+ VirtualMachineAgentInstanceView,
+ VirtualMachineCaptureResult,
+ VirtualMachineExtension,
+ VirtualMachineExtensionHandlerInstanceView,
+ VirtualMachineExtensionImage,
+ VirtualMachineExtensionInstanceView,
+ VirtualMachineHealthStatus,
+ VirtualMachineIdentity,
+ VirtualMachineIdentityUserAssignedIdentitiesValue,
+ VirtualMachineImage,
+ VirtualMachineImageFeature,
+ VirtualMachineImageResource,
+ VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
+ VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
+ VirtualMachineRunCommand,
+ VirtualMachineRunCommandInstanceView,
+ VirtualMachineRunCommandScriptSource,
+ VirtualMachineScaleSet,
+ VirtualMachineScaleSetDataDisk,
+ VirtualMachineScaleSetExtension,
+ VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
+ VirtualMachineScaleSetIdentity,
+ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
+ VirtualMachineScaleSetIPConfiguration,
+ VirtualMachineScaleSetIpTag,
+ VirtualMachineScaleSetManagedDiskParameters,
+ VirtualMachineScaleSetNetworkConfiguration,
+ VirtualMachineScaleSetNetworkConfigurationDnsSettings,
+ VirtualMachineScaleSetNetworkProfile,
+ VirtualMachineScaleSetOSDisk,
+ VirtualMachineScaleSetOSProfile,
+ VirtualMachineScaleSetPublicIPAddressConfiguration,
+ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
+ VirtualMachineScaleSetStorageProfile,
+ VirtualMachineScaleSetUpdateIPConfiguration,
+ VirtualMachineScaleSetUpdateNetworkConfiguration,
+ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
+ VirtualMachineScaleSetVM,
+ VirtualMachineScaleSetVMExtension,
+ VirtualMachineScaleSetVMExtensionUpdate,
+ VirtualMachineScaleSetVMInstanceView,
+ VirtualMachineScaleSetVMNetworkProfileConfiguration,
+ VirtualMachineScaleSetVMProfile,
+ VirtualMachineScaleSetVMProtectionPolicy,
+ WindowsConfiguration,
+ WinRMConfiguration,
+ WinRMListener
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/sharedGalleriesMappers.ts b/sdk/compute/arm-compute/src/models/sharedGalleriesMappers.ts
new file mode 100644
index 000000000000..ce674aba8515
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sharedGalleriesMappers.ts
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ApiError,
+ ApiErrorBase,
+ CloudError,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirResource,
+ PirSharedGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange,
+ SharedGallery,
+ SharedGalleryImage,
+ SharedGalleryImageVersion,
+ SharedGalleryList
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/sharedGalleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/sharedGalleryImageVersionsMappers.ts
new file mode 100644
index 000000000000..45b623b19c9d
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sharedGalleryImageVersionsMappers.ts
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ApiError,
+ ApiErrorBase,
+ CloudError,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirResource,
+ PirSharedGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange,
+ SharedGallery,
+ SharedGalleryImage,
+ SharedGalleryImageVersion,
+ SharedGalleryImageVersionList
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/sharedGalleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/sharedGalleryImagesMappers.ts
new file mode 100644
index 000000000000..b5cecede4fdd
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sharedGalleryImagesMappers.ts
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ApiError,
+ ApiErrorBase,
+ CloudError,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirResource,
+ PirSharedGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange,
+ SharedGallery,
+ SharedGalleryImage,
+ SharedGalleryImageList,
+ SharedGalleryImageVersion
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
index 2e6b6318d1cc..91db2eb525a5 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -125,12 +126,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -140,6 +151,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotList,
@@ -177,7 +191,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
index e3c7968183f8..a1ec275cc4ce 100644
--- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
+++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -128,12 +129,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -143,6 +155,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -183,7 +198,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
index a14395e7c2d2..959e24e26d33 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -138,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -173,7 +187,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
index f4167538910b..c51cee5cf8cb 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -128,12 +129,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -143,6 +155,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -182,7 +197,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
index a14395e7c2d2..959e24e26d33 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -138,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -173,7 +187,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
index a14395e7c2d2..959e24e26d33 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -138,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -173,7 +187,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
index 00cab85dfb37..ff65623f4621 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -128,12 +129,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -147,6 +159,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -185,7 +200,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
index 7ff91ec28b71..1882675e03de 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -138,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -173,7 +187,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
index a14395e7c2d2..959e24e26d33 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -138,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -173,7 +187,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
index 37912e8e6615..aa1cbaedbd70 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -138,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -173,7 +187,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
index 803afd1c6c30..84fc5ee4c5c2 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -128,12 +129,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -143,6 +155,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -181,7 +196,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
VirtualMachineRunCommandScriptSource,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
index ed598dc1cba8..afe42c9aefeb 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -123,12 +124,22 @@ export {
PrivateLinkServiceConnectionState,
PropertyUpdatesInProgress,
ProximityPlacementGroup,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RetrieveBootDiagnosticsDataResult,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
@@ -141,6 +152,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -176,7 +190,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineReimageParameters,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
index d1278e637520..8636320a95ad 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -130,6 +131,8 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RecoveryWalkResponse,
@@ -137,6 +140,15 @@ export {
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RollbackStatusInfo,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
@@ -147,6 +159,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -188,7 +203,13 @@ export {
VirtualMachineImageFeature,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineReimageParameters,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
index b034d1699bb3..d54d9d227b61 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -130,12 +131,23 @@ export {
PropertyUpdatesInProgress,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
+ ProxyResource,
+ PublicIPAddressSku,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RestorePoint,
+ RestorePointCollection,
+ RestorePointCollectionSourceProperties,
+ RestorePointCollectionUpdate,
+ RestorePointProvisioningDetails,
+ RestorePointSourceMetadata,
+ RestorePointSourceVMDataDisk,
+ RestorePointSourceVMOSDisk,
+ RestorePointSourceVMStorageProfile,
RetrieveBootDiagnosticsDataResult,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
@@ -148,6 +160,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
@@ -190,8 +205,14 @@ export {
VirtualMachineInstallPatchesParameters,
VirtualMachineInstallPatchesResult,
VirtualMachineInstanceView,
+ VirtualMachineIpTag,
VirtualMachineListResult,
+ VirtualMachineNetworkInterfaceConfiguration,
+ VirtualMachineNetworkInterfaceDnsSettingsConfiguration,
+ VirtualMachineNetworkInterfaceIPConfiguration,
VirtualMachinePatchStatus,
+ VirtualMachinePublicIPAddressConfiguration,
+ VirtualMachinePublicIPAddressDnsSettingsConfiguration,
VirtualMachineReimageParameters,
VirtualMachineRunCommand,
VirtualMachineRunCommandInstanceView,
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
index 6f43ef73efb0..30df67369200 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
@@ -223,7 +223,7 @@ const getOSVersionOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -247,7 +247,7 @@ const listOSVersionsOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -272,7 +272,7 @@ const getOSFamilyOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -296,7 +296,7 @@ const listOSFamiliesOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -320,7 +320,7 @@ const listOSVersionsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -344,7 +344,7 @@ const listOSFamiliesNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
index 214f94547db5..cc9b279cc80b 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
@@ -351,7 +351,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.expand1
],
headerParameters: [
@@ -378,7 +378,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -403,7 +403,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.expand1
],
headerParameters: [
@@ -430,7 +430,7 @@ const getRemoteDesktopFileOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -461,7 +461,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -487,7 +487,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -512,7 +512,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -537,7 +537,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -560,7 +560,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.expand1
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
index 113e446db757..3f1c61f1b1c3 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
@@ -136,7 +136,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -161,7 +161,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -185,7 +185,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts
index 989841b89abb..bfaf4233d034 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServices.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServices.ts
@@ -498,7 +498,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -523,7 +523,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -546,7 +546,7 @@ const listAllOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -570,7 +570,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -595,7 +595,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -630,7 +630,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -662,7 +662,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -687,7 +687,7 @@ const beginStartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -711,7 +711,7 @@ const beginPowerOffOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -735,7 +735,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -766,7 +766,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -797,7 +797,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -828,7 +828,7 @@ const beginDeleteInstancesOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -858,7 +858,7 @@ const listAllNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -882,7 +882,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
index 1bf654aae4bf..a94026128eda 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
@@ -180,7 +180,7 @@ const getUpdateDomainOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -205,7 +205,7 @@ const listUpdateDomainsOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -231,7 +231,7 @@ const beginWalkUpdateDomainOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -261,7 +261,7 @@ const listUpdateDomainsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
index bfd446be0ca9..e19e6744a1f3 100644
--- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts
+++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
@@ -519,7 +519,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -543,7 +543,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -566,7 +566,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -591,7 +591,7 @@ const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -617,7 +617,7 @@ const getAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -642,7 +642,7 @@ const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -667,7 +667,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -702,7 +702,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -737,7 +737,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -763,7 +763,7 @@ const beginUpdateAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec =
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -799,7 +799,7 @@ const beginDeleteAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec =
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -823,7 +823,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -847,7 +847,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -871,7 +871,7 @@ const listPrivateEndpointConnectionsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
index 36f0371e8c6d..9573d7617337 100644
--- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
+++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
@@ -362,7 +362,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -386,7 +386,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -409,7 +409,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -434,7 +434,7 @@ const listAssociatedResourcesOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -459,7 +459,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -494,7 +494,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -529,7 +529,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -553,7 +553,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -577,7 +577,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -601,7 +601,7 @@ const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
index 5289bc4babdf..08ba31dab54a 100644
--- a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
+++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
@@ -170,7 +170,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskRestorePointName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -196,7 +196,7 @@ const listByRestorePointOperationSpec: msRest.OperationSpec = {
Parameters.vmRestorePointName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -220,7 +220,7 @@ const listByRestorePointNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts
index cbadce631d80..ecc5543e49b3 100644
--- a/sdk/compute/arm-compute/src/operations/disks.ts
+++ b/sdk/compute/arm-compute/src/operations/disks.ts
@@ -363,7 +363,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -387,7 +387,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -410,7 +410,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -435,7 +435,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -470,7 +470,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -505,7 +505,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -530,7 +530,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -563,7 +563,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -586,7 +586,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -610,7 +610,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts
index d657871311c8..c0cf922219a8 100644
--- a/sdk/compute/arm-compute/src/operations/galleries.ts
+++ b/sdk/compute/arm-compute/src/operations/galleries.ts
@@ -61,7 +61,7 @@ export class Galleries {
* @param [options] The optional parameters
* @returns Promise
*/
- get(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase): Promise;
+ get(resourceGroupName: string, galleryName: string, options?: Models.GalleriesGetOptionalParams): Promise;
/**
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery.
@@ -74,8 +74,8 @@ export class Galleries {
* @param options The optional parameters
* @param callback The callback
*/
- get(resourceGroupName: string, galleryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, galleryName: string, options: Models.GalleriesGetOptionalParams, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, galleryName: string, options?: Models.GalleriesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -278,7 +278,8 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3,
+ Parameters.select
],
headerParameters: [
Parameters.acceptLanguage
@@ -302,7 +303,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -325,7 +326,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -350,7 +351,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -388,7 +389,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -420,7 +421,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -444,7 +445,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -468,7 +469,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
index f6fd628b314f..00cb290c934c 100644
--- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
@@ -302,7 +302,7 @@ const getOperationSpec: msRest.OperationSpec = {
],
queryParameters: [
Parameters.expand0,
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -328,7 +328,7 @@ const listByGalleryApplicationOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -355,7 +355,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -395,7 +395,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -429,7 +429,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -453,7 +453,7 @@ const listByGalleryApplicationNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
index 0fc2c569f6d9..c98937542377 100644
--- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
@@ -262,7 +262,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -287,7 +287,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -313,7 +313,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -352,7 +352,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -385,7 +385,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -409,7 +409,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
index d7ac39f74bee..d06c2e45e1b1 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
@@ -27,15 +27,15 @@ export class GalleryImageVersions {
}
/**
- * Create or update a gallery Image Version.
+ * Create or update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be created.
- * @param galleryImageVersionName The name of the gallery Image Version to be created. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be created. Needs to
* follow semantic version name pattern: The allowed characters are digit and period. Digits must
* be within the range of a 32-bit integer. Format: ..
- * @param galleryImageVersion Parameters supplied to the create or update gallery Image Version
+ * @param galleryImageVersion Parameters supplied to the create or update gallery image version
* operation.
* @param [options] The optional parameters
* @returns Promise
@@ -46,15 +46,15 @@ export class GalleryImageVersions {
}
/**
- * Update a gallery Image Version.
+ * Update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be updated.
- * @param galleryImageVersionName The name of the gallery Image Version to be updated. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be updated. Needs to
* follow semantic version name pattern: The allowed characters are digit and period. Digits must
* be within the range of a 32-bit integer. Format: ..
- * @param galleryImageVersion Parameters supplied to the update gallery Image Version operation.
+ * @param galleryImageVersion Parameters supplied to the update gallery image version operation.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -64,12 +64,12 @@ export class GalleryImageVersions {
}
/**
- * Retrieves information about a gallery Image Version.
+ * Retrieves information about a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be retrieved.
+ * @param galleryImageVersionName The name of the gallery image version to be retrieved.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -77,18 +77,18 @@ export class GalleryImageVersions {
/**
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be retrieved.
+ * @param galleryImageVersionName The name of the gallery image version to be retrieved.
* @param callback The callback
*/
get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, callback: msRest.ServiceCallback): void;
/**
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be retrieved.
+ * @param galleryImageVersionName The name of the gallery image version to be retrieved.
* @param options The optional parameters
* @param callback The callback
*/
@@ -107,12 +107,12 @@ export class GalleryImageVersions {
}
/**
- * Delete a gallery Image Version.
+ * Delete a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be deleted.
+ * @param galleryImageVersionName The name of the gallery image version to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -122,7 +122,7 @@ export class GalleryImageVersions {
}
/**
- * List gallery Image Versions in a gallery Image Definition.
+ * List gallery image versions in a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
* @param galleryImageName The name of the Shared Image Gallery Image Definition from which the
@@ -161,15 +161,15 @@ export class GalleryImageVersions {
}
/**
- * Create or update a gallery Image Version.
+ * Create or update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be created.
- * @param galleryImageVersionName The name of the gallery Image Version to be created. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be created. Needs to
* follow semantic version name pattern: The allowed characters are digit and period. Digits must
* be within the range of a 32-bit integer. Format: ..
- * @param galleryImageVersion Parameters supplied to the create or update gallery Image Version
+ * @param galleryImageVersion Parameters supplied to the create or update gallery image version
* operation.
* @param [options] The optional parameters
* @returns Promise
@@ -189,15 +189,15 @@ export class GalleryImageVersions {
}
/**
- * Update a gallery Image Version.
+ * Update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be updated.
- * @param galleryImageVersionName The name of the gallery Image Version to be updated. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be updated. Needs to
* follow semantic version name pattern: The allowed characters are digit and period. Digits must
* be within the range of a 32-bit integer. Format: ..
- * @param galleryImageVersion Parameters supplied to the update gallery Image Version operation.
+ * @param galleryImageVersion Parameters supplied to the update gallery image version operation.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -216,12 +216,12 @@ export class GalleryImageVersions {
}
/**
- * Delete a gallery Image Version.
+ * Delete a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be deleted.
+ * @param galleryImageVersionName The name of the gallery image version to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -239,7 +239,7 @@ export class GalleryImageVersions {
}
/**
- * List gallery Image Versions in a gallery Image Definition.
+ * List gallery image versions in a gallery image definition.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise
@@ -281,7 +281,7 @@ const getOperationSpec: msRest.OperationSpec = {
],
queryParameters: [
Parameters.expand0,
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -307,7 +307,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -334,7 +334,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -374,7 +374,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -408,7 +408,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -432,7 +432,7 @@ const listByGalleryImageNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts
index eb0ec34ff595..ff28c14c9530 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImages.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts
@@ -27,11 +27,11 @@ export class GalleryImages {
}
/**
- * Create or update a gallery Image Definition.
+ * Create or update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* created.
- * @param galleryImageName The name of the gallery Image Definition to be created or updated. The
+ * @param galleryImageName The name of the gallery image definition to be created or updated. The
* allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the
* middle. The maximum length is 80 characters.
* @param galleryImage Parameters supplied to the create or update gallery image operation.
@@ -44,11 +44,11 @@ export class GalleryImages {
}
/**
- * Update a gallery Image Definition.
+ * Update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* updated.
- * @param galleryImageName The name of the gallery Image Definition to be updated. The allowed
+ * @param galleryImageName The name of the gallery image definition to be updated. The allowed
* characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
* maximum length is 80 characters.
* @param galleryImage Parameters supplied to the update gallery image operation.
@@ -61,11 +61,11 @@ export class GalleryImages {
}
/**
- * Retrieves information about a gallery Image Definition.
+ * Retrieves information about a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which the Image Definitions are to
* be retrieved.
- * @param galleryImageName The name of the gallery Image Definition to be retrieved.
+ * @param galleryImageName The name of the gallery image definition to be retrieved.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -74,7 +74,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which the Image Definitions are to
* be retrieved.
- * @param galleryImageName The name of the gallery Image Definition to be retrieved.
+ * @param galleryImageName The name of the gallery image definition to be retrieved.
* @param callback The callback
*/
get(resourceGroupName: string, galleryName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
@@ -82,7 +82,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which the Image Definitions are to
* be retrieved.
- * @param galleryImageName The name of the gallery Image Definition to be retrieved.
+ * @param galleryImageName The name of the gallery image definition to be retrieved.
* @param options The optional parameters
* @param callback The callback
*/
@@ -104,7 +104,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* deleted.
- * @param galleryImageName The name of the gallery Image Definition to be deleted.
+ * @param galleryImageName The name of the gallery image definition to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -114,7 +114,7 @@ export class GalleryImages {
}
/**
- * List gallery Image Definitions in a gallery.
+ * List gallery image definitions in a gallery.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which Image Definitions are to be
* listed.
@@ -149,11 +149,11 @@ export class GalleryImages {
}
/**
- * Create or update a gallery Image Definition.
+ * Create or update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* created.
- * @param galleryImageName The name of the gallery Image Definition to be created or updated. The
+ * @param galleryImageName The name of the gallery image definition to be created or updated. The
* allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the
* middle. The maximum length is 80 characters.
* @param galleryImage Parameters supplied to the create or update gallery image operation.
@@ -174,11 +174,11 @@ export class GalleryImages {
}
/**
- * Update a gallery Image Definition.
+ * Update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* updated.
- * @param galleryImageName The name of the gallery Image Definition to be updated. The allowed
+ * @param galleryImageName The name of the gallery image definition to be updated. The allowed
* characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
* maximum length is 80 characters.
* @param galleryImage Parameters supplied to the update gallery image operation.
@@ -203,7 +203,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* deleted.
- * @param galleryImageName The name of the gallery Image Definition to be deleted.
+ * @param galleryImageName The name of the gallery image definition to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -220,7 +220,7 @@ export class GalleryImages {
}
/**
- * List gallery Image Definitions in a gallery.
+ * List gallery image definitions in a gallery.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise
@@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -285,7 +285,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -311,7 +311,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -350,7 +350,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -383,7 +383,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -407,7 +407,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
new file mode 100644
index 000000000000..8707b78f4968
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/gallerySharingProfileMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a GallerySharingProfile. */
+export class GallerySharingProfile {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a GallerySharingProfile.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Update sharing profile of a gallery.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery.
+ * @param sharingUpdate Parameters supplied to the update gallery sharing profile.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, sharingUpdate: Models.SharingUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,sharingUpdate,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Update sharing profile of a gallery.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery.
+ * @param sharingUpdate Parameters supplied to the update gallery sharing profile.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, sharingUpdate: Models.SharingUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ sharingUpdate,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "sharingUpdate",
+ mapper: {
+ ...Mappers.SharingUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharingUpdate
+ },
+ 202: {
+ bodyMapper: Mappers.SharingUpdate
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts
index 10091beec86b..e77575004756 100644
--- a/sdk/compute/arm-compute/src/operations/index.ts
+++ b/sdk/compute/arm-compute/src/operations/index.ts
@@ -22,6 +22,8 @@ export * from "./virtualMachines";
export * from "./virtualMachineScaleSets";
export * from "./virtualMachineSizes";
export * from "./images";
+export * from "./restorePointCollections";
+export * from "./restorePoints";
export * from "./virtualMachineScaleSetExtensions";
export * from "./virtualMachineScaleSetRollingUpgrades";
export * from "./virtualMachineScaleSetVMExtensions";
@@ -40,6 +42,10 @@ export * from "./galleryImages";
export * from "./galleryImageVersions";
export * from "./galleryApplications";
export * from "./galleryApplicationVersions";
+export * from "./gallerySharingProfile";
+export * from "./sharedGalleries";
+export * from "./sharedGalleryImages";
+export * from "./sharedGalleryImageVersions";
export * from "./cloudServiceRoleInstances";
export * from "./cloudServiceRoles";
export * from "./cloudServices";
diff --git a/sdk/compute/arm-compute/src/operations/restorePointCollections.ts b/sdk/compute/arm-compute/src/operations/restorePointCollections.ts
new file mode 100644
index 000000000000..c715e50cce16
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/restorePointCollections.ts
@@ -0,0 +1,496 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/restorePointCollectionsMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a RestorePointCollections. */
+export class RestorePointCollections {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a RestorePointCollections.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * The operation to create or update the restore point collection. Please refer to
+ * https://aka.ms/RestorePoints for more details. When updating a restore point collection, only
+ * tags may be modified.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param parameters Parameters supplied to the Create or Update restore point collection
+ * operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollection, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param parameters Parameters supplied to the Create or Update restore point collection
+ * operation.
+ * @param callback The callback
+ */
+ createOrUpdate(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollection, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param parameters Parameters supplied to the Create or Update restore point collection
+ * operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ createOrUpdate(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ createOrUpdate(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ parameters,
+ options
+ },
+ createOrUpdateOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * The operation to update the restore point collection.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param parameters Parameters supplied to the Update restore point collection operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollectionUpdate, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param parameters Parameters supplied to the Update restore point collection operation.
+ * @param callback The callback
+ */
+ update(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollectionUpdate, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param parameters Parameters supplied to the Update restore point collection operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ update(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollectionUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ update(resourceGroupName: string, restorePointCollectionName: string, parameters: Models.RestorePointCollectionUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ parameters,
+ options
+ },
+ updateOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * The operation to delete the restore point collection. This operation will also delete all the
+ * contained restore points.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the Restore Point Collection.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, restorePointCollectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,restorePointCollectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * The operation to get the restore point collection.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, restorePointCollectionName: string, options?: Models.RestorePointCollectionsGetOptionalParams): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, restorePointCollectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, restorePointCollectionName: string, options: Models.RestorePointCollectionsGetOptionalParams, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, restorePointCollectionName: string, options?: Models.RestorePointCollectionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the list of restore point collections in a resource group.
+ * @param resourceGroupName The name of the resource group.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the list of restore point collections in the subscription. Use nextLink property in the
+ * response to get the next page of restore point collections. Do this till nextLink is not null to
+ * fetch all the restore point collections.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listAll(options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param callback The callback
+ */
+ listAll(callback: msRest.ServiceCallback): void;
+ /**
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ options
+ },
+ listAllOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * The operation to delete the restore point collection. This operation will also delete all the
+ * contained restore points.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the Restore Point Collection.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, restorePointCollectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Gets the list of restore point collections in a resource group.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the list of restore point collections in the subscription. Use nextLink property in the
+ * response to get the next page of restore point collections. Do this till nextLink is not null to
+ * fetch all the restore point collections.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listAllNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listAllNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const createOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.RestorePointCollection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollection
+ },
+ 201: {
+ bodyMapper: Mappers.RestorePointCollection
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const updateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.RestorePointCollectionUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollection
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName
+ ],
+ queryParameters: [
+ Parameters.expand0,
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollection
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listAllOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections",
+ urlParameters: [
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listAllNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePointCollectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/restorePoints.ts b/sdk/compute/arm-compute/src/operations/restorePoints.ts
new file mode 100644
index 000000000000..ae4dbbb49508
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/restorePoints.ts
@@ -0,0 +1,222 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/restorePointsMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a RestorePoints. */
+export class RestorePoints {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a RestorePoints.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * The operation to create the restore point. Updating properties of an existing restore point is
+ * not allowed
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param restorePointName The name of the restore point.
+ * @param parameters Parameters supplied to the Create restore point operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ create(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, parameters: Models.RestorePoint, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreate(resourceGroupName,restorePointCollectionName,restorePointName,parameters,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * The operation to delete the restore point.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the Restore Point Collection.
+ * @param restorePointName The name of the restore point.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,restorePointCollectionName,restorePointName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * The operation to get the restore point.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param restorePointName The name of the restore point.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param restorePointName The name of the restore point.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param restorePointName The name of the restore point.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ restorePointName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * The operation to create the restore point. Updating properties of an existing restore point is
+ * not allowed
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the restore point collection.
+ * @param restorePointName The name of the restore point.
+ * @param parameters Parameters supplied to the Create restore point operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreate(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, parameters: Models.RestorePoint, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ restorePointName,
+ parameters,
+ options
+ },
+ beginCreateOperationSpec,
+ options);
+ }
+
+ /**
+ * The operation to delete the restore point.
+ * @param resourceGroupName The name of the resource group.
+ * @param restorePointCollectionName The name of the Restore Point Collection.
+ * @param restorePointName The name of the restore point.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ restorePointCollectionName,
+ restorePointName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName,
+ Parameters.restorePointName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RestorePoint
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const beginCreateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName,
+ Parameters.restorePointName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.RestorePoint,
+ required: true
+ }
+ },
+ responses: {
+ 201: {
+ bodyMapper: Mappers.RestorePoint
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.restorePointCollectionName,
+ Parameters.restorePointName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
new file mode 100644
index 000000000000..130870bcc711
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
@@ -0,0 +1,192 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/sharedGalleriesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SharedGalleries. */
+export class SharedGalleries {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SharedGalleries.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * List shared galleries by subscription id or tenant id.
+ * @param location Resource location.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(location: string, options?: Models.SharedGalleriesListOptionalParams): Promise;
+ /**
+ * @param location Resource location.
+ * @param callback The callback
+ */
+ list(location: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(location: string, options: Models.SharedGalleriesListOptionalParams, callback: msRest.ServiceCallback): void;
+ list(location: string, options?: Models.SharedGalleriesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Get a shared gallery by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, galleryUniqueName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, galleryUniqueName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * List shared galleries by subscription id or tenant id.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: Models.SharedGalleriesListNextOptionalParams): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: Models.SharedGalleriesListNextOptionalParams, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: Models.SharedGalleriesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGallery
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
new file mode 100644
index 000000000000..b525cc524e01
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
@@ -0,0 +1,224 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/sharedGalleryImageVersionsMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SharedGalleryImageVersions. */
+export class SharedGalleryImageVersions {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SharedGalleryImageVersions.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * List shared gallery image versions by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(location: string, galleryUniqueName: string, galleryImageName: string, options?: Models.SharedGalleryImageVersionsListOptionalParams): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, galleryImageName: string, options: Models.SharedGalleryImageVersionsListOptionalParams, callback: msRest.ServiceCallback): void;
+ list(location: string, galleryUniqueName: string, galleryImageName: string, options?: Models.SharedGalleryImageVersionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ galleryImageName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Get a shared gallery image version by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param galleryImageVersionName The name of the gallery image version to be created. Needs to
+ * follow semantic version name pattern: The allowed characters are digit and period. Digits must
+ * be within the range of a 32-bit integer. Format: ..
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param galleryImageVersionName The name of the gallery image version to be created. Needs to
+ * follow semantic version name pattern: The allowed characters are digit and period. Digits must
+ * be within the range of a 32-bit integer. Format: ..
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param galleryImageVersionName The name of the gallery image version to be created. Needs to
+ * follow semantic version name pattern: The allowed characters are digit and period. Digits must
+ * be within the range of a 32-bit integer. Format: ..
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ galleryImageName,
+ galleryImageVersionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * List shared gallery image versions by subscription id or tenant id.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImageVersionsListNextOptionalParams): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: Models.SharedGalleryImageVersionsListNextOptionalParams, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImageVersionsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName,
+ Parameters.galleryImageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageVersionList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName,
+ Parameters.galleryImageName,
+ Parameters.galleryImageVersionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageVersion
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageVersionList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
new file mode 100644
index 000000000000..de7328480938
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
@@ -0,0 +1,205 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/sharedGalleryImagesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SharedGalleryImages. */
+export class SharedGalleryImages {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SharedGalleryImages.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * List shared gallery images by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(location: string, galleryUniqueName: string, options?: Models.SharedGalleryImagesListOptionalParams): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, options: Models.SharedGalleryImagesListOptionalParams, callback: msRest.ServiceCallback): void;
+ list(location: string, galleryUniqueName: string, options?: Models.SharedGalleryImagesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Get a shared gallery image by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, galleryUniqueName: string, galleryImageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ galleryImageName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * List shared gallery images by subscription id or tenant id.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImagesListNextOptionalParams): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: Models.SharedGalleryImagesListNextOptionalParams, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImagesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName,
+ Parameters.galleryImageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImage
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts
index 200b9e72c3c3..748f68b8c09d 100644
--- a/sdk/compute/arm-compute/src/operations/snapshots.ts
+++ b/sdk/compute/arm-compute/src/operations/snapshots.ts
@@ -365,7 +365,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -389,7 +389,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -412,7 +412,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -437,7 +437,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -472,7 +472,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -507,7 +507,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -532,7 +532,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -565,7 +565,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -588,7 +588,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -612,7 +612,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts
index c1232d0d43fc..4741a68b0333 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts
@@ -99,7 +99,7 @@ export class VirtualMachineScaleSets {
* @param [options] The optional parameters
* @returns Promise
*/
- get(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise;
+ get(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsGetOptionalParams): Promise;
/**
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
@@ -112,8 +112,8 @@ export class VirtualMachineScaleSets {
* @param options The optional parameters
* @param callback The callback
*/
- get(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, vmScaleSetName: string, options: Models.VirtualMachineScaleSetsGetOptionalParams, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -357,7 +357,7 @@ export class VirtualMachineScaleSets {
* Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances
* which are not eligible for perform maintenance will be failed. Please refer to best practices
* for more details:
- * https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
+ * https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
* @param [options] The optional parameters
@@ -675,7 +675,7 @@ export class VirtualMachineScaleSets {
* Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances
* which are not eligible for perform maintenance will be failed. Please refer to best practices
* for more details:
- * https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
+ * https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
* @param resourceGroupName The name of the resource group.
* @param vmScaleSetName The name of the VM scale set.
* @param [options] The optional parameters
@@ -950,7 +950,8 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion0,
+ Parameters.expand0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts
index 5f3bd17109b3..60886d0629e6 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts
@@ -27,7 +27,7 @@ export class VirtualMachineSizes {
/**
* This API is deprecated. Use [Resources
- * Skus](https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)
+ * Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list)
* @param location The location upon which virtual-machine-sizes is queried.
* @param [options] The optional parameters
* @returns Promise
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
index 0edafcf312f1..4488cf8a60ad 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
@@ -201,9 +201,9 @@ export class VirtualMachines {
* Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the
* virtual machine before performing this operation.
For Windows, please refer to [Create a
* managed image of a generalized VM in
- * Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).
For
+ * Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
For
* Linux, please refer to [How to create an image of a virtual machine or
- * VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).
+ * VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
* @param resourceGroupName The name of the resource group.
* @param vmName The name of the virtual machine.
* @param [options] The optional parameters