Microsoft Azure Nsp Links API

The NspLinks API from Microsoft Azure, for nsplinks.

GitHub OpenAPI

Operations 4

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

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName} Get a network security perimeter link · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I inspect one link between two network security perimeters?”
“What state is a specific NSP link in?”
Tell an agent
Get link {linkName} on network security perimeter {networkSecurityPerimeterName} in {resourceGroupName}.
Show NSP link {linkName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName} Create or update a network security perimeter link · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I link two network security perimeters so their resources can talk?”
“Can I change the properties of an existing perimeter link?”
Tell an agent
Create link {linkName} on perimeter {networkSecurityPerimeterName} in {resourceGroupName}.
Set NSP link {linkName} properties to {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName} Delete a network security perimeter link · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove the link between two network security perimeters?”
“Can I break an NSP link I set up by mistake?”
Tell an agent destructive · confirm first
Delete link {linkName} from perimeter {networkSecurityPerimeterName} in {resourceGroupName}.
Remove NSP link {linkName}.

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-nsplinks-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-nsplinks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure NetworkSecurityPerimeter Nsp Links API
  description: The Network Security Perimeter API provides a RESTful set of web services that interact with network security perimeter resource.
  version: 2023-07-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: NspLinks
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}
  : parameters:
    - $ref: ./network.json#/parameters/SubscriptionIdParameter
    - $ref: '#/components/parameters/ResourceGroupNameParameter'
    - $ref: '#/components/parameters/NetworkSecurityPerimeterNameParameter'
    - $ref: '#/components/parameters/LinkNameParameter'
    - $ref: ./network.json#/parameters/ApiVersionParameter
    get:
      tags:
      - NspLinks
      operationId: microsoftAzureNsplinksGet
      description: Gets the specified NSP link resource.
      responses:
        '200':
          description: OK - Returns NSP link resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspLink'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        NspLinksGet:
          $ref: ./examples/NspLinkGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - NspLinks
      operationId: microsoftAzureNsplinksCreateorupdate
      description: Creates or updates NSP link resource.
      responses:
        '200':
          description: Updated - Existing NspLink resource is updated. Returns the resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspLink'
        '201':
          description: Create - Returns the NspLink resource created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspLink'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        NspLinksPut:
          $ref: ./examples/NspLinkPut.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NspLink'
        description: Parameters that hold the NspLink resource to be created/updated.
        required: true
    delete:
      tags:
      - NspLinks
      operationId: microsoftAzureNsplinksDelete
      description: Deletes an NSP Link resource.
      responses:
        '200':
          description: Delete Succeed.
        '202':
          description: Delete in progress.
          headers:
            location:
              description: location header
              schema:
                type: string
        '204':
          description: Request successful. The resource does not exist.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        NspLinkDelete:
          $ref: ./examples/NspLinkDelete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links
  : get:
      tags:
      - NspLinks
      operationId: microsoftAzureNsplinksList
      description: Lists the NSP Link resources in the specified network security perimeter.
      x-ms-pageable:
        nextLinkName: nextLink
      parameters:
      - $ref: ./network.json#/parameters/SubscriptionIdParameter
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NetworkSecurityPerimeterNameParameter'
      - $ref: ./network.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/ListTopParameter'
      - $ref: '#/components/parameters/ListSkipTokenParameter'
      responses:
        '200':
          description: OK - Returns the list of NSP link resources.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspLinkListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        NspLinkList:
          $ref: ./examples/NspLinkList.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    NSPLinkProvisioningState:
      type: string
      readOnly: true
      description: The current provisioning state of NSP Link/LinkReference.
      enum:
      - Succeeded
      - Creating
      - Updating
      - Deleting
      - Accepted
      - Failed
      - WaitForRemoteCompletion
      x-ms-enum:
        name: nspLinkProvisioningState
        modelAsString: true
    NspLinkProperties:
      type: object
      properties:
        provisioningState:
          readOnly: true
          $ref: '#/components/schemas/NSPLinkProvisioningState'
          description: The provisioning state of the NSP Link resource.
        autoApprovedRemotePerimeterResourceId:
          type: string
          description: Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
          x-ms-mutability:
          - read
          - create
        remotePerimeterGuid:
          readOnly: true
          type: string
          description: Remote NSP Guid with which the link gets created.
        remotePerimeterLocation:
          readOnly: true
          type: string
          description: Remote NSP location with which the link gets created.
        localInboundProfiles:
          type: array
          items:
            type: string
          description: Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
          uniqueItems: true
        localOutboundProfiles:
          type: array
          items:
            type: string
          readOnly: true
          description: Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
          uniqueItems: true
        remoteInboundProfiles:
          type: array
          items:
            type: string
          description: Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.
          uniqueItems: true
        remoteOutboundProfiles:
          type: array
          items:
            type: string
          readOnly: true
          description: Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
          uniqueItems: true
        description:
          type: string
          description: A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
        status:
          type: string
          readOnly: true
          description: The NSP link state.
          enum:
          - Approved
          - Pending
          - Rejected
          - Disconnected
          x-ms-enum:
            name: nspLinkStatus
            modelAsString: true
      description: Properties of NSP Link resource.
    NspLinkListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/NspLink'
          description: Gets a page of NSP Link resources.
        nextLink:
          type: string
          description: Gets the URL to get the next page of results.
      description: Result of the request to list NSP link resources. Contains a list of NSP link resources and a URL link to get the next set of results.
    NspLink:
      type: object
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/NspLinkProperties'
          description: Properties of the network security perimeter link resource.
      allOf:
      - $ref: ./network.json#/definitions/ProxyResource
      description: The network security perimeter link resource
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group.
      x-ms-parameter-location: method
      schema:
        type: string
    LinkNameParameter:
      name: linkName
      in: path
      required: true
      description: The name of the NSP link.
      x-ms-parameter-location: method
      schema:
        type: string
    ListTopParameter:
      name: $top
      description: An optional query parameter which specifies the maximum number of records to be returned by the server.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
        maximum: 20
        minimum: 1
    ListSkipTokenParameter:
      name: $skipToken
      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.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    NetworkSecurityPerimeterNameParameter:
      name: networkSecurityPerimeterName
      in: path
      required: true
      description: The name of the network security perimeter.
      x-ms-parameter-location: method
      schema:
        type: string
  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.