你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OSDiskDetails Class

Definition

Details of the OS Disk.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.OSDiskDetailsTypeConverter))]
public class OSDiskDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IOSDiskDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.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.Api202401.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