Share via


OSDetails Class

Definition

Disk Details.

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

Constructors

OSDetails()

Creates an new OSDetails instance.

Properties

OSEdition

The OSEdition.

OSMajorVersion

The OS Major Version.

OSMinorVersion

The OS Minor Version.

OSType

VM Disk details.

OSVersion

The OS Version.

ProductType

Product type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to