60 строки
4.7 KiB
YAML
60 строки
4.7 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration"
|
|
name: "NodePlacementConfiguration"
|
|
nameWithType: "NodePlacementConfiguration"
|
|
summary: "Node placement configuration for a pool."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public class **NodePlacementConfiguration**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration.NodePlacementConfiguration()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration.NodePlacementConfiguration()"
|
|
name: "NodePlacementConfiguration()"
|
|
nameWithType: "NodePlacementConfiguration.NodePlacementConfiguration()"
|
|
syntax: "public NodePlacementConfiguration()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration.policy()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration.policy()"
|
|
name: "policy()"
|
|
nameWithType: "NodePlacementConfiguration.policy()"
|
|
summary: "Get allocation policy used by Batch Service to provision the nodes."
|
|
syntax: "public NodePlacementPolicyType policy()"
|
|
desc: "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:
|
|
description: "the policy value"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.NodePlacementPolicyType?alt=com.microsoft.azure.batch.protocol.models.NodePlacementPolicyType&text=NodePlacementPolicyType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration.withPolicy(com.microsoft.azure.batch.protocol.models.NodePlacementPolicyType)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration.withPolicy(NodePlacementPolicyType policy)"
|
|
name: "withPolicy(NodePlacementPolicyType policy)"
|
|
nameWithType: "NodePlacementConfiguration.withPolicy(NodePlacementPolicyType policy)"
|
|
summary: "Set allocation policy used by Batch Service to provision the nodes."
|
|
parameters:
|
|
- description: "the policy value to set"
|
|
name: "policy"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.NodePlacementPolicyType?alt=com.microsoft.azure.batch.protocol.models.NodePlacementPolicyType&text=NodePlacementPolicyType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public NodePlacementConfiguration withPolicy(NodePlacementPolicyType policy)"
|
|
desc: "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'."
|
|
returns:
|
|
description: "the NodePlacementConfiguration object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration?alt=com.microsoft.azure.batch.protocol.models.NodePlacementConfiguration&text=NodePlacementConfiguration\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Node placement configuration for a pool. 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."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.batch.protocol.models"
|
|
artifact: com.microsoft.azure:azure-batch:11.2.0
|