diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md
index e9c72aae2c8b..f781c80eaa28 100644
--- a/sdk/compute/arm-compute/README.md
+++ b/sdk/compute/arm-compute/README.md
@@ -19,9 +19,8 @@ npm install @azure/arm-compute
##### Install @azure/ms-rest-nodeauth
-- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
```bash
-npm install @azure/ms-rest-nodeauth@"^3.0.0"
+npm install @azure/ms-rest-nodeauth
```
##### Sample code
diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json
index 597cc7a98f00..30fdd1a8f115 100644
--- a/sdk/compute/arm-compute/package.json
+++ b/sdk/compute/arm-compute/package.json
@@ -4,9 +4,9 @@
"description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.",
"version": "12.0.0",
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.0.1",
- "@azure/ms-rest-js": "^2.0.4",
- "tslib": "^1.10.0"
+ "@azure/ms-rest-azure-js": "^1.3.2",
+ "@azure/ms-rest-js": "^1.8.1",
+ "tslib": "^1.9.3"
},
"keywords": [
"node",
@@ -20,11 +20,11 @@
"module": "./esm/computeManagementClient.js",
"types": "./esm/computeManagementClient.d.ts",
"devDependencies": {
- "typescript": "^3.5.3",
- "rollup": "^1.18.0",
- "rollup-plugin-node-resolve": "^5.2.0",
+ "typescript": "^3.1.1",
+ "rollup": "^0.66.2",
+ "rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
- "uglify-js": "^3.6.0"
+ "uglify-js": "^3.4.9"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute",
"repository": {
diff --git a/sdk/compute/arm-compute/rollup.config.js b/sdk/compute/arm-compute/rollup.config.js
index e7a527c7d3ad..368f8c311ccf 100644
--- a/sdk/compute/arm-compute/rollup.config.js
+++ b/sdk/compute/arm-compute/rollup.config.js
@@ -29,7 +29,7 @@ const config = {
*/`
},
plugins: [
- nodeResolve({ mainFields: ['module', 'main'] }),
+ nodeResolve({ module: true }),
sourcemaps()
]
};
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index 503a6e410eb5..cc980cee8aa1 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -60,8 +60,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
index 4f9208a1edc2..0317e91cfa3d 100644
--- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
@@ -60,8 +60,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index 514a6dcafbd1..cf0e4a5f766c 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -60,8 +60,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index 7d66d11181be..da5c117c453b 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -60,8 +60,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
index 55572654dc98..02b801d264aa 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -61,8 +61,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -70,10 +72,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -148,6 +153,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts
index de403fc22954..fa662ec7b9d5 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -62,8 +62,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -71,10 +73,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
GrantAccessData,
HardwareProfile,
Image,
@@ -150,6 +155,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
index c89170e9c59a..52d23f3e8bae 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,11 +70,14 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryList,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
index 1815859b9a14..5744e1541868 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -59,9 +59,11 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionList,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
index 8b3a1acfa6fa..6b666d7be2bb 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -60,8 +60,10 @@ export {
Gallery,
GalleryApplication,
GalleryApplicationList,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
index 5ea2e9d74817..14d4735eb795 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,11 +70,14 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionList,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
index 2c75226de346..a855c9db3366 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryImage,
GalleryImageIdentifier,
GalleryImageList,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts
index e8e61a655a8a..ca9272237784 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index d365994fced1..8c225f1a95df 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -182,6 +182,21 @@ export interface UpdateResource extends BaseResource {
* Resource tags
*/
tags?: { [propertyName: string]: string };
+ /**
+ * Resource Id
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * Resource name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
}
/**
@@ -620,7 +635,7 @@ export interface VirtualMachineExtensionUpdate extends UpdateResource {
/**
* Specifies the type of the extension; an example is "CustomScriptExtension".
*/
- type?: string;
+ virtualMachineExtensionUpdateType?: string;
/**
* Specifies the version of the script handler.
*/
@@ -1457,15 +1472,10 @@ export interface AutomaticRepairsPolicy {
/**
* The amount of time for which automatic repairs are suspended due to a state change on VM. The
* grace time starts after the state change has completed. This helps avoid premature or
- * accidental repairs. The time duration should be specified in ISO 8601 format. The default
- * value is 5 minutes (PT5M).
+ * accidental repairs. The time duration should be specified in ISO 8601 format. The minimum
+ * allowed grace period is 30 minutes (PT30M), which is also the default value.
*/
gracePeriod?: string;
- /**
- * The percentage (capacity of scaleset) of virtual machines that will be simultaneously
- * repaired. The default value is 20%.
- */
- maxInstanceRepairsPercent?: number;
}
/**
@@ -1519,22 +1529,21 @@ export interface DiagnosticsProfile {
}
/**
- * Specifies the billing related details of a low priority VM or VMSS.
Minimum api-version:
+ * Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version:
* 2019-03-01.
*/
export interface BillingProfile {
/**
- * Specifies the maximum price you are willing to pay for a low priority VM/VMSS. This price is
- * in US Dollars.
This price will be compared with the current low priority price for
- * the VM size. Also, the prices are compared at the time of create/update of low priority
- * VM/VMSS and the operation will only succeed if the maxPrice is greater than the current low
- * priority price.
The maxPrice will also be used for evicting a low priority VM/VMSS if
- * the current low priority price goes beyond the maxPrice after creation of VM/VMSS.
- * Possible values are:
- Any decimal value greater than zero. Example: $0.01538
- *
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice
- * to -1 to indicate that the low priority VM/VMSS should not be evicted for price reasons. Also,
- * the default max price is -1 if it is not provided by you.
Minimum api-version:
- * 2019-03-01.
+ * Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in
+ * US Dollars.
This price will be compared with the current Azure Spot price for the VM
+ * size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the
+ * operation will only succeed if the maxPrice is greater than the current Azure Spot price.
+ *
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure
+ * Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
+ *
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates
+ * default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that
+ * the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is
+ * -1 if it is not provided by you.
Minimum api-version: 2019-03-01.
*/
maxPrice?: number;
}
@@ -1824,17 +1833,17 @@ export interface VirtualMachine extends Resource {
proximityPlacementGroup?: SubResource;
/**
* Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01.
- * Possible values include: 'Regular', 'Low'
+ * Possible values include: 'Regular', 'Low', 'Spot'
*/
priority?: VirtualMachinePriorityTypes;
/**
- * Specifies the eviction policy for the low priority virtual machine. Only supported value is
+ * Specifies the eviction policy for the Azure Spot virtual machine. Only supported value is
* 'Deallocate'.
Minimum api-version: 2019-03-01. Possible values include: 'Deallocate',
* 'Delete'
*/
evictionPolicy?: VirtualMachineEvictionPolicyTypes;
/**
- * Specifies the billing related details of a low priority virtual machine.
Minimum
+ * Specifies the billing related details of a Azure Spot virtual machine.
Minimum
* api-version: 2019-03-01.
*/
billingProfile?: BillingProfile;
@@ -1950,17 +1959,17 @@ export interface VirtualMachineUpdate extends UpdateResource {
proximityPlacementGroup?: SubResource;
/**
* Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01.
- * Possible values include: 'Regular', 'Low'
+ * Possible values include: 'Regular', 'Low', 'Spot'
*/
priority?: VirtualMachinePriorityTypes;
/**
- * Specifies the eviction policy for the low priority virtual machine. Only supported value is
+ * Specifies the eviction policy for the Azure Spot virtual machine. Only supported value is
* 'Deallocate'.
Minimum api-version: 2019-03-01. Possible values include: 'Deallocate',
* 'Delete'
*/
evictionPolicy?: VirtualMachineEvictionPolicyTypes;
/**
- * Specifies the billing related details of a low priority virtual machine.
Minimum
+ * Specifies the billing related details of a Azure Spot virtual machine.
Minimum
* api-version: 2019-03-01.
*/
billingProfile?: BillingProfile;
@@ -2880,6 +2889,11 @@ export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly {
* The name of the extension.
*/
name?: string;
+ /**
+ * Resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
/**
* If a value is provided and is different from the previous value, the extension handler will be
* forced to update even if the extension configuration has not changed.
@@ -2892,7 +2906,64 @@ export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly {
/**
* Specifies the type of the extension; an example is "CustomScriptExtension".
*/
- type?: string;
+ type1?: string;
+ /**
+ * Specifies the version of the script handler.
+ */
+ typeHandlerVersion?: string;
+ /**
+ * Indicates whether the extension should use a newer minor version if one is available at
+ * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
+ * redeployed, even with this property set to true.
+ */
+ autoUpgradeMinorVersion?: boolean;
+ /**
+ * Json formatted public settings for the extension.
+ */
+ settings?: any;
+ /**
+ * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
+ * protected settings at all.
+ */
+ protectedSettings?: any;
+ /**
+ * The provisioning state, which only appears in the response.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: string;
+ /**
+ * Collection of extension names after which this extension needs to be provisioned.
+ */
+ provisionAfterExtensions?: string[];
+}
+
+/**
+ * Describes a Virtual Machine Scale Set Extension.
+ */
+export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly {
+ /**
+ * The name of the extension.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+ /**
+ * If a value is provided and is different from the previous value, the extension handler will be
+ * forced to update even if the extension configuration has not changed.
+ */
+ forceUpdateTag?: string;
+ /**
+ * The name of the extension handler publisher.
+ */
+ publisher?: string;
+ /**
+ * Specifies the type of the extension; an example is "CustomScriptExtension".
+ */
+ type1?: string;
/**
* Specifies the version of the script handler.
*/
@@ -2996,17 +3067,16 @@ export interface VirtualMachineScaleSetVMProfile {
licenseType?: string;
/**
* Specifies the priority for the virtual machines in the scale set.
Minimum api-version:
- * 2017-10-30-preview. Possible values include: 'Regular', 'Low'
+ * 2017-10-30-preview. Possible values include: 'Regular', 'Low', 'Spot'
*/
priority?: VirtualMachinePriorityTypes;
/**
- * Specifies the eviction policy for virtual machines in a low priority scale set.
- *
Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate',
- * 'Delete'
+ * Specifies the eviction policy for virtual machines in a Azure Spot scale set.
Minimum
+ * api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'
*/
evictionPolicy?: VirtualMachineEvictionPolicyTypes;
/**
- * Specifies the billing related details of a low priority VMSS.
Minimum api-version:
+ * Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version:
* 2019-03-01.
*/
billingProfile?: BillingProfile;
@@ -3045,7 +3115,7 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
*/
licenseType?: string;
/**
- * Specifies the billing related details of a low priority VMSS.
Minimum api-version:
+ * Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version:
* 2019-03-01.
*/
billingProfile?: BillingProfile;
@@ -3211,6 +3281,11 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource {
* a Virtual Machine Scale Set is scaled-in.
*/
scaleInPolicy?: ScaleInPolicy;
+ /**
+ * Specifies information about the proximity placement group that the virtual machine scale set
+ * should be assigned to.
Minimum api-version: 2018-04-01.
+ */
+ proximityPlacementGroup?: SubResource;
/**
* The identity of the virtual machine scale set, if configured.
*/
@@ -4254,9 +4329,8 @@ export interface CreationData {
*/
createOption: DiskCreateOption;
/**
- * If createOption is Import, the Azure Resource Manager identifier of the storage account
- * containing the blob to import as a disk. Required only if the blob is in a different
- * subscription
+ * Required if createOption is Import. The Azure Resource Manager identifier of the storage
+ * account containing the blob to import as a disk.
*/
storageAccountId?: string;
/**
@@ -4720,6 +4794,24 @@ export interface Gallery extends Resource {
readonly provisioningState?: ProvisioningState;
}
+/**
+ * Specifies information about the Shared Image Gallery that you want to update.
+ */
+export interface GalleryUpdate extends UpdateResource {
+ /**
+ * The description of this Shared Image Gallery resource. This property is updatable.
+ */
+ description?: string;
+ identifier?: GalleryIdentifier;
+ /**
+ * The current state of the gallery. The provisioning state, which only appears in the response.
+ * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
+ * 'Migrating'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: ProvisioningState;
+}
+
/**
* Specifies information about the gallery Application Definition that you want to create or
* update.
@@ -4754,6 +4846,39 @@ export interface GalleryApplication extends Resource {
supportedOSType: OperatingSystemTypes;
}
+/**
+ * Specifies information about the gallery Application Definition that you want to update.
+ */
+export interface GalleryApplicationUpdate extends UpdateResource {
+ /**
+ * The description of this gallery Application Definition resource. This property is updatable.
+ */
+ description?: string;
+ /**
+ * The Eula agreement for the gallery Application Definition.
+ */
+ eula?: string;
+ /**
+ * The privacy statement uri.
+ */
+ privacyStatementUri?: string;
+ /**
+ * The release note uri.
+ */
+ releaseNoteUri?: string;
+ /**
+ * The end of life date of the gallery Application Definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ endOfLifeDate?: Date;
+ /**
+ * This property allows you to specify the supported type of the OS that application is built
+ * for.
Possible values are:
**Windows**
**Linux**. Possible values
+ * include: 'Windows', 'Linux'
+ */
+ supportedOSType: OperatingSystemTypes;
+}
+
/**
* The source image from which the Image Version is going to be created.
*/
@@ -4882,6 +5007,24 @@ export interface GalleryApplicationVersion extends Resource {
readonly replicationStatus?: ReplicationStatus;
}
+/**
+ * Specifies information about the gallery Application Version that you want to update.
+ */
+export interface GalleryApplicationVersionUpdate extends UpdateResource {
+ publishingProfile: GalleryApplicationVersionPublishingProfile;
+ /**
+ * The current state of the gallery Application Version. The provisioning state, which only
+ * appears in the response. Possible values include: 'Creating', 'Updating', 'Failed',
+ * 'Succeeded', 'Deleting', 'Migrating'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: ProvisioningState1;
+ /**
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly replicationStatus?: ReplicationStatus;
+}
+
/**
* This is the gallery Image Definition identifier.
*/
@@ -5005,6 +5148,60 @@ export interface GalleryImage extends Resource {
readonly provisioningState?: ProvisioningState2;
}
+/**
+ * Specifies information about the gallery Image Definition that you want to update.
+ */
+export interface GalleryImageUpdate extends UpdateResource {
+ /**
+ * The description of this gallery Image Definition resource. This property is updatable.
+ */
+ description?: string;
+ /**
+ * The Eula agreement for the gallery Image Definition.
+ */
+ eula?: string;
+ /**
+ * The privacy statement uri.
+ */
+ privacyStatementUri?: string;
+ /**
+ * The release note uri.
+ */
+ releaseNoteUri?: string;
+ /**
+ * This property allows you to specify the type of the OS that is included in the disk when
+ * creating a VM from a managed image.
Possible values are:
**Windows**
+ *
**Linux**. Possible values include: 'Windows', 'Linux'
+ */
+ osType: OperatingSystemTypes;
+ /**
+ * This property allows the user to specify whether the virtual machines created under this image
+ * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'
+ */
+ osState: OperatingSystemStateTypes;
+ /**
+ * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values
+ * include: 'V1', 'V2'
+ */
+ hyperVGeneration?: HyperVGeneration;
+ /**
+ * The end of life date of the gallery Image Definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ endOfLifeDate?: Date;
+ identifier: GalleryImageIdentifier;
+ recommended?: RecommendedMachineConfiguration;
+ disallowed?: Disallowed;
+ purchasePlan?: ImagePurchasePlan;
+ /**
+ * The current state of the gallery Image Definition. The provisioning state, which only appears
+ * in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
+ * 'Deleting', 'Migrating'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: ProvisioningState2;
+}
+
/**
* The publishing profile of a gallery Image Version.
*/
@@ -5088,6 +5285,25 @@ export interface GalleryImageVersion extends Resource {
readonly replicationStatus?: ReplicationStatus;
}
+/**
+ * Specifies information about the gallery Image Version that you want to update.
+ */
+export interface GalleryImageVersionUpdate extends UpdateResource {
+ publishingProfile?: GalleryImageVersionPublishingProfile;
+ /**
+ * The current state of the gallery Image Version. The provisioning state, which only appears in
+ * the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
+ * 'Deleting', 'Migrating'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: ProvisioningState3;
+ storageProfile: GalleryImageVersionStorageProfile;
+ /**
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly replicationStatus?: ReplicationStatus;
+}
+
/**
* Describes the target region information.
*/
@@ -5345,6 +5561,17 @@ export interface AvailabilitySetsListBySubscriptionOptionalParams extends msRest
expand?: string;
}
+/**
+ * Optional Parameters.
+ */
+export interface ProximityPlacementGroupsGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * includeColocationStatus=true enables fetching the colocation status of all the resources in
+ * the proximity placement group.
+ */
+ includeColocationStatus?: string;
+}
+
/**
* Optional Parameters.
*/
@@ -6264,45 +6491,45 @@ export type SettingNames = 'AutoLogon' | 'FirstLogonCommands';
export type ProtocolTypes = 'Http' | 'Https';
/**
- * Defines values for ResourceIdentityType.
- * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
- * 'None'
+ * Defines values for VirtualMachinePriorityTypes.
+ * Possible values include: 'Regular', 'Low', 'Spot'
* @readonly
* @enum {string}
*/
-export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';
+export type VirtualMachinePriorityTypes = 'Regular' | 'Low' | 'Spot';
/**
- * Defines values for MaintenanceOperationResultCodeTypes.
- * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted'
+ * Defines values for VirtualMachineEvictionPolicyTypes.
+ * Possible values include: 'Deallocate', 'Delete'
* @readonly
* @enum {string}
*/
-export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted';
+export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete';
/**
- * Defines values for HyperVGenerationType.
- * Possible values include: 'V1', 'V2'
+ * Defines values for ResourceIdentityType.
+ * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
+ * 'None'
* @readonly
* @enum {string}
*/
-export type HyperVGenerationType = 'V1' | 'V2';
+export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';
/**
- * Defines values for VirtualMachinePriorityTypes.
- * Possible values include: 'Regular', 'Low'
+ * Defines values for MaintenanceOperationResultCodeTypes.
+ * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted'
* @readonly
* @enum {string}
*/
-export type VirtualMachinePriorityTypes = 'Regular' | 'Low';
+export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted';
/**
- * Defines values for VirtualMachineEvictionPolicyTypes.
- * Possible values include: 'Deallocate', 'Delete'
+ * Defines values for HyperVGenerationType.
+ * Possible values include: 'V1', 'V2'
* @readonly
* @enum {string}
*/
-export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete';
+export type HyperVGenerationType = 'V1' | 'V2';
/**
* Defines values for UpgradeMode.
@@ -8357,6 +8584,26 @@ export type VirtualMachineScaleSetExtensionsCreateOrUpdateResponse = VirtualMach
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type VirtualMachineScaleSetExtensionsUpdateResponse = VirtualMachineScaleSetExtension & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: VirtualMachineScaleSetExtension;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
@@ -8417,6 +8664,26 @@ export type VirtualMachineScaleSetExtensionsBeginCreateOrUpdateResponse = Virtua
};
};
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type VirtualMachineScaleSetExtensionsBeginUpdateResponse = VirtualMachineScaleSetExtension & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: VirtualMachineScaleSetExtension;
+ };
+};
+
/**
* Contains response data for the listNext operation.
*/
@@ -9557,6 +9824,26 @@ export type GalleriesCreateOrUpdateResponse = Gallery & {
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GalleriesUpdateResponse = Gallery & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: Gallery;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
@@ -9637,6 +9924,26 @@ export type GalleriesBeginCreateOrUpdateResponse = Gallery & {
};
};
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GalleriesBeginUpdateResponse = Gallery & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: Gallery;
+ };
+};
+
/**
* Contains response data for the listByResourceGroupNext operation.
*/
@@ -9697,6 +10004,26 @@ export type GalleryImagesCreateOrUpdateResponse = GalleryImage & {
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GalleryImagesUpdateResponse = GalleryImage & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryImage;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
@@ -9757,6 +10084,26 @@ export type GalleryImagesBeginCreateOrUpdateResponse = GalleryImage & {
};
};
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GalleryImagesBeginUpdateResponse = GalleryImage & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryImage;
+ };
+};
+
/**
* Contains response data for the listByGalleryNext operation.
*/
@@ -9797,6 +10144,26 @@ export type GalleryImageVersionsCreateOrUpdateResponse = GalleryImageVersion & {
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GalleryImageVersionsUpdateResponse = GalleryImageVersion & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryImageVersion;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
@@ -9857,6 +10224,26 @@ export type GalleryImageVersionsBeginCreateOrUpdateResponse = GalleryImageVersio
};
};
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GalleryImageVersionsBeginUpdateResponse = GalleryImageVersion & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryImageVersion;
+ };
+};
+
/**
* Contains response data for the listByGalleryImageNext operation.
*/
@@ -9897,6 +10284,26 @@ export type GalleryApplicationsCreateOrUpdateResponse = GalleryApplication & {
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GalleryApplicationsUpdateResponse = GalleryApplication & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryApplication;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
@@ -9957,6 +10364,26 @@ export type GalleryApplicationsBeginCreateOrUpdateResponse = GalleryApplication
};
};
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GalleryApplicationsBeginUpdateResponse = GalleryApplication & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryApplication;
+ };
+};
+
/**
* Contains response data for the listByGalleryNext operation.
*/
@@ -9997,6 +10424,26 @@ export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicatio
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryApplicationVersion;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
@@ -10057,6 +10504,26 @@ export type GalleryApplicationVersionsBeginCreateOrUpdateResponse = GalleryAppli
};
};
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GalleryApplicationVersionsBeginUpdateResponse = GalleryApplicationVersion & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GalleryApplicationVersion;
+ };
+};
+
/**
* Contains response data for the listByGalleryApplicationNext operation.
*/
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index e03e5c1f94a7..d5605ddd6ad2 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -280,6 +280,27 @@ export const UpdateResource: msRest.CompositeMapper = {
}
}
}
+ },
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -1035,7 +1056,7 @@ export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = {
name: "String"
}
},
- type: {
+ virtualMachineExtensionUpdateType: {
serializedName: "properties.type",
type: {
name: "String"
@@ -2202,12 +2223,6 @@ export const AutomaticRepairsPolicy: msRest.CompositeMapper = {
type: {
name: "String"
}
- },
- maxInstanceRepairsPercent: {
- serializedName: "maxInstanceRepairsPercent",
- type: {
- name: "Number"
- }
}
}
}
@@ -4377,6 +4392,13 @@ export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = {
name: "String"
}
},
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
forceUpdateTag: {
serializedName: "properties.forceUpdateTag",
type: {
@@ -4389,7 +4411,92 @@ export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = {
name: "String"
}
},
+ type1: {
+ serializedName: "properties.type",
+ type: {
+ name: "String"
+ }
+ },
+ typeHandlerVersion: {
+ serializedName: "properties.typeHandlerVersion",
+ type: {
+ name: "String"
+ }
+ },
+ autoUpgradeMinorVersion: {
+ serializedName: "properties.autoUpgradeMinorVersion",
+ type: {
+ name: "Boolean"
+ }
+ },
+ settings: {
+ serializedName: "properties.settings",
+ type: {
+ name: "Object"
+ }
+ },
+ protectedSettings: {
+ serializedName: "properties.protectedSettings",
+ type: {
+ name: "Object"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ provisionAfterExtensions: {
+ serializedName: "properties.provisionAfterExtensions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const VirtualMachineScaleSetExtensionUpdate: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineScaleSetExtensionUpdate",
+ type: {
+ name: "Composite",
+ className: "VirtualMachineScaleSetExtensionUpdate",
+ modelProperties: {
+ ...SubResourceReadOnly.type.modelProperties,
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ forceUpdateTag: {
+ serializedName: "properties.forceUpdateTag",
+ type: {
+ name: "String"
+ }
+ },
+ publisher: {
+ serializedName: "properties.publisher",
+ type: {
+ name: "String"
+ }
+ },
+ type1: {
serializedName: "properties.type",
type: {
name: "String"
@@ -4880,6 +4987,13 @@ export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = {
className: "ScaleInPolicy"
}
},
+ proximityPlacementGroup: {
+ serializedName: "properties.proximityPlacementGroup",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ },
identity: {
serializedName: "identity",
type: {
@@ -7413,6 +7527,37 @@ export const Gallery: msRest.CompositeMapper = {
}
};
+export const GalleryUpdate: msRest.CompositeMapper = {
+ serializedName: "GalleryUpdate",
+ type: {
+ name: "Composite",
+ className: "GalleryUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ description: {
+ serializedName: "properties.description",
+ type: {
+ name: "String"
+ }
+ },
+ identifier: {
+ serializedName: "properties.identifier",
+ type: {
+ name: "Composite",
+ className: "GalleryIdentifier"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const GalleryApplication: msRest.CompositeMapper = {
serializedName: "GalleryApplication",
type: {
@@ -7465,6 +7610,58 @@ export const GalleryApplication: msRest.CompositeMapper = {
}
};
+export const GalleryApplicationUpdate: msRest.CompositeMapper = {
+ serializedName: "GalleryApplicationUpdate",
+ type: {
+ name: "Composite",
+ className: "GalleryApplicationUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ description: {
+ serializedName: "properties.description",
+ type: {
+ name: "String"
+ }
+ },
+ eula: {
+ serializedName: "properties.eula",
+ type: {
+ name: "String"
+ }
+ },
+ privacyStatementUri: {
+ serializedName: "properties.privacyStatementUri",
+ type: {
+ name: "String"
+ }
+ },
+ releaseNoteUri: {
+ serializedName: "properties.releaseNoteUri",
+ type: {
+ name: "String"
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ supportedOSType: {
+ required: true,
+ serializedName: "properties.supportedOSType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Windows",
+ "Linux"
+ ]
+ }
+ }
+ }
+ }
+};
+
export const UserArtifactSource: msRest.CompositeMapper = {
serializedName: "UserArtifactSource",
type: {
@@ -7675,6 +7872,40 @@ export const GalleryApplicationVersion: msRest.CompositeMapper = {
}
};
+export const GalleryApplicationVersionUpdate: msRest.CompositeMapper = {
+ serializedName: "GalleryApplicationVersionUpdate",
+ type: {
+ name: "Composite",
+ className: "GalleryApplicationVersionUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ publishingProfile: {
+ required: true,
+ serializedName: "properties.publishingProfile",
+ type: {
+ name: "Composite",
+ className: "GalleryApplicationVersionPublishingProfile"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ replicationStatus: {
+ readOnly: true,
+ serializedName: "properties.replicationStatus",
+ type: {
+ name: "Composite",
+ className: "ReplicationStatus"
+ }
+ }
+ }
+ }
+};
+
export const GalleryImageIdentifier: msRest.CompositeMapper = {
serializedName: "GalleryImageIdentifier",
type: {
@@ -7906,6 +8137,111 @@ export const GalleryImage: msRest.CompositeMapper = {
}
};
+export const GalleryImageUpdate: msRest.CompositeMapper = {
+ serializedName: "GalleryImageUpdate",
+ type: {
+ name: "Composite",
+ className: "GalleryImageUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ description: {
+ serializedName: "properties.description",
+ type: {
+ name: "String"
+ }
+ },
+ eula: {
+ serializedName: "properties.eula",
+ type: {
+ name: "String"
+ }
+ },
+ privacyStatementUri: {
+ serializedName: "properties.privacyStatementUri",
+ type: {
+ name: "String"
+ }
+ },
+ releaseNoteUri: {
+ serializedName: "properties.releaseNoteUri",
+ type: {
+ name: "String"
+ }
+ },
+ osType: {
+ required: true,
+ serializedName: "properties.osType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Windows",
+ "Linux"
+ ]
+ }
+ },
+ osState: {
+ required: true,
+ serializedName: "properties.osState",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Generalized",
+ "Specialized"
+ ]
+ }
+ },
+ hyperVGeneration: {
+ serializedName: "properties.hyperVGeneration",
+ type: {
+ name: "String"
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ identifier: {
+ required: true,
+ serializedName: "properties.identifier",
+ type: {
+ name: "Composite",
+ className: "GalleryImageIdentifier"
+ }
+ },
+ recommended: {
+ serializedName: "properties.recommended",
+ type: {
+ name: "Composite",
+ className: "RecommendedMachineConfiguration"
+ }
+ },
+ disallowed: {
+ serializedName: "properties.disallowed",
+ type: {
+ name: "Composite",
+ className: "Disallowed"
+ }
+ },
+ purchasePlan: {
+ serializedName: "properties.purchasePlan",
+ type: {
+ name: "Composite",
+ className: "ImagePurchasePlan"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = {
serializedName: "GalleryImageVersionPublishingProfile",
type: {
@@ -8075,6 +8411,47 @@ export const GalleryImageVersion: msRest.CompositeMapper = {
}
};
+export const GalleryImageVersionUpdate: msRest.CompositeMapper = {
+ serializedName: "GalleryImageVersionUpdate",
+ type: {
+ name: "Composite",
+ className: "GalleryImageVersionUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ publishingProfile: {
+ serializedName: "properties.publishingProfile",
+ type: {
+ name: "Composite",
+ className: "GalleryImageVersionPublishingProfile"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ storageProfile: {
+ required: true,
+ serializedName: "properties.storageProfile",
+ type: {
+ name: "Composite",
+ className: "GalleryImageVersionStorageProfile"
+ }
+ },
+ replicationStatus: {
+ readOnly: true,
+ serializedName: "properties.replicationStatus",
+ type: {
+ name: "Composite",
+ className: "ReplicationStatus"
+ }
+ }
+ }
+ }
+};
+
export const TargetRegion: msRest.CompositeMapper = {
serializedName: "TargetRegion",
type: {
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index 03d2749bba17..807b3b71cea0 100644
--- a/sdk/compute/arm-compute/src/models/parameters.ts
+++ b/sdk/compute/arm-compute/src/models/parameters.ts
@@ -225,6 +225,18 @@ export const imageName: msRest.OperationURLParameter = {
}
}
};
+export const includeColocationStatus: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "includeColocationStatus"
+ ],
+ mapper: {
+ serializedName: "includeColocationStatus",
+ 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 b218fb7e88b6..5e32bae05c55 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
index 5f639b4b2840..536f3ec13a55 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -60,8 +60,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -69,10 +71,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
GrantAccessData,
HardwareProfile,
Image,
@@ -150,6 +155,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
index d20211d4faca..dd3a702a5dd3 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -146,6 +151,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
index 0a0773a1fedc..0f793ac5080f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
index d20211d4faca..dd3a702a5dd3 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -146,6 +151,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
index 547c26d0bf19..7266bf1e40a6 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionListResult,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
index d20211d4faca..dd3a702a5dd3 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -146,6 +151,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
index 0a0773a1fedc..0f793ac5080f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -147,6 +152,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
index 970b2ef56b78..4fd942ae94aa 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -150,6 +155,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
index 0ff3e9b90b7a..18335bc31a43 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -152,6 +157,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetInstanceView,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
index 3193450c167d..d94d1f37d822 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -59,8 +59,10 @@ export {
EncryptionSettingsElement,
Gallery,
GalleryApplication,
+ GalleryApplicationUpdate,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -68,10 +70,13 @@ export {
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
+ GalleryImageUpdate,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
GalleryOSDiskImage,
+ GalleryUpdate,
HardwareProfile,
Image,
ImageDataDisk,
@@ -152,6 +157,7 @@ export {
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts
index bf566595c4a2..4f6c2b97875d 100644
--- a/sdk/compute/arm-compute/src/operations/galleries.ts
+++ b/sdk/compute/arm-compute/src/operations/galleries.ts
@@ -41,6 +41,20 @@ export class Galleries {
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
}
+ /**
+ * Update a Shared Image Gallery.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery. The allowed characters are alphabets
+ * and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
+ * @param gallery Parameters supplied to the update Shared Image Gallery operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, gallery: Models.GalleryUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,gallery,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* Retrieves information about a Shared Image Gallery.
* @param resourceGroupName The name of the resource group.
@@ -158,6 +172,27 @@ export class Galleries {
options);
}
+ /**
+ * Update a Shared Image Gallery.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery. The allowed characters are alphabets
+ * and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
+ * @param gallery Parameters supplied to the update Shared Image Gallery operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, gallery: Models.GalleryUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ gallery,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
/**
* Delete a Shared Image Gallery.
* @param resourceGroupName The name of the resource group.
@@ -345,6 +380,38 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "gallery",
+ mapper: {
+ ...Mappers.GalleryUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.Gallery
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
httpMethod: "DELETE",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}",
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
index eeefec14f744..e8ca678a3f1c 100644
--- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
@@ -48,6 +48,27 @@ export class GalleryApplicationVersions {
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
}
+ /**
+ * Update a gallery Application Version.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Application Gallery in which the Application
+ * Definition resides.
+ * @param galleryApplicationName The name of the gallery Application Definition in which the
+ * Application Version is to be updated.
+ * @param galleryApplicationVersionName The name of the gallery Application Version to be updated.
+ * Needs to follow semantic version name pattern: The allowed characters are digit and period.
+ * Digits must be within the range of a 32-bit integer. Format:
+ * ..
+ * @param galleryApplicationVersion Parameters supplied to the update gallery Application Version
+ * operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, galleryApplicationVersion: Models.GalleryApplicationVersionUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,galleryApplicationName,galleryApplicationVersionName,galleryApplicationVersion,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* Retrieves information about a gallery Application Version.
* @param resourceGroupName The name of the resource group.
@@ -185,6 +206,36 @@ export class GalleryApplicationVersions {
options);
}
+ /**
+ * Update a gallery Application Version.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Application Gallery in which the Application
+ * Definition resides.
+ * @param galleryApplicationName The name of the gallery Application Definition in which the
+ * Application Version is to be updated.
+ * @param galleryApplicationVersionName The name of the gallery Application Version to be updated.
+ * Needs to follow semantic version name pattern: The allowed characters are digit and period.
+ * Digits must be within the range of a 32-bit integer. Format:
+ * ..
+ * @param galleryApplicationVersion Parameters supplied to the update gallery Application Version
+ * operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, galleryApplicationVersion: Models.GalleryApplicationVersionUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ galleryApplicationName,
+ galleryApplicationVersionName,
+ galleryApplicationVersion,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
/**
* Delete a gallery Application Version.
* @param resourceGroupName The name of the resource group.
@@ -334,6 +385,40 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName,
+ Parameters.galleryApplicationName,
+ Parameters.galleryApplicationVersionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "galleryApplicationVersion",
+ mapper: {
+ ...Mappers.GalleryApplicationVersionUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.GalleryApplicationVersion
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
httpMethod: "DELETE",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}",
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
index 5a3b0e83b2ea..5ac2e43b7d24 100644
--- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
@@ -45,6 +45,23 @@ export class GalleryApplications {
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
}
+ /**
+ * Update a gallery Application Definition.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Application Gallery in which the Application
+ * Definition is to be updated.
+ * @param galleryApplicationName The name of the gallery Application Definition to be updated. The
+ * allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the
+ * middle. The maximum length is 80 characters.
+ * @param galleryApplication Parameters supplied to the update gallery Application operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplication: Models.GalleryApplicationUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,galleryApplicationName,galleryApplication,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* Retrieves information about a gallery Application Definition.
* @param resourceGroupName The name of the resource group.
@@ -159,6 +176,31 @@ export class GalleryApplications {
options);
}
+ /**
+ * Update a gallery Application Definition.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Application Gallery in which the Application
+ * Definition is to be updated.
+ * @param galleryApplicationName The name of the gallery Application Definition to be updated. The
+ * allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the
+ * middle. The maximum length is 80 characters.
+ * @param galleryApplication Parameters supplied to the update gallery Application operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplication: Models.GalleryApplicationUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ galleryApplicationName,
+ galleryApplication,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
/**
* Delete a gallery Application.
* @param resourceGroupName The name of the resource group.
@@ -301,6 +343,39 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName,
+ Parameters.galleryApplicationName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "galleryApplication",
+ mapper: {
+ ...Mappers.GalleryApplicationUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.GalleryApplication
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
httpMethod: "DELETE",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}",
diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
index 02c415f95c6e..007854770ed3 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
@@ -46,6 +46,24 @@ export class GalleryImageVersions {
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
}
+ /**
+ * Update a gallery Image Version.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
+ * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * to be updated.
+ * @param galleryImageVersionName The name of the gallery Image Version to be updated. Needs to
+ * follow semantic version name pattern: The allowed characters are digit and period. Digits must
+ * be within the range of a 32-bit integer. Format: ..
+ * @param galleryImageVersion Parameters supplied to the update gallery Image Version operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: Models.GalleryImageVersionUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,galleryImageName,galleryImageVersionName,galleryImageVersion,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* Retrieves information about a gallery Image Version.
* @param resourceGroupName The name of the resource group.
@@ -171,6 +189,33 @@ export class GalleryImageVersions {
options);
}
+ /**
+ * Update a gallery Image Version.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
+ * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * to be updated.
+ * @param galleryImageVersionName The name of the gallery Image Version to be updated. Needs to
+ * follow semantic version name pattern: The allowed characters are digit and period. Digits must
+ * be within the range of a 32-bit integer. Format: ..
+ * @param galleryImageVersion Parameters supplied to the update gallery Image Version operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: Models.GalleryImageVersionUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ galleryImageName,
+ galleryImageVersionName,
+ galleryImageVersion,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
/**
* Delete a gallery Image Version.
* @param resourceGroupName The name of the resource group.
@@ -319,6 +364,40 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName,
+ Parameters.galleryImageName,
+ Parameters.galleryImageVersionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "galleryImageVersion",
+ mapper: {
+ ...Mappers.GalleryImageVersionUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.GalleryImageVersion
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
httpMethod: "DELETE",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}",
diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts
index 1205d3f7d769..e0e5b21e7060 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImages.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts
@@ -44,6 +44,23 @@ export class GalleryImages {
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
}
+ /**
+ * Update a gallery Image Definition.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
+ * updated.
+ * @param galleryImageName The name of the gallery Image Definition to be updated. The allowed
+ * characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
+ * maximum length is 80 characters.
+ * @param galleryImage Parameters supplied to the update gallery image operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: Models.GalleryImageUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,galleryImageName,galleryImage,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* Retrieves information about a gallery Image Definition.
* @param resourceGroupName The name of the resource group.
@@ -157,6 +174,31 @@ export class GalleryImages {
options);
}
+ /**
+ * Update a gallery Image Definition.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
+ * updated.
+ * @param galleryImageName The name of the gallery Image Definition to be updated. The allowed
+ * characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
+ * maximum length is 80 characters.
+ * @param galleryImage Parameters supplied to the update gallery image operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: Models.GalleryImageUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ galleryImageName,
+ galleryImage,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
/**
* Delete a gallery image.
* @param resourceGroupName The name of the resource group.
@@ -299,6 +341,39 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName,
+ Parameters.galleryImageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "galleryImage",
+ mapper: {
+ ...Mappers.GalleryImageUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.GalleryImage
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
httpMethod: "DELETE",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}",
diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts
index 5a5ed3f4bbf0..31fc32c8293e 100644
--- a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts
+++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts
@@ -137,7 +137,7 @@ export class ProximityPlacementGroups {
* @param [options] The optional parameters
* @returns Promise
*/
- get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise;
+ get(resourceGroupName: string, proximityPlacementGroupName: string, options?: Models.ProximityPlacementGroupsGetOptionalParams): Promise;
/**
* @param resourceGroupName The name of the resource group.
* @param proximityPlacementGroupName The name of the proximity placement group.
@@ -150,8 +150,8 @@ export class ProximityPlacementGroups {
* @param options The optional parameters
* @param callback The callback
*/
- get(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, proximityPlacementGroupName: string, options: Models.ProximityPlacementGroupsGetOptionalParams, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, proximityPlacementGroupName: string, options?: Models.ProximityPlacementGroupsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -372,6 +372,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
+ Parameters.includeColocationStatus,
Parameters.apiVersion0
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts
index ede0b80fda8d..8b61f0ccfc09 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts
@@ -42,6 +42,20 @@ export class VirtualMachineScaleSetExtensions {
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
}
+ /**
+ * The operation to update an extension.
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set where the extension should be updated.
+ * @param vmssExtensionName The name of the VM scale set extension.
+ * @param extensionParameters Parameters supplied to the Update VM scale set Extension operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetExtensionUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,vmScaleSetName,vmssExtensionName,extensionParameters,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* The operation to delete the extension.
* @param resourceGroupName The name of the resource group.
@@ -146,6 +160,28 @@ export class VirtualMachineScaleSetExtensions {
options);
}
+ /**
+ * The operation to update an extension.
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the VM scale set where the extension should be updated.
+ * @param vmssExtensionName The name of the VM scale set extension.
+ * @param extensionParameters Parameters supplied to the Update VM scale set Extension operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetExtensionUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ vmScaleSetName,
+ vmssExtensionName,
+ extensionParameters,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
/**
* The operation to delete the extension.
* @param resourceGroupName The name of the resource group.
@@ -285,6 +321,42 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmScaleSetName,
+ Parameters.vmssExtensionName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "extensionParameters",
+ mapper: {
+ ...Mappers.VirtualMachineScaleSetExtensionUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.VirtualMachineScaleSetExtension
+ },
+ 201: {
+ bodyMapper: Mappers.VirtualMachineScaleSetExtension
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
httpMethod: "DELETE",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}",
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
index 86375a70676f..93786e091c41 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
@@ -198,7 +198,12 @@ export class VirtualMachines {
}
/**
- * Sets the state of the virtual machine to generalized.
+ * Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the
+ * virtual machine before performing this operation.
For Windows, please refer to [Create a
+ * managed image of a generalized VM in
+ * Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).
For
+ * Linux, please refer to [How to create an image of a virtual machine or
+ * VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).
* @param resourceGroupName The name of the resource group.
* @param vmName The name of the virtual machine.
* @param [options] The optional parameters
diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json
index 422b584abd5e..87bbf5b5fa49 100644
--- a/sdk/compute/arm-compute/tsconfig.json
+++ b/sdk/compute/arm-compute/tsconfig.json
@@ -9,7 +9,7 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
- "lib": ["es6", "dom"],
+ "lib": ["es6"],
"declaration": true,
"outDir": "./esm",
"importHelpers": true