azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

60 строки
4.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.batch.NodePlacementConfiguration"
fullName: "com.microsoft.azure.management.batch.NodePlacementConfiguration"
name: "NodePlacementConfiguration"
nameWithType: "NodePlacementConfiguration"
summary: "Node placement configuration for batch pools."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **NodePlacementConfiguration**"
constructors:
- uid: "com.microsoft.azure.management.batch.NodePlacementConfiguration.NodePlacementConfiguration()"
fullName: "com.microsoft.azure.management.batch.NodePlacementConfiguration.NodePlacementConfiguration()"
name: "NodePlacementConfiguration()"
nameWithType: "NodePlacementConfiguration.NodePlacementConfiguration()"
syntax: "public NodePlacementConfiguration()"
methods:
- uid: "com.microsoft.azure.management.batch.NodePlacementConfiguration.policy()"
fullName: "com.microsoft.azure.management.batch.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.management.batch.NodePlacementPolicyType?alt=com.microsoft.azure.management.batch.NodePlacementPolicyType&text=NodePlacementPolicyType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NodePlacementConfiguration.withPolicy(com.microsoft.azure.management.batch.NodePlacementPolicyType)"
fullName: "com.microsoft.azure.management.batch.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.management.batch.NodePlacementPolicyType?alt=com.microsoft.azure.management.batch.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.management.batch.NodePlacementConfiguration?alt=com.microsoft.azure.management.batch.NodePlacementConfiguration&text=NodePlacementConfiguration\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Node placement configuration for batch pools. Allocation configuration used by Batch Service to provision the nodes."
metadata: {}
package: "com.microsoft.azure.management.batch"
artifact: com.microsoft.azure:azure-mgmt-batch:1.41.4