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