Skip to main content

ResourceStatus

The lifecycle state of a resource (a VM, network or public IP). This single field is the recommended way to display a resource's current state; it is derived from the operation most recently applied to the resource. The low-level operation/operationStatus pair is retained only for backward compatibility.

creating — The resource is being provisioned and is not ready to use yet. active — The resource exists and is in a normal, ready-to-use state. This is also reported after an operation failed but was handled normally — for example a start/stop/reboot/resize that can simply be retried, or a delete whose failure was handled and left the resource intact. The error of such an operation is reported through the operation result, not through this field. updating — A change is being applied to an existing resource (for example start, stop, reboot, resize or rebuild). deleting — The resource is being deleted. failed — The resource has entered a state it cannot recover from automatically and needs manual intervention by the provider's team. This is distinct from an individual operation failing: an operation that failed but was handled normally leaves the resource active.

stringResourceStatus (string)

The lifecycle state of a resource (a VM, network or public IP). This single field is the recommended way to display a resource's current state; it is derived from the operation most recently applied to the resource. The low-level operation/operationStatus pair is retained only for backward compatibility.

creating — The resource is being provisioned and is not ready to use yet. active — The resource exists and is in a normal, ready-to-use state. This is also reported after an operation failed but was handled normally — for example a start/stop/reboot/resize that can simply be retried, or a delete whose failure was handled and left the resource intact. The error of such an operation is reported through the operation result, not through this field. updating — A change is being applied to an existing resource (for example start, stop, reboot, resize or rebuild). deleting — The resource is being deleted. failed — The resource has entered a state it cannot recover from automatically and needs manual intervention by the provider's team. This is distinct from an individual operation failing: an operation that failed but was handled normally leaves the resource active.

Possible values: [creating, active, updating, deleting, failed]

ResourceStatus
"creating"