NodePlacementConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. batch. NodePlacementConfiguration
- com.
public class NodePlacementConfiguration
Node placement configuration for batch pools. Allocation configuration used by Batch Service to provision the nodes.
Method Summary
Modifier and Type | Method and Description |
---|---|
Node |
policy()
Get allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy. Possible values include: 'Regional', 'Zonal'. |
Node |
withPolicy(NodePlacementPolicyType policy)
Set allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy. Possible values include: 'Regional', 'Zonal'. |
Method Details
policy
public NodePlacementPolicyType policy()
Get allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy. Possible values include: 'Regional', 'Zonal'.
Returns:
withPolicy
public NodePlacementConfiguration withPolicy(NodePlacementPolicyType policy)
Set allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy. Possible values include: 'Regional', 'Zonal'.
Parameters:
Returns:
Applies to
Azure SDK for Java