Microsoft Azure Peering Management Client

Microsoft Azure Peering Management Client is a tool that helps organizations manage their peering relationships within the Azure cloud network. With this client, users can easily establish and optimize their connections with various partners and services, ensuring reliable and high-performance network connectivity.

OpenAPI Specification

peeringmanagementclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  version: 2019-09-01-preview
  title: Microsoft Azure PeeringManagementClient
  description: APIs to manage Peering resources through the Azure Resource Manager.
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/CheckServiceProviderAvailability:
    post:
      tags:
        - CheckServiceProviderAvailability
      description: >-
        Checks if the peering service provider is present within 1000 miles of
        customer's location
      operationId: microsoftAzureCheckserviceprovideravailability
      parameters:
        - name: checkServiceProviderAvailabilityInput
          in: body
          description: >-
            The CheckServiceProviderAvailabilityInput indicating customer
            location and service provider.
          required: true
          schema:
            $ref: '#/definitions/CheckServiceProviderAvailabilityInput'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            enum:
              - Available
              - Unavailable
            type: string
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Check if peering service provider is available in customer location:
          $ref: ./examples/CheckServiceProviderAvailability.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Peering Checkserviceprovideravailability
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/legacyPeerings:
    get:
      tags:
        - LegacyPeerings
      description: >-
        Lists all of the legacy peerings under the given subscription matching
        the specified kind and location.
      operationId: microsoftAzureLegacypeeringsList
      parameters:
        - name: peeringLocation
          in: query
          description: The location of the peering.
          required: true
          type: string
        - name: kind
          in: query
          description: The kind of the peering.
          required: true
          type: string
          enum:
            - Direct
            - Exchange
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List legacy peerings:
          $ref: ./examples/ListLegacyPeerings.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Legacypeerings
  /providers/Microsoft.Peering/operations:
    get:
      tags:
        - Operations
      description: Lists all of the available API operations for peering resources.
      operationId: microsoftAzureOperationsList
      parameters:
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peering operations:
          $ref: ./examples/ListPeeringOperations.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Peering Operations
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns/{peerAsnName}:
    get:
      tags:
        - PeerAsns
      description: Gets the peer ASN with the specified name under the given subscription.
      operationId: microsoftAzurePeerasnsGet
      parameters:
        - name: peerAsnName
          in: path
          description: The peer ASN name.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeerAsn'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Get a peer ASN:
          $ref: ./examples/GetPeerAsn.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
    put:
      tags:
        - PeerAsns
      description: >-
        Creates a new peer ASN or updates an existing peer ASN with the
        specified name under the given subscription.
      operationId: microsoftAzurePeerasnsCreateorupdate
      parameters:
        - name: peerAsnName
          in: path
          description: The peer ASN name.
          required: true
          type: string
        - name: peerAsn
          in: body
          description: The peer ASN.
          required: true
          schema:
            $ref: '#/definitions/PeerAsn'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeerAsn'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/PeerAsn'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Create a peer ASN:
          $ref: ./examples/CreatePeerAsn.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
    delete:
      tags:
        - PeerAsns
      description: >-
        Deletes an existing peer ASN with the specified name under the given
        subscription.
      operationId: microsoftAzurePeerasnsDelete
      parameters:
        - name: peerAsnName
          in: path
          description: The peer ASN name.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Delete a peer ASN:
          $ref: ./examples/DeletePeerAsn.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Peering Peerasns Peerasnname
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns:
    get:
      tags:
        - PeerAsns
      description: Lists all of the peer ASNs under the given subscription.
      operationId: microsoftAzurePeerasnsListbysubscription
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeerAsnListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peer ASNs in a subscription:
          $ref: ./examples/ListPeerAsnsBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerasns
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringLocations:
    get:
      tags:
        - PeeringLocations
      description: >-
        Lists all of the available peering locations for the specified kind of
        peering.
      operationId: microsoftAzurePeeringlocationsList
      parameters:
        - name: kind
          in: query
          description: The kind of the peering.
          required: true
          type: string
          enum:
            - Direct
            - Exchange
        - name: directPeeringType
          in: query
          description: The type of direct peering.
          required: false
          type: string
          enum:
            - Edge
            - Transit
            - Cdn
            - Internal
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringLocationListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List direct peering locations:
          $ref: ./examples/ListDirectPeeringLocations.json
        List exchange peering locations:
          $ref: ./examples/ListExchangePeeringLocations.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peeringlocations
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}:
    get:
      tags:
        - Peerings
      description: >-
        Gets an existing peering with the specified name under the given
        subscription and resource group.
      operationId: microsoftAzurePeeringsGet
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringName
          in: path
          description: The name of the peering.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Peering'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Get a peering:
          $ref: ./examples/GetPeering.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peerings Peeringname
    put:
      tags:
        - Peerings
      description: >-
        Creates a new peering or updates an existing peering with the specified
        name under the given subscription and resource group.
      operationId: microsoftAzurePeeringsCreateorupdate
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringName
          in: path
          description: The name of the peering.
          required: true
          type: string
        - name: peering
          in: body
          description: The properties needed to create or update a peering.
          required: true
          schema:
            $ref: '#/definitions/Peering'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Peering'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/Peering'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Create a direct peering:
          $ref: ./examples/CreateDirectPeering.json
        Create an exchange peering:
          $ref: ./examples/CreateExchangePeering.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peerings Peeringname
    delete:
      tags:
        - Peerings
      description: >-
        Deletes an existing peering with the specified name under the given
        subscription and resource group.
      operationId: microsoftAzurePeeringsDelete
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringName
          in: path
          description: The name of the peering.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Delete a peering:
          $ref: ./examples/DeletePeering.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peerings Peeringname
    patch:
      tags:
        - Peerings
      description: >-
        Updates tags for a peering with the specified name under the given
        subscription and resource group.
      operationId: microsoftAzurePeeringsUpdate
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringName
          in: path
          description: The name of the peering.
          required: true
          type: string
        - name: tags
          in: body
          description: The resource tags.
          required: true
          schema:
            $ref: '#/definitions/ResourceTags'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Peering'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Update peering tags:
          $ref: ./examples/UpdatePeeringTags.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peerings Peeringname
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings:
    get:
      tags:
        - Peerings
      description: >-
        Lists all of the peerings under the given subscription and resource
        group.
      operationId: microsoftAzurePeeringsListbyresourcegroup
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peerings in a resource group:
          $ref: ./examples/ListPeeringsByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peerings
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerings:
    get:
      tags:
        - Peerings
      description: Lists all of the peerings under the given subscription.
      operationId: microsoftAzurePeeringsListbysubscription
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peerings in a subscription:
          $ref: ./examples/ListPeeringsBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peerings
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceLocations:
    get:
      tags:
        - PeeringServiceLocations
      description: Lists all of the available locations for peering service.
      operationId: microsoftAzurePeeringservicelocationsList
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringServiceLocationListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peering service locations:
          $ref: ./examples/ListPeeringServiceLocations.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peeringservicelocations
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes/{prefixName}
  : get:
      tags:
        - PeeringServicePrefixes
      description: >-
        Gets an existing prefix with the specified name under the given
        subscription, resource group and peering service.
      operationId: microsoftAzurePrefixesGet
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - name: prefixName
          in: path
          description: The name of the prefix.
          required: true
          type: string
        - name: $expand
          in: query
          description: The properties to be expanded.
          required: false
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringServicePrefix'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Get a prefix associated with the peering service:
          $ref: ./examples/GetPeeringServicePrefix.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename Prefixes Prefixname
    put:
      tags:
        - PeeringServicePrefixes
      description: >-
        Creates a new prefix with the specified name under the given
        subscription, resource group and peering service.
      operationId: microsoftAzurePrefixesCreateorupdate
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - name: prefixName
          in: path
          description: The name of the prefix.
          required: true
          type: string
        - name: peeringServicePrefix
          in: body
          description: The properties needed to create a prefix.
          required: true
          schema:
            $ref: '#/definitions/PeeringServicePrefix'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringServicePrefix'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/PeeringServicePrefix'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Create or update a prefix for the peering service:
          $ref: ./examples/CreatePeeringServicePrefix.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename Prefixes Prefixname
    delete:
      tags:
        - PeeringServicePrefixes
      description: >-
        Deletes an existing prefix with the specified name under the given
        subscription, resource group and peering service.
      operationId: microsoftAzurePrefixesDelete
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - name: prefixName
          in: path
          description: The name of the prefix.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Delete a prefix associated with the peering service:
          $ref: ./examples/DeletePeeringServicePrefix.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename Prefixes Prefixname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes
  : get:
      tags:
        - PeeringServicePrefixes
      description: >-
        Lists all prefixes under the given subscription, resource group and
        peering service.
      operationId: microsoftAzurePrefixesListbypeeringservice
      parameters:
        - name: resourceGroupName
          in: path
          description: The name of the resource group.
          required: true
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - name: $expand
          in: query
          description: The properties to be expanded.
          required: false
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringServicePrefixListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List all the prefixes associated with the peering service:
          $ref: ./examples/ListPrefixesByPeeringService.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename Prefixes
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceProviders:
    get:
      tags:
        - PeeringServiceProviders
      description: >-
        Lists all of the available peering service locations for the specified
        kind of peering.
      operationId: microsoftAzurePeeringserviceprovidersList
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringServiceProviderListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peering service providers:
          $ref: ./examples/ListPeeringServiceProviders.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peeringserviceproviders
  ? /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
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringService'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Get a peering service:
          $ref: ./examples/GetPeeringService.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename
    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
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - name: peeringService
          in: body
          description: The properties needed to create or update a peering service.
          required: true
          schema:
            $ref: '#/definitions/PeeringService'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringService'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/PeeringService'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Create a  peering service:
          $ref: ./examples/CreatePeeringService.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename
    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
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Delete a peering service:
          $ref: ./examples/DeletePeeringService.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename
    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
          type: string
        - name: peeringServiceName
          in: path
          description: The name of the peering service.
          required: true
          type: string
        - name: tags
          in: body
          description: The resource tags.
          required: true
          schema:
            $ref: '#/definitions/ResourceTags'
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringService'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        Update peering service tags:
          $ref: ./examples/UpdatePeeringServiceTags.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Peering Peeringservices Peeringservicename
  /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
          type: string
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/PeeringServiceListResult'
        default:
          description: Error response describing why the operation has failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      x-ms-examples:
        List peering services in a resource group:
          $ref: ./examples/ListPeeringServicesByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
     

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/peeringmanagementclient-openapi-original.yml