Condividi tramite


BatchUserAccount Class

Definition

Properties used to create a user on an Azure Batch node.

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

Constructors

BatchUserAccount(String, String)

Initializes a new instance of BatchUserAccount.

Properties

ElevationLevel

nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.

LinuxUserConfiguration

This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.

Name

The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.

Password

The password for the user account.

WindowsUserLoginMode

Specifies login mode for the user. The default value is Interactive.

Explicit Interface Implementations

IJsonModel<BatchUserAccount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchUserAccount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchUserAccount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchUserAccount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchUserAccount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to