次の方法で共有


OSVersionWrapper Class

Definition

Wrapper model for OSVersion to include version and service pack info.

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

Constructors

OSVersionWrapper()

Creates an new OSVersionWrapper instance.

Properties

ServicePack

The service pack.

Version

The version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSVersionWrapper.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSVersionWrapper.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSVersionWrapper into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to