Language

DiskDetachOptionTypes Struct

Definition

Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: ForceDetach. detachOption: ForceDetach is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. This feature is still in preview. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.

public readonly struct DiskDetachOptionTypes : IEquatable<Azure.ResourceManager.Compute.BulkActions.Models.DiskDetachOptionTypes>
type DiskDetachOptionTypes = struct
Public Structure DiskDetachOptionTypes
Implements IEquatable(Of DiskDetachOptionTypes)
Inheritance
DiskDetachOptionTypes
Implements

Constructors

Name Description
DiskDetachOptionTypes(String)

Initializes a new instance of DiskDetachOptionTypes.

Properties

Name Description
ForceDetach

ForceDetach the disk.

Methods

Name Description
Equals(DiskDetachOptionTypes)

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(DiskDetachOptionTypes, DiskDetachOptionTypes)

Determines if two DiskDetachOptionTypes values are the same.

Implicit(String to DiskDetachOptionTypes)

Converts a string to a DiskDetachOptionTypes.

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

Determines if two DiskDetachOptionTypes values are not the same.

Applies to