Azure Networking Services Route Filters API

The RouteFilters API from Azure Networking Services — 3 operation(s) for routefilters.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters Route filters list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters Route filters list by resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters update tags #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters delete #

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/azure-networking-services:azure-networking-services-routefilters-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

azure-networking-services-routefilters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Route Filters API
  version: '2026-03-01'
  description: APIs to manage Microsoft Azure network resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: RouteFilters
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters:
    get:
      operationId: RouteFilters_List
      tags:
      - RouteFilters
      description: Gets all route filters in a subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilterListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Route filters list
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters:
    get:
      operationId: RouteFilters_ListByResourceGroup
      tags:
      - RouteFilters
      description: Gets all route filters in a resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilterListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Route filters list by resource group
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}
  : get:
      operationId: RouteFilters_Get
      tags:
      - RouteFilters
      description: Gets the specified route filter.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: Expands referenced express route bgp peering resources.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Route filters get
      x-summary-source: derived
    put:
      operationId: RouteFilters_CreateOrUpdate
      tags:
      - RouteFilters
      description: Creates or updates a route filter in a specified resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'RouteFilter' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        '201':
          description: Resource 'RouteFilter' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/RouteFilter'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouteFilter'
        description: Parameters supplied to the create or update route filter operation.
        required: true
      summary: Route filters create or update
      x-summary-source: derived
    patch:
      operationId: RouteFilters_UpdateTags
      tags:
      - RouteFilters
      description: Updates tags of a route filter.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagsObject'
        description: Parameters supplied to update route filter tags.
        required: true
      summary: Route filters update tags
      x-summary-source: derived
    delete:
      operationId: RouteFilters_Delete
      tags:
      - RouteFilters
      description: Deletes the specified route filter.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
                format: uri
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Route filters delete
      x-summary-source: derived
components:
  schemas:
    TrackedResourceWithSettableIdOptionalLocation:
      type: object
      description: Common resource representation.
      properties:
        id:
          type: string
          description: Resource ID.
        name:
          type: string
          description: Resource name.
          readOnly: true
        type:
          type: string
          description: Resource type.
          readOnly: true
        location:
          type: string
          description: Resource location.
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
      x-ms-azure-resource: true
    RouteFilterListResult:
      type: object
      description: The response of a RouteFilter list operation.
      properties:
        value:
          type: array
          description: The RouteFilter items on this page
          items:
            $ref: '#/components/schemas/RouteFilter'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    SubResource:
      type: object
      description: Reference to another subresource.
      properties:
        id:
          type: string
          description: Resource ID.
    PeerExpressRouteCircuitConnectionPropertiesFormat:
      type: object
      description: Properties of the peer express route circuit connection.
      properties:
        expressRouteCircuitPeering:
          $ref: '#/components/schemas/SubResource'
          description: Reference to Express Route Circuit Private Peering Resource of the circuit.
        peerExpressRouteCircuitPeering:
          $ref: '#/components/schemas/SubResource'
          description: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
        addressPrefix:
          type: string
          description: /29 IP address space to carve out Customer addresses for tunnels.
        circuitConnectionStatus:
          $ref: '#/components/schemas/CircuitConnectionStatus'
          description: Express Route Circuit connection state.
          readOnly: true
        connectionName:
          type: string
          description: The name of the express route circuit connection resource.
        authResourceGuid:
          type: string
          description: The resource guid of the authorization used for the express route circuit connection.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the peer express route circuit connection resource.
          readOnly: true
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    ExpressRouteCircuitPeeringPropertiesFormat:
      type: object
      description: Properties of the express route circuit peering.
      properties:
        peeringType:
          $ref: '#/components/schemas/ExpressRoutePeeringType'
          description: The peering type.
        state:
          $ref: '#/components/schemas/ExpressRoutePeeringState'
          description: The peering state.
        azureASN:
          type: integer
          format: int32
          description: The Azure ASN.
        peerASN:
          type: integer
          format: int64
          description: The peer ASN.
          minimum: 1
          maximum: 4294967295
        primaryPeerAddressPrefix:
          type: string
          description: The primary address prefix.
        secondaryPeerAddressPrefix:
          type: string
          description: The secondary address prefix.
        primaryAzurePort:
          type: string
          description: The primary port.
        secondaryAzurePort:
          type: string
          description: The secondary port.
        sharedKey:
          type: string
          description: The shared key.
        vlanId:
          type: integer
          format: int32
          description: The VLAN ID.
        microsoftPeeringConfig:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringConfig'
          description: The Microsoft peering configuration.
        stats:
          $ref: '#/components/schemas/ExpressRouteCircuitStats'
          description: The peering stats of express route circuit.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the express route circuit peering resource.
          readOnly: true
        gatewayManagerEtag:
          type: string
          description: The GatewayManager Etag.
        lastModifiedBy:
          type: string
          description: Who was the last to modify the peering.
          readOnly: true
        routeFilter:
          $ref: '#/components/schemas/SubResource'
          description: The reference to the RouteFilter resource.
        ipv6PeeringConfig:
          $ref: '#/components/schemas/Ipv6ExpressRouteCircuitPeeringConfig'
          description: The IPv6 peering configuration.
        expressRouteConnection:
          $ref: '#/components/schemas/ExpressRouteConnectionId'
          description: The ExpressRoute connection.
        connections:
          type: array
          description: The list of circuit connections associated with Azure Private Peering for this circuit.
          items:
            $ref: '#/components/schemas/ExpressRouteCircuitConnection'
        peeredConnections:
          type: array
          description: The list of peered circuit connections associated with Azure Private Peering for this circuit.
          items:
            $ref: '#/components/schemas/PeerExpressRouteCircuitConnection'
          readOnly: true
    ExpressRouteCircuitPeering:
      type: object
      description: Peering in an ExpressRouteCircuit resource.
      properties:
        properties:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringPropertiesFormat'
          description: Properties of the express route circuit peering.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResourceModel'
    ExpressRouteCircuitConnection:
      type: object
      description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
      properties:
        properties:
          $ref: '#/components/schemas/ExpressRouteCircuitConnectionPropertiesFormat'
          description: Properties of the express route circuit connection.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResourceModel'
    RouteFilterRule:
      type: object
      description: Route Filter Rule Resource.
      properties:
        properties:
          $ref: '#/components/schemas/RouteFilterRulePropertiesFormat'
          description: Properties of the route filter rule.
          x-ms-client-flatten: true
        name:
          type: string
          description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
        location:
          type: string
          description: Resource location.
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResource'
    Access:
      type: string
      description: Access to be allowed or denied.
      enum:
      - Allow
      - Deny
      x-ms-enum:
        name: Access
        modelAsString: true
        values:
        - name: Allow
          value: Allow
          description: Allow
        - name: Deny
          value: Deny
          description: Deny
    AdvertisedPublicPrefixPropertiesValidationState:
      type: string
      description: Advertised Public Prefix State that denotes if the prefix is validated or not.
      enum:
      - NotConfigured
      - Configuring
      - Configured
      - ValidationNeeded
      - ValidationFailed
      - ManualValidationNeeded
      - AsnValidationFailed
      - CertificateMissingInRoutingRegistry
      - InvalidSignatureEncoding
      - SignatureVerificationFailed
      x-ms-enum:
        name: AdvertisedPublicPrefixPropertiesValidationState
        modelAsString: true
        values:
        - name: NotConfigured
          value: NotConfigured
          description: NotConfigured
        - name: Configuring
          value: Configuring
          description: Configuring
        - name: Configured
          value: Configured
          description: Configured
        - name: ValidationNeeded
          value: ValidationNeeded
          description: ValidationNeeded
        - name: ValidationFailed
          value: ValidationFailed
          description: ValidationFailed
        - name: ManualValidationNeeded
          value: ManualValidationNeeded
          description: ManualValidationNeeded
        - name: AsnValidationFailed
          value: AsnValidationFailed
          description: AsnValidationFailed
        - name: CertificateMissingInRoutingRegistry
          value: CertificateMissingInRoutingRegistry
          description: CertificateMissingInRoutingRegistry
        - name: InvalidSignatureEncoding
          value: InvalidSignatureEncoding
          description: InvalidSignatureEncoding
        - name: SignatureVerificationFailed
          value: SignatureVerificationFailed
          description: SignatureVerificationFailed
    ExpressRoutePeeringType:
      type: string
      description: The peering type.
      enum:
      - AzurePublicPeering
      - AzurePrivatePeering
      - MicrosoftPeering
      x-ms-enum:
        name: ExpressRoutePeeringType
        modelAsString: true
        values:
        - name: AzurePublicPeering
          value: AzurePublicPeering
          description: AzurePublicPeering
        - name: AzurePrivatePeering
          value: AzurePrivatePeering
          description: AzurePrivatePeering
        - name: MicrosoftPeering
          value: MicrosoftPeering
          description: MicrosoftPeering
    ProvisioningState:
      type: string
      description: Provisioning states of a resource.
      enum:
      - Failed
      - Succeeded
      - Canceled
      - Creating
      - Updating
      - Deleting
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Failed
          value: Failed
          description: Failed
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Canceled
          value: Canceled
          description: Canceled
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
    ExpressRouteCircuitPeeringState:
      type: string
      description: The state of peering.
      enum:
      - Disabled
      - Enabled
      x-ms-enum:
        name: ExpressRouteCircuitPeeringState
        modelAsString: true
        values:
        - name: Disabled
          value: Disabled
          description: Disabled
        - name: Enabled
          value: Enabled
          description: Enabled
    SubResourceModel:
      type: object
      description: Reference to another subresource.
      properties:
        name:
          type: string
          description: Name of the resource.
        type:
          type: string
          description: Resource type.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResource'
      x-ms-azure-resource: true
    ExpressRouteCircuitConnectionPropertiesFormat:
      type: object
      description: Properties of the express route circuit connection.
      properties:
        expressRouteCircuitPeering:
          $ref: '#/components/schemas/SubResource'
          description: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
        peerExpressRouteCircuitPeering:
          $ref: '#/components/schemas/SubResource'
          description: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
        addressPrefix:
          type: string
          description: /29 IP address space to carve out Customer addresses for tunnels.
        authorizationKey:
          type: string
          description: The authorization key.
        ipv6CircuitConnectionConfig:
          $ref: '#/components/schemas/Ipv6CircuitConnectionConfig'
          description: IPv6 Address PrefixProperties of the express route circuit connection.
        circuitConnectionStatus:
          $ref: '#/components/schemas/CircuitConnectionStatus'
          description: Express Route Circuit connection state.
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the express route circuit connection resource.
          readOnly: true
    ExpressRouteCircuitStats:
      type: object
      description: Contains stats associated with the peering.
      properties:
        primarybytesIn:
          type: integer
          format: int64
          description: The Primary BytesIn of the peering.
        primarybytesOut:
          type: integer
          format: int64
          description: The primary BytesOut of the peering.
        secondarybytesIn:
          type: integer
          format: int64
          description: The secondary BytesIn of the peering.
        secondarybytesOut:
          type: integer
          format: int64
          description: The secondary BytesOut of the peering.
    ExpressRouteCircuitPeeringAdvertisedPublicPrefixState:
      type: string
      description: The advertised public prefix state of the Peering resource.
      enum:
      - NotConfigured
      - Configuring
      - Configured
      - ValidationNeeded
      x-ms-enum:
        name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
        modelAsString: true
        values:
        - name: NotConfigured
          value: NotConfigured
          description: NotConfigured
        - name: Configuring
          value: Configuring
          description: Configuring
        - name: Configured
          value: Configured
          description: Configured
        - name: ValidationNeeded
          value: ValidationNeeded
          description: ValidationNeeded
    Ipv6CircuitConnectionConfig:
      type: object
      description: IPv6 Circuit Connection properties for global reach.
      properties:
        addressPrefix:
          type: string
          description: /125 IP address space to carve out customer addresses for global reach.
        circuitConnectionStatus:
          $ref: '#/components/schemas/CircuitConnectionStatus'
          description: Express Route Circuit connection state.
          readOnly: true
    ExpressRouteConnectionId:
      type: object
      description: The ID of the ExpressRouteConnection.
      properties:
        id:
          type: string
          description: The ID of the ExpressRouteConnection.
          readOnly: true
    TagsObject:
      type: object
      description: Tags object for patch operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
    RouteFilterRulePropertiesFormat:
      type: object
      description: Route Filter Rule Resource.
      properties:
        access:
          $ref: '#/components/schemas/Access'
          description: The access type of the rule.
        routeFilterRuleType:
          $ref: '#/components/schemas/RouteFilterRuleType'
          description: The rule type of the rule.
        communities:
          type: array
          description: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
          items:
            type: string
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the route filter rule resource.
          readOnly: true
      required:
      - access
      - routeFilterRuleType
      - communities
    ExpressRouteCircuitPeeringConfig:
      type: object
      description: Specifies the peering configuration.
      properties:
        advertisedPublicPrefixes:
          type: array
          description: The reference to AdvertisedPublicPrefixes.
          items:
            type: string
        advertisedCommunities:
          type: array
          description: The communities of bgp peering. Specified for microsoft peering.
          items:
            type: string
        advertisedPublicPrefixesState:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState'
          description: The advertised public prefix state of the Peering resource.
          readOnly: true
        legacyMode:
          type: integer
          format: int32
          description: The legacy mode of the peering.
        customerASN:
          type: integer
          format: int32
          description: The CustomerASN of the peering.
        routingRegistryName:
          type: string
          description: The RoutingRegistryName of the configuration.
        advertisedPublicPrefixInfo:
          type: array
          description: List of Prefix information required to perform validation.
          items:
            $ref: '#/components/schemas/AdvertisedPublicPrefixProperties'
          x-ms-identifiers: []
    ExpressRoutePeeringState:
      type: string
      description: The state of peering.
      enum:
      - Disabled
      - Enabled
      x-ms-enum:
        name: ExpressRoutePeeringState
        modelAsString: true
        values:
        - name: Disabled
          value: Disabled
          description: Disabled
        - name: Enabled
          value: Enabled
          description: Enabled
    RouteFilter:
      type: object
      description: Route Filter Resource.
      properties:
        properties:
          $ref: '#/components/schemas/RouteFilterPropertiesFormat'
          description: Properties of the route filter.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/TrackedResourceWithSettableIdOptionalLocation'
    RouteFilterPropertiesFormat:
      type: object
      description: Route Filter Resource.
      properties:
        rules:
          type: array
          description: Collection of RouteFilterRules contained within a route filter.
          items:
            $ref: '#/components/schemas/RouteFilterRule'
        peerings:
          type: array
          description: A collection of references to express route circuit peerings.
          items:
            $ref: '#/components/schemas/ExpressRouteCircuitPeering'
          readOnly: true
        ipv6Peerings:
          type: array
          description: A collection of references to express route circuit ipv6 peerings.
          items:
            $ref: '#/components/schemas/ExpressRouteCircuitPeering'
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the route filter resource.
          readOnly: true
    RouteFilterRuleType:
      type: string
      description: The rule type of the rule.
      enum:
      - Community
      x-ms-enum:
        name: RouteFilterRuleType
        modelAsString: true
        values:
        - name: Community
          value: Community
          description: Community
    Ipv6ExpressRouteCircuitPeeringConfig:
      type: object
      description: Contains IPv6 peering config.
      properties:
        primaryPeerAddressPrefix:
          type: string
          description: The primary address prefix.
        secondaryPeerAddressPrefix:
          type: string
          description: The secondary address prefix.
        microsoftPeeringConfig:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringConfig'
          description: The Microsoft peering configuration.
        routeFilter:
          $ref: '#/components/schemas/SubResource'
          description: The reference to the RouteFilter resource.
        state:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringState'
          description: The state of peering.
    PeerExpressRouteCircuitConnection:
      type: object
      description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
      properties:
        properties:
          $ref: '#/components/schemas/PeerExpressRouteCircuitConnectionPropertiesFormat'
          description: Properties of the peer express route circuit connection.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResourceModel'
    AdvertisedPublicPrefixProperties:
      type: object
      description: Prefix properties required to perform validation using openssl signature.
      properties:
        prefix:
          type: string
          description: Advertised Public Prefix.
        validationId:
          type: string
          description: Validation string that contains circuit peering info.
        signature:
          type: string
          description: Signed string generated by encrypting validationId with a private key.
        validationState:
          $ref: '#/components/schemas/AdvertisedPublicPrefixPropertiesValidationState'
          description: Advertised Public Prefix State that denotes if the prefix is validated or not.
          readOnly: true
    CircuitConnectionStatus:
      type: string
      description: Express Route Circuit connection state.
      enum:
      - Connected
      - Connecting
      - Disconnected
      x-ms-enum:
        name: CircuitConnectionStatus
        modelAsString: true
        values:
        - name: Connected
          value: Connected
          description: Connected
        - name: Connecting
          value: Connecting
          description: Connecting
        - name: Disconnected
          value: Disconnected
          description: Disconnected
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  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.