diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json
index 131a365e9abd..cdce40b8ba88 100644
--- a/sdk/compute/arm-compute/package.json
+++ b/sdk/compute/arm-compute/package.json
@@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/compute/arm-compute",
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index 979cedb97fca..07e51c06d613 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -255,6 +257,8 @@ export {
VirtualMachineSize,
VirtualMachineSizeListResult,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts
index 7bc81c02b313..81a54047cdea 100644
--- a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts
index 27f49c07d7cf..c6001c0806a4 100644
--- a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
index 21f225f6601b..7ca8284636fe 100644
--- a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -169,6 +170,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -240,6 +242,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
index 404cd92c69f9..49cc871f61f2 100644
--- a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -168,6 +169,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -240,6 +242,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index 0b4869cec2f3..63c70cd5c2bc 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index 09661b2b54cb..31f78a76479a 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
index a2b9202cd0bf..8571d3f9fce7 100644
--- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -167,6 +168,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -238,6 +240,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
index cce2c535525d..30fa4fff0192 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -165,6 +166,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -236,6 +238,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts
index e56642448f66..efc256644526 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -13,6 +13,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -166,6 +167,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -237,6 +239,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
index ba9db0e19e2c..ea25b1bb89ce 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -163,6 +164,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
index 0a0eb83ae4de..b8902d38adcf 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -163,6 +164,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
index e13a25417c52..775f9b84fec3 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -163,6 +164,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
index 53b83ba23663..bc7fe6a8a657 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -163,6 +164,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
index df80245e319f..283971d67cb7 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -163,6 +164,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
index 0e22e2eb913a..5a46d0fc707d 100644
--- a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
+++ b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -233,6 +235,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts
index 6a6f5596a79c..329174072913 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index e7e5350b025a..aa19605f3f59 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -37,6 +37,27 @@ export interface ApiEntityReference {
id?: string;
}
+/**
+ * Specifies VM Size Property settings on the virtual machine.
+ */
+export interface VMSizeProperties {
+ /**
+ * Specifies the number of vCPUs available for the VM.
When this property is not
+ * specified in the request body the default behavior is to set it to the value of vCPUs
+ * available for that VM size exposed in api response of [List all available virtual machine
+ * sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .
+ */
+ vCPUsAvailable?: number;
+ /**
+ * Specifies the vCPU to physical core ratio.
When this property is not specified in the
+ * request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed
+ * in api response of [List all available virtual machine sizes in a
+ * region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
Setting
+ * this property to 1 also means that hyper-threading is disabled.
+ */
+ vCPUsPerCore?: number;
+}
+
/**
* Specifies the hardware settings for the virtual machine.
*/
@@ -90,6 +111,13 @@ export interface HardwareProfile {
* 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', 'Standard_NV24'
*/
vmSize?: VirtualMachineSizeTypes;
+ /**
+ * Specifies the properties for customizing the size of the virtual machine. Minimum api-version:
+ * 2021-07-01.
This feature is still in preview mode and is not supported for
+ * VirtualMachineScaleSet.
Please follow the instructions in [VM
+ * Customization](https://aka.ms/vmcustomization) for more details.
+ */
+ vmSizeProperties?: VMSizeProperties;
}
/**
@@ -328,7 +356,11 @@ export interface WinRMListener {
* 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":""
}
+ * "dataType":"pfx",
"password":""
}
To install certificates on a
+ * virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for
+ * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the
+ * [Azure Key Vault virtual machine extension for
+ * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
*/
certificateUrl?: string;
}
@@ -473,7 +505,11 @@ export interface VaultCertificate {
* 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":""
}
+ * "dataType":"pfx",
"password":""
}
To install certificates on a
+ * virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for
+ * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the
+ * [Azure Key Vault virtual machine extension for
+ * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
*/
certificateUrl?: string;
/**
@@ -561,7 +597,12 @@ export interface OSProfile {
*/
linuxConfiguration?: LinuxConfiguration;
/**
- * Specifies set of certificates that should be installed onto the virtual machine.
+ * Specifies set of certificates that should be installed onto the virtual machine. To install
+ * certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual
+ * machine extension for
+ * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the
+ * [Azure Key Vault virtual machine extension for
+ * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
*/
secrets?: VaultSecretGroup[];
/**
@@ -1741,6 +1782,12 @@ export interface VirtualMachineExtension extends Resource {
* The virtual machine extension instance view.
*/
instanceView?: VirtualMachineExtensionInstanceView;
+ /**
+ * Indicates whether failures stemming from the extension will be suppressed (Operational
+ * failures such as not connecting to the VM will not be suppressed regardless of this value).
+ * The default is false.
+ */
+ suppressFailures?: boolean;
}
/**
@@ -1803,6 +1850,12 @@ export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly {
* The virtual machine extension instance view.
*/
instanceView?: VirtualMachineExtensionInstanceView;
+ /**
+ * Indicates whether failures stemming from the extension will be suppressed (Operational
+ * failures such as not connecting to the VM will not be suppressed regardless of this value).
+ * The default is false.
+ */
+ suppressFailures?: boolean;
}
/**
@@ -1846,6 +1899,12 @@ export interface VirtualMachineExtensionUpdate extends UpdateResource {
* protected settings at all.
*/
protectedSettings?: any;
+ /**
+ * Indicates whether failures stemming from the extension will be suppressed (Operational
+ * failures such as not connecting to the VM will not be suppressed regardless of this value).
+ * The default is false.
+ */
+ suppressFailures?: boolean;
}
/**
@@ -1899,6 +1958,12 @@ export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceRead
* protected settings at all.
*/
protectedSettings?: any;
+ /**
+ * Indicates whether failures stemming from the extension will be suppressed (Operational
+ * failures such as not connecting to the VM will not be suppressed regardless of this value).
+ * The default is false.
+ */
+ suppressFailures?: boolean;
}
/**
@@ -2148,7 +2213,7 @@ export interface VirtualMachineInstallPatchesParameters {
* Specifies the maximum amount of time that the operation will run. It must be an ISO
* 8601-compliant duration string such as PT4H (4 hours)
*/
- maximumDuration: string;
+ maximumDuration?: string;
/**
* Defines when it is acceptable to reboot a VM during a software update operation. Possible
* values include: 'IfRequired', 'Never', 'Always'
@@ -2514,6 +2579,11 @@ export interface ImageReference extends SubResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly exactVersion?: string;
+ /**
+ * Specified the shared gallery image unique id for vm deployment. This can be fetched from
+ * shared gallery image GET call.
+ */
+ sharedGalleryImageId?: string;
}
/**
@@ -2753,6 +2823,40 @@ export interface StorageProfile {
dataDisks?: DataDisk[];
}
+/**
+ * Specifies the required information to reference a compute gallery application version
+ */
+export interface VMGalleryApplication {
+ /**
+ * Optional, Specifies a passthrough value for more generic context.
+ */
+ tags?: string;
+ /**
+ * Optional, Specifies the order in which the packages have to be installed
+ */
+ order?: number;
+ /**
+ * Specifies the GalleryApplicationVersion resource id on the form of
+ * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
+ */
+ packageReferenceId: string;
+ /**
+ * Optional, Specifies the uri to an azure blob that will replace the default configuration for
+ * the package if provided
+ */
+ configurationReference?: string;
+}
+
+/**
+ * Contains the list of gallery applications that should be made available to the VM/VMSS
+ */
+export interface ApplicationProfile {
+ /**
+ * Specifies the gallery applications that should be made available to the VM/VMSS
+ */
+ galleryApplications?: VMGalleryApplication[];
+}
+
/**
* Enables or disables a capability on the virtual machine or virtual machine scale set.
*/
@@ -2764,6 +2868,10 @@ export interface AdditionalCapabilities {
* property is enabled.
*/
ultraSSDEnabled?: boolean;
+ /**
+ * The flag that enables or disables hibernation capability on the VM.
+ */
+ hibernationEnabled?: boolean;
}
/**
@@ -3595,6 +3703,10 @@ export interface VirtualMachine extends Resource {
*
Minimum api-version: 2021-04-01.
*/
capacityReservation?: CapacityReservationProfile;
+ /**
+ * Specifies the gallery applications that should be made available to the VM/VMSS
+ */
+ applicationProfile?: ApplicationProfile;
/**
* The virtual machine child extension resources.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -3770,6 +3882,10 @@ export interface VirtualMachineUpdate extends UpdateResource {
*
Minimum api-version: 2021-04-01.
*/
capacityReservation?: CapacityReservationProfile;
+ /**
+ * Specifies the gallery applications that should be made available to the VM/VMSS
+ */
+ applicationProfile?: ApplicationProfile;
/**
* The identity of the virtual machine, if configured.
*/
@@ -3882,6 +3998,11 @@ export interface ScaleInPolicy {
* protected will be chosen for removal.
*/
rules?: VirtualMachineScaleSetScaleInRules[];
+ /**
+ * This property allows you to specify if virtual machines chosen for removal have to be force
+ * deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
+ */
+ forceDeletion?: boolean;
}
/**
@@ -4153,7 +4274,11 @@ export interface VirtualMachineScaleSetOSProfile {
linuxConfiguration?: LinuxConfiguration;
/**
* Specifies set of certificates that should be installed onto the virtual machines in the scale
- * set.
+ * set. To install certificates on a virtual machine it is recommended to use the [Azure Key
+ * Vault virtual machine extension for
+ * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the
+ * [Azure Key Vault virtual machine extension for
+ * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
*/
secrets?: VaultSecretGroup[];
}
@@ -4766,6 +4891,12 @@ export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly {
* Collection of extension names after which this extension needs to be provisioned.
*/
provisionAfterExtensions?: string[];
+ /**
+ * Indicates whether failures stemming from the extension will be suppressed (Operational
+ * failures such as not connecting to the VM will not be suppressed regardless of this value).
+ * The default is false.
+ */
+ suppressFailures?: boolean;
}
/**
@@ -4828,6 +4959,12 @@ export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOn
* Collection of extension names after which this extension needs to be provisioned.
*/
provisionAfterExtensions?: string[];
+ /**
+ * Indicates whether failures stemming from the extension will be suppressed (Operational
+ * failures such as not connecting to the VM will not be suppressed regardless of this value).
+ * The default is false.
+ */
+ suppressFailures?: boolean;
}
/**
@@ -4919,6 +5056,10 @@ export interface VirtualMachineScaleSetVMProfile {
* api-version: 2021-04-01.
*/
capacityReservation?: CapacityReservationProfile;
+ /**
+ * Specifies the gallery applications that should be made available to the VM/VMSS
+ */
+ applicationProfile?: ApplicationProfile;
}
/**
@@ -5025,7 +5166,9 @@ export interface VirtualMachineScaleSet extends Resource {
singlePlacementGroup?: boolean;
/**
* Whether to force strictly even Virtual Machine distribution cross x-zones in case there is
- * zone outage.
+ * zone outage. zoneBalance property can only be set if the zones property of the scale set
+ * contains more than one zone. If there are no zones or only one zone specified, then
+ * zoneBalance property should not be set.
*/
zoneBalance?: boolean;
/**
@@ -5049,8 +5192,8 @@ export interface VirtualMachineScaleSet extends Resource {
*/
additionalCapabilities?: AdditionalCapabilities;
/**
- * Specifies the scale-in policy that decides which virtual machines are chosen for removal when
- * a Virtual Machine Scale Set is scaled-in.
+ * Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale
+ * Set.
*/
scaleInPolicy?: ScaleInPolicy;
/**
@@ -5142,8 +5285,8 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource {
*/
additionalCapabilities?: AdditionalCapabilities;
/**
- * Specifies the scale-in policy that decides which virtual machines are chosen for removal when
- * a Virtual Machine Scale Set is scaled-in.
+ * Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale
+ * Set.
*/
scaleInPolicy?: ScaleInPolicy;
/**
@@ -6174,7 +6317,7 @@ export interface ResourceSkuZoneDetails {
}
/**
- * An interface representing ResourceSkuRestrictionInfo.
+ * Describes an available Compute SKU Restriction Information.
*/
export interface ResourceSkuRestrictionInfo {
/**
@@ -6217,7 +6360,7 @@ export interface ResourceSkuRestrictions {
}
/**
- * An interface representing ResourceSkuLocationInfo.
+ * Describes an available Compute SKU Location Information.
*/
export interface ResourceSkuLocationInfo {
/**
@@ -6235,6 +6378,16 @@ export interface ResourceSkuLocationInfo {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly zoneDetails?: ResourceSkuZoneDetails[];
+ /**
+ * The names of extended locations.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly extendedLocations?: string[];
+ /**
+ * The type of the extended location. Possible values include: 'EdgeZone'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: ExtendedLocationType;
}
/**
@@ -7298,6 +7451,17 @@ export interface SharingProfile {
readonly groups?: SharingProfileGroup[];
}
+/**
+ * Contains information about the soft deletion policy of the gallery.
+ */
+export interface SoftDeletePolicy {
+ /**
+ * Enables soft-deletion for resources in this gallery, allowing them to be recovered within
+ * retention time.
+ */
+ isSoftDeleteEnabled?: boolean;
+}
+
/**
* Specifies information about the Shared Image Gallery that you want to create or update.
*/
@@ -7315,6 +7479,7 @@ export interface Gallery extends Resource {
*/
readonly provisioningState?: ProvisioningState;
sharingProfile?: SharingProfile;
+ softDeletePolicy?: SoftDeletePolicy;
}
/**
@@ -7359,6 +7524,7 @@ export interface GalleryUpdate extends UpdateResourceDefinition {
*/
readonly provisioningState?: ProvisioningState;
sharingProfile?: SharingProfile;
+ softDeletePolicy?: SoftDeletePolicy;
}
/**
@@ -7498,6 +7664,11 @@ export interface GalleryArtifactPublishingProfileBase {
* updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'
*/
storageAccountType?: StorageAccountType;
+ /**
+ * Optional parameter which specifies the mode to be used for replication. This property is not
+ * updatable. Possible values include: 'Full', 'Shallow'
+ */
+ replicationMode?: ReplicationMode;
}
/**
@@ -8932,6 +9103,16 @@ export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsB
expand?: InstanceViewTypes;
}
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachinesDeallocateOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ */
+ hibernate?: boolean;
+}
+
/**
* Optional Parameters.
*/
@@ -8986,6 +9167,16 @@ export interface VirtualMachinesBeginDeleteMethodOptionalParams extends msRest.R
forceDeletion?: boolean;
}
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachinesBeginDeallocateOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * Optional parameter to hibernate a virtual machine. (Feature in Preview)
+ */
+ hibernate?: boolean;
+}
+
/**
* Optional Parameters.
*/
@@ -9569,6 +9760,10 @@ export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBas
* The filter to apply on the operation. Only **location** filter is supported currently.
*/
filter?: string;
+ /**
+ * To Include Extended Locations information or not in the response.
+ */
+ includeExtendedLocations?: string;
}
/**
@@ -9579,6 +9774,10 @@ export interface ResourceSkusListNextOptionalParams extends msRest.RequestOption
* The filter to apply on the operation. Only **location** filter is supported currently.
*/
filter?: string;
+ /**
+ * To Include Extended Locations information or not in the response.
+ */
+ includeExtendedLocations?: string;
}
/**
@@ -10909,6 +11108,14 @@ export type ResourceSkuRestrictionsType = 'Location' | 'Zone';
*/
export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription';
+/**
+ * Defines values for ExtendedLocationType.
+ * Possible values include: 'EdgeZone'
+ * @readonly
+ * @enum {string}
+ */
+export type ExtendedLocationType = 'EdgeZone';
+
/**
* Defines values for DiskStorageAccountTypes.
* Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS',
@@ -11057,6 +11264,14 @@ export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed
*/
export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS';
+/**
+ * Defines values for ReplicationMode.
+ * Possible values include: 'Full', 'Shallow'
+ * @readonly
+ * @enum {string}
+ */
+export type ReplicationMode = 'Full' | 'Shallow';
+
/**
* Defines values for HostCaching.
* Possible values include: 'None', 'ReadOnly', 'ReadWrite'
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index 3f973bc3df91..e985477cd652 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -51,6 +51,28 @@ export const ApiEntityReference: msRest.CompositeMapper = {
}
};
+export const VMSizeProperties: msRest.CompositeMapper = {
+ serializedName: "VMSizeProperties",
+ type: {
+ name: "Composite",
+ className: "VMSizeProperties",
+ modelProperties: {
+ vCPUsAvailable: {
+ serializedName: "vCPUsAvailable",
+ type: {
+ name: "Number"
+ }
+ },
+ vCPUsPerCore: {
+ serializedName: "vCPUsPerCore",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
export const HardwareProfile: msRest.CompositeMapper = {
serializedName: "HardwareProfile",
type: {
@@ -62,6 +84,13 @@ export const HardwareProfile: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ vmSizeProperties: {
+ serializedName: "vmSizeProperties",
+ type: {
+ name: "Composite",
+ className: "VMSizeProperties"
+ }
}
}
}
@@ -2638,6 +2667,12 @@ export const VirtualMachineExtension: msRest.CompositeMapper = {
name: "Composite",
className: "VirtualMachineExtensionInstanceView"
}
+ },
+ suppressFailures: {
+ serializedName: "properties.suppressFailures",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -2725,6 +2760,12 @@ export const VirtualMachineScaleSetVMExtension: msRest.CompositeMapper = {
name: "Composite",
className: "VirtualMachineExtensionInstanceView"
}
+ },
+ suppressFailures: {
+ serializedName: "properties.suppressFailures",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -2784,6 +2825,12 @@ export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = {
type: {
name: "Object"
}
+ },
+ suppressFailures: {
+ serializedName: "properties.suppressFailures",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -2857,6 +2904,12 @@ export const VirtualMachineScaleSetVMExtensionUpdate: msRest.CompositeMapper = {
type: {
name: "Object"
}
+ },
+ suppressFailures: {
+ serializedName: "properties.suppressFailures",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -3272,7 +3325,6 @@ export const VirtualMachineInstallPatchesParameters: msRest.CompositeMapper = {
className: "VirtualMachineInstallPatchesParameters",
modelProperties: {
maximumDuration: {
- required: true,
serializedName: "maximumDuration",
type: {
name: "String"
@@ -3869,6 +3921,12 @@ export const ImageReference: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ sharedGalleryImageId: {
+ serializedName: "sharedGalleryImageId",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -4168,6 +4226,63 @@ export const StorageProfile: msRest.CompositeMapper = {
}
};
+export const VMGalleryApplication: msRest.CompositeMapper = {
+ serializedName: "VMGalleryApplication",
+ type: {
+ name: "Composite",
+ className: "VMGalleryApplication",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "String"
+ }
+ },
+ order: {
+ serializedName: "order",
+ type: {
+ name: "Number"
+ }
+ },
+ packageReferenceId: {
+ required: true,
+ serializedName: "packageReferenceId",
+ type: {
+ name: "String"
+ }
+ },
+ configurationReference: {
+ serializedName: "configurationReference",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ApplicationProfile: msRest.CompositeMapper = {
+ serializedName: "ApplicationProfile",
+ type: {
+ name: "Composite",
+ className: "ApplicationProfile",
+ modelProperties: {
+ galleryApplications: {
+ serializedName: "galleryApplications",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMGalleryApplication"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
export const AdditionalCapabilities: msRest.CompositeMapper = {
serializedName: "AdditionalCapabilities",
type: {
@@ -4179,6 +4294,12 @@ export const AdditionalCapabilities: msRest.CompositeMapper = {
type: {
name: "Boolean"
}
+ },
+ hibernationEnabled: {
+ serializedName: "hibernationEnabled",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -5429,6 +5550,13 @@ export const VirtualMachine: msRest.CompositeMapper = {
className: "CapacityReservationProfile"
}
},
+ applicationProfile: {
+ serializedName: "properties.applicationProfile",
+ type: {
+ name: "Composite",
+ className: "ApplicationProfile"
+ }
+ },
resources: {
readOnly: true,
serializedName: "resources",
@@ -5648,6 +5776,13 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = {
className: "CapacityReservationProfile"
}
},
+ applicationProfile: {
+ serializedName: "properties.applicationProfile",
+ type: {
+ name: "Composite",
+ className: "ApplicationProfile"
+ }
+ },
identity: {
serializedName: "identity",
type: {
@@ -5801,6 +5936,12 @@ export const ScaleInPolicy: msRest.CompositeMapper = {
}
}
}
+ },
+ forceDeletion: {
+ serializedName: "forceDeletion",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -7193,6 +7334,12 @@ export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = {
}
}
}
+ },
+ suppressFailures: {
+ serializedName: "properties.suppressFailures",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -7284,6 +7431,12 @@ export const VirtualMachineScaleSetExtensionUpdate: msRest.CompositeMapper = {
}
}
}
+ },
+ suppressFailures: {
+ serializedName: "properties.suppressFailures",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -7409,6 +7562,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = {
name: "Composite",
className: "CapacityReservationProfile"
}
+ },
+ applicationProfile: {
+ serializedName: "applicationProfile",
+ type: {
+ name: "Composite",
+ className: "ApplicationProfile"
+ }
}
}
}
@@ -9604,6 +9764,25 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = {
}
}
}
+ },
+ extendedLocations: {
+ readOnly: true,
+ serializedName: "extendedLocations",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -11283,6 +11462,22 @@ export const SharingProfile: msRest.CompositeMapper = {
}
};
+export const SoftDeletePolicy: msRest.CompositeMapper = {
+ serializedName: "SoftDeletePolicy",
+ type: {
+ name: "Composite",
+ className: "SoftDeletePolicy",
+ modelProperties: {
+ isSoftDeleteEnabled: {
+ serializedName: "isSoftDeleteEnabled",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
export const Gallery: msRest.CompositeMapper = {
serializedName: "Gallery",
type: {
@@ -11316,6 +11511,13 @@ export const Gallery: msRest.CompositeMapper = {
name: "Composite",
className: "SharingProfile"
}
+ },
+ softDeletePolicy: {
+ serializedName: "properties.softDeletePolicy",
+ type: {
+ name: "Composite",
+ className: "SoftDeletePolicy"
+ }
}
}
}
@@ -11396,6 +11598,13 @@ export const GalleryUpdate: msRest.CompositeMapper = {
name: "Composite",
className: "SharingProfile"
}
+ },
+ softDeletePolicy: {
+ serializedName: "properties.softDeletePolicy",
+ type: {
+ name: "Composite",
+ className: "SoftDeletePolicy"
+ }
}
}
}
@@ -11606,6 +11815,12 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ replicationMode: {
+ serializedName: "replicationMode",
+ type: {
+ name: "String"
+ }
}
}
}
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index dfea70d12e25..66fd2db23b89 100644
--- a/sdk/compute/arm-compute/src/models/parameters.ts
+++ b/sdk/compute/arm-compute/src/models/parameters.ts
@@ -25,25 +25,13 @@ export const apiVersion0: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2021-04-01',
+ defaultValue: '2021-07-01',
type: {
name: "String"
}
}
};
export const apiVersion1: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
- mapper: {
- required: true,
- isConstant: true,
- serializedName: "api-version",
- defaultValue: '2019-04-01',
- type: {
- name: "String"
- }
- }
-};
-export const apiVersion2: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
@@ -55,19 +43,7 @@ export const apiVersion2: msRest.OperationQueryParameter = {
}
}
};
-export const apiVersion3: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
- mapper: {
- required: true,
- isConstant: true,
- serializedName: "api-version",
- defaultValue: '2020-09-30',
- type: {
- name: "String"
- }
- }
-};
-export const apiVersion4: msRest.OperationQueryParameter = {
+export const apiVersion2: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
@@ -291,6 +267,18 @@ export const galleryUniqueName: msRest.OperationURLParameter = {
}
}
};
+export const hibernate: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "hibernate"
+ ],
+ mapper: {
+ serializedName: "hibernate",
+ type: {
+ name: "Boolean"
+ }
+ }
+};
export const hostGroupName: msRest.OperationURLParameter = {
parameterPath: "hostGroupName",
mapper: {
@@ -333,6 +321,18 @@ export const includeColocationStatus: msRest.OperationQueryParameter = {
}
}
};
+export const includeExtendedLocations: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "includeExtendedLocations"
+ ],
+ mapper: {
+ serializedName: "includeExtendedLocations",
+ type: {
+ name: "String"
+ }
+ }
+};
export const instanceId: msRest.OperationURLParameter = {
parameterPath: "instanceId",
mapper: {
diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
index b0c706e2fa41..eea488c22e3a 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
index d2c20a849a4a..e54e5a3d73e9 100644
--- a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -171,6 +172,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
index 0e22e2eb913a..5a46d0fc707d 100644
--- a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -233,6 +235,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
index 25a5c424aaf3..dabc13a264aa 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -13,6 +13,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -166,6 +167,7 @@ export {
SnapshotList,
SnapshotSku,
SnapshotUpdate,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -237,6 +239,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
index 54f4871da13a..02234561f4e6 100644
--- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
+++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -170,6 +171,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -254,6 +256,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
index 0e22e2eb913a..5a46d0fc707d 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -233,6 +235,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
index e1c6222a0a2f..460295ea3f07 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -170,6 +171,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
index 0e22e2eb913a..5a46d0fc707d 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -233,6 +235,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
index 0e22e2eb913a..5a46d0fc707d 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -233,6 +235,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
index a53d9a47e800..fc5ac48bb96f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -174,6 +175,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -257,6 +259,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
index 2541cced6c21..fc71d698baf6 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
index 0e22e2eb913a..5a46d0fc707d 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -233,6 +235,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
index 6da8b536361e..d0c85ac7d415 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -162,6 +163,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -234,6 +236,8 @@ export {
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
index 19c520739aa9..8d0f9368743c 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -170,6 +171,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -253,6 +255,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
index 3e8523c7b5c0..f163a3981cf7 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -165,6 +166,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -240,6 +242,8 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineScaleSetVMReimageParameters,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
index 41f5112e63aa..e1b2a01efa30 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -174,6 +175,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -274,7 +276,9 @@ export {
VirtualMachineScaleSetVMReimageParameters,
VirtualMachineStatusCodeCount,
VirtualMachineUpdate,
+ VMGalleryApplication,
VMScaleSetConvertToSinglePlacementGroupInput,
+ VMSizeProperties,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
index c7bdedfd8e98..d8fbbffd4605 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -12,6 +12,7 @@ export {
ApiEntityReference,
ApiError,
ApiErrorBase,
+ ApplicationProfile,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
@@ -175,6 +176,7 @@ export {
Sku,
Snapshot,
SnapshotSku,
+ SoftDeletePolicy,
SourceVault,
SpotRestorePolicy,
SshConfiguration,
@@ -268,6 +270,8 @@ export {
VirtualMachineSizeListResult,
VirtualMachineSoftwarePatchProperties,
VirtualMachineUpdate,
+ VMGalleryApplication,
+ VMSizeProperties,
WindowsConfiguration,
WindowsParameters,
WinRMConfiguration,
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
index e717de284ebb..4ba1adb23801 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.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -247,7 +247,7 @@ const listOSVersionsOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -272,7 +272,7 @@ const getOSFamilyOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -296,7 +296,7 @@ const listOSFamiliesOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -320,7 +320,7 @@ const listOSVersionsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -344,7 +344,7 @@ const listOSFamiliesNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
index fba11c0a2770..243cd59d84d6 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.apiVersion4,
+ Parameters.apiVersion2,
Parameters.expand1
],
headerParameters: [
@@ -378,7 +378,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -403,7 +403,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4,
+ Parameters.apiVersion2,
Parameters.expand1
],
headerParameters: [
@@ -430,7 +430,7 @@ const getRemoteDesktopFileOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -461,7 +461,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -487,7 +487,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -512,7 +512,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -537,7 +537,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -560,7 +560,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4,
+ Parameters.apiVersion2,
Parameters.expand1
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
index baa01ee0f574..0f409ac33b27 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.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -161,7 +161,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -185,7 +185,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts
index 79853c5effb6..0a5884204d1c 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.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -523,7 +523,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -546,7 +546,7 @@ const listAllOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -570,7 +570,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -595,7 +595,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -630,7 +630,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -662,7 +662,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -687,7 +687,7 @@ const beginStartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -711,7 +711,7 @@ const beginPowerOffOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -735,7 +735,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -766,7 +766,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -797,7 +797,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -828,7 +828,7 @@ const beginDeleteInstancesOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -858,7 +858,7 @@ const listAllNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -882,7 +882,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
index 42563572d56d..13164ea9fb45 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.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -205,7 +205,7 @@ const listUpdateDomainsOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -231,7 +231,7 @@ const beginWalkUpdateDomainOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -261,7 +261,7 @@ const listUpdateDomainsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion4
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
index e19e6744a1f3..1c693b70fb00 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.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -543,7 +543,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -566,7 +566,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -591,7 +591,7 @@ const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -617,7 +617,7 @@ const getAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -642,7 +642,7 @@ const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -667,7 +667,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -702,7 +702,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -737,7 +737,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -763,7 +763,7 @@ const beginUpdateAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec =
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -799,7 +799,7 @@ const beginDeleteAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec =
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -823,7 +823,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -847,7 +847,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -871,7 +871,7 @@ const listPrivateEndpointConnectionsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
index 9573d7617337..4a5c73087535 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.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -386,7 +386,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -409,7 +409,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -434,7 +434,7 @@ const listAssociatedResourcesOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -459,7 +459,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -494,7 +494,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -529,7 +529,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -553,7 +553,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -577,7 +577,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -601,7 +601,7 @@ const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
index 0dbd4d848faf..6172ed88710f 100644
--- a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
+++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
@@ -266,7 +266,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskRestorePointName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -292,7 +292,7 @@ const listByRestorePointOperationSpec: msRest.OperationSpec = {
Parameters.vmRestorePointName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -319,7 +319,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskRestorePointName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -354,7 +354,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskRestorePointName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -377,7 +377,7 @@ const listByRestorePointNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts
index ecc5543e49b3..80711287a9a8 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.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -387,7 +387,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -410,7 +410,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -435,7 +435,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -470,7 +470,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -505,7 +505,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -530,7 +530,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -563,7 +563,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -586,7 +586,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -610,7 +610,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts
index c0cf922219a8..362ae0c26b7d 100644
--- a/sdk/compute/arm-compute/src/operations/galleries.ts
+++ b/sdk/compute/arm-compute/src/operations/galleries.ts
@@ -278,7 +278,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.select
],
headerParameters: [
@@ -303,7 +303,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -326,7 +326,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -351,7 +351,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -389,7 +389,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -421,7 +421,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -445,7 +445,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -469,7 +469,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
index 00cb290c934c..3fddfe854298 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.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -328,7 +328,7 @@ const listByGalleryApplicationOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -355,7 +355,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -395,7 +395,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -429,7 +429,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -453,7 +453,7 @@ const listByGalleryApplicationNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
index c98937542377..855e0f7a16e3 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.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -287,7 +287,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -313,7 +313,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -352,7 +352,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -385,7 +385,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -409,7 +409,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
index d06c2e45e1b1..03345034e715 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
@@ -281,7 +281,7 @@ const getOperationSpec: msRest.OperationSpec = {
],
queryParameters: [
Parameters.expand0,
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -307,7 +307,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -334,7 +334,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -374,7 +374,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -408,7 +408,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -432,7 +432,7 @@ const listByGalleryImageNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts
index ff28c14c9530..0e021fcc33c9 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImages.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts
@@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -285,7 +285,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -311,7 +311,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -350,7 +350,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -383,7 +383,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -407,7 +407,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
index 8707b78f4968..fd48a678a3b1 100644
--- a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
+++ b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
@@ -71,7 +71,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/resourceSkus.ts b/sdk/compute/arm-compute/src/operations/resourceSkus.ts
index 7cf76612ac89..584cf72eeddb 100644
--- a/sdk/compute/arm-compute/src/operations/resourceSkus.ts
+++ b/sdk/compute/arm-compute/src/operations/resourceSkus.ts
@@ -87,8 +87,9 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion1,
- Parameters.filter
+ Parameters.apiVersion0,
+ Parameters.filter,
+ Parameters.includeExtendedLocations
],
headerParameters: [
Parameters.acceptLanguage
@@ -112,8 +113,9 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion1,
- Parameters.filter
+ Parameters.apiVersion0,
+ Parameters.filter,
+ Parameters.includeExtendedLocations
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
index 130870bcc711..1218a879d6e5 100644
--- a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
@@ -124,7 +124,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.location0
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.sharedTo
],
headerParameters: [
@@ -150,7 +150,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryUniqueName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -174,7 +174,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.sharedTo
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
index b525cc524e01..bbf15a1ae517 100644
--- a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
@@ -154,7 +154,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.sharedTo
],
headerParameters: [
@@ -182,7 +182,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -206,7 +206,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.sharedTo
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
index de7328480938..21cc53cbd39c 100644
--- a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
@@ -136,7 +136,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.galleryUniqueName
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.sharedTo
],
headerParameters: [
@@ -163,7 +163,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -187,7 +187,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.sharedTo
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts
index 748f68b8c09d..31d5c37daf71 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.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -389,7 +389,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -412,7 +412,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -437,7 +437,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -472,7 +472,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -507,7 +507,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -532,7 +532,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -565,7 +565,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -588,7 +588,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
@@ -612,7 +612,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
index 4488cf8a60ad..f97553a4782d 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
@@ -192,7 +192,7 @@ export class VirtualMachines {
* @param [options] The optional parameters
* @returns Promise
*/
- deallocate(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise {
+ deallocate(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesDeallocateOptionalParams): Promise {
return this.beginDeallocate(resourceGroupName,vmName,options)
.then(lroPoller => lroPoller.pollUntilFinished());
}
@@ -614,7 +614,7 @@ export class VirtualMachines {
* @param [options] The optional parameters
* @returns Promise
*/
- beginDeallocate(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise {
+ beginDeallocate(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesBeginDeallocateOptionalParams): Promise {
return this.client.sendLRORequest(
{
resourceGroupName,
@@ -1278,6 +1278,7 @@ const beginDeallocateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
+ Parameters.hibernate,
Parameters.apiVersion0
],
headerParameters: [