Skip to content

Commit 5fdf492

Browse files
carissasunlmazuel
carissasun
authored andcommitted
Swagger spec for disk.json + compute.json 2018-06 (#3854)
* removing resourceUpdate, adding contents to disk and snapshot * adding swagger spec for disk.json 2018-06-01 * Disks 2018-06-01 for Python * update disk * Update readme.md * adding compute.json changes * deleting duplicates * Fix indent * adding suppress * Update suppression rules
1 parent 1cff2ef commit 5fdf492

File tree

3 files changed

+1276
-5
lines changed

3 files changed

+1276
-5
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5164,11 +5164,12 @@
51645164
},
51655165
"StorageAccountType": {
51665166
"type": "string",
5167-
"description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS.",
5167+
"description": "Specifies the storage account type for the managed disk. UltraSSD_LRS can only be used for data disks.",
51685168
"enum": [
51695169
"Standard_LRS",
51705170
"Premium_LRS",
5171-
"StandardSSD_LRS"
5171+
"StandardSSD_LRS",
5172+
"UltraSSD_LRS"
51725173
],
51735174
"x-ms-enum": {
51745175
"name": "StorageAccountTypes",
@@ -5179,7 +5180,7 @@
51795180
"properties": {
51805181
"storageAccountType": {
51815182
"$ref": "#/definitions/StorageAccountType",
5182-
"description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS."
5183+
"description": "Specifies the storage account type for the managed disk. UltraSSD_LRS can only be used for data disks."
51835184
}
51845185
},
51855186
"allOf": [
@@ -5313,6 +5314,15 @@
53135314
},
53145315
"description": "Specifies the storage settings for the virtual machine disks."
53155316
},
5317+
"AdditionalCapabilities": {
5318+
"properties": {
5319+
"ultraSSDEnabled": {
5320+
"type": "boolean",
5321+
"description": "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."
5322+
}
5323+
},
5324+
"description": "Enables or disables a capability on the virtual machine or virtual machine scale set"
5325+
},
53165326
"AdditionalUnattendContent": {
53175327
"properties": {
53185328
"passName": {
@@ -5830,6 +5840,10 @@
58305840
"$ref": "#/definitions/StorageProfile",
58315841
"description": "Specifies the storage settings for the virtual machine disks."
58325842
},
5843+
"additionalCapabilities": {
5844+
"$ref": "#/definitions/AdditionalCapabilities",
5845+
"description": "Specifies additional capabilities enabled or disabled on the virtual machine. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type."
5846+
},
58335847
"osProfile": {
58345848
"$ref": "#/definitions/OSProfile",
58355849
"description": "Specifies the operating system settings for the virtual machine."
@@ -7022,6 +7036,10 @@
70227036
"$ref": "#/definitions/VirtualMachineScaleSetStorageProfile",
70237037
"description": "Specifies the storage settings for the virtual machine disks."
70247038
},
7039+
"additionalCapabilities": {
7040+
"$ref": "#/definitions/AdditionalCapabilities",
7041+
"description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type."
7042+
},
70257043
"networkProfile": {
70267044
"$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile",
70277045
"description": "Specifies properties of the network interfaces of the virtual machines in the scale set."
@@ -7588,6 +7606,10 @@
75887606
"$ref": "#/definitions/StorageProfile",
75897607
"description": "Specifies the storage settings for the virtual machine disks."
75907608
},
7609+
"additionalCapabilities": {
7610+
"$ref": "#/definitions/AdditionalCapabilities",
7611+
"description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type."
7612+
},
75917613
"osProfile": {
75927614
"$ref": "#/definitions/OSProfile",
75937615
"description": "Specifies the operating system settings for the virtual machine."

0 commit comments

Comments
 (0)