Aracılığıyla paylaş


AutoUserSpecification Class

Definition

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

public class AutoUserSpecification : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.AutoUserSpecification>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.AutoUserSpecification>
type AutoUserSpecification = class
    interface IJsonModel<AutoUserSpecification>
    interface IPersistableModel<AutoUserSpecification>
Public Class AutoUserSpecification
Implements IJsonModel(Of AutoUserSpecification), IPersistableModel(Of 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