From de7dc9e15f7df1b5f97f50d0a3a0971d7b035bdc Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 1 May 2018 16:05:56 +0000 Subject: [PATCH 1/3] Generated from 57e4037bd66b30a7f95fda331085521b2d669c94 added autoOSUpgradePolicy --- .../lib/models/autoOSUpgradePolicy.js | 53 ++++++++++++ .../computeManagement2/lib/models/index.d.ts | 26 ++++++ .../computeManagement2/lib/models/index.js | 1 + .../lib/models/upgradePolicy.js | 12 +++ .../lib/models/virtualMachineScaleSet.js | 4 + .../models/virtualMachineScaleSetUpdate.js | 4 + .../lib/operations/index.d.ts | 56 +++++++++++++ .../lib/operations/virtualMachineScaleSets.js | 84 +++++++++++++++++++ 8 files changed, 240 insertions(+) create mode 100644 lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js diff --git a/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js b/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js new file mode 100644 index 0000000000..2a8ad9eeb6 --- /dev/null +++ b/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js @@ -0,0 +1,53 @@ +/* + * 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 AutoOSUpgradePolicy { + /** + * Create a AutoOSUpgradePolicy. + * @member {boolean} [disableAutoRollback] whether OS image rollback feature + * should be disabled. + */ + constructor() { + } + + /** + * Defines the metadata of AutoOSUpgradePolicy + * + * @returns {object} metadata of AutoOSUpgradePolicy + * + */ + mapper() { + return { + required: false, + serializedName: 'AutoOSUpgradePolicy', + type: { + name: 'Composite', + className: 'AutoOSUpgradePolicy', + modelProperties: { + disableAutoRollback: { + required: false, + serializedName: 'disableAutoRollback', + type: { + name: 'Boolean' + } + } + } + } + }; + } +} + +module.exports = AutoOSUpgradePolicy; diff --git a/lib/services/computeManagement2/lib/models/index.d.ts b/lib/services/computeManagement2/lib/models/index.d.ts index d3b0c4d6a0..aa9a2a2aea 100644 --- a/lib/services/computeManagement2/lib/models/index.d.ts +++ b/lib/services/computeManagement2/lib/models/index.d.ts @@ -2254,6 +2254,19 @@ export interface VirtualMachineUpdate extends UpdateResource { zones?: string[]; } +/** + * @class + * Initializes a new instance of the AutoOSUpgradePolicy class. + * @constructor + * The configuration parameters used for performing automatic OS upgrade. + * + * @member {boolean} [disableAutoRollback] whether OS image rollback feature + * should be disabled. + */ +export interface AutoOSUpgradePolicy { + disableAutoRollback?: boolean; +} + /** * @class * Initializes a new instance of the RollingUpgradePolicy class. @@ -2328,11 +2341,16 @@ export interface RollingUpgradePolicy { * @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. */ export interface UpgradePolicy { mode?: string; rollingUpgradePolicy?: RollingUpgradePolicy; automaticOSUpgrade?: boolean; + autoOSUpgradePolicy?: AutoOSUpgradePolicy; } /** @@ -3665,6 +3683,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * @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 + * parameters used for performing automatic OS Upgrade. + * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] + * whether OS image rollback feature should be disabled. * @member {object} [virtualMachineProfile] The virtual machine profile. * @member {object} [virtualMachineProfile.osProfile] Specifies the operating * system settings for the virtual machines in the scale set. @@ -3978,6 +4000,10 @@ export interface VirtualMachineScaleSet extends Resource { * @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 + * parameters used for performing automatic OS Upgrade. + * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] + * whether OS image rollback feature should be disabled. * @member {object} [virtualMachineProfile] The virtual machine profile. * @member {object} [virtualMachineProfile.osProfile] The virtual machine scale * set OS profile. diff --git a/lib/services/computeManagement2/lib/models/index.js b/lib/services/computeManagement2/lib/models/index.js index 8bebdcf7cd..bf67f6aaed 100644 --- a/lib/services/computeManagement2/lib/models/index.js +++ b/lib/services/computeManagement2/lib/models/index.js @@ -75,6 +75,7 @@ exports.MaintenanceRedeployStatus = require('./maintenanceRedeployStatus'); exports.VirtualMachineInstanceView = require('./virtualMachineInstanceView'); exports.VirtualMachine = require('./virtualMachine'); exports.VirtualMachineUpdate = require('./virtualMachineUpdate'); +exports.AutoOSUpgradePolicy = require('./autoOSUpgradePolicy'); exports.RollingUpgradePolicy = require('./rollingUpgradePolicy'); exports.UpgradePolicy = require('./upgradePolicy'); exports.ImageOSDisk = require('./imageOSDisk'); diff --git a/lib/services/computeManagement2/lib/models/upgradePolicy.js b/lib/services/computeManagement2/lib/models/upgradePolicy.js index eb5f4643c8..df65924e82 100644 --- a/lib/services/computeManagement2/lib/models/upgradePolicy.js +++ b/lib/services/computeManagement2/lib/models/upgradePolicy.js @@ -54,6 +54,10 @@ class UpgradePolicy { * @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. */ constructor() { } @@ -94,6 +98,14 @@ class UpgradePolicy { type: { name: 'Boolean' } + }, + autoOSUpgradePolicy: { + required: false, + serializedName: 'autoOSUpgradePolicy', + type: { + name: 'Composite', + className: 'AutoOSUpgradePolicy' + } } } } diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js index ee92869ca7..1e819cfeb6 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js @@ -79,6 +79,10 @@ class VirtualMachineScaleSet extends models['Resource'] { * @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 + * parameters used for performing automatic OS Upgrade. + * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] + * whether OS image rollback feature should be disabled. * @member {object} [virtualMachineProfile] The virtual machine profile. * @member {object} [virtualMachineProfile.osProfile] Specifies the operating * system settings for the virtual machines in the scale set. diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js index 693917b226..98bd843cda 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js @@ -74,6 +74,10 @@ class VirtualMachineScaleSetUpdate extends models['UpdateResource'] { * @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 + * parameters used for performing automatic OS Upgrade. + * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] + * whether OS image rollback feature should be disabled. * @member {object} [virtualMachineProfile] The virtual machine profile. * @member {object} [virtualMachineProfile.osProfile] The virtual machine * scale set OS profile. diff --git a/lib/services/computeManagement2/lib/operations/index.d.ts b/lib/services/computeManagement2/lib/operations/index.d.ts index a5d1a7e7b9..d825ce3dc7 100644 --- a/lib/services/computeManagement2/lib/operations/index.d.ts +++ b/lib/services/computeManagement2/lib/operations/index.d.ts @@ -8440,6 +8440,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -8853,6 +8860,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -9281,6 +9295,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -9568,6 +9589,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -11065,6 +11093,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -11478,6 +11513,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -11906,6 +11948,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -12193,6 +12242,13 @@ export interface VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js index b7a8075150..ecf4c51682 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js @@ -101,6 +101,13 @@ const WebResource = msRest.WebResource; * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -568,6 +575,13 @@ function _createOrUpdate(resourceGroupName, vmScaleSetName, parameters, options, * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -2839,6 +2853,13 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName, * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -3405,6 +3426,13 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, parameters, opt * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -6306,6 +6334,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -6731,6 +6766,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -7174,6 +7216,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -7473,6 +7522,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -9471,6 +9527,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -9896,6 +9959,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -10339,6 +10409,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * @@ -10638,6 +10715,13 @@ class VirtualMachineScaleSets { * 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.autoOSUpgradePolicy] Configuration + * parameters used for performing automatic OS Upgrade. + * + * @param {boolean} + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether + * OS image rollback feature should be disabled. + * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. * From b8ac902a1051360cb5a1b71027df9d593393635a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 2 May 2018 19:12:17 +0000 Subject: [PATCH 2/3] Generated from 27752fd2417b688d4aba3bcde1ada9231659d208 added deafult value as false --- .../lib/models/autoOSUpgradePolicy.js | 4 +- .../computeManagement2/lib/models/dataDisk.js | 14 +- .../computeManagement2/lib/models/index.d.ts | 125 +++++----- .../computeManagement2/lib/models/oSDisk.js | 14 +- .../lib/models/storageProfile.js | 15 +- .../lib/models/upgradePolicy.js | 4 +- .../lib/models/virtualMachine.js | 14 +- .../lib/models/virtualMachineScaleSet.js | 13 +- .../models/virtualMachineScaleSetOSDisk.js | 10 +- .../virtualMachineScaleSetStorageProfile.js | 10 +- .../models/virtualMachineScaleSetUpdate.js | 3 +- .../lib/models/virtualMachineScaleSetVM.js | 14 +- .../models/virtualMachineScaleSetVMProfile.js | 10 +- .../lib/models/virtualMachineUpdate.js | 14 +- .../lib/operations/index.d.ts | 236 +++++++++--------- .../operations/virtualMachineScaleSetVMs.js | 78 +++--- .../lib/operations/virtualMachineScaleSets.js | 120 ++++----- .../lib/operations/virtualMachines.js | 156 ++++++------ 18 files changed, 412 insertions(+), 442 deletions(-) diff --git a/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js b/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js index 2a8ad9eeb6..e2aeb119c6 100644 --- a/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js +++ b/lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js @@ -17,8 +17,8 @@ class AutoOSUpgradePolicy { /** * Create a AutoOSUpgradePolicy. - * @member {boolean} [disableAutoRollback] whether OS image rollback feature - * should be disabled. + * @member {boolean} [disableAutoRollback] Whether OS image rollback feature + * should be disabled. Default value is false. */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/dataDisk.js b/lib/services/computeManagement2/lib/models/dataDisk.js index 5a4e36bacb..35ad8c7602 100644 --- a/lib/services/computeManagement2/lib/models/dataDisk.js +++ b/lib/services/computeManagement2/lib/models/dataDisk.js @@ -38,13 +38,13 @@ class DataDisk { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @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 - * machine.

**FromImage** \u2013 This value is used when you are - * using an image to create the virtual machine. If you are using a platform - * 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' + * created.

Possible values are:

**Attach** This value is + * used when you are using a specialized disk to create the virtual + * machine.

**FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 diff --git a/lib/services/computeManagement2/lib/models/index.d.ts b/lib/services/computeManagement2/lib/models/index.d.ts index aa9a2a2aea..948ab3d639 100644 --- a/lib/services/computeManagement2/lib/models/index.d.ts +++ b/lib/services/computeManagement2/lib/models/index.d.ts @@ -756,13 +756,13 @@ export interface ManagedDiskParameters extends SubResource { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @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 - * machine.

**FromImage** \u2013 This value is used when you are using - * an image to create the virtual machine. If you are using a platform 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' + * created.

Possible values are:

**Attach** This value is used + * when you are using a specialized disk to create the virtual machine.

+ * **FromImage** This value is used when you are using an image to create the + * virtual machine. If you are using a platform 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 @@ -808,13 +808,13 @@ export interface OSDisk { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @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 - * machine.

**FromImage** \u2013 This value is used when you are using - * an image to create the virtual machine. If you are using a platform 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' + * created.

Possible values are:

**Attach** This value is used + * when you are using a specialized disk to create the virtual machine.

+ * **FromImage** This value is used when you are using an image to create the + * virtual machine. If you are using a platform 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 @@ -901,13 +901,13 @@ export interface DataDisk { * @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @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 - * virtual machine.

**FromImage** \u2013 This value is used when you - * are using an image to create the virtual machine. If you are using a - * platform 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' + * should be created.

Possible values are:

**Attach** This + * value is used when you are using a specialized disk to create the virtual + * machine.

**FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {number} [osDisk.diskSizeGB] Specifies the size of an empty data * disk 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 @@ -1634,13 +1634,12 @@ export interface VirtualMachineInstanceView { * whether writeAccelerator should be enabled or disabled on the disk. * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of an * empty data disk in gigabytes. This element can be used to overwrite the name * of the disk in a virtual machine image.

This value cannot be larger @@ -2021,13 +2020,12 @@ export interface VirtualMachine extends Resource { * whether writeAccelerator should be enabled or disabled on the disk. * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of an * empty data disk in gigabytes. This element can be used to overwrite the name * of the disk in a virtual machine image.

This value cannot be larger @@ -2260,8 +2258,8 @@ export interface VirtualMachineUpdate extends UpdateResource { * @constructor * The configuration parameters used for performing automatic OS upgrade. * - * @member {boolean} [disableAutoRollback] whether OS image rollback feature - * should be disabled. + * @member {boolean} [disableAutoRollback] Whether OS image rollback feature + * should be disabled. Default value is false. */ export interface AutoOSUpgradePolicy { disableAutoRollback?: boolean; @@ -2343,8 +2341,8 @@ export interface RollingUpgradePolicy { * 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. + * @member {boolean} [autoOSUpgradePolicy.disableAutoRollback] Whether OS image + * rollback feature should be disabled. Default value is false. */ export interface UpgradePolicy { mode?: string; @@ -2770,9 +2768,9 @@ export interface VirtualMachineScaleSetManagedDiskParameters { * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machines in the * scale set should be created.

The only allowed value is: - * **FromImage** \u2013 This value is used when you are using an image to - * create the virtual machine. If you are using a platform image, you also use - * the imageReference element described above. If you are using a marketplace + * **FromImage** This value is used when you are using an image to create the + * virtual machine. If you are using a platform 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 {string} [osType] This property allows you to specify the type of @@ -2903,9 +2901,9 @@ export interface VirtualMachineScaleSetDataDisk { * writeAccelerator should be enabled or disabled on the disk. * @member {string} [osDisk.createOption] Specifies how the virtual machines in * the scale set should be created.

The only allowed value is: - * **FromImage** \u2013 This value is used when you are using an image to - * create the virtual machine. If you are using a platform image, you also use - * the imageReference element described above. If you are using a marketplace + * **FromImage** This value is used when you are using an image to create the + * virtual machine. If you are using a platform 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 {string} [osDisk.osType] This property allows you to specify the @@ -3432,9 +3430,9 @@ export interface VirtualMachineScaleSetExtensionProfile { * whether writeAccelerator should be enabled or disabled on the disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machines in the scale set should be created.

The only - * allowed value is: **FromImage** \u2013 This value is used when you are using - * an image to create the virtual machine. If you are using a platform image, - * you also use the imageReference element described above. If you are using a + * allowed value is: **FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {string} [storageProfile.osDisk.osType] This property allows you to @@ -3686,7 +3684,8 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration * parameters used for performing automatic OS Upgrade. * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] - * whether OS image rollback feature should be disabled. + * 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. @@ -3814,12 +3813,12 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * disk. * @member {string} [virtualMachineProfile.storageProfile.osDisk.createOption] * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {string} [virtualMachineProfile.storageProfile.osDisk.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.

@@ -4003,7 +4002,8 @@ export interface VirtualMachineScaleSet extends Resource { * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration * parameters used for performing automatic OS Upgrade. * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] - * whether OS image rollback feature should be disabled. + * 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. @@ -4771,13 +4771,12 @@ export interface UpgradeOperationHistoricalStatusInfo { * whether writeAccelerator should be enabled or disabled on the disk. * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of an * empty data disk in gigabytes. This element can be used to overwrite the name * of the disk in a virtual machine image.

This value cannot be larger diff --git a/lib/services/computeManagement2/lib/models/oSDisk.js b/lib/services/computeManagement2/lib/models/oSDisk.js index bf576f1740..ef1de61c3a 100644 --- a/lib/services/computeManagement2/lib/models/oSDisk.js +++ b/lib/services/computeManagement2/lib/models/oSDisk.js @@ -62,13 +62,13 @@ class OSDisk { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @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 - * machine.

**FromImage** \u2013 This value is used when you are - * using an image to create the virtual machine. If you are using a platform - * 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' + * created.

Possible values are:

**Attach** This value is + * used when you are using a specialized disk to create the virtual + * machine.

**FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 diff --git a/lib/services/computeManagement2/lib/models/storageProfile.js b/lib/services/computeManagement2/lib/models/storageProfile.js index 38b108fcd0..1d7cde3559 100644 --- a/lib/services/computeManagement2/lib/models/storageProfile.js +++ b/lib/services/computeManagement2/lib/models/storageProfile.js @@ -80,14 +80,13 @@ class StorageProfile { * @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @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 - * virtual machine.

**FromImage** \u2013 This value is used when you - * are using an image to create the virtual machine. If you are using a - * platform 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' + * should be created.

Possible values are:

**Attach** This + * value is used when you are using a specialized disk to create the virtual + * machine.

**FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {number} [osDisk.diskSizeGB] Specifies the size of an empty data * disk 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 diff --git a/lib/services/computeManagement2/lib/models/upgradePolicy.js b/lib/services/computeManagement2/lib/models/upgradePolicy.js index df65924e82..33c6f1cf3f 100644 --- a/lib/services/computeManagement2/lib/models/upgradePolicy.js +++ b/lib/services/computeManagement2/lib/models/upgradePolicy.js @@ -56,8 +56,8 @@ class UpgradePolicy { * 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. + * @member {boolean} [autoOSUpgradePolicy.disableAutoRollback] Whether OS + * image rollback feature should be disabled. Default value is false. */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/virtualMachine.js b/lib/services/computeManagement2/lib/models/virtualMachine.js index dfb237a362..021ab3369e 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachine.js +++ b/lib/services/computeManagement2/lib/models/virtualMachine.js @@ -172,13 +172,13 @@ class VirtualMachine extends models['Resource'] { * disk. * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * an empty data disk in gigabytes. This element can be used to overwrite the * name of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js index 1e819cfeb6..ec71b2c23b 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js @@ -82,7 +82,8 @@ class VirtualMachineScaleSet extends models['Resource'] { * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration * parameters used for performing automatic OS Upgrade. * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] - * whether OS image rollback feature should be disabled. + * 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. @@ -216,11 +217,11 @@ class VirtualMachineScaleSet extends models['Resource'] { * @member {string} * [virtualMachineProfile.storageProfile.osDisk.createOption] Specifies how * the virtual machines in the scale set should be created.

The only - * allowed value is: **FromImage** \u2013 This value is used when you are - * using an image to create the virtual machine. If you are using a platform - * 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' + * allowed value is: **FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {string} [virtualMachineProfile.storageProfile.osDisk.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.

diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js index 737b7c9db1..f53cfd7fe7 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk { * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machines in the * scale set should be created.

The only allowed value is: - * **FromImage** \u2013 This value is used when you are using an image to - * create the virtual machine. If you are using a platform 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' + * **FromImage** This value is used when you are using an image to create + * the virtual machine. If you are using a platform 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 {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** diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js index b8ab9a175b..d10d24ff7f 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js @@ -49,11 +49,11 @@ class VirtualMachineScaleSetStorageProfile { * writeAccelerator should be enabled or disabled on the disk. * @member {string} [osDisk.createOption] Specifies how the virtual machines * in the scale set should be created.

The only allowed value is: - * **FromImage** \u2013 This value is used when you are using an image to - * create the virtual machine. If you are using a platform 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' + * **FromImage** This value is used when you are using an image to create + * the virtual machine. If you are using a platform 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 {string} [osDisk.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:

diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js index 98bd843cda..a1c608ec58 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js @@ -77,7 +77,8 @@ class VirtualMachineScaleSetUpdate extends models['UpdateResource'] { * @member {object} [upgradePolicy.autoOSUpgradePolicy] Configuration * parameters used for performing automatic OS Upgrade. * @member {boolean} [upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] - * whether OS image rollback feature should be disabled. + * 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. diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js index 7b9e19dea1..74cfa7f752 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js @@ -228,13 +228,13 @@ class VirtualMachineScaleSetVM extends models['Resource'] { * disk. * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * an empty data disk in gigabytes. This element can be used to overwrite the * name of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js index c0ee43dd34..22bedcae0e 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js @@ -132,11 +132,11 @@ class VirtualMachineScaleSetVMProfile { * disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machines in the scale set should be created.

The only - * allowed value is: **FromImage** \u2013 This value is used when you are - * using an image to create the virtual machine. If you are using a platform - * 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' + * allowed value is: **FromImage** This value is used when you are using an + * image to create the virtual machine. If you are using a platform 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 {string} [storageProfile.osDisk.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: diff --git a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js index c3aa49a406..a04666a880 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js @@ -172,13 +172,13 @@ class VirtualMachineUpdate extends models['UpdateResource'] { * disk. * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * an empty data disk in gigabytes. This element can be used to overwrite the * name of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/operations/index.d.ts b/lib/services/computeManagement2/lib/operations/index.d.ts index d825ce3dc7..6d4d9fcd7b 100644 --- a/lib/services/computeManagement2/lib/operations/index.d.ts +++ b/lib/services/computeManagement2/lib/operations/index.d.ts @@ -1888,13 +1888,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -2286,13 +2285,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -2703,13 +2701,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -3099,13 +3096,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4528,13 +4524,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4926,13 +4921,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -5343,13 +5337,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -5739,13 +5732,12 @@ export interface VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -8444,8 +8436,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -8617,12 +8609,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -8864,8 +8856,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -9037,12 +9029,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -9299,8 +9291,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -9593,8 +9585,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -11097,8 +11089,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -11270,12 +11262,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -11517,8 +11509,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -11690,12 +11682,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -11952,8 +11944,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -12246,8 +12238,8 @@ export interface VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -14761,13 +14753,12 @@ export interface VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -15145,13 +15136,12 @@ export interface VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -16341,13 +16331,12 @@ export interface VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -16725,13 +16714,12 @@ export interface VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js index a86c085fe7..031bf00588 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js @@ -434,13 +434,12 @@ function _deallocate(resourceGroupName, vmScaleSetName, instanceId, options, cal * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -2291,13 +2290,12 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4184,13 +4182,12 @@ class VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4580,13 +4577,12 @@ class VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6115,13 +6111,12 @@ class VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6511,13 +6506,12 @@ class VirtualMachineScaleSetVMs { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js index ecf4c51682..c3c95455ec 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js @@ -105,8 +105,8 @@ const WebResource = msRest.WebResource; * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -278,12 +278,12 @@ const WebResource = msRest.WebResource; * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -579,8 +579,8 @@ function _createOrUpdate(resourceGroupName, vmScaleSetName, parameters, options, * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -2857,8 +2857,8 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName, * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -3030,12 +3030,12 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName, * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -3430,8 +3430,8 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, parameters, opt * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -6338,8 +6338,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -6511,12 +6511,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -6770,8 +6770,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -6943,12 +6943,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -7220,8 +7220,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -7526,8 +7526,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -9531,8 +9531,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -9704,12 +9704,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -9963,8 +9963,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -10136,12 +10136,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** \u2013 This value - * is used when you are using an image to create the virtual machine. If you - * are using a platform 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' + * created.

The only allowed value is: **FromImage** This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -10413,8 +10413,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. @@ -10719,8 +10719,8 @@ class VirtualMachineScaleSets { * parameters used for performing automatic OS Upgrade. * * @param {boolean} - * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] whether - * OS image rollback feature should be disabled. + * [parameters.upgradePolicy.autoOSUpgradePolicy.disableAutoRollback] Whether + * OS image rollback feature should be disabled. Default value is false. * * @param {object} [parameters.virtualMachineProfile] The virtual machine * profile. diff --git a/lib/services/computeManagement2/lib/operations/virtualMachines.js b/lib/services/computeManagement2/lib/operations/virtualMachines.js index c5c28bb9c3..a09e9ec9c6 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachines.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachines.js @@ -448,13 +448,12 @@ function _capture(resourceGroupName, vmName, parameters, options, callback) { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -904,13 +903,12 @@ function _createOrUpdate(resourceGroupName, vmName, parameters, options, callbac * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -3117,13 +3115,12 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback) * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -3672,13 +3669,12 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6060,13 +6056,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6470,13 +6465,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6902,13 +6896,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -7310,13 +7303,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -9186,13 +9178,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -9596,13 +9587,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -10028,13 +10018,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -10436,13 +10425,12 @@ class VirtualMachines { * * @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 - * to create the virtual machine.

**FromImage** \u2013 This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * **Attach** This value is used when you are using a specialized disk to + * create the virtual machine.

**FromImage** This value is used when + * you are using an image to create the virtual machine. If you are using a + * platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to From c38ae3ba6f3d20322baf908c1ed4feb735390f3e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 8 May 2018 22:31:28 +0000 Subject: [PATCH 3/3] Generated from 27752fd2417b688d4aba3bcde1ada9231659d208 added deafult value as false --- .../computeManagement2/lib/models/dataDisk.js | 14 +- .../computeManagement2/lib/models/index.d.ts | 111 +++++----- .../computeManagement2/lib/models/oSDisk.js | 14 +- .../lib/models/storageProfile.js | 15 +- .../lib/models/virtualMachine.js | 14 +- .../lib/models/virtualMachineScaleSet.js | 10 +- .../models/virtualMachineScaleSetOSDisk.js | 10 +- .../virtualMachineScaleSetStorageProfile.js | 10 +- .../lib/models/virtualMachineScaleSetVM.js | 14 +- .../models/virtualMachineScaleSetVMProfile.js | 10 +- .../lib/models/virtualMachineUpdate.js | 14 +- .../lib/operations/index.d.ts | 204 +++++++++--------- .../operations/virtualMachineScaleSetVMs.js | 78 +++---- .../lib/operations/virtualMachineScaleSets.js | 72 +++---- .../lib/operations/virtualMachines.js | 156 +++++++------- lib/services/computeManagement2/package.json | 7 +- 16 files changed, 395 insertions(+), 358 deletions(-) diff --git a/lib/services/computeManagement2/lib/models/dataDisk.js b/lib/services/computeManagement2/lib/models/dataDisk.js index 35ad8c7602..5a4e36bacb 100644 --- a/lib/services/computeManagement2/lib/models/dataDisk.js +++ b/lib/services/computeManagement2/lib/models/dataDisk.js @@ -38,13 +38,13 @@ class DataDisk { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machine should be - * created.

Possible values are:

**Attach** This value is - * used when you are using a specialized disk to create the virtual - * machine.

**FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform 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' + * created.

Possible values are:

**Attach** \u2013 This value + * is used when you are using a specialized disk to create the virtual + * machine.

**FromImage** \u2013 This value is used when you are + * using an image to create the virtual machine. If you are using a platform + * 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 diff --git a/lib/services/computeManagement2/lib/models/index.d.ts b/lib/services/computeManagement2/lib/models/index.d.ts index 948ab3d639..58b3fe8923 100644 --- a/lib/services/computeManagement2/lib/models/index.d.ts +++ b/lib/services/computeManagement2/lib/models/index.d.ts @@ -756,13 +756,13 @@ export interface ManagedDiskParameters extends SubResource { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machine should be - * created.

Possible values are:

**Attach** This value is used - * when you are using a specialized disk to create the virtual machine.

- * **FromImage** This value is used when you are using an image to create the - * virtual machine. If you are using a platform 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' + * created.

Possible values are:

**Attach** \u2013 This value + * is used when you are using a specialized disk to create the virtual + * machine.

**FromImage** \u2013 This value is used when you are using + * an image to create the virtual machine. If you are using a platform 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 @@ -808,13 +808,13 @@ export interface OSDisk { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machine should be - * created.

Possible values are:

**Attach** This value is used - * when you are using a specialized disk to create the virtual machine.

- * **FromImage** This value is used when you are using an image to create the - * virtual machine. If you are using a platform 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' + * created.

Possible values are:

**Attach** \u2013 This value + * is used when you are using a specialized disk to create the virtual + * machine.

**FromImage** \u2013 This value is used when you are using + * an image to create the virtual machine. If you are using a platform 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 @@ -901,13 +901,13 @@ export interface DataDisk { * @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @member {string} [osDisk.createOption] Specifies how the virtual machine - * should be created.

Possible values are:

**Attach** This - * value is used when you are using a specialized disk to create the virtual - * machine.

**FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform 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' + * should be created.

Possible values are:

**Attach** \u2013 + * This value is used when you are using a specialized disk to create the + * virtual machine.

**FromImage** \u2013 This value is used when you + * are using an image to create the virtual machine. If you are using a + * platform 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 {number} [osDisk.diskSizeGB] Specifies the size of an empty data * disk 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 @@ -1634,12 +1634,13 @@ export interface VirtualMachineInstanceView { * whether writeAccelerator should be enabled or disabled on the disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of an * empty data disk in gigabytes. This element can be used to overwrite the name * of the disk in a virtual machine image.

This value cannot be larger @@ -2020,12 +2021,13 @@ export interface VirtualMachine extends Resource { * whether writeAccelerator should be enabled or disabled on the disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of an * empty data disk in gigabytes. This element can be used to overwrite the name * of the disk in a virtual machine image.

This value cannot be larger @@ -2768,9 +2770,9 @@ export interface VirtualMachineScaleSetManagedDiskParameters { * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machines in the * scale set should be created.

The only allowed value is: - * **FromImage** This value is used when you are using an image to create the - * virtual machine. If you are using a platform image, you also use the - * imageReference element described above. If you are using a marketplace + * **FromImage** \u2013 This value is used when you are using an image to + * create the virtual machine. If you are using a platform 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 {string} [osType] This property allows you to specify the type of @@ -2901,9 +2903,9 @@ export interface VirtualMachineScaleSetDataDisk { * writeAccelerator should be enabled or disabled on the disk. * @member {string} [osDisk.createOption] Specifies how the virtual machines in * the scale set should be created.

The only allowed value is: - * **FromImage** This value is used when you are using an image to create the - * virtual machine. If you are using a platform image, you also use the - * imageReference element described above. If you are using a marketplace + * **FromImage** \u2013 This value is used when you are using an image to + * create the virtual machine. If you are using a platform 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 {string} [osDisk.osType] This property allows you to specify the @@ -3430,9 +3432,9 @@ export interface VirtualMachineScaleSetExtensionProfile { * whether writeAccelerator should be enabled or disabled on the disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machines in the scale set should be created.

The only - * allowed value is: **FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform image, you - * also use the imageReference element described above. If you are using a + * allowed value is: **FromImage** \u2013 This value is used when you are using + * an image to create the virtual machine. If you are using a platform 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 {string} [storageProfile.osDisk.osType] This property allows you to @@ -3813,12 +3815,12 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * disk. * @member {string} [virtualMachineProfile.storageProfile.osDisk.createOption] * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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 {string} [virtualMachineProfile.storageProfile.osDisk.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.

@@ -4771,12 +4773,13 @@ export interface UpgradeOperationHistoricalStatusInfo { * whether writeAccelerator should be enabled or disabled on the disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of an * empty data disk in gigabytes. This element can be used to overwrite the name * of the disk in a virtual machine image.

This value cannot be larger diff --git a/lib/services/computeManagement2/lib/models/oSDisk.js b/lib/services/computeManagement2/lib/models/oSDisk.js index ef1de61c3a..bf576f1740 100644 --- a/lib/services/computeManagement2/lib/models/oSDisk.js +++ b/lib/services/computeManagement2/lib/models/oSDisk.js @@ -62,13 +62,13 @@ class OSDisk { * @member {boolean} [writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machine should be - * created.

Possible values are:

**Attach** This value is - * used when you are using a specialized disk to create the virtual - * machine.

**FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform 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' + * created.

Possible values are:

**Attach** \u2013 This value + * is used when you are using a specialized disk to create the virtual + * machine.

**FromImage** \u2013 This value is used when you are + * using an image to create the virtual machine. If you are using a platform + * 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 {number} [diskSizeGB] Specifies the size of an empty data disk 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 diff --git a/lib/services/computeManagement2/lib/models/storageProfile.js b/lib/services/computeManagement2/lib/models/storageProfile.js index 1d7cde3559..38b108fcd0 100644 --- a/lib/services/computeManagement2/lib/models/storageProfile.js +++ b/lib/services/computeManagement2/lib/models/storageProfile.js @@ -80,13 +80,14 @@ class StorageProfile { * @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether * writeAccelerator should be enabled or disabled on the disk. * @member {string} [osDisk.createOption] Specifies how the virtual machine - * should be created.

Possible values are:

**Attach** This - * value is used when you are using a specialized disk to create the virtual - * machine.

**FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform 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' + * should be created.

Possible values are:

**Attach** \u2013 + * This value is used when you are using a specialized disk to create the + * virtual machine.

**FromImage** \u2013 This value is used when you + * are using an image to create the virtual machine. If you are using a + * platform 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 {number} [osDisk.diskSizeGB] Specifies the size of an empty data * disk 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 diff --git a/lib/services/computeManagement2/lib/models/virtualMachine.js b/lib/services/computeManagement2/lib/models/virtualMachine.js index 021ab3369e..dfb237a362 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachine.js +++ b/lib/services/computeManagement2/lib/models/virtualMachine.js @@ -172,13 +172,13 @@ class VirtualMachine extends models['Resource'] { * disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * an empty data disk in gigabytes. This element can be used to overwrite the * name of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js index ec71b2c23b..601e8f504c 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js @@ -217,11 +217,11 @@ class VirtualMachineScaleSet extends models['Resource'] { * @member {string} * [virtualMachineProfile.storageProfile.osDisk.createOption] Specifies how * the virtual machines in the scale set should be created.

The only - * allowed value is: **FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform 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' + * allowed value is: **FromImage** \u2013 This value is used when you are + * using an image to create the virtual machine. If you are using a platform + * 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 {string} [virtualMachineProfile.storageProfile.osDisk.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.

diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js index f53cfd7fe7..737b7c9db1 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk { * writeAccelerator should be enabled or disabled on the disk. * @member {string} createOption Specifies how the virtual machines in the * scale set should be created.

The only allowed value is: - * **FromImage** This value is used when you are using an image to create - * the virtual machine. If you are using a platform 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' + * **FromImage** \u2013 This value is used when you are using an image to + * create the virtual machine. If you are using a platform 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 {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** diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js index d10d24ff7f..b8ab9a175b 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js @@ -49,11 +49,11 @@ class VirtualMachineScaleSetStorageProfile { * writeAccelerator should be enabled or disabled on the disk. * @member {string} [osDisk.createOption] Specifies how the virtual machines * in the scale set should be created.

The only allowed value is: - * **FromImage** This value is used when you are using an image to create - * the virtual machine. If you are using a platform 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' + * **FromImage** \u2013 This value is used when you are using an image to + * create the virtual machine. If you are using a platform 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 {string} [osDisk.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:

diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js index 74cfa7f752..7b9e19dea1 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js @@ -228,13 +228,13 @@ class VirtualMachineScaleSetVM extends models['Resource'] { * disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * an empty data disk in gigabytes. This element can be used to overwrite the * name of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js index 22bedcae0e..c0ee43dd34 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js @@ -132,11 +132,11 @@ class VirtualMachineScaleSetVMProfile { * disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machines in the scale set should be created.

The only - * allowed value is: **FromImage** This value is used when you are using an - * image to create the virtual machine. If you are using a platform 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' + * allowed value is: **FromImage** \u2013 This value is used when you are + * using an image to create the virtual machine. If you are using a platform + * 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 {string} [storageProfile.osDisk.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: diff --git a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js index a04666a880..c3aa49a406 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js @@ -172,13 +172,13 @@ class VirtualMachineUpdate extends models['UpdateResource'] { * disk. * @member {string} [storageProfile.osDisk.createOption] Specifies how the * virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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 {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of * an empty data disk in gigabytes. This element can be used to overwrite the * name of the disk in a virtual machine image.

This value cannot be diff --git a/lib/services/computeManagement2/lib/operations/index.d.ts b/lib/services/computeManagement2/lib/operations/index.d.ts index 6d4d9fcd7b..0c34a86248 100644 --- a/lib/services/computeManagement2/lib/operations/index.d.ts +++ b/lib/services/computeManagement2/lib/operations/index.d.ts @@ -1888,12 +1888,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -2285,12 +2286,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -2701,12 +2703,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -3096,12 +3099,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4524,12 +4528,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4921,12 +4926,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -5337,12 +5343,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -5732,12 +5739,13 @@ export interface VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -8609,12 +8617,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -9029,12 +9037,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -11262,12 +11270,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -11682,12 +11690,12 @@ export interface VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -14753,12 +14761,13 @@ export interface VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -15136,12 +15145,13 @@ export interface VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -16331,12 +16341,13 @@ export interface VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -16714,12 +16725,13 @@ export interface VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js index 031bf00588..a86c085fe7 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js @@ -434,12 +434,13 @@ function _deallocate(resourceGroupName, vmScaleSetName, instanceId, options, cal * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -2290,12 +2291,13 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4182,12 +4184,13 @@ class VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -4577,12 +4580,13 @@ class VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6111,12 +6115,13 @@ class VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6506,12 +6511,13 @@ class VirtualMachineScaleSetVMs { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js index c3c95455ec..6c04ee2a5b 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js @@ -278,12 +278,12 @@ const WebResource = msRest.WebResource; * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -3030,12 +3030,12 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName, * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -6511,12 +6511,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -6943,12 +6943,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -9704,12 +9704,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This @@ -10136,12 +10136,12 @@ class VirtualMachineScaleSets { * @param {string} * parameters.virtualMachineProfile.storageProfile.osDisk.createOption * Specifies how the virtual machines in the scale set should be - * created.

The only allowed value is: **FromImage** This value is - * used when you are using an image to create the virtual machine. If you are - * using a platform 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' + * created.

The only allowed value is: **FromImage** \u2013 This value + * is used when you are using an image to create the virtual machine. If you + * are using a platform 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' * * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.osType] This diff --git a/lib/services/computeManagement2/lib/operations/virtualMachines.js b/lib/services/computeManagement2/lib/operations/virtualMachines.js index a09e9ec9c6..c5c28bb9c3 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachines.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachines.js @@ -448,12 +448,13 @@ function _capture(resourceGroupName, vmName, parameters, options, callback) { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -903,12 +904,13 @@ function _createOrUpdate(resourceGroupName, vmName, parameters, options, callbac * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -3115,12 +3117,13 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback) * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -3669,12 +3672,13 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6056,12 +6060,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6465,12 +6470,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -6896,12 +6902,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -7303,12 +7310,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -9178,12 +9186,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -9587,12 +9596,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -10018,12 +10028,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to @@ -10425,12 +10436,13 @@ class VirtualMachines { * * @param {string} parameters.storageProfile.osDisk.createOption Specifies how * the virtual machine should be created.

Possible values are:

- * **Attach** This value is used when you are using a specialized disk to - * create the virtual machine.

**FromImage** This value is used when - * you are using an image to create the virtual machine. If you are using a - * platform 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' + * **Attach** \u2013 This value is used when you are using a specialized disk + * to create the virtual machine.

**FromImage** \u2013 This value is + * used when you are using an image to create the virtual machine. If you are + * using a platform 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' * * @param {number} [parameters.storageProfile.osDisk.diskSizeGB] Specifies the * size of an empty data disk in gigabytes. This element can be used to diff --git a/lib/services/computeManagement2/package.json b/lib/services/computeManagement2/package.json index 7ec334d332..f30473b5e9 100644 --- a/lib/services/computeManagement2/package.json +++ b/lib/services/computeManagement2/package.json @@ -4,10 +4,13 @@ "description": "ComputeManagementClient Library with typescript type definitions for node", "version": "5.1.0", "dependencies": { - "ms-rest": "^2.3.2", + "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5" }, - "keywords": [ "node", "azure" ], + "keywords": [ + "node", + "azure" + ], "license": "MIT", "main": "./lib/computeManagementClient.js", "types": "./lib/computeManagementClient.d.ts",