Anti Affinity Group
Anti-affinity groups let you define placement constraints for your Compute instances.
create-anti-affinity-group
Create an Anti-affinity Group
POST /anti-affinity-groupRequest body
application/jsonname(required) (string): Anti-affinity Group namedescription(string): Anti-affinity Group description
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-anti-affinity-group: golang | Python | Java
CLI: exo api create-anti-affinity-group
get-anti-affinity-group
Retrieve Anti-affinity Group details
GET /anti-affinity-group/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Anti-affinity Group IDname(string): Anti-affinity Group namedescription(string): Anti-affinity Group descriptioninstances(array[object]): Anti-affinity Group instances - schema details
SDK reference for get-anti-affinity-group: golang | Python | Java
CLI: exo api get-anti-affinity-group
delete-anti-affinity-group
Delete an Anti-affinity Group
DELETE /anti-affinity-group/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-anti-affinity-group: golang | Python | Java
CLI: exo api delete-anti-affinity-group
Other Operations
list-anti-affinity-groups
List Anti-affinity Groups
GET /anti-affinity-groupResponses
200: 200application/jsonanti-affinity-groups(array[object]) - schema details
SDK reference for list-anti-affinity-groups: golang | Python | Java
CLI: exo api list-anti-affinity-groups
Last updated on