v1

latestSwagger 2.02026-08-04232286653.5 KB
VM Operations

Get status of asynchronous operations

This resource retrieves information about the status of asynchronous operations initiated by the instances resource. All operations that are either in-flight or completed but not yet queried will be returned.

get/projects/{project_id}/compute/vms/instances/operations

Path parameters

project_idstring required

Query parameters

resource_idstring
statestring[]
lower_time_boundstring

Response

Example response

{
  "items": [
    {
      "completed_at": "2021-12-03T19:59:34Z",
      "metadata": "{}",
      "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
      "result": "{}",
      "started_at": "2021-12-03T19:58:34Z",
      "state": "IN_PROGRESS"
    }
  ]
}