你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComputeFleetDiskCreateOptionType Struct

Definition

Specifies how the virtual machine should be created.

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

Constructors

ComputeFleetDiskCreateOptionType(String)

Initializes a new instance of ComputeFleetDiskCreateOptionType.

Properties

Attach

This value is used when you are using a specialized disk to create the virtual machine.

Copy

This value is used to create a data disk from a snapshot or another disk.

Empty

This value is used when creating an empty data disk.

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.

Restore

This value is used to create a data disk from a disk restore point.

Methods

Equals(ComputeFleetDiskCreateOptionType)

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

Determines if two ComputeFleetDiskCreateOptionType values are the same.

Implicit(String to ComputeFleetDiskCreateOptionType)

Converts a String to a ComputeFleetDiskCreateOptionType.

Inequality(ComputeFleetDiskCreateOptionType, ComputeFleetDiskCreateOptionType)

Determines if two ComputeFleetDiskCreateOptionType values are not the same.

Applies to