你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GuestOSDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Data related to a machine's operating system. Serialized and stored as part of Machine Rest object.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.GuestOSDetailsTypeConverter))]
public class GuestOSDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IGuestOSDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.GuestOSDetailsTypeConverter))>]
type GuestOSDetails = class
interface IGuestOSDetails
interface IJsonSerializable
Public Class GuestOSDetails
Implements IGuestOSDetails
- Inheritance
-
GuestOSDetails
- Attributes
- Implements
Constructors
GuestOSDetails() |
Creates an new GuestOSDetails 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 GuestOSDetails. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of GuestOSDetails. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IGuestOSDetails. |
FromJsonString(String) |
Creates a new instance of GuestOSDetails, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of GuestOSDetails into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |