Delen via


OSProfile Class

Definition

Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.

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

Constructors

OSProfile()

Creates an new OSProfile instance.

Properties

AdminPassword
AdminUsername
OSConfigurationOstype

The OS Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IOSProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to