Condividi tramite


AuthenticationTokenSettings Class

Definition

The settings for an authentication token that the Task can use to perform Batch service operations.

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

Constructors

AuthenticationTokenSettings()

Initializes a new instance of AuthenticationTokenSettings.

Properties

Access

The Batch resources to which the token grants access. The authentication token grants access to a limited set of Batch service operations. Currently the only supported value for the access property is 'job', which grants access to all operations related to the Job which contains the Task.

Explicit Interface Implementations

IJsonModel<AuthenticationTokenSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AuthenticationTokenSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AuthenticationTokenSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AuthenticationTokenSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AuthenticationTokenSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to