High availability

Get project HA state

GET
/cloud/project/{project_uuid}/vm/ha/

Returns the VMs that have HA enabled and the HA placement rules of the project.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

Response Body

application/json

curl -X GET "https://example.com/cloud/project/string/vm/ha/"
{  "ha_vmids": [    0  ],  "affinity_rules": [    {      "rule": "string",      "affinity": "positive",      "enabled": true,      "vmids": [        0      ],      "managed": true    }  ]}