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

OperatingSystem Class

Definition

Second level object returned as part of Machine REST resource.

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

Constructors

OperatingSystem()

Creates an new OperatingSystem instance.

Properties

OSName

Name of the operating system.

OSType

Type of the operating system.

OSVersion

Version of the operating system.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperatingSystem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperatingSystem.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperatingSystem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to