Compartilhar via


ScVmmVirtualDisk Class

Definition

Virtual disk model.

public class ScVmmVirtualDisk : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk>
type ScVmmVirtualDisk = class
    interface IJsonModel<ScVmmVirtualDisk>
    interface IPersistableModel<ScVmmVirtualDisk>
Public Class ScVmmVirtualDisk
Implements IJsonModel(Of ScVmmVirtualDisk), IPersistableModel(Of ScVmmVirtualDisk)
Inheritance
ScVmmVirtualDisk
Implements

Constructors

ScVmmVirtualDisk()

Initializes a new instance of ScVmmVirtualDisk.

Properties

Bus

Gets or sets the disk bus.

BusType

Gets or sets the disk bus type.

CreateDiffDisk

Gets or sets a value indicating diff disk.

DiskId

Gets or sets the disk id.

DiskSizeGB

Gets or sets the disk total size.

DisplayName

Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.

Lun

Gets or sets the disk lun.

MaxDiskSizeGB

Gets the max disk size.

Name

Gets or sets the name of the disk.

StorageQosPolicy

The QoS policy for the disk.

TemplateDiskId

Gets or sets the disk id in the template.

VhdFormatType

Gets the disk vhd format type.

VhdType

Gets or sets the disk vhd type.

VolumeType

Gets the disk volume type.

Explicit Interface Implementations

IJsonModel<ScVmmVirtualDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ScVmmVirtualDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmVirtualDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmVirtualDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ScVmmVirtualDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to