Azure Networking Services Vpn Sites API

The VpnSites API from Azure Networking Services — 1 operation(s) for vpnsites.

GitHub OpenAPI

Operations 1

PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName} Vpn sites 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-vpnsites-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-vpnsites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Vpn Sites 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: VpnSites
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}:
    patch:
      operationId: VpnSites_UpdateTags
      tags:
      - VpnSites
      description: Updates VpnSite tags.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: vpnSiteName
        in: path
        description: The name of the VpnSite being retrieved.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VpnSite'
        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 VpnSite tags.
        required: true
      summary: Vpn sites update tags
      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
    VpnSite:
      type: object
      description: VpnSite Resource.
      properties:
        properties:
          $ref: '#/components/schemas/VpnSiteProperties'
          description: Properties of the VPN site.
          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'
    SubResource:
      type: object
      description: Reference to another subresource.
      properties:
        id:
          type: string
          description: Resource ID.
    O365BreakOutCategoryPolicies:
      type: object
      description: Office365 breakout categories.
      properties:
        allow:
          type: boolean
          description: Flag to control allow category.
        optimize:
          type: boolean
          description: Flag to control optimize category.
        default:
          type: boolean
          description: Flag to control default category.
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    AddressSpace:
      type: object
      description: AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
      properties:
        addressPrefixes:
          type: array
          description: A list of address blocks reserved for this virtual network in CIDR notation.
          items:
            type: string
        ipamPoolPrefixAllocations:
          type: array
          description: A list of IPAM Pools allocating IP address prefixes.
          items:
            $ref: '#/components/schemas/IpamPoolPrefixAllocation'
    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
    VpnSiteLink:
      type: object
      description: VpnSiteLink Resource.
      properties:
        properties:
          $ref: '#/components/schemas/VpnSiteLinkProperties'
          description: Properties of the VPN site link.
          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'
    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
    BgpSettings:
      type: object
      description: BGP settings details.
      properties:
        asn:
          type: integer
          format: int64
          description: The BGP speaker's ASN.
          minimum: 0
          maximum: 4294967295
        bgpPeeringAddress:
          type: string
          description: The BGP peering address and BGP identifier of this BGP speaker.
        peerWeight:
          type: integer
          format: int32
          description: The weight added to routes learned from this BGP speaker.
        bgpPeeringAddresses:
          type: array
          description: BGP peering address with IP configuration ID for virtual network gateway.
          items:
            $ref: '#/components/schemas/IPConfigurationBgpPeeringAddress'
    VpnSiteProperties:
      type: object
      description: Parameters for VpnSite.
      properties:
        virtualWan:
          $ref: '#/components/schemas/SubResource'
          description: The VirtualWAN to which the vpnSite belongs.
        deviceProperties:
          $ref: '#/components/schemas/DeviceProperties'
          description: The device properties.
        ipAddress:
          type: string
          description: The ip-address for the vpn-site.
        siteKey:
          type: string
          description: The key for vpn-site that can be used for connections.
        addressSpace:
          $ref: '#/components/schemas/AddressSpace'
          description: The AddressSpace that contains an array of IP address ranges.
        bgpProperties:
          $ref: '#/components/schemas/BgpSettings'
          description: The set of bgp properties.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the VPN site resource.
          readOnly: true
        isSecuritySite:
          type: boolean
          description: IsSecuritySite flag.
        vpnSiteLinks:
          type: array
          description: List of all vpn site links.
          items:
            $ref: '#/components/schemas/VpnSiteLink'
        o365Policy:
          $ref: '#/components/schemas/O365PolicyProperties'
          description: Office365 Policy.
    O365PolicyProperties:
      type: object
      description: The Office365 breakout policy.
      properties:
        breakOutCategories:
          $ref: '#/components/schemas/O365BreakOutCategoryPolicies'
          description: Office365 breakout categories.
    TagsObject:
      type: object
      description: Tags object for patch operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
    VpnLinkBgpSettings:
      type: object
      description: BGP settings details for a link.
      properties:
        asn:
          type: integer
          format: int64
          description: The BGP speaker's ASN.
        bgpPeeringAddress:
          type: string
          description: The BGP peering address and BGP identifier of this BGP speaker.
    DeviceProperties:
      type: object
      description: List of properties of the device.
      properties:
        deviceVendor:
          type: string
          description: Name of the device Vendor.
        deviceModel:
          type: string
          description: Model of the device.
        linkSpeedInMbps:
          type: integer
          format: int32
          description: Link speed.
    VpnLinkProviderProperties:
      type: object
      description: List of properties of a link provider.
      properties:
        linkProviderName:
          type: string
          description: Name of the link provider.
        linkSpeedInMbps:
          type: integer
          format: int32
          description: Link speed.
    VpnSiteLinkProperties:
      type: object
      description: Parameters for VpnSite.
      properties:
        linkProperties:
          $ref: '#/components/schemas/VpnLinkProviderProperties'
          description: The link provider properties.
        ipAddress:
          type: string
          description: The ip-address for the vpn-site-link.
        fqdn:
          type: string
          description: FQDN of vpn-site-link.
        bgpProperties:
          $ref: '#/components/schemas/VpnLinkBgpSettings'
          description: The set of bgp properties.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the VPN site link resource.
          readOnly: true
  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.