BatchUserAccount Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. |
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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro