Share via


DiskDetails Class

Definition

Onprem disk details data.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.DiskDetailsTypeConverter))]
public class DiskDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IDiskDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.DiskDetailsTypeConverter))>]
type DiskDetails = class
    interface IDiskDetails
    interface IJsonSerializable
Public Class DiskDetails
Implements IDiskDetails
Inheritance
DiskDetails
Attributes
Implements

Constructors

DiskDetails()

Creates an new DiskDetails instance.

Properties

MaxSizeMb

The hard disk max size in MB.

VhdId

The VHD Id.

VhdName

The VHD name.

VhdType

The type of the volume.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiskDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiskDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IDiskDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiskDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to