Condividi tramite


DiskDeleteOptionType Struct

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 readonly struct DiskDeleteOptionType : IEquatable<Azure.ResourceManager.Compute.Models.DiskDeleteOptionType>
type DiskDeleteOptionType = struct
Public Structure DiskDeleteOptionType
Implements IEquatable(Of DiskDeleteOptionType)
Inheritance
DiskDeleteOptionType
Implements

Constructors

DiskDeleteOptionType(String)

Initializes a new instance of DiskDeleteOptionType.

Properties

Delete

Delete.

Detach

Detach.

Methods

Equals(DiskDeleteOptionType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(DiskDeleteOptionType, DiskDeleteOptionType)

Determines if two DiskDeleteOptionType values are the same.

Implicit(String to DiskDeleteOptionType)

Converts a String to a DiskDeleteOptionType.

Inequality(DiskDeleteOptionType, DiskDeleteOptionType)

Determines if two DiskDeleteOptionType values are not the same.

Applies to