Exoscale · Capability

Exoscale API — anti-affinity-group

Exoscale API — anti-affinity-group. 4 operations. Lead operation: List Anti-affinity Groups. Self-contained Naftiko capability covering one Exoscale business surface.

Run with Naftiko Exoscaleanti-affinity-group

What You Can Do

GET
Listantiaffinitygroups — List Anti-affinity Groups
/v1/anti-affinity-group
POST
Createantiaffinitygroup — Create an Anti-affinity Group
/v1/anti-affinity-group
GET
Getantiaffinitygroup — Retrieve Anti-affinity Group details
/v1/anti-affinity-group/{id}
DELETE
Deleteantiaffinitygroup — Delete an Anti-affinity Group
/v1/anti-affinity-group/{id}

MCP Tools

list-anti-affinity-groups

List Anti-affinity Groups

read-only idempotent
create-anti-affinity-group

Create an Anti-affinity Group

retrieve-anti-affinity-group-details

Retrieve Anti-affinity Group details

read-only idempotent
delete-anti-affinity-group

Delete an Anti-affinity Group

idempotent

Capability Spec

exoscale-anti-affinity-group.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Exoscale API — anti-affinity-group
  description: 'Exoscale API — anti-affinity-group. 4 operations. Lead operation: List Anti-affinity Groups. Self-contained
    Naftiko capability covering one Exoscale business surface.'
  tags:
  - Exoscale
  - anti-affinity-group
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EXOSCALE_API_KEY: EXOSCALE_API_KEY
capability:
  consumes:
  - type: http
    namespace: exoscale-anti-affinity-group
    baseUri: https://api-{zone}.exoscale.com/v2
    description: Exoscale API — anti-affinity-group business capability. Self-contained, no shared references.
    resources:
    - name: anti-affinity-group
      path: /anti-affinity-group
      operations:
      - name: listantiaffinitygroups
        method: GET
        description: List Anti-affinity Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createantiaffinitygroup
        method: POST
        description: Create an Anti-affinity Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: anti-affinity-group-id
      path: /anti-affinity-group/{id}
      operations:
      - name: getantiaffinitygroup
        method: GET
        description: Retrieve Anti-affinity Group details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
      - name: deleteantiaffinitygroup
        method: DELETE
        description: Delete an Anti-affinity Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: exoscale-anti-affinity-group-rest
    port: 8080
    description: REST adapter for Exoscale API — anti-affinity-group. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/anti-affinity-group
      name: anti-affinity-group
      description: REST surface for anti-affinity-group.
      operations:
      - method: GET
        name: listantiaffinitygroups
        description: List Anti-affinity Groups
        call: exoscale-anti-affinity-group.listantiaffinitygroups
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createantiaffinitygroup
        description: Create an Anti-affinity Group
        call: exoscale-anti-affinity-group.createantiaffinitygroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/anti-affinity-group/{id}
      name: anti-affinity-group-id
      description: REST surface for anti-affinity-group-id.
      operations:
      - method: GET
        name: getantiaffinitygroup
        description: Retrieve Anti-affinity Group details
        call: exoscale-anti-affinity-group.getantiaffinitygroup
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteantiaffinitygroup
        description: Delete an Anti-affinity Group
        call: exoscale-anti-affinity-group.deleteantiaffinitygroup
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: exoscale-anti-affinity-group-mcp
    port: 9090
    transport: http
    description: MCP adapter for Exoscale API — anti-affinity-group. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-anti-affinity-groups
      description: List Anti-affinity Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: exoscale-anti-affinity-group.listantiaffinitygroups
      outputParameters:
      - type: object
        mapping: $.
    - name: create-anti-affinity-group
      description: Create an Anti-affinity Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: exoscale-anti-affinity-group.createantiaffinitygroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-anti-affinity-group-details
      description: Retrieve Anti-affinity Group details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: exoscale-anti-affinity-group.getantiaffinitygroup
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-anti-affinity-group
      description: Delete an Anti-affinity Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: exoscale-anti-affinity-group.deleteantiaffinitygroup
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.