PoolOperations.createPool 方法

定义

重载

createPool(PoolAddParameter pool)

Adds a pool to the Batch account.

createPool(PoolAddParameter pool, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a pool to the Batch account.

createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes)

Adds a pool to the Batch account.

createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes)

Adds a pool to the Batch account.

createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a pool to the Batch account.

createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes)

Adds a pool to the Batch account.

createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes)

Adds a pool to the Batch account.

createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a pool to the Batch account.

createPool(PoolAddParameter pool)

Adds a pool to the Batch account.

public void createPool(PoolAddParameter pool)

参数

pool
PoolAddParameter

The pool to be added.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(PoolAddParameter pool, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a pool to the Batch account.

public void createPool(PoolAddParameter pool, Iterable<BatchClientBehavior> additionalBehaviors)

参数

pool
PoolAddParameter

The pool to be added.

additionalBehaviors
Iterable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes)

Adds a pool to the Batch account.

public void createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes)

参数

poolId
String

The ID of the pool.

virtualMachineSize
String

The size of virtual machines in the pool. See https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/ for sizes.

cloudServiceConfiguration
CloudServiceConfiguration

The CloudServiceConfiguration for the pool.

targetDedicatedNodes
int

The desired number of dedicated compute nodes in the pool.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes)

Adds a pool to the Batch account.

public void createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes)

参数

poolId
String

The ID of the pool.

virtualMachineSize
String

The size of virtual machines in the pool. See https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/ for sizes.

cloudServiceConfiguration
CloudServiceConfiguration

The CloudServiceConfiguration for the pool.

targetDedicatedNodes
int

The desired number of dedicated compute nodes in the pool.

targetLowPriorityNodes
int

The desired number of low-priority compute nodes in the pool.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a pool to the Batch account.

public void createPool(String poolId, String virtualMachineSize, CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes, Iterable<BatchClientBehavior> additionalBehaviors)

参数

poolId
String

The ID of the pool.

virtualMachineSize
String

The size of virtual machines in the pool. See https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/ for sizes.

cloudServiceConfiguration
CloudServiceConfiguration

The CloudServiceConfiguration for the pool.

targetDedicatedNodes
int

The desired number of dedicated compute nodes in the pool.

targetLowPriorityNodes
int

The desired number of low-priority compute nodes in the pool.

additionalBehaviors
Iterable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes)

Adds a pool to the Batch account.

public void createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes)

参数

poolId
String

The ID of the pool.

virtualMachineSize
String

The size of virtual machines in the pool. See https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/ for sizes.

virtualMachineConfiguration
VirtualMachineConfiguration

The VirtualMachineConfiguration for the pool.

targetDedicatedNodes
int

The desired number of dedicated compute nodes in the pool.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes)

Adds a pool to the Batch account.

public void createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes)

参数

poolId
String

The ID of the pool.

virtualMachineSize
String

The size of virtual machines in the pool. See https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/ for sizes.

virtualMachineConfiguration
VirtualMachineConfiguration

The VirtualMachineConfiguration for the pool.

targetDedicatedNodes
int

The desired number of dedicated compute nodes in the pool.

targetLowPriorityNodes
int

The desired number of low-priority compute nodes in the pool.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a pool to the Batch account.

public void createPool(String poolId, String virtualMachineSize, VirtualMachineConfiguration virtualMachineConfiguration, int targetDedicatedNodes, int targetLowPriorityNodes, Iterable<BatchClientBehavior> additionalBehaviors)

参数

poolId
String

The ID of the pool.

virtualMachineSize
String

The size of virtual machines in the pool. See https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/ for sizes.

virtualMachineConfiguration
VirtualMachineConfiguration

The VirtualMachineConfiguration for the pool.

targetDedicatedNodes
int

The desired number of dedicated compute nodes in the pool.

targetLowPriorityNodes
int

The desired number of low-priority compute nodes in the pool.

additionalBehaviors
Iterable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

适用于