Language

DiskCreateOptionTypes Struct

Definition

Specifies how the virtual machine disk should be created. Possible values are Attach: This value is used when you are using a specialized disk to create the virtual machine. FromImage: This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. Empty: This value is used when creating an empty data disk. Copy: This value is used to create a data disk from a snapshot or another disk. Restore: This value is used to create a data disk from a disk restore point.

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

Constructors

Name Description
DiskCreateOptionTypes(String)

Initializes a new instance of DiskCreateOptionTypes.

Properties

Name Description
Attach

Create disk by Attach.

Copy

Create disk by Copy.

Empty

Empty value.

FromImage

Create disk FromImage.

Restore

Create disk by Restore.

Methods

Name Description
Equals(DiskCreateOptionTypes)

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

Determines if two DiskCreateOptionTypes values are the same.

Implicit(String to DiskCreateOptionTypes)

Converts a string to a DiskCreateOptionTypes.

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

Determines if two DiskCreateOptionTypes values are not the same.

Applies to