Azure Networking Services Network Security Perimeter Associations API

The NetworkSecurityPerimeterAssociations API from Azure Networking Services — 3 operation(s) for networksecurityperimeterassociations.

GitHub OpenAPI

Operations 5

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations Network security perimeter associations list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName} Network security perimeter associations get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName} Network security perimeter associations create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName} Network security perimeter associations delete #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/reconcile Network security perimeter associations reconcile #

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-networksecurityperimeterassociations-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-networksecurityperimeterassociations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Network Security Perimeter…
  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: NetworkSecurityPerimeterAssociations
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations
  : get:
      operationId: NetworkSecurityPerimeterAssociations_List
      tags:
      - NetworkSecurityPerimeterAssociations
      description: Lists the NSP resource associations.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      - name: $top
        in: query
        description: An optional query parameter which specifies the maximum number of records to be returned by the server.
        required: false
        schema:
          type: integer
          format: int32
          maximum: 20
          minimum: 1
      - name: $skipToken
        in: query
        description: SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspAssociationsListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Network security perimeter associations list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}
  : get:
      operationId: NetworkSecurityPerimeterAssociations_Get
      tags:
      - NetworkSecurityPerimeterAssociations
      description: Gets the specified NSP association by name.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      - name: associationName
        in: path
        description: The name of the NSP association.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspAssociation'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Network security perimeter associations get
      x-summary-source: derived
    put:
      operationId: NetworkSecurityPerimeterAssociations_CreateOrUpdate
      tags:
      - NetworkSecurityPerimeterAssociations
      description: Creates or updates a NSP resource association.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      - name: associationName
        in: path
        description: The name of the NSP association.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Resource 'NspAssociation' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspAssociation'
        '201':
          description: Resource 'NspAssociation' create operation succeeded
          headers:
            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/NspAssociation'
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          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/NspAssociation'
        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/NspAssociation'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NspAssociation'
        description: Parameters that hold the NspAssociation resource to be created/updated.
        required: true
      summary: Network security perimeter associations create or update
      x-summary-source: derived
    delete:
      operationId: NetworkSecurityPerimeterAssociations_Delete
      tags:
      - NetworkSecurityPerimeterAssociations
      description: Deletes an NSP association resource.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      - name: associationName
        in: path
        description: The name of the NSP association.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          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
        '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: Network security perimeter associations delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/reconcile
  : post:
      operationId: NetworkSecurityPerimeterAssociations_Reconcile
      tags:
      - NetworkSecurityPerimeterAssociations
      description: Reconcile NSP association
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      - name: associationName
        in: path
        description: The name of the NSP association.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema: {}
        description: Parameters for NSP association reconcile
        required: true
      summary: Network security perimeter associations reconcile
      x-summary-source: derived
components:
  schemas:
    NspAssociation:
      type: object
      description: The NSP resource association resource
      properties:
        properties:
          $ref: '#/components/schemas/NspAssociationProperties'
          description: Properties of the NSP resource association.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/SecurityPerimeterProxyResource'
    NspAssociationProperties:
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/NspProvisioningState'
          description: The provisioning state of the resource  association resource.
          readOnly: true
        privateLinkResource:
          $ref: '#/components/schemas/SubResource'
          description: The PaaS resource to be associated.
        profile:
          $ref: '#/components/schemas/SubResource'
          description: Profile id to which the PaaS resource is associated.
        accessMode:
          $ref: '#/components/schemas/AssociationAccessMode'
          description: Access mode on the association.
        hasProvisioningIssues:
          type: string
          description: Specifies if there are provisioning issues
          readOnly: true
    SubResource:
      type: object
      description: Reference to another subresource.
      properties:
        id:
          type: string
          description: Resource ID.
    NspProvisioningState:
      type: string
      description: The current provisioning state.
      enum:
      - Succeeded
      - Creating
      - Updating
      - Deleting
      - Accepted
      - Failed
      x-ms-enum:
        name: NspProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
        - name: Accepted
          value: Accepted
          description: Accepted
        - name: Failed
          value: Failed
          description: Failed
    NspAssociationsListResult:
      type: object
      description: Paged collection of NspAssociation items
      properties:
        value:
          type: array
          description: The NspAssociation items on this page
          items:
            $ref: '#/components/schemas/NspAssociation'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    AssociationAccessMode:
      type: string
      description: Access mode on the association.
      enum:
      - Learning
      - Enforced
      - Audit
      x-ms-enum:
        name: AssociationAccessMode
        modelAsString: true
        values:
        - name: Learning
          value: Learning
          description: Learning
        - name: Enforced
          value: Enforced
          description: Enforced
        - name: Audit
          value: Audit
          description: Audit
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    SecurityPerimeterProxyResource:
      type: object
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/SecurityPerimeterResource'
      x-ms-azure-resource: 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.