public class NodePlacementConfiguration extends Object
| Constructor and Description |
|---|
NodePlacementConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NodePlacementPolicyType |
policy()
Get allocation policy used by Batch Service to provision the nodes.
|
NodePlacementConfiguration |
withPolicy(NodePlacementPolicyType policy)
Set allocation policy used by Batch Service to provision the nodes.
|
public NodePlacementPolicyType policy()
public NodePlacementConfiguration withPolicy(NodePlacementPolicyType policy)
policy - the policy value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/