OSVersionWrapper 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.
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. |