Azure API Management REST API — ProductPolicy

Azure API Management REST API — ProductPolicy. 5 operations. Lead operation: Microsoft Azure API Management ProductPolicy_ListByProduct. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.

Run with Naftiko Microsoft Azure Api ManagementProductPolicy

What You Can Do

GET
Productpolicylistbyproduct — Microsoft Azure API Management ProductPolicy_ListByProduct
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies
HEAD
Productpolicygetentitytag — Microsoft Azure API Management ProductPolicy_GetEntityTag
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies/{policyid}
GET
Productpolicyget — Microsoft Azure API Management ProductPolicy_Get
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies/{policyid}
PUT
Productpolicycreateorupdate — Microsoft Azure API Management ProductPolicy_CreateOrUpdate
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies/{policyid}
DELETE
Productpolicydelete — Microsoft Azure API Management ProductPolicy_Delete
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies/{policyid}

MCP Tools

microsoft-azure-api-management-productpolicy

Microsoft Azure API Management ProductPolicy_ListByProduct

read-only idempotent
microsoft-azure-api-management-productpolicy-2

Microsoft Azure API Management ProductPolicy_GetEntityTag

microsoft-azure-api-management-productpolicy-3

Microsoft Azure API Management ProductPolicy_Get

read-only idempotent
microsoft-azure-api-management-productpolicy-4

Microsoft Azure API Management ProductPolicy_CreateOrUpdate

idempotent
microsoft-azure-api-management-productpolicy-5

Microsoft Azure API Management ProductPolicy_Delete

idempotent

Capability Spec

rest-productpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure API Management REST API — ProductPolicy
  description: 'Azure API Management REST API — ProductPolicy. 5 operations. Lead operation: Microsoft Azure API Management
    ProductPolicy_ListByProduct. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.'
  tags:
  - Microsoft Azure Api Management
  - ProductPolicy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_MANAGEMENT_API_KEY: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-productpolicy
    baseUri: https://management.azure.com
    description: Azure API Management REST API — ProductPolicy business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies
      operations:
      - name: productpolicylistbyproduct
        method: GET
        description: Microsoft Azure API Management ProductPolicy_ListByProduct
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}
      operations:
      - name: productpolicygetentitytag
        method: HEAD
        description: Microsoft Azure API Management ProductPolicy_GetEntityTag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: productpolicyget
        method: GET
        description: Microsoft Azure API Management ProductPolicy_Get
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: productpolicycreateorupdate
        method: PUT
        description: Microsoft Azure API Management ProductPolicy_CreateOrUpdate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: productpolicydelete
        method: DELETE
        description: Microsoft Azure API Management ProductPolicy_Delete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_API_MANAGEMENT_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-productpolicy-rest
    port: 8080
    description: REST adapter for Azure API Management REST API — ProductPolicy. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: productpolicylistbyproduct
        description: Microsoft Azure API Management ProductPolicy_ListByProduct
        call: rest-productpolicy.productpolicylistbyproduct
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/products/{productid}/policies/{policyid}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: HEAD
        name: productpolicygetentitytag
        description: Microsoft Azure API Management ProductPolicy_GetEntityTag
        call: rest-productpolicy.productpolicygetentitytag
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: productpolicyget
        description: Microsoft Azure API Management ProductPolicy_Get
        call: rest-productpolicy.productpolicyget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: productpolicycreateorupdate
        description: Microsoft Azure API Management ProductPolicy_CreateOrUpdate
        call: rest-productpolicy.productpolicycreateorupdate
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: productpolicydelete
        description: Microsoft Azure API Management ProductPolicy_Delete
        call: rest-productpolicy.productpolicydelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-productpolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure API Management REST API — ProductPolicy. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-api-management-productpolicy
      description: Microsoft Azure API Management ProductPolicy_ListByProduct
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-productpolicy.productpolicylistbyproduct
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-productpolicy-2
      description: Microsoft Azure API Management ProductPolicy_GetEntityTag
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-productpolicy.productpolicygetentitytag
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-productpolicy-3
      description: Microsoft Azure API Management ProductPolicy_Get
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-productpolicy.productpolicyget
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-productpolicy-4
      description: Microsoft Azure API Management ProductPolicy_CreateOrUpdate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-productpolicy.productpolicycreateorupdate
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-productpolicy-5
      description: Microsoft Azure API Management ProductPolicy_Delete
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-productpolicy.productpolicydelete
      outputParameters:
      - type: object
        mapping: $.