Spot · Capability

Spot Elastigroup API — Elastigroup Azure

Spot Elastigroup API — Elastigroup Azure. 5 operations. Lead operation: Spot Create Elastigroup (azure). Self-contained Naftiko capability covering one Spot business surface.

Run with Naftiko SpotElastigroup Azure

What You Can Do

POST
Createelastigroupazure — Spot Create Elastigroup (azure)
/v1/azure/compute/group
GET
Listelastigroupsazure — Spot List Elastigroups (azure)
/v1/azure/compute/group
GET
Getelastigroupazure — Spot Get Elastigroup (azure)
/v1/azure/compute/group/{groupid}
PUT
Updateelastigroupazure — Spot Update Elastigroup (azure)
/v1/azure/compute/group/{groupid}
DELETE
Deleteelastigroupazure — Spot Delete Elastigroup (azure)
/v1/azure/compute/group/{groupid}

MCP Tools

spot-create-elastigroup-azure

Spot Create Elastigroup (azure)

spot-list-elastigroups-azure

Spot List Elastigroups (azure)

read-only idempotent
spot-get-elastigroup-azure

Spot Get Elastigroup (azure)

read-only idempotent
spot-update-elastigroup-azure

Spot Update Elastigroup (azure)

idempotent
spot-delete-elastigroup-azure

Spot Delete Elastigroup (azure)

idempotent

Capability Spec

elastigroup-elastigroup-azure.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot Elastigroup API — Elastigroup Azure
  description: 'Spot Elastigroup API — Elastigroup Azure. 5 operations. Lead operation: Spot Create Elastigroup (azure). Self-contained
    Naftiko capability covering one Spot business surface.'
  tags:
  - Spot
  - Elastigroup Azure
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPOT_API_KEY: SPOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: elastigroup-elastigroup-azure
    baseUri: https://api.spotinst.io
    description: Spot Elastigroup API — Elastigroup Azure business capability. Self-contained, no shared references.
    resources:
    - name: azure-compute-group
      path: /azure/compute/group
      operations:
      - name: createelastigroupazure
        method: POST
        description: Spot Create Elastigroup (azure)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listelastigroupsazure
        method: GET
        description: Spot List Elastigroups (azure)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: azure-compute-group-groupId
      path: /azure/compute/group/{groupId}
      operations:
      - name: getelastigroupazure
        method: GET
        description: Spot Get Elastigroup (azure)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: path
          type: string
          required: true
      - name: updateelastigroupazure
        method: PUT
        description: Spot Update Elastigroup (azure)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteelastigroupazure
        method: DELETE
        description: Spot Delete Elastigroup (azure)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SPOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: elastigroup-elastigroup-azure-rest
    port: 8080
    description: REST adapter for Spot Elastigroup API — Elastigroup Azure. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/azure/compute/group
      name: azure-compute-group
      description: REST surface for azure-compute-group.
      operations:
      - method: POST
        name: createelastigroupazure
        description: Spot Create Elastigroup (azure)
        call: elastigroup-elastigroup-azure.createelastigroupazure
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listelastigroupsazure
        description: Spot List Elastigroups (azure)
        call: elastigroup-elastigroup-azure.listelastigroupsazure
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/azure/compute/group/{groupid}
      name: azure-compute-group-groupid
      description: REST surface for azure-compute-group-groupId.
      operations:
      - method: GET
        name: getelastigroupazure
        description: Spot Get Elastigroup (azure)
        call: elastigroup-elastigroup-azure.getelastigroupazure
        with:
          groupId: rest.groupId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateelastigroupazure
        description: Spot Update Elastigroup (azure)
        call: elastigroup-elastigroup-azure.updateelastigroupazure
        with:
          groupId: rest.groupId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteelastigroupazure
        description: Spot Delete Elastigroup (azure)
        call: elastigroup-elastigroup-azure.deleteelastigroupazure
        with:
          groupId: rest.groupId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: elastigroup-elastigroup-azure-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot Elastigroup API — Elastigroup Azure. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: spot-create-elastigroup-azure
      description: Spot Create Elastigroup (azure)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: elastigroup-elastigroup-azure.createelastigroupazure
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-list-elastigroups-azure
      description: Spot List Elastigroups (azure)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: elastigroup-elastigroup-azure.listelastigroupsazure
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-get-elastigroup-azure
      description: Spot Get Elastigroup (azure)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: elastigroup-elastigroup-azure.getelastigroupazure
      with:
        groupId: tools.groupId
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-update-elastigroup-azure
      description: Spot Update Elastigroup (azure)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: elastigroup-elastigroup-azure.updateelastigroupazure
      with:
        groupId: tools.groupId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-delete-elastigroup-azure
      description: Spot Delete Elastigroup (azure)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: elastigroup-elastigroup-azure.deleteelastigroupazure
      with:
        groupId: tools.groupId
      outputParameters:
      - type: object
        mapping: $.