Microsoft Cognitive Services Network Security Perimeter Configurations API
The NetworkSecurityPerimeterConfigurations API from Microsoft Cognitive Services — 3 operation(s) for networksecurityperimeterconfigurations.
The NetworkSecurityPerimeterConfigurations API from Microsoft Cognitive Services — 3 operation(s) for networksecurityperimeterconfigurations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-cognitive-services:microsoft-cognitive-services-networksecurityperimeterconfigurations-api"
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.
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: 3.2.0
info:
title: CognitiveServicesManagementClient Network Security…
version: '2026-11-01'
description: Cognitive Services Management Client
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: NetworkSecurityPerimeterConfigurations
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/networkSecurityPerimeterConfigurations
: get:
operationId: NetworkSecurityPerimeterConfigurations_List
tags:
- NetworkSecurityPerimeterConfigurations
description: Gets a list of NSP configurations for an account.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkSecurityPerimeterConfigurationList'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Network security perimeter configurations list
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/networkSecurityPerimeterConfigurations/{nspConfigurationName}
: get:
operationId: NetworkSecurityPerimeterConfigurations_Get
tags:
- NetworkSecurityPerimeterConfigurations
description: Gets the specified NSP configurations for an account.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: nspConfigurationName
in: path
description: The name of the NSP Configuration.
required: true
schema:
type: string
pattern: ^.*$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkSecurityPerimeterConfiguration'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Network security perimeter configurations get
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/networkSecurityPerimeterConfigurations/{nspConfigurationName}/reconcile
: post:
operationId: NetworkSecurityPerimeterConfigurations_Reconcile
tags:
- NetworkSecurityPerimeterConfigurations
description: Reconcile the NSP configuration for an account.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: nspConfigurationName
in: path
description: The name of the NSP Configuration.
required: true
schema:
type: string
pattern: ^.*$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkSecurityPerimeterConfiguration'
'202':
description: Resource operation accepted.
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
location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/NetworkSecurityPerimeterConfiguration'
x-ms-long-running-operation: true
summary: Network security perimeter configurations reconcile
x-summary-source: derived
components:
schemas:
systemData:
type: object
description: Metadata pertaining to creation and last modification of the resource.
properties:
createdBy:
type: string
description: The identity that created the resource.
createdByType:
type: string
description: The type of identity that created the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
createdAt:
type: string
format: date-time
description: The timestamp of resource creation (UTC).
lastModifiedBy:
type: string
description: The identity that last modified the resource.
lastModifiedByType:
type: string
description: The type of identity that last modified the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
lastModifiedAt:
type: string
format: date-time
description: The timestamp of resource last modification (UTC)
readOnly: true
NetworkSecurityPerimeterProfileInfo:
type: object
description: Network Security Perimeter Profile Information
properties:
name:
type: string
description: Name of the resource profile
accessRulesVersion:
type: integer
format: int64
description: Access rules version of the resource profile
accessRules:
type: array
items:
$ref: '#/components/schemas/NetworkSecurityPerimeterAccessRule'
x-ms-identifiers: []
diagnosticSettingsVersion:
type: integer
format: int64
description: Current diagnostic settings version
enabledLogCategories:
type: array
description: List of enabled log categories
items:
type: string
NetworkSecurityPerimeter:
type: object
description: Information about a linked Network Security Perimeter
properties:
id:
type: string
format: arm-id
description: Fully qualified identifier of the resource
perimeterGuid:
type: string
description: Guid of the resource
location:
type: string
description: Location of the resource
ProvisioningIssueProperties:
type: object
description: Properties of Provisioning Issue
properties:
issueType:
type: string
description: Type of Issue
severity:
type: string
description: Severity of the issue
description:
type: string
description: Description of the issue
suggestedResourceIds:
type: array
description: IDs of resources that can be associated to the same perimeter to remediate the issue.
items:
type: string
format: arm-id
description: A type definition that refers the id to an Azure Resource Manager resource.
suggestedAccessRules:
type: array
description: Optional array, suggested access rules
items:
$ref: '#/components/schemas/NetworkSecurityPerimeterAccessRule'
NetworkSecurityPerimeterConfigurationAssociationInfo:
type: object
description: Network Security Perimeter Configuration Association Information
properties:
name:
type: string
description: Name of the resource association
accessMode:
type: string
description: Access Mode of the resource association
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem:
type: object
description: Subscription for inbound rule
properties:
id:
type: string
description: Fully qualified identifier of subscription
NetworkSecurityPerimeterConfigurationList:
type: object
description: A list of NSP configurations for an Cognitive Services account.
properties:
value:
type: array
description: Array of NSP configurations List Result for an Cognitive Services account.
items:
$ref: '#/components/schemas/NetworkSecurityPerimeterConfiguration'
x-ms-identifiers:
- id
nextLink:
type: string
description: Link to retrieve next page of results.
NetworkSecurityPerimeterAccessRuleProperties:
type: object
description: The Properties of Network Security Perimeter Rule
properties:
direction:
$ref: '#/components/schemas/NspAccessRuleDirection'
description: Direction of Access Rule
addressPrefixes:
type: array
description: Address prefixes for inbound rules
items:
type: string
subscriptions:
type: array
description: Subscriptions for inbound rules
items:
$ref: '#/components/schemas/NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem'
networkSecurityPerimeters:
type: array
description: NetworkSecurityPerimeters for inbound rules
items:
$ref: '#/components/schemas/NetworkSecurityPerimeter'
fullyQualifiedDomainNames:
type: array
description: Fully qualified domain name for outbound rules
items:
type: string
NetworkSecurityPerimeterConfiguration:
type: object
description: NSP Configuration for an Cognitive Services account.
properties:
properties:
$ref: '#/components/schemas/NetworkSecurityPerimeterConfigurationProperties'
description: NSP Configuration properties.
allOf:
- $ref: '#/components/schemas/ProxyResource'
NetworkSecurityPerimeterAccessRule:
type: object
description: Network Security Perimeter Access Rule
properties:
name:
type: string
description: Network Security Perimeter Access Rule Name
properties:
$ref: '#/components/schemas/NetworkSecurityPerimeterAccessRuleProperties'
description: Properties of Network Security Perimeter Access Rule
NetworkSecurityPerimeterConfigurationProperties:
type: object
description: The properties of an NSP Configuration.
properties:
provisioningState:
type: string
description: Provisioning state of NetworkSecurityPerimeter configuration
readOnly: true
provisioningIssues:
type: array
description: List of Provisioning Issues
items:
$ref: '#/components/schemas/ProvisioningIssue'
x-ms-identifiers:
- name
networkSecurityPerimeter:
$ref: '#/components/schemas/NetworkSecurityPerimeter'
description: Information about a linked Network Security Perimeter
resourceAssociation:
$ref: '#/components/schemas/NetworkSecurityPerimeterConfigurationAssociationInfo'
description: Network Security Perimeter Configuration Association Information
profile:
$ref: '#/components/schemas/NetworkSecurityPerimeterProfileInfo'
description: Network Security Perimeter Profile Information
NspAccessRuleDirection:
type: string
description: Direction of Access Rule
enum:
- Inbound
- Outbound
x-ms-enum:
name: NspAccessRuleDirection
modelAsString: true
values:
- name: Inbound
value: Inbound
- name: Outbound
value: Outbound
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
type: object
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
ProvisioningIssue:
type: object
properties:
name:
type: string
description: Name of the NSP provisioning issue
properties:
$ref: '#/components/schemas/ProvisioningIssueProperties'
description: Properties of Provisioning Issue
parameters:
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
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
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
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.