Megosztás a következőn keresztül:


UserAccount Class

Definition

Properties used to create a user used to execute Tasks on an Azure Batch Compute Node.

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

Constructors

UserAccount(String, String)

Initializes a new instance of UserAccount.

Properties

ElevationLevel

The elevation level of the user Account. The default value is nonAdmin.

LinuxUserConfiguration

The Linux-specific user configuration for the user Account. 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.

WindowsUserConfiguration

The Windows-specific user configuration for the user Account. This property can only be specified if the user is on a Windows Pool. If not specified and on a Windows Pool, the user is created with the default options.

Explicit Interface Implementations

IJsonModel<UserAccount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserAccount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserAccount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserAccount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserAccount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to