{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-service-bus/json-schema/azure-service-bus-network-security-perimeter-configuration-list-schema.json",
  "title": "NetworkSecurityPerimeterConfigurationList",
  "description": "Result of the List NetworkSecurityPerimeterConfiguration operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-service-bus-networksecurityperimeterconfigurations-api-openapi.yml#/components/schemas/NetworkSecurityPerimeterConfigurationList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The NetworkSecurityPerimeterConfiguration items on this page",
      "items": {
        "$ref": "#/$defs/NetworkSecurityPerimeterConfiguration"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "NetworkSecurityPerimeter": {
      "type": "object",
      "description": "NetworkSecurityPerimeter related information",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified identifier of the resource",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Network/networkSecurityPerimeters"
              }
            ]
          }
        },
        "perimeterGuid": {
          "type": "string",
          "description": "Guid of the resource"
        },
        "location": {
          "type": "string",
          "description": "Location of the resource"
        }
      }
    },
    "NetworkSecurityPerimeterConfiguration": {
      "type": "object",
      "description": "Network Security Perimeter related configurations of a given namespace",
      "properties": {
        "properties": {
          "$ref": "#/$defs/NetworkSecurityPerimeterConfigurationProperties",
          "description": "Properties of the Network Security Perimeter Configuration",
          "x-ms-client-flatten": true
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "NetworkSecurityPerimeterConfigurationProperties": {
      "type": "object",
      "description": "Properties of NetworkSecurityPerimeterConfiguration",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/NetworkSecurityPerimeterConfigurationProvisioningState",
          "description": "Provisioning state of NetworkSecurityPerimeter configuration propagation",
          "readOnly": true
        },
        "provisioningIssues": {
          "type": "array",
          "description": "List of Provisioning Issues if any",
          "items": {
            "$ref": "#/$defs/ProvisioningIssue"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "networkSecurityPerimeter": {
          "$ref": "#/$defs/NetworkSecurityPerimeter",
          "description": "NetworkSecurityPerimeter related information"
        },
        "resourceAssociation": {
          "$ref": "#/$defs/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation",
          "description": "Information about resource association",
          "readOnly": true
        },
        "profile": {
          "$ref": "#/$defs/NetworkSecurityPerimeterConfigurationPropertiesProfile",
          "description": "Information about current network profile",
          "readOnly": true
        },
        "isBackingResource": {
          "type": "boolean",
          "description": "True if the ServiceBus namespace is backed by another Azure resource and not visible to end users.",
          "readOnly": true
        },
        "applicableFeatures": {
          "type": "array",
          "description": "Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's data plane.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "parentAssociationName": {
          "type": "string",
          "description": "Source Resource Association name",
          "readOnly": true
        },
        "sourceResourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "ARM Id of source resource",
          "readOnly": true
        }
      }
    },
    "NetworkSecurityPerimeterConfigurationPropertiesProfile": {
      "type": "object",
      "description": "Information about current network profile",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the resource"
        },
        "accessRulesVersion": {
          "type": "string",
          "description": "Current access rules version"
        },
        "accessRules": {
          "type": "array",
          "description": "List of Access Rules",
          "items": {
            "$ref": "#/$defs/NspAccessRule"
          }
        }
      }
    },
    "NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation": {
      "type": "object",
      "description": "Information about resource association",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the resource association"
        },
        "accessMode": {
          "$ref": "#/$defs/ResourceAssociationAccessMode",
          "description": "Access Mode of the resource association"
        }
      }
    },
    "NetworkSecurityPerimeterConfigurationProvisioningState": {
      "type": "string",
      "description": "Provisioning state of NetworkSecurityPerimeter configuration propagation",
      "enum": [
        "Unknown",
        "Creating",
        "Updating",
        "Accepted",
        "InvalidResponse",
        "Succeeded",
        "SucceededWithIssues",
        "Failed",
        "Deleting",
        "Deleted",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "NetworkSecurityPerimeterConfigurationProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Accepted",
            "value": "Accepted"
          },
          {
            "name": "InvalidResponse",
            "value": "InvalidResponse"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "SucceededWithIssues",
            "value": "SucceededWithIssues"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Deleted",
            "value": "Deleted"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          }
        ]
      }
    },
    "NspAccessRule": {
      "type": "object",
      "description": "Information of Access Rule in Network Profile",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified identifier of the resource",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules"
              }
            ]
          }
        },
        "name": {
          "type": "string",
          "description": "Name of the resource"
        },
        "type": {
          "type": "string",
          "description": "Type of the resource"
        },
        "properties": {
          "$ref": "#/$defs/NspAccessRuleProperties",
          "description": "Properties of Access Rule",
          "readOnly": true
        }
      }
    },
    "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"
          }
        ]
      }
    },
    "NspAccessRuleProperties": {
      "type": "object",
      "description": "Properties of Access Rule",
      "properties": {
        "direction": {
          "$ref": "#/$defs/NspAccessRuleDirection",
          "description": "Direction of Access Rule"
        },
        "addressPrefixes": {
          "type": "array",
          "description": "Address prefixes in the CIDR format for inbound rules",
          "items": {
            "type": "string"
          }
        },
        "subscriptions": {
          "type": "array",
          "description": "Subscriptions for inbound rules",
          "items": {
            "$ref": "#/$defs/NspAccessRulePropertiesSubscriptionsItem"
          }
        },
        "networkSecurityPerimeters": {
          "type": "array",
          "description": "NetworkSecurityPerimeters for inbound rules",
          "items": {
            "$ref": "#/$defs/NetworkSecurityPerimeter"
          },
          "readOnly": true
        },
        "fullyQualifiedDomainNames": {
          "type": "array",
          "description": "FQDN for outbound rules",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      }
    },
    "NspAccessRulePropertiesSubscriptionsItem": {
      "type": "object",
      "description": "Subscription for inbound rule",
      "properties": {
        "id": {
          "type": "string",
          "description": "Fully qualified identifier of subscription"
        }
      }
    },
    "ProvisioningIssue": {
      "type": "object",
      "description": "Describes Provisioning issue for given NetworkSecurityPerimeterConfiguration",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the issue"
        },
        "properties": {
          "$ref": "#/$defs/ProvisioningIssueProperties",
          "description": "Properties of Provisioning Issue",
          "readOnly": true
        }
      }
    },
    "ProvisioningIssueProperties": {
      "type": "object",
      "description": "Properties of Provisioning Issue",
      "properties": {
        "issueType": {
          "type": "string",
          "description": "Type of Issue"
        },
        "description": {
          "type": "string",
          "description": "Description of the issue"
        }
      }
    },
    "ResourceAssociationAccessMode": {
      "type": "string",
      "description": "Access Mode of the resource association",
      "enum": [
        "NoAssociationMode",
        "EnforcedMode",
        "LearningMode",
        "AuditMode",
        "UnspecifiedMode"
      ],
      "x-ms-enum": {
        "name": "ResourceAssociationAccessMode",
        "modelAsString": true,
        "values": [
          {
            "name": "NoAssociationMode",
            "value": "NoAssociationMode"
          },
          {
            "name": "EnforcedMode",
            "value": "EnforcedMode"
          },
          {
            "name": "LearningMode",
            "value": "LearningMode"
          },
          {
            "name": "AuditMode",
            "value": "AuditMode"
          },
          {
            "name": "UnspecifiedMode",
            "value": "UnspecifiedMode"
          }
        ]
      }
    }
  }
}