From 61e5d142b97aa09119b82ab214bf378a2e669342 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 2 Jul 2018 17:59:49 +0000 Subject: [PATCH] Generated from 0a9ee3a2db06dff212c23f80c8b7bf1eec31613a User identities in a new dictionary property Moving user identities support from the property "identityId" list to a new dictionary property named "userAssignedIdentities". --- .../lib/models/availabilitySetListResult.js | 12 +- .../computeManagement2/lib/models/dataDisk.js | 5 +- .../computeManagement2/lib/models/disk.js | 2 +- .../computeManagement2/lib/models/diskSku.js | 4 +- .../lib/models/diskUpdate.js | 2 +- .../computeManagement2/lib/models/image.js | 4 +- .../lib/models/imageDataDisk.js | 5 +- .../lib/models/imageOSDisk.js | 5 +- .../lib/models/imageStorageProfile.js | 5 +- .../lib/models/imageUpdate.js | 4 +- .../computeManagement2/lib/models/index.d.ts | 115 ++- .../lib/models/managedDiskParameters.js | 5 +- .../computeManagement2/lib/models/oSDisk.js | 5 +- .../lib/models/storageProfile.js | 4 +- .../lib/models/virtualMachine.js | 4 +- .../lib/models/virtualMachineScaleSet.js | 4 +- .../models/virtualMachineScaleSetDataDisk.js | 5 +- ...ualMachineScaleSetManagedDiskParameters.js | 5 +- .../models/virtualMachineScaleSetOSDisk.js | 5 +- .../virtualMachineScaleSetStorageProfile.js | 4 +- .../models/virtualMachineScaleSetUpdate.js | 4 +- .../virtualMachineScaleSetUpdateOSDisk.js | 5 +- ...tualMachineScaleSetUpdateStorageProfile.js | 4 +- .../virtualMachineScaleSetUpdateVMProfile.js | 4 +- .../lib/models/virtualMachineScaleSetVM.js | 4 +- .../models/virtualMachineScaleSetVMProfile.js | 4 +- .../lib/models/virtualMachineUpdate.js | 4 +- .../lib/operations/availabilitySets.js | 698 +----------------- .../lib/operations/disks.js | 24 +- .../lib/operations/images.js | 48 +- .../lib/operations/index.d.ts | 296 ++------ .../operations/virtualMachineScaleSetVMs.js | 24 +- .../lib/operations/virtualMachineScaleSets.js | 48 +- .../lib/operations/virtualMachines.js | 48 +- 34 files changed, 286 insertions(+), 1133 deletions(-) diff --git a/lib/services/computeManagement2/lib/models/availabilitySetListResult.js b/lib/services/computeManagement2/lib/models/availabilitySetListResult.js index e09a1f8b3d..62c74689b8 100644 --- a/lib/services/computeManagement2/lib/models/availabilitySetListResult.js +++ b/lib/services/computeManagement2/lib/models/availabilitySetListResult.js @@ -16,9 +16,6 @@ class AvailabilitySetListResult extends Array { /** * Create a AvailabilitySetListResult. - * @member {string} [nextLink] The URI to fetch the next page of - * AvailabilitySets. Call ListNext() with this URI to fetch the next page of - * AvailabilitySets. */ constructor() { super(); @@ -39,7 +36,7 @@ class AvailabilitySetListResult extends Array { className: 'AvailabilitySetListResult', modelProperties: { value: { - required: true, + required: false, serializedName: '', type: { name: 'Sequence', @@ -52,13 +49,6 @@ class AvailabilitySetListResult extends Array { } } } - }, - nextLink: { - required: false, - serializedName: 'nextLink', - type: { - name: 'String' - } } } } diff --git a/lib/services/computeManagement2/lib/models/dataDisk.js b/lib/services/computeManagement2/lib/models/dataDisk.js index b4acb263de..5a4e36bacb 100644 --- a/lib/services/computeManagement2/lib/models/dataDisk.js +++ b/lib/services/computeManagement2/lib/models/dataDisk.js @@ -50,9 +50,8 @@ class DataDisk { * virtual machine image.

This value cannot be larger than 1023 GB * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/disk.js b/lib/services/computeManagement2/lib/models/disk.js index 23236931f5..470ae2c184 100644 --- a/lib/services/computeManagement2/lib/models/disk.js +++ b/lib/services/computeManagement2/lib/models/disk.js @@ -24,7 +24,7 @@ class Disk extends models['Resource'] { * that has the disk attached. * @member {object} [sku] * @member {string} [sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * @member {string} [sku.tier] The sku tier. * @member {array} [zones] The Logical zone list for Disk. * @member {date} [timeCreated] The time when the disk was created. diff --git a/lib/services/computeManagement2/lib/models/diskSku.js b/lib/services/computeManagement2/lib/models/diskSku.js index d6f7c27c4c..f06042e1b9 100644 --- a/lib/services/computeManagement2/lib/models/diskSku.js +++ b/lib/services/computeManagement2/lib/models/diskSku.js @@ -11,14 +11,14 @@ 'use strict'; /** - * The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS. + * The disks sku name. Can be Standard_LRS or Premium_LRS. * */ class DiskSku { /** * Create a DiskSku. * @member {string} [name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * @member {string} [tier] The sku tier. Default value: 'Standard' . */ constructor() { diff --git a/lib/services/computeManagement2/lib/models/diskUpdate.js b/lib/services/computeManagement2/lib/models/diskUpdate.js index 9b6a8c151e..e2c6fae29e 100644 --- a/lib/services/computeManagement2/lib/models/diskUpdate.js +++ b/lib/services/computeManagement2/lib/models/diskUpdate.js @@ -52,7 +52,7 @@ class DiskUpdate { * @member {object} [tags] Resource tags * @member {object} [sku] * @member {string} [sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * @member {string} [sku.tier] The sku tier. */ constructor() { diff --git a/lib/services/computeManagement2/lib/models/image.js b/lib/services/computeManagement2/lib/models/image.js index db72791ed9..50e1764899 100644 --- a/lib/services/computeManagement2/lib/models/image.js +++ b/lib/services/computeManagement2/lib/models/image.js @@ -53,8 +53,8 @@ class Image extends models['Resource'] { * larger than 1023 GB * @member {string} [storageProfile.osDisk.storageAccountType] Specifies the * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that * are used to add a data disk to a virtual machine.

For more * information about disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/imageDataDisk.js b/lib/services/computeManagement2/lib/models/imageDataDisk.js index 39dc4255b9..1c4c5e7d30 100644 --- a/lib/services/computeManagement2/lib/models/imageDataDisk.js +++ b/lib/services/computeManagement2/lib/models/imageDataDisk.js @@ -36,9 +36,8 @@ class ImageDataDisk { * gigabytes. This element can be used to overwrite the name of the disk in a * virtual machine image.

This value cannot be larger than 1023 GB * @member {string} [storageAccountType] Specifies the storage account type - * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * for the managed disk. Possible values are: Standard_LRS or Premium_LRS. + * Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/imageOSDisk.js b/lib/services/computeManagement2/lib/models/imageOSDisk.js index 3734253c51..2e3abc90ec 100644 --- a/lib/services/computeManagement2/lib/models/imageOSDisk.js +++ b/lib/services/computeManagement2/lib/models/imageOSDisk.js @@ -39,9 +39,8 @@ class ImageOSDisk { * gigabytes. This element can be used to overwrite the name of the disk in a * virtual machine image.

This value cannot be larger than 1023 GB * @member {string} [storageAccountType] Specifies the storage account type - * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * for the managed disk. Possible values are: Standard_LRS or Premium_LRS. + * Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/imageStorageProfile.js b/lib/services/computeManagement2/lib/models/imageStorageProfile.js index 8c8fa0b127..1d36d1e724 100644 --- a/lib/services/computeManagement2/lib/models/imageStorageProfile.js +++ b/lib/services/computeManagement2/lib/models/imageStorageProfile.js @@ -44,9 +44,8 @@ class ImageStorageProfile { * disk in a virtual machine image.

This value cannot be larger than * 1023 GB * @member {string} [osDisk.storageAccountType] Specifies the storage account - * type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, - * and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [dataDisks] Specifies the parameters that are used to add * a data disk to a virtual machine.

For more information about * disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/imageUpdate.js b/lib/services/computeManagement2/lib/models/imageUpdate.js index 9ddd1afd4d..e834881e82 100644 --- a/lib/services/computeManagement2/lib/models/imageUpdate.js +++ b/lib/services/computeManagement2/lib/models/imageUpdate.js @@ -51,8 +51,8 @@ class ImageUpdate extends models['UpdateResource'] { * larger than 1023 GB * @member {string} [storageProfile.osDisk.storageAccountType] Specifies the * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that * are used to add a data disk to a virtual machine.

For more * information about disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/index.d.ts b/lib/services/computeManagement2/lib/models/index.d.ts index 173a16778d..e28724b209 100644 --- a/lib/services/computeManagement2/lib/models/index.d.ts +++ b/lib/services/computeManagement2/lib/models/index.d.ts @@ -708,9 +708,8 @@ export interface VirtualHardDisk { * The parameters of a managed disk. * * @member {string} [storageAccountType] Specifies the storage account type for - * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible + * values include: 'Standard_LRS', 'Premium_LRS' */ export interface ManagedDiskParameters extends SubResource { storageAccountType?: string; @@ -776,9 +775,8 @@ export interface ManagedDiskParameters extends SubResource { * virtual machine image.

This value cannot be larger than 1023 GB * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ export interface OSDisk { osType?: string; @@ -829,9 +827,8 @@ export interface OSDisk { * virtual machine image.

This value cannot be larger than 1023 GB * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ export interface DataDisk { lun: number; @@ -924,9 +921,8 @@ export interface DataDisk { * 1023 GB * @member {object} [osDisk.managedDisk] The managed disk parameters. * @member {string} [osDisk.managedDisk.storageAccountType] Specifies the - * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * storage account type for the managed disk. Possible values are: Standard_LRS + * or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [dataDisks] Specifies the parameters that are used to add a * data disk to a virtual machine.

For more information about disks, * see [About disks and VHDs for Azure virtual @@ -1660,8 +1656,8 @@ export interface VirtualMachineInstanceView { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that are * used to add a data disk to a virtual machine.

For more information * about disks, see [About disks and VHDs for Azure virtual @@ -2047,8 +2043,8 @@ export interface VirtualMachine extends Resource { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that are * used to add a data disk to a virtual machine.

For more information * about disks, see [About disks and VHDs for Azure virtual @@ -2389,9 +2385,8 @@ export interface UpgradePolicy { * gigabytes. This element can be used to overwrite the name of the disk in a * virtual machine image.

This value cannot be larger than 1023 GB * @member {string} [storageAccountType] Specifies the storage account type for - * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible + * values include: 'Standard_LRS', 'Premium_LRS' */ export interface ImageOSDisk { osType: string; @@ -2426,9 +2421,8 @@ export interface ImageOSDisk { * gigabytes. This element can be used to overwrite the name of the disk in a * virtual machine image.

This value cannot be larger than 1023 GB * @member {string} [storageAccountType] Specifies the storage account type for - * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible + * values include: 'Standard_LRS', 'Premium_LRS' */ export interface ImageDataDisk { lun: number; @@ -2470,9 +2464,8 @@ export interface ImageDataDisk { * in gigabytes. This element can be used to overwrite the name of the disk in * a virtual machine image.

This value cannot be larger than 1023 GB * @member {string} [osDisk.storageAccountType] Specifies the storage account - * type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, - * and StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * type for the managed disk. Possible values are: Standard_LRS or Premium_LRS. + * Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [dataDisks] Specifies the parameters that are used to add a * data disk to a virtual machine.

For more information about disks, * see [About disks and VHDs for Azure virtual @@ -2525,9 +2518,8 @@ export interface ImageStorageProfile { * name of the disk in a virtual machine image.

This value cannot be * larger than 1023 GB * @member {string} [storageProfile.osDisk.storageAccountType] Specifies the - * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * storage account type for the managed disk. Possible values are: Standard_LRS + * or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that are * used to add a data disk to a virtual machine.

For more information * about disks, see [About disks and VHDs for Azure virtual @@ -2579,9 +2571,8 @@ export interface Image extends Resource { * name of the disk in a virtual machine image.

This value cannot be * larger than 1023 GB * @member {string} [storageProfile.osDisk.storageAccountType] Specifies the - * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * storage account type for the managed disk. Possible values are: Standard_LRS + * or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that are * used to add a data disk to a virtual machine.

For more information * about disks, see [About disks and VHDs for Azure virtual @@ -2764,9 +2755,8 @@ export interface VirtualMachineScaleSetUpdateOSProfile { * Describes the parameters of a ScaleSet managed disk. * * @member {string} [storageAccountType] Specifies the storage account type for - * the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible + * values include: 'Standard_LRS', 'Premium_LRS' */ export interface VirtualMachineScaleSetManagedDiskParameters { storageAccountType?: string; @@ -2803,9 +2793,8 @@ export interface VirtualMachineScaleSetManagedDiskParameters { * to store operating system disks for the scale set. * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ export interface VirtualMachineScaleSetOSDisk { name?: string; @@ -2838,9 +2827,8 @@ export interface VirtualMachineScaleSetOSDisk { * uris. * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ export interface VirtualMachineScaleSetUpdateOSDisk { caching?: string; @@ -2873,9 +2861,8 @@ export interface VirtualMachineScaleSetUpdateOSDisk { * virtual machine image.

This value cannot be larger than 1023 GB * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ export interface VirtualMachineScaleSetDataDisk { name?: string; @@ -2939,9 +2926,8 @@ export interface VirtualMachineScaleSetDataDisk { * used to store operating system disks for the scale set. * @member {object} [osDisk.managedDisk] The managed disk parameters. * @member {string} [osDisk.managedDisk.storageAccountType] Specifies the - * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * storage account type for the managed disk. Possible values are: Standard_LRS + * or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [dataDisks] Specifies the parameters that are used to add * data disks to the virtual machines in the scale set.

For more * information about disks, see [About disks and VHDs for Azure virtual @@ -2985,9 +2971,8 @@ export interface VirtualMachineScaleSetStorageProfile { * container uris. * @member {object} [osDisk.managedDisk] The managed disk parameters. * @member {string} [osDisk.managedDisk.storageAccountType] Specifies the - * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * storage account type for the managed disk. Possible values are: Standard_LRS + * or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' * @member {array} [dataDisks] The data disks. */ export interface VirtualMachineScaleSetUpdateStorageProfile { @@ -3494,8 +3479,8 @@ export interface VirtualMachineScaleSetExtensionProfile { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that are * used to add data disks to the virtual machines in the scale set.

* For more information about disks, see [About disks and VHDs for Azure @@ -3626,8 +3611,8 @@ export interface VirtualMachineScaleSetVMProfile { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] The data disks. * @member {object} [networkProfile] The virtual machine scale set network * profile. @@ -3881,8 +3866,8 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * @member {string} * [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [virtualMachineProfile.storageProfile.dataDisks] Specifies * the parameters that are used to add data disks to the virtual machines in * the scale set.

For more information about disks, see [About disks @@ -4129,8 +4114,8 @@ export interface VirtualMachineScaleSet extends Resource { * @member {string} * [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [virtualMachineProfile.storageProfile.dataDisks] The data * disks. * @member {object} [virtualMachineProfile.networkProfile] The virtual machine @@ -4830,8 +4815,8 @@ export interface UpgradeOperationHistoricalStatusInfo { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that are * used to add a data disk to a virtual machine.

For more information * about disks, see [About disks and VHDs for Azure virtual @@ -5506,10 +5491,10 @@ export interface ResourceSku { * @class * Initializes a new instance of the DiskSku class. * @constructor - * The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS. + * The disks sku name. Can be Standard_LRS or Premium_LRS. * * @member {string} [name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * @member {string} [tier] The sku tier. Default value: 'Standard' . */ export interface DiskSku { @@ -5653,7 +5638,7 @@ export interface EncryptionSettings { * has the disk attached. * @member {object} [sku] * @member {string} [sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * @member {string} [sku.tier] The sku tier. * @member {array} [zones] The Logical zone list for Disk. * @member {date} [timeCreated] The time when the disk was created. @@ -5759,7 +5744,7 @@ export interface Disk extends Resource { * @member {object} [tags] Resource tags * @member {object} [sku] * @member {string} [sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * @member {string} [sku.tier] The sku tier. */ export interface DiskUpdate { @@ -6201,12 +6186,8 @@ export interface ComputeOperationListResult extends Array * @constructor * The List Availability Set operation response. * - * @member {string} [nextLink] The URI to fetch the next page of - * AvailabilitySets. Call ListNext() with this URI to fetch the next page of - * AvailabilitySets. */ export interface AvailabilitySetListResult extends Array { - nextLink?: string; } /** diff --git a/lib/services/computeManagement2/lib/models/managedDiskParameters.js b/lib/services/computeManagement2/lib/models/managedDiskParameters.js index 68d7404f03..3764fa7812 100644 --- a/lib/services/computeManagement2/lib/models/managedDiskParameters.js +++ b/lib/services/computeManagement2/lib/models/managedDiskParameters.js @@ -21,9 +21,8 @@ class ManagedDiskParameters extends models['SubResource'] { /** * Create a ManagedDiskParameters. * @member {string} [storageAccountType] Specifies the storage account type - * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * for the managed disk. Possible values are: Standard_LRS or Premium_LRS. + * Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { super(); diff --git a/lib/services/computeManagement2/lib/models/oSDisk.js b/lib/services/computeManagement2/lib/models/oSDisk.js index e193e9bd05..bf576f1740 100644 --- a/lib/services/computeManagement2/lib/models/oSDisk.js +++ b/lib/services/computeManagement2/lib/models/oSDisk.js @@ -74,9 +74,8 @@ class OSDisk { * virtual machine image.

This value cannot be larger than 1023 GB * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/storageProfile.js b/lib/services/computeManagement2/lib/models/storageProfile.js index bc60cbf688..38b108fcd0 100644 --- a/lib/services/computeManagement2/lib/models/storageProfile.js +++ b/lib/services/computeManagement2/lib/models/storageProfile.js @@ -95,8 +95,8 @@ class StorageProfile { * @member {object} [osDisk.managedDisk] The managed disk parameters. * @member {string} [osDisk.managedDisk.storageAccountType] Specifies the * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [dataDisks] Specifies the parameters that are used to add * a data disk to a virtual machine.

For more information about * disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/virtualMachine.js b/lib/services/computeManagement2/lib/models/virtualMachine.js index 058bca085d..dfb237a362 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachine.js +++ b/lib/services/computeManagement2/lib/models/virtualMachine.js @@ -187,8 +187,8 @@ class VirtualMachine extends models['Resource'] { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that * are used to add a data disk to a virtual machine.

For more * information about disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js index 205124855a..601e8f504c 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSet.js @@ -241,8 +241,8 @@ class VirtualMachineScaleSet extends models['Resource'] { * @member {string} * [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [virtualMachineProfile.storageProfile.dataDisks] Specifies * the parameters that are used to add data disks to the virtual machines in * the scale set.

For more information about disks, see [About disks diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js index 1f1679570b..764ded8a19 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetDataDisk.js @@ -37,9 +37,8 @@ class VirtualMachineScaleSetDataDisk { * virtual machine image.

This value cannot be larger than 1023 GB * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js index aeb0c452f0..a11dae5d33 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetManagedDiskParameters.js @@ -18,9 +18,8 @@ class VirtualMachineScaleSetManagedDiskParameters { /** * Create a VirtualMachineScaleSetManagedDiskParameters. * @member {string} [storageAccountType] Specifies the storage account type - * for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and - * StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - * 'StandardSSD_LRS' + * for the managed disk. Possible values are: Standard_LRS or Premium_LRS. + * Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js index 664ae7278b..737b7c9db1 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSDisk.js @@ -45,9 +45,8 @@ class VirtualMachineScaleSetOSDisk { * to store operating system disks for the scale set. * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js index e0467e818a..b8ab9a175b 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetStorageProfile.js @@ -67,8 +67,8 @@ class VirtualMachineScaleSetStorageProfile { * @member {object} [osDisk.managedDisk] The managed disk parameters. * @member {string} [osDisk.managedDisk.storageAccountType] Specifies the * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [dataDisks] Specifies the parameters that are used to add * data disks to the virtual machines in the scale set.

For more * information about disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js index 4493d4cec4..a1c608ec58 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdate.js @@ -165,8 +165,8 @@ class VirtualMachineScaleSetUpdate extends models['UpdateResource'] { * @member {string} * [virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [virtualMachineProfile.storageProfile.dataDisks] The data * disks. * @member {object} [virtualMachineProfile.networkProfile] The virtual diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js index adfa98063f..3ef0f2ea89 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateOSDisk.js @@ -33,9 +33,8 @@ class VirtualMachineScaleSetUpdateOSDisk { * uris. * @member {object} [managedDisk] The managed disk parameters. * @member {string} [managedDisk.storageAccountType] Specifies the storage - * account type for the managed disk. Possible values are: Standard_LRS, - * Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS', - * 'Premium_LRS', 'StandardSSD_LRS' + * account type for the managed disk. Possible values are: Standard_LRS or + * Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS' */ constructor() { } diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js index e58ee7fd70..4d51b93ded 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateStorageProfile.js @@ -46,8 +46,8 @@ class VirtualMachineScaleSetUpdateStorageProfile { * @member {object} [osDisk.managedDisk] The managed disk parameters. * @member {string} [osDisk.managedDisk.storageAccountType] Specifies the * storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [dataDisks] The data disks. */ constructor() { diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js index 147fa7c289..4f8962feef 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetUpdateVMProfile.js @@ -87,8 +87,8 @@ class VirtualMachineScaleSetUpdateVMProfile { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] The data disks. * @member {object} [networkProfile] The virtual machine scale set network * profile. diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js index ab1241b11d..7b9e19dea1 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVM.js @@ -243,8 +243,8 @@ class VirtualMachineScaleSetVM extends models['Resource'] { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that * are used to add a data disk to a virtual machine.

For more * information about disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js index 84dc8393b2..c0ee43dd34 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineScaleSetVMProfile.js @@ -153,8 +153,8 @@ class VirtualMachineScaleSetVMProfile { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that * are used to add data disks to the virtual machines in the scale set. *

For more information about disks, see [About disks and VHDs for diff --git a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js index 3f07a5c4d0..c3aa49a406 100644 --- a/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js +++ b/lib/services/computeManagement2/lib/models/virtualMachineUpdate.js @@ -187,8 +187,8 @@ class VirtualMachineUpdate extends models['UpdateResource'] { * parameters. * @member {string} [storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * @member {array} [storageProfile.dataDisks] Specifies the parameters that * are used to add a data disk to a virtual machine.

For more * information about disks, see [About disks and VHDs for Azure virtual diff --git a/lib/services/computeManagement2/lib/operations/availabilitySets.js b/lib/services/computeManagement2/lib/operations/availabilitySets.js index 4d2d7a8315..d2d6a7b712 100644 --- a/lib/services/computeManagement2/lib/operations/availabilitySets.js +++ b/lib/services/computeManagement2/lib/operations/availabilitySets.js @@ -650,138 +650,6 @@ function _get(resourceGroupName, availabilitySetName, options, callback) { }); } -/** - * Lists all availability sets in a subscription. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {function} callback - The callback. - * - * @returns {function} callback(err, result, request, response) - * - * {Error} err - The Error object if an error occurred, null otherwise. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ -function _listBySubscription(options, callback) { - /* jshint validthis: true */ - let client = this.client; - if(!callback && typeof options === 'function') { - callback = options; - options = null; - } - if (!callback) { - throw new Error('callback cannot be null.'); - } - let apiVersion = '2018-04-01'; - // Validate - try { - if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { - throw new Error('this.client.subscriptionId cannot be null or undefined and it must be of type string.'); - } - if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { - throw new Error('this.client.acceptLanguage must be of type string.'); - } - } catch (error) { - return callback(error); - } - - // Construct URL - let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets'; - requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); - let queryParameters = []; - queryParameters.push('api-version=' + encodeURIComponent(apiVersion)); - if (queryParameters.length > 0) { - requestUrl += '?' + queryParameters.join('&'); - } - - // Create HTTP transport objects - let httpRequest = new WebResource(); - httpRequest.method = 'GET'; - httpRequest.url = requestUrl; - httpRequest.headers = {}; - // Set Headers - httpRequest.headers['Content-Type'] = 'application/json; charset=utf-8'; - if (this.client.generateClientRequestId) { - httpRequest.headers['x-ms-client-request-id'] = msRestAzure.generateUuid(); - } - if (this.client.acceptLanguage !== undefined && this.client.acceptLanguage !== null) { - httpRequest.headers['accept-language'] = this.client.acceptLanguage; - } - if(options) { - for(let headerName in options['customHeaders']) { - if (options['customHeaders'].hasOwnProperty(headerName)) { - httpRequest.headers[headerName] = options['customHeaders'][headerName]; - } - } - } - httpRequest.body = null; - // Send Request - return client.pipeline(httpRequest, (err, response, responseBody) => { - if (err) { - return callback(err); - } - let statusCode = response.statusCode; - if (statusCode !== 200) { - let error = new Error(responseBody); - error.statusCode = response.statusCode; - error.request = msRest.stripRequest(httpRequest); - error.response = msRest.stripResponse(response); - if (responseBody === '') responseBody = null; - let parsedErrorResponse; - try { - parsedErrorResponse = JSON.parse(responseBody); - if (parsedErrorResponse) { - if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error; - if (parsedErrorResponse.code) error.code = parsedErrorResponse.code; - if (parsedErrorResponse.message) error.message = parsedErrorResponse.message; - } - if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { - let resultMapper = new client.models['CloudError']().mapper(); - error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body'); - } - } catch (defaultError) { - error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody ` + - `- "${responseBody}" for the default response.`; - return callback(error); - } - return callback(error); - } - // Create Result - let result = null; - if (responseBody === '') responseBody = null; - // Deserialize Response - if (statusCode === 200) { - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['AvailabilitySetListResult']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - } - - return callback(null, result, httpRequest, response); - }); -} - /** * Lists all availability sets in a resource group. * @@ -839,283 +707,10 @@ function _list(resourceGroupName, options, callback) { requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); let queryParameters = []; queryParameters.push('api-version=' + encodeURIComponent(apiVersion)); - if (queryParameters.length > 0) { - requestUrl += '?' + queryParameters.join('&'); - } - - // Create HTTP transport objects - let httpRequest = new WebResource(); - httpRequest.method = 'GET'; - httpRequest.url = requestUrl; - httpRequest.headers = {}; - // Set Headers - httpRequest.headers['Content-Type'] = 'application/json; charset=utf-8'; - if (this.client.generateClientRequestId) { - httpRequest.headers['x-ms-client-request-id'] = msRestAzure.generateUuid(); - } - if (this.client.acceptLanguage !== undefined && this.client.acceptLanguage !== null) { - httpRequest.headers['accept-language'] = this.client.acceptLanguage; - } - if(options) { - for(let headerName in options['customHeaders']) { - if (options['customHeaders'].hasOwnProperty(headerName)) { - httpRequest.headers[headerName] = options['customHeaders'][headerName]; - } - } - } - httpRequest.body = null; - // Send Request - return client.pipeline(httpRequest, (err, response, responseBody) => { - if (err) { - return callback(err); - } - let statusCode = response.statusCode; - if (statusCode !== 200) { - let error = new Error(responseBody); - error.statusCode = response.statusCode; - error.request = msRest.stripRequest(httpRequest); - error.response = msRest.stripResponse(response); - if (responseBody === '') responseBody = null; - let parsedErrorResponse; - try { - parsedErrorResponse = JSON.parse(responseBody); - if (parsedErrorResponse) { - if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error; - if (parsedErrorResponse.code) error.code = parsedErrorResponse.code; - if (parsedErrorResponse.message) error.message = parsedErrorResponse.message; - } - if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { - let resultMapper = new client.models['CloudError']().mapper(); - error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body'); - } - } catch (defaultError) { - error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody ` + - `- "${responseBody}" for the default response.`; - return callback(error); - } - return callback(error); - } - // Create Result - let result = null; - if (responseBody === '') responseBody = null; - // Deserialize Response - if (statusCode === 200) { - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['AvailabilitySetListResult']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - } - - return callback(null, result, httpRequest, response); - }); -} - -/** - * Lists all available virtual machine sizes that can be used to create a new - * virtual machine in an existing availability set. - * - * @param {string} resourceGroupName The name of the resource group. - * - * @param {string} availabilitySetName The name of the availability set. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {function} callback - The callback. - * - * @returns {function} callback(err, result, request, response) - * - * {Error} err - The Error object if an error occurred, null otherwise. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link VirtualMachineSizeListResult} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ -function _listAvailableSizes(resourceGroupName, availabilitySetName, options, callback) { - /* jshint validthis: true */ - let client = this.client; - if(!callback && typeof options === 'function') { - callback = options; - options = null; - } - if (!callback) { - throw new Error('callback cannot be null.'); - } - let apiVersion = '2018-04-01'; - // Validate - try { - if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { - throw new Error('resourceGroupName cannot be null or undefined and it must be of type string.'); - } - if (availabilitySetName === null || availabilitySetName === undefined || typeof availabilitySetName.valueOf() !== 'string') { - throw new Error('availabilitySetName cannot be null or undefined and it must be of type string.'); - } - if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { - throw new Error('this.client.subscriptionId cannot be null or undefined and it must be of type string.'); - } - if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { - throw new Error('this.client.acceptLanguage must be of type string.'); - } - } catch (error) { - return callback(error); - } - - // Construct URL - let baseUrl = this.client.baseUri; - let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes'; - requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); - requestUrl = requestUrl.replace('{availabilitySetName}', encodeURIComponent(availabilitySetName)); - requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); - let queryParameters = []; - queryParameters.push('api-version=' + encodeURIComponent(apiVersion)); - if (queryParameters.length > 0) { - requestUrl += '?' + queryParameters.join('&'); - } - - // Create HTTP transport objects - let httpRequest = new WebResource(); - httpRequest.method = 'GET'; - httpRequest.url = requestUrl; - httpRequest.headers = {}; - // Set Headers - httpRequest.headers['Content-Type'] = 'application/json; charset=utf-8'; - if (this.client.generateClientRequestId) { - httpRequest.headers['x-ms-client-request-id'] = msRestAzure.generateUuid(); - } - if (this.client.acceptLanguage !== undefined && this.client.acceptLanguage !== null) { - httpRequest.headers['accept-language'] = this.client.acceptLanguage; - } - if(options) { - for(let headerName in options['customHeaders']) { - if (options['customHeaders'].hasOwnProperty(headerName)) { - httpRequest.headers[headerName] = options['customHeaders'][headerName]; - } - } - } - httpRequest.body = null; - // Send Request - return client.pipeline(httpRequest, (err, response, responseBody) => { - if (err) { - return callback(err); - } - let statusCode = response.statusCode; - if (statusCode !== 200) { - let error = new Error(responseBody); - error.statusCode = response.statusCode; - error.request = msRest.stripRequest(httpRequest); - error.response = msRest.stripResponse(response); - if (responseBody === '') responseBody = null; - let parsedErrorResponse; - try { - parsedErrorResponse = JSON.parse(responseBody); - if (parsedErrorResponse) { - if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error; - if (parsedErrorResponse.code) error.code = parsedErrorResponse.code; - if (parsedErrorResponse.message) error.message = parsedErrorResponse.message; - } - if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { - let resultMapper = new client.models['CloudError']().mapper(); - error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body'); - } - } catch (defaultError) { - error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody ` + - `- "${responseBody}" for the default response.`; - return callback(error); - } - return callback(error); - } - // Create Result - let result = null; - if (responseBody === '') responseBody = null; - // Deserialize Response - if (statusCode === 200) { - let parsedResponse = null; - try { - parsedResponse = JSON.parse(responseBody); - result = JSON.parse(responseBody); - if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['VirtualMachineSizeListResult']().mapper(); - result = client.deserialize(resultMapper, parsedResponse, 'result'); - } - } catch (error) { - let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); - deserializationError.request = msRest.stripRequest(httpRequest); - deserializationError.response = msRest.stripResponse(response); - return callback(deserializationError); - } - } - - return callback(null, result, httpRequest, response); - }); -} - -/** - * Lists all availability sets in a subscription. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {function} callback - The callback. - * - * @returns {function} callback(err, result, request, response) - * - * {Error} err - The Error object if an error occurred, null otherwise. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ -function _listBySubscriptionNext(nextPageLink, options, callback) { - /* jshint validthis: true */ - let client = this.client; - if(!callback && typeof options === 'function') { - callback = options; - options = null; - } - if (!callback) { - throw new Error('callback cannot be null.'); - } - // Validate - try { - if (nextPageLink === null || nextPageLink === undefined || typeof nextPageLink.valueOf() !== 'string') { - throw new Error('nextPageLink cannot be null or undefined and it must be of type string.'); - } - if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { - throw new Error('this.client.acceptLanguage must be of type string.'); - } - } catch (error) { - return callback(error); + if (queryParameters.length > 0) { + requestUrl += '?' + queryParameters.join('&'); } - // Construct URL - let requestUrl = '{nextLink}'; - requestUrl = requestUrl.replace('{nextLink}', nextPageLink); - // Create HTTP transport objects let httpRequest = new WebResource(); httpRequest.method = 'GET'; @@ -1194,10 +789,12 @@ function _listBySubscriptionNext(nextPageLink, options, callback) { } /** - * Lists all availability sets in a resource group. + * Lists all available virtual machine sizes that can be used to create a new + * virtual machine in an existing availability set. + * + * @param {string} resourceGroupName The name of the resource group. * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. + * @param {string} availabilitySetName The name of the availability set. * * @param {object} [options] Optional Parameters. * @@ -1211,14 +808,14 @@ function _listBySubscriptionNext(nextPageLink, options, callback) { * {Error} err - The Error object if an error occurred, null otherwise. * * {object} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more + * See {@link VirtualMachineSizeListResult} for more * information. * * {object} [request] - The HTTP Request object if an error did not occur. * * {stream} [response] - The HTTP Response stream if an error did not occur. */ -function _listNext(nextPageLink, options, callback) { +function _listAvailableSizes(resourceGroupName, availabilitySetName, options, callback) { /* jshint validthis: true */ let client = this.client; if(!callback && typeof options === 'function') { @@ -1228,10 +825,17 @@ function _listNext(nextPageLink, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } + let apiVersion = '2018-04-01'; // Validate try { - if (nextPageLink === null || nextPageLink === undefined || typeof nextPageLink.valueOf() !== 'string') { - throw new Error('nextPageLink cannot be null or undefined and it must be of type string.'); + if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { + throw new Error('resourceGroupName cannot be null or undefined and it must be of type string.'); + } + if (availabilitySetName === null || availabilitySetName === undefined || typeof availabilitySetName.valueOf() !== 'string') { + throw new Error('availabilitySetName cannot be null or undefined and it must be of type string.'); + } + if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { + throw new Error('this.client.subscriptionId cannot be null or undefined and it must be of type string.'); } if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { throw new Error('this.client.acceptLanguage must be of type string.'); @@ -1241,8 +845,16 @@ function _listNext(nextPageLink, options, callback) { } // Construct URL - let requestUrl = '{nextLink}'; - requestUrl = requestUrl.replace('{nextLink}', nextPageLink); + let baseUrl = this.client.baseUri; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes'; + requestUrl = requestUrl.replace('{resourceGroupName}', encodeURIComponent(resourceGroupName)); + requestUrl = requestUrl.replace('{availabilitySetName}', encodeURIComponent(availabilitySetName)); + requestUrl = requestUrl.replace('{subscriptionId}', encodeURIComponent(this.client.subscriptionId)); + let queryParameters = []; + queryParameters.push('api-version=' + encodeURIComponent(apiVersion)); + if (queryParameters.length > 0) { + requestUrl += '?' + queryParameters.join('&'); + } // Create HTTP transport objects let httpRequest = new WebResource(); @@ -1306,7 +918,7 @@ function _listNext(nextPageLink, options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['AvailabilitySetListResult']().mapper(); + let resultMapper = new client.models['VirtualMachineSizeListResult']().mapper(); result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1333,11 +945,8 @@ class AvailabilitySets { this._update = _update; this._deleteMethod = _deleteMethod; this._get = _get; - this._listBySubscription = _listBySubscription; this._list = _list; this._listAvailableSizes = _listAvailableSizes; - this._listBySubscriptionNext = _listBySubscriptionNext; - this._listNext = _listNext; } /** @@ -1779,85 +1388,6 @@ class AvailabilitySets { } } - /** - * Lists all availability sets in a subscription. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @returns {Promise} A promise is returned - * - * @resolve {HttpOperationResponse} - The deserialized result object. - * - * @reject {Error} - The error object. - */ - listBySubscriptionWithHttpOperationResponse(options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._listBySubscription(options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Lists all availability sets in a subscription. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {function} [optionalCallback] - The optional callback. - * - * @returns {function|Promise} If a callback was passed as the last parameter - * then it returns the callback else returns a Promise. - * - * {Promise} A promise is returned - * - * @resolve {AvailabilitySetListResult} - The deserialized result object. - * - * @reject {Error} - The error object. - * - * {function} optionalCallback(err, result, request, response) - * - * {Error} err - The Error object if an error occurred, null otherwise. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - listBySubscription(options, optionalCallback) { - let client = this.client; - let self = this; - if (!optionalCallback && typeof options === 'function') { - optionalCallback = options; - options = null; - } - if (!optionalCallback) { - return new Promise((resolve, reject) => { - self._listBySubscription(options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._listBySubscription(options, optionalCallback); - } - } - /** * Lists all availability sets in a resource group. * @@ -2030,176 +1560,6 @@ class AvailabilitySets { } } - /** - * Lists all availability sets in a subscription. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @returns {Promise} A promise is returned - * - * @resolve {HttpOperationResponse} - The deserialized result object. - * - * @reject {Error} - The error object. - */ - listBySubscriptionNextWithHttpOperationResponse(nextPageLink, options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._listBySubscriptionNext(nextPageLink, options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Lists all availability sets in a subscription. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {function} [optionalCallback] - The optional callback. - * - * @returns {function|Promise} If a callback was passed as the last parameter - * then it returns the callback else returns a Promise. - * - * {Promise} A promise is returned - * - * @resolve {AvailabilitySetListResult} - The deserialized result object. - * - * @reject {Error} - The error object. - * - * {function} optionalCallback(err, result, request, response) - * - * {Error} err - The Error object if an error occurred, null otherwise. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - listBySubscriptionNext(nextPageLink, options, optionalCallback) { - let client = this.client; - let self = this; - if (!optionalCallback && typeof options === 'function') { - optionalCallback = options; - options = null; - } - if (!optionalCallback) { - return new Promise((resolve, reject) => { - self._listBySubscriptionNext(nextPageLink, options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._listBySubscriptionNext(nextPageLink, options, optionalCallback); - } - } - - /** - * Lists all availability sets in a resource group. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @returns {Promise} A promise is returned - * - * @resolve {HttpOperationResponse} - The deserialized result object. - * - * @reject {Error} - The error object. - */ - listNextWithHttpOperationResponse(nextPageLink, options) { - let client = this.client; - let self = this; - return new Promise((resolve, reject) => { - self._listNext(nextPageLink, options, (err, result, request, response) => { - let httpOperationResponse = new msRest.HttpOperationResponse(request, response); - httpOperationResponse.body = result; - if (err) { reject(err); } - else { resolve(httpOperationResponse); } - return; - }); - }); - } - - /** - * Lists all availability sets in a resource group. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {function} [optionalCallback] - The optional callback. - * - * @returns {function|Promise} If a callback was passed as the last parameter - * then it returns the callback else returns a Promise. - * - * {Promise} A promise is returned - * - * @resolve {AvailabilitySetListResult} - The deserialized result object. - * - * @reject {Error} - The error object. - * - * {function} optionalCallback(err, result, request, response) - * - * {Error} err - The Error object if an error occurred, null otherwise. - * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {object} [request] - The HTTP Request object if an error did not occur. - * - * {stream} [response] - The HTTP Response stream if an error did not occur. - */ - listNext(nextPageLink, options, optionalCallback) { - let client = this.client; - let self = this; - if (!optionalCallback && typeof options === 'function') { - optionalCallback = options; - options = null; - } - if (!optionalCallback) { - return new Promise((resolve, reject) => { - self._listNext(nextPageLink, options, (err, result, request, response) => { - if (err) { reject(err); } - else { resolve(result); } - return; - }); - }); - } else { - return self._listNext(nextPageLink, options, optionalCallback); - } - } - } module.exports = AvailabilitySets; diff --git a/lib/services/computeManagement2/lib/operations/disks.js b/lib/services/computeManagement2/lib/operations/disks.js index 0650e9ba33..436ad19155 100644 --- a/lib/services/computeManagement2/lib/operations/disks.js +++ b/lib/services/computeManagement2/lib/operations/disks.js @@ -31,7 +31,7 @@ const WebResource = msRest.WebResource; * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -233,7 +233,7 @@ function _createOrUpdate(resourceGroupName, diskName, disk, options, callback) { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -957,7 +957,7 @@ function _revokeAccess(resourceGroupName, diskName, options, callback) { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -1258,7 +1258,7 @@ function _beginCreateOrUpdate(resourceGroupName, diskName, disk, options, callba * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -2153,7 +2153,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -2268,7 +2268,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -2446,7 +2446,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -2530,7 +2530,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -3139,7 +3139,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -3254,7 +3254,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -3432,7 +3432,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -3516,7 +3516,7 @@ class Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/computeManagement2/lib/operations/images.js b/lib/services/computeManagement2/lib/operations/images.js index a264936167..cc3a456cba 100644 --- a/lib/services/computeManagement2/lib/operations/images.js +++ b/lib/services/computeManagement2/lib/operations/images.js @@ -68,8 +68,8 @@ const WebResource = msRest.WebResource; * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -209,8 +209,8 @@ function _createOrUpdate(resourceGroupName, imageName, parameters, options, call * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -833,8 +833,8 @@ function _list(options, callback) { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -1073,8 +1073,8 @@ function _beginCreateOrUpdate(resourceGroupName, imageName, parameters, options, * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -1713,8 +1713,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -1808,8 +1808,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -1925,8 +1925,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2018,8 +2018,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2474,8 +2474,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2569,8 +2569,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2686,8 +2686,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2779,8 +2779,8 @@ class Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

diff --git a/lib/services/computeManagement2/lib/operations/index.d.ts b/lib/services/computeManagement2/lib/operations/index.d.ts index 7cf04b0804..441b631aee 100644 --- a/lib/services/computeManagement2/lib/operations/index.d.ts +++ b/lib/services/computeManagement2/lib/operations/index.d.ts @@ -413,58 +413,6 @@ export interface AvailabilitySets { get(resourceGroupName: string, availabilitySetName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - /** - * Lists all availability sets in a subscription. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @returns {Promise} A promise is returned - * - * @resolve {HttpOperationResponse} - The deserialized result object. - * - * @reject {Error|ServiceError} - The error object. - */ - listBySubscriptionWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Lists all availability sets in a subscription. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {ServiceCallback} [optionalCallback] - The optional callback. - * - * @returns {ServiceCallback|Promise} If a callback was passed as the last - * parameter then it returns the callback else returns a Promise. - * - * {Promise} A promise is returned. - * - * @resolve {AvailabilitySetListResult} - The deserialized result object. - * - * @reject {Error|ServiceError} - The error object. - * - * {ServiceCallback} optionalCallback(err, result, request, response) - * - * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. - * - * {AvailabilitySetListResult} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {WebResource} [request] - The HTTP Request object if an error did not occur. - * - * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. - */ - listBySubscription(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listBySubscription(callback: ServiceCallback): void; - listBySubscription(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - /** * Lists all availability sets in a resource group. * @@ -581,122 +529,6 @@ export interface AvailabilitySets { listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; listAvailableSizes(resourceGroupName: string, availabilitySetName: string, callback: ServiceCallback): void; listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Lists all availability sets in a subscription. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @returns {Promise} A promise is returned - * - * @resolve {HttpOperationResponse} - The deserialized result object. - * - * @reject {Error|ServiceError} - The error object. - */ - listBySubscriptionNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Lists all availability sets in a subscription. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {ServiceCallback} [optionalCallback] - The optional callback. - * - * @returns {ServiceCallback|Promise} If a callback was passed as the last - * parameter then it returns the callback else returns a Promise. - * - * {Promise} A promise is returned. - * - * @resolve {AvailabilitySetListResult} - The deserialized result object. - * - * @reject {Error|ServiceError} - The error object. - * - * {ServiceCallback} optionalCallback(err, result, request, response) - * - * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. - * - * {AvailabilitySetListResult} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {WebResource} [request] - The HTTP Request object if an error did not occur. - * - * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. - */ - listBySubscriptionNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; - - - /** - * Lists all availability sets in a resource group. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @returns {Promise} A promise is returned - * - * @resolve {HttpOperationResponse} - The deserialized result object. - * - * @reject {Error|ServiceError} - The error object. - */ - listNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; - - /** - * Lists all availability sets in a resource group. - * - * @param {string} nextPageLink The NextLink from the previous successful call - * to List operation. - * - * @param {object} [options] Optional Parameters. - * - * @param {object} [options.customHeaders] Headers that will be added to the - * request - * - * @param {ServiceCallback} [optionalCallback] - The optional callback. - * - * @returns {ServiceCallback|Promise} If a callback was passed as the last - * parameter then it returns the callback else returns a Promise. - * - * {Promise} A promise is returned. - * - * @resolve {AvailabilitySetListResult} - The deserialized result object. - * - * @reject {Error|ServiceError} - The error object. - * - * {ServiceCallback} optionalCallback(err, result, request, response) - * - * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. - * - * {AvailabilitySetListResult} [result] - The deserialized result object if an error did not occur. - * See {@link AvailabilitySetListResult} for more - * information. - * - * {WebResource} [request] - The HTTP Request object if an error did not occur. - * - * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. - */ - listNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listNext(nextPageLink: string, callback: ServiceCallback): void; - listNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; } /** @@ -2367,8 +2199,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2450,8 +2282,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2552,8 +2384,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2633,8 +2465,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -2966,8 +2798,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -3049,8 +2881,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -3151,8 +2983,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -3232,8 +3064,8 @@ export interface Images { * * @param {string} [parameters.storageProfile.osDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.storageProfile.dataDisks] Specifies the * parameters that are used to add a data disk to a virtual machine.

@@ -3755,8 +3587,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -4153,8 +3985,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -4570,8 +4402,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -4966,8 +4798,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -6376,8 +6208,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -6774,8 +6606,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -7191,8 +7023,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -7587,8 +7419,8 @@ export interface VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -8773,8 +8605,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -9193,8 +9025,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -9551,8 +9383,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -9845,8 +9677,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -11404,8 +11236,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -11824,8 +11656,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -12182,8 +12014,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -12476,8 +12308,8 @@ export interface VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -14840,8 +14672,8 @@ export interface VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -15224,8 +15056,8 @@ export interface VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -16402,8 +16234,8 @@ export interface VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -16786,8 +16618,8 @@ export interface VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -18173,7 +18005,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -18276,7 +18108,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -18439,7 +18271,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -18511,7 +18343,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -18943,7 +18775,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -19046,7 +18878,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {array} [disk.zones] The Logical zone list for Disk. * @@ -19209,7 +19041,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * @@ -19281,7 +19113,7 @@ export interface Disks { * @param {object} [disk.sku] * * @param {string} [disk.sku.name] The sku name. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * 'Standard_LRS', 'Premium_LRS' * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js index e0ed37578d..db69534fb1 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSetVMs.js @@ -405,8 +405,8 @@ function _deallocate(resourceGroupName, vmScaleSetName, instanceId, options, cal * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -2109,8 +2109,8 @@ function _beginDeallocate(resourceGroupName, vmScaleSetName, instanceId, options * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -3882,8 +3882,8 @@ class VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -4278,8 +4278,8 @@ class VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -5795,8 +5795,8 @@ class VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -6191,8 +6191,8 @@ class VirtualMachineScaleSetVMs { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id diff --git a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js index 17ea5f7d0a..73f3d46a7f 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachineScaleSets.js @@ -312,8 +312,8 @@ const WebResource = msRest.WebResource; * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -709,8 +709,8 @@ function _createOrUpdate(resourceGroupName, vmScaleSetName, parameters, options, * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -2888,8 +2888,8 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName, * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -3384,8 +3384,8 @@ function _beginCreateOrUpdate(resourceGroupName, vmScaleSetName, parameters, opt * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -6160,8 +6160,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -6592,8 +6592,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -6965,8 +6965,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -7271,8 +7271,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -9331,8 +9331,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -9763,8 +9763,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * Specifies the parameters that are used to add data disks to the virtual @@ -10136,8 +10136,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. @@ -10442,8 +10442,8 @@ class VirtualMachineScaleSets { * @param {string} * [parameters.virtualMachineProfile.storageProfile.osDisk.managedDisk.storageAccountType] * Specifies the storage account type for the managed disk. Possible values - * are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values - * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {array} [parameters.virtualMachineProfile.storageProfile.dataDisks] * The data disks. diff --git a/lib/services/computeManagement2/lib/operations/virtualMachines.js b/lib/services/computeManagement2/lib/operations/virtualMachines.js index e5f777a0c1..17d5e04d2b 100644 --- a/lib/services/computeManagement2/lib/operations/virtualMachines.js +++ b/lib/services/computeManagement2/lib/operations/virtualMachines.js @@ -312,8 +312,8 @@ function _capture(resourceGroupName, vmName, parameters, options, callback) { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -768,8 +768,8 @@ function _createOrUpdate(resourceGroupName, vmName, parameters, options, callbac * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -2847,8 +2847,8 @@ function _beginCapture(resourceGroupName, vmName, parameters, options, callback) * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -3402,8 +3402,8 @@ function _beginCreateOrUpdate(resourceGroupName, vmName, parameters, options, ca * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -5555,8 +5555,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -5965,8 +5965,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -6397,8 +6397,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -6805,8 +6805,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -8662,8 +8662,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -9072,8 +9072,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -9504,8 +9504,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id @@ -9912,8 +9912,8 @@ class VirtualMachines { * @param {string} * [parameters.storageProfile.osDisk.managedDisk.storageAccountType] Specifies * the storage account type for the managed disk. Possible values are: - * Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: - * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', + * 'Premium_LRS' * * @param {string} [parameters.storageProfile.osDisk.managedDisk.id] Resource * Id