Microsoft Azure Nsp Profiles API

The NspProfiles API from Microsoft Azure, for nspprofiles.

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}/profiles/{profileName} Get a network security perimeter profile · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I view one profile inside my network security perimeter?”
“What access rules are attached to an NSP profile?”
Tell an agent
Get NSP profile {profile} in perimeter {perimeter}, resource group {rg}.
Show network security perimeter {perimeter}'s profile {profile} in group {rg}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName} Create or update an NSP profile · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add a new profile to a network security perimeter?”
“Can I change an existing perimeter profile's properties?”
Tell an agent
Create NSP profile {profile} in perimeter {perimeter}, resource group {rg}.
Update perimeter {perimeter} profile {profile} in group {rg} with {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName} Delete an NSP profile · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove a profile from my network security perimeter?”
“What happens to associated resources when an NSP profile is deleted?”
Tell an agent destructive · confirm first
Delete NSP profile {profile} from perimeter {perimeter}, resource group {rg}.
Remove the {profile} profile of network security perimeter {perimeter} in group {rg}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles List profiles in a network security perimeter · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which profiles are defined in my network security perimeter?”
“Can I page through NSP profiles with a top count and skip token?”
Tell an agent
List the profiles in perimeter {perimeter}, resource group {rg}.
Show the first {top} NSP profiles of perimeter {perimeter} in group {rg}.

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-nspprofiles-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-nspprofiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure NetworkSecurityPerimeter Nsp Profiles 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: NspProfiles
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}
  : parameters:
    - $ref: ./network.json#/parameters/SubscriptionIdParameter
    - $ref: '#/components/parameters/ResourceGroupNameParameter'
    - $ref: '#/components/parameters/NetworkSecurityPerimeterNameParameter'
    - $ref: '#/components/parameters/ProfileNameParameter'
    - $ref: ./network.json#/parameters/ApiVersionParameter
    get:
      tags:
      - NspProfiles
      operationId: microsoftAzureNspprofilesGet
      description: Gets the specified NSP profile.
      responses:
        '200':
          description: OK - Returns information about the NSP profile.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspProfile'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        NspProfilesGet:
          $ref: ./examples/NspProfileGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - NspProfiles
      operationId: microsoftAzureNspprofilesCreateorupdate
      description: Creates or updates a network profile.
      responses:
        '200':
          description: Update - Profile is immutable resource. Returns the existing profile resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspProfile'
        '201':
          description: Create - Returns the NspProfile resource created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspProfile'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        NspProfilesPut:
          $ref: ./examples/NspProfilePut.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NspProfile'
        description: Parameters that hold the NspProfile resource to be created/updated.
        required: true
    delete:
      tags:
      - NspProfiles
      operationId: microsoftAzureNspprofilesDelete
      description: Deletes an NSP profile.
      responses:
        '200':
          description: Delete Succeed.
        '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-examples:
        NspProfilesDelete:
          $ref: ./examples/NspProfileDelete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles
  : get:
      tags:
      - NspProfiles
      operationId: microsoftAzureNspprofilesList
      description: Lists the NSP profiles 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 profiles.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NspProfileListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./network.json#/definitions/CloudError
      x-ms-examples:
        NspProfilesList:
          $ref: ./examples/NspProfileList.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    ProfileNameParameter:
      name: profileName
      in: path
      required: true
      description: The name of the NSP profile.
      x-ms-parameter-location: method
      schema:
        type: string
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group.
      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
  schemas:
    NspProfileProperties:
      type: object
      properties:
        accessRulesVersion:
          readOnly: true
          type: string
          description: Version number that increases with every update to access rules within the profile.
        diagnosticSettingsVersion:
          readOnly: true
          type: string
          description: Version number that increases with every update to diagnostic settings within the profile.
      description: Properties of NSP profile.
    NspProfile:
      type: object
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/NspProfileProperties'
          description: Properties of the network security perimeter profile
        name:
          type: string
          description: The name of the profile resource that is unique within a perimeter. This name can be used to access the resource.
        id:
          readOnly: true
          type: string
          description: Identifier of the network security perimeter profile in ARM id format.
        type:
          readOnly: true
          type: string
          description: Resource type.
      allOf:
      - $ref: ./network.json#/definitions/Resource
      description: The network security perimeter profile resource
    NspProfileListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/NspProfile'
          description: Gets a page of NSP profile
        nextLink:
          type: string
          description: Gets the URL to get the next page of results.
      description: Result of the request to list NSP profiles. Contains a list of NSP profiles and a URL link to get the next set of results.
  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.