Share via


OSProfile Class

Definition

Specifies the operating system settings for the hybrid machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OSProfileTypeConverter))]
public class OSProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.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

ComputerName

Specifies the host OS name of the hybrid machine.

LinuxConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

LinuxConfigurationPatchSettingsPatchMode

Specifies the patch mode.

WindowsConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

WindowsConfigurationPatchSettingsPatchMode

Specifies the patch mode.

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.StackHCIVM.Models.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