ComputeBatchModelFactory.BatchNodePlacementConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For regional placement, nodes in the pool will be allocated in the same region. For zonal placement, nodes in the pool will be spread across different zones with best effort balancing.
public static Azure.Compute.Batch.BatchNodePlacementConfiguration BatchNodePlacementConfiguration(Azure.Compute.Batch.BatchNodePlacementPolicyType? policy = default);
static member BatchNodePlacementConfiguration : Nullable<Azure.Compute.Batch.BatchNodePlacementPolicyType> -> Azure.Compute.Batch.BatchNodePlacementConfiguration
Public Shared Function BatchNodePlacementConfiguration (Optional policy As Nullable(Of BatchNodePlacementPolicyType) = Nothing) As BatchNodePlacementConfiguration
Parameters
- policy
- Nullable<BatchNodePlacementPolicyType>
Node placement Policy type on Batch Pools. Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
Returns
A new BatchNodePlacementConfiguration instance for mocking.