Auf Englisch lesen

Freigeben über


AutoUserSpecification 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.

Specifies the options for the auto user that runs an Azure Batch Task.

C#
public class AutoUserSpecification : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.AutoUserSpecification>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.AutoUserSpecification>
Inheritance
AutoUserSpecification
Implements

Constructors

AutoUserSpecification()

Initializes a new instance of AutoUserSpecification.

Properties

ElevationLevel

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

Scope

The scope for the auto user. The default value is pool. If the pool is running Windows, a value of Task should be specified if stricter isolation between tasks is required, such as if the task mutates the registry in a way which could impact other tasks.

Explicit Interface Implementations

IJsonModel<AutoUserSpecification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoUserSpecification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoUserSpecification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoUserSpecification>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoUserSpecification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Produkt Versionen
Azure SDK for .NET Preview