Microsoft Azure Vpn Sites API

The VpnSites API from Microsoft Azure, for vpnsites.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 1

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

PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName} Update a VPN site's tags · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I change the tags on an Azure VPN site?”
“Can I retag a VPN site without touching its configuration?”
Tell an agent
Update tags on VPN site {vpnSiteName} in {rg}.
Retag VPN site {vpnSiteName}.

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-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

microsoft-azure-vpnsites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure VirtualWANAsAServiceManagementClient Vpn…
  description: REST API for Azure VirtualWAN As a Service.
  version: '2023-11-01'
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:
      tags:
      - VpnSites
      operationId: microsoftAzureVpnsitesUpdatetags
      x-ms-examples:
        VpnSiteUpdate:
          $ref: ./examples/VpnSiteUpdateTags.json
      description: Updates VpnSite tags.
      parameters:
      - $ref: ./network.json#/parameters/SubscriptionIdParameter
      - name: resourceGroupName
        in: path
        required: true
        description: The resource group name of the VpnSite.
        schema:
          type: string
      - name: vpnSiteName
        in: path
        required: true
        description: The name of the VpnSite being updated.
        schema:
          type: string
      - $ref: ./network.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Request successful. Returns the details of the VpnSite updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VpnSite'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: ./network.json#/definitions/TagsObject
        description: Parameters supplied to update VpnSite tags.
        required: true
components:
  schemas:
    VpnLinkProviderProperties:
      properties:
        linkProviderName:
          type: string
          description: Name of the link provider.
        linkSpeedInMbps:
          type: integer
          format: int32
          description: Link speed.
      description: List of properties of a link provider.
    DeviceProperties:
      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.
      description: List of properties of the device.
    VpnSiteLinkProperties:
      properties:
        linkProperties:
          description: The link provider properties.
          $ref: '#/components/schemas/VpnLinkProviderProperties'
        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:
          readOnly: true
          $ref: ./network.json#/definitions/ProvisioningState
          description: The provisioning state of the VPN site link resource.
      description: Parameters for VpnSite.
    O365PolicyProperties:
      properties:
        breakOutCategories:
          readOnly: false
          description: Office365 breakout categories.
          $ref: '#/components/schemas/O365BreakOutCategoryPolicies'
      description: The Office365 breakout policy.
    VpnLinkBgpSettings:
      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.
      description: BGP settings details for a link.
    VpnSiteLink:
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/VpnSiteLinkProperties'
          description: Properties of the VPN site link.
        etag:
          type: string
          readOnly: true
          description: A unique read-only string that changes whenever the resource is updated.
        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.
        type:
          readOnly: true
          type: string
          description: Resource type.
      allOf:
      - $ref: ./network.json#/definitions/SubResource
      description: VpnSiteLink Resource.
    VpnSite:
      required:
      - location
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/VpnSiteProperties'
          description: Properties of the VPN site.
        etag:
          type: string
          readOnly: true
          description: A unique read-only string that changes whenever the resource is updated.
      allOf:
      - $ref: ./network.json#/definitions/Resource
      description: VpnSite Resource.
    O365BreakOutCategoryPolicies:
      properties:
        allow:
          type: boolean
          readOnly: false
          description: Flag to control allow category.
        optimize:
          type: boolean
          readOnly: false
          description: Flag to control optimize category.
        default:
          type: boolean
          readOnly: false
          description: Flag to control default category.
      description: Office365 breakout categories.
    VpnSiteProperties:
      properties:
        virtualWan:
          $ref: ./network.json#/definitions/SubResource
          description: The VirtualWAN to which the vpnSite belongs.
        deviceProperties:
          description: The device properties.
          $ref: '#/components/schemas/DeviceProperties'
        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: ./virtualNetwork.json#/definitions/AddressSpace
          description: The AddressSpace that contains an array of IP address ranges.
        bgpProperties:
          $ref: ./virtualNetworkGateway.json#/definitions/BgpSettings
          description: The set of bgp properties.
        provisioningState:
          readOnly: true
          $ref: ./network.json#/definitions/ProvisioningState
          description: The provisioning state of the VPN site resource.
        isSecuritySite:
          type: boolean
          description: IsSecuritySite flag.
        vpnSiteLinks:
          type: array
          description: List of all vpn site links.
          items:
            $ref: '#/components/schemas/VpnSiteLink'
        o365Policy:
          readOnly: false
          description: Office365 Policy.
          $ref: '#/components/schemas/O365PolicyProperties'
      description: Parameters for VpnSite.
  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.