Microsoft Azure Routing Rule Collections API

The RoutingRuleCollections API from Microsoft Azure, for routingrulecollections.

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.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections List rule collections in a routing configuration · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What routing rule collections are in my network manager's routing configuration?”
“Can I page through rule collections of a routing configuration?”
Tell an agent
List rule collections in routing configuration {configurationName} of network manager {networkManagerName}.
Show the first {top} rule collections in {configurationName} on {networkManagerName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName} Get a routing rule collection · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which network groups does a specific routing rule collection apply to?”
“Can I read one rule collection by name?”
Tell an agent
Get rule collection {ruleCollectionName} in {configurationName} on network manager {networkManagerName}.
Show routing rule collection {ruleCollectionName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName} Create or update a routing rule collection · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add a rule collection to a network manager routing configuration?”
“Can I change what an existing routing rule collection targets?”
Tell an agent
Create rule collection {ruleCollectionName} in {configurationName} on network manager {networkManagerName}.
Set routing rule collection {ruleCollectionName} to {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName} Delete a routing rule collection · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove a rule collection from a routing configuration?”
“Does deleting a routing rule collection take its rules with it?”
Tell an agent destructive · confirm first
Delete rule collection {ruleCollectionName} from {configurationName} on network manager {networkManagerName}.
Remove routing rule collection {ruleCollectionName}.

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-routingrulecollections-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-routingrulecollections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure RoutingConfiguration Routing Rule…
  version: 2023-03-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: RoutingRuleCollections
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections
  : get:
      tags:
      - RoutingRuleCollections
      operationId: microsoftAzureRoutingrulecollectionsList
      description: Lists all the rule collections in a routing configuration, in a paginated format.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/NetworkManagerNameParameter'
      - $ref: '#/components/parameters/RoutingConfigurationParameter'
      - $ref: '#/components/parameters/ListTopParameter'
      - $ref: '#/components/parameters/ListSkipTokenParameter'
      responses:
        '200':
          description: Get successful. The operation returns all ruleCollections in the specified routing configuration, in a paginated format
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingRuleCollectionListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        List routing rule collections:
          $ref: ./examples/NetworkManagerRoutingRuleCollectionList.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  : parameters:
    - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
    - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
    - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
    - $ref: '#/components/parameters/NetworkManagerNameParameter'
    - $ref: '#/components/parameters/RoutingConfigurationParameter'
    - $ref: '#/components/parameters/RuleCollectionParameter'
    get:
      tags:
      - RoutingRuleCollections
      description: Gets a network manager routing configuration rule collection.
      operationId: microsoftAzureRoutingrulecollectionsGet
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingRuleCollection'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        Gets routing rule collection:
          $ref: ./examples/NetworkManagerRoutingRuleCollectionGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - RoutingRuleCollections
      description: Creates or updates a routing rule collection.
      operationId: microsoftAzureRoutingrulecollectionsCreateorupdate
      responses:
        '200':
          description: Updated Rule Collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingRuleCollection'
        '201':
          description: Created Rule Collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingRuleCollection'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        Create or Update a routing rule collection:
          $ref: ./examples/NetworkManagerRoutingRuleCollectionPut.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingRuleCollection'
        description: The Rule Collection to create or update
        required: true
    delete:
      tags:
      - RoutingRuleCollections
      description: Deletes an routing rule collection.
      operationId: microsoftAzureRoutingrulecollectionsDelete
      responses:
        '202':
          description: Accepted and will complete asynchronously.
          headers:
            Location:
              description: The URL of the resource used to check the status of the asynchronous operation.
              schema:
                type: string
        '204':
          description: Request successful. Resource does not exist.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Deletes an routing rule collection:
          $ref: ./examples/NetworkManagerRoutingRuleCollectionDelete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    NetworkManagerNameParameter:
      name: networkManagerName
      in: path
      required: true
      description: The name of the network manager.
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9_.-]*$
    RuleCollectionParameter:
      name: ruleCollectionName
      in: path
      description: The name of the network manager routing Configuration rule collection.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9_.-]*$
    RoutingConfigurationParameter:
      name: configurationName
      in: path
      description: The name of the network manager Routing Configuration.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9_.-]*$
    ListTopParameter:
      name: $top
      description: An optional query parameter which specifies the maximum number of records to be returned by the server.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
        maximum: 20
        minimum: 1
    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
  schemas:
    RoutingRuleCollectionListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/RoutingRuleCollection'
          description: A list of network manager routing configuration rule collections
        nextLink:
          type: string
          description: Gets the URL to get the next set of results.
      description: Routing configuration rule collection list result.
    RoutingRuleCollectionLocalRouteSetting:
      type: string
      description: Routing rule collection local route setting.
      enum:
      - NotSpecified
      - DirectRoutingWithinVNet
      - DirectRoutingWithinSubnet
      x-ms-enum:
        name: RoutingRuleCollectionLocalRouteSetting
        modelAsString: true
    RoutingRuleCollection:
      type: object
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/RoutingRuleCollectionPropertiesFormat'
          description: Indicates the properties for the network manager routing rule collection.
        systemData:
          readOnly: true
          description: The system metadata related to this resource.
          $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/systemData
      allOf:
      - $ref: ./network.json#/definitions/ProxyResource
      description: Defines the routing rule collection.
    RoutingRuleCollectionPropertiesFormat:
      type: object
      properties:
        description:
          type: string
          description: A description of the routing rule collection.
        provisioningState:
          readOnly: true
          $ref: ./network.json#/definitions/ProvisioningState
          description: The provisioning state of the resource.
        resourceGuid:
          type: string
          readOnly: true
          description: Unique identifier for this resource.
        appliesTo:
          type: array
          x-ms-identifiers:
          - networkGroupId
          items:
            $ref: '#/components/schemas/NetworkManagerRoutingGroupItem'
          description: Groups for configuration
        disableBgpRoutePropagation:
          type: boolean
          default: true
          description: Determines whether BGP route propagation is enabled. Defaults to true.
        localRouteSetting:
          $ref: '#/components/schemas/RoutingRuleCollectionLocalRouteSetting'
          description: Indicates local route setting for this particular rule collection.
      required:
      - appliesTo
      - localRouteSetting
      description: Defines the routing rule collection properties.
    NetworkManagerRoutingGroupItem:
      type: object
      properties:
        networkGroupId:
          type: string
          description: Network manager group Id.
      required:
      - networkGroupId
      description: Network manager routing group item.
  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.