Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/services/apimanagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"license": "MIT",
"main": "./lib/apiManagementClient.js",
"types": "./lib/apiManagementClient.d.ts",
"homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/apimanagement",
"homepage": "https://github.com/azure/azure-sdk-for-node",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-node.git"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Enables or disables a capability on the virtual machine or virtual machine
* scale set
*
*/
class AdditionalCapabilities {
/**
* Create a AdditionalCapabilities.
* @member {boolean} [ultraSSDEnabled] Enables or disables a capability to
* have 1 or more managed data disks with UltraSSD_LRS storage account on the
* VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be
* added to a virtual machine or virtual machine scale set only if this
* property is enabled.
*/
constructor() {
}

/**
* Defines the metadata of AdditionalCapabilities
*
* @returns {object} metadata of AdditionalCapabilities
*
*/
mapper() {
return {
required: false,
serializedName: 'AdditionalCapabilities',
type: {
name: 'Composite',
className: 'AdditionalCapabilities',
modelProperties: {
ultraSSDEnabled: {
required: false,
serializedName: 'ultraSSDEnabled',
type: {
name: 'Boolean'
}
}
}
}
};
}
}

module.exports = AdditionalCapabilities;
6 changes: 3 additions & 3 deletions lib/services/computeManagement2/lib/models/dataDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class DataDisk {
* virtual machine image. <br><br> 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. UltraSSD_LRS can only be used for data
* disks. Possible values include: 'Standard_LRS', 'Premium_LRS',
* 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
Expand Down
22 changes: 21 additions & 1 deletion lib/services/computeManagement2/lib/models/disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Disk extends models['Resource'] {
* that has the disk attached.
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [sku.tier] The sku tier.
* @member {array} [zones] The Logical zone list for Disk.
* @member {date} [timeCreated] The time when the disk was created.
Expand Down Expand Up @@ -78,6 +78,12 @@ class Disk extends models['Resource'] {
* @member {string} [encryptionSettings.keyEncryptionKey.keyUrl] Url pointing
* to a key or secret in KeyVault
* @member {string} [provisioningState] The disk provisioning state.
* @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this
* disk; only settable for UltraSSD disks. One operation can transfer between
* 4k and 256k bytes.
* @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk;
* only settable for UltraSSD disks. MBps means millions of bytes per second
* - MB here uses the ISO notation, of powers of 10.
*/
constructor() {
super();
Expand Down Expand Up @@ -218,6 +224,20 @@ class Disk extends models['Resource'] {
type: {
name: 'String'
}
},
diskIOPSReadWrite: {
required: false,
serializedName: 'properties.diskIOPSReadWrite',
type: {
name: 'Number'
}
},
diskMBpsReadWrite: {
required: false,
serializedName: 'properties.diskMBpsReadWrite',
type: {
name: 'Number'
}
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions lib/services/computeManagement2/lib/models/diskSku.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
'use strict';

/**
* The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS.
* The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or
* UltraSSD_LRS.
*
*/
class DiskSku {
/**
* Create a DiskSku.
* @member {string} [name] The sku name. Possible values include:
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [tier] The sku tier. Default value: 'Standard' .
*/
constructor() {
Expand Down
22 changes: 21 additions & 1 deletion lib/services/computeManagement2/lib/models/diskUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,16 @@ class DiskUpdate {
* Resource Id
* @member {string} [encryptionSettings.keyEncryptionKey.keyUrl] Url pointing
* to a key or secret in KeyVault
* @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this
* disk; only settable for UltraSSD disks. One operation can transfer between
* 4k and 256k bytes.
* @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk;
* only settable for UltraSSD disks. MBps means millions of bytes per second
* - MB here uses the ISO notation, of powers of 10.
* @member {object} [tags] Resource tags
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {string} [sku.tier] The sku tier.
*/
constructor() {
Expand Down Expand Up @@ -93,6 +99,20 @@ class DiskUpdate {
className: 'EncryptionSettings'
}
},
diskIOPSReadWrite: {
required: false,
serializedName: 'properties.diskIOPSReadWrite',
type: {
name: 'Number'
}
},
diskMBpsReadWrite: {
required: false,
serializedName: 'properties.diskMBpsReadWrite',
type: {
name: 'Number'
}
},
tags: {
required: false,
serializedName: 'tags',
Expand Down
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/lib/models/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Image extends models['Resource'] {
* @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', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine. <br><br> For more
* information about disks, see [About disks and VHDs for Azure virtual
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ImageDataDisk {
* @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'
* 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
Expand Down
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/lib/models/imageOSDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ImageOSDisk {
* @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'
* 'StandardSSD_LRS', 'UltraSSD_LRS'
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ImageStorageProfile {
* @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'
* 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [dataDisks] Specifies the parameters that are used to add
* a data disk to a virtual machine. <br><br> For more information about
* disks, see [About disks and VHDs for Azure virtual
Expand Down
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/lib/models/imageUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ImageUpdate extends models['UpdateResource'] {
* @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', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
* @member {array} [storageProfile.dataDisks] Specifies the parameters that
* are used to add a data disk to a virtual machine. <br><br> For more
* information about disks, see [About disks and VHDs for Azure virtual
Expand Down
Loading