VirtualMachineInstancePropertiesOSProfile Class

Definition

OsProfile - describes the configuration of the operating system and sets login data

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesOSProfileTypeConverter))]
public class VirtualMachineInstancePropertiesOSProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesOSProfileTypeConverter))>]
type VirtualMachineInstancePropertiesOSProfile = class
    interface IVirtualMachineInstancePropertiesOSProfile
    interface IJsonSerializable
Public Class VirtualMachineInstancePropertiesOSProfile
Implements IVirtualMachineInstancePropertiesOSProfile
Inheritance
VirtualMachineInstancePropertiesOSProfile
Attributes
Implements

Constructors

VirtualMachineInstancePropertiesOSProfile()

Creates an new VirtualMachineInstancePropertiesOSProfile instance.

Properties

AdminPassword

AdminPassword - admin password

AdminUsername

AdminUsername - admin username

ComputerName

ComputerName - name of the compute

LinuxConfigurationDisablePasswordAuthentication

DisablePasswordAuthentication - whether password authentication should be disabled

LinuxConfigurationProvisionVMAgent

Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.

LinuxConfigurationProvisionVMConfigAgent

Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.

LinuxConfigurationSshPublicKey

The list of SSH public keys used to authenticate with linux based VMs.

WindowConfigurationEnableAutomaticUpdate

Whether to EnableAutomaticUpdates on the machine

WindowConfigurationProvisionVMAgent

Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.

WindowConfigurationProvisionVMConfigAgent

Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.

WindowConfigurationTimeZone

TimeZone for the virtual machine instance

WindowsConfigurationSshPublicKey

The list of SSH public keys used to authenticate with linux based VMs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstancePropertiesOSProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstancePropertiesOSProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstancePropertiesOSProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to