Share via


HyperVDisk Class

Definition

Second level object returned as part of Machine REST resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVDiskTypeConverter))]
public class HyperVDisk : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVDiskTypeConverter))>]
type HyperVDisk = class
    interface IHyperVDisk
    interface IJsonSerializable
Public Class HyperVDisk
Implements IHyperVDisk
Inheritance
HyperVDisk
Attributes
Implements

Constructors

HyperVDisk()

Creates an new HyperVDisk instance.

Properties

DiskType

Type of the disk.

InstanceId

Id of the disk.

Lun

LUN of the disk.

MaxSizeInByte

Bytes allocated for the disk.

Name

Name of the disk.

Path

Path of the disk.

VhdId

VHD Id of the disk.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVDisk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVDisk.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to