| Modifier and Type | Method and Description |
|---|---|
static NodePlacementPolicyType |
NodePlacementPolicyType.fromString(String value)
Parses a serialized value to a NodePlacementPolicyType instance.
|
NodePlacementPolicyType |
NodePlacementConfiguration.policy()
Get allocation policy used by Batch Service to provision the nodes.
|
static NodePlacementPolicyType |
NodePlacementPolicyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodePlacementPolicyType[] |
NodePlacementPolicyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
NodePlacementConfiguration |
NodePlacementConfiguration.withPolicy(NodePlacementPolicyType policy)
Set allocation policy used by Batch Service to provision the nodes.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/