Language

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

Constructors

Name Description
DiskDeleteOptionTypes(String)

Initializes a new instance of DiskDeleteOptionTypes.

Properties

Name Description
Delete

Delete the disk upon VM deletion.

Detach

Detach the disk upon VM deletion.

Methods

Name Description
Equals(DiskDeleteOptionTypes)

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

Name Description
Equality(DiskDeleteOptionTypes, DiskDeleteOptionTypes)

Determines if two DiskDeleteOptionTypes values are the same.

Implicit(String to DiskDeleteOptionTypes)

Converts a string to a DiskDeleteOptionTypes.

Implicit(String to Nullable<DiskDeleteOptionTypes>)
Inequality(DiskDeleteOptionTypes, DiskDeleteOptionTypes)

Determines if two DiskDeleteOptionTypes values are not the same.

Applies to