OSConfiguration Class

Definition

Defines the OS configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.OSConfigurationTypeConverter))]
public class OSConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IOSConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.OSConfigurationTypeConverter))>]
type OSConfiguration = class
    interface IOSConfiguration
    interface IJsonSerializable
Public Class OSConfiguration
Implements IOSConfiguration
Inheritance
OSConfiguration
Attributes
Implements

Constructors

OSConfiguration()

Creates an new OSConfiguration instance.

Properties

OSType

The OS Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IOSConfiguration. Note: the Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IOSConfiguration interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to