Share via


BatchLinuxUserConfiguration Class

Definition

Properties used to create a user account on a Linux node.

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

Constructors

BatchLinuxUserConfiguration()

Initializes a new instance of BatchLinuxUserConfiguration.

Properties

Gid

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 private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between 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 nodes (no modification of the user's .ssh directory is done).

Uid

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<BatchLinuxUserConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchLinuxUserConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchLinuxUserConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchLinuxUserConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchLinuxUserConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to