diff --git a/lib/services/computeManagement2/lib/models/diffDiskSettings.js b/lib/services/computeManagement2/lib/models/diffDiskSettings.js new file mode 100644 index 0000000000..255adbef70 --- /dev/null +++ b/lib/services/computeManagement2/lib/models/diffDiskSettings.js @@ -0,0 +1,55 @@ +/* + * 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 parameters of differencing disk settings that can be be + * specified for operating system disk.

NOTE: The differencing disk + * settings can only be specified for managed disk. + * + */ +class DiffDiskSettings { + /** + * Create a DiffDiskSettings. + * @member {string} [option] Specifies the differencing disk settings for + * operating system disk. Possible values include: 'Local' + */ + constructor() { + } + + /** + * Defines the metadata of DiffDiskSettings + * + * @returns {object} metadata of DiffDiskSettings + * + */ + mapper() { + return { + required: false, + serializedName: 'DiffDiskSettings', + type: { + name: 'Composite', + className: 'DiffDiskSettings', + modelProperties: { + option: { + required: false, + serializedName: 'option', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = DiffDiskSettings; diff --git a/lib/services/computeManagement2/lib/models/index.d.ts b/lib/services/computeManagement2/lib/models/index.d.ts index 224cc17e17..50d105461d 100644 --- a/lib/services/computeManagement2/lib/models/index.d.ts +++ b/lib/services/computeManagement2/lib/models/index.d.ts @@ -704,6 +704,21 @@ export interface VirtualHardDisk { uri?: string; } +/** + * @class + * Initializes a new instance of the DiffDiskSettings class. + * @constructor + * Describes the parameters of differencing disk settings that can be be + * specified for operating system disk.

NOTE: The differencing disk + * settings can only be specified for managed disk. + * + * @member {string} [option] Specifies the differencing disk settings for + * operating system disk. Possible values include: 'Local' + */ +export interface DiffDiskSettings { + option?: string; +} + /** * @class * Initializes a new instance of the ManagedDiskParameters class. @@ -766,6 +781,10 @@ export interface ManagedDiskParameters extends SubResource { * Premium storage**. Possible values include: 'None', 'ReadOnly', 'ReadWrite' * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. + * @member {object} [diffDiskSettings] Specifies the differencing Disk Settings + * for the operating system disk used by the virtual machine. + * @member {string} [diffDiskSettings.option] Specifies the differencing disk + * settings for operating system disk. Possible values include: 'Local' * @member {string} createOption Specifies how the virtual machine should be * created.

Possible values are:

**Attach** \u2013 This value * is used when you are using a specialized disk to create the virtual @@ -791,6 +810,7 @@ export interface OSDisk { image?: VirtualHardDisk; caching?: string; writeAcceleratorEnabled?: boolean; + diffDiskSettings?: DiffDiskSettings; createOption: string; diskSizeGB?: number; managedDisk?: ManagedDiskParameters; @@ -913,6 +933,10 @@ export interface DataDisk { * 'ReadWrite' * @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. + * @member {object} [osDisk.diffDiskSettings] Specifies the differencing Disk + * Settings for the operating system disk used by the virtual machine. + * @member {string} [osDisk.diffDiskSettings.option] Specifies the differencing + * disk settings for operating system disk. Possible values include: 'Local' * @member {string} [osDisk.createOption] Specifies how the virtual machine * should be created.

Possible values are:

**Attach** \u2013 * This value is used when you are using a specialized disk to create the @@ -1690,6 +1714,12 @@ export interface VirtualMachineInstanceView { * 'ReadOnly', 'ReadWrite' * @member {boolean} [storageProfile.osDisk.writeAcceleratorEnabled] Specifies * whether writeAccelerator should be enabled or disabled on the disk. + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the virtual + * machine. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -2095,6 +2125,12 @@ export interface VirtualMachine extends Resource { * 'ReadOnly', 'ReadWrite' * @member {boolean} [storageProfile.osDisk.writeAcceleratorEnabled] Specifies * whether writeAccelerator should be enabled or disabled on the disk. + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the virtual + * machine. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -2901,6 +2937,10 @@ export interface VirtualMachineScaleSetManagedDiskParameters { * the imageReference element described above. If you are using a marketplace * image, you also use the plan element previously described. Possible values * include: 'FromImage', 'Empty', 'Attach' + * @member {object} [diffDiskSettings] Specifies the differencing Disk Settings + * for the operating system disk used by the virtual machine scale set. + * @member {string} [diffDiskSettings.option] Specifies the differencing disk + * settings for operating system disk. Possible values include: 'Local' * @member {number} [diskSizeGB] Specifies the size of the operating system * disk in gigabytes. This element can be used to overwrite the size of the * disk in a virtual machine image.

This value cannot be larger than @@ -2925,6 +2965,7 @@ export interface VirtualMachineScaleSetOSDisk { caching?: string; writeAcceleratorEnabled?: boolean; createOption: string; + diffDiskSettings?: DiffDiskSettings; diskSizeGB?: number; osType?: string; image?: VirtualHardDisk; @@ -3047,6 +3088,11 @@ export interface VirtualMachineScaleSetDataDisk { * the imageReference element described above. If you are using a marketplace * image, you also use the plan element previously described. Possible values * include: 'FromImage', 'Empty', 'Attach' + * @member {object} [osDisk.diffDiskSettings] Specifies the differencing Disk + * Settings for the operating system disk used by the virtual machine scale + * set. + * @member {string} [osDisk.diffDiskSettings.option] Specifies the differencing + * disk settings for operating system disk. Possible values include: 'Local' * @member {number} [osDisk.diskSizeGB] Specifies the size of the operating * system disk in gigabytes. This element can be used to overwrite the size of * the disk in a virtual machine image.

This value cannot be larger @@ -3625,6 +3671,12 @@ export interface VirtualMachineScaleSetExtensionProfile { * you also use the imageReference element described above. If you are using a * marketplace image, you also use the plan element previously described. * Possible values include: 'FromImage', 'Empty', 'Attach' + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the virtual + * machine scale set. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * the operating system disk in gigabytes. This element can be used to * overwrite the size of the disk in a virtual machine image.

This @@ -4042,6 +4094,14 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * described above. If you are using a marketplace image, you also use the * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' + * @member {object} + * [virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the virtual + * machine scale set. + * @member {string} + * [virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' * @member {number} [virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element * can be used to overwrite the size of the disk in a virtual machine image. @@ -5118,6 +5178,12 @@ export interface VirtualMachineScaleSetVMInstanceView { * 'ReadOnly', 'ReadWrite' * @member {boolean} [storageProfile.osDisk.writeAcceleratorEnabled] Specifies * whether writeAccelerator should be enabled or disabled on the disk. + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the virtual + * machine. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk diff --git a/lib/services/computeManagement2/lib/models/index.js b/lib/services/computeManagement2/lib/models/index.js index 53c9f67379..0e0ca87e8e 100644 --- a/lib/services/computeManagement2/lib/models/index.js +++ b/lib/services/computeManagement2/lib/models/index.js @@ -48,6 +48,7 @@ exports.KeyVaultSecretReference = require('./keyVaultSecretReference'); exports.KeyVaultKeyReference = require('./keyVaultKeyReference'); exports.DiskEncryptionSettings = require('./diskEncryptionSettings'); exports.VirtualHardDisk = require('./virtualHardDisk'); +exports.DiffDiskSettings = require('./diffDiskSettings'); exports.ManagedDiskParameters = require('./managedDiskParameters'); exports.OSDisk = require('./oSDisk'); exports.DataDisk = require('./dataDisk'); diff --git a/lib/services/computeManagement2/lib/models/oSDisk.js b/lib/services/computeManagement2/lib/models/oSDisk.js index 7c553f0713..18e3a4c0dd 100644 --- a/lib/services/computeManagement2/lib/models/oSDisk.js +++ b/lib/services/computeManagement2/lib/models/oSDisk.js @@ -59,6 +59,10 @@ class OSDisk { * 'ReadWrite' * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. + * @member {object} [diffDiskSettings] Specifies the differencing Disk + * Settings for the operating system disk used by the virtual machine. + * @member {string} [diffDiskSettings.option] Specifies the differencing disk + * settings for operating system disk. Possible values include: 'Local' * @member {string} createOption Specifies how the virtual machine should be * created.

Possible values are:

**Attach** \u2013 This value * is used when you are using a specialized disk to create the virtual @@ -147,6 +151,14 @@ class OSDisk { name: 'Boolean' } }, + diffDiskSettings: { + required: false, + serializedName: 'diffDiskSettings', + type: { + name: 'Composite', + className: 'DiffDiskSettings' + } + }, createOption: { required: true, serializedName: 'createOption', diff --git a/lib/services/computeManagement2/lib/models/storageProfile.js b/lib/services/computeManagement2/lib/models/storageProfile.js index 42c1cdb5e0..cf4f2ce1e7 100644 --- a/lib/services/computeManagement2/lib/models/storageProfile.js +++ b/lib/services/computeManagement2/lib/models/storageProfile.js @@ -77,6 +77,11 @@ class StorageProfile { * 'ReadOnly', 'ReadWrite' * @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. + * @member {object} [osDisk.diffDiskSettings] Specifies the differencing Disk + * Settings for the operating system disk used by the virtual machine. + * @member {string} [osDisk.diffDiskSettings.option] Specifies the + * differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [osDisk.createOption] Specifies how the virtual machine * should be created.

Possible values are:

**Attach** \u2013 * This value is used when you are using a specialized disk to create the diff --git a/lib/services/computeManagement2/lib/models/virtualMachine.js b/lib/services/computeManagement2/lib/models/virtualMachine.js index 1bfd785c30..90fb803d07 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachine.js +++ b/lib/services/computeManagement2/lib/models/virtualMachine.js @@ -170,6 +170,12 @@ class VirtualMachine extends models['Resource'] { * @member {boolean} [storageProfile.osDisk.writeAcceleratorEnabled] * Specifies whether writeAccelerator should be enabled or disabled on the * disk. + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the + * virtual machine. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js index 648247509e..caa782259a 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js @@ -231,6 +231,14 @@ class VirtualMachineScaleSet extends models['Resource'] { * image, you also use the imageReference element described above. If you are * using a marketplace image, you also use the plan element previously * described. Possible values include: 'FromImage', 'Empty', 'Attach' + * @member {object} + * [virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] Specifies + * the differencing Disk Settings for the operating system disk used by the + * virtual machine scale set. + * @member {string} + * [virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. + * Possible values include: 'Local' * @member {number} [virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element * can be used to overwrite the size of the disk in a virtual machine image. diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js index c604d7389a..d1cbfc3320 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js @@ -32,6 +32,11 @@ class VirtualMachineScaleSetOSDisk { * use the imageReference element described above. If you are using a * marketplace image, you also use the plan element previously described. * Possible values include: 'FromImage', 'Empty', 'Attach' + * @member {object} [diffDiskSettings] Specifies the differencing Disk + * Settings for the operating system disk used by the virtual machine scale + * set. + * @member {string} [diffDiskSettings.option] Specifies the differencing disk + * settings for operating system disk. Possible values include: 'Local' * @member {number} [diskSizeGB] Specifies the size of the operating system * disk in gigabytes. This element can be used to overwrite the size of the * disk in a virtual machine image.

This value cannot be larger than @@ -97,6 +102,14 @@ class VirtualMachineScaleSetOSDisk { name: 'String' } }, + diffDiskSettings: { + required: false, + serializedName: 'diffDiskSettings', + type: { + name: 'Composite', + className: 'DiffDiskSettings' + } + }, diskSizeGB: { required: false, serializedName: 'diskSizeGB', diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js index 5196601dfb..9baa4fc435 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js @@ -52,6 +52,12 @@ class VirtualMachineScaleSetStorageProfile { * use the imageReference element described above. If you are using a * marketplace image, you also use the plan element previously described. * Possible values include: 'FromImage', 'Empty', 'Attach' + * @member {object} [osDisk.diffDiskSettings] Specifies the differencing Disk + * Settings for the operating system disk used by the virtual machine scale + * set. + * @member {string} [osDisk.diffDiskSettings.option] Specifies the + * differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {number} [osDisk.diskSizeGB] Specifies the size of the operating * system disk in gigabytes. This element can be used to overwrite the size * of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js index 3376670278..d62df99b7d 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js @@ -234,6 +234,12 @@ class VirtualMachineScaleSetVM extends models['Resource'] { * @member {boolean} [storageProfile.osDisk.writeAcceleratorEnabled] * Specifies whether writeAccelerator should be enabled or disabled on the * disk. + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the + * virtual machine. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js index 62c9b40196..fabc7a079a 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js @@ -141,6 +141,12 @@ class VirtualMachineScaleSetVMProfile { * image, you also use the imageReference element described above. If you are * using a marketplace image, you also use the plan element previously * described. Possible values include: 'FromImage', 'Empty', 'Attach' + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the + * virtual machine scale set. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * the operating system disk in gigabytes. This element can be used to * overwrite the size of the disk in a virtual machine image.

This diff --git a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js index e0e1277183..21df6c9fcd 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js @@ -170,6 +170,12 @@ class VirtualMachineUpdate extends models['UpdateResource'] { * @member {boolean} [storageProfile.osDisk.writeAcceleratorEnabled] * Specifies whether writeAccelerator should be enabled or disabled on the * disk. + * @member {object} [storageProfile.osDisk.diffDiskSettings] Specifies the + * differencing Disk Settings for the operating system disk used by the + * virtual machine. + * @member {string} [storageProfile.osDisk.diffDiskSettings.option] Specifies + * the differencing disk settings for operating system disk. Possible values + * include: 'Local' * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk diff --git a/lib/services/computeManagement2/lib/operations/index.d.ts b/lib/services/computeManagement2/lib/operations/index.d.ts index be29115991..2730954feb 100644 --- a/lib/services/computeManagement2/lib/operations/index.d.ts +++ b/lib/services/computeManagement2/lib/operations/index.d.ts @@ -3742,6 +3742,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -4160,6 +4168,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -4597,6 +4613,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -5013,6 +5037,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6444,6 +6476,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6862,6 +6902,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -7299,6 +7347,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -7715,6 +7771,14 @@ export interface VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -8926,6 +8990,16 @@ export interface VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -9376,6 +9450,16 @@ export interface VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -11657,6 +11741,16 @@ export interface VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -12107,6 +12201,16 @@ export interface VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -15313,6 +15417,14 @@ export interface VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -15719,6 +15831,14 @@ export interface VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -17002,6 +17122,14 @@ export interface VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -17408,6 +17536,14 @@ export interface VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js index 2301b99558..aaec8ded4d 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js @@ -384,6 +384,14 @@ function _deallocate(resourceGroupName, vmScaleSetName, instanceId, options, cal * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -2200,6 +2208,14 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -4173,6 +4189,14 @@ class VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -4591,6 +4615,14 @@ class VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6240,6 +6272,14 @@ class VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6658,6 +6698,14 @@ class VirtualMachineScaleSetVMs { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js index 46ee6b130a..e650964d48 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js @@ -295,6 +295,16 @@ const WebResource = msRest.WebResource; * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -2921,6 +2931,16 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName, * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -6243,6 +6263,16 @@ class VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -6705,6 +6735,16 @@ class VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -9514,6 +9554,16 @@ class VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element @@ -9976,6 +10026,16 @@ class VirtualMachineScaleSets { * plan element previously described. Possible values include: 'FromImage', * 'Empty', 'Attach' * + * @param {object} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine scale set. + * + * @param {string} + * [parameters.virtualMachineProfile.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {number} * [parameters.virtualMachineProfile.storageProfile.osDisk.diskSizeGB] * Specifies the size of the operating system disk in gigabytes. This element diff --git a/lib/services/computeManagement2/lib/operations/virtualMachines.js b/lib/services/computeManagement2/lib/operations/virtualMachines.js index 4d242989e0..24c9fc4048 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachines.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachines.js @@ -291,6 +291,14 @@ function _capture(resourceGroupName, vmName, parameters, options, callback) { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -767,6 +775,14 @@ function _createOrUpdate(resourceGroupName, vmName, parameters, options, callbac * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -2853,6 +2869,14 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback) * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -3428,6 +3452,14 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -5588,6 +5620,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6018,6 +6058,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6470,6 +6518,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -6898,6 +6954,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -8776,6 +8840,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -9206,6 +9278,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -9658,6 +9738,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk @@ -10086,6 +10174,14 @@ class VirtualMachines { * Specifies whether writeAccelerator should be enabled or disabled on the * disk. * + * @param {object} [parameters.storageProfile.osDisk.diffDiskSettings] + * Specifies the differencing Disk Settings for the operating system disk used + * by the virtual machine. + * + * @param {string} [parameters.storageProfile.osDisk.diffDiskSettings.option] + * Specifies the differencing disk settings for operating system disk. Possible + * values include: 'Local' + * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

* **Attach** \u2013 This value is used when you are using a specialized disk