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

    Modifier and Type
    Field
    Description
    DiskDeleteOptionTypes.DELETE
    Static value Delete for DiskDeleteOptionTypes.
    DiskDeleteOptionTypes.DETACH
    Static value Detach for DiskDeleteOptionTypes.
    Modifier and Type
    Method
    Description
    DataDisk.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).
    DiskDeleteOptionTypes.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 DiskDeleteOptionTypes
    Modifier and Type
    Method
    Description
    DiskDeleteOptionTypes.values()
    Gets known DiskDeleteOptionTypes values.
    Modifier and Type
    Method
    Description
    DataDisk.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**.
    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).