AutoUserScope Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. AutoUserScope
- com.
- com.
public final class AutoUserScope
extends ExpandableStringEnum<AutoUserScope>
AutoUserScope enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Auto |
POOL
Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool. |
|
static final
Auto |
TASK
Specifies that the service should create a new user for the Task. |
Constructor Summary
| Constructor | Description |
|---|---|
| AutoUserScope() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Auto |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Auto |
fromString(String name)
Creates or finds a Auto |
|
static
Collection<Auto |
values()
Gets known Auto |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
POOL
public static final AutoUserScope POOL
Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool.
TASK
public static final AutoUserScope TASK
Specifies that the service should create a new user for the Task.
Constructor Details
AutoUserScope
@Deprecated
public AutoUserScope()
Deprecated
Creates a new instance of AutoUserScope value.
Method Details
fromString
public static AutoUserScope fromString(String name)
Creates or finds a AutoUserScope from its string representation.
Parameters:
Returns:
values
public static Collection<AutoUserScope> values()
Gets known AutoUserScope values.
Returns: