DiskDeleteOptionType Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.ComputeSchedule.Models.DiskDeleteOptionType>
type DiskDeleteOptionType = struct
Public Structure DiskDeleteOptionType
Implements IEquatable(Of DiskDeleteOptionType)
- Inheritance
-
DiskDeleteOptionType
- Implements
Constructors
| Name | Description |
|---|---|
| DiskDeleteOptionType(String) |
Initializes a new instance of DiskDeleteOptionType. |
Properties
| Name | Description |
|---|---|
| Delete |
Delete the disk upon VM deletion. |
| Detach |
Detach the disk upon VM deletion. |
Methods
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Equality(DiskDeleteOptionType, DiskDeleteOptionType) |
Determines if two DiskDeleteOptionType values are the same. |
| Implicit(String to DiskDeleteOptionType) |
Converts a string to a DiskDeleteOptionType. |
| Implicit(String to Nullable<DiskDeleteOptionType>) | |
| Inequality(DiskDeleteOptionType, DiskDeleteOptionType) |
Determines if two DiskDeleteOptionType values are not the same. |