Uses of Class
com.azure.resourcemanager.compute.models.DiskDeleteOptionTypes
Packages that use DiskDeleteOptionTypes
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of DiskDeleteOptionTypes in com.azure.resourcemanager.compute.models
Fields in com.azure.resourcemanager.compute.models declared as DiskDeleteOptionTypesModifier and TypeFieldDescriptionstatic final DiskDeleteOptionTypesDiskDeleteOptionTypes.DELETEStatic value Delete for DiskDeleteOptionTypes.static final DiskDeleteOptionTypesDiskDeleteOptionTypes.DETACHStatic value Detach for DiskDeleteOptionTypes.Methods in com.azure.resourcemanager.compute.models that return DiskDeleteOptionTypesModifier and TypeMethodDescriptionDataDisk.deleteOption()Get the deleteOption property: Specifies whether data disk should be deleted or detached upon VM deletion.<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VM is deleted.<br><br> The default value is set to **detach**.OSDisk.deleteOption()Get the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VM deletion.VirtualMachineScaleSetDataDisk.deleteOption()Get the deleteOption property: 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**.VirtualMachineScaleSetOSDisk.deleteOption()Get the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).VirtualMachineScaleSetUpdateOSDisk.deleteOption()Get the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).static DiskDeleteOptionTypesDiskDeleteOptionTypes.fromString(String name) Creates or finds a DiskDeleteOptionTypes from its string representation.Methods in com.azure.resourcemanager.compute.models that return types with arguments of type DiskDeleteOptionTypesModifier and TypeMethodDescriptionstatic Collection<DiskDeleteOptionTypes>DiskDeleteOptionTypes.values()Gets known DiskDeleteOptionTypes values.Methods in com.azure.resourcemanager.compute.models with parameters of type DiskDeleteOptionTypesModifier and TypeMethodDescriptionDataDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether data disk should be deleted or detached upon VM deletion.<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VM is deleted.<br><br> The default value is set to **detach**.OSDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VM deletion.VirtualMachineScaleSetDataDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: 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**.VirtualMachineScaleSetOSDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).VirtualMachineScaleSetUpdateOSDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).