Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger changes for adding diffdisksettings property for the Ephemeral OS Disks #3944

Merged
merged 7 commits into from
Sep 24, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -5176,6 +5176,26 @@
"modelAsString": true
}
},
"DiffDiskOption": {
"type": "string",
"description": "Specifies the diff disk option for operating system disk. Possible values are: Local.",
"enum": [
"Local"
],
"x-ms-enum": {
"name": "DiffDiskOption",
"modelAsString": true
}
},
"DiffDiskSettings": {
"properties": {
"option": {
"$ref": "#/definitions/DiffDiskOption",
"description": "Specifies the diff disk option for operating system disk. Possible values are: Local."
}
},
"description": "The parameters of a DiffDiskSettings for operating system disk."
},
"ManagedDiskParameters": {
"properties": {
"storageAccountType": {
Expand Down Expand Up @@ -5228,6 +5248,10 @@
"type": "boolean",
"description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
},
"diffDiskSettings": {
"$ref": "#/definitions/DiffDiskSettings",
"description": "Specifies the Diff Disk Settings for the operating system disk used by the virtual machine."
},
"createOption": {
"$ref": "#/definitions/CreateOption",
"description": "Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
Expand Down Expand Up @@ -6388,6 +6412,10 @@
"$ref": "#/definitions/CreateOption",
"description": "Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
},
"diffDiskSettings": {
"$ref": "#/definitions/DiffDiskSettings",
"description": "Specifies the Diff Disk Settings for the operating system disk used by the virtual machine scale set."
},
"diskSizeGB": {
"type": "integer",
"format": "int32",
Expand Down