Udostępnij za pośrednictwem


JobManagerTask.AuthenticationTokenSettings Property

Definition

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

[Newtonsoft.Json.JsonProperty(PropertyName="authenticationTokenSettings")]
public Microsoft.Azure.Batch.Protocol.Models.AuthenticationTokenSettings AuthenticationTokenSettings { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="authenticationTokenSettings")>]
member this.AuthenticationTokenSettings : Microsoft.Azure.Batch.Protocol.Models.AuthenticationTokenSettings with get, set
Public Property AuthenticationTokenSettings As AuthenticationTokenSettings

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.

Applies to