Microsoft Azure · Capability

Microsoft Azure Management API — Resource Groups

Microsoft Azure Management API — Resource Groups. 2 operations. Lead operation: Microsoft Azure Azure Management List Resource Groups. Self-contained Naftiko capability covering one Azure business surface.

Run with Naftiko AzureResource Groups

What You Can Do

GET
Resourcegroupslist — Microsoft Azure Azure Management List Resource Groups
/v1/subscriptions/{subscriptionid}/resourcegroups
POST
Resourcegroupscreateorupdate — Microsoft Azure Azure Management Create or Update Resource Group
/v1/subscriptions/{subscriptionid}/resourcegroups

MCP Tools

microsoft-azure-azure-management-list

Microsoft Azure Azure Management List Resource Groups

read-only idempotent
microsoft-azure-azure-management-create

Microsoft Azure Azure Management Create or Update Resource Group

Capability Spec

management-resource-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Management API — Resource Groups
  description: 'Microsoft Azure Management API — Resource Groups. 2 operations. Lead operation: Microsoft Azure Azure Management
    List Resource Groups. Self-contained Naftiko capability covering one Azure business surface.'
  tags:
  - Azure
  - Resource Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AZURE_API_KEY: AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-resource-groups
    baseUri: https://management.azure.com
    description: Microsoft Azure Management API — Resource Groups business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups
      path: /subscriptions/{subscriptionId}/resourceGroups
      operations:
      - name: resourcegroupslist
        method: GET
        description: Microsoft Azure Azure Management List Resource Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subscriptionId
          in: path
          type: string
          required: true
        - name: api-version
          in: query
          type: string
          required: true
      - name: resourcegroupscreateorupdate
        method: POST
        description: Microsoft Azure Azure Management Create or Update Resource Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subscriptionId
          in: path
          type: string
          required: true
        - name: resourceGroupName
          in: query
          type: string
          required: true
        - name: api-version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.AZURE_API_KEY}}'
  exposes:
  - type: rest
    namespace: management-resource-groups-rest
    port: 8080
    description: REST adapter for Microsoft Azure Management API — Resource Groups. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups
      name: subscriptions-subscriptionid-resourcegroups
      description: REST surface for subscriptions-subscriptionId-resourceGroups.
      operations:
      - method: GET
        name: resourcegroupslist
        description: Microsoft Azure Azure Management List Resource Groups
        call: management-resource-groups.resourcegroupslist
        with:
          subscriptionId: rest.subscriptionId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: resourcegroupscreateorupdate
        description: Microsoft Azure Azure Management Create or Update Resource Group
        call: management-resource-groups.resourcegroupscreateorupdate
        with:
          subscriptionId: rest.subscriptionId
          resourceGroupName: rest.resourceGroupName
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-resource-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Management API — Resource Groups. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-azure-management-list
      description: Microsoft Azure Azure Management List Resource Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-resource-groups.resourcegroupslist
      with:
        subscriptionId: tools.subscriptionId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-azure-management-create
      description: Microsoft Azure Azure Management Create or Update Resource Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-resource-groups.resourcegroupscreateorupdate
      with:
        subscriptionId: tools.subscriptionId
        resourceGroupName: tools.resourceGroupName
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.