Microsoft Azure · Capability

Microsoft Azure ApiManagementClient — WorkspacePolicy

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

Run with Naftiko Microsoft AzureWorkspacePolicy

What You Can Do

GET
Microsoftazureworkspacepolicylistbyapi — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Policies
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies
HEAD
Microsoftazureworkspacepolicygetentitytag — Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies/{policyid}
GET
Microsoftazureworkspacepolicyget — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies/{policyid}
PUT
Microsoftazureworkspacepolicycreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies/{policyid}
DELETE
Microsoftazureworkspacepolicydelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies/{policyid}

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

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

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

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

microsoft-azure-get-subscriptions-subscriptionid-2

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

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

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

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

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

idempotent

Capability Spec

apimanagementclient-workspacepolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure ApiManagementClient — WorkspacePolicy
  description: 'Microsoft Azure ApiManagementClient — WorkspacePolicy. 5 operations. Lead operation: Microsoft Azure Get Subscriptions
    Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid
    Policies. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - WorkspacePolicy
  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-workspacepolicy
    baseUri: https://management.azure.com
    description: Microsoft Azure ApiManagementClient — WorkspacePolicy 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}/policies
      operations:
      - name: microsoftazureworkspacepolicylistbyapi
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid 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}/policies/{policyId}
      operations:
      - name: microsoftazureworkspacepolicygetentitytag
        method: HEAD
        description: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazureworkspacepolicyget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazureworkspacepolicycreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid 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: microsoftazureworkspacepolicydelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: apimanagementclient-workspacepolicy-rest
    port: 8080
    description: REST adapter for Microsoft Azure ApiManagementClient — WorkspacePolicy. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureworkspacepolicylistbyapi
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies
        call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicylistbyapi
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/workspaces/{workspaceid}/policies/{policyid}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: HEAD
        name: microsoftazureworkspacepolicygetentitytag
        description: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicygetentitytag
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazureworkspacepolicyget
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicyget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureworkspacepolicycreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicycreateorupdate
        with:
          parameters: rest.parameters
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureworkspacepolicydelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Apimanagement Service Servicename Workspaces Workspaceid Policies Policyid
        call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicydelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apimanagementclient-workspacepolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure ApiManagementClient — WorkspacePolicy. 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 Policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicylistbyapi
      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 Policies Policyid
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicygetentitytag
      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 Policies Policyid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicyget
      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 Policies Policyid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicycreateorupdate
      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 Policies Policyid
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apimanagementclient-workspacepolicy.microsoftazureworkspacepolicydelete
      outputParameters:
      - type: object
        mapping: $.