Resize
type: "io.kestra.plugin.azure.batch.pool.Resize"
Resize a Azure Batch pool.
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
endpoint
- Type: string
- Dynamic: ✔️
- Required: ✔️
The blob service endpoint.
poolId
- Type: string
- Dynamic: ✔️
- Required: ✔️
The ID of the pool.
targetDedicatedNodes
- Type: integer
- Dynamic: ✔️
- Required: ✔️
- Default:
0
The desired number of dedicated compute nodes in the pool.
targetLowPriorityNodes
- Type: integer
- Dynamic: ✔️
- Required: ✔️
- Default:
0
The desired number of low-priority compute nodes in the pool.
accessKey
- Type: string
- Dynamic: ❓
- Required: ❌
account
- Type: string
- Dynamic: ❓
- Required: ❌
Outputs
pool
- Type: Pool
- Required: ❌
The pool that has been resized.
Definitions
io.kestra.plugin.azure.batch.models.Pool
Properties
id
- Type: string
- Dynamic: ✔️
- Required: ❓
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
- Type: integer
- Dynamic: ✔️
- Required: ❓
The desired number of dedicated Compute Nodes in the Pool.
This property must not be specified if
enableAutoScale
is set totrue
. IfenableAutoScale
is set tofalse
, then you must set eithertargetDedicatedNodes
,targetLowPriorityNodes
, or both.
targetLowPriorityNodes
- Type: integer
- Dynamic: ✔️
- Required: ❓
The desired number of low-priority Compute Nodes in the Pool.
This property must not be specified if
enableAutoScale
is set totrue
. IfenableAutoScale
is set tofalse
, then you must set eithertargetDedicatedNodes
,targetLowPriorityNodes
, or both.
Was this page helpful?