Microsoft Azure Local Rules API

The LocalRules API from Microsoft Azure, for localrules.

GitHub OpenAPI
Business capability
Security Architecture Management BC-620.50

Operations 7

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/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules List rules in a local rulestack · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which rules are defined in my Cloud NGFW local rulestack?”
“Can I see every rule in a local rulestack ordered by priority?”
Tell an agent
List the rules in local rulestack {localRulestackName}.
Show all local rules on rulestack {localRulestackName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority} Get a local rule by priority · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I look up the rule at a given priority in a local rulestack?”
“What match criteria and action does one local rule have?”
Tell an agent
Show the local rule at priority {priority} in rulestack {localRulestackName}.
Get local rule {priority} from rulestack {localRulestackName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority} Create a local rule at a priority · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add a new firewall rule to a local rulestack?”
“Can I overwrite the rule sitting at a given priority?”
Tell an agent
Create a local rule at priority {priority} in rulestack {localRulestackName}.
Replace local rule {priority} in rulestack {localRulestackName} with these properties.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority} Delete a local rule · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I remove a single rule from a local rulestack?”
“What happens to the priority slot after I delete a local rule?”
Tell an agent destructive · confirm first
Delete the local rule at priority {priority} in rulestack {localRulestackName}.
Remove local rule {priority} from rulestack {localRulestackName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/getCounters Get hit counters for a local rule · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How many times has a local rule been hit?”
“Can I see a rule's hit counters for one specific firewall?”
Tell an agent
Get hit counters for local rule {priority} in rulestack {localRulestackName}.
Show rule {priority} hit counts on firewall {firewallName} for rulestack {localRulestackName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/refreshCounters Refresh hit counters for a local rule · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Are local rule hit counters live, or do I need to refresh them?”
“Can I refresh counters for just one firewall using the rule?”
Tell an agent
Refresh hit counters for local rule {priority} in rulestack {localRulestackName}.
Refresh the counters of rule {priority} on firewall {firewallName} in rulestack {localRulestackName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/resetCounters Reset hit counters for a local rule to zero · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I zero out a local rule's hit counters?”
“Can I reset rule counters for a single firewall only?”
Tell an agent destructive · confirm first
Reset hit counters for local rule {priority} in rulestack {localRulestackName}.
Zero the counters of rule {priority} on firewall {firewallName} in rulestack {localRulestackName}.

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-localrules-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-localrules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure PaloAltoNetworks.Cloudngfw Local Rules API
  version: 2024-01-19-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: LocalRules
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules
  : get:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesListbylocalrulestacks
      description: List LocalRulesResource resources by LocalRulestacks
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalRulesResourceListResult'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        LocalRules_ListByLocalRulestacks_MaximumSet_Gen:
          $ref: ./examples/LocalRules_ListByLocalRulestacks_MaximumSet_Gen.json
        LocalRules_ListByLocalRulestacks_MinimumSet_Gen:
          $ref: ./examples/LocalRules_ListByLocalRulestacks_MinimumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}
  : get:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesGet
      description: Get a LocalRulesResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      - $ref: '#/components/parameters/LocalRulesResource.priority'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalRulesResource'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        LocalRules_Get_MaximumSet_Gen:
          $ref: ./examples/LocalRules_Get_MaximumSet_Gen.json
        LocalRules_Get_MinimumSet_Gen:
          $ref: ./examples/LocalRules_Get_MinimumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesCreateorupdate
      description: Create a LocalRulesResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      - $ref: '#/components/parameters/LocalRulesResource.priority'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalRulesResource'
        '201':
          description: Azure create operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalRulesResource'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      x-ms-examples:
        LocalRules_CreateOrUpdate_MaximumSet_Gen:
          $ref: ./examples/LocalRules_CreateOrUpdate_MaximumSet_Gen.json
        LocalRules_CreateOrUpdate_MinimumSet_Gen:
          $ref: ./examples/LocalRules_CreateOrUpdate_MinimumSet_Gen.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocalRulesResource'
        description: Resource create parameters.
        required: true
    delete:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesDelete
      description: Delete a LocalRulesResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      - $ref: '#/components/parameters/LocalRulesResource.priority'
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
        '204':
          description: Resource deleted successfully.
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      x-ms-examples:
        LocalRules_Delete_MaximumSet_Gen:
          $ref: ./examples/LocalRules_Delete_MaximumSet_Gen.json
        LocalRules_Delete_MinimumSet_Gen:
          $ref: ./examples/LocalRules_Delete_MinimumSet_Gen.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/getCounters
  : post:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesGetcounters
      description: Get counters
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      - $ref: '#/components/parameters/LocalRulesResource.priority'
      - name: firewallName
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleCounter'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        LocalRules_getCounters_MaximumSet_Gen:
          $ref: ./examples/LocalRules_getCounters_MaximumSet_Gen.json
        LocalRules_getCounters_MinimumSet_Gen:
          $ref: ./examples/LocalRules_getCounters_MinimumSet_Gen.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/refreshCounters
  : post:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesRefreshcounters
      description: Refresh counters
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      - $ref: '#/components/parameters/LocalRulesResource.priority'
      - name: firewallName
        in: query
        required: false
        schema:
          type: string
      responses:
        '204':
          description: 'There is no content to send for this request, but the headers may be useful. '
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        LocalRules_refreshCounters_MaximumSet_Gen:
          $ref: ./examples/LocalRules_refreshCounters_MaximumSet_Gen.json
        LocalRules_refreshCounters_MinimumSet_Gen:
          $ref: ./examples/LocalRules_refreshCounters_MinimumSet_Gen.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/resetCounters
  : post:
      tags:
      - LocalRules
      operationId: microsoftAzureLocalrulesResetcounters
      description: Reset counters
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/LocalRulestackResource.localRulestackName'
      - $ref: '#/components/parameters/LocalRulesResource.priority'
      - name: firewallName
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleCounterReset'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        LocalRules_resetCounters_MaximumSet_Gen:
          $ref: ./examples/LocalRules_resetCounters_MaximumSet_Gen.json
        LocalRules_resetCounters_MinimumSet_Gen:
          $ref: ./examples/LocalRules_resetCounters_MinimumSet_Gen.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    StateEnum:
      type: string
      description: Enabled or Disabled Enum
      enum:
      - DISABLED
      - ENABLED
      x-ms-enum:
        name: StateEnum
        modelAsString: true
    LocalRulesResource:
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/RuleEntry'
          description: The resource-specific properties for this resource.
          x-ms-mutability:
          - read
          - create
          x-ms-client-flatten: true
        systemData:
          $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/systemData
          description: System metadata for this resource.
          readOnly: true
      description: LocalRulestack rule list
      required:
      - properties
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource
    DestinationAddr:
      type: object
      properties:
        cidrs:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: special value 'any'
        countries:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: list of countries
        feeds:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: list of feeds
        prefixLists:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: prefix list
        fqdnLists:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: fqdn list
      description: destination address
    SourceAddr:
      type: object
      properties:
        cidrs:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: special value 'any'
        countries:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: list of countries
        feeds:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: list of feeds
        prefixLists:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: prefix list
      description: Address properties
    AppSeenData:
      type: object
      properties:
        count:
          type: integer
          format: int32
          description: number of rows
        appSeenList:
          type: array
          items:
            $ref: '#/components/schemas/AppSeenInfo'
          x-ms-identifiers: []
          x-cadl-name: AppSeenInfo[]
          description: array of appSeen
      description: Data Type for App Seen
      required:
      - count
      - appSeenList
    RuleCounterReset:
      type: object
      properties:
        priority:
          type: string
          description: priority number
          readOnly: true
        ruleStackName:
          type: string
          description: rule Stack Name
        ruleListName:
          type: string
          description: rule list name
        firewallName:
          type: string
          description: firewall name
        ruleName:
          type: string
          description: rule name
      description: Rule counter reset
    BooleanEnum:
      type: string
      description: Boolean Enum
      enum:
      - 'TRUE'
      - 'FALSE'
      x-ms-enum:
        name: BooleanEnum
        modelAsString: true
    ActionEnum:
      type: string
      enum:
      - Allow
      - DenySilent
      - DenyResetServer
      - DenyResetBoth
      x-ms-enum:
        name: ActionEnum
        modelAsString: true
    RuleCounter:
      type: object
      properties:
        priority:
          type: string
          description: priority number
        ruleStackName:
          type: string
          description: rule Stack Name
        ruleListName:
          type: string
          description: rule list name
        firewallName:
          type: string
          description: firewall name
        ruleName:
          type: string
          description: rule name
        hitCount:
          type: integer
          format: int32
          description: hit count
        appSeen:
          $ref: '#/components/schemas/AppSeenData'
          description: apps seen
        timestamp:
          type: string
          format: date-time
          description: timestamp of response
        requestTimestamp:
          type: string
          format: date-time
          description: timestamp of request
        lastUpdatedTimestamp:
          type: string
          format: date-time
          description: last updated timestamp
      description: Rule counter
      required:
      - priority
      - ruleName
    TagInfo:
      type: object
      properties:
        key:
          type: string
          description: tag name
        value:
          type: string
          description: tag value
      description: Tag
      required:
      - key
      - value
    Category:
      type: object
      properties:
        urlCustom:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: custom URL
        feeds:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: feed list
      description: URL/EDL to match
      required:
      - urlCustom
      - feeds
    ProvisioningState:
      type: string
      description: Provisioning state of the firewall resource.
      enum:
      - Accepted
      - Creating
      - Updating
      - Deleting
      - Succeeded
      - Failed
      - Canceled
      - Deleted
      - NotSpecified
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
    DecryptionRuleTypeEnum:
      type: string
      enum:
      - SSLOutboundInspection
      - SSLInboundInspection
      - None
      x-ms-enum:
        name: DecryptionRuleTypeEnum
        modelAsString: true
    LocalRulesResourceListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/LocalRulesResource'
          x-cadl-name: LocalRulesResource[]
          description: The items on this page
        nextLink:
          type: string
          description: The link to the next page of items
      description: The response of a LocalRulesResource list operation.
      required:
      - value
    AppSeenInfo:
      type: object
      properties:
        title:
          type: string
          description: title
        category:
          type: string
          description: category
        subCategory:
          type: string
          description: subCategory
        risk:
          type: string
          description: risk
        tag:
          type: string
          description: tag
        technology:
          type: string
          description: technology
        standardPorts:
          type: string
          description: standardPorts
      description: Definition for App Seen
      required:
      - title
      - category
      - subCategory
      - risk
      - tag
      - technology
      - standardPorts
    RuleEntry:
      type: object
      properties:
        etag:
          type: string
          description: etag info
        ruleName:
          type: string
          description: rule name
        priority:
          type: integer
          format: int32
          readOnly: true
        description:
          type: string
          description: rule description
        ruleState:
          $ref: '#/components/schemas/StateEnum'
          description: state of this rule
        source:
          $ref: '#/components/schemas/SourceAddr'
          description: source address
        negateSource:
          $ref: '#/components/schemas/BooleanEnum'
          description: cidr should not be 'any'
        destination:
          $ref: '#/components/schemas/DestinationAddr'
          description: destination address
        negateDestination:
          $ref: '#/components/schemas/BooleanEnum'
          description: cidr should not be 'any'
        applications:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: array of rule applications
        category:
          $ref: '#/components/schemas/Category'
          description: rule category
        protocol:
          type: string
          description: any, application-default, TCP:number, UDP:number
          default: application-default
        protocolPortList:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: prot port list
        inboundInspectionCertificate:
          type: string
          description: inbound Inspection Certificate
        auditComment:
          type: string
          description: rule comment
        actionType:
          $ref: '#/components/schemas/ActionEnum'
          description: rule action
        enableLogging:
          $ref: '#/components/schemas/StateEnum'
          description: enable or disable logging
        decryptionRuleType:
          $ref: '#/components/schemas/DecryptionRuleTypeEnum'
          description: enable or disable decryption
        tags:
          type: array
          items:
            $ref: '#/components/schemas/TagInfo'
          x-ms-identifiers: []
          x-cadl-name: TagInfo[]
          description: tag for rule
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: Provisioning state of the resource.
          readOnly: true
      description: definition of rule
      required:
      - ruleName
  parameters:
    LocalRulesResource.priority:
      name: priority
      in: path
      required: true
      description: Local Rule priority
      x-ms-parameter-location: method
      schema:
        type: string
    LocalRulestackResource.localRulestackName:
      name: localRulestackName
      in: path
      required: true
      description: LocalRulestack resource name
      x-ms-parameter-location: method
      schema:
        type: string
  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.