Microsoft Azure Peering Services API

The PeeringServices API from Microsoft Azure, for peeringservices.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName} Get a peering service · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What are the details of one of my Azure Peering Service resources?”
“Can I look up a peering service by name within a resource group?”
Tell an agent
Get peering service {peeringServiceName} in resource group {resourceGroupName}, subscription {subscriptionId}.
Show the configuration of peering service {peeringServiceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName} Create or update a peering service · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What do I need to create a new Azure Peering Service resource?”
“Is a location required when creating a peering service?”
Tell an agent
Create peering service {peeringServiceName} in {location} under resource group {resourceGroupName}, subscription {subscriptionId}.
Create or replace peering service {peeringServiceName} in region {location}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName} Delete a peering service · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I delete a peering service I no longer use?”
“What is the call to remove an Azure Peering Service resource?”
Tell an agent destructive · confirm first
Delete peering service {peeringServiceName} in resource group {resourceGroupName}, subscription {subscriptionId}.
Remove peering service {peeringServiceName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName} Update tags on a peering service · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change just the tags on a peering service?”
“Which call edits resource tags on an existing Azure Peering Service?”
Tell an agent
Update the tags on peering service {peeringServiceName} in {resourceGroupName}, subscription {subscriptionId}.
Set tags {tags} on peering service {peeringServiceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices List peering services in a resource group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which peering services are in one resource group?”
“Can I narrow my Azure Peering Service list to a single resource group?”
Tell an agent
List peering services in resource group {resourceGroupName}, subscription {subscriptionId}.
Show every peering service inside resource group {resourceGroupName}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServices List peering services in a subscription · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering… #
Ask an LLM
“Which peering services exist across my entire Azure subscription?”
“Can I see all peering services in a subscription regardless of resource group?”
Tell an agent
List all peering services in subscription {subscriptionId}.
Show every Azure Peering Service across subscription {subscriptionId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-peeringservices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-peeringservices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2019-09-01-preview
  title: Microsoft Azure PeeringManagementClient Peering Services API
  description: APIs to manage Peering resources through the Azure Resource Manager.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PeeringServices
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}
  : get:
      tags:
      - PeeringServices
      description: Gets an existing peering service with the specified name under the given subscription and resource group.
      operationId: microsoftAzurePeeringservicesGet
      parameters:
      - name: resourceGroupName
        in: path
        description: The name of the resource group.
        required: true
        schema:
          type: string
      - name: peeringServiceName
        in: path
        description: The name of the peering.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringService'
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Get a peering service:
          $ref: ./examples/GetPeeringService.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - PeeringServices
      description: Creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group.
      operationId: microsoftAzurePeeringservicesCreateorupdate
      parameters:
      - name: resourceGroupName
        in: path
        description: The name of the resource group.
        required: true
        schema:
          type: string
      - name: peeringServiceName
        in: path
        description: The name of the peering service.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringService'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringService'
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Create a  peering service:
          $ref: ./examples/CreatePeeringService.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PeeringService'
        description: The properties needed to create or update a peering service.
        required: true
    delete:
      tags:
      - PeeringServices
      description: Deletes an existing peering service with the specified name under the given subscription and resource group.
      operationId: microsoftAzurePeeringservicesDelete
      parameters:
      - name: resourceGroupName
        in: path
        description: The name of the resource group.
        required: true
        schema:
          type: string
      - name: peeringServiceName
        in: path
        description: The name of the peering service.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Delete a peering service:
          $ref: ./examples/DeletePeeringService.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - PeeringServices
      description: Updates tags for a peering service with the specified name under the given subscription and resource group.
      operationId: microsoftAzurePeeringservicesUpdate
      parameters:
      - name: resourceGroupName
        in: path
        description: The name of the resource group.
        required: true
        schema:
          type: string
      - name: peeringServiceName
        in: path
        description: The name of the peering service.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringService'
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Update peering service tags:
          $ref: ./examples/UpdatePeeringServiceTags.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourceTags'
        description: The resource tags.
        required: true
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices:
    get:
      tags:
      - PeeringServices
      description: Lists all of the peering services under the given subscription and resource group.
      operationId: microsoftAzurePeeringservicesListbyresourcegroup
      parameters:
      - name: resourceGroupName
        in: path
        description: The name of the resource group.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringServiceListResult'
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        List peering services in a resource group:
          $ref: ./examples/ListPeeringServicesByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServices:
    get:
      tags:
      - PeeringServices
      description: Lists all of the peerings under the given subscription.
      operationId: microsoftAzurePeeringservicesListbysubscription
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringServiceListResult'
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        List peering services in a subscription:
          $ref: ./examples/ListPeeringServicesBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering…
components:
  schemas:
    PeeringService:
      description: Peering Service
      required:
      - location
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/PeeringServiceProperties'
          description: The properties that define a peering service.
          x-ms-client-flatten: true
        location:
          description: The location of the resource.
          type: string
          x-ms-mutability:
          - read
          - create
        tags:
          description: The resource tags.
          type: object
          additionalProperties:
            type: string
    PeeringServiceProperties:
      description: The properties that define connectivity to the Peering Service.
      type: object
      properties:
        peeringServiceLocation:
          description: The PeeringServiceLocation of the Customer.
          type: string
        peeringServiceProvider:
          description: The MAPS Provider Name.
          type: string
        provisioningState:
          description: The provisioning state of the resource.
          enum:
          - Succeeded
          - Updating
          - Deleting
          - Failed
          type: string
          readOnly: true
          x-ms-enum:
            name: provisioningState
            modelAsString: true
    ErrorResponse:
      description: The error response that indicates why an operation has failed.
      type: object
      properties:
        code:
          description: The error code.
          type: string
          readOnly: true
        message:
          description: The error message.
          type: string
          readOnly: true
    PeeringServiceListResult:
      description: The paginated list of peering services.
      type: object
      properties:
        value:
          description: The list of peering services.
          type: array
          items:
            $ref: '#/components/schemas/PeeringService'
        nextLink:
          description: The link to fetch the next page of peering services.
          type: string
    ResourceTags:
      description: The resource tags.
      type: object
      properties:
        tags:
          description: Gets or sets the tags, a dictionary of descriptors arm object
          type: object
          additionalProperties:
            type: string
    Resource:
      description: The ARM resource class.
      type: object
      properties:
        name:
          description: The name of the resource.
          type: string
          readOnly: true
        id:
          description: The ID of the resource.
          type: string
          readOnly: true
        type:
          description: The type of the resource.
          type: string
          readOnly: true
      x-ms-azure-resource: true
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The Azure subscription ID.
      required: true
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      description: The client API version.
      required: true
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/peering.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)