Class AutoUserSpecification
java.lang.Object
com.microsoft.azure.management.batch.AutoUserSpecification
Specifies the parameters for the auto user that runs a task on the Batch
service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the default value is nonAdmin.scope()
Get the default value is Pool.withElevationLevel
(ElevationLevel elevationLevel) Set the default value is nonAdmin.withScope
(AutoUserScope scope) Set the default value is Pool.
-
Constructor Details
-
AutoUserSpecification
public AutoUserSpecification()
-
-
Method Details
-
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 start tasks. Possible values include: 'Task', 'Pool'.- Returns:
- the scope value
-
withScope
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 start tasks. Possible values include: 'Task', 'Pool'.- Parameters:
scope
- the scope value to set- Returns:
- the AutoUserSpecification object itself.
-
elevationLevel
Get the default value is nonAdmin. Possible values include: 'NonAdmin', 'Admin'.- Returns:
- the elevationLevel value
-
withElevationLevel
Set the default value is nonAdmin. Possible values include: 'NonAdmin', 'Admin'.- Parameters:
elevationLevel
- the elevationLevel value to set- Returns:
- the AutoUserSpecification object itself.
-