Share via


LinuxUserConfiguration Class

Definition

Properties used to create a user Account on a Linux Compute Node.

public class LinuxUserConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.LinuxUserConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.LinuxUserConfiguration>
type LinuxUserConfiguration = class
    interface IJsonModel<LinuxUserConfiguration>
    interface IPersistableModel<LinuxUserConfiguration>
Public Class LinuxUserConfiguration
Implements IJsonModel(Of LinuxUserConfiguration), IPersistableModel(Of LinuxUserConfiguration)
Inheritance
LinuxUserConfiguration
Implements

Constructors

LinuxUserConfiguration()

Initializes a new instance of LinuxUserConfiguration.

Properties

Gid

The group ID for the user Account. The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.

SshPrivateKey

The SSH private key for the user Account. The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between Compute Nodes in a Linux Pool when the Pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between Compute Nodes (no modification of the user's .ssh directory is done).

Uid

The user ID of the user Account. The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.

Explicit Interface Implementations

IJsonModel<LinuxUserConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LinuxUserConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LinuxUserConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinuxUserConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LinuxUserConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to