DiskDeleteOptionType Enum

Definition

Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: Delete. If this value is used, the managed disk is deleted when VM gets deleted. Detach. If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.

public enum DiskDeleteOptionType
type DiskDeleteOptionType = 
Public Enum DiskDeleteOptionType
Inheritance
DiskDeleteOptionType

Fields

Name Value Description
Delete 0

Delete.

Detach 1

Detach.

Applies to