AuthenticationTokenSettings Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. AuthenticationTokenSettings
- com.
public class AuthenticationTokenSettings
The settings for an authentication token that the Task can use to perform Batch service operations.
Constructor Summary
Constructor | Description | |
---|---|---|
AuthenticationTokenSettings() |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Access |
access()
Get the authentication token grants access to a limited set of Batch service operations. |
Authentication |
withAccess(List<AccessScope> access)
Set the authentication token grants access to a limited set of Batch service operations. |
Methods inherited from java.lang.Object
Constructor Details
AuthenticationTokenSettings
public AuthenticationTokenSettings()
Method Details
access
public List
Get 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.
Returns:
withAccess
public AuthenticationTokenSettings withAccess(List
Set 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.
Parameters:
Returns:
Applies to
Azure SDK for Java