action windows_pool_resize { label: "Changes the number of compute nodes that are assigned to a pool." description: "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead." provider: windows method: POST path: "/pools/{poolId}/resize" encoding: json input: { type: "object" properties: { "If-Match": { type: "string" } "If-Modified-Since": { type: "string" } "If-None-Match": { type: "string" } "If-Unmodified-Since": { type: "string" } "api-version": { type: "string" } "client-request-id": { type: "string" } "ocp-date": { type: "string" } poolId: { type: "string" } "return-client-request-id": { type: "string" } timeout: { type: "string" } } required: ["api-version", "poolId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }