Network Security Perimeter Configurations - List
Get all network security perimeter configurations for resource.
Get all network security perimeter configurations associated with a topic or domain.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations?api-version=2025-04-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group within the user's subscription. |
resource
|
path | True |
string minLength: 3maxLength: 50 pattern: ^[a-zA-Z0-9-]*$ |
The name of the resource (namely, either, the topic name or domain name). |
resource
|
path | True |
The type of the resource. This can be either 'topics' or 'domains'. |
|
subscription
|
path | True |
string |
Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response returned if request was unsuccessful. |
Examples
NetworkSecurityPerimeterConfigurations_List
Sample request
Sample response
{
"value": [
{
"properties": {
"provisioningState": "Succeeded",
"networkSecurityPerimeter": {
"id": "/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/perimeterrg/providers/Microsoft.Network/networkSecurityPerimeters/somePerimeter",
"perimeterGuid": "8f6b6269-84f2-4d09-9e31-1127efcd1e40perimeter",
"location": "West US"
},
"resourceAssociation": {
"name": "someAssociation",
"accessMode": "Enforced"
},
"profile": {
"name": "someProfile",
"accessRulesVersion": "1",
"accessRules": [
{
"name": "ipRule",
"properties": {
"direction": "Inbound",
"addressPrefixes": [
"148.0.0.0/8"
]
}
}
],
"diagnosticSettingsVersion": "1",
"enabledLogCategories": [
"NspOutbound"
]
}
},
"id": "/subscriptions//resourceGroups/paasrg/providers/Microsoft.EventGrid/topics/egtopic/networkSecurityPerimeterConfigurations/8f6b6269-84f2-4d09-9e31-1127efcd1e40perimeter.someAssociation",
"name": "8f6b6269-84f2-4d09-9e31-1127efcd1e40perimeter.someAssociation",
"type": "Microsoft.EventGrid/topics/networkSecurityPerimeterConfigurations"
}
]
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Network |
Network security perimeter access mode. |
Network |
Provisioning state to reflect configuration state and indicate status of nsp profile configuration retrieval. |
Network |
Network security perimeter configuration. |
Network |
Network security perimeter configuration issues. |
Network |
Provisioning issue severity. |
Network |
Provisioning issue type. |
Network |
Network security perimeter configuration List. |
Network |
Nsp configuration with profile information. |
Network |
Network security perimeter info. |
Network |
Network security perimeter profile access rule. |
Network |
NSP access rule direction. |
Network |
The type of the resource. This can be either 'topics' or 'domains'. |
Network |
Network security perimeter subscription inbound access rule. |
Resource |
Nsp resource association |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
NetworkSecurityPerimeterAssociationAccessMode
Network security perimeter access mode.
Value | Description |
---|---|
Learning | |
Enforced | |
Audit |
NetworkSecurityPerimeterConfigProvisioningState
Provisioning state to reflect configuration state and indicate status of nsp profile configuration retrieval.
Value | Description |
---|---|
Creating | |
Updating | |
Deleting | |
Succeeded | |
Canceled | |
Failed | |
Deleted | |
Accepted |
NetworkSecurityPerimeterConfiguration
Network security perimeter configuration.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified identifier of the resource. |
name |
string |
Name of the resource. |
properties.networkSecurityPerimeter |
Perimeter info for nsp association. |
|
properties.profile |
Nsp profile configuration, access rules and diagnostic settings. |
|
properties.provisioningIssues |
Provisioning issues to reflect status when attempting to retrieve nsp profile configuration. |
|
properties.provisioningState |
Provisioning state to reflect configuration state and indicate status of nsp profile configuration retrieval. |
|
properties.resourceAssociation |
Nsp association name and access mode of association. |
|
type |
string |
Type of the resource. |
NetworkSecurityPerimeterConfigurationIssues
Network security perimeter configuration issues.
Name | Type | Description |
---|---|---|
name |
string |
Provisioning issue name. |
properties.description |
string |
Provisioning issue description. |
properties.issueType |
Provisioning issue type. |
|
properties.severity |
Provisioning issue severity. |
|
properties.suggestedAccessRules |
string[] |
Access rules that can be added to the same profile to remediate the issue. |
properties.suggestedResourceIds |
string[] |
ARM IDs of resources that can be associated to the same perimeter to remediate the issue. |
NetworkSecurityPerimeterConfigurationIssueSeverity
Provisioning issue severity.
Value | Description |
---|---|
Warning | |
Error |
NetworkSecurityPerimeterConfigurationIssueType
Provisioning issue type.
Value | Description |
---|---|
MissingPerimeterConfiguration | |
MissingIdentityConfiguration | |
ConfigurationPropagationFailure | |
Other |
NetworkSecurityPerimeterConfigurationList
Network security perimeter configuration List.
Name | Type | Description |
---|---|---|
nextLink |
string |
A link for the next page of Network Security Perimeter Configuration. |
value |
List of all network security parameter configurations. |
NetworkSecurityPerimeterConfigurationProfile
Nsp configuration with profile information.
Name | Type | Description |
---|---|---|
accessRules |
List of inbound or outbound access rule setup on the nsp profile. |
|
accessRulesVersion |
string |
Access rules version number for nsp profile. |
diagnosticSettingsVersion |
string |
Diagnostic settings version number for nsp profile. |
enabledLogCategories |
string[] |
Enabled log categories for nsp profile. |
name |
string |
Nsp configuration profile name. |
NetworkSecurityPerimeterInfo
Network security perimeter info.
Name | Type | Description |
---|---|---|
id |
string |
Arm id for network security perimeter. |
location |
string |
Network security perimeter location. |
perimeterGuid |
string |
Network security perimeter guid. |
NetworkSecurityPerimeterProfileAccessRule
Network security perimeter profile access rule.
Name | Type | Description |
---|---|---|
fullyQualifiedArmId |
string |
Fully Qualified Arm id for network security perimeter profile access rule. |
name |
string |
Name for nsp access rule. |
properties.addressPrefixes |
string[] |
Address prefixes. |
properties.direction |
NSP access rule direction. |
|
properties.emailAddresses |
string[] |
List of email addresses. |
properties.fullyQualifiedDomainNames |
string[] |
Fully qualified domain names. |
properties.networkSecurityPerimeters |
Network security perimeters. |
|
properties.phoneNumbers |
string[] |
List of phone numbers. |
properties.subscriptions |
List of subscriptions. |
|
type |
string |
nsp access rule type. |
NetworkSecurityPerimeterProfileAccessRuleDirection
NSP access rule direction.
Value | Description |
---|---|
Inbound | |
Outbound |
NetworkSecurityPerimeterResourceType
The type of the resource. This can be either 'topics' or 'domains'.
Value | Description |
---|---|
topics | |
domains |
NetworkSecurityPerimeterSubscription
Network security perimeter subscription inbound access rule.
Name | Type | Description |
---|---|---|
id |
string |
Subscription id. |
ResourceAssociation
Nsp resource association
Name | Type | Description |
---|---|---|
accessMode |
Network security perimeter access mode. |
|
name |
string |
Association name |