Microsoft Azure Managed Network Peering Policies API

The ManagedNetworkPeeringPolicies API from Microsoft Azure, for managednetworkpeeringpolicies.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

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.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName} Get a managed network peering policy · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I view one peering policy on my Azure Managed Network?”
“What hub and spoke groups does a specific peering policy connect?”
Tell an agent
Get peering policy {managedNetworkPeeringPolicyName} on {managedNetworkName} in {resourceGroupName}, subscription {subscriptionId}.
Show the settings of policy {managedNetworkPeeringPolicyName} for {managedNetworkName} ({resourceGroupName}).
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName} Create or update a managed network peering policy · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I set up a hub-and-spoke or mesh peering policy on a managed network?”
“Can I change the peering topology of an existing managed network policy?”
Tell an agent
Create peering policy {managedNetworkPeeringPolicyName} on {managedNetworkName} ({resourceGroupName}, {subscriptionId}) with {properties}.
Update the peering topology of {managedNetworkPeeringPolicyName} in managed network {managedNetworkName} ({resourceGroupName}).
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName} Delete a managed network peering policy · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove a peering policy from my managed network?”
“Can I delete one peering policy without deleting the managed network?”
Tell an agent destructive · confirm first
Delete peering policy {managedNetworkPeeringPolicyName} from {managedNetworkName} in {resourceGroupName}, subscription {subscriptionId}.
Remove policy {managedNetworkPeeringPolicyName} on managed network {managedNetworkName} ({resourceGroupName}).
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies List peering policies of a managed network · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which peering policies exist on my Azure Managed Network?”
“Can I page through a managed network's peering policies a few at a time?”
Tell an agent
List peering policies on managed network {managedNetworkName} in {resourceGroupName}, subscription {subscriptionId}.
Show the first {top} peering policies of {managedNetworkName} ({resourceGroupName}).

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-managednetworkpeeringpolicies-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-managednetworkpeeringpolicies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure ManagedNetworkManagementClient Managed…
  description: The Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.
  version: 2019-06-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ManagedNetworkPeeringPolicies
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  : get:
      tags:
      - ManagedNetworkPeeringPolicies
      operationId: microsoftAzureManagednetworkpeeringpoliciesGet
      description: The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkPeeringPolicyNameParameter'
      responses:
        '200':
          description: Get successful. The operation returns the specified Managed Network Peering Policy resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedNetworkPeeringPolicy'
        default:
          description: Resource Provider error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        ManagedNetworkPeeringPoliciesGet:
          $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - ManagedNetworkPeeringPolicies
      operationId: microsoftAzureManagednetworkpeeringpoliciesCreateorupdate
      description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkPeeringPolicyNameParameter'
      responses:
        '200':
          description: Update successful. The operation returns the resulting Managed Network Peering Policy resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedNetworkPeeringPolicy'
        '201':
          description: Create successful. The operation returns the resulting Managed Network Peering Policy resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedNetworkPeeringPolicy'
        default:
          description: Resource Provider error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        ManagedNetworkPeeringPoliciesPut:
          $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagedNetworkPeeringPolicy'
        description: Parameters supplied to create/update a Managed Network Peering Policy
        required: true
    delete:
      tags:
      - ManagedNetworkPeeringPolicies
      operationId: microsoftAzureManagednetworkpeeringpoliciesDelete
      description: The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkPeeringPolicyNameParameter'
      responses:
        '200':
          description: Delete successful.
        '202':
          description: Accepted and the operation will complete asynchronously.
        '204':
          description: Request successful. Resource does not exist.
        default:
          description: Resource Provider error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        ManagedNetworkPeeringPoliciesDelete:
          $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies
  : get:
      tags:
      - ManagedNetworkPeeringPolicies
      operationId: microsoftAzureManagednetworkpeeringpoliciesListbymanagednetwork
      description: The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ManagedNetworkNameParameter'
      - $ref: '#/components/parameters/ListPageSizeParameter'
      - $ref: '#/components/parameters/ListSkipTokenParameter'
      responses:
        '200':
          description: Get successful. The operation returns all Managed Network Peering Policy resources in the specified Managed Network, in a paginated format
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedNetworkPeeringPolicyListResult'
        default:
          description: Resource Provider error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        ManagedNetworkPeeringPoliciesListByManagedNetwork:
          $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: Client Api Version.
      schema:
        type: string
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group.
      x-ms-parameter-location: method
      schema:
        type: string
    ListSkipTokenParameter:
      name: $skiptoken
      description: Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    ListPageSizeParameter:
      name: $top
      description: May be used to limit the number of results in a page for list queries.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        maximum: 20
        minimum: 1
    ManagedNetworkPeeringPolicyNameParameter:
      name: managedNetworkPeeringPolicyName
      in: path
      required: true
      description: The name of the Managed Network Peering Policy.
      x-ms-parameter-location: method
      schema:
        type: string
    ManagedNetworkNameParameter:
      name: managedNetworkName
      in: path
      required: true
      description: The name of the Managed Network.
      x-ms-parameter-location: method
      schema:
        type: string
  schemas:
    ResourceProperties:
      properties:
        provisioningState:
          type: string
          readOnly: true
          description: Provisioning state of the ManagedNetwork resource.
          enum:
          - Updating
          - Deleting
          - Failed
          - Succeeded
          x-ms-enum:
            name: ProvisioningState
            modelAsString: true
        etag:
          type: string
          readOnly: true
          description: A unique read-only string that changes whenever the resource is updated.
      description: Base for resource properties.
    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
    ManagedNetworkPeeringPolicy:
      properties:
        properties:
          $ref: '#/components/schemas/ManagedNetworkPeeringPolicyProperties'
          description: Gets or sets the properties of a Managed Network Policy
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      description: The Managed Network Peering Policy resource
    ManagedNetworkPeeringPolicyListResult:
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/ManagedNetworkPeeringPolicy'
          description: Gets a page of Peering Policies
        nextLink:
          type: string
          description: Gets the URL to get the next page of results.
      description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results.
    ResourceId:
      properties:
        id:
          type: string
          description: Resource Id
      description: Generic pointer to a resource
    ManagedNetworkPeeringPolicyProperties:
      properties:
        type:
          type: string
          enum:
          - HubAndSpokeTopology
          - MeshTopology
          x-ms-enum:
            name: type
            modelAsString: true
          description: Gets or sets the connectivity type of a network structure policy
        hub:
          $ref: '#/components/schemas/ResourceId'
          description: Gets or sets the hub virtual network ID
        spokes:
          type: array
          items:
            $ref: '#/components/schemas/ResourceId'
          description: Gets or sets the spokes group IDs
        mesh:
          type: array
          items:
            $ref: '#/components/schemas/ResourceId'
          description: Gets or sets the mesh group IDs
      allOf:
      - $ref: '#/components/schemas/ResourceProperties'
      required:
      - type
      description: Properties of a Managed Network Peering Policy
    ProxyResource:
      description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags
      allOf:
      - $ref: '#/components/schemas/Resource'
    Resource:
      description: The general resource model definition
      properties:
        id:
          readOnly: true
          type: string
          description: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
        name:
          readOnly: true
          type: string
          description: The name of the resource
        type:
          readOnly: true
          type: string
          description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
        location:
          type: string
          x-ms-mutability:
          - read
          - create
          description: The geo-location where the resource lives
      x-ms-azure-resource: true
  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/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.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)