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.
Method Summary
Modifier and Type | Method and Description |
---|---|
Elevation |
elevationLevel()
Get the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'. |
Auto |
scope()
Get the default value is task. Possible values include: 'task', 'pool'. |
Auto |
withElevationLevel(ElevationLevel elevationLevel)
Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'. |
Auto |
withScope(AutoUserScope scope)
Set the default value is task. Possible values include: 'task', 'pool'. |
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 task. 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 task. Possible values include: 'task', 'pool'.
Parameters:
Returns:
Applies to
Azure SDK for Java