Microsoft Azure Prefix List Local Rulestack API

The PrefixListLocalRulestack API from Microsoft Azure, for prefixlistlocalrulestack.

GitHub OpenAPI

Operations 4

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}/prefixlists List prefix lists in a local rulestack · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which IP prefix lists are defined in my Cloud NGFW local rulestack?”
“Can I see every prefix list available to rules in a local rulestack?”
Tell an agent
List prefix lists in local rulestack {localRulestackName}.
Show all IP prefix lists for rulestack {localRulestackName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/prefixlists/{name} Get a prefix list in a local rulestack · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What address prefixes are in a particular prefix list?”
“Can I look up one prefix list by name in a local rulestack?”
Tell an agent
Get prefix list {name} in local rulestack {localRulestackName}.
Show the prefixes in list {name} of {localRulestackName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/prefixlists/{name} Create a prefix list in a local rulestack · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I define a reusable set of IP prefixes for my firewall rules?”
“Can I replace the prefixes in an existing prefix list?”
Tell an agent
Create prefix list {name} in local rulestack {localRulestackName} with properties {properties}.
Create or overwrite IP prefix list {name} for {localRulestackName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/prefixlists/{name} Delete a prefix list from a local rulestack · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove a prefix list I no longer reference in rules?”
“Can I delete one prefix list from a Cloud NGFW local rulestack?”
Tell an agent destructive · confirm first
Delete prefix list {name} from local rulestack {localRulestackName}.
Remove IP prefix list {name} from {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-prefixlistlocalrulestack-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-prefixlistlocalrulestack-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure PaloAltoNetworks.Cloudngfw Prefix List…
  version: 2024-01-19-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PrefixListLocalRulestack
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/prefixlists
  : get:
      tags:
      - PrefixListLocalRulestack
      operationId: microsoftAzurePrefixlistlocalrulestackListbylocalrulestacks
      description: List PrefixListResource 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/PrefixListResourceListResult'
        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:
        PrefixListLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen.json
        PrefixListLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/prefixlists/{name}
  : get:
      tags:
      - PrefixListLocalRulestack
      operationId: microsoftAzurePrefixlistlocalrulestackGet
      description: Get a PrefixListResource
      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/PrefixListResource.name'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrefixListResource'
        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:
        PrefixListLocalRulestack_Get_MaximumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_Get_MaximumSet_Gen.json
        PrefixListLocalRulestack_Get_MinimumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_Get_MinimumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - PrefixListLocalRulestack
      operationId: microsoftAzurePrefixlistlocalrulestackCreateorupdate
      description: Create a PrefixListResource
      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/PrefixListResource.name'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrefixListResource'
        '201':
          description: Azure create operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrefixListResource'
        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:
        PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json
        PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrefixListResource'
        description: Resource create parameters.
        required: true
    delete:
      tags:
      - PrefixListLocalRulestack
      operationId: microsoftAzurePrefixlistlocalrulestackDelete
      description: Delete a PrefixListResource
      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/PrefixListResource.name'
      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:
        PrefixListLocalRulestack_Delete_MaximumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_Delete_MaximumSet_Gen.json
        PrefixListLocalRulestack_Delete_MinimumSet_Gen:
          $ref: ./examples/PrefixListLocalRulestack_Delete_MinimumSet_Gen.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    PrefixListResource:
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/PrefixObject'
          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 prefixList
      required:
      - properties
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource
    PrefixObject:
      type: object
      properties:
        description:
          type: string
          description: prefix description
        prefixList:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: prefix list
        etag:
          type: string
          description: etag info
        auditComment:
          type: string
          description: comment for this object
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: Provisioning state of the resource.
          readOnly: true
      description: prefix entry
      required:
      - prefixList
    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
    PrefixListResourceListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/PrefixListResource'
          x-cadl-name: PrefixListResource[]
          description: The items on this page
        nextLink:
          type: string
          description: The link to the next page of items
      description: The response of a PrefixListResource list operation.
      required:
      - value
  parameters:
    PrefixListResource.name:
      name: name
      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.