Azure Networking Services Security User Rules API

The SecurityUserRules API from Azure Networking Services — 2 operation(s) for securityuserrules.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules Security user rules list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName} Security user rules get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName} Security user rules create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName} Security user rules delete #

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/azure-networking-services:azure-networking-services-securityuserrules-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

azure-networking-services-securityuserrules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Security User Rules API
  version: '2026-03-01'
  description: APIs to manage Microsoft Azure network resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: SecurityUserRules
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules
  : get:
      operationId: SecurityUserRules_List
      tags:
      - SecurityUserRules
      description: Lists all Security User Rules in a rule collection.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkManagerName
        in: path
        description: The name of the network manager.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: configurationName
        in: path
        description: The name of the network manager Security Configuration.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleCollectionName
        in: path
        description: The name of the network manager security Configuration rule collection.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: $top
        in: query
        description: An optional query parameter which specifies the maximum number of records to be returned by the server.
        required: false
        schema:
          type: integer
          format: int32
          maximum: 20
          minimum: 1
      - name: $skipToken
        in: query
        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.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityUserRuleListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Security user rules list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}
  : get:
      operationId: SecurityUserRules_Get
      tags:
      - SecurityUserRules
      description: Gets a security user rule.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkManagerName
        in: path
        description: The name of the network manager.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: configurationName
        in: path
        description: The name of the network manager Security Configuration.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleCollectionName
        in: path
        description: The name of the network manager security Configuration rule collection.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleName
        in: path
        description: The name of the rule.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityUserRule'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Security user rules get
      x-summary-source: derived
    put:
      operationId: SecurityUserRules_CreateOrUpdate
      tags:
      - SecurityUserRules
      description: Creates or updates a security user rule.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkManagerName
        in: path
        description: The name of the network manager.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: configurationName
        in: path
        description: The name of the network manager Security Configuration.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleCollectionName
        in: path
        description: The name of the network manager security Configuration rule collection.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleName
        in: path
        description: The name of the rule.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      responses:
        '200':
          description: Resource 'SecurityUserRule' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityUserRule'
        '201':
          description: Resource 'SecurityUserRule' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityUserRule'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecurityUserRule'
        description: The security user rule to create or update
        required: true
      summary: Security user rules create or update
      x-summary-source: derived
    delete:
      operationId: SecurityUserRules_Delete
      tags:
      - SecurityUserRules
      description: Deletes a security user rule.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkManagerName
        in: path
        description: The name of the network manager.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: configurationName
        in: path
        description: The name of the network manager Security Configuration.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleCollectionName
        in: path
        description: The name of the network manager security Configuration rule collection.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: ruleName
        in: path
        description: The name of the rule.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9_.-]*$
      - name: force
        in: query
        description: Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            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
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Security user rules delete
      x-summary-source: derived
components:
  schemas:
    ProvisioningState:
      type: string
      description: Provisioning states of a resource.
      enum:
      - Failed
      - Succeeded
      - Canceled
      - Creating
      - Updating
      - Deleting
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Failed
          value: Failed
          description: Failed
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Canceled
          value: Canceled
          description: Canceled
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
    AddressPrefixItem:
      type: object
      description: Address prefix item.
      properties:
        addressPrefix:
          type: string
          description: Address prefix.
        addressPrefixType:
          $ref: '#/components/schemas/AddressPrefixType'
          description: Address prefix type.
    AddressPrefixType:
      type: string
      description: Address prefix type.
      enum:
      - IPPrefix
      - ServiceTag
      - NetworkGroup
      x-ms-enum:
        name: AddressPrefixType
        modelAsString: true
        values:
        - name: IPPrefix
          value: IPPrefix
          description: IPPrefix
        - name: ServiceTag
          value: ServiceTag
          description: ServiceTag
        - name: NetworkGroup
          value: NetworkGroup
          description: NetworkGroup
    ChildResource:
      type: object
      description: Proxy resource representation.
      properties:
        id:
          type: string
          description: Resource ID.
          readOnly: true
        name:
          type: string
          description: Resource name.
          readOnly: true
        type:
          type: string
          description: Resource type.
          readOnly: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      x-ms-azure-resource: true
    SecurityUserRuleListResult:
      type: object
      description: The response of a SecurityUserRule list operation.
      properties:
        value:
          type: array
          description: The SecurityUserRule items on this page
          items:
            $ref: '#/components/schemas/SecurityUserRule'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    SecurityUserRule:
      type: object
      description: Network security user rule.
      properties:
        properties:
          $ref: '#/components/schemas/SecurityUserRulePropertiesFormat'
          description: Indicates the properties of the security user rule
          x-ms-client-flatten: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: The system metadata related to this resource.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/ChildResource'
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    SecurityConfigurationRuleProtocol:
      type: string
      description: Network protocol this rule applies to.
      enum:
      - Tcp
      - Udp
      - Icmp
      - Esp
      - Any
      - Ah
      x-ms-enum:
        name: SecurityConfigurationRuleProtocol
        modelAsString: true
        values:
        - name: Tcp
          value: Tcp
          description: Tcp
        - name: Udp
          value: Udp
          description: Udp
        - name: Icmp
          value: Icmp
          description: Icmp
        - name: Esp
          value: Esp
          description: Esp
        - name: Any
          value: Any
          description: Any
        - name: Ah
          value: Ah
          description: Ah
    SecurityUserRulePropertiesFormat:
      type: object
      description: Security rule resource.
      properties:
        description:
          type: string
          description: A description for this rule.
        protocol:
          $ref: '#/components/schemas/SecurityConfigurationRuleProtocol'
          description: Network protocol this rule applies to.
        sources:
          type: array
          description: The CIDR or source IP ranges.
          items:
            $ref: '#/components/schemas/AddressPrefixItem'
          x-ms-identifiers:
          - addressPrefix
        destinations:
          type: array
          description: The destination address prefixes. CIDR or destination IP ranges.
          items:
            $ref: '#/components/schemas/AddressPrefixItem'
          x-ms-identifiers:
          - addressPrefix
        sourcePortRanges:
          type: array
          description: The source port ranges.
          items:
            type: string
        destinationPortRanges:
          type: array
          description: The destination port ranges.
          items:
            type: string
        direction:
          $ref: '#/components/schemas/SecurityConfigurationRuleDirection'
          description: Indicates if the traffic matched against the rule in inbound or outbound.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the security configuration user rule resource.
          readOnly: true
        resourceGuid:
          type: string
          description: Unique identifier for this resource.
          readOnly: true
      required:
      - protocol
      - direction
    SecurityConfigurationRuleDirection:
      type: string
      description: The direction of the rule. The direction specifies if the rule will be evaluated on incoming or outgoing traffic.
      enum:
      - Inbound
      - Outbound
      x-ms-enum:
        name: SecurityConfigurationRuleDirection
        modelAsString: true
        values:
        - name: Inbound
          value: Inbound
          description: Inbound
        - name: Outbound
          value: Outbound
          description: Outbound
    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
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    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
  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.