Microsoft Azure · Capability

Microsoft Azure PeeringManagementClient — PeerAsns

Microsoft Azure PeeringManagementClient — PeerAsns. 4 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzurePeerAsns

What You Can Do

GET
Microsoftazurepeerasnslistbysubscription — Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns
/v1/subscriptions/{subscriptionid}/providers/microsoft-peering/peerasns
GET
Microsoftazurepeerasnsget — Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
/v1/subscriptions/{subscriptionid}/providers/microsoft-peering/peerasns/{peerasnname}
PUT
Microsoftazurepeerasnscreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
/v1/subscriptions/{subscriptionid}/providers/microsoft-peering/peerasns/{peerasnname}
DELETE
Microsoftazurepeerasnsdelete — Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
/v1/subscriptions/{subscriptionid}/providers/microsoft-peering/peerasns/{peerasnname}

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns

read-only idempotent
microsoft-azure-get-subscriptions-subscriptionid-2

Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname

read-only idempotent
microsoft-azure-put-subscriptions-subscriptionid

Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname

idempotent

Capability Spec

peeringmanagementclient-peerasns.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure PeeringManagementClient — PeerAsns
  description: 'Microsoft Azure PeeringManagementClient — PeerAsns. 4 operations. Lead operation: Microsoft Azure Get Subscriptions
    Subscriptionid Providers Microsoft Peering Peerasns. Self-contained Naftiko capability covering one Microsoft Azure business
    surface.'
  tags:
  - Microsoft Azure
  - PeerAsns
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: peeringmanagementclient-peerasns
    baseUri: https://management.azure.com
    description: Microsoft Azure PeeringManagementClient — PeerAsns business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-providers-Microsoft.Peering-peerAsns
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns
      operations:
      - name: microsoftazurepeerasnslistbysubscription
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-providers-Microsoft.Peering-peerAsns-peerAsnName
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns/{peerAsnName}
      operations:
      - name: microsoftazurepeerasnsget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: peerAsnName
          in: path
          type: string
          description: The peer ASN name.
          required: true
      - name: microsoftazurepeerasnscreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: peerAsnName
          in: path
          type: string
          description: The peer ASN name.
          required: true
        - name: peerAsn
          in: body
          type: string
          description: The peer ASN.
          required: true
      - name: microsoftazurepeerasnsdelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: peerAsnName
          in: path
          type: string
          description: The peer ASN name.
          required: true
  exposes:
  - type: rest
    namespace: peeringmanagementclient-peerasns-rest
    port: 8080
    description: REST adapter for Microsoft Azure PeeringManagementClient — PeerAsns. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-peering/peerasns
      name: subscriptions-subscriptionid-providers-microsoft-peering-peerasns
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Peering-peerAsns.
      operations:
      - method: GET
        name: microsoftazurepeerasnslistbysubscription
        description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns
        call: peeringmanagementclient-peerasns.microsoftazurepeerasnslistbysubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-peering/peerasns/{peerasnname}
      name: subscriptions-subscriptionid-providers-microsoft-peering-peerasns-peerasnname
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Peering-peerAsns-peerAsnName.
      operations:
      - method: GET
        name: microsoftazurepeerasnsget
        description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
        call: peeringmanagementclient-peerasns.microsoftazurepeerasnsget
        with:
          peerAsnName: rest.peerAsnName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazurepeerasnscreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
        call: peeringmanagementclient-peerasns.microsoftazurepeerasnscreateorupdate
        with:
          peerAsnName: rest.peerAsnName
          peerAsn: rest.peerAsn
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurepeerasnsdelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
        call: peeringmanagementclient-peerasns.microsoftazurepeerasnsdelete
        with:
          peerAsnName: rest.peerAsnName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: peeringmanagementclient-peerasns-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure PeeringManagementClient — PeerAsns. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-subscriptions-subscriptionid
      description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: peeringmanagementclient-peerasns.microsoftazurepeerasnslistbysubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-subscriptions-subscriptionid-2
      description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: peeringmanagementclient-peerasns.microsoftazurepeerasnsget
      with:
        peerAsnName: tools.peerAsnName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-subscriptions-subscriptionid
      description: Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: peeringmanagementclient-peerasns.microsoftazurepeerasnscreateorupdate
      with:
        peerAsnName: tools.peerAsnName
        peerAsn: tools.peerAsn
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-subscriptions-subscriptionid
      description: Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: peeringmanagementclient-peerasns.microsoftazurepeerasnsdelete
      with:
        peerAsnName: tools.peerAsnName
      outputParameters:
      - type: object
        mapping: $.