Resize
Resize an Azure Batch pool.
type: "io.kestra.plugin.azure.batch.pool.Resize"
Examples
id: azure_batch_pool_resize
namespace: company.team
tasks:
- id: resize
type: io.kestra.plugin.azure.batch.pool.Resize
poolId: "<your-pool-id>"
targetDedicatedNodes: "12"
Properties
accessKey *Requiredstring
account *Requiredstring
endpoint *Requiredstring
The blob service endpoint.
poolId *Requiredstring
The ID of the pool.
targetDedicatedNodes integerstring
0
The desired number of dedicated compute nodes in the pool.
targetLowPriorityNodes integerstring
0
The desired number of low-priority compute nodes in the pool.
Outputs
pool Pool
The pool that has been resized.
Definitions
io.kestra.plugin.azure.batch.models.Pool
id string
A string that uniquely identifies the Pool within the Account.
The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two Pool IDs within an Account that differ only by case).
targetDedicatedNodes integer
The desired number of dedicated Compute Nodes in the Pool.
This property must not be specified if enableAutoScale
is set to true
. If enableAutoScale
is set to false
, then you must set either targetDedicatedNodes
, targetLowPriorityNodes
, or both.
targetLowPriorityNodes integer
The desired number of low-priority Compute Nodes in the Pool.
This property must not be specified if enableAutoScale
is set to true
. If enableAutoScale
is set to false
, then you must set either targetDedicatedNodes
, targetLowPriorityNodes
, or both.