AutoUserSpecification Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. AutoUserSpecification
- com.
public class AutoUserSpecification
Specifies the parameters for the auto user that runs a Task on the Batch service.
Constructor Summary
Constructor | Description | |
---|---|---|
AutoUserSpecification() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Elevation |
elevationLevel()
Get the default value is non |
Auto |
scope()
Get the default value is pool. |
Auto |
withElevationLevel(ElevationLevel elevationLevel)
Set the default value is non |
Auto |
withScope(AutoUserScope scope)
Set the default value is pool. |
Methods inherited from java.lang.Object
Constructor Details
AutoUserSpecification
public AutoUserSpecification()
Method Details
elevationLevel
public ElevationLevel elevationLevel()
Get the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.
Returns:
scope
public AutoUserScope scope()
Get 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 StartTasks. Possible values include: 'task', 'pool'.
Returns:
withElevationLevel
public AutoUserSpecification withElevationLevel(ElevationLevel elevationLevel)
Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.
Parameters:
Returns:
withScope
public AutoUserSpecification withScope(AutoUserScope scope)
Set 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 StartTasks. Possible values include: 'task', 'pool'.
Parameters:
Returns:
Applies to
Azure SDK for Java