diff --git a/lib/services/computeManagement2/lib/computeManagementClient.d.ts b/lib/services/computeManagement2/lib/computeManagementClient.d.ts
index 11efa212ea..6726ab14f3 100644
--- a/lib/services/computeManagement2/lib/computeManagementClient.d.ts
+++ b/lib/services/computeManagement2/lib/computeManagementClient.d.ts
@@ -72,6 +72,9 @@ export default class ComputeManagementClient extends AzureServiceClient {
resourceSkus: operations.ResourceSkus;
disks: operations.Disks;
snapshots: operations.Snapshots;
+ galleries: operations.Galleries;
+ galleryImages: operations.GalleryImages;
+ galleryImageVersions: operations.GalleryImageVersions;
containerServices: operations.ContainerServices;
}
diff --git a/lib/services/computeManagement2/lib/computeManagementClient.js b/lib/services/computeManagement2/lib/computeManagementClient.js
index b0d346e06d..57e95a4cf4 100644
--- a/lib/services/computeManagement2/lib/computeManagementClient.js
+++ b/lib/services/computeManagement2/lib/computeManagementClient.js
@@ -89,6 +89,9 @@ class ComputeManagementClient extends ServiceClient {
this.resourceSkus = new operations.ResourceSkus(this);
this.disks = new operations.Disks(this);
this.snapshots = new operations.Snapshots(this);
+ this.galleries = new operations.Galleries(this);
+ this.galleryImages = new operations.GalleryImages(this);
+ this.galleryImageVersions = new operations.GalleryImageVersions(this);
this.containerServices = new operations.ContainerServices(this);
this.models = models;
msRest.addSerializationMixin(this);
diff --git a/lib/services/computeManagement2/lib/models/additionalCapabilities.js b/lib/services/computeManagement2/lib/models/additionalCapabilities.js
new file mode 100644
index 0000000000..746837a474
--- /dev/null
+++ b/lib/services/computeManagement2/lib/models/additionalCapabilities.js
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+'use strict';
+
+/**
+ * Enables or disables a capability on the virtual machine or virtual machine
+ * scale set.
+ *
+ */
+class AdditionalCapabilities {
+ /**
+ * Create a AdditionalCapabilities.
+ * @member {boolean} [ultraSSDEnabled] The flag that enables or disables a
+ * capability to have one or more managed data disks with UltraSSD_LRS
+ * storage account type on the VM or VMSS. Managed disks with storage account
+ * type UltraSSD_LRS can be added to a virtual machine or virtual machine
+ * scale set only if this property is enabled.
+ */
+ constructor() {
+ }
+
+ /**
+ * Defines the metadata of AdditionalCapabilities
+ *
+ * @returns {object} metadata of AdditionalCapabilities
+ *
+ */
+ mapper() {
+ return {
+ required: false,
+ serializedName: 'AdditionalCapabilities',
+ type: {
+ name: 'Composite',
+ className: 'AdditionalCapabilities',
+ modelProperties: {
+ ultraSSDEnabled: {
+ required: false,
+ serializedName: 'ultraSSDEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ };
+ }
+}
+
+module.exports = AdditionalCapabilities;
diff --git a/lib/services/computeManagement2/lib/models/automaticOSUpgradePolicy.js b/lib/services/computeManagement2/lib/models/automaticOSUpgradePolicy.js
new file mode 100644
index 0000000000..5b701fce6a
--- /dev/null
+++ b/lib/services/computeManagement2/lib/models/automaticOSUpgradePolicy.js
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+'use strict';
+
+/**
+ * The configuration parameters used for performing automatic OS upgrade.
+ *
+ */
+class AutomaticOSUpgradePolicy {
+ /**
+ * Create a AutomaticOSUpgradePolicy.
+ * @member {boolean} [enableAutomaticOSUpgrade] Whether OS upgrades should
+ * automatically be applied to scale set instances in a rolling fashion when
+ * a newer version of the image becomes available. Default value is false.
+ * @member {boolean} [disableAutomaticRollback] Whether OS image rollback
+ * feature should be disabled. Default value is false.
+ */
+ constructor() {
+ }
+
+ /**
+ * Defines the metadata of AutomaticOSUpgradePolicy
+ *
+ * @returns {object} metadata of AutomaticOSUpgradePolicy
+ *
+ */
+ mapper() {
+ return {
+ required: false,
+ serializedName: 'AutomaticOSUpgradePolicy',
+ type: {
+ name: 'Composite',
+ className: 'AutomaticOSUpgradePolicy',
+ modelProperties: {
+ enableAutomaticOSUpgrade: {
+ required: false,
+ serializedName: 'enableAutomaticOSUpgrade',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ disableAutomaticRollback: {
+ required: false,
+ serializedName: 'disableAutomaticRollback',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ };
+ }
+}
+
+module.exports = AutomaticOSUpgradePolicy;
diff --git a/lib/services/computeManagement2/lib/models/availabilitySet.js b/lib/services/computeManagement2/lib/models/availabilitySet.js
index c7cd6dd84e..dbe8ef6d2c 100644
--- a/lib/services/computeManagement2/lib/models/availabilitySet.js
+++ b/lib/services/computeManagement2/lib/models/availabilitySet.js
@@ -34,7 +34,10 @@ class AvailabilitySet extends models['Resource'] {
* @member {array} [virtualMachines] A list of references to all virtual
* machines in the availability set.
* @member {array} [statuses] The resource status information.
- * @member {object} [sku] Sku of the availability set
+ * @member {object} [sku] Sku of the availability set, only name is required
+ * to be set. See AvailabilitySetSkuTypes for possible set of values. Use
+ * 'Aligned' for virtual machines with managed disks and 'Classic' for
+ * virtual machines with unmanaged disks. Default value is 'Classic'.
* @member {string} [sku.name] The sku name.
* @member {string} [sku.tier] Specifies the tier of virtual machines in a
* scale set.
Possible Values:
**Standard**
This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used
+ * with data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/disk.js b/lib/services/computeManagement2/lib/models/disk.js
index 23236931f5..f3f418f9b9 100644
--- a/lib/services/computeManagement2/lib/models/disk.js
+++ b/lib/services/computeManagement2/lib/models/disk.js
@@ -24,7 +24,7 @@ class Disk extends models['Resource'] {
* that has the disk attached.
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [sku.tier] The sku tier.
* @member {array} [zones] The Logical zone list for Disk.
* @member {date} [timeCreated] The time when the disk was created.
@@ -78,6 +78,12 @@ class Disk extends models['Resource'] {
* @member {string} [encryptionSettings.keyEncryptionKey.keyUrl] Url pointing
* to a key or secret in KeyVault
* @member {string} [provisioningState] The disk provisioning state.
+ * @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ * @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk;
+ * only settable for UltraSSD disks. MBps means millions of bytes per second
+ * - MB here uses the ISO notation, of powers of 10.
*/
constructor() {
super();
@@ -218,6 +224,20 @@ class Disk extends models['Resource'] {
type: {
name: 'String'
}
+ },
+ diskIOPSReadWrite: {
+ required: false,
+ serializedName: 'properties.diskIOPSReadWrite',
+ type: {
+ name: 'Number'
+ }
+ },
+ diskMBpsReadWrite: {
+ required: false,
+ serializedName: 'properties.diskMBpsReadWrite',
+ type: {
+ name: 'Number'
+ }
}
}
}
diff --git a/lib/services/computeManagement2/lib/models/diskSku.js b/lib/services/computeManagement2/lib/models/diskSku.js
index d6f7c27c4c..bbe7a171ba 100644
--- a/lib/services/computeManagement2/lib/models/diskSku.js
+++ b/lib/services/computeManagement2/lib/models/diskSku.js
@@ -11,14 +11,15 @@
'use strict';
/**
- * The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS.
+ * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or
+ * UltraSSD_LRS.
*
*/
class DiskSku {
/**
* Create a DiskSku.
* @member {string} [name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [tier] The sku tier. Default value: 'Standard' .
*/
constructor() {
diff --git a/lib/services/computeManagement2/lib/models/diskUpdate.js b/lib/services/computeManagement2/lib/models/diskUpdate.js
index 68818a04b2..8e023d33a8 100644
--- a/lib/services/computeManagement2/lib/models/diskUpdate.js
+++ b/lib/services/computeManagement2/lib/models/diskUpdate.js
@@ -47,10 +47,16 @@ class DiskUpdate {
* Resource Id
* @member {string} [encryptionSettings.keyEncryptionKey.keyUrl] Url pointing
* to a key or secret in KeyVault
+ * @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ * @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk;
+ * only settable for UltraSSD disks. MBps means millions of bytes per second
+ * - MB here uses the ISO notation, of powers of 10.
* @member {object} [tags] Resource tags
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [sku.tier] The sku tier.
*/
constructor() {
@@ -93,6 +99,20 @@ class DiskUpdate {
className: 'EncryptionSettings'
}
},
+ diskIOPSReadWrite: {
+ required: false,
+ serializedName: 'properties.diskIOPSReadWrite',
+ type: {
+ name: 'Number'
+ }
+ },
+ diskMBpsReadWrite: {
+ required: false,
+ serializedName: 'properties.diskMBpsReadWrite',
+ type: {
+ name: 'Number'
+ }
+ },
tags: {
required: false,
serializedName: 'tags',
diff --git a/lib/services/computeManagement2/lib/models/gallery.js b/lib/services/computeManagement2/lib/models/gallery.js
index 08b43a45d4..2a046e2784 100644
--- a/lib/services/computeManagement2/lib/models/gallery.js
+++ b/lib/services/computeManagement2/lib/models/gallery.js
@@ -13,16 +13,19 @@
const models = require('./index');
/**
- * Specifies information about the gallery that you want to create or update.
+ * Specifies information about the Shared Image Gallery that you want to create
+ * or update.
*
* @extends models['Resource']
*/
class Gallery extends models['Resource'] {
/**
* Create a Gallery.
- * @member {string} [description] The description of this gallery resource.
+ * @member {string} [description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
* @member {object} [identifier]
- * @member {string} [identifier.uniqueName] The unique name of the gallery
+ * @member {string} [identifier.uniqueName] The unique name of the Shared
+ * Image Gallery. This name is generated automatically by Azure.
* @member {string} [provisioningState] The current state of the gallery. The
* provisioning state, which only appears in the response. Possible values
* include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
diff --git a/lib/services/computeManagement2/lib/models/galleryArtifactPublishingProfileBase.js b/lib/services/computeManagement2/lib/models/galleryArtifactPublishingProfileBase.js
index c1b20e9698..31822f68b5 100644
--- a/lib/services/computeManagement2/lib/models/galleryArtifactPublishingProfileBase.js
+++ b/lib/services/computeManagement2/lib/models/galleryArtifactPublishingProfileBase.js
@@ -10,8 +10,6 @@
'use strict';
-const models = require('./index');
-
/**
* Describes the basic gallery artifact publishing profile.
*
@@ -19,9 +17,9 @@ const models = require('./index');
class GalleryArtifactPublishingProfileBase {
/**
* Create a GalleryArtifactPublishingProfileBase.
- * @member {array} [regions] The regions where the artifact is going to be
- * published.
- * @member {object} [source]
+ * @member {array} [targetRegions] The target regions where the Image Version
+ * is going to be replicated to. This property is updateable.
+ * @member {object} source
* @member {object} [source.managedImage]
* @member {string} [source.managedImage.id] The managed artifact id.
*/
@@ -42,22 +40,23 @@ class GalleryArtifactPublishingProfileBase {
name: 'Composite',
className: 'GalleryArtifactPublishingProfileBase',
modelProperties: {
- regions: {
+ targetRegions: {
required: false,
- serializedName: 'regions',
+ serializedName: 'targetRegions',
type: {
name: 'Sequence',
element: {
required: false,
- serializedName: 'StringElementType',
+ serializedName: 'TargetRegionElementType',
type: {
- name: 'String'
+ name: 'Composite',
+ className: 'TargetRegion'
}
}
}
},
source: {
- required: false,
+ required: true,
serializedName: 'source',
type: {
name: 'Composite',
diff --git a/lib/services/computeManagement2/lib/models/galleryArtifactSource.js b/lib/services/computeManagement2/lib/models/galleryArtifactSource.js
index 3a7a7e3c1a..d2bd4723e5 100644
--- a/lib/services/computeManagement2/lib/models/galleryArtifactSource.js
+++ b/lib/services/computeManagement2/lib/models/galleryArtifactSource.js
@@ -10,16 +10,14 @@
'use strict';
-const models = require('./index');
-
/**
- * The source of the gallery artifact.
+ * The source image from which the Image Version is going to be created.
*
*/
class GalleryArtifactSource {
/**
* Create a GalleryArtifactSource.
- * @member {object} [managedImage]
+ * @member {object} managedImage
* @member {string} [managedImage.id] The managed artifact id.
*/
constructor() {
@@ -40,7 +38,7 @@ class GalleryArtifactSource {
className: 'GalleryArtifactSource',
modelProperties: {
managedImage: {
- required: false,
+ required: true,
serializedName: 'managedImage',
type: {
name: 'Composite',
diff --git a/lib/services/computeManagement2/lib/models/galleryDataDiskImage.js b/lib/services/computeManagement2/lib/models/galleryDataDiskImage.js
index 64f6b11538..8ddf4e18fa 100644
--- a/lib/services/computeManagement2/lib/models/galleryDataDiskImage.js
+++ b/lib/services/computeManagement2/lib/models/galleryDataDiskImage.js
@@ -20,9 +20,10 @@ const models = require('./index');
class GalleryDataDiskImage extends models['GalleryDiskImage'] {
/**
* Create a GalleryDataDiskImage.
- * @member {number} [lun] Specifies the logical unit number of the data disk.
- * This value is used to identify data disks within the VM and therefore must
- * be unique for each data disk attached to a VM.
+ * @member {number} [lun] This property specifies the logical unit number of
+ * the data disk. This value is used to identify data disks within the
+ * Virtual Machine and therefore must be unique for each data disk attached
+ * to the Virtual Machine.
*/
constructor() {
super();
@@ -42,15 +43,17 @@ class GalleryDataDiskImage extends models['GalleryDiskImage'] {
name: 'Composite',
className: 'GalleryDataDiskImage',
modelProperties: {
- sizedInGB: {
+ sizeInGB: {
required: false,
- serializedName: 'sizedInGB',
+ readOnly: true,
+ serializedName: 'sizeInGB',
type: {
name: 'Number'
}
},
hostCaching: {
required: false,
+ readOnly: true,
serializedName: 'hostCaching',
type: {
name: 'Enum',
@@ -59,6 +62,7 @@ class GalleryDataDiskImage extends models['GalleryDiskImage'] {
},
lun: {
required: false,
+ readOnly: true,
serializedName: 'lun',
type: {
name: 'Number'
diff --git a/lib/services/computeManagement2/lib/models/galleryDiskImage.js b/lib/services/computeManagement2/lib/models/galleryDiskImage.js
index cec9fba41c..fb700c79dd 100644
--- a/lib/services/computeManagement2/lib/models/galleryDiskImage.js
+++ b/lib/services/computeManagement2/lib/models/galleryDiskImage.js
@@ -17,7 +17,8 @@
class GalleryDiskImage {
/**
* Create a GalleryDiskImage.
- * @member {number} [sizedInGB] It indicates the size of the VHD to create.
+ * @member {number} [sizeInGB] This property indicates the size of the VHD to
+ * be created.
* @member {string} [hostCaching] The host caching of the disk. Valid values
* are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None',
* 'ReadOnly', 'ReadWrite'
@@ -39,15 +40,17 @@ class GalleryDiskImage {
name: 'Composite',
className: 'GalleryDiskImage',
modelProperties: {
- sizedInGB: {
+ sizeInGB: {
required: false,
- serializedName: 'sizedInGB',
+ readOnly: true,
+ serializedName: 'sizeInGB',
type: {
name: 'Number'
}
},
hostCaching: {
required: false,
+ readOnly: true,
serializedName: 'hostCaching',
type: {
name: 'Enum',
diff --git a/lib/services/computeManagement2/lib/models/galleryIdentifier.js b/lib/services/computeManagement2/lib/models/galleryIdentifier.js
index e46d6d12e0..64371a28d8 100644
--- a/lib/services/computeManagement2/lib/models/galleryIdentifier.js
+++ b/lib/services/computeManagement2/lib/models/galleryIdentifier.js
@@ -11,12 +11,14 @@
'use strict';
/**
- * Class representing a GalleryIdentifier.
+ * Describes the gallery unique name.
+ *
*/
class GalleryIdentifier {
/**
* Create a GalleryIdentifier.
- * @member {string} [uniqueName] The unique name of the gallery
+ * @member {string} [uniqueName] The unique name of the Shared Image Gallery.
+ * This name is generated automatically by Azure.
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/galleryImage.js b/lib/services/computeManagement2/lib/models/galleryImage.js
index 74bab164a2..f1ebd775ab 100644
--- a/lib/services/computeManagement2/lib/models/galleryImage.js
+++ b/lib/services/computeManagement2/lib/models/galleryImage.js
@@ -13,30 +13,36 @@
const models = require('./index');
/**
- * Specifies information about the gallery image that you want to create or
- * update.
+ * Specifies information about the gallery Image Definition that you want to
+ * create or update.
*
* @extends models['Resource']
*/
class GalleryImage extends models['Resource'] {
/**
* Create a GalleryImage.
- * @member {string} [description] The description of this gallery image
- * resource.
- * @member {string} [eula] The Eula agreement for the gallery image.
+ * @member {string} [description] The description of this gallery Image
+ * Definition resource. This property is updateable.
+ * @member {string} [eula] The Eula agreement for the gallery Image
+ * Definition.
* @member {string} [privacyStatementUri] The privacy statement uri.
* @member {string} [releaseNoteUri] The release note uri.
- * @member {string} [osType] This property allows you to specify the type of
- * the OS that is included in the disk if creating a VM from user-image or a
- * specialized VHD.
Possible values are:
**Windows**
- *
**Linux**. Possible values include: 'Windows', 'Linux'
- * @member {string} [osState] The OS State. Possible values include:
- * 'Generalized', 'Specialized'
- * @member {date} [endOfLifeDate] The end of life of this gallery image.
- * @member {object} [identifier]
- * @member {string} [identifier.publisher] The gallery image publisher name.
- * @member {string} [identifier.offer] The gallery image offer name.
- * @member {string} [identifier.sku] The gallery image sku name.
+ * @member {string} osType 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'
+ * @member {string} osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
+ * @member {date} [endOfLifeDate] The end of life date of the gallery Image
+ * Definition. This property can be used for decommissioning purposes. This
+ * property is updateable.
+ * @member {object} identifier
+ * @member {string} [identifier.publisher] The name of the gallery Image
+ * Definition publisher.
+ * @member {string} [identifier.offer] The name of the gallery Image
+ * Definition offer.
+ * @member {string} [identifier.sku] The name of the gallery Image Definition
+ * SKU.
* @member {object} [recommended]
* @member {object} [recommended.vCPUs]
* @member {number} [recommended.vCPUs.min] The minimum number of the
@@ -55,9 +61,9 @@ class GalleryImage extends models['Resource'] {
* @member {string} [purchasePlan.publisher] The publisher ID.
* @member {string} [purchasePlan.product] The product ID.
* @member {string} [provisioningState] The current state of the gallery
- * image. The provisioning state, which only appears in the response.
- * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
- * 'Deleting', 'Migrating'
+ * Image Definition. The provisioning state, which only appears in the
+ * response. Possible values include: 'Creating', 'Updating', 'Failed',
+ * 'Succeeded', 'Deleting', 'Migrating'
*/
constructor() {
super();
@@ -151,7 +157,7 @@ class GalleryImage extends models['Resource'] {
}
},
osType: {
- required: false,
+ required: true,
serializedName: 'properties.osType',
type: {
name: 'Enum',
@@ -159,7 +165,7 @@ class GalleryImage extends models['Resource'] {
}
},
osState: {
- required: false,
+ required: true,
serializedName: 'properties.osState',
type: {
name: 'Enum',
@@ -170,11 +176,11 @@ class GalleryImage extends models['Resource'] {
required: false,
serializedName: 'properties.endOfLifeDate',
type: {
- name: 'Date'
+ name: 'DateTime'
}
},
identifier: {
- required: false,
+ required: true,
serializedName: 'properties.identifier',
type: {
name: 'Composite',
diff --git a/lib/services/computeManagement2/lib/models/galleryImageIdentifier.js b/lib/services/computeManagement2/lib/models/galleryImageIdentifier.js
index 6828d2276d..533f30ce82 100644
--- a/lib/services/computeManagement2/lib/models/galleryImageIdentifier.js
+++ b/lib/services/computeManagement2/lib/models/galleryImageIdentifier.js
@@ -11,15 +11,16 @@
'use strict';
/**
- * This is the gallery image identifier.
+ * This is the gallery Image Definition identifier.
*
*/
class GalleryImageIdentifier {
/**
* Create a GalleryImageIdentifier.
- * @member {string} [publisher] The gallery image publisher name.
- * @member {string} [offer] The gallery image offer name.
- * @member {string} [sku] The gallery image sku name.
+ * @member {string} publisher The name of the gallery Image Definition
+ * publisher.
+ * @member {string} offer The name of the gallery Image Definition offer.
+ * @member {string} sku The name of the gallery Image Definition SKU.
*/
constructor() {
}
@@ -39,21 +40,21 @@ class GalleryImageIdentifier {
className: 'GalleryImageIdentifier',
modelProperties: {
publisher: {
- required: false,
+ required: true,
serializedName: 'publisher',
type: {
name: 'String'
}
},
offer: {
- required: false,
+ required: true,
serializedName: 'offer',
type: {
name: 'String'
}
},
sku: {
- required: false,
+ required: true,
serializedName: 'sku',
type: {
name: 'String'
diff --git a/lib/services/computeManagement2/lib/models/galleryImageList.js b/lib/services/computeManagement2/lib/models/galleryImageList.js
index 9c66d02ec3..fdafd72e76 100644
--- a/lib/services/computeManagement2/lib/models/galleryImageList.js
+++ b/lib/services/computeManagement2/lib/models/galleryImageList.js
@@ -16,9 +16,9 @@
class GalleryImageList extends Array {
/**
* Create a GalleryImageList.
- * @member {string} [nextLink] The uri to fetch the next page of gallery
- * images. Call ListNext() with this to fetch the next page of gallery
- * images.
+ * @member {string} [nextLink] The uri to fetch the next page of Image
+ * Definitions in the Shared Image Gallery. Call ListNext() with this to
+ * fetch the next page of gallery Image Definitions.
*/
constructor() {
super();
diff --git a/lib/services/computeManagement2/lib/models/galleryImageVersion.js b/lib/services/computeManagement2/lib/models/galleryImageVersion.js
index 286394a1f1..bf7d6e7a72 100644
--- a/lib/services/computeManagement2/lib/models/galleryImageVersion.js
+++ b/lib/services/computeManagement2/lib/models/galleryImageVersion.js
@@ -13,7 +13,7 @@
const models = require('./index');
/**
- * Specifies information about the gallery image version that you want to
+ * Specifies information about the gallery Image Version that you want to
* create or update.
*
* @extends models['Resource']
@@ -21,16 +21,21 @@ const models = require('./index');
class GalleryImageVersion extends models['Resource'] {
/**
* Create a GalleryImageVersion.
- * @member {object} [publishingProfile]
- * @member {boolean} [publishingProfile.excludeFromLatest] The flag means
- * that if it is set to true, people deploying VMs with 'latest' as version
- * will not use this version.
- * @member {date} [publishingProfile.publishedDate] The time when the gallery
- * image version is published.
+ * @member {object} publishingProfile
+ * @member {number} [publishingProfile.replicaCount] The number of replicas
+ * of the Image Version to be created per region. This property would take
+ * effect for a region when regionalReplicaCount is not specified. This
+ * property is updateable.
+ * @member {boolean} [publishingProfile.excludeFromLatest] If set to true,
+ * Virtual Machines deployed from the latest version of the Image Definition
+ * won't use this Image Version.
+ * @member {date} [publishingProfile.publishedDate] The timestamp for when
+ * the gallery Image Version is published.
* @member {date} [publishingProfile.endOfLifeDate] The end of life date of
- * the gallery image version.
+ * the gallery Image Version. This property can be used for decommissioning
+ * purposes. This property is updateable.
* @member {string} [provisioningState] The current state of the gallery
- * image version. The provisioning state, which only appears in the response.
+ * Image Version. The provisioning state, which only appears in the response.
* Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* @member {object} [storageProfile]
@@ -39,8 +44,9 @@ class GalleryImageVersion extends models['Resource'] {
* images.
* @member {object} [replicationStatus]
* @member {string} [replicationStatus.aggregatedState] This is the
- * aggregated replication status based on the regional replication status.
- * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
+ * aggregated replication status based on all the regional replication status
+ * flags. Possible values include: 'Unknown', 'InProgress', 'Completed',
+ * 'Failed'
* @member {array} [replicationStatus.summary] This is a summary of
* replication status for each region.
*/
@@ -108,7 +114,7 @@ class GalleryImageVersion extends models['Resource'] {
}
},
publishingProfile: {
- required: false,
+ required: true,
serializedName: 'properties.publishingProfile',
type: {
name: 'Composite',
@@ -125,6 +131,7 @@ class GalleryImageVersion extends models['Resource'] {
},
storageProfile: {
required: false,
+ readOnly: true,
serializedName: 'properties.storageProfile',
type: {
name: 'Composite',
@@ -133,6 +140,7 @@ class GalleryImageVersion extends models['Resource'] {
},
replicationStatus: {
required: false,
+ readOnly: true,
serializedName: 'properties.replicationStatus',
type: {
name: 'Composite',
diff --git a/lib/services/computeManagement2/lib/models/galleryImageVersionList.js b/lib/services/computeManagement2/lib/models/galleryImageVersionList.js
index 19bc6c80cf..959c808e30 100644
--- a/lib/services/computeManagement2/lib/models/galleryImageVersionList.js
+++ b/lib/services/computeManagement2/lib/models/galleryImageVersionList.js
@@ -17,8 +17,8 @@ class GalleryImageVersionList extends Array {
/**
* Create a GalleryImageVersionList.
* @member {string} [nextLink] The uri to fetch the next page of gallery
- * image versions. Call ListNext() with this to fetch the next page of
- * gallery image versions.
+ * Image Versions. Call ListNext() with this to fetch the next page of
+ * gallery Image Versions.
*/
constructor() {
super();
diff --git a/lib/services/computeManagement2/lib/models/galleryImageVersionPublishingProfile.js b/lib/services/computeManagement2/lib/models/galleryImageVersionPublishingProfile.js
index 8e4803afdc..0db9f2a40b 100644
--- a/lib/services/computeManagement2/lib/models/galleryImageVersionPublishingProfile.js
+++ b/lib/services/computeManagement2/lib/models/galleryImageVersionPublishingProfile.js
@@ -13,20 +13,25 @@
const models = require('./index');
/**
- * The publishing profile of a gallery image version.
+ * The publishing profile of a gallery Image Version.
*
* @extends models['GalleryArtifactPublishingProfileBase']
*/
class GalleryImageVersionPublishingProfile extends models['GalleryArtifactPublishingProfileBase'] {
/**
* Create a GalleryImageVersionPublishingProfile.
- * @member {boolean} [excludeFromLatest] The flag means that if it is set to
- * true, people deploying VMs with 'latest' as version will not use this
- * version.
- * @member {date} [publishedDate] The time when the gallery image version is
- * published.
- * @member {date} [endOfLifeDate] The end of life date of the gallery image
- * version.
+ * @member {number} [replicaCount] The number of replicas of the Image
+ * Version to be created per region. This property would take effect for a
+ * region when regionalReplicaCount is not specified. This property is
+ * updateable.
+ * @member {boolean} [excludeFromLatest] If set to true, Virtual Machines
+ * deployed from the latest version of the Image Definition won't use this
+ * Image Version.
+ * @member {date} [publishedDate] The timestamp for when the gallery Image
+ * Version is published.
+ * @member {date} [endOfLifeDate] The end of life date of the gallery Image
+ * Version. This property can be used for decommissioning purposes. This
+ * property is updateable.
*/
constructor() {
super();
@@ -46,28 +51,36 @@ class GalleryImageVersionPublishingProfile extends models['GalleryArtifactPublis
name: 'Composite',
className: 'GalleryImageVersionPublishingProfile',
modelProperties: {
- regions: {
+ targetRegions: {
required: false,
- serializedName: 'regions',
+ serializedName: 'targetRegions',
type: {
name: 'Sequence',
element: {
required: false,
- serializedName: 'StringElementType',
+ serializedName: 'TargetRegionElementType',
type: {
- name: 'String'
+ name: 'Composite',
+ className: 'TargetRegion'
}
}
}
},
source: {
- required: false,
+ required: true,
serializedName: 'source',
type: {
name: 'Composite',
className: 'GalleryArtifactSource'
}
},
+ replicaCount: {
+ required: false,
+ serializedName: 'replicaCount',
+ type: {
+ name: 'Number'
+ }
+ },
excludeFromLatest: {
required: false,
serializedName: 'excludeFromLatest',
@@ -80,14 +93,14 @@ class GalleryImageVersionPublishingProfile extends models['GalleryArtifactPublis
readOnly: true,
serializedName: 'publishedDate',
type: {
- name: 'Date'
+ name: 'DateTime'
}
},
endOfLifeDate: {
required: false,
serializedName: 'endOfLifeDate',
type: {
- name: 'Date'
+ name: 'DateTime'
}
}
}
diff --git a/lib/services/computeManagement2/lib/models/galleryImageVersionStorageProfile.js b/lib/services/computeManagement2/lib/models/galleryImageVersionStorageProfile.js
index b7b2b486f7..4cca270246 100644
--- a/lib/services/computeManagement2/lib/models/galleryImageVersionStorageProfile.js
+++ b/lib/services/computeManagement2/lib/models/galleryImageVersionStorageProfile.js
@@ -10,10 +10,8 @@
'use strict';
-const models = require('./index');
-
/**
- * This is the storage profile of a gallery image version.
+ * This is the storage profile of a gallery Image Version.
*
*/
class GalleryImageVersionStorageProfile {
@@ -41,6 +39,7 @@ class GalleryImageVersionStorageProfile {
modelProperties: {
osDiskImage: {
required: false,
+ readOnly: true,
serializedName: 'osDiskImage',
type: {
name: 'Composite',
@@ -49,6 +48,7 @@ class GalleryImageVersionStorageProfile {
},
dataDiskImages: {
required: false,
+ readOnly: true,
serializedName: 'dataDiskImages',
type: {
name: 'Sequence',
diff --git a/lib/services/computeManagement2/lib/models/galleryOSDiskImage.js b/lib/services/computeManagement2/lib/models/galleryOSDiskImage.js
index a5a0915cc6..5709eb2a9b 100644
--- a/lib/services/computeManagement2/lib/models/galleryOSDiskImage.js
+++ b/lib/services/computeManagement2/lib/models/galleryOSDiskImage.js
@@ -39,15 +39,17 @@ class GalleryOSDiskImage extends models['GalleryDiskImage'] {
name: 'Composite',
className: 'GalleryOSDiskImage',
modelProperties: {
- sizedInGB: {
+ sizeInGB: {
required: false,
- serializedName: 'sizedInGB',
+ readOnly: true,
+ serializedName: 'sizeInGB',
type: {
name: 'Number'
}
},
hostCaching: {
required: false,
+ readOnly: true,
serializedName: 'hostCaching',
type: {
name: 'Enum',
diff --git a/lib/services/computeManagement2/lib/models/image.js b/lib/services/computeManagement2/lib/models/image.js
index db72791ed9..ef96bab47d 100644
--- a/lib/services/computeManagement2/lib/models/image.js
+++ b/lib/services/computeManagement2/lib/models/image.js
@@ -52,9 +52,9 @@ class Image extends models['Resource'] {
* name of the disk in a virtual machine image.
This value cannot be
* larger than 1023 GB
* @member {string} [storageProfile.osDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. UltraSSD_LRS cannot be used
+ * with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine.
For more
* information about disks, see [About disks and VHDs for Azure virtual
diff --git a/lib/services/computeManagement2/lib/models/imageDataDisk.js b/lib/services/computeManagement2/lib/models/imageDataDisk.js
index f79608afe8..3042858ae8 100644
--- a/lib/services/computeManagement2/lib/models/imageDataDisk.js
+++ b/lib/services/computeManagement2/lib/models/imageDataDisk.js
@@ -34,9 +34,9 @@ class ImageDataDisk {
* gigabytes. This element can be used to overwrite the name of the disk in a
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {string} [storageAccountType] Specifies the storage account type
- * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks,
+ * it cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/imageOSDisk.js b/lib/services/computeManagement2/lib/models/imageOSDisk.js
index 72db90564c..6dfa53bee5 100644
--- a/lib/services/computeManagement2/lib/models/imageOSDisk.js
+++ b/lib/services/computeManagement2/lib/models/imageOSDisk.js
@@ -37,9 +37,9 @@ class ImageOSDisk {
* gigabytes. This element can be used to overwrite the name of the disk in a
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {string} [storageAccountType] Specifies the storage account type
- * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * for the managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/imagePurchasePlan.js b/lib/services/computeManagement2/lib/models/imagePurchasePlan.js
index 4725879e5a..cd2aeaf85d 100644
--- a/lib/services/computeManagement2/lib/models/imagePurchasePlan.js
+++ b/lib/services/computeManagement2/lib/models/imagePurchasePlan.js
@@ -11,8 +11,8 @@
'use strict';
/**
- * Describes the gallery image purchase plan. This is used by marketplace
- * images.
+ * Describes the gallery Image Definition purchase plan. This is used by
+ * marketplace images.
*
*/
class ImagePurchasePlan {
diff --git a/lib/services/computeManagement2/lib/models/imageStorageProfile.js b/lib/services/computeManagement2/lib/models/imageStorageProfile.js
index 1c819ec4eb..354a80a67f 100644
--- a/lib/services/computeManagement2/lib/models/imageStorageProfile.js
+++ b/lib/services/computeManagement2/lib/models/imageStorageProfile.js
@@ -42,9 +42,9 @@ class ImageStorageProfile {
* disk in a virtual machine image.
This value cannot be larger than
* 1023 GB
* @member {string} [osDisk.storageAccountType] Specifies the storage account
- * type for the managed disk. Possible values are: Standard_LRS, Premium_LRS,
- * and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * type for the managed disk. UltraSSD_LRS cannot be used with OS Disk.
+ * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add
* a data disk to a virtual machine.
For more information about
* disks, see [About disks and VHDs for Azure virtual
diff --git a/lib/services/computeManagement2/lib/models/imageUpdate.js b/lib/services/computeManagement2/lib/models/imageUpdate.js
index 9ddd1afd4d..684d4b0221 100644
--- a/lib/services/computeManagement2/lib/models/imageUpdate.js
+++ b/lib/services/computeManagement2/lib/models/imageUpdate.js
@@ -50,9 +50,9 @@ class ImageUpdate extends models['UpdateResource'] {
* name of the disk in a virtual machine image.
This value cannot be
* larger than 1023 GB
* @member {string} [storageProfile.osDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. UltraSSD_LRS cannot be used
+ * with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine.
For more
* information about disks, see [About disks and VHDs for Azure virtual
diff --git a/lib/services/computeManagement2/lib/models/index.d.ts b/lib/services/computeManagement2/lib/models/index.d.ts
index 54e09a3aca..224cc17e17 100644
--- a/lib/services/computeManagement2/lib/models/index.d.ts
+++ b/lib/services/computeManagement2/lib/models/index.d.ts
@@ -130,7 +130,10 @@ export interface Resource extends BaseResource {
* @member {array} [virtualMachines] A list of references to all virtual
* machines in the availability set.
* @member {array} [statuses] The resource status information.
- * @member {object} [sku] Sku of the availability set
+ * @member {object} [sku] Sku of the availability set, only name is required to
+ * be set. See AvailabilitySetSkuTypes for possible set of values. Use
+ * 'Aligned' for virtual machines with managed disks and 'Classic' for virtual
+ * machines with unmanaged disks. Default value is 'Classic'.
* @member {string} [sku.name] The sku name.
* @member {string} [sku.tier] Specifies the tier of virtual machines in a
* scale set.
Possible Values:
**Standard**
@@ -708,9 +711,9 @@ export interface VirtualHardDisk {
* The parameters of a managed disk.
*
* @member {string} [storageAccountType] Specifies the storage account type for
- * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ * cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface ManagedDiskParameters extends SubResource {
storageAccountType?: string;
@@ -776,9 +779,9 @@ export interface ManagedDiskParameters extends SubResource {
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
+ * data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface OSDisk {
osType?: string;
@@ -829,9 +832,9 @@ export interface OSDisk {
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
+ * data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface DataDisk {
lun: number;
@@ -924,9 +927,9 @@ export interface DataDisk {
* 1023 GB
* @member {object} [osDisk.managedDisk] The managed disk parameters.
* @member {string} [osDisk.managedDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. NOTE: UltraSSD_LRS can only be
+ * used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add a
* data disk to a virtual machine.
For more information about disks,
* see [About disks and VHDs for Azure virtual
@@ -938,6 +941,23 @@ export interface StorageProfile {
dataDisks?: DataDisk[];
}
+/**
+ * @class
+ * Initializes a new instance of the AdditionalCapabilities class.
+ * @constructor
+ * Enables or disables a capability on the virtual machine or virtual machine
+ * scale set.
+ *
+ * @member {boolean} [ultraSSDEnabled] The flag that enables or disables a
+ * capability to have one or more managed data disks with UltraSSD_LRS storage
+ * account type on the VM or VMSS. Managed disks with storage account type
+ * UltraSSD_LRS can be added to a virtual machine or virtual machine scale set
+ * only if this property is enabled.
+ */
+export interface AdditionalCapabilities {
+ ultraSSDEnabled?: boolean;
+}
+
/**
* @class
* Initializes a new instance of the AdditionalUnattendContent class.
@@ -1686,13 +1706,21 @@ export interface VirtualMachineInstanceView {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that are
* used to add a data disk to a virtual machine.
For more information
* about disks, see [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional capabilities
+ * enabled or disabled on the virtual machine.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks with
+ * UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with
+ * storage account type UltraSSD_LRS can be added to a virtual machine or
+ * virtual machine scale set only if this property is enabled.
* @member {object} [osProfile] Specifies the operating system settings for the
* virtual machine.
* @member {string} [osProfile.computerName] Specifies the host OS name of the
@@ -1903,6 +1931,7 @@ export interface VirtualMachine extends Resource {
plan?: Plan;
hardwareProfile?: HardwareProfile;
storageProfile?: StorageProfile;
+ additionalCapabilities?: AdditionalCapabilities;
osProfile?: OSProfile;
networkProfile?: NetworkProfile;
diagnosticsProfile?: DiagnosticsProfile;
@@ -2082,13 +2111,21 @@ export interface VirtualMachine extends Resource {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that are
* used to add a data disk to a virtual machine.
For more information
* about disks, see [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional capabilities
+ * enabled or disabled on the virtual machine.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks with
+ * UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with
+ * storage account type UltraSSD_LRS can be added to a virtual machine or
+ * virtual machine scale set only if this property is enabled.
* @member {object} [osProfile] Specifies the operating system settings for the
* virtual machine.
* @member {string} [osProfile.computerName] Specifies the host OS name of the
@@ -2298,6 +2335,7 @@ export interface VirtualMachineUpdate extends UpdateResource {
plan?: Plan;
hardwareProfile?: HardwareProfile;
storageProfile?: StorageProfile;
+ additionalCapabilities?: AdditionalCapabilities;
osProfile?: OSProfile;
networkProfile?: NetworkProfile;
diagnosticsProfile?: DiagnosticsProfile;
@@ -2312,15 +2350,19 @@ export interface VirtualMachineUpdate extends UpdateResource {
/**
* @class
- * Initializes a new instance of the AutoOSUpgradePolicy class.
+ * Initializes a new instance of the AutomaticOSUpgradePolicy class.
* @constructor
* The configuration parameters used for performing automatic OS upgrade.
*
- * @member {boolean} [disableAutoRollback] Whether OS image rollback feature
- * should be disabled. Default value is false.
+ * @member {boolean} [enableAutomaticOSUpgrade] Whether OS upgrades should
+ * automatically be applied to scale set instances in a rolling fashion when a
+ * newer version of the image becomes available. Default value is false.
+ * @member {boolean} [disableAutomaticRollback] Whether OS image rollback
+ * feature should be disabled. Default value is false.
*/
-export interface AutoOSUpgradePolicy {
- disableAutoRollback?: boolean;
+export interface AutomaticOSUpgradePolicy {
+ enableAutomaticOSUpgrade?: boolean;
+ disableAutomaticRollback?: boolean;
}
/**
@@ -2394,19 +2436,20 @@ export interface RollingUpgradePolicy {
* time between completing the update for all virtual machines in one batch and
* starting the next batch. The time duration should be specified in ISO 8601
* format. The default value is 0 seconds (PT0S).
- * @member {boolean} [automaticOSUpgrade] Whether OS upgrades should
- * automatically be applied to scale set instances in a rolling fashion when a
- * newer version of the image becomes available.
- * @member {object} [autoOSUpgradePolicy] Configuration parameters used for
- * performing automatic OS Upgrade.
- * @member {boolean} [autoOSUpgradePolicy.disableAutoRollback] Whether OS image
- * rollback feature should be disabled. Default value is false.
+ * @member {object} [automaticOSUpgradePolicy] Configuration parameters used
+ * for performing automatic OS Upgrade.
+ * @member {boolean} [automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
+ * @member {boolean} [automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*/
export interface UpgradePolicy {
mode?: string;
rollingUpgradePolicy?: RollingUpgradePolicy;
- automaticOSUpgrade?: boolean;
- autoOSUpgradePolicy?: AutoOSUpgradePolicy;
+ automaticOSUpgradePolicy?: AutomaticOSUpgradePolicy;
}
/**
@@ -2434,9 +2477,8 @@ export interface UpgradePolicy {
* gigabytes. This element can be used to overwrite the name of the disk in a
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {string} [storageAccountType] Specifies the storage account type for
- * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * the managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface ImageOSDisk {
osType: string;
@@ -2471,9 +2513,9 @@ export interface ImageOSDisk {
* gigabytes. This element can be used to overwrite the name of the disk in a
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {string} [storageAccountType] Specifies the storage account type for
- * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ * cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface ImageDataDisk {
lun: number;
@@ -2515,9 +2557,9 @@ export interface ImageDataDisk {
* in gigabytes. This element can be used to overwrite the name of the disk in
* a virtual machine image.
This value cannot be larger than 1023 GB
* @member {string} [osDisk.storageAccountType] Specifies the storage account
- * type for the managed disk. Possible values are: Standard_LRS, Premium_LRS,
- * and StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * type for the managed disk. UltraSSD_LRS cannot be used with OS Disk.
+ * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add a
* data disk to a virtual machine.
For more information about disks,
* see [About disks and VHDs for Azure virtual
@@ -2570,9 +2612,9 @@ export interface ImageStorageProfile {
* name of the disk in a virtual machine image.
This value cannot be
* larger than 1023 GB
* @member {string} [storageProfile.osDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. UltraSSD_LRS cannot be used with
+ * OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that are
* used to add a data disk to a virtual machine.
For more information
* about disks, see [About disks and VHDs for Azure virtual
@@ -2624,9 +2666,9 @@ export interface Image extends Resource {
* name of the disk in a virtual machine image.
This value cannot be
* larger than 1023 GB
* @member {string} [storageProfile.osDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. UltraSSD_LRS cannot be used with
+ * OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that are
* used to add a data disk to a virtual machine.
For more information
* about disks, see [About disks and VHDs for Azure virtual
@@ -2831,9 +2873,9 @@ export interface VirtualMachineScaleSetUpdateOSProfile {
* Describes the parameters of a ScaleSet managed disk.
*
* @member {string} [storageAccountType] Specifies the storage account type for
- * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ * cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface VirtualMachineScaleSetManagedDiskParameters {
storageAccountType?: string;
@@ -2874,9 +2916,9 @@ export interface VirtualMachineScaleSetManagedDiskParameters {
* to store operating system disks for the scale set.
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
+ * data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface VirtualMachineScaleSetOSDisk {
name?: string;
@@ -2914,9 +2956,9 @@ export interface VirtualMachineScaleSetOSDisk {
* uris.
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
+ * data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface VirtualMachineScaleSetUpdateOSDisk {
caching?: string;
@@ -2950,9 +2992,9 @@ export interface VirtualMachineScaleSetUpdateOSDisk {
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
+ * data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
export interface VirtualMachineScaleSetDataDisk {
name?: string;
@@ -3020,9 +3062,9 @@ export interface VirtualMachineScaleSetDataDisk {
* used to store operating system disks for the scale set.
* @member {object} [osDisk.managedDisk] The managed disk parameters.
* @member {string} [osDisk.managedDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. NOTE: UltraSSD_LRS can only be
+ * used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add
* data disks to the virtual machines in the scale set.
For more
* information about disks, see [About disks and VHDs for Azure virtual
@@ -3070,9 +3112,9 @@ export interface VirtualMachineScaleSetStorageProfile {
* container uris.
* @member {object} [osDisk.managedDisk] The managed disk parameters.
* @member {string} [osDisk.managedDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. NOTE: UltraSSD_LRS can only be
+ * used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] The data disks.
*/
export interface VirtualMachineScaleSetUpdateStorageProfile {
@@ -3601,14 +3643,24 @@ export interface VirtualMachineScaleSetExtensionProfile {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that are
* used to add data disks to the virtual machines in the scale set.
* For more information about disks, see [About disks and VHDs for Azure
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional capabilities
+ * enabled or disabled on the virtual machine in the scale set. For instance:
+ * whether the virtual machine has the capability to support attaching managed
+ * data disks with UltraSSD_LRS storage account type.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks with
+ * UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with
+ * storage account type UltraSSD_LRS can be added to a virtual machine or
+ * virtual machine scale set only if this property is enabled.
* @member {object} [networkProfile] Specifies properties of the network
* interfaces of the virtual machines in the scale set.
* @member {object} [networkProfile.healthProbe] A reference to a load balancer
@@ -3655,6 +3707,7 @@ export interface VirtualMachineScaleSetExtensionProfile {
export interface VirtualMachineScaleSetVMProfile {
osProfile?: VirtualMachineScaleSetOSProfile;
storageProfile?: VirtualMachineScaleSetStorageProfile;
+ additionalCapabilities?: AdditionalCapabilities;
networkProfile?: VirtualMachineScaleSetNetworkProfile;
diagnosticsProfile?: DiagnosticsProfile;
extensionProfile?: VirtualMachineScaleSetExtensionProfile;
@@ -3742,9 +3795,10 @@ export interface VirtualMachineScaleSetVMProfile {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] The data disks.
* @member {object} [networkProfile] The virtual machine scale set network
* profile.
@@ -3839,14 +3893,16 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
* between completing the update for all virtual machines in one batch and
* starting the next batch. The time duration should be specified in ISO 8601
* format. The default value is 0 seconds (PT0S).
- * @member {boolean} [upgradePolicy.automaticOSUpgrade] Whether OS upgrades
- * should automatically be applied to scale set instances in a rolling fashion
- * when a newer version of the image becomes available.
- * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration
+ * @member {object} [upgradePolicy.automaticOSUpgradePolicy] Configuration
* parameters used for performing automatic OS Upgrade.
- * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback]
- * Whether OS image rollback feature should be disabled. Default value is
- * false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade] Whether OS
+ * upgrades should automatically be applied to scale set instances in a rolling
+ * fashion when a newer version of the image becomes available. Default value
+ * is false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback] Whether OS
+ * image rollback feature should be disabled. Default value is false.
* @member {object} [virtualMachineProfile] The virtual machine profile.
* @member {object} [virtualMachineProfile.osProfile] Specifies the operating
* system settings for the virtual machines in the scale set.
@@ -4007,14 +4063,25 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
* The managed disk parameters.
* @member {string}
* [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [virtualMachineProfile.storageProfile.dataDisks] Specifies
* the parameters that are used to add data disks to the virtual machines in
* the scale set.
For more information about disks, see [About disks
* and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [virtualMachineProfile.additionalCapabilities] Specifies
+ * additional capabilities enabled or disabled on the virtual machine in the
+ * scale set. For instance: whether the virtual machine has the capability to
+ * support attaching managed data disks with UltraSSD_LRS storage account type.
+ * @member {boolean}
+ * [virtualMachineProfile.additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks with
+ * UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with
+ * storage account type UltraSSD_LRS can be added to a virtual machine or
+ * virtual machine scale set only if this property is enabled.
* @member {object} [virtualMachineProfile.networkProfile] Specifies properties
* of the network interfaces of the virtual machines in the scale set.
* @member {object} [virtualMachineProfile.networkProfile.healthProbe] A
@@ -4167,14 +4234,16 @@ export interface VirtualMachineScaleSet extends Resource {
* between completing the update for all virtual machines in one batch and
* starting the next batch. The time duration should be specified in ISO 8601
* format. The default value is 0 seconds (PT0S).
- * @member {boolean} [upgradePolicy.automaticOSUpgrade] Whether OS upgrades
- * should automatically be applied to scale set instances in a rolling fashion
- * when a newer version of the image becomes available.
- * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration
+ * @member {object} [upgradePolicy.automaticOSUpgradePolicy] Configuration
* parameters used for performing automatic OS Upgrade.
- * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback]
- * Whether OS image rollback feature should be disabled. Default value is
- * false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade] Whether OS
+ * upgrades should automatically be applied to scale set instances in a rolling
+ * fashion when a newer version of the image becomes available. Default value
+ * is false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback] Whether OS
+ * image rollback feature should be disabled. Default value is false.
* @member {object} [virtualMachineProfile] The virtual machine profile.
* @member {object} [virtualMachineProfile.osProfile] The virtual machine scale
* set OS profile.
@@ -4265,9 +4334,10 @@ export interface VirtualMachineScaleSet extends Resource {
* The managed disk parameters.
* @member {string}
* [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [virtualMachineProfile.storageProfile.dataDisks] The data
* disks.
* @member {object} [virtualMachineProfile.networkProfile] The virtual machine
@@ -5064,13 +5134,23 @@ export interface VirtualMachineScaleSetVMInstanceView {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that are
* used to add a data disk to a virtual machine.
For more information
* about disks, see [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional capabilities
+ * enabled or disabled on the virtual machine in the scale set. For instance:
+ * whether the virtual machine has the capability to support attaching managed
+ * data disks with UltraSSD_LRS storage account type.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks with
+ * UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with
+ * storage account type UltraSSD_LRS can be added to a virtual machine or
+ * virtual machine scale set only if this property is enabled.
* @member {object} [osProfile] Specifies the operating system settings for the
* virtual machine.
* @member {string} [osProfile.computerName] Specifies the host OS name of the
@@ -5220,6 +5300,7 @@ export interface VirtualMachineScaleSetVM extends Resource {
readonly instanceView?: VirtualMachineScaleSetVMInstanceView;
hardwareProfile?: HardwareProfile;
storageProfile?: StorageProfile;
+ additionalCapabilities?: AdditionalCapabilities;
osProfile?: OSProfile;
networkProfile?: NetworkProfile;
diagnosticsProfile?: DiagnosticsProfile;
@@ -5659,10 +5740,11 @@ export interface ResourceSku {
* @class
* Initializes a new instance of the DiskSku class.
* @constructor
- * The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS.
+ * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or
+ * UltraSSD_LRS.
*
* @member {string} [name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [tier] The sku tier. Default value: 'Standard' .
*/
export interface DiskSku {
@@ -5806,7 +5888,7 @@ export interface EncryptionSettings {
* has the disk attached.
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [sku.tier] The sku tier.
* @member {array} [zones] The Logical zone list for Disk.
* @member {date} [timeCreated] The time when the disk was created.
@@ -5860,6 +5942,12 @@ export interface EncryptionSettings {
* @member {string} [encryptionSettings.keyEncryptionKey.keyUrl] Url pointing
* to a key or secret in KeyVault
* @member {string} [provisioningState] The disk provisioning state.
+ * @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ * @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk;
+ * only settable for UltraSSD disks. MBps means millions of bytes per second -
+ * MB here uses the ISO notation, of powers of 10.
*/
export interface Disk extends Resource {
readonly managedBy?: string;
@@ -5871,6 +5959,8 @@ export interface Disk extends Resource {
diskSizeGB?: number;
encryptionSettings?: EncryptionSettings;
readonly provisioningState?: string;
+ diskIOPSReadWrite?: number;
+ diskMBpsReadWrite?: number;
}
/**
@@ -5909,16 +5999,24 @@ export interface Disk extends Resource {
* Resource Id
* @member {string} [encryptionSettings.keyEncryptionKey.keyUrl] Url pointing
* to a key or secret in KeyVault
+ * @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ * @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk;
+ * only settable for UltraSSD disks. MBps means millions of bytes per second -
+ * MB here uses the ISO notation, of powers of 10.
* @member {object} [tags] Resource tags
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [sku.tier] The sku tier.
*/
export interface DiskUpdate {
osType?: string;
diskSizeGB?: number;
encryptionSettings?: EncryptionSettings;
+ diskIOPSReadWrite?: number;
+ diskMBpsReadWrite?: number;
tags?: { [propertyName: string]: string };
sku?: DiskSku;
}
@@ -6089,6 +6187,400 @@ export interface SnapshotUpdate {
sku?: SnapshotSku;
}
+/**
+ * @class
+ * Initializes a new instance of the GalleryIdentifier class.
+ * @constructor
+ * Describes the gallery unique name.
+ *
+ * @member {string} [uniqueName] The unique name of the Shared Image Gallery.
+ * This name is generated automatically by Azure.
+ */
+export interface GalleryIdentifier {
+ readonly uniqueName?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the Gallery class.
+ * @constructor
+ * Specifies information about the Shared Image Gallery that you want to create
+ * or update.
+ *
+ * @member {string} [description] The description of this Shared Image Gallery
+ * resource. This property is updateable.
+ * @member {object} [identifier]
+ * @member {string} [identifier.uniqueName] The unique name of the Shared Image
+ * Gallery. This name is generated automatically by Azure.
+ * @member {string} [provisioningState] The current state of the gallery. The
+ * provisioning state, which only appears in the response. Possible values
+ * include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
+ * 'Migrating'
+ */
+export interface Gallery extends Resource {
+ description?: string;
+ identifier?: GalleryIdentifier;
+ readonly provisioningState?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImageIdentifier class.
+ * @constructor
+ * This is the gallery Image Definition identifier.
+ *
+ * @member {string} publisher The name of the gallery Image Definition
+ * publisher.
+ * @member {string} offer The name of the gallery Image Definition offer.
+ * @member {string} sku The name of the gallery Image Definition SKU.
+ */
+export interface GalleryImageIdentifier {
+ publisher: string;
+ offer: string;
+ sku: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the ResourceRange class.
+ * @constructor
+ * Describes the resource range.
+ *
+ * @member {number} [min] The minimum number of the resource.
+ * @member {number} [max] The maximum number of the resource.
+ */
+export interface ResourceRange {
+ min?: number;
+ max?: number;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the RecommendedMachineConfiguration class.
+ * @constructor
+ * The properties describe the recommended machine configuration for this Image
+ * Definition. These properties are updateable.
+ *
+ * @member {object} [vCPUs]
+ * @member {number} [vCPUs.min] The minimum number of the resource.
+ * @member {number} [vCPUs.max] The maximum number of the resource.
+ * @member {object} [memory]
+ * @member {number} [memory.min] The minimum number of the resource.
+ * @member {number} [memory.max] The maximum number of the resource.
+ */
+export interface RecommendedMachineConfiguration {
+ vCPUs?: ResourceRange;
+ memory?: ResourceRange;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the Disallowed class.
+ * @constructor
+ * Describes the disallowed disk types.
+ *
+ * @member {array} [diskTypes] A list of disk types.
+ */
+export interface Disallowed {
+ diskTypes?: string[];
+}
+
+/**
+ * @class
+ * Initializes a new instance of the ImagePurchasePlan class.
+ * @constructor
+ * Describes the gallery Image Definition purchase plan. This is used by
+ * marketplace images.
+ *
+ * @member {string} [name] The plan ID.
+ * @member {string} [publisher] The publisher ID.
+ * @member {string} [product] The product ID.
+ */
+export interface ImagePurchasePlan {
+ name?: string;
+ publisher?: string;
+ product?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImage class.
+ * @constructor
+ * Specifies information about the gallery Image Definition that you want to
+ * create or update.
+ *
+ * @member {string} [description] The description of this gallery Image
+ * Definition resource. This property is updateable.
+ * @member {string} [eula] The Eula agreement for the gallery Image Definition.
+ * @member {string} [privacyStatementUri] The privacy statement uri.
+ * @member {string} [releaseNoteUri] The release note uri.
+ * @member {string} osType 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'
+ * @member {string} osState The allowed values for OS State are 'Generalized'.
+ * Possible values include: 'Generalized', 'Specialized'
+ * @member {date} [endOfLifeDate] The end of life date of the gallery Image
+ * Definition. This property can be used for decommissioning purposes. This
+ * property is updateable.
+ * @member {object} identifier
+ * @member {string} [identifier.publisher] The name of the gallery Image
+ * Definition publisher.
+ * @member {string} [identifier.offer] The name of the gallery Image Definition
+ * offer.
+ * @member {string} [identifier.sku] The name of the gallery Image Definition
+ * SKU.
+ * @member {object} [recommended]
+ * @member {object} [recommended.vCPUs]
+ * @member {number} [recommended.vCPUs.min] The minimum number of the resource.
+ * @member {number} [recommended.vCPUs.max] The maximum number of the resource.
+ * @member {object} [recommended.memory]
+ * @member {number} [recommended.memory.min] The minimum number of the
+ * resource.
+ * @member {number} [recommended.memory.max] The maximum number of the
+ * resource.
+ * @member {object} [disallowed]
+ * @member {array} [disallowed.diskTypes] A list of disk types.
+ * @member {object} [purchasePlan]
+ * @member {string} [purchasePlan.name] The plan ID.
+ * @member {string} [purchasePlan.publisher] The publisher ID.
+ * @member {string} [purchasePlan.product] The product ID.
+ * @member {string} [provisioningState] 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'
+ */
+export interface GalleryImage extends Resource {
+ description?: string;
+ eula?: string;
+ privacyStatementUri?: string;
+ releaseNoteUri?: string;
+ osType: string;
+ osState: string;
+ endOfLifeDate?: Date;
+ identifier: GalleryImageIdentifier;
+ recommended?: RecommendedMachineConfiguration;
+ disallowed?: Disallowed;
+ purchasePlan?: ImagePurchasePlan;
+ readonly provisioningState?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryArtifactPublishingProfileBase class.
+ * @constructor
+ * Describes the basic gallery artifact publishing profile.
+ *
+ * @member {array} [targetRegions] The target regions where the Image Version
+ * is going to be replicated to. This property is updateable.
+ * @member {object} source
+ * @member {object} [source.managedImage]
+ * @member {string} [source.managedImage.id] The managed artifact id.
+ */
+export interface GalleryArtifactPublishingProfileBase {
+ targetRegions?: TargetRegion[];
+ source: GalleryArtifactSource;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImageVersionPublishingProfile class.
+ * @constructor
+ * The publishing profile of a gallery Image Version.
+ *
+ * @member {number} [replicaCount] The number of replicas of the Image Version
+ * to be created per region. This property would take effect for a region when
+ * regionalReplicaCount is not specified. This property is updateable.
+ * @member {boolean} [excludeFromLatest] If set to true, Virtual Machines
+ * deployed from the latest version of the Image Definition won't use this
+ * Image Version.
+ * @member {date} [publishedDate] The timestamp for when the gallery Image
+ * Version is published.
+ * @member {date} [endOfLifeDate] The end of life date of the gallery Image
+ * Version. This property can be used for decommissioning purposes. This
+ * property is updateable.
+ */
+export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
+ replicaCount?: number;
+ excludeFromLatest?: boolean;
+ readonly publishedDate?: Date;
+ endOfLifeDate?: Date;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryDiskImage class.
+ * @constructor
+ * This is the disk image base class.
+ *
+ * @member {number} [sizeInGB] This property indicates the size of the VHD to
+ * be created.
+ * @member {string} [hostCaching] The host caching of the disk. Valid values
+ * are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None',
+ * 'ReadOnly', 'ReadWrite'
+ */
+export interface GalleryDiskImage {
+ readonly sizeInGB?: number;
+ readonly hostCaching?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryOSDiskImage class.
+ * @constructor
+ * This is the OS disk image.
+ *
+ */
+export interface GalleryOSDiskImage extends GalleryDiskImage {
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryDataDiskImage class.
+ * @constructor
+ * This is the data disk image.
+ *
+ * @member {number} [lun] This property specifies the logical unit number of
+ * the data disk. This value is used to identify data disks within the Virtual
+ * Machine and therefore must be unique for each data disk attached to the
+ * Virtual Machine.
+ */
+export interface GalleryDataDiskImage extends GalleryDiskImage {
+ readonly lun?: number;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImageVersionStorageProfile class.
+ * @constructor
+ * This is the storage profile of a gallery Image Version.
+ *
+ * @member {object} [osDiskImage]
+ * @member {array} [dataDiskImages] A list of data disk images.
+ */
+export interface GalleryImageVersionStorageProfile {
+ readonly osDiskImage?: GalleryOSDiskImage;
+ readonly dataDiskImages?: GalleryDataDiskImage[];
+}
+
+/**
+ * @class
+ * Initializes a new instance of the RegionalReplicationStatus class.
+ * @constructor
+ * This is the regional replication status.
+ *
+ * @member {string} [region] The region to which the gallery Image Version is
+ * being replicated to.
+ * @member {string} [state] This is the regional replication state. Possible
+ * values include: 'Unknown', 'Replicating', 'Completed', 'Failed'
+ * @member {string} [details] The details of the replication status.
+ * @member {number} [progress] It indicates progress of the replication job.
+ */
+export interface RegionalReplicationStatus {
+ readonly region?: string;
+ readonly state?: string;
+ readonly details?: string;
+ readonly progress?: number;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the ReplicationStatus class.
+ * @constructor
+ * This is the replication status of the gallery Image Version.
+ *
+ * @member {string} [aggregatedState] This is the aggregated replication status
+ * based on all the regional replication status flags. Possible values include:
+ * 'Unknown', 'InProgress', 'Completed', 'Failed'
+ * @member {array} [summary] This is a summary of replication status for each
+ * region.
+ */
+export interface ReplicationStatus {
+ readonly aggregatedState?: string;
+ readonly summary?: RegionalReplicationStatus[];
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImageVersion class.
+ * @constructor
+ * Specifies information about the gallery Image Version that you want to
+ * create or update.
+ *
+ * @member {object} publishingProfile
+ * @member {number} [publishingProfile.replicaCount] The number of replicas of
+ * the Image Version to be created per region. This property would take effect
+ * for a region when regionalReplicaCount is not specified. This property is
+ * updateable.
+ * @member {boolean} [publishingProfile.excludeFromLatest] If set to true,
+ * Virtual Machines deployed from the latest version of the Image Definition
+ * won't use this Image Version.
+ * @member {date} [publishingProfile.publishedDate] The timestamp for when the
+ * gallery Image Version is published.
+ * @member {date} [publishingProfile.endOfLifeDate] The end of life date of the
+ * gallery Image Version. This property can be used for decommissioning
+ * purposes. This property is updateable.
+ * @member {string} [provisioningState] 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'
+ * @member {object} [storageProfile]
+ * @member {object} [storageProfile.osDiskImage]
+ * @member {array} [storageProfile.dataDiskImages] A list of data disk images.
+ * @member {object} [replicationStatus]
+ * @member {string} [replicationStatus.aggregatedState] This is the aggregated
+ * replication status based on all the regional replication status flags.
+ * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
+ * @member {array} [replicationStatus.summary] This is a summary of replication
+ * status for each region.
+ */
+export interface GalleryImageVersion extends Resource {
+ publishingProfile: GalleryImageVersionPublishingProfile;
+ readonly provisioningState?: string;
+ readonly storageProfile?: GalleryImageVersionStorageProfile;
+ readonly replicationStatus?: ReplicationStatus;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the TargetRegion class.
+ * @constructor
+ * Describes the target region information.
+ *
+ * @member {string} name The name of the region.
+ * @member {number} [regionalReplicaCount] The number of replicas of the Image
+ * Version to be created per region. This property is updateable.
+ */
+export interface TargetRegion {
+ name: string;
+ regionalReplicaCount?: number;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the ManagedArtifact class.
+ * @constructor
+ * The managed artifact.
+ *
+ * @member {string} id The managed artifact id.
+ */
+export interface ManagedArtifact {
+ id: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryArtifactSource class.
+ * @constructor
+ * The source image from which the Image Version is going to be created.
+ *
+ * @member {object} managedImage
+ * @member {string} [managedImage.id] The managed artifact id.
+ */
+export interface GalleryArtifactSource {
+ managedImage: ManagedArtifact;
+}
+
/**
* @class
* Initializes a new instance of the ContainerServiceCustomProfile class.
@@ -6548,6 +7040,47 @@ export interface SnapshotList extends Array {
nextLink?: string;
}
+/**
+ * @class
+ * Initializes a new instance of the GalleryList class.
+ * @constructor
+ * The List Galleries operation response.
+ *
+ * @member {string} [nextLink] The uri to fetch the next page of galleries.
+ * Call ListNext() with this to fetch the next page of galleries.
+ */
+export interface GalleryList extends Array {
+ nextLink?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImageList class.
+ * @constructor
+ * The List Gallery Images operation response.
+ *
+ * @member {string} [nextLink] The uri to fetch the next page of Image
+ * Definitions in the Shared Image Gallery. Call ListNext() with this to fetch
+ * the next page of gallery Image Definitions.
+ */
+export interface GalleryImageList extends Array {
+ nextLink?: string;
+}
+
+/**
+ * @class
+ * Initializes a new instance of the GalleryImageVersionList class.
+ * @constructor
+ * The List Gallery Image version operation response.
+ *
+ * @member {string} [nextLink] The uri to fetch the next page of gallery Image
+ * Versions. Call ListNext() with this to fetch the next page of gallery Image
+ * Versions.
+ */
+export interface GalleryImageVersionList extends Array {
+ nextLink?: string;
+}
+
/**
* @class
* Initializes a new instance of the ContainerServiceListResult class.
diff --git a/lib/services/computeManagement2/lib/models/index.js b/lib/services/computeManagement2/lib/models/index.js
index 792d56d379..53c9f67379 100644
--- a/lib/services/computeManagement2/lib/models/index.js
+++ b/lib/services/computeManagement2/lib/models/index.js
@@ -52,6 +52,7 @@ exports.ManagedDiskParameters = require('./managedDiskParameters');
exports.OSDisk = require('./oSDisk');
exports.DataDisk = require('./dataDisk');
exports.StorageProfile = require('./storageProfile');
+exports.AdditionalCapabilities = require('./additionalCapabilities');
exports.AdditionalUnattendContent = require('./additionalUnattendContent');
exports.WinRMListener = require('./winRMListener');
exports.WinRMConfiguration = require('./winRMConfiguration');
@@ -76,7 +77,7 @@ exports.MaintenanceRedeployStatus = require('./maintenanceRedeployStatus');
exports.VirtualMachineInstanceView = require('./virtualMachineInstanceView');
exports.VirtualMachine = require('./virtualMachine');
exports.VirtualMachineUpdate = require('./virtualMachineUpdate');
-exports.AutoOSUpgradePolicy = require('./autoOSUpgradePolicy');
+exports.AutomaticOSUpgradePolicy = require('./automaticOSUpgradePolicy');
exports.RollingUpgradePolicy = require('./rollingUpgradePolicy');
exports.UpgradePolicy = require('./upgradePolicy');
exports.ImageOSDisk = require('./imageOSDisk');
@@ -167,6 +168,26 @@ exports.GrantAccessData = require('./grantAccessData');
exports.AccessUri = require('./accessUri');
exports.Snapshot = require('./snapshot');
exports.SnapshotUpdate = require('./snapshotUpdate');
+exports.GalleryIdentifier = require('./galleryIdentifier');
+exports.Gallery = require('./gallery');
+exports.GalleryImageIdentifier = require('./galleryImageIdentifier');
+exports.ResourceRange = require('./resourceRange');
+exports.RecommendedMachineConfiguration = require('./recommendedMachineConfiguration');
+exports.Disallowed = require('./disallowed');
+exports.ImagePurchasePlan = require('./imagePurchasePlan');
+exports.GalleryImage = require('./galleryImage');
+exports.GalleryArtifactPublishingProfileBase = require('./galleryArtifactPublishingProfileBase');
+exports.GalleryImageVersionPublishingProfile = require('./galleryImageVersionPublishingProfile');
+exports.GalleryDiskImage = require('./galleryDiskImage');
+exports.GalleryOSDiskImage = require('./galleryOSDiskImage');
+exports.GalleryDataDiskImage = require('./galleryDataDiskImage');
+exports.GalleryImageVersionStorageProfile = require('./galleryImageVersionStorageProfile');
+exports.RegionalReplicationStatus = require('./regionalReplicationStatus');
+exports.ReplicationStatus = require('./replicationStatus');
+exports.GalleryImageVersion = require('./galleryImageVersion');
+exports.TargetRegion = require('./targetRegion');
+exports.ManagedArtifact = require('./managedArtifact');
+exports.GalleryArtifactSource = require('./galleryArtifactSource');
exports.ContainerServiceCustomProfile = require('./containerServiceCustomProfile');
exports.ContainerServiceServicePrincipalProfile = require('./containerServiceServicePrincipalProfile');
exports.ContainerServiceOrchestratorProfile = require('./containerServiceOrchestratorProfile');
@@ -195,4 +216,7 @@ exports.RunCommandListResult = require('./runCommandListResult');
exports.ResourceSkusResult = require('./resourceSkusResult');
exports.DiskList = require('./diskList');
exports.SnapshotList = require('./snapshotList');
+exports.GalleryList = require('./galleryList');
+exports.GalleryImageList = require('./galleryImageList');
+exports.GalleryImageVersionList = require('./galleryImageVersionList');
exports.ContainerServiceListResult = require('./containerServiceListResult');
diff --git a/lib/services/computeManagement2/lib/models/managedArtifact.js b/lib/services/computeManagement2/lib/models/managedArtifact.js
index cadb714ab4..a9b4659fd4 100644
--- a/lib/services/computeManagement2/lib/models/managedArtifact.js
+++ b/lib/services/computeManagement2/lib/models/managedArtifact.js
@@ -17,7 +17,7 @@
class ManagedArtifact {
/**
* Create a ManagedArtifact.
- * @member {string} [id] The managed artifact id.
+ * @member {string} id The managed artifact id.
*/
constructor() {
}
@@ -37,7 +37,7 @@ class ManagedArtifact {
className: 'ManagedArtifact',
modelProperties: {
id: {
- required: false,
+ required: true,
serializedName: 'id',
type: {
name: 'String'
diff --git a/lib/services/computeManagement2/lib/models/managedDiskParameters.js b/lib/services/computeManagement2/lib/models/managedDiskParameters.js
index 68d7404f03..9505796d9c 100644
--- a/lib/services/computeManagement2/lib/models/managedDiskParameters.js
+++ b/lib/services/computeManagement2/lib/models/managedDiskParameters.js
@@ -21,9 +21,9 @@ class ManagedDiskParameters extends models['SubResource'] {
/**
* Create a ManagedDiskParameters.
* @member {string} [storageAccountType] Specifies the storage account type
- * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks,
+ * it cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
super();
diff --git a/lib/services/computeManagement2/lib/models/oSDisk.js b/lib/services/computeManagement2/lib/models/oSDisk.js
index 985daf15ec..7c553f0713 100644
--- a/lib/services/computeManagement2/lib/models/oSDisk.js
+++ b/lib/services/computeManagement2/lib/models/oSDisk.js
@@ -72,9 +72,9 @@ class OSDisk {
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used
+ * with data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/recommendedMachineConfiguration.js b/lib/services/computeManagement2/lib/models/recommendedMachineConfiguration.js
index a3070932a6..d6ee2375a8 100644
--- a/lib/services/computeManagement2/lib/models/recommendedMachineConfiguration.js
+++ b/lib/services/computeManagement2/lib/models/recommendedMachineConfiguration.js
@@ -10,10 +10,9 @@
'use strict';
-const models = require('./index');
-
/**
- * Describes the recommended machine configuration.
+ * The properties describe the recommended machine configuration for this Image
+ * Definition. These properties are updateable.
*
*/
class RecommendedMachineConfiguration {
diff --git a/lib/services/computeManagement2/lib/models/regionalReplicationStatus.js b/lib/services/computeManagement2/lib/models/regionalReplicationStatus.js
index 61db9eb55d..53949c1697 100644
--- a/lib/services/computeManagement2/lib/models/regionalReplicationStatus.js
+++ b/lib/services/computeManagement2/lib/models/regionalReplicationStatus.js
@@ -17,8 +17,8 @@
class RegionalReplicationStatus {
/**
* Create a RegionalReplicationStatus.
- * @member {string} [region] The region where the gallery image version is
- * published to.
+ * @member {string} [region] The region to which the gallery Image Version is
+ * being replicated to.
* @member {string} [state] This is the regional replication state. Possible
* values include: 'Unknown', 'Replicating', 'Completed', 'Failed'
* @member {string} [details] The details of the replication status.
@@ -43,6 +43,7 @@ class RegionalReplicationStatus {
modelProperties: {
region: {
required: false,
+ readOnly: true,
serializedName: 'region',
type: {
name: 'String'
@@ -50,14 +51,15 @@ class RegionalReplicationStatus {
},
state: {
required: false,
+ readOnly: true,
serializedName: 'state',
type: {
- name: 'Enum',
- allowedValues: [ 'Unknown', 'Replicating', 'Completed', 'Failed' ]
+ name: 'String'
}
},
details: {
required: false,
+ readOnly: true,
serializedName: 'details',
type: {
name: 'String'
@@ -65,6 +67,7 @@ class RegionalReplicationStatus {
},
progress: {
required: false,
+ readOnly: true,
serializedName: 'progress',
type: {
name: 'Number'
diff --git a/lib/services/computeManagement2/lib/models/replicationStatus.js b/lib/services/computeManagement2/lib/models/replicationStatus.js
index edaa93fdf1..4fa05ebeed 100644
--- a/lib/services/computeManagement2/lib/models/replicationStatus.js
+++ b/lib/services/computeManagement2/lib/models/replicationStatus.js
@@ -10,18 +10,16 @@
'use strict';
-const models = require('./index');
-
/**
- * This is the replication status of the gallery image version.
+ * This is the replication status of the gallery Image Version.
*
*/
class ReplicationStatus {
/**
* Create a ReplicationStatus.
* @member {string} [aggregatedState] This is the aggregated replication
- * status based on the regional replication status. Possible values include:
- * 'Unknown', 'InProgress', 'Completed', 'Failed'
+ * status based on all the regional replication status flags. Possible values
+ * include: 'Unknown', 'InProgress', 'Completed', 'Failed'
* @member {array} [summary] This is a summary of replication status for each
* region.
*/
@@ -44,14 +42,15 @@ class ReplicationStatus {
modelProperties: {
aggregatedState: {
required: false,
+ readOnly: true,
serializedName: 'aggregatedState',
type: {
- name: 'Enum',
- allowedValues: [ 'Unknown', 'InProgress', 'Completed', 'Failed' ]
+ name: 'String'
}
},
summary: {
required: false,
+ readOnly: true,
serializedName: 'summary',
type: {
name: 'Sequence',
diff --git a/lib/services/computeManagement2/lib/models/storageProfile.js b/lib/services/computeManagement2/lib/models/storageProfile.js
index 4075f58e29..42c1cdb5e0 100644
--- a/lib/services/computeManagement2/lib/models/storageProfile.js
+++ b/lib/services/computeManagement2/lib/models/storageProfile.js
@@ -92,9 +92,9 @@ class StorageProfile {
* 1023 GB
* @member {object} [osDisk.managedDisk] The managed disk parameters.
* @member {string} [osDisk.managedDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. NOTE: UltraSSD_LRS can only be
+ * used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add
* a data disk to a virtual machine.
For more information about
* disks, see [About disks and VHDs for Azure virtual
diff --git a/lib/services/computeManagement2/lib/models/targetRegion.js b/lib/services/computeManagement2/lib/models/targetRegion.js
new file mode 100644
index 0000000000..1236907427
--- /dev/null
+++ b/lib/services/computeManagement2/lib/models/targetRegion.js
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+'use strict';
+
+/**
+ * Describes the target region information.
+ *
+ */
+class TargetRegion {
+ /**
+ * Create a TargetRegion.
+ * @member {string} name The name of the region.
+ * @member {number} [regionalReplicaCount] The number of replicas of the
+ * Image Version to be created per region. This property is updateable.
+ */
+ constructor() {
+ }
+
+ /**
+ * Defines the metadata of TargetRegion
+ *
+ * @returns {object} metadata of TargetRegion
+ *
+ */
+ mapper() {
+ return {
+ required: false,
+ serializedName: 'TargetRegion',
+ type: {
+ name: 'Composite',
+ className: 'TargetRegion',
+ modelProperties: {
+ name: {
+ required: true,
+ serializedName: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ regionalReplicaCount: {
+ required: false,
+ serializedName: 'regionalReplicaCount',
+ type: {
+ name: 'Number'
+ }
+ }
+ }
+ }
+ };
+ }
+}
+
+module.exports = TargetRegion;
diff --git a/lib/services/computeManagement2/lib/models/upgradePolicy.js b/lib/services/computeManagement2/lib/models/upgradePolicy.js
index 401ac53237..0bdfe637e9 100644
--- a/lib/services/computeManagement2/lib/models/upgradePolicy.js
+++ b/lib/services/computeManagement2/lib/models/upgradePolicy.js
@@ -49,13 +49,15 @@ class UpgradePolicy {
* time between completing the update for all virtual machines in one batch
* and starting the next batch. The time duration should be specified in ISO
* 8601 format. The default value is 0 seconds (PT0S).
- * @member {boolean} [automaticOSUpgrade] Whether OS upgrades should
- * automatically be applied to scale set instances in a rolling fashion when
- * a newer version of the image becomes available.
- * @member {object} [autoOSUpgradePolicy] Configuration parameters used for
- * performing automatic OS Upgrade.
- * @member {boolean} [autoOSUpgradePolicy.disableAutoRollback] Whether OS
- * image rollback feature should be disabled. Default value is false.
+ * @member {object} [automaticOSUpgradePolicy] Configuration parameters used
+ * for performing automatic OS Upgrade.
+ * @member {boolean} [automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
+ * @member {boolean} [automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*/
constructor() {
}
@@ -90,19 +92,12 @@ class UpgradePolicy {
className: 'RollingUpgradePolicy'
}
},
- automaticOSUpgrade: {
+ automaticOSUpgradePolicy: {
required: false,
- serializedName: 'automaticOSUpgrade',
- type: {
- name: 'Boolean'
- }
- },
- autoOSUpgradePolicy: {
- required: false,
- serializedName: 'autoOSUpgradePolicy',
+ serializedName: 'automaticOSUpgradePolicy',
type: {
name: 'Composite',
- className: 'AutoOSUpgradePolicy'
+ className: 'AutomaticOSUpgradePolicy'
}
}
}
diff --git a/lib/services/computeManagement2/lib/models/virtualMachine.js b/lib/services/computeManagement2/lib/models/virtualMachine.js
index 1e86ad9f99..1bfd785c30 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachine.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachine.js
@@ -186,13 +186,21 @@ class VirtualMachine extends models['Resource'] {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine.
For more
* information about disks, see [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks
+ * with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks
+ * with storage account type UltraSSD_LRS can be added to a virtual machine
+ * or virtual machine scale set only if this property is enabled.
* @member {object} [osProfile] Specifies the operating system settings for
* the virtual machine.
* @member {string} [osProfile.computerName] Specifies the host OS name of
@@ -492,6 +500,14 @@ class VirtualMachine extends models['Resource'] {
className: 'StorageProfile'
}
},
+ additionalCapabilities: {
+ required: false,
+ serializedName: 'properties.additionalCapabilities',
+ type: {
+ name: 'Composite',
+ className: 'AdditionalCapabilities'
+ }
+ },
osProfile: {
required: false,
serializedName: 'properties.osProfile',
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js
index fea0ed48e7..648247509e 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js
@@ -76,14 +76,16 @@ class VirtualMachineScaleSet extends models['Resource'] {
* between completing the update for all virtual machines in one batch and
* starting the next batch. The time duration should be specified in ISO 8601
* format. The default value is 0 seconds (PT0S).
- * @member {boolean} [upgradePolicy.automaticOSUpgrade] Whether OS upgrades
- * should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
- * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration
+ * @member {object} [upgradePolicy.automaticOSUpgradePolicy] Configuration
* parameters used for performing automatic OS Upgrade.
- * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback]
- * Whether OS image rollback feature should be disabled. Default value is
- * false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade] Whether
+ * OS upgrades should automatically be applied to scale set instances in a
+ * rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback] Whether
+ * OS image rollback feature should be disabled. Default value is false.
* @member {object} [virtualMachineProfile] The virtual machine profile.
* @member {object} [virtualMachineProfile.osProfile] Specifies the operating
* system settings for the virtual machines in the scale set.
@@ -251,14 +253,26 @@ class VirtualMachineScaleSet extends models['Resource'] {
* The managed disk parameters.
* @member {string}
* [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [virtualMachineProfile.storageProfile.dataDisks] Specifies
* the parameters that are used to add data disks to the virtual machines in
* the scale set.
For more information about disks, see [About disks
* and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [virtualMachineProfile.additionalCapabilities] Specifies
+ * additional capabilities enabled or disabled on the virtual machine in the
+ * scale set. For instance: whether the virtual machine has the capability to
+ * support attaching managed data disks with UltraSSD_LRS storage account
+ * type.
+ * @member {boolean}
+ * [virtualMachineProfile.additionalCapabilities.ultraSSDEnabled] The flag
+ * that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
* @member {object} [virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js
index 0ed7bb5261..3354ee641a 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js
@@ -35,9 +35,9 @@ class VirtualMachineScaleSetDataDisk {
* virtual machine image.
This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used
+ * with data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js
index aeb0c452f0..6ffd999d31 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js
@@ -18,9 +18,9 @@ class VirtualMachineScaleSetManagedDiskParameters {
/**
* Create a VirtualMachineScaleSetManagedDiskParameters.
* @member {string} [storageAccountType] Specifies the storage account type
- * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- * 'StandardSSD_LRS'
+ * for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks,
+ * it cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js
index f72c6c0bb8..c604d7389a 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js
@@ -47,9 +47,9 @@ class VirtualMachineScaleSetOSDisk {
* to store operating system disks for the scale set.
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used
+ * with data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js
index 4c0b81de04..5196601dfb 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js
@@ -68,9 +68,9 @@ class VirtualMachineScaleSetStorageProfile {
* are used to store operating system disks for the scale set.
* @member {object} [osDisk.managedDisk] The managed disk parameters.
* @member {string} [osDisk.managedDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. NOTE: UltraSSD_LRS can only be
+ * used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add
* data disks to the virtual machines in the scale set.
For more
* information about disks, see [About disks and VHDs for Azure virtual
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js
index c43ab504ac..36b3b105c5 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js
@@ -71,14 +71,16 @@ class VirtualMachineScaleSetUpdate extends models['UpdateResource'] {
* between completing the update for all virtual machines in one batch and
* starting the next batch. The time duration should be specified in ISO 8601
* format. The default value is 0 seconds (PT0S).
- * @member {boolean} [upgradePolicy.automaticOSUpgrade] Whether OS upgrades
- * should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
- * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration
+ * @member {object} [upgradePolicy.automaticOSUpgradePolicy] Configuration
* parameters used for performing automatic OS Upgrade.
- * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback]
- * Whether OS image rollback feature should be disabled. Default value is
- * false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade] Whether
+ * OS upgrades should automatically be applied to scale set instances in a
+ * rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
+ * @member {boolean}
+ * [upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback] Whether
+ * OS image rollback feature should be disabled. Default value is false.
* @member {object} [virtualMachineProfile] The virtual machine profile.
* @member {object} [virtualMachineProfile.osProfile] The virtual machine
* scale set OS profile.
@@ -175,9 +177,10 @@ class VirtualMachineScaleSetUpdate extends models['UpdateResource'] {
* The managed disk parameters.
* @member {string}
* [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [virtualMachineProfile.storageProfile.dataDisks] The data
* disks.
* @member {object} [virtualMachineProfile.networkProfile] The virtual
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js
index 7302df893f..df462dd2c8 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js
@@ -35,9 +35,9 @@ class VirtualMachineScaleSetUpdateOSDisk {
* uris.
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
- * account type for the managed disk. Possible values are: Standard_LRS,
- * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
- * 'Premium_LRS', 'StandardSSD_LRS'
+ * account type for the managed disk. NOTE: UltraSSD_LRS can only be used
+ * with data disks, it cannot be used with OS Disk. Possible values include:
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js
index 11055e0402..f2cbc4aa8f 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js
@@ -47,9 +47,9 @@ class VirtualMachineScaleSetUpdateStorageProfile {
* container uris.
* @member {object} [osDisk.managedDisk] The managed disk parameters.
* @member {string} [osDisk.managedDisk.storageAccountType] Specifies the
- * storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * storage account type for the managed disk. NOTE: UltraSSD_LRS can only be
+ * used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] The data disks.
*/
constructor() {
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js
index 0626b85606..876c3adfc4 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js
@@ -94,9 +94,10 @@ class VirtualMachineScaleSetUpdateVMProfile {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] The data disks.
* @member {object} [networkProfile] The virtual machine scale set network
* profile.
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js
index 4f2a074739..3376670278 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js
@@ -250,13 +250,23 @@ class VirtualMachineScaleSetVM extends models['Resource'] {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine.
For more
* information about disks, see [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks
+ * with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks
+ * with storage account type UltraSSD_LRS can be added to a virtual machine
+ * or virtual machine scale set only if this property is enabled.
* @member {object} [osProfile] Specifies the operating system settings for
* the virtual machine.
* @member {string} [osProfile.computerName] Specifies the host OS name of
@@ -524,6 +534,14 @@ class VirtualMachineScaleSetVM extends models['Resource'] {
className: 'StorageProfile'
}
},
+ additionalCapabilities: {
+ required: false,
+ serializedName: 'properties.additionalCapabilities',
+ type: {
+ name: 'Composite',
+ className: 'AdditionalCapabilities'
+ }
+ },
osProfile: {
required: false,
serializedName: 'properties.osProfile',
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js
index c701443c3f..62c9b40196 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js
@@ -160,14 +160,24 @@ class VirtualMachineScaleSetVMProfile {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add data disks to the virtual machines in the scale set.
*
For more information about disks, see [About disks and VHDs for
* Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks
+ * with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks
+ * with storage account type UltraSSD_LRS can be added to a virtual machine
+ * or virtual machine scale set only if this property is enabled.
* @member {object} [networkProfile] Specifies properties of the network
* interfaces of the virtual machines in the scale set.
* @member {object} [networkProfile.healthProbe] A reference to a load
@@ -244,6 +254,14 @@ class VirtualMachineScaleSetVMProfile {
className: 'VirtualMachineScaleSetStorageProfile'
}
},
+ additionalCapabilities: {
+ required: false,
+ serializedName: 'additionalCapabilities',
+ type: {
+ name: 'Composite',
+ className: 'AdditionalCapabilities'
+ }
+ },
networkProfile: {
required: false,
serializedName: 'networkProfile',
diff --git a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js
index 48de6572cc..e0e1277183 100644
--- a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js
+++ b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js
@@ -186,13 +186,21 @@ class VirtualMachineUpdate extends models['UpdateResource'] {
* @member {object} [storageProfile.osDisk.managedDisk] The managed disk
* parameters.
* @member {string} [storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE:
+ * UltraSSD_LRS can only be used with data disks, it cannot be used with OS
+ * Disk. Possible values include: 'Standard_LRS', 'Premium_LRS',
+ * 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine.
For more
* information about disks, see [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ * @member {object} [additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ * @member {boolean} [additionalCapabilities.ultraSSDEnabled] The flag that
+ * enables or disables a capability to have one or more managed data disks
+ * with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks
+ * with storage account type UltraSSD_LRS can be added to a virtual machine
+ * or virtual machine scale set only if this property is enabled.
* @member {object} [osProfile] Specifies the operating system settings for
* the virtual machine.
* @member {string} [osProfile.computerName] Specifies the host OS name of
@@ -460,6 +468,14 @@ class VirtualMachineUpdate extends models['UpdateResource'] {
className: 'StorageProfile'
}
},
+ additionalCapabilities: {
+ required: false,
+ serializedName: 'properties.additionalCapabilities',
+ type: {
+ name: 'Composite',
+ className: 'AdditionalCapabilities'
+ }
+ },
osProfile: {
required: false,
serializedName: 'properties.osProfile',
diff --git a/lib/services/computeManagement2/lib/operations/availabilitySets.js b/lib/services/computeManagement2/lib/operations/availabilitySets.js
index af9d53c1b8..9c19cadd17 100644
--- a/lib/services/computeManagement2/lib/operations/availabilitySets.js
+++ b/lib/services/computeManagement2/lib/operations/availabilitySets.js
@@ -31,7 +31,10 @@ const WebResource = msRest.WebResource;
* @param {array} [parameters.virtualMachines] A list of references to all
* virtual machines in the availability set.
*
- * @param {object} [parameters.sku] Sku of the availability set
+ * @param {object} [parameters.sku] Sku of the availability set, only name is
+ * required to be set. See AvailabilitySetSkuTypes for possible set of values.
+ * Use 'Aligned' for virtual machines with managed disks and 'Classic' for
+ * virtual machines with unmanaged disks. Default value is 'Classic'.
*
* @param {string} [parameters.sku.name] The sku name.
*
@@ -74,7 +77,7 @@ function _createOrUpdate(resourceGroupName, availabilitySetName, parameters, opt
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -257,7 +260,7 @@ function _update(resourceGroupName, availabilitySetName, parameters, options, ca
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -416,7 +419,7 @@ function _deleteMethod(resourceGroupName, availabilitySetName, options, callback
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -542,7 +545,7 @@ function _get(resourceGroupName, availabilitySetName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -682,7 +685,7 @@ function _listBySubscription(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -816,7 +819,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -957,7 +960,7 @@ function _listAvailableSizes(resourceGroupName, availabilitySetName, options, ca
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1357,7 +1360,10 @@ class AvailabilitySets {
* @param {array} [parameters.virtualMachines] A list of references to all
* virtual machines in the availability set.
*
- * @param {object} [parameters.sku] Sku of the availability set
+ * @param {object} [parameters.sku] Sku of the availability set, only name is
+ * required to be set. See AvailabilitySetSkuTypes for possible set of values.
+ * Use 'Aligned' for virtual machines with managed disks and 'Classic' for
+ * virtual machines with unmanaged disks. Default value is 'Classic'.
*
* @param {string} [parameters.sku.name] The sku name.
*
@@ -1414,7 +1420,10 @@ class AvailabilitySets {
* @param {array} [parameters.virtualMachines] A list of references to all
* virtual machines in the availability set.
*
- * @param {object} [parameters.sku] Sku of the availability set
+ * @param {object} [parameters.sku] Sku of the availability set, only name is
+ * required to be set. See AvailabilitySetSkuTypes for possible set of values.
+ * Use 'Aligned' for virtual machines with managed disks and 'Classic' for
+ * virtual machines with unmanaged disks. Default value is 'Classic'.
*
* @param {string} [parameters.sku.name] The sku name.
*
diff --git a/lib/services/computeManagement2/lib/operations/disks.js b/lib/services/computeManagement2/lib/operations/disks.js
index 0650e9ba33..a0ef686b1f 100644
--- a/lib/services/computeManagement2/lib/operations/disks.js
+++ b/lib/services/computeManagement2/lib/operations/disks.js
@@ -31,7 +31,7 @@ const WebResource = msRest.WebResource;
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -101,6 +101,14 @@ const WebResource = msRest.WebResource;
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -228,12 +236,20 @@ function _createOrUpdate(resourceGroupName, diskName, disk, options, callback) {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -343,7 +359,7 @@ function _get(resourceGroupName, diskName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -550,7 +566,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -685,7 +701,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -957,7 +973,7 @@ function _revokeAccess(resourceGroupName, diskName, options, callback) {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -1027,6 +1043,14 @@ function _revokeAccess(resourceGroupName, diskName, options, callback) {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -1059,7 +1083,7 @@ function _beginCreateOrUpdate(resourceGroupName, diskName, disk, options, callba
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1253,12 +1277,20 @@ function _beginCreateOrUpdate(resourceGroupName, diskName, disk, options, callba
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -1288,7 +1320,7 @@ function _beginUpdate(resourceGroupName, diskName, disk, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1467,7 +1499,7 @@ function _beginDeleteMethod(resourceGroupName, diskName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1605,7 +1637,7 @@ function _beginGrantAccess(resourceGroupName, diskName, grantAccessData, options
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1767,7 +1799,7 @@ function _beginRevokeAccess(resourceGroupName, diskName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -2153,7 +2185,7 @@ class Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -2223,6 +2255,14 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -2268,7 +2308,7 @@ class Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -2338,6 +2378,14 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -2441,12 +2489,20 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -2525,12 +2581,20 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -3139,7 +3203,7 @@ class Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -3209,6 +3273,14 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -3254,7 +3326,7 @@ class Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -3324,6 +3396,14 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -3427,12 +3507,20 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -3511,12 +3599,20 @@ class Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
diff --git a/lib/services/computeManagement2/lib/operations/galleries.js b/lib/services/computeManagement2/lib/operations/galleries.js
index d4ac24efb0..f06a95e924 100644
--- a/lib/services/computeManagement2/lib/operations/galleries.js
+++ b/lib/services/computeManagement2/lib/operations/galleries.js
@@ -16,17 +16,19 @@ const WebResource = msRest.WebResource;
/**
- * Create or update a gallery.
+ * Create or update a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update gallery
- * operation.
+ * @param {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
*
- * @param {string} [gallery.description] The description of this gallery
- * resource.
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
*
* @param {object} [gallery.identifier]
*
@@ -105,11 +107,11 @@ function _createOrUpdate(resourceGroupName, galleryName, gallery, options, callb
}
/**
- * Retrieves information about a gallery.
+ * Retrieves information about a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery.
*
* @param {object} [options] Optional Parameters.
*
@@ -249,11 +251,12 @@ function _get(resourceGroupName, galleryName, options, callback) {
/**
- * Delete a gallery.
+ * Delete a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -266,9 +269,7 @@ function _get(resourceGroupName, galleryName, options, callback) {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -306,20 +307,6 @@ function _deleteMethod(resourceGroupName, galleryName, options, callback) {
if (responseBody === '') responseBody = null;
// Deserialize Response
- let parsedResponse = null;
- try {
- parsedResponse = JSON.parse(responseBody);
- result = JSON.parse(responseBody);
- if (parsedResponse !== null && parsedResponse !== undefined) {
- let resultMapper = new client.models['OperationStatusResponse']().mapper();
- result = client.deserialize(resultMapper, parsedResponse, 'result');
- }
- } catch (error) {
- let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
- deserializationError.request = msRest.stripRequest(httpRequest);
- deserializationError.response = msRest.stripResponse(response);
- return callback(deserializationError);
- }
return callback(null, result, httpRequest, response);
});
@@ -484,7 +471,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
-function _listBySubscription(options, callback) {
+function _list(options, callback) {
/* jshint validthis: true */
let client = this.client;
if(!callback && typeof options === 'function') {
@@ -595,17 +582,19 @@ function _listBySubscription(options, callback) {
}
/**
- * Create or update a gallery.
+ * Create or update a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update gallery
- * operation.
+ * @param {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
*
- * @param {string} [gallery.description] The description of this gallery
- * resource.
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
*
* @param {object} [gallery.identifier]
*
@@ -716,7 +705,7 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, gallery, options,
return callback(err);
}
let statusCode = response.statusCode;
- if (statusCode !== 200 && statusCode !== 201) {
+ if (statusCode !== 200 && statusCode !== 201 && statusCode !== 202) {
let error = new Error(responseBody);
error.statusCode = response.statusCode;
error.request = msRest.stripRequest(httpRequest);
@@ -778,17 +767,35 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, gallery, options,
return callback(deserializationError1);
}
}
+ // Deserialize Response
+ if (statusCode === 202) {
+ let parsedResponse = null;
+ try {
+ parsedResponse = JSON.parse(responseBody);
+ result = JSON.parse(responseBody);
+ if (parsedResponse !== null && parsedResponse !== undefined) {
+ let resultMapper = new client.models['Gallery']().mapper();
+ result = client.deserialize(resultMapper, parsedResponse, 'result');
+ }
+ } catch (error) {
+ let deserializationError2 = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
+ deserializationError2.request = msRest.stripRequest(httpRequest);
+ deserializationError2.response = msRest.stripResponse(response);
+ return callback(deserializationError2);
+ }
+ }
return callback(null, result, httpRequest, response);
});
}
/**
- * Delete a gallery.
+ * Delete a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -801,9 +808,7 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, gallery, options,
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -905,23 +910,6 @@ function _beginDeleteMethod(resourceGroupName, galleryName, options, callback) {
// Create Result
let result = null;
if (responseBody === '') responseBody = null;
- // Deserialize Response
- if (statusCode === 200) {
- let parsedResponse = null;
- try {
- parsedResponse = JSON.parse(responseBody);
- result = JSON.parse(responseBody);
- if (parsedResponse !== null && parsedResponse !== undefined) {
- let resultMapper = new client.models['OperationStatusResponse']().mapper();
- result = client.deserialize(resultMapper, parsedResponse, 'result');
- }
- } catch (error) {
- let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
- deserializationError.request = msRest.stripRequest(httpRequest);
- deserializationError.response = msRest.stripResponse(response);
- return callback(deserializationError);
- }
- }
return callback(null, result, httpRequest, response);
});
@@ -1078,7 +1066,7 @@ function _listByResourceGroupNext(nextPageLink, options, callback) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
-function _listBySubscriptionNext(nextPageLink, options, callback) {
+function _listNext(nextPageLink, options, callback) {
/* jshint validthis: true */
let client = this.client;
if(!callback && typeof options === 'function') {
@@ -1193,25 +1181,27 @@ class Galleries {
this._get = _get;
this._deleteMethod = _deleteMethod;
this._listByResourceGroup = _listByResourceGroup;
- this._listBySubscription = _listBySubscription;
+ this._list = _list;
this._beginCreateOrUpdate = _beginCreateOrUpdate;
this._beginDeleteMethod = _beginDeleteMethod;
this._listByResourceGroupNext = _listByResourceGroupNext;
- this._listBySubscriptionNext = _listBySubscriptionNext;
+ this._listNext = _listNext;
}
/**
- * Create or update a gallery.
+ * Create or update a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update gallery
- * operation.
+ * @param {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
*
- * @param {string} [gallery.description] The description of this gallery
- * resource.
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
*
* @param {object} [gallery.identifier]
*
@@ -1245,17 +1235,19 @@ class Galleries {
}
/**
- * Create or update a gallery.
+ * Create or update a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update gallery
- * operation.
+ * @param {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
*
- * @param {string} [gallery.description] The description of this gallery
- * resource.
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
*
* @param {object} [gallery.identifier]
*
@@ -1311,11 +1303,11 @@ class Galleries {
}
/**
- * Retrieves information about a gallery.
+ * Retrieves information about a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery.
*
* @param {object} [options] Optional Parameters.
*
@@ -1343,11 +1335,11 @@ class Galleries {
}
/**
- * Retrieves information about a gallery.
+ * Retrieves information about a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery.
*
* @param {object} [options] Optional Parameters.
*
@@ -1397,11 +1389,12 @@ class Galleries {
}
/**
- * Delete a gallery.
+ * Delete a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1410,7 +1403,7 @@ class Galleries {
*
* @returns {Promise} A promise is returned
*
- * @resolve {HttpOperationResponse} - The deserialized result object.
+ * @resolve {HttpOperationResponse} - The deserialized result object.
*
* @reject {Error} - The error object.
*/
@@ -1429,11 +1422,12 @@ class Galleries {
}
/**
- * Delete a gallery.
+ * Delete a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1447,7 +1441,7 @@ class Galleries {
*
* {Promise} A promise is returned
*
- * @resolve {OperationStatusResponse} - The deserialized result object.
+ * @resolve {null} - The deserialized result object.
*
* @reject {Error} - The error object.
*
@@ -1455,9 +1449,7 @@ class Galleries {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -1579,11 +1571,11 @@ class Galleries {
*
* @reject {Error} - The error object.
*/
- listBySubscriptionWithHttpOperationResponse(options) {
+ listWithHttpOperationResponse(options) {
let client = this.client;
let self = this;
return new Promise((resolve, reject) => {
- self._listBySubscription(options, (err, result, request, response) => {
+ self._list(options, (err, result, request, response) => {
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
httpOperationResponse.body = result;
if (err) { reject(err); }
@@ -1623,7 +1615,7 @@ class Galleries {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
- listBySubscription(options, optionalCallback) {
+ list(options, optionalCallback) {
let client = this.client;
let self = this;
if (!optionalCallback && typeof options === 'function') {
@@ -1632,29 +1624,31 @@ class Galleries {
}
if (!optionalCallback) {
return new Promise((resolve, reject) => {
- self._listBySubscription(options, (err, result, request, response) => {
+ self._list(options, (err, result, request, response) => {
if (err) { reject(err); }
else { resolve(result); }
return;
});
});
} else {
- return self._listBySubscription(options, optionalCallback);
+ return self._list(options, optionalCallback);
}
}
/**
- * Create or update a gallery.
+ * Create or update a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update gallery
- * operation.
+ * @param {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
*
- * @param {string} [gallery.description] The description of this gallery
- * resource.
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
*
* @param {object} [gallery.identifier]
*
@@ -1688,17 +1682,19 @@ class Galleries {
}
/**
- * Create or update a gallery.
+ * Create or update a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update gallery
- * operation.
+ * @param {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
*
- * @param {string} [gallery.description] The description of this gallery
- * resource.
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
*
* @param {object} [gallery.identifier]
*
@@ -1754,11 +1750,12 @@ class Galleries {
}
/**
- * Delete a gallery.
+ * Delete a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1767,7 +1764,7 @@ class Galleries {
*
* @returns {Promise} A promise is returned
*
- * @resolve {HttpOperationResponse} - The deserialized result object.
+ * @resolve {HttpOperationResponse} - The deserialized result object.
*
* @reject {Error} - The error object.
*/
@@ -1786,11 +1783,12 @@ class Galleries {
}
/**
- * Delete a gallery.
+ * Delete a Shared Image Gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1804,7 +1802,7 @@ class Galleries {
*
* {Promise} A promise is returned
*
- * @resolve {OperationStatusResponse} - The deserialized result object.
+ * @resolve {null} - The deserialized result object.
*
* @reject {Error} - The error object.
*
@@ -1812,9 +1810,7 @@ class Galleries {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -1941,11 +1937,11 @@ class Galleries {
*
* @reject {Error} - The error object.
*/
- listBySubscriptionNextWithHttpOperationResponse(nextPageLink, options) {
+ listNextWithHttpOperationResponse(nextPageLink, options) {
let client = this.client;
let self = this;
return new Promise((resolve, reject) => {
- self._listBySubscriptionNext(nextPageLink, options, (err, result, request, response) => {
+ self._listNext(nextPageLink, options, (err, result, request, response) => {
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
httpOperationResponse.body = result;
if (err) { reject(err); }
@@ -1988,7 +1984,7 @@ class Galleries {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
- listBySubscriptionNext(nextPageLink, options, optionalCallback) {
+ listNext(nextPageLink, options, optionalCallback) {
let client = this.client;
let self = this;
if (!optionalCallback && typeof options === 'function') {
@@ -1997,14 +1993,14 @@ class Galleries {
}
if (!optionalCallback) {
return new Promise((resolve, reject) => {
- self._listBySubscriptionNext(nextPageLink, options, (err, result, request, response) => {
+ self._listNext(nextPageLink, options, (err, result, request, response) => {
if (err) { reject(err); }
else { resolve(result); }
return;
});
});
} else {
- return self._listBySubscriptionNext(nextPageLink, options, optionalCallback);
+ return self._listNext(nextPageLink, options, optionalCallback);
}
}
diff --git a/lib/services/computeManagement2/lib/operations/galleryImageVersions.js b/lib/services/computeManagement2/lib/operations/galleryImageVersions.js
index 60c7922175..d38aff799c 100644
--- a/lib/services/computeManagement2/lib/operations/galleryImageVersions.js
+++ b/lib/services/computeManagement2/lib/operations/galleryImageVersions.js
@@ -16,63 +16,49 @@ const WebResource = msRest.WebResource;
/**
- * Create or update a gallery image version.
+ * Create or update a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
*
* @param {object} galleryImageVersion Parameters supplied to the create or
- * update gallery image version operation.
+ * update gallery Image Version operation.
*
- * @param {object} [galleryImageVersion.publishingProfile]
+ * @param {object} galleryImageVersion.publishingProfile
+ *
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
*
* @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
- * The flag means that if it is set to true, people deploying VMs with 'latest'
- * as version will not use this version.
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
*
* @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
- * of life date of the gallery image version.
- *
- * @param {array} [galleryImageVersion.publishingProfile.regions] The regions
- * where the artifact is going to be published.
- *
- * @param {object} [galleryImageVersion.publishingProfile.source]
- *
- * @param {object} [galleryImageVersion.publishingProfile.source.managedImage]
- *
- * @param {string}
- * [galleryImageVersion.publishingProfile.source.managedImage.id] The managed
- * artifact id.
- *
- * @param {object} [galleryImageVersion.storageProfile]
- *
- * @param {object} [galleryImageVersion.storageProfile.osDiskImage]
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
*
- * @param {number} [galleryImageVersion.storageProfile.osDiskImage.sizedInGB]
- * It indicates the size of the VHD to create.
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
*
- * @param {string} [galleryImageVersion.storageProfile.osDiskImage.hostCaching]
- * The host caching of the disk. Valid values are 'None', 'ReadOnly', and
- * 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * @param {object} galleryImageVersion.publishingProfile.source
*
- * @param {array} [galleryImageVersion.storageProfile.dataDiskImages] A list of
- * data disk images.
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
*
- * @param {object} [galleryImageVersion.replicationStatus]
- *
- * @param {string} [galleryImageVersion.replicationStatus.aggregatedState] This
- * is the aggregated replication status based on the regional replication
- * status. Possible values include: 'Unknown', 'InProgress', 'Completed',
- * 'Failed'
- *
- * @param {array} [galleryImageVersion.replicationStatus.summary] This is a
- * summary of replication status for each region.
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
*
* @param {string} galleryImageVersion.location Resource location
*
@@ -149,16 +135,18 @@ function _createOrUpdate(resourceGroupName, galleryName, galleryImageName, galle
}
/**
- * Retrieves information about a gallery image version.
+ * Retrieves information about a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be retrieved.
*
* @param {object} [options] Optional Parameters.
*
@@ -210,11 +198,8 @@ function _get(resourceGroupName, galleryName, galleryImageName, galleryImageVers
if (galleryImageVersionName === null || galleryImageVersionName === undefined || typeof galleryImageVersionName.valueOf() !== 'string') {
throw new Error('galleryImageVersionName cannot be null or undefined and it must be of type string.');
}
- if (expand) {
- let allowedValues = [ 'ReplicationStatus' ];
- if (!allowedValues.some( function(item) { return item === expand; })) {
- throw new Error(expand + ' is not a valid value. The valid values are: ' + allowedValues);
- }
+ if (expand !== null && expand !== undefined && typeof expand.valueOf() !== 'string') {
+ throw new Error('expand must be of type string.');
}
if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') {
throw new Error('this.client.acceptLanguage must be of type string.');
@@ -319,16 +304,18 @@ function _get(resourceGroupName, galleryName, galleryImageName, galleryImageVers
/**
- * Delete a gallery image version.
+ * Delete a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -341,9 +328,7 @@ function _get(resourceGroupName, galleryName, galleryImageName, galleryImageVers
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -381,20 +366,6 @@ function _deleteMethod(resourceGroupName, galleryName, galleryImageName, gallery
if (responseBody === '') responseBody = null;
// Deserialize Response
- let parsedResponse = null;
- try {
- parsedResponse = JSON.parse(responseBody);
- result = JSON.parse(responseBody);
- if (parsedResponse !== null && parsedResponse !== undefined) {
- let resultMapper = new client.models['OperationStatusResponse']().mapper();
- result = client.deserialize(resultMapper, parsedResponse, 'result');
- }
- } catch (error) {
- let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
- deserializationError.request = msRest.stripRequest(httpRequest);
- deserializationError.response = msRest.stripResponse(response);
- return callback(deserializationError);
- }
return callback(null, result, httpRequest, response);
});
@@ -402,13 +373,15 @@ function _deleteMethod(resourceGroupName, galleryName, galleryImageName, gallery
}
/**
- * List gallery image versions under a gallery image.
+ * List gallery Image Versions in a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the Shared Image Gallery Image
+ * Definition from which the Image Versions are to be listed.
*
* @param {object} [options] Optional Parameters.
*
@@ -429,7 +402,7 @@ function _deleteMethod(resourceGroupName, galleryName, galleryImageName, gallery
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
-function _listGalleryImageVersionsByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, callback) {
+function _listByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, callback) {
/* jshint validthis: true */
let client = this.client;
if(!callback && typeof options === 'function') {
@@ -552,63 +525,49 @@ function _listGalleryImageVersionsByGalleryImage(resourceGroupName, galleryName,
}
/**
- * Create or update a gallery image version.
+ * Create or update a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
*
* @param {object} galleryImageVersion Parameters supplied to the create or
- * update gallery image version operation.
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
*
- * @param {object} [galleryImageVersion.publishingProfile]
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
*
* @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
- * The flag means that if it is set to true, people deploying VMs with 'latest'
- * as version will not use this version.
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
*
* @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
- * of life date of the gallery image version.
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
*
- * @param {array} [galleryImageVersion.publishingProfile.regions] The regions
- * where the artifact is going to be published.
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
*
- * @param {object} [galleryImageVersion.publishingProfile.source]
+ * @param {object} galleryImageVersion.publishingProfile.source
*
- * @param {object} [galleryImageVersion.publishingProfile.source.managedImage]
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
*
- * @param {string}
- * [galleryImageVersion.publishingProfile.source.managedImage.id] The managed
- * artifact id.
- *
- * @param {object} [galleryImageVersion.storageProfile]
- *
- * @param {object} [galleryImageVersion.storageProfile.osDiskImage]
- *
- * @param {number} [galleryImageVersion.storageProfile.osDiskImage.sizedInGB]
- * It indicates the size of the VHD to create.
- *
- * @param {string} [galleryImageVersion.storageProfile.osDiskImage.hostCaching]
- * The host caching of the disk. Valid values are 'None', 'ReadOnly', and
- * 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- *
- * @param {array} [galleryImageVersion.storageProfile.dataDiskImages] A list of
- * data disk images.
- *
- * @param {object} [galleryImageVersion.replicationStatus]
- *
- * @param {string} [galleryImageVersion.replicationStatus.aggregatedState] This
- * is the aggregated replication status based on the regional replication
- * status. Possible values include: 'Unknown', 'InProgress', 'Completed',
- * 'Failed'
- *
- * @param {array} [galleryImageVersion.replicationStatus.summary] This is a
- * summary of replication status for each region.
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
*
* @param {string} galleryImageVersion.location Resource location
*
@@ -725,7 +684,7 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
return callback(err);
}
let statusCode = response.statusCode;
- if (statusCode !== 200 && statusCode !== 201) {
+ if (statusCode !== 200 && statusCode !== 201 && statusCode !== 202) {
let error = new Error(responseBody);
error.statusCode = response.statusCode;
error.request = msRest.stripRequest(httpRequest);
@@ -787,22 +746,41 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
return callback(deserializationError1);
}
}
+ // Deserialize Response
+ if (statusCode === 202) {
+ let parsedResponse = null;
+ try {
+ parsedResponse = JSON.parse(responseBody);
+ result = JSON.parse(responseBody);
+ if (parsedResponse !== null && parsedResponse !== undefined) {
+ let resultMapper = new client.models['GalleryImageVersion']().mapper();
+ result = client.deserialize(resultMapper, parsedResponse, 'result');
+ }
+ } catch (error) {
+ let deserializationError2 = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
+ deserializationError2.request = msRest.stripRequest(httpRequest);
+ deserializationError2.response = msRest.stripResponse(response);
+ return callback(deserializationError2);
+ }
+ }
return callback(null, result, httpRequest, response);
});
}
/**
- * Delete a gallery image version.
+ * Delete a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -815,9 +793,7 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -927,30 +903,13 @@ function _beginDeleteMethod(resourceGroupName, galleryName, galleryImageName, ga
// Create Result
let result = null;
if (responseBody === '') responseBody = null;
- // Deserialize Response
- if (statusCode === 200) {
- let parsedResponse = null;
- try {
- parsedResponse = JSON.parse(responseBody);
- result = JSON.parse(responseBody);
- if (parsedResponse !== null && parsedResponse !== undefined) {
- let resultMapper = new client.models['OperationStatusResponse']().mapper();
- result = client.deserialize(resultMapper, parsedResponse, 'result');
- }
- } catch (error) {
- let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
- deserializationError.request = msRest.stripRequest(httpRequest);
- deserializationError.response = msRest.stripResponse(response);
- return callback(deserializationError);
- }
- }
return callback(null, result, httpRequest, response);
});
}
/**
- * List gallery image versions under a gallery image.
+ * List gallery Image Versions in a gallery Image Definition.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
@@ -974,7 +933,7 @@ function _beginDeleteMethod(resourceGroupName, galleryName, galleryImageName, ga
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
-function _listGalleryImageVersionsByGalleryImageNext(nextPageLink, options, callback) {
+function _listByGalleryImageNext(nextPageLink, options, callback) {
/* jshint validthis: true */
let client = this.client;
if(!callback && typeof options === 'function') {
@@ -1088,70 +1047,56 @@ class GalleryImageVersions {
this._createOrUpdate = _createOrUpdate;
this._get = _get;
this._deleteMethod = _deleteMethod;
- this._listGalleryImageVersionsByGalleryImage = _listGalleryImageVersionsByGalleryImage;
+ this._listByGalleryImage = _listByGalleryImage;
this._beginCreateOrUpdate = _beginCreateOrUpdate;
this._beginDeleteMethod = _beginDeleteMethod;
- this._listGalleryImageVersionsByGalleryImageNext = _listGalleryImageVersionsByGalleryImageNext;
+ this._listByGalleryImageNext = _listByGalleryImageNext;
}
/**
- * Create or update a gallery image version.
+ * Create or update a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
*
* @param {object} galleryImageVersion Parameters supplied to the create or
- * update gallery image version operation.
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
*
- * @param {object} [galleryImageVersion.publishingProfile]
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
*
* @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
- * The flag means that if it is set to true, people deploying VMs with 'latest'
- * as version will not use this version.
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
*
* @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
- * of life date of the gallery image version.
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
*
- * @param {array} [galleryImageVersion.publishingProfile.regions] The regions
- * where the artifact is going to be published.
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
*
- * @param {object} [galleryImageVersion.publishingProfile.source]
+ * @param {object} galleryImageVersion.publishingProfile.source
*
- * @param {object} [galleryImageVersion.publishingProfile.source.managedImage]
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
*
- * @param {string}
- * [galleryImageVersion.publishingProfile.source.managedImage.id] The managed
- * artifact id.
- *
- * @param {object} [galleryImageVersion.storageProfile]
- *
- * @param {object} [galleryImageVersion.storageProfile.osDiskImage]
- *
- * @param {number} [galleryImageVersion.storageProfile.osDiskImage.sizedInGB]
- * It indicates the size of the VHD to create.
- *
- * @param {string} [galleryImageVersion.storageProfile.osDiskImage.hostCaching]
- * The host caching of the disk. Valid values are 'None', 'ReadOnly', and
- * 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- *
- * @param {array} [galleryImageVersion.storageProfile.dataDiskImages] A list of
- * data disk images.
- *
- * @param {object} [galleryImageVersion.replicationStatus]
- *
- * @param {string} [galleryImageVersion.replicationStatus.aggregatedState] This
- * is the aggregated replication status based on the regional replication
- * status. Possible values include: 'Unknown', 'InProgress', 'Completed',
- * 'Failed'
- *
- * @param {array} [galleryImageVersion.replicationStatus.summary] This is a
- * summary of replication status for each region.
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
*
* @param {string} galleryImageVersion.location Resource location
*
@@ -1183,63 +1128,49 @@ class GalleryImageVersions {
}
/**
- * Create or update a gallery image version.
+ * Create or update a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
*
* @param {object} galleryImageVersion Parameters supplied to the create or
- * update gallery image version operation.
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
*
- * @param {object} [galleryImageVersion.publishingProfile]
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
*
* @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
- * The flag means that if it is set to true, people deploying VMs with 'latest'
- * as version will not use this version.
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
*
* @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
- * of life date of the gallery image version.
- *
- * @param {array} [galleryImageVersion.publishingProfile.regions] The regions
- * where the artifact is going to be published.
- *
- * @param {object} [galleryImageVersion.publishingProfile.source]
- *
- * @param {object} [galleryImageVersion.publishingProfile.source.managedImage]
- *
- * @param {string}
- * [galleryImageVersion.publishingProfile.source.managedImage.id] The managed
- * artifact id.
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
*
- * @param {object} [galleryImageVersion.storageProfile]
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
*
- * @param {object} [galleryImageVersion.storageProfile.osDiskImage]
+ * @param {object} galleryImageVersion.publishingProfile.source
*
- * @param {number} [galleryImageVersion.storageProfile.osDiskImage.sizedInGB]
- * It indicates the size of the VHD to create.
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
*
- * @param {string} [galleryImageVersion.storageProfile.osDiskImage.hostCaching]
- * The host caching of the disk. Valid values are 'None', 'ReadOnly', and
- * 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- *
- * @param {array} [galleryImageVersion.storageProfile.dataDiskImages] A list of
- * data disk images.
- *
- * @param {object} [galleryImageVersion.replicationStatus]
- *
- * @param {string} [galleryImageVersion.replicationStatus.aggregatedState] This
- * is the aggregated replication status based on the regional replication
- * status. Possible values include: 'Unknown', 'InProgress', 'Completed',
- * 'Failed'
- *
- * @param {array} [galleryImageVersion.replicationStatus.summary] This is a
- * summary of replication status for each region.
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
*
* @param {string} galleryImageVersion.location Resource location
*
@@ -1293,16 +1224,18 @@ class GalleryImageVersions {
}
/**
- * Retrieves information about a gallery image version.
+ * Retrieves information about a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be retrieved.
*
* @param {object} [options] Optional Parameters.
*
@@ -1333,16 +1266,18 @@ class GalleryImageVersions {
}
/**
- * Retrieves information about a gallery image version.
+ * Retrieves information about a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be retrieved.
*
* @param {object} [options] Optional Parameters.
*
@@ -1395,16 +1330,18 @@ class GalleryImageVersions {
}
/**
- * Delete a gallery image version.
+ * Delete a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1413,7 +1350,7 @@ class GalleryImageVersions {
*
* @returns {Promise} A promise is returned
*
- * @resolve {HttpOperationResponse} - The deserialized result object.
+ * @resolve {HttpOperationResponse} - The deserialized result object.
*
* @reject {Error} - The error object.
*/
@@ -1432,16 +1369,18 @@ class GalleryImageVersions {
}
/**
- * Delete a gallery image version.
+ * Delete a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1455,7 +1394,7 @@ class GalleryImageVersions {
*
* {Promise} A promise is returned
*
- * @resolve {OperationStatusResponse} - The deserialized result object.
+ * @resolve {null} - The deserialized result object.
*
* @reject {Error} - The error object.
*
@@ -1463,9 +1402,7 @@ class GalleryImageVersions {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -1492,13 +1429,15 @@ class GalleryImageVersions {
}
/**
- * List gallery image versions under a gallery image.
+ * List gallery Image Versions in a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the Shared Image Gallery Image
+ * Definition from which the Image Versions are to be listed.
*
* @param {object} [options] Optional Parameters.
*
@@ -1511,11 +1450,11 @@ class GalleryImageVersions {
*
* @reject {Error} - The error object.
*/
- listGalleryImageVersionsByGalleryImageWithHttpOperationResponse(resourceGroupName, galleryName, galleryImageName, options) {
+ listByGalleryImageWithHttpOperationResponse(resourceGroupName, galleryName, galleryImageName, options) {
let client = this.client;
let self = this;
return new Promise((resolve, reject) => {
- self._listGalleryImageVersionsByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, (err, result, request, response) => {
+ self._listByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, (err, result, request, response) => {
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
httpOperationResponse.body = result;
if (err) { reject(err); }
@@ -1526,13 +1465,15 @@ class GalleryImageVersions {
}
/**
- * List gallery image versions under a gallery image.
+ * List gallery Image Versions in a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the Shared Image Gallery Image
+ * Definition from which the Image Versions are to be listed.
*
* @param {object} [options] Optional Parameters.
*
@@ -1562,7 +1503,7 @@ class GalleryImageVersions {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
- listGalleryImageVersionsByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, optionalCallback) {
+ listByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, optionalCallback) {
let client = this.client;
let self = this;
if (!optionalCallback && typeof options === 'function') {
@@ -1571,75 +1512,61 @@ class GalleryImageVersions {
}
if (!optionalCallback) {
return new Promise((resolve, reject) => {
- self._listGalleryImageVersionsByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, (err, result, request, response) => {
+ self._listByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, (err, result, request, response) => {
if (err) { reject(err); }
else { resolve(result); }
return;
});
});
} else {
- return self._listGalleryImageVersionsByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, optionalCallback);
+ return self._listByGalleryImage(resourceGroupName, galleryName, galleryImageName, options, optionalCallback);
}
}
/**
- * Create or update a gallery image version.
+ * Create or update a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
*
* @param {object} galleryImageVersion Parameters supplied to the create or
- * update gallery image version operation.
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
*
- * @param {object} [galleryImageVersion.publishingProfile]
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
*
* @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
- * The flag means that if it is set to true, people deploying VMs with 'latest'
- * as version will not use this version.
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
*
* @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
- * of life date of the gallery image version.
- *
- * @param {array} [galleryImageVersion.publishingProfile.regions] The regions
- * where the artifact is going to be published.
- *
- * @param {object} [galleryImageVersion.publishingProfile.source]
- *
- * @param {object} [galleryImageVersion.publishingProfile.source.managedImage]
- *
- * @param {string}
- * [galleryImageVersion.publishingProfile.source.managedImage.id] The managed
- * artifact id.
- *
- * @param {object} [galleryImageVersion.storageProfile]
- *
- * @param {object} [galleryImageVersion.storageProfile.osDiskImage]
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
*
- * @param {number} [galleryImageVersion.storageProfile.osDiskImage.sizedInGB]
- * It indicates the size of the VHD to create.
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
*
- * @param {string} [galleryImageVersion.storageProfile.osDiskImage.hostCaching]
- * The host caching of the disk. Valid values are 'None', 'ReadOnly', and
- * 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * @param {object} galleryImageVersion.publishingProfile.source
*
- * @param {array} [galleryImageVersion.storageProfile.dataDiskImages] A list of
- * data disk images.
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
*
- * @param {object} [galleryImageVersion.replicationStatus]
- *
- * @param {string} [galleryImageVersion.replicationStatus.aggregatedState] This
- * is the aggregated replication status based on the regional replication
- * status. Possible values include: 'Unknown', 'InProgress', 'Completed',
- * 'Failed'
- *
- * @param {array} [galleryImageVersion.replicationStatus.summary] This is a
- * summary of replication status for each region.
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
*
* @param {string} galleryImageVersion.location Resource location
*
@@ -1671,63 +1598,49 @@ class GalleryImageVersions {
}
/**
- * Create or update a gallery image version.
+ * Create or update a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
*
* @param {object} galleryImageVersion Parameters supplied to the create or
- * update gallery image version operation.
+ * update gallery Image Version operation.
*
- * @param {object} [galleryImageVersion.publishingProfile]
+ * @param {object} galleryImageVersion.publishingProfile
+ *
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
*
* @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
- * The flag means that if it is set to true, people deploying VMs with 'latest'
- * as version will not use this version.
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
*
* @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
- * of life date of the gallery image version.
- *
- * @param {array} [galleryImageVersion.publishingProfile.regions] The regions
- * where the artifact is going to be published.
- *
- * @param {object} [galleryImageVersion.publishingProfile.source]
- *
- * @param {object} [galleryImageVersion.publishingProfile.source.managedImage]
- *
- * @param {string}
- * [galleryImageVersion.publishingProfile.source.managedImage.id] The managed
- * artifact id.
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
*
- * @param {object} [galleryImageVersion.storageProfile]
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
*
- * @param {object} [galleryImageVersion.storageProfile.osDiskImage]
+ * @param {object} galleryImageVersion.publishingProfile.source
*
- * @param {number} [galleryImageVersion.storageProfile.osDiskImage.sizedInGB]
- * It indicates the size of the VHD to create.
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
*
- * @param {string} [galleryImageVersion.storageProfile.osDiskImage.hostCaching]
- * The host caching of the disk. Valid values are 'None', 'ReadOnly', and
- * 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
- *
- * @param {array} [galleryImageVersion.storageProfile.dataDiskImages] A list of
- * data disk images.
- *
- * @param {object} [galleryImageVersion.replicationStatus]
- *
- * @param {string} [galleryImageVersion.replicationStatus.aggregatedState] This
- * is the aggregated replication status based on the regional replication
- * status. Possible values include: 'Unknown', 'InProgress', 'Completed',
- * 'Failed'
- *
- * @param {array} [galleryImageVersion.replicationStatus.summary] This is a
- * summary of replication status for each region.
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
*
* @param {string} galleryImageVersion.location Resource location
*
@@ -1781,16 +1694,18 @@ class GalleryImageVersions {
}
/**
- * Delete a gallery image version.
+ * Delete a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1799,7 +1714,7 @@ class GalleryImageVersions {
*
* @returns {Promise} A promise is returned
*
- * @resolve {HttpOperationResponse} - The deserialized result object.
+ * @resolve {HttpOperationResponse} - The deserialized result object.
*
* @reject {Error} - The error object.
*/
@@ -1818,16 +1733,18 @@ class GalleryImageVersions {
}
/**
- * Delete a gallery image version.
+ * Delete a gallery Image Version.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
*
- * @param {string} galleryImageVersionName The name of the gallery image
- * version.
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1841,7 +1758,7 @@ class GalleryImageVersions {
*
* {Promise} A promise is returned
*
- * @resolve {OperationStatusResponse} - The deserialized result object.
+ * @resolve {null} - The deserialized result object.
*
* @reject {Error} - The error object.
*
@@ -1849,9 +1766,7 @@ class GalleryImageVersions {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -1878,7 +1793,7 @@ class GalleryImageVersions {
}
/**
- * List gallery image versions under a gallery image.
+ * List gallery Image Versions in a gallery Image Definition.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
@@ -1894,11 +1809,11 @@ class GalleryImageVersions {
*
* @reject {Error} - The error object.
*/
- listGalleryImageVersionsByGalleryImageNextWithHttpOperationResponse(nextPageLink, options) {
+ listByGalleryImageNextWithHttpOperationResponse(nextPageLink, options) {
let client = this.client;
let self = this;
return new Promise((resolve, reject) => {
- self._listGalleryImageVersionsByGalleryImageNext(nextPageLink, options, (err, result, request, response) => {
+ self._listByGalleryImageNext(nextPageLink, options, (err, result, request, response) => {
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
httpOperationResponse.body = result;
if (err) { reject(err); }
@@ -1909,7 +1824,7 @@ class GalleryImageVersions {
}
/**
- * List gallery image versions under a gallery image.
+ * List gallery Image Versions in a gallery Image Definition.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
@@ -1942,7 +1857,7 @@ class GalleryImageVersions {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
- listGalleryImageVersionsByGalleryImageNext(nextPageLink, options, optionalCallback) {
+ listByGalleryImageNext(nextPageLink, options, optionalCallback) {
let client = this.client;
let self = this;
if (!optionalCallback && typeof options === 'function') {
@@ -1951,14 +1866,14 @@ class GalleryImageVersions {
}
if (!optionalCallback) {
return new Promise((resolve, reject) => {
- self._listGalleryImageVersionsByGalleryImageNext(nextPageLink, options, (err, result, request, response) => {
+ self._listByGalleryImageNext(nextPageLink, options, (err, result, request, response) => {
if (err) { reject(err); }
else { resolve(result); }
return;
});
});
} else {
- return self._listGalleryImageVersionsByGalleryImageNext(nextPageLink, options, optionalCallback);
+ return self._listByGalleryImageNext(nextPageLink, options, optionalCallback);
}
}
diff --git a/lib/services/computeManagement2/lib/operations/galleryImages.js b/lib/services/computeManagement2/lib/operations/galleryImages.js
index 43ddc1bc74..2fe4846efb 100644
--- a/lib/services/computeManagement2/lib/operations/galleryImages.js
+++ b/lib/services/computeManagement2/lib/operations/galleryImages.js
@@ -16,48 +16,54 @@ const WebResource = msRest.WebResource;
/**
- * Create or update a gallery image.
+ * Create or update a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
*
* @param {object} galleryImage Parameters supplied to the create or update
* gallery image operation.
*
* @param {string} [galleryImage.description] The description of this gallery
- * image resource.
+ * Image Definition resource. This property is updateable.
*
- * @param {string} [galleryImage.eula] The Eula agreement for the gallery
- * image.
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
*
* @param {string} [galleryImage.privacyStatementUri] The privacy statement
* uri.
*
* @param {string} [galleryImage.releaseNoteUri] The release note uri.
*
- * @param {string} [galleryImage.osType] This property allows you to specify
- * the type of the OS that is included in the disk if creating a VM from
- * user-image or a specialized VHD.
Possible values are:
- * **Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ * @param {string} galleryImage.osType 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'
*
- * @param {string} [galleryImage.osState] The OS State. Possible values
- * include: 'Generalized', 'Specialized'
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
*
- * @param {date} [galleryImage.endOfLifeDate] The end of life of this gallery
- * image.
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
*
- * @param {object} [galleryImage.identifier]
+ * @param {object} galleryImage.identifier
*
- * @param {string} [galleryImage.identifier.publisher] The gallery image
- * publisher name.
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
*
- * @param {string} [galleryImage.identifier.offer] The gallery image offer
- * name.
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
*
- * @param {string} [galleryImage.identifier.sku] The gallery image sku name.
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
*
* @param {object} [galleryImage.recommended]
*
@@ -158,13 +164,15 @@ function _createOrUpdate(resourceGroupName, galleryName, galleryImageName, galle
}
/**
- * Retrieves information about a gallery image.
+ * Retrieves information about a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * the Image Definitions are to be retrieved.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be retrieved.
*
* @param {object} [options] Optional Parameters.
*
@@ -312,9 +320,11 @@ function _get(resourceGroupName, galleryName, galleryImageName, options, callbac
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -327,9 +337,7 @@ function _get(resourceGroupName, galleryName, galleryImageName, options, callbac
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -367,20 +375,6 @@ function _deleteMethod(resourceGroupName, galleryName, galleryImageName, options
if (responseBody === '') responseBody = null;
// Deserialize Response
- let parsedResponse = null;
- try {
- parsedResponse = JSON.parse(responseBody);
- result = JSON.parse(responseBody);
- if (parsedResponse !== null && parsedResponse !== undefined) {
- let resultMapper = new client.models['OperationStatusResponse']().mapper();
- result = client.deserialize(resultMapper, parsedResponse, 'result');
- }
- } catch (error) {
- let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
- deserializationError.request = msRest.stripRequest(httpRequest);
- deserializationError.response = msRest.stripResponse(response);
- return callback(deserializationError);
- }
return callback(null, result, httpRequest, response);
});
@@ -388,11 +382,12 @@ function _deleteMethod(resourceGroupName, galleryName, galleryImageName, options
}
/**
- * List gallery images under a gallery.
+ * List gallery Image Definitions in a gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * Image Definitions are to be listed.
*
* @param {object} [options] Optional Parameters.
*
@@ -412,7 +407,7 @@ function _deleteMethod(resourceGroupName, galleryName, galleryImageName, options
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
-function _listGalleryImagesByGallery(resourceGroupName, galleryName, options, callback) {
+function _listByGallery(resourceGroupName, galleryName, options, callback) {
/* jshint validthis: true */
let client = this.client;
if(!callback && typeof options === 'function') {
@@ -531,48 +526,54 @@ function _listGalleryImagesByGallery(resourceGroupName, galleryName, options, ca
}
/**
- * Create or update a gallery image.
+ * Create or update a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
*
* @param {object} galleryImage Parameters supplied to the create or update
* gallery image operation.
*
* @param {string} [galleryImage.description] The description of this gallery
- * image resource.
+ * Image Definition resource. This property is updateable.
*
- * @param {string} [galleryImage.eula] The Eula agreement for the gallery
- * image.
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
*
* @param {string} [galleryImage.privacyStatementUri] The privacy statement
* uri.
*
* @param {string} [galleryImage.releaseNoteUri] The release note uri.
*
- * @param {string} [galleryImage.osType] This property allows you to specify
- * the type of the OS that is included in the disk if creating a VM from
- * user-image or a specialized VHD.
Possible values are:
- * **Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ * @param {string} galleryImage.osType 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'
*
- * @param {string} [galleryImage.osState] The OS State. Possible values
- * include: 'Generalized', 'Specialized'
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
*
- * @param {date} [galleryImage.endOfLifeDate] The end of life of this gallery
- * image.
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
*
- * @param {object} [galleryImage.identifier]
+ * @param {object} galleryImage.identifier
*
- * @param {string} [galleryImage.identifier.publisher] The gallery image
- * publisher name.
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
*
- * @param {string} [galleryImage.identifier.offer] The gallery image offer
- * name.
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
*
- * @param {string} [galleryImage.identifier.sku] The gallery image sku name.
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
*
* @param {object} [galleryImage.recommended]
*
@@ -709,7 +710,7 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
return callback(err);
}
let statusCode = response.statusCode;
- if (statusCode !== 200 && statusCode !== 201) {
+ if (statusCode !== 200 && statusCode !== 201 && statusCode !== 202) {
let error = new Error(responseBody);
error.statusCode = response.statusCode;
error.request = msRest.stripRequest(httpRequest);
@@ -771,6 +772,23 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
return callback(deserializationError1);
}
}
+ // Deserialize Response
+ if (statusCode === 202) {
+ let parsedResponse = null;
+ try {
+ parsedResponse = JSON.parse(responseBody);
+ result = JSON.parse(responseBody);
+ if (parsedResponse !== null && parsedResponse !== undefined) {
+ let resultMapper = new client.models['GalleryImage']().mapper();
+ result = client.deserialize(resultMapper, parsedResponse, 'result');
+ }
+ } catch (error) {
+ let deserializationError2 = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
+ deserializationError2.request = msRest.stripRequest(httpRequest);
+ deserializationError2.response = msRest.stripResponse(response);
+ return callback(deserializationError2);
+ }
+ }
return callback(null, result, httpRequest, response);
});
@@ -781,9 +799,11 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -796,9 +816,7 @@ function _beginCreateOrUpdate(resourceGroupName, galleryName, galleryImageName,
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -904,30 +922,13 @@ function _beginDeleteMethod(resourceGroupName, galleryName, galleryImageName, op
// Create Result
let result = null;
if (responseBody === '') responseBody = null;
- // Deserialize Response
- if (statusCode === 200) {
- let parsedResponse = null;
- try {
- parsedResponse = JSON.parse(responseBody);
- result = JSON.parse(responseBody);
- if (parsedResponse !== null && parsedResponse !== undefined) {
- let resultMapper = new client.models['OperationStatusResponse']().mapper();
- result = client.deserialize(resultMapper, parsedResponse, 'result');
- }
- } catch (error) {
- let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
- deserializationError.request = msRest.stripRequest(httpRequest);
- deserializationError.response = msRest.stripResponse(response);
- return callback(deserializationError);
- }
- }
return callback(null, result, httpRequest, response);
});
}
/**
- * List gallery images under a gallery.
+ * List gallery Image Definitions in a gallery.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
@@ -950,7 +951,7 @@ function _beginDeleteMethod(resourceGroupName, galleryName, galleryImageName, op
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
-function _listGalleryImagesByGalleryNext(nextPageLink, options, callback) {
+function _listByGalleryNext(nextPageLink, options, callback) {
/* jshint validthis: true */
let client = this.client;
if(!callback && typeof options === 'function') {
@@ -1064,55 +1065,61 @@ class GalleryImages {
this._createOrUpdate = _createOrUpdate;
this._get = _get;
this._deleteMethod = _deleteMethod;
- this._listGalleryImagesByGallery = _listGalleryImagesByGallery;
+ this._listByGallery = _listByGallery;
this._beginCreateOrUpdate = _beginCreateOrUpdate;
this._beginDeleteMethod = _beginDeleteMethod;
- this._listGalleryImagesByGalleryNext = _listGalleryImagesByGalleryNext;
+ this._listByGalleryNext = _listByGalleryNext;
}
/**
- * Create or update a gallery image.
+ * Create or update a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
*
* @param {object} galleryImage Parameters supplied to the create or update
* gallery image operation.
*
* @param {string} [galleryImage.description] The description of this gallery
- * image resource.
+ * Image Definition resource. This property is updateable.
*
- * @param {string} [galleryImage.eula] The Eula agreement for the gallery
- * image.
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
*
* @param {string} [galleryImage.privacyStatementUri] The privacy statement
* uri.
*
* @param {string} [galleryImage.releaseNoteUri] The release note uri.
*
- * @param {string} [galleryImage.osType] This property allows you to specify
- * the type of the OS that is included in the disk if creating a VM from
- * user-image or a specialized VHD.
Possible values are:
- * **Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ * @param {string} galleryImage.osType 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'
*
- * @param {string} [galleryImage.osState] The OS State. Possible values
- * include: 'Generalized', 'Specialized'
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
*
- * @param {date} [galleryImage.endOfLifeDate] The end of life of this gallery
- * image.
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
*
- * @param {object} [galleryImage.identifier]
+ * @param {object} galleryImage.identifier
*
- * @param {string} [galleryImage.identifier.publisher] The gallery image
- * publisher name.
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
*
- * @param {string} [galleryImage.identifier.offer] The gallery image offer
- * name.
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
*
- * @param {string} [galleryImage.identifier.sku] The gallery image sku name.
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
*
* @param {object} [galleryImage.recommended]
*
@@ -1168,48 +1175,54 @@ class GalleryImages {
}
/**
- * Create or update a gallery image.
+ * Create or update a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
*
* @param {object} galleryImage Parameters supplied to the create or update
* gallery image operation.
*
* @param {string} [galleryImage.description] The description of this gallery
- * image resource.
+ * Image Definition resource. This property is updateable.
*
- * @param {string} [galleryImage.eula] The Eula agreement for the gallery
- * image.
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
*
* @param {string} [galleryImage.privacyStatementUri] The privacy statement
* uri.
*
* @param {string} [galleryImage.releaseNoteUri] The release note uri.
*
- * @param {string} [galleryImage.osType] This property allows you to specify
- * the type of the OS that is included in the disk if creating a VM from
- * user-image or a specialized VHD.
Possible values are:
- * **Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ * @param {string} galleryImage.osType 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'
*
- * @param {string} [galleryImage.osState] The OS State. Possible values
- * include: 'Generalized', 'Specialized'
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
*
- * @param {date} [galleryImage.endOfLifeDate] The end of life of this gallery
- * image.
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
*
- * @param {object} [galleryImage.identifier]
+ * @param {object} galleryImage.identifier
*
- * @param {string} [galleryImage.identifier.publisher] The gallery image
- * publisher name.
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
*
- * @param {string} [galleryImage.identifier.offer] The gallery image offer
- * name.
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
*
- * @param {string} [galleryImage.identifier.sku] The gallery image sku name.
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
*
* @param {object} [galleryImage.recommended]
*
@@ -1287,13 +1300,15 @@ class GalleryImages {
}
/**
- * Retrieves information about a gallery image.
+ * Retrieves information about a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * the Image Definitions are to be retrieved.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be retrieved.
*
* @param {object} [options] Optional Parameters.
*
@@ -1321,13 +1336,15 @@ class GalleryImages {
}
/**
- * Retrieves information about a gallery image.
+ * Retrieves information about a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * the Image Definitions are to be retrieved.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be retrieved.
*
* @param {object} [options] Optional Parameters.
*
@@ -1381,9 +1398,11 @@ class GalleryImages {
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1392,7 +1411,7 @@ class GalleryImages {
*
* @returns {Promise} A promise is returned
*
- * @resolve {HttpOperationResponse} - The deserialized result object.
+ * @resolve {HttpOperationResponse} - The deserialized result object.
*
* @reject {Error} - The error object.
*/
@@ -1415,9 +1434,11 @@ class GalleryImages {
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1431,7 +1452,7 @@ class GalleryImages {
*
* {Promise} A promise is returned
*
- * @resolve {OperationStatusResponse} - The deserialized result object.
+ * @resolve {null} - The deserialized result object.
*
* @reject {Error} - The error object.
*
@@ -1439,9 +1460,7 @@ class GalleryImages {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -1468,11 +1487,12 @@ class GalleryImages {
}
/**
- * List gallery images under a gallery.
+ * List gallery Image Definitions in a gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * Image Definitions are to be listed.
*
* @param {object} [options] Optional Parameters.
*
@@ -1485,11 +1505,11 @@ class GalleryImages {
*
* @reject {Error} - The error object.
*/
- listGalleryImagesByGalleryWithHttpOperationResponse(resourceGroupName, galleryName, options) {
+ listByGalleryWithHttpOperationResponse(resourceGroupName, galleryName, options) {
let client = this.client;
let self = this;
return new Promise((resolve, reject) => {
- self._listGalleryImagesByGallery(resourceGroupName, galleryName, options, (err, result, request, response) => {
+ self._listByGallery(resourceGroupName, galleryName, options, (err, result, request, response) => {
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
httpOperationResponse.body = result;
if (err) { reject(err); }
@@ -1500,11 +1520,12 @@ class GalleryImages {
}
/**
- * List gallery images under a gallery.
+ * List gallery Image Definitions in a gallery.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * Image Definitions are to be listed.
*
* @param {object} [options] Optional Parameters.
*
@@ -1533,7 +1554,7 @@ class GalleryImages {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
- listGalleryImagesByGallery(resourceGroupName, galleryName, options, optionalCallback) {
+ listByGallery(resourceGroupName, galleryName, options, optionalCallback) {
let client = this.client;
let self = this;
if (!optionalCallback && typeof options === 'function') {
@@ -1542,60 +1563,66 @@ class GalleryImages {
}
if (!optionalCallback) {
return new Promise((resolve, reject) => {
- self._listGalleryImagesByGallery(resourceGroupName, galleryName, options, (err, result, request, response) => {
+ self._listByGallery(resourceGroupName, galleryName, options, (err, result, request, response) => {
if (err) { reject(err); }
else { resolve(result); }
return;
});
});
} else {
- return self._listGalleryImagesByGallery(resourceGroupName, galleryName, options, optionalCallback);
+ return self._listByGallery(resourceGroupName, galleryName, options, optionalCallback);
}
}
/**
- * Create or update a gallery image.
+ * Create or update a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
*
* @param {object} galleryImage Parameters supplied to the create or update
* gallery image operation.
*
* @param {string} [galleryImage.description] The description of this gallery
- * image resource.
+ * Image Definition resource. This property is updateable.
*
- * @param {string} [galleryImage.eula] The Eula agreement for the gallery
- * image.
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
*
* @param {string} [galleryImage.privacyStatementUri] The privacy statement
* uri.
*
* @param {string} [galleryImage.releaseNoteUri] The release note uri.
*
- * @param {string} [galleryImage.osType] This property allows you to specify
- * the type of the OS that is included in the disk if creating a VM from
- * user-image or a specialized VHD.
Possible values are:
- * **Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ * @param {string} galleryImage.osType 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'
*
- * @param {string} [galleryImage.osState] The OS State. Possible values
- * include: 'Generalized', 'Specialized'
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
*
- * @param {date} [galleryImage.endOfLifeDate] The end of life of this gallery
- * image.
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
*
- * @param {object} [galleryImage.identifier]
+ * @param {object} galleryImage.identifier
*
- * @param {string} [galleryImage.identifier.publisher] The gallery image
- * publisher name.
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
*
- * @param {string} [galleryImage.identifier.offer] The gallery image offer
- * name.
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
*
- * @param {string} [galleryImage.identifier.sku] The gallery image sku name.
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
*
* @param {object} [galleryImage.recommended]
*
@@ -1651,48 +1678,54 @@ class GalleryImages {
}
/**
- * Create or update a gallery image.
+ * Create or update a gallery Image Definition.
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
*
* @param {object} galleryImage Parameters supplied to the create or update
* gallery image operation.
*
* @param {string} [galleryImage.description] The description of this gallery
- * image resource.
+ * Image Definition resource. This property is updateable.
*
- * @param {string} [galleryImage.eula] The Eula agreement for the gallery
- * image.
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
*
* @param {string} [galleryImage.privacyStatementUri] The privacy statement
* uri.
*
* @param {string} [galleryImage.releaseNoteUri] The release note uri.
*
- * @param {string} [galleryImage.osType] This property allows you to specify
- * the type of the OS that is included in the disk if creating a VM from
- * user-image or a specialized VHD.
Possible values are:
- * **Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ * @param {string} galleryImage.osType 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'
*
- * @param {string} [galleryImage.osState] The OS State. Possible values
- * include: 'Generalized', 'Specialized'
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
*
- * @param {date} [galleryImage.endOfLifeDate] The end of life of this gallery
- * image.
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
*
- * @param {object} [galleryImage.identifier]
+ * @param {object} galleryImage.identifier
*
- * @param {string} [galleryImage.identifier.publisher] The gallery image
- * publisher name.
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
*
- * @param {string} [galleryImage.identifier.offer] The gallery image offer
- * name.
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
*
- * @param {string} [galleryImage.identifier.sku] The gallery image sku name.
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
*
* @param {object} [galleryImage.recommended]
*
@@ -1774,9 +1807,11 @@ class GalleryImages {
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1785,7 +1820,7 @@ class GalleryImages {
*
* @returns {Promise} A promise is returned
*
- * @resolve {HttpOperationResponse} - The deserialized result object.
+ * @resolve {HttpOperationResponse} - The deserialized result object.
*
* @reject {Error} - The error object.
*/
@@ -1808,9 +1843,11 @@ class GalleryImages {
*
* @param {string} resourceGroupName The name of the resource group.
*
- * @param {string} galleryName The name of the gallery.
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
*
- * @param {string} galleryImageName The name of the gallery image.
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
*
* @param {object} [options] Optional Parameters.
*
@@ -1824,7 +1861,7 @@ class GalleryImages {
*
* {Promise} A promise is returned
*
- * @resolve {OperationStatusResponse} - The deserialized result object.
+ * @resolve {null} - The deserialized result object.
*
* @reject {Error} - The error object.
*
@@ -1832,9 +1869,7 @@ class GalleryImages {
*
* {Error} err - The Error object if an error occurred, null otherwise.
*
- * {object} [result] - The deserialized result object if an error did not occur.
- * See {@link OperationStatusResponse} for more
- * information.
+ * {null} [result] - The deserialized result object if an error did not occur.
*
* {object} [request] - The HTTP Request object if an error did not occur.
*
@@ -1861,7 +1896,7 @@ class GalleryImages {
}
/**
- * List gallery images under a gallery.
+ * List gallery Image Definitions in a gallery.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
@@ -1877,11 +1912,11 @@ class GalleryImages {
*
* @reject {Error} - The error object.
*/
- listGalleryImagesByGalleryNextWithHttpOperationResponse(nextPageLink, options) {
+ listByGalleryNextWithHttpOperationResponse(nextPageLink, options) {
let client = this.client;
let self = this;
return new Promise((resolve, reject) => {
- self._listGalleryImagesByGalleryNext(nextPageLink, options, (err, result, request, response) => {
+ self._listByGalleryNext(nextPageLink, options, (err, result, request, response) => {
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
httpOperationResponse.body = result;
if (err) { reject(err); }
@@ -1892,7 +1927,7 @@ class GalleryImages {
}
/**
- * List gallery images under a gallery.
+ * List gallery Image Definitions in a gallery.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
@@ -1924,7 +1959,7 @@ class GalleryImages {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
- listGalleryImagesByGalleryNext(nextPageLink, options, optionalCallback) {
+ listByGalleryNext(nextPageLink, options, optionalCallback) {
let client = this.client;
let self = this;
if (!optionalCallback && typeof options === 'function') {
@@ -1933,14 +1968,14 @@ class GalleryImages {
}
if (!optionalCallback) {
return new Promise((resolve, reject) => {
- self._listGalleryImagesByGalleryNext(nextPageLink, options, (err, result, request, response) => {
+ self._listByGalleryNext(nextPageLink, options, (err, result, request, response) => {
if (err) { reject(err); }
else { resolve(result); }
return;
});
});
} else {
- return self._listGalleryImagesByGalleryNext(nextPageLink, options, optionalCallback);
+ return self._listByGalleryNext(nextPageLink, options, optionalCallback);
}
}
diff --git a/lib/services/computeManagement2/lib/operations/images.js b/lib/services/computeManagement2/lib/operations/images.js
index 536aac6b3f..332562714c 100644
--- a/lib/services/computeManagement2/lib/operations/images.js
+++ b/lib/services/computeManagement2/lib/operations/images.js
@@ -67,9 +67,9 @@ const WebResource = msRest.WebResource;
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -208,9 +208,9 @@ function _createOrUpdate(resourceGroupName, imageName, parameters, options, call
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -396,7 +396,7 @@ function _get(resourceGroupName, imageName, options, callback) {
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -543,7 +543,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -680,7 +680,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -832,9 +832,9 @@ function _list(options, callback) {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -878,7 +878,7 @@ function _beginCreateOrUpdate(resourceGroupName, imageName, parameters, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1072,9 +1072,9 @@ function _beginCreateOrUpdate(resourceGroupName, imageName, parameters, options,
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -1116,7 +1116,7 @@ function _beginUpdate(resourceGroupName, imageName, parameters, options, callbac
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1292,7 +1292,7 @@ function _beginDeleteMethod(resourceGroupName, imageName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1712,9 +1712,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -1807,9 +1807,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -1924,9 +1924,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2017,9 +2017,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2473,9 +2473,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2568,9 +2568,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2685,9 +2685,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2778,9 +2778,9 @@ class Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
diff --git a/lib/services/computeManagement2/lib/operations/index.d.ts b/lib/services/computeManagement2/lib/operations/index.d.ts
index 6653ff210c..be29115991 100644
--- a/lib/services/computeManagement2/lib/operations/index.d.ts
+++ b/lib/services/computeManagement2/lib/operations/index.d.ts
@@ -99,7 +99,10 @@ export interface AvailabilitySets {
* @param {array} [parameters.virtualMachines] A list of references to all
* virtual machines in the availability set.
*
- * @param {object} [parameters.sku] Sku of the availability set
+ * @param {object} [parameters.sku] Sku of the availability set, only name is
+ * required to be set. See AvailabilitySetSkuTypes for possible set of values.
+ * Use 'Aligned' for virtual machines with managed disks and 'Classic' for
+ * virtual machines with unmanaged disks. Default value is 'Classic'.
*
* @param {string} [parameters.sku.name] The sku name.
*
@@ -144,7 +147,10 @@ export interface AvailabilitySets {
* @param {array} [parameters.virtualMachines] A list of references to all
* virtual machines in the availability set.
*
- * @param {object} [parameters.sku] Sku of the availability set
+ * @param {object} [parameters.sku] Sku of the availability set, only name is
+ * required to be set. See AvailabilitySetSkuTypes for possible set of values.
+ * Use 'Aligned' for virtual machines with managed disks and 'Classic' for
+ * virtual machines with unmanaged disks. Default value is 'Classic'.
*
* @param {string} [parameters.sku.name] The sku name.
*
@@ -2368,9 +2374,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2451,9 +2457,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2553,9 +2559,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2634,9 +2640,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -2967,9 +2973,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -3050,9 +3056,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -3152,9 +3158,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -3233,9 +3239,9 @@ export interface Images {
* be larger than 1023 GB
*
* @param {string} [parameters.storageProfile.osDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. UltraSSD_LRS cannot
+ * be used with OS Disk. Possible values include: 'Standard_LRS',
+ * 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [parameters.storageProfile.dataDisks] Specifies the
* parameters that are used to add a data disk to a virtual machine.
@@ -3756,9 +3762,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -3769,6 +3775,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -4165,9 +4180,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -4178,6 +4193,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -4593,9 +4617,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -4606,6 +4630,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -5000,9 +5033,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -5013,6 +5046,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -6422,9 +6464,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6435,6 +6477,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -6831,9 +6882,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6844,6 +6895,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -7259,9 +7319,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -7272,6 +7332,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -7666,9 +7735,9 @@ export interface VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -7679,6 +7748,15 @@ export interface VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -8650,16 +8728,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -8877,9 +8958,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -8887,6 +8969,19 @@ export interface VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -9083,16 +9178,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -9310,9 +9408,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -9320,6 +9419,19 @@ export interface VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -9531,16 +9643,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -9681,9 +9796,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -9838,16 +9954,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -9988,9 +10107,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -11339,16 +11459,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -11566,9 +11689,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -11576,6 +11700,19 @@ export interface VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -11772,16 +11909,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -11999,9 +12139,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -12009,6 +12150,19 @@ export interface VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -12220,16 +12374,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -12370,9 +12527,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -12527,16 +12685,19 @@ export interface VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -12677,9 +12838,10 @@ export interface VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -15171,9 +15333,9 @@ export interface VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -15184,6 +15346,17 @@ export interface VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -15566,9 +15739,9 @@ export interface VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -15579,6 +15752,17 @@ export interface VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -16838,9 +17022,9 @@ export interface VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -16851,6 +17035,17 @@ export interface VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -17233,9 +17428,9 @@ export interface VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -17246,6 +17441,17 @@ export interface VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -18715,7 +18921,7 @@ export interface Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -18785,6 +18991,14 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -18818,7 +19032,7 @@ export interface Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -18888,6 +19102,14 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -18976,12 +19198,20 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -19048,12 +19278,20 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -19485,7 +19723,7 @@ export interface Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -19555,6 +19793,14 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -19588,7 +19834,7 @@ export interface Disks {
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {array} [disk.zones] The Logical zone list for Disk.
*
@@ -19658,6 +19904,14 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {string} disk.location Resource location
*
* @param {object} [disk.tags] Resource tags
@@ -19746,12 +20000,20 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -19818,12 +20080,20 @@ export interface Disks {
* @param {string} disk.encryptionSettings.keyEncryptionKey.keyUrl Url pointing
* to a key or secret in KeyVault
*
+ * @param {number} [disk.diskIOPSReadWrite] The number of IOPS allowed for this
+ * disk; only settable for UltraSSD disks. One operation can transfer between
+ * 4k and 256k bytes.
+ *
+ * @param {number} [disk.diskMBpsReadWrite] The bandwidth allowed for this
+ * disk; only settable for UltraSSD disks. MBps means millions of bytes per
+ * second - MB here uses the ISO notation, of powers of 10.
+ *
* @param {object} [disk.tags] Resource tags
*
* @param {object} [disk.sku]
*
* @param {string} [disk.sku.name] The sku name. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {object} [options] Optional Parameters.
*
@@ -21670,6 +21940,1960 @@ export interface Snapshots {
listNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
}
+/**
+ * @class
+ * Galleries
+ * __NOTE__: An instance of this class is automatically created for an
+ * instance of the ComputeManagementClient.
+ */
+export interface Galleries {
+
+
+ /**
+ * Create or update a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
+ *
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
+ *
+ * @param {object} [gallery.identifier]
+ *
+ * @param {string} gallery.location Resource location
+ *
+ * @param {object} [gallery.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ createOrUpdateWithHttpOperationResponse(resourceGroupName: string, galleryName: string, gallery: models.Gallery, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Create or update a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
+ *
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
+ *
+ * @param {object} [gallery.identifier]
+ *
+ * @param {string} gallery.location Resource location
+ *
+ * @param {object} [gallery.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {Gallery} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {Gallery} [result] - The deserialized result object if an error did not occur.
+ * See {@link Gallery} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ createOrUpdate(resourceGroupName: string, galleryName: string, gallery: models.Gallery, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ createOrUpdate(resourceGroupName: string, galleryName: string, gallery: models.Gallery, callback: ServiceCallback): void;
+ createOrUpdate(resourceGroupName: string, galleryName: string, gallery: models.Gallery, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Retrieves information about a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ getWithHttpOperationResponse(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Retrieves information about a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {Gallery} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {Gallery} [result] - The deserialized result object if an error did not occur.
+ * See {@link Gallery} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ get(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ get(resourceGroupName: string, galleryName: string, callback: ServiceCallback): void;
+ get(resourceGroupName: string, galleryName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Delete a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ deleteMethodWithHttpOperationResponse(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Delete a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {null} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {null} [result] - The deserialized result object if an error did not occur.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ deleteMethod(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ deleteMethod(resourceGroupName: string, galleryName: string, callback: ServiceCallback): void;
+ deleteMethod(resourceGroupName: string, galleryName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List galleries under a resource group.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listByResourceGroupWithHttpOperationResponse(resourceGroupName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List galleries under a resource group.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryList} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listByResourceGroup(resourceGroupName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listByResourceGroup(resourceGroupName: string, callback: ServiceCallback): void;
+ listByResourceGroup(resourceGroupName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List galleries under a subscription.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List galleries under a subscription.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryList} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ list(options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ list(callback: ServiceCallback): void;
+ list(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Create or update a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
+ *
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
+ *
+ * @param {object} [gallery.identifier]
+ *
+ * @param {string} gallery.location Resource location
+ *
+ * @param {object} [gallery.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ beginCreateOrUpdateWithHttpOperationResponse(resourceGroupName: string, galleryName: string, gallery: models.Gallery, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Create or update a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} 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 {object} gallery Parameters supplied to the create or update Shared
+ * Image Gallery operation.
+ *
+ * @param {string} [gallery.description] The description of this Shared Image
+ * Gallery resource. This property is updateable.
+ *
+ * @param {object} [gallery.identifier]
+ *
+ * @param {string} gallery.location Resource location
+ *
+ * @param {object} [gallery.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {Gallery} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {Gallery} [result] - The deserialized result object if an error did not occur.
+ * See {@link Gallery} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, gallery: models.Gallery, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, gallery: models.Gallery, callback: ServiceCallback): void;
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, gallery: models.Gallery, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Delete a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ beginDeleteMethodWithHttpOperationResponse(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Delete a Shared Image Gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery to be
+ * deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {null} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {null} [result] - The deserialized result object if an error did not occur.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, callback: ServiceCallback): void;
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List galleries under a resource group.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listByResourceGroupNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List galleries under a resource group.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryList} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listByResourceGroupNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback): void;
+ listByResourceGroupNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List galleries under a subscription.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List galleries under a subscription.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryList} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listNext(nextPageLink: string, callback: ServiceCallback): void;
+ listNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+}
+
+/**
+ * @class
+ * GalleryImages
+ * __NOTE__: An instance of this class is automatically created for an
+ * instance of the ComputeManagementClient.
+ */
+export interface GalleryImages {
+
+
+ /**
+ * Create or update a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
+ *
+ * @param {object} galleryImage Parameters supplied to the create or update
+ * gallery image operation.
+ *
+ * @param {string} [galleryImage.description] The description of this gallery
+ * Image Definition resource. This property is updateable.
+ *
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
+ *
+ * @param {string} [galleryImage.privacyStatementUri] The privacy statement
+ * uri.
+ *
+ * @param {string} [galleryImage.releaseNoteUri] The release note uri.
+ *
+ * @param {string} galleryImage.osType 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'
+ *
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
+ *
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
+ *
+ * @param {object} galleryImage.identifier
+ *
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
+ *
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
+ *
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
+ *
+ * @param {object} [galleryImage.recommended]
+ *
+ * @param {object} [galleryImage.recommended.vCPUs]
+ *
+ * @param {object} [galleryImage.recommended.memory]
+ *
+ * @param {number} [galleryImage.recommended.memory.min] The minimum number of
+ * the resource.
+ *
+ * @param {number} [galleryImage.recommended.memory.max] The maximum number of
+ * the resource.
+ *
+ * @param {object} [galleryImage.disallowed]
+ *
+ * @param {array} [galleryImage.disallowed.diskTypes] A list of disk types.
+ *
+ * @param {object} [galleryImage.purchasePlan]
+ *
+ * @param {string} [galleryImage.purchasePlan.name] The plan ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.publisher] The publisher ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.product] The product ID.
+ *
+ * @param {string} galleryImage.location Resource location
+ *
+ * @param {object} [galleryImage.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ createOrUpdateWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Create or update a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
+ *
+ * @param {object} galleryImage Parameters supplied to the create or update
+ * gallery image operation.
+ *
+ * @param {string} [galleryImage.description] The description of this gallery
+ * Image Definition resource. This property is updateable.
+ *
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
+ *
+ * @param {string} [galleryImage.privacyStatementUri] The privacy statement
+ * uri.
+ *
+ * @param {string} [galleryImage.releaseNoteUri] The release note uri.
+ *
+ * @param {string} galleryImage.osType 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'
+ *
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
+ *
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
+ *
+ * @param {object} galleryImage.identifier
+ *
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
+ *
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
+ *
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
+ *
+ * @param {object} [galleryImage.recommended]
+ *
+ * @param {object} [galleryImage.recommended.vCPUs]
+ *
+ * @param {object} [galleryImage.recommended.memory]
+ *
+ * @param {number} [galleryImage.recommended.memory.min] The minimum number of
+ * the resource.
+ *
+ * @param {number} [galleryImage.recommended.memory.max] The maximum number of
+ * the resource.
+ *
+ * @param {object} [galleryImage.disallowed]
+ *
+ * @param {array} [galleryImage.disallowed.diskTypes] A list of disk types.
+ *
+ * @param {object} [galleryImage.purchasePlan]
+ *
+ * @param {string} [galleryImage.purchasePlan.name] The plan ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.publisher] The publisher ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.product] The product ID.
+ *
+ * @param {string} galleryImage.location Resource location
+ *
+ * @param {object} [galleryImage.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImage} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImage} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImage} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ createOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ createOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, callback: ServiceCallback): void;
+ createOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Retrieves information about a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * the Image Definitions are to be retrieved.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be retrieved.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ getWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Retrieves information about a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * the Image Definitions are to be retrieved.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be retrieved.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImage} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImage} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImage} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ get(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ get(resourceGroupName: string, galleryName: string, galleryImageName: string, callback: ServiceCallback): void;
+ get(resourceGroupName: string, galleryName: string, galleryImageName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Delete a gallery image.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ deleteMethodWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Delete a gallery image.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {null} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {null} [result] - The deserialized result object if an error did not occur.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ deleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ deleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, callback: ServiceCallback): void;
+ deleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List gallery Image Definitions in a gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * Image Definitions are to be listed.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listByGalleryWithHttpOperationResponse(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List gallery Image Definitions in a gallery.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery from which
+ * Image Definitions are to be listed.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageList} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listByGallery(resourceGroupName: string, galleryName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listByGallery(resourceGroupName: string, galleryName: string, callback: ServiceCallback): void;
+ listByGallery(resourceGroupName: string, galleryName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Create or update a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
+ *
+ * @param {object} galleryImage Parameters supplied to the create or update
+ * gallery image operation.
+ *
+ * @param {string} [galleryImage.description] The description of this gallery
+ * Image Definition resource. This property is updateable.
+ *
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
+ *
+ * @param {string} [galleryImage.privacyStatementUri] The privacy statement
+ * uri.
+ *
+ * @param {string} [galleryImage.releaseNoteUri] The release note uri.
+ *
+ * @param {string} galleryImage.osType 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'
+ *
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
+ *
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
+ *
+ * @param {object} galleryImage.identifier
+ *
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
+ *
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
+ *
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
+ *
+ * @param {object} [galleryImage.recommended]
+ *
+ * @param {object} [galleryImage.recommended.vCPUs]
+ *
+ * @param {object} [galleryImage.recommended.memory]
+ *
+ * @param {number} [galleryImage.recommended.memory.min] The minimum number of
+ * the resource.
+ *
+ * @param {number} [galleryImage.recommended.memory.max] The maximum number of
+ * the resource.
+ *
+ * @param {object} [galleryImage.disallowed]
+ *
+ * @param {array} [galleryImage.disallowed.diskTypes] A list of disk types.
+ *
+ * @param {object} [galleryImage.purchasePlan]
+ *
+ * @param {string} [galleryImage.purchasePlan.name] The plan ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.publisher] The publisher ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.product] The product ID.
+ *
+ * @param {string} galleryImage.location Resource location
+ *
+ * @param {object} [galleryImage.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ beginCreateOrUpdateWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Create or update a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be created.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be created or updated. The allowed characters are alphabets and numbers with
+ * dots, dashes, and periods allowed in the middle. The maximum length is 80
+ * characters.
+ *
+ * @param {object} galleryImage Parameters supplied to the create or update
+ * gallery image operation.
+ *
+ * @param {string} [galleryImage.description] The description of this gallery
+ * Image Definition resource. This property is updateable.
+ *
+ * @param {string} [galleryImage.eula] The Eula agreement for the gallery Image
+ * Definition.
+ *
+ * @param {string} [galleryImage.privacyStatementUri] The privacy statement
+ * uri.
+ *
+ * @param {string} [galleryImage.releaseNoteUri] The release note uri.
+ *
+ * @param {string} galleryImage.osType 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'
+ *
+ * @param {string} galleryImage.osState The allowed values for OS State are
+ * 'Generalized'. Possible values include: 'Generalized', 'Specialized'
+ *
+ * @param {date} [galleryImage.endOfLifeDate] The end of life date of the
+ * gallery Image Definition. This property can be used for decommissioning
+ * purposes. This property is updateable.
+ *
+ * @param {object} galleryImage.identifier
+ *
+ * @param {string} galleryImage.identifier.publisher The name of the gallery
+ * Image Definition publisher.
+ *
+ * @param {string} galleryImage.identifier.offer The name of the gallery Image
+ * Definition offer.
+ *
+ * @param {string} galleryImage.identifier.sku The name of the gallery Image
+ * Definition SKU.
+ *
+ * @param {object} [galleryImage.recommended]
+ *
+ * @param {object} [galleryImage.recommended.vCPUs]
+ *
+ * @param {object} [galleryImage.recommended.memory]
+ *
+ * @param {number} [galleryImage.recommended.memory.min] The minimum number of
+ * the resource.
+ *
+ * @param {number} [galleryImage.recommended.memory.max] The maximum number of
+ * the resource.
+ *
+ * @param {object} [galleryImage.disallowed]
+ *
+ * @param {array} [galleryImage.disallowed.diskTypes] A list of disk types.
+ *
+ * @param {object} [galleryImage.purchasePlan]
+ *
+ * @param {string} [galleryImage.purchasePlan.name] The plan ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.publisher] The publisher ID.
+ *
+ * @param {string} [galleryImage.purchasePlan.product] The product ID.
+ *
+ * @param {string} galleryImage.location Resource location
+ *
+ * @param {object} [galleryImage.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImage} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImage} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImage} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, callback: ServiceCallback): void;
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImage: models.GalleryImage, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Delete a gallery image.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ beginDeleteMethodWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Delete a gallery image.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition is to be deleted.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition to
+ * be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {null} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {null} [result] - The deserialized result object if an error did not occur.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, callback: ServiceCallback): void;
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List gallery Image Definitions in a gallery.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listByGalleryNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List gallery Image Definitions in a gallery.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageList} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listByGalleryNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listByGalleryNext(nextPageLink: string, callback: ServiceCallback): void;
+ listByGalleryNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+}
+
+/**
+ * @class
+ * GalleryImageVersions
+ * __NOTE__: An instance of this class is automatically created for an
+ * instance of the ComputeManagementClient.
+ */
+export interface GalleryImageVersions {
+
+
+ /**
+ * Create or update a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
+ *
+ * @param {object} galleryImageVersion Parameters supplied to the create or
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
+ *
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
+ *
+ * @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
+ *
+ * @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
+ *
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
+ *
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
+ *
+ * @param {string} galleryImageVersion.location Resource location
+ *
+ * @param {object} [galleryImageVersion.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ createOrUpdateWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Create or update a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
+ *
+ * @param {object} galleryImageVersion Parameters supplied to the create or
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
+ *
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
+ *
+ * @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
+ *
+ * @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
+ *
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
+ *
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
+ *
+ * @param {string} galleryImageVersion.location Resource location
+ *
+ * @param {object} [galleryImageVersion.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageVersion} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageVersion} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageVersion} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ createOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ createOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, callback: ServiceCallback): void;
+ createOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Retrieves information about a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be retrieved.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {string} [options.expand] The expand expression to apply on the
+ * operation. Possible values include: 'ReplicationStatus'
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ getWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: { expand? : string, customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Retrieves information about a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be retrieved.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {string} [options.expand] The expand expression to apply on the
+ * operation. Possible values include: 'ReplicationStatus'
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageVersion} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageVersion} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageVersion} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: { expand? : string, customHeaders? : { [headerName: string]: string; } }): Promise;
+ get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, callback: ServiceCallback): void;
+ get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options: { expand? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Delete a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ deleteMethodWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Delete a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {null} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {null} [result] - The deserialized result object if an error did not occur.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ deleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ deleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, callback: ServiceCallback): void;
+ deleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List gallery Image Versions in a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the Shared Image Gallery Image
+ * Definition from which the Image Versions are to be listed.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listByGalleryImageWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List gallery Image Versions in a gallery Image Definition.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the Shared Image Gallery Image
+ * Definition from which the Image Versions are to be listed.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageVersionList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageVersionList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageVersionList} for more
+ * information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, callback: ServiceCallback): void;
+ listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Create or update a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
+ *
+ * @param {object} galleryImageVersion Parameters supplied to the create or
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
+ *
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
+ *
+ * @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
+ *
+ * @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
+ *
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
+ *
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
+ *
+ * @param {string} galleryImageVersion.location Resource location
+ *
+ * @param {object} [galleryImageVersion.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ beginCreateOrUpdateWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Create or update a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version is to be created.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be created. Needs to follow semantic version name pattern: The
+ * allowed characters are digit and period. Digits must be within the range of
+ * a 32-bit integer. Format: ..
+ *
+ * @param {object} galleryImageVersion Parameters supplied to the create or
+ * update gallery Image Version operation.
+ *
+ * @param {object} galleryImageVersion.publishingProfile
+ *
+ * @param {number} [galleryImageVersion.publishingProfile.replicaCount] The
+ * number of replicas of the Image Version to be created per region. This
+ * property would take effect for a region when regionalReplicaCount is not
+ * specified. This property is updateable.
+ *
+ * @param {boolean} [galleryImageVersion.publishingProfile.excludeFromLatest]
+ * If set to true, Virtual Machines deployed from the latest version of the
+ * Image Definition won't use this Image Version.
+ *
+ * @param {date} [galleryImageVersion.publishingProfile.endOfLifeDate] The end
+ * of life date of the gallery Image Version. This property can be used for
+ * decommissioning purposes. This property is updateable.
+ *
+ * @param {array} [galleryImageVersion.publishingProfile.targetRegions] The
+ * target regions where the Image Version is going to be replicated to. This
+ * property is updateable.
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source
+ *
+ * @param {object} galleryImageVersion.publishingProfile.source.managedImage
+ *
+ * @param {string} galleryImageVersion.publishingProfile.source.managedImage.id
+ * The managed artifact id.
+ *
+ * @param {string} galleryImageVersion.location Resource location
+ *
+ * @param {object} [galleryImageVersion.tags] Resource tags
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageVersion} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageVersion} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageVersion} for more information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, callback: ServiceCallback): void;
+ beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, galleryImageVersion: models.GalleryImageVersion, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * Delete a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ beginDeleteMethodWithHttpOperationResponse(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * Delete a gallery Image Version.
+ *
+ * @param {string} resourceGroupName The name of the resource group.
+ *
+ * @param {string} galleryName The name of the Shared Image Gallery in which
+ * the Image Definition resides.
+ *
+ * @param {string} galleryImageName The name of the gallery Image Definition in
+ * which the Image Version resides.
+ *
+ * @param {string} galleryImageVersionName The name of the gallery Image
+ * Version to be deleted.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {null} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {null} [result] - The deserialized result object if an error did not occur.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, callback: ServiceCallback): void;
+ beginDeleteMethod(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+
+
+ /**
+ * List gallery Image Versions in a gallery Image Definition.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @returns {Promise} A promise is returned
+ *
+ * @resolve {HttpOperationResponse} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ */
+ listByGalleryImageNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>;
+
+ /**
+ * List gallery Image Versions in a gallery Image Definition.
+ *
+ * @param {string} nextPageLink The NextLink from the previous successful call
+ * to List operation.
+ *
+ * @param {object} [options] Optional Parameters.
+ *
+ * @param {object} [options.customHeaders] Headers that will be added to the
+ * request
+ *
+ * @param {ServiceCallback} [optionalCallback] - The optional callback.
+ *
+ * @returns {ServiceCallback|Promise} If a callback was passed as the last
+ * parameter then it returns the callback else returns a Promise.
+ *
+ * {Promise} A promise is returned.
+ *
+ * @resolve {GalleryImageVersionList} - The deserialized result object.
+ *
+ * @reject {Error|ServiceError} - The error object.
+ *
+ * {ServiceCallback} optionalCallback(err, result, request, response)
+ *
+ * {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
+ *
+ * {GalleryImageVersionList} [result] - The deserialized result object if an error did not occur.
+ * See {@link GalleryImageVersionList} for more
+ * information.
+ *
+ * {WebResource} [request] - The HTTP Request object if an error did not occur.
+ *
+ * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
+ */
+ listByGalleryImageNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise;
+ listByGalleryImageNext(nextPageLink: string, callback: ServiceCallback): void;
+ listByGalleryImageNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void;
+}
+
/**
* @class
* ContainerServices
diff --git a/lib/services/computeManagement2/lib/operations/index.js b/lib/services/computeManagement2/lib/operations/index.js
index 26857f8e1c..7f73a5f866 100644
--- a/lib/services/computeManagement2/lib/operations/index.js
+++ b/lib/services/computeManagement2/lib/operations/index.js
@@ -32,4 +32,7 @@ exports.VirtualMachineRunCommands = require('./virtualMachineRunCommands');
exports.ResourceSkus = require('./resourceSkus');
exports.Disks = require('./disks');
exports.Snapshots = require('./snapshots');
+exports.Galleries = require('./galleries');
+exports.GalleryImages = require('./galleryImages');
+exports.GalleryImageVersions = require('./galleryImageVersions');
exports.ContainerServices = require('./containerServices');
diff --git a/lib/services/computeManagement2/lib/operations/logAnalytics.js b/lib/services/computeManagement2/lib/operations/logAnalytics.js
index 0b0902ca6b..73ce657a69 100644
--- a/lib/services/computeManagement2/lib/operations/logAnalytics.js
+++ b/lib/services/computeManagement2/lib/operations/logAnalytics.js
@@ -273,7 +273,7 @@ function _beginExportRequestRateByInterval(parameters, location, options, callba
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (parameters === null || parameters === undefined) {
@@ -455,7 +455,7 @@ function _beginExportThrottledRequests(parameters, location, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/operations.js b/lib/services/computeManagement2/lib/operations/operations.js
index 9a2c765fa6..1973a817af 100644
--- a/lib/services/computeManagement2/lib/operations/operations.js
+++ b/lib/services/computeManagement2/lib/operations/operations.js
@@ -46,7 +46,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/snapshots.js b/lib/services/computeManagement2/lib/operations/snapshots.js
index 988a1eeefc..1452182062 100644
--- a/lib/services/computeManagement2/lib/operations/snapshots.js
+++ b/lib/services/computeManagement2/lib/operations/snapshots.js
@@ -342,7 +342,7 @@ function _get(resourceGroupName, snapshotName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -549,7 +549,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -684,7 +684,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1057,7 +1057,7 @@ function _beginCreateOrUpdate(resourceGroupName, snapshotName, snapshot, options
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1286,7 +1286,7 @@ function _beginUpdate(resourceGroupName, snapshotName, snapshot, options, callba
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1465,7 +1465,7 @@ function _beginDeleteMethod(resourceGroupName, snapshotName, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1603,7 +1603,7 @@ function _beginGrantAccess(resourceGroupName, snapshotName, grantAccessData, opt
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1765,7 +1765,7 @@ function _beginRevokeAccess(resourceGroupName, snapshotName, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-04-01';
+ let apiVersion = '2018-06-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/usageOperations.js b/lib/services/computeManagement2/lib/operations/usageOperations.js
index a8f631b573..7feda277bf 100644
--- a/lib/services/computeManagement2/lib/operations/usageOperations.js
+++ b/lib/services/computeManagement2/lib/operations/usageOperations.js
@@ -49,7 +49,7 @@ function _list(location, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineExtensionImages.js b/lib/services/computeManagement2/lib/operations/virtualMachineExtensionImages.js
index a5442edb98..d43c3310bc 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineExtensionImages.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineExtensionImages.js
@@ -54,7 +54,7 @@ function _get(location, publisherName, type, version, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -204,7 +204,7 @@ function _listTypes(location, publisherName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -371,7 +371,7 @@ function _listVersions(location, publisherName, type, options, callback) {
let filter = (options && options.filter !== undefined) ? options.filter : undefined;
let top = (options && options.top !== undefined) ? options.top : undefined;
let orderby = (options && options.orderby !== undefined) ? options.orderby : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineExtensions.js b/lib/services/computeManagement2/lib/operations/virtualMachineExtensions.js
index 2cee4674d3..4f94980f57 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineExtensions.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineExtensions.js
@@ -367,7 +367,7 @@ function _get(resourceGroupName, vmName, vmExtensionName, options, callback) {
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -526,7 +526,7 @@ function _list(resourceGroupName, vmName, options, callback) {
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -729,7 +729,7 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, vmExtensionName, extens
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -944,7 +944,7 @@ function _beginUpdate(resourceGroupName, vmName, vmExtensionName, extensionParam
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1110,7 +1110,7 @@ function _beginDeleteMethod(resourceGroupName, vmName, vmExtensionName, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineImages.js b/lib/services/computeManagement2/lib/operations/virtualMachineImages.js
index 6b97f9d98b..d6de033cc5 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineImages.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineImages.js
@@ -55,7 +55,7 @@ function _get(location, publisherName, offer, skus, version, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -223,7 +223,7 @@ function _list(location, publisherName, offer, skus, options, callback) {
let filter = (options && options.filter !== undefined) ? options.filter : undefined;
let top = (options && options.top !== undefined) ? options.top : undefined;
let orderby = (options && options.orderby !== undefined) ? options.orderby : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -406,7 +406,7 @@ function _listOffers(location, publisherName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -561,7 +561,7 @@ function _listPublishers(location, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -716,7 +716,7 @@ function _listSkus(location, publisherName, offer, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineRunCommands.js b/lib/services/computeManagement2/lib/operations/virtualMachineRunCommands.js
index 3cffb62876..fa558c0e84 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineRunCommands.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineRunCommands.js
@@ -47,7 +47,7 @@ function _list(location, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
@@ -192,7 +192,7 @@ function _get(location, commandId, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetExtensions.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetExtensions.js
index dcd830292f..0904d03501 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetExtensions.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetExtensions.js
@@ -235,7 +235,7 @@ function _get(resourceGroupName, vmScaleSetName, vmssExtensionName, options, cal
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -390,7 +390,7 @@ function _list(resourceGroupName, vmScaleSetName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -567,7 +567,7 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, vmssExtensionNa
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -750,7 +750,7 @@ function _beginDeleteMethod(resourceGroupName, vmScaleSetName, vmssExtensionName
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetRollingUpgrades.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetRollingUpgrades.js
index 03a188d421..dbb587431e 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetRollingUpgrades.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetRollingUpgrades.js
@@ -243,7 +243,7 @@ function _getLatest(resourceGroupName, vmScaleSetName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -385,7 +385,7 @@ function _beginCancel(resourceGroupName, vmScaleSetName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -512,7 +512,7 @@ function _beginStartOSUpgrade(resourceGroupName, vmScaleSetName, options, callba
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -639,7 +639,7 @@ function _beginStartExtensionUpgrade(resourceGroupName, vmScaleSetName, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js
index 67fd414083..2301b99558 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js
@@ -404,9 +404,9 @@ function _deallocate(resourceGroupName, vmScaleSetName, instanceId, options, cal
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -417,6 +417,17 @@ function _deallocate(resourceGroupName, vmScaleSetName, instanceId, options, cal
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -771,7 +782,7 @@ function _get(resourceGroupName, vmScaleSetName, instanceId, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -921,7 +932,7 @@ function _getInstanceView(resourceGroupName, vmScaleSetName, instanceId, options
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1079,7 +1090,7 @@ function _list(resourceGroupName, virtualMachineScaleSetName, options, callback)
let filter = (options && options.filter !== undefined) ? options.filter : undefined;
let select = (options && options.select !== undefined) ? options.select : undefined;
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1659,7 +1670,7 @@ function _beginReimage(resourceGroupName, vmScaleSetName, instanceId, options, c
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1791,7 +1802,7 @@ function _beginReimageAll(resourceGroupName, vmScaleSetName, instanceId, options
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1925,7 +1936,7 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2209,9 +2220,9 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -2222,6 +2233,17 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -2431,7 +2453,7 @@ function _beginUpdate(resourceGroupName, vmScaleSetName, instanceId, parameters,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2613,7 +2635,7 @@ function _beginDeleteMethod(resourceGroupName, vmScaleSetName, instanceId, optio
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2746,7 +2768,7 @@ function _beginPowerOff(resourceGroupName, vmScaleSetName, instanceId, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2877,7 +2899,7 @@ function _beginRestart(resourceGroupName, vmScaleSetName, instanceId, options, c
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3008,7 +3030,7 @@ function _beginStart(resourceGroupName, vmScaleSetName, instanceId, options, cal
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3139,7 +3161,7 @@ function _beginRedeploy(resourceGroupName, vmScaleSetName, instanceId, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3270,7 +3292,7 @@ function _beginPerformMaintenance(resourceGroupName, vmScaleSetName, instanceId,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3412,7 +3434,7 @@ function _beginRunCommand(resourceGroupName, vmScaleSetName, instanceId, paramet
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4171,9 +4193,9 @@ class VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -4184,6 +4206,17 @@ class VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -4578,9 +4611,9 @@ class VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -4591,6 +4624,17 @@ class VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -6216,9 +6260,9 @@ class VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6229,6 +6273,17 @@ class VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -6623,9 +6678,9 @@ class VirtualMachineScaleSetVMs {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6636,6 +6691,17 @@ class VirtualMachineScaleSetVMs {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine in the scale set.
+ * For instance: whether the virtual machine has the capability to support
+ * attaching managed data disks with UltraSSD_LRS storage account type.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js
index b873fc9ba0..46ee6b130a 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js
@@ -97,16 +97,19 @@ const WebResource = msRest.WebResource;
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -324,9 +327,10 @@ const WebResource = msRest.WebResource;
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -334,6 +338,19 @@ const WebResource = msRest.WebResource;
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -584,16 +601,19 @@ function _createOrUpdate(resourceGroupName, vmScaleSetName, parameters, options,
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -734,9 +754,10 @@ function _createOrUpdate(resourceGroupName, vmScaleSetName, parameters, options,
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -971,7 +992,7 @@ function _get(resourceGroupName, vmScaleSetName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1250,7 +1271,7 @@ function _getInstanceView(resourceGroupName, vmScaleSetName, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1392,7 +1413,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1531,7 +1552,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1668,7 +1689,7 @@ function _listSkus(resourceGroupName, vmScaleSetName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1812,7 +1833,7 @@ function _getOSUpgradeHistory(resourceGroupName, vmScaleSetName, options, callba
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2508,7 +2529,7 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName,
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2702,16 +2723,19 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName,
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -2929,9 +2953,10 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName,
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -2939,6 +2964,19 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName,
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -3069,7 +3107,7 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, parameters, opt
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3288,16 +3326,19 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, parameters, opt
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -3438,9 +3479,10 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, parameters, opt
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -3534,7 +3576,7 @@ function _beginUpdate(resourceGroupName, vmScaleSetName, parameters, options, ca
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3693,7 +3735,7 @@ function _beginDeleteMethod(resourceGroupName, vmScaleSetName, options, callback
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3826,7 +3868,7 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, options, callback)
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3979,7 +4021,7 @@ function _beginDeleteInstances(resourceGroupName, vmScaleSetName, instanceIds, o
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4139,7 +4181,7 @@ function _beginPowerOff(resourceGroupName, vmScaleSetName, options, callback) {
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4296,7 +4338,7 @@ function _beginRestart(resourceGroupName, vmScaleSetName, options, callback) {
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4453,7 +4495,7 @@ function _beginStart(resourceGroupName, vmScaleSetName, options, callback) {
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4610,7 +4652,7 @@ function _beginRedeploy(resourceGroupName, vmScaleSetName, options, callback) {
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4770,7 +4812,7 @@ function _beginPerformMaintenance(resourceGroupName, vmScaleSetName, options, ca
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4924,7 +4966,7 @@ function _beginUpdateInstances(resourceGroupName, vmScaleSetName, instanceIds, o
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -5083,7 +5125,7 @@ function _beginReimage(resourceGroupName, vmScaleSetName, options, callback) {
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -5241,7 +5283,7 @@ function _beginReimageAll(resourceGroupName, vmScaleSetName, options, callback)
throw new Error('callback cannot be null.');
}
let instanceIds = (options && options.instanceIds !== undefined) ? options.instanceIds : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -6003,16 +6045,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -6230,9 +6275,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -6240,6 +6286,19 @@ class VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -6448,16 +6507,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -6675,9 +6737,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -6685,6 +6748,19 @@ class VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -6911,16 +6987,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -7061,9 +7140,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -7230,16 +7310,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -7380,9 +7463,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -9232,16 +9316,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -9459,9 +9546,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -9469,6 +9557,19 @@ class VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -9677,16 +9778,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -9904,9 +10008,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* Specifies the parameters that are used to add data disks to the virtual
@@ -9914,6 +10019,19 @@ class VirtualMachineScaleSets {
* [About disks and VHDs for Azure virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.virtualMachineProfile.additionalCapabilities]
+ * Specifies additional capabilities enabled or disabled on the virtual machine
+ * in the scale set. For instance: whether the virtual machine has the
+ * capability to support attaching managed data disks with UltraSSD_LRS storage
+ * account type.
+ *
+ * @param {boolean}
+ * [parameters.virtualMachineProfile.additionalCapabilities.ultraSSDEnabled]
+ * The flag that enables or disables a capability to have one or more managed
+ * data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.virtualMachineProfile.networkProfile] Specifies
* properties of the network interfaces of the virtual machines in the scale
* set.
@@ -10140,16 +10258,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -10290,9 +10411,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
@@ -10459,16 +10581,19 @@ class VirtualMachineScaleSets {
* batch and starting the next batch. The time duration should be specified in
* ISO 8601 format. The default value is 0 seconds (PT0S).
*
- * @param {boolean} [parameters.upgradePolicy.automaticOSUpgrade] Whether OS
- * upgrades should automatically be applied to scale set instances in a rolling
- * fashion when a newer version of the image becomes available.
+ * @param {object} [parameters.upgradePolicy.automaticOSUpgradePolicy]
+ * Configuration parameters used for performing automatic OS Upgrade.
*
- * @param {object} [parameters.upgradePolicy.autoOSUpgradePolicy] Configuration
- * parameters used for performing automatic OS Upgrade.
+ * @param {boolean}
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.enableAutomaticOSUpgrade]
+ * Whether OS upgrades should automatically be applied to scale set instances
+ * in a rolling fashion when a newer version of the image becomes available.
+ * Default value is false.
*
* @param {boolean}
- * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether
- * OS image rollback feature should be disabled. Default value is false.
+ * [parameters.upgradePolicy.automaticOSUpgradePolicy.disableAutomaticRollback]
+ * Whether OS image rollback feature should be disabled. Default value is
+ * false.
*
* @param {object} [parameters.virtualMachineProfile] The virtual machine
* profile.
@@ -10609,9 +10734,10 @@ class VirtualMachineScaleSets {
*
* @param {string}
* [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType]
- * Specifies the storage account type for the managed disk. Possible values
- * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values
- * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS
+ * can only be used with data disks, it cannot be used with OS Disk. Possible
+ * values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
+ * 'UltraSSD_LRS'
*
* @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks]
* The data disks.
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineSizes.js b/lib/services/computeManagement2/lib/operations/virtualMachineSizes.js
index 898256e46d..473be0dfa5 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachineSizes.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachineSizes.js
@@ -50,7 +50,7 @@ function _list(location, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
diff --git a/lib/services/computeManagement2/lib/operations/virtualMachines.js b/lib/services/computeManagement2/lib/operations/virtualMachines.js
index 02e0d95180..4d242989e0 100644
--- a/lib/services/computeManagement2/lib/operations/virtualMachines.js
+++ b/lib/services/computeManagement2/lib/operations/virtualMachines.js
@@ -311,9 +311,9 @@ function _capture(resourceGroupName, vmName, parameters, options, callback) {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -324,6 +324,15 @@ function _capture(resourceGroupName, vmName, parameters, options, callback) {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -778,9 +787,9 @@ function _createOrUpdate(resourceGroupName, vmName, parameters, options, callbac
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -791,6 +800,15 @@ function _createOrUpdate(resourceGroupName, vmName, parameters, options, callbac
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -1141,7 +1159,7 @@ function _get(resourceGroupName, vmName, options, callback) {
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1294,7 +1312,7 @@ function _instanceView(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1564,7 +1582,7 @@ function _generalize(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1690,7 +1708,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -1827,7 +1845,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
@@ -1964,7 +1982,7 @@ function _listAvailableSizes(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2526,7 +2544,7 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -2855,9 +2873,9 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback)
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -2868,6 +2886,15 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback)
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -3075,7 +3102,7 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3421,9 +3448,9 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -3434,6 +3461,15 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -3639,7 +3675,7 @@ function _beginUpdate(resourceGroupName, vmName, parameters, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3815,7 +3851,7 @@ function _beginDeleteMethod(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -3941,7 +3977,7 @@ function _beginConvertToManagedDisks(resourceGroupName, vmName, options, callbac
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4067,7 +4103,7 @@ function _beginDeallocate(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4194,7 +4230,7 @@ function _beginPowerOff(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4319,7 +4355,7 @@ function _beginRestart(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4444,7 +4480,7 @@ function _beginStart(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4569,7 +4605,7 @@ function _beginRedeploy(resourceGroupName, vmName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4694,7 +4730,7 @@ function _beginPerformMaintenance(resourceGroupName, vmName, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -4830,7 +4866,7 @@ function _beginRunCommand(resourceGroupName, vmName, parameters, options, callba
if (!callback) {
throw new Error('callback cannot be null.');
}
- let apiVersion = '2018-06-01';
+ let apiVersion = '2018-10-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
@@ -5572,9 +5608,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -5585,6 +5621,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -5993,9 +6038,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6006,6 +6051,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -6436,9 +6490,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6449,6 +6503,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -6855,9 +6918,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -6868,6 +6931,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -8724,9 +8796,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -8737,6 +8809,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -9145,9 +9226,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -9158,6 +9239,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -9588,9 +9678,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -9601,6 +9691,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
@@ -10007,9 +10106,9 @@ class VirtualMachines {
*
* @param {string}
* [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies
- * the storage account type for the managed disk. Possible values are:
- * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
- * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
+ * the storage account type for the managed disk. NOTE: UltraSSD_LRS can only
+ * be used with data disks, it cannot be used with OS Disk. Possible values
+ * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
*
* @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource
* Id
@@ -10020,6 +10119,15 @@ class VirtualMachines {
* virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
*
+ * @param {object} [parameters.additionalCapabilities] Specifies additional
+ * capabilities enabled or disabled on the virtual machine.
+ *
+ * @param {boolean} [parameters.additionalCapabilities.ultraSSDEnabled] The
+ * flag that enables or disables a capability to have one or more managed data
+ * disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed
+ * disks with storage account type UltraSSD_LRS can be added to a virtual
+ * machine or virtual machine scale set only if this property is enabled.
+ *
* @param {object} [parameters.osProfile] Specifies the operating system
* settings for the virtual machine.
*
diff --git a/lib/services/computeManagement2/package.json b/lib/services/computeManagement2/package.json
index e7a4ae1913..01c5160040 100644
--- a/lib/services/computeManagement2/package.json
+++ b/lib/services/computeManagement2/package.json
@@ -14,7 +14,7 @@
"license": "MIT",
"main": "./lib/computeManagementClient.js",
"types": "./lib/computeManagementClient.d.ts",
- "homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/computeManagement2",
+ "homepage": "https://github.com/azure/azure-sdk-for-node",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-node.git"