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

VMSS Flex Disk deleteOption changes #18433

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -3815,6 +3815,10 @@
"managedDisk": {
"description": "The managed disk parameters.",
"$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
},
"deleteOption": {
"$ref": "./computeRPCommon.json#/definitions/DeleteOption",
"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."
}
},
"required": [
Expand Down Expand Up @@ -3851,6 +3855,10 @@
"managedDisk": {
"description": "The managed disk parameters.",
"$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
},
"deleteOption": {
"$ref": "./computeRPCommon.json#/definitions/DeleteOption",
"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."
}
},
"description": "Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk."
Expand Down Expand Up @@ -3896,6 +3904,10 @@
"type": "integer",
"format": "int64",
"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."
},
"deleteOption": {
"$ref": "./computeRPCommon.json#/definitions/DeleteOption",
"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**."
}
},
"required": [
Expand Down