Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Exoscale anti-affinity-group API

Anti-affinity groups let you define placement constraints for your Compute instances.

Exoscale anti-affinity-group API is one of 37 APIs that Exoscale publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include anti-affinity-group. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and pricing.

This API exposes 4 operations across 2 paths, and defines 16 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

Requests are made against a single base URL, https://api-{zone}.exoscale.com/v2.

4 operations 2 paths 16 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://api-ch-gva-2.exoscale.com/v2
Terms of Service
Resource Areas
1

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

anti-affinity-group 4

Anti-affinity groups let you define placement constraints for your Compute instances.

GET
/anti-affinity-group
List Anti-affinity Groups
list-anti-affinity-groups → 200
POST
/anti-affinity-group
Create an Anti-affinity Group
create-anti-affinity-group body → 200
GET
/anti-affinity-group/{id}
Retrieve Anti-affinity Group details
get-anti-affinity-group 1 param → 200
DELETE
/anti-affinity-group/{id}
Delete an Anti-affinity Group
delete-anti-affinity-group 1 param → 200

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are instance (25 properties), template (18 properties), instance-type (8 properties), operation (5 properties). Each schema is shown below with its type and property counts.

instance-type
object
Compute instance type
8 properties
ssh-key
object
SSH key
2 properties
labels
object
deploy-target-ref
object
Deploy target reference
1 property
security-group-ref
object
Security group reference
1 property
public-ip-assignment
string
zone-name
string
snapshot-ref
object
Snapshot reference
1 property
operation
object
Operation
5 properties
manager
object
Resource manager
2 properties
elastic-ip-ref
object
Elastic IP reference
1 property
instance-state
string
instance
object
Instance
25 properties
template
object
Instance template
18 properties
anti-affinity-group-ref
object
Anti-affinity group reference
1 property
anti-affinity-group
object
Anti-affinity Group
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

exoscale-anti-affinity-group-api-openapi.yml Raw ↑

Other APIs Exoscale publishes across the network.

Exoscale ai-api-key API
Exoscale api-key API
Exoscale block-storage API
Exoscale ccm API
Exoscale cluster API
Exoscale compute API
Exoscale crypto API
Exoscale dbaas API
Exoscale deploy-target API
Exoscale deployment API
Exoscale domain API
Exoscale elastic-ip API