Status values
Thestatus field uses uppercase string constants. The vm_state field provides stable state context and is returned by the single-instance detail endpoint and the data "gcore_cloud_instance" Terraform data source.
task_state is non-null only during a background operation. A VM can show status: ACTIVE while task_state: "rebooting" — check both fields to determine whether the VM has fully settled.
status | vm_state | Portal label | Meaning |
|---|---|---|---|
ACTIVE | active | Power on | The VM is running. |
SHUTOFF | stopped | Power off | The VM is powered off. |
BUILD | building | Building | The VM is being allocated. |
ERROR | error | Error | Resource allocation failed. |
DELETED | deleted | Deleted | The VM was deleted. |
PAUSED | paused | — | The VM is paused in memory. |
REBOOT | active | — | Soft reboot in progress; task_state carries the operation name. |
HARD_REBOOT | active | — | Hard reboot in progress; task_state carries the operation name. |
REBUILD | active | — | VM is being rebuilt from an image. |
RESIZE | resized | — | VM flavor is being changed. |
MIGRATING | active | — | VM is being migrated to another host. |
SUSPENDED | suspended | — | VM is suspended. |
SOFT_DELETED | soft-deleted | — | VM is pending permanent deletion. |