BatchNodePlacementPolicyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchNodePlacementPolicyType
- com.
- com.
public final class BatchNodePlacementPolicyType
extends ExpandableStringEnum<BatchNodePlacementPolicyType>
BatchNodePlacementPolicyType enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
REGIONAL
All nodes in the pool will be allocated in the same region. |
|
static final
Batch |
ZONAL
Nodes in the pool will be spread across different availability zones with best effort balancing. |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchNodePlacementPolicyType() |
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
REGIONAL
public static final BatchNodePlacementPolicyType REGIONAL
All nodes in the pool will be allocated in the same region.
ZONAL
public static final BatchNodePlacementPolicyType ZONAL
Nodes in the pool will be spread across different availability zones with best effort balancing.
Constructor Details
BatchNodePlacementPolicyType
@Deprecated
public BatchNodePlacementPolicyType()
Deprecated
Creates a new instance of BatchNodePlacementPolicyType value.
Method Details
fromString
public static BatchNodePlacementPolicyType fromString(String name)
Creates or finds a BatchNodePlacementPolicyType from its string representation.
Parameters:
Returns:
values
public static Collection<BatchNodePlacementPolicyType> values()
Gets known BatchNodePlacementPolicyType values.
Returns: