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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기