Partilhar via


VMwareVirtualDisk Class

Definition

Virtual disk model.

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

Constructors

VMwareVirtualDisk()

Initializes a new instance of VMwareVirtualDisk.

Properties

ControllerKey

Gets or sets the controller id.

DeviceKey

Gets or sets the device key value.

DeviceName

Gets or sets the device name.

DiskMode

Gets or sets the disk mode.

DiskObjectId

Gets or sets the disk object id.

DiskSizeGB

Gets or sets the disk total size.

DiskType

Gets or sets the disk backing type.

Label

Gets or sets the label of the virtual disk in vCenter.

Name

Gets or sets the name of the virtual disk.

UnitNumber

Gets or sets the unit number of the disk on the controller.

Explicit Interface Implementations

IJsonModel<VMwareVirtualDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VMwareVirtualDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VMwareVirtualDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VMwareVirtualDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VMwareVirtualDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to