Compartir a través de


BatchAutoUserSpecification Class

Definition

Specifies the parameters for the auto user that runs a task on the Batch service.

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

Constructors

BatchAutoUserSpecification()

Initializes a new instance of BatchAutoUserSpecification.

Properties

ElevationLevel

The default value is nonAdmin.

Scope

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. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.

Explicit Interface Implementations

IJsonModel<BatchAutoUserSpecification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchAutoUserSpecification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchAutoUserSpecification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchAutoUserSpecification>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchAutoUserSpecification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to