Share via


OSDiskDetails Class

Definition

Details of the OS Disk.

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

Constructors

OSDiskDetails()

Creates an new OSDiskDetails instance.

Properties

OSType

The type of the OS on the VM.

OSVhdId

The id of the disk containing the OS.

VhdName

The OS disk VHD name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSDiskDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSDiskDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSDiskDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to