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
Subclasses with type arguments of type DiskDeleteOptionTypes in com.azure.resourcemanager.compute.modelsModifier and TypeClassDescriptionfinal classSpecifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached.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.DataDisksToAttach.deleteOption()Get the deleteOption property: Specifies whether data disk should be deleted or detached upon VM deletion.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.DataDisksToAttach.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether data disk should be deleted or detached upon VM deletion.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).