Uses of Class
com.azure.resourcemanager.compute.models.DiskDeleteOptionTypes
-
Packages that use DiskDeleteOptionTypes Package Description com.azure.resourcemanager.compute.models 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 DiskDeleteOptionTypes Modifier and Type Field Description static DiskDeleteOptionTypesDiskDeleteOptionTypes. DELETEStatic value Delete for DiskDeleteOptionTypes.static DiskDeleteOptionTypesDiskDeleteOptionTypes. DETACHStatic value Detach for DiskDeleteOptionTypes.Methods in com.azure.resourcemanager.compute.models that return DiskDeleteOptionTypes Modifier and Type Method Description DiskDeleteOptionTypesDataDisk. 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**.DiskDeleteOptionTypesOSDisk. deleteOption()Get the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VM deletion.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 DiskDeleteOptionTypes Modifier and Type Method Description static Collection<DiskDeleteOptionTypes>DiskDeleteOptionTypes. values()Methods in com.azure.resourcemanager.compute.models with parameters of type DiskDeleteOptionTypes Modifier and Type Method Description DataDiskDataDisk. 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**.OSDiskOSDisk. withDeleteOption(DiskDeleteOptionTypes deleteOption)Set the deleteOption property: Specifies whether OS Disk should be deleted or detached upon VM deletion.
-