Pool resize complete event

This event is emitted when a pool resize has completed or failed.

The following example shows the body of a pool resize complete event for a pool that increased in size and completed successfully.

{
	"id": "p_1_0_01503750-252d-4e57-bd96-d6aa05601ad8",
	"nodeDeallocationOption": "invalid",
	"currentDedicated": 4,
	"targetDedicated": 4,
	"enableAutoScale": false,
	"isAutoPool": false,
	"startTime": "2016-09-09T22:13:06.573Z",
	"endTime": "2016-09-09T22:14:01.727Z",
	"result": "Success",
	"resizeError": "The operation succeeded"
}
Element Type Notes
id String The id of the pool.
nodeDeallocationOption String Specifies when nodes may be removed from the pool, if the pool size is decreasing.

Possible values are:

requeue – Terminate running tasks and requeue them. The tasks will run again when the job is enabled. Remove nodes as soon as tasks have been terminated.

terminate – Terminate running tasks. The tasks will not run again. Remove nodes as soon as tasks have been terminated.

taskcompletion – Allow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.

Retaineddata - Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.

The default value is requeue.

If the pool size is increasing then the value is set to invalid.
currentDedicated Int32 The number of compute nodes currently assigned to the pool.
targetDedicated Int32 The number of compute nodes that are requested for the pool.
enableAutoScale Bool Specifies whether the pool size automatically adjusts over time.
isAutoPool Bool Specifies whether the pool was created via a job's AutoPool mechanism.
startTime DateTime The time the pool resize started.
endTime DateTime The time the pool resize completed.
resultCode String The result of the resize.
resultMessage String The resize error includes the details of the result.

If the resize completed successfully it states that the operation succeeded.