Azure Networking Services Local Network Gateways API

The LocalNetworkGateways API from Azure Networking Services — 2 operation(s) for localnetworkgateways.

GitHub OpenAPI

Operations 5

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways Local network gateways list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName} Local network gateways get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName} Local network gateways create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName} Local network gateways update tags #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName} Local network gateways 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-localnetworkgateways-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-localnetworkgateways-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Local Network Gateways 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: LocalNetworkGateways
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways:
    get:
      operationId: LocalNetworkGateways_List
      tags:
      - LocalNetworkGateways
      description: Gets all the local network gateways 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/LocalNetworkGatewayListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Local network gateways list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}
  : get:
      operationId: LocalNetworkGateways_Get
      tags:
      - LocalNetworkGateways
      description: Gets the specified local network gateway in a resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: localNetworkGatewayName
        in: path
        description: The name of the local network gateway.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalNetworkGateway'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Local network gateways get
      x-summary-source: derived
    put:
      operationId: LocalNetworkGateways_CreateOrUpdate
      tags:
      - LocalNetworkGateways
      description: Creates or updates a local network gateway in the specified resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: localNetworkGatewayName
        in: path
        description: The name of the local network gateway.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Resource 'LocalNetworkGateway' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalNetworkGateway'
        '201':
          description: Resource 'LocalNetworkGateway' 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/LocalNetworkGateway'
        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/LocalNetworkGateway'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocalNetworkGateway'
        description: Parameters supplied to the create or update local network gateway operation.
        required: true
      summary: Local network gateways create or update
      x-summary-source: derived
    patch:
      operationId: LocalNetworkGateways_UpdateTags
      tags:
      - LocalNetworkGateways
      description: Updates a local network gateway tags.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: localNetworkGatewayName
        in: path
        description: The name of the local network gateway.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalNetworkGateway'
        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 local network gateway tags.
        required: true
      summary: Local network gateways update tags
      x-summary-source: derived
    delete:
      operationId: LocalNetworkGateways_Delete
      tags:
      - LocalNetworkGateways
      description: Deletes the specified local network gateway.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: localNetworkGatewayName
        in: path
        description: The name of the local network gateway.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            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: location
      x-ms-long-running-operation: true
      summary: Local network gateways delete
      x-summary-source: derived
components:
  schemas:
    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'
    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'
    LocalNetworkGatewayPropertiesFormat:
      type: object
      description: LocalNetworkGateway properties.
      properties:
        localNetworkAddressSpace:
          $ref: '#/components/schemas/AddressSpace'
          description: Local network site address space.
        gatewayIpAddress:
          type: string
          description: IP address of local network gateway.
        fqdn:
          type: string
          description: FQDN of local network gateway.
        bgpSettings:
          $ref: '#/components/schemas/BgpSettings'
          description: Local network gateway's BGP speaker settings.
        resourceGuid:
          type: string
          description: The resource GUID property of the local network gateway resource.
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the local network gateway resource.
          readOnly: true
    Resource:
      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
    LocalNetworkGateway:
      type: object
      description: A common class for general resource information.
      properties:
        properties:
          $ref: '#/components/schemas/LocalNetworkGatewayPropertiesFormat'
          description: Properties of the local network gateway.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      required:
      - properties
      allOf:
      - $ref: '#/components/schemas/Resource'
    IPConfigurationBgpPeeringAddress:
      type: object
      description: Properties of IPConfigurationBgpPeeringAddress.
      properties:
        ipconfigurationId:
          type: string
          description: The ID of IP configuration which belongs to gateway.
        defaultBgpIpAddresses:
          type: array
          description: The list of default BGP peering addresses which belong to IP configuration.
          items:
            type: string
          readOnly: true
        customBgpIpAddresses:
          type: array
          description: The list of custom BGP peering addresses which belong to IP configuration.
          items:
            type: string
        tunnelIpAddresses:
          type: array
          description: The list of tunnel public IP addresses which belong to IP configuration.
          items:
            type: string
          readOnly: true
    LocalNetworkGatewayListResult:
      type: object
      description: The response of a LocalNetworkGateway list operation.
      properties:
        value:
          type: array
          description: The LocalNetworkGateway items on this page
          items:
            $ref: '#/components/schemas/LocalNetworkGateway'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    TagsObject:
      type: object
      description: Tags object for patch operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
    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
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    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
  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.