BatchJobActionKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchJobActionKind
- com.
- com.
public final class BatchJobActionKind
extends ExpandableStringEnum<BatchJobActionKind>
BatchJobAction enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
DISABLE
Disable the Job. |
|
static final
Batch |
NONE
Take no action. |
|
static final
Batch |
TERMINATE
Terminate the Job. |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchJobActionKind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromString(String name)
Creates or finds a Batch |
|
static
Collection<Batch |
values()
Gets known Batch |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLE
public static final BatchJobActionKind DISABLE
Disable the Job. This is equivalent to calling the disable Job API, with a disableTasks value of requeue.
NONE
public static final BatchJobActionKind NONE
Take no action.
TERMINATE
public static final BatchJobActionKind TERMINATE
Terminate the Job. The terminationReason in the Job's executionInfo is set to "TaskFailed".
Constructor Details
BatchJobActionKind
@Deprecated
public BatchJobActionKind()
Deprecated
Creates a new instance of BatchJobActionKind value.
Method Details
fromString
public static BatchJobActionKind fromString(String name)
Creates or finds a BatchJobActionKind from its string representation.
Parameters:
Returns:
values
public static Collection<BatchJobActionKind> values()
Gets known BatchJobActionKind values.
Returns: