Partilhar via


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

Constructors

ComputeFleetDiskDeleteOptionType(String)

Initializes a new instance of ComputeFleetDiskDeleteOptionType.

Properties

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.

Methods

Equals(ComputeFleetDiskDeleteOptionType)

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

Determines if two ComputeFleetDiskDeleteOptionType values are the same.

Implicit(String to ComputeFleetDiskDeleteOptionType)

Converts a String to a ComputeFleetDiskDeleteOptionType.

Inequality(ComputeFleetDiskDeleteOptionType, ComputeFleetDiskDeleteOptionType)

Determines if two ComputeFleetDiskDeleteOptionType values are not the same.

Applies to