Create an Anti-affinity Group
Body Required
-
Anti-affinity Group name
Minimum length is
1
, maximum length is255
. -
description string
Anti-affinity Group description
Maximum length is
255
.
POST /anti-affinity-group
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/anti-affinity-group \
-H "Content-Type: application/json" \
-d '{"name":"string","description":"string"}'
Request examples
{
"name": "string",
"description": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}