Skip to content

Commit abcb4c4

Browse files
kimberlyyipcKimberly Yip Chang
andauthored
VMSS Flex Disk deleteOption changes (#18433)
* disk delete option for vmss flex * prettier changes * update parameters Co-authored-by: Kimberly Yip Chang <[email protected]>
1 parent 9edaea6 commit abcb4c4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/virtualMachineScaleSet.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3815,6 +3815,10 @@
38153815
"managedDisk": {
38163816
"description": "The managed disk parameters.",
38173817
"$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
3818+
},
3819+
"deleteOption": {
3820+
"$ref": "./computeRPCommon.json#/definitions/DeleteOption",
3821+
"description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). <br><br> Possible values: <br><br> **Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.<br><br> **Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted. <br><br> The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk."
38183822
}
38193823
},
38203824
"required": [
@@ -3851,6 +3855,10 @@
38513855
"managedDisk": {
38523856
"description": "The managed disk parameters.",
38533857
"$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
3858+
},
3859+
"deleteOption": {
3860+
"$ref": "./computeRPCommon.json#/definitions/DeleteOption",
3861+
"description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). <br><br> Possible values: <br><br> **Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.<br><br> **Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted. <br><br> The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk."
38543862
}
38553863
},
38563864
"description": "Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk."
@@ -3896,6 +3904,10 @@
38963904
"type": "integer",
38973905
"format": "int64",
38983906
"description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB."
3907+
},
3908+
"deleteOption": {
3909+
"$ref": "./computeRPCommon.json#/definitions/DeleteOption",
3910+
"description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.<br><br> The default value is set to **Delete**."
38993911
}
39003912
},
39013913
"required": [

0 commit comments

Comments
 (0)