Compartir a través de


LinuxConfiguration Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.LinuxConfigurationTypeConverter))]
public class LinuxConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ILinuxConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Workloads.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.LinuxConfigurationTypeConverter))>]
type LinuxConfiguration = class
    interface ILinuxConfiguration
    interface IJsonSerializable
    interface IOSConfiguration
    interface IValidates
Public Class LinuxConfiguration
Implements ILinuxConfiguration, IValidates
Inheritance
LinuxConfiguration
Attributes
Implements

Constructors

LinuxConfiguration()

Creates an new LinuxConfiguration instance.

Properties

DisablePasswordAuthentication

Specifies whether password authentication should be disabled.

OSType

The OS Type

SshKeyPairPrivateKey

SSH private key.

SshKeyPairPublicKey

SSH public key

SshPublicKey

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LinuxConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LinuxConfiguration.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LinuxConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to