Azure Networking Services Virtual WANs API

The VirtualWANs API from Azure Networking Services — 2 operation(s) for virtualwans.

GitHub OpenAPI

Operations 2

PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName} Virtual hubs update tags #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName} Virtual wans update tags #

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-virtualwans-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-virtualwans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Virtual WANs 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: VirtualWANs
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}
  : patch:
      operationId: VirtualHubs_UpdateTags
      tags:
      - VirtualWANs
      description: Updates VirtualHub tags.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: virtualHubName
        in: path
        description: The name of the VirtualHub.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualHub'
        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 VirtualHub tags.
        required: true
      summary: Virtual hubs update tags
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}
  : patch:
      operationId: VirtualWans_UpdateTags
      tags:
      - VirtualWANs
      description: Updates a VirtualWAN tags.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: VirtualWANName
        in: path
        description: The name of the VirtualWAN being retrieved.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualWAN'
        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 VirtualWAN tags.
        required: true
      summary: Virtual wans update tags
      x-summary-source: derived
components:
  schemas:
    VirtualHubRoute:
      type: object
      description: VirtualHub route.
      properties:
        addressPrefixes:
          type: array
          description: List of all addressPrefixes.
          items:
            type: string
        nextHopIpAddress:
          type: string
          description: NextHop ip address.
    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
    VirtualHubRouteV2:
      type: object
      description: VirtualHubRouteTableV2 route.
      properties:
        destinationType:
          type: string
          description: The type of destinations.
        destinations:
          type: array
          description: List of all destinations.
          items:
            type: string
        nextHopType:
          type: string
          description: The type of next hops.
        nextHops:
          type: array
          description: NextHops ip address.
          items:
            type: string
    SubResource:
      type: object
      description: Reference to another subresource.
      properties:
        id:
          type: string
          description: Resource ID.
    PreferredRoutingGateway:
      type: string
      description: The preferred routing gateway types
      enum:
      - ExpressRoute
      - VpnGateway
      - None
      x-ms-enum:
        name: PreferredRoutingGateway
        modelAsString: true
        values:
        - name: ExpressRoute
          value: ExpressRoute
          description: ExpressRoute
        - name: VpnGateway
          value: VpnGateway
          description: VpnGateway
        - name: None
          value: None
          description: None
    VirtualHubRouteTable:
      type: object
      description: VirtualHub route table.
      properties:
        routes:
          type: array
          description: List of all routes.
          items:
            $ref: '#/components/schemas/VirtualHubRoute'
    VirtualRouterAutoScaleConfiguration:
      type: object
      description: The VirtualHub Router autoscale configuration.
      properties:
        minCapacity:
          type: integer
          format: int32
          description: The minimum number of scale units for VirtualHub Router.
          minimum: 0
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    VirtualHub:
      type: object
      description: VirtualHub Resource.
      properties:
        properties:
          $ref: '#/components/schemas/VirtualHubProperties'
          description: Properties of the virtual hub.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
        kind:
          type: string
          description: Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/TrackedResourceWithSettableIdOptionalLocation'
    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
    HubRoutingPreference:
      type: string
      description: The hub routing preference gateway types
      enum:
      - ExpressRoute
      - VpnGateway
      - ASPath
      x-ms-enum:
        name: HubRoutingPreference
        modelAsString: true
        values:
        - name: ExpressRoute
          value: ExpressRoute
          description: ExpressRoute
        - name: VpnGateway
          value: VpnGateway
          description: VpnGateway
        - name: ASPath
          value: ASPath
          description: ASPath
    RoutingState:
      type: string
      description: The current routing state of the VirtualHub.
      enum:
      - None
      - Provisioned
      - Provisioning
      - Failed
      x-ms-enum:
        name: RoutingState
        modelAsString: true
        values:
        - name: None
          value: None
          description: None
        - name: Provisioned
          value: Provisioned
          description: Provisioned
        - name: Provisioning
          value: Provisioning
          description: Provisioning
        - name: Failed
          value: Failed
          description: Failed
    VirtualHubProperties:
      type: object
      description: Parameters for VirtualHub.
      properties:
        virtualWan:
          $ref: '#/components/schemas/SubResource'
          description: The VirtualWAN to which the VirtualHub belongs.
        vpnGateway:
          $ref: '#/components/schemas/SubResource'
          description: The VpnGateway associated with this VirtualHub.
        p2SVpnGateway:
          $ref: '#/components/schemas/SubResource'
          description: The P2SVpnGateway associated with this VirtualHub.
        expressRouteGateway:
          $ref: '#/components/schemas/SubResource'
          description: The expressRouteGateway associated with this VirtualHub.
        azureFirewall:
          $ref: '#/components/schemas/SubResource'
          description: The azureFirewall associated with this VirtualHub.
        securityPartnerProvider:
          $ref: '#/components/schemas/SubResource'
          description: The securityPartnerProvider associated with this VirtualHub.
        addressPrefix:
          type: string
          description: Address-prefix for this VirtualHub.
        routeTable:
          $ref: '#/components/schemas/VirtualHubRouteTable'
          description: The routeTable associated with this virtual hub.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the virtual hub resource.
          readOnly: true
        securityProviderName:
          type: string
          description: The Security Provider name.
        virtualHubRouteTableV2s:
          type: array
          description: List of all virtual hub route table v2s associated with this VirtualHub.
          items:
            $ref: '#/components/schemas/VirtualHubRouteTableV2'
        sku:
          type: string
          description: The sku of this VirtualHub.
        routingState:
          $ref: '#/components/schemas/RoutingState'
          description: The routing state.
          readOnly: true
        bgpConnections:
          type: array
          description: List of references to Bgp Connections.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        ipConfigurations:
          type: array
          description: List of references to IpConfigurations.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        routeMaps:
          type: array
          description: List of references to RouteMaps.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        virtualRouterAsn:
          type: integer
          format: int64
          description: VirtualRouter ASN.
          minimum: 0
          maximum: 4294967295
        virtualRouterIps:
          type: array
          description: VirtualRouter IPs.
          items:
            type: string
        addressPrefixV6:
          type: string
          description: IPv6 Address-prefix for this VirtualHub.
        virtualRouterIpsV6:
          type: array
          description: VirtualRouter IPv6 IPs.
          items:
            type: string
        allowBranchToBranchTraffic:
          type: boolean
          description: Flag to control transit for VirtualRouter hub.
        preferredRoutingGateway:
          $ref: '#/components/schemas/PreferredRoutingGateway'
          description: The preferred gateway to route on-prem traffic
        hubRoutingPreference:
          $ref: '#/components/schemas/HubRoutingPreference'
          description: The hubRoutingPreference of this VirtualHub.
        virtualRouterAutoScaleConfiguration:
          $ref: '#/components/schemas/VirtualRouterAutoScaleConfiguration'
          description: The VirtualHub Router autoscale configuration.
    OfficeTrafficCategory:
      type: string
      description: The office traffic category.
      enum:
      - Optimize
      - OptimizeAndAllow
      - All
      - None
      x-ms-enum:
        name: OfficeTrafficCategory
        modelAsString: true
        values:
        - name: Optimize
          value: Optimize
          description: Optimize
        - name: OptimizeAndAllow
          value: OptimizeAndAllow
          description: OptimizeAndAllow
        - name: All
          value: All
          description: All
        - name: None
          value: None
          description: None
    VirtualHubRouteTableV2:
      type: object
      description: VirtualHubRouteTableV2 Resource.
      properties:
        properties:
          $ref: '#/components/schemas/VirtualHubRouteTableV2Properties'
          description: Properties of the virtual hub route table v2.
          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.
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResource'
    TagsObject:
      type: object
      description: Tags object for patch operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
    VirtualHubRouteTableV2Properties:
      type: object
      description: Parameters for VirtualHubRouteTableV2.
      properties:
        routes:
          type: array
          description: List of all routes.
          items:
            $ref: '#/components/schemas/VirtualHubRouteV2'
        attachedConnections:
          type: array
          description: List of all connections attached to this route table v2.
          items:
            type: string
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the virtual hub route table v2 resource.
          readOnly: true
    VirtualWanProperties:
      type: object
      description: Parameters for VirtualWAN.
      properties:
        disableVpnEncryption:
          type: boolean
          description: Vpn encryption to be disabled or not.
        virtualHubs:
          type: array
          description: List of VirtualHubs in the VirtualWAN.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        vpnSites:
          type: array
          description: List of VpnSites in the VirtualWAN.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        allowBranchToBranchTraffic:
          type: boolean
          description: True if branch to branch traffic is allowed.
        allowVnetToVnetTraffic:
          type: boolean
          description: True if Vnet to Vnet traffic is allowed.
        office365LocalBreakoutCategory:
          $ref: '#/components/schemas/OfficeTrafficCategory'
          description: The office local breakout category.
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the virtual WAN resource.
          readOnly: true
        type:
          type: string
          description: The type of the VirtualWAN.
    VirtualWAN:
      type: object
      description: VirtualWAN Resource.
      properties:
        properties:
          $ref: '#/components/schemas/VirtualWanProperties'
          description: Properties of the virtual WAN.
          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'
  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.