Class NodePlacementConfiguration
java.lang.Object
com.microsoft.azure.management.batch.NodePlacementConfiguration
Node placement configuration for batch pools.
Allocation configuration used by Batch Service to provision the nodes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpolicy()
Get allocation policy used by Batch Service to provision the nodes.withPolicy
(NodePlacementPolicyType policy) Set allocation policy used by Batch Service to provision the nodes.
-
Constructor Details
-
NodePlacementConfiguration
public NodePlacementConfiguration()
-
-
Method Details
-
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:
- the policy value
-
withPolicy
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:
policy
- the policy value to set- Returns:
- the NodePlacementConfiguration object itself.
-