Microsoft Azure · Capability

Microsoft Azure ApiManagementClient — ProductPolicy

Microsoft Azure ApiManagementClient — ProductPolicy. 5 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureProductPolicy

What You Can Do

GET
Microsoftazureworkspaceproductpolicylistbyproduct — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/products/{productid}/policies
HEAD
Microsoftazureworkspaceproductpolicygetentitytag — Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/products/{productid}/policies/{policyid}
GET
Microsoftazureworkspaceproductpolicyget — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/products/{productid}/policies/{policyid}
PUT
Microsoftazureworkspaceproductpolicycreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/products/{productid}/policies/{policyid}
DELETE
Microsoftazureworkspaceproductpolicydelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/products/{productid}/policies/{policyid}

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies

read-only idempotent
microsoft-azure-head-subscriptions-subscriptionid

Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid

microsoft-azure-get-subscriptions-subscriptionid-2

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid

read-only idempotent
microsoft-azure-put-subscriptions-subscriptionid

Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid

idempotent

Capability Spec

apimanagementclient-productpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure ApiManagementClient — ProductPolicy
  description: 'Microsoft Azure ApiManagementClient — ProductPolicy. 5 operations. Lead operation: Microsoft Azure Get Subscriptions
    Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid
    Products Productid Policies. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - ProductPolicy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: apimanagementclient-productpolicy
    baseUri: https://management.azure.com
    description: Microsoft Azure ApiManagementClient — 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}/workspaces/{workspaceId}/products/{productId}/policies
      operations:
      - name: microsoftazureworkspaceproductpolicylistbyproduct
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies
        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}/workspaces/{workspaceId}/products/{productId}/policies/{policyId}
      operations:
      - name: microsoftazureworkspaceproductpolicygetentitytag
        method: HEAD
        description: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazureworkspaceproductpolicyget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazureworkspaceproductpolicycreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: parameters
          in: body
          type: string
          description: The policy contents to apply.
          required: true
      - name: microsoftazureworkspaceproductpolicydelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: apimanagementclient-productpolicy-rest
    port: 8080
    description: REST adapter for Microsoft Azure ApiManagementClient — ProductPolicy. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/products/{productid}/policies
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureworkspaceproductpolicylistbyproduct
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies
        call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicylistbyproduct
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/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: microsoftazureworkspaceproductpolicygetentitytag
        description: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicygetentitytag
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazureworkspaceproductpolicyget
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicyget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureworkspaceproductpolicycreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicycreateorupdate
        with:
          parameters: rest.parameters
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureworkspaceproductpolicydelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
        call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicydelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apimanagementclient-productpolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure ApiManagementClient — ProductPolicy. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-subscriptions-subscriptionid
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement
        Service Servicename Workspaces Workspaceid Products Productid Policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicylistbyproduct
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-head-subscriptions-subscriptionid
      description: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicygetentitytag
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-subscriptions-subscriptionid-2
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement
        Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicyget
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-subscriptions-subscriptionid
      description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement
        Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicycreateorupdate
      with:
        parameters: tools.parameters
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-subscriptions-subscriptionid
      description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Apimanagement Service Servicename Workspaces Workspaceid Products Productid Policies Policyid
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apimanagementclient-productpolicy.microsoftazureworkspaceproductpolicydelete
      outputParameters:
      - type: object
        mapping: $.