Share via


VirtualDisk Class

Definition

Virtual disk model

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.VirtualDiskTypeConverter))]
public class VirtualDisk : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IVirtualDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.VirtualDiskTypeConverter))>]
type VirtualDisk = class
    interface IVirtualDisk
    interface IJsonSerializable
Public Class VirtualDisk
Implements IVirtualDisk
Inheritance
VirtualDisk
Attributes
Implements

Constructors

VirtualDisk()

Creates an new VirtualDisk instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualDisk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IVirtualDisk.

FromJsonString(String)

Creates a new instance of VirtualDisk, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to