DiskCreateOptionType Struct

Definition

Specifies how the virtual machine 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 also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.

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

Constructors

DiskCreateOptionType(String)

Initializes a new instance of DiskCreateOptionType.

Properties

Attach

Attach.

Empty

Empty.

FromImage

FromImage.

Methods

Equals(DiskCreateOptionType)

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

Determines if two DiskCreateOptionType values are the same.

Implicit(String to DiskCreateOptionType)

Converts a string to a DiskCreateOptionType.

Inequality(DiskCreateOptionType, DiskCreateOptionType)

Determines if two DiskCreateOptionType values are not the same.

Applies to