AutoUserSpecification Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.AutoUserSpecification

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
ElevationLevel elevationLevel()

Get the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.

AutoUserScope scope()

Get the default value is task. Possible values include: 'task', 'pool'.

AutoUserSpecification withElevationLevel(ElevationLevel elevationLevel)

Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.

AutoUserSpecification 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:

the elevationLevel value

scope

public AutoUserScope scope()

Get the default value is task. Possible values include: 'task', 'pool'.

Returns:

the scope value

withElevationLevel

public AutoUserSpecification withElevationLevel(ElevationLevel elevationLevel)

Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.

Parameters:

elevationLevel - the elevationLevel value to set

Returns:

the AutoUserSpecification object itself.

withScope

public AutoUserSpecification withScope(AutoUserScope scope)

Set the default value is task. Possible values include: 'task', 'pool'.

Parameters:

scope - the scope value to set

Returns:

the AutoUserSpecification object itself.

Applies to