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: $.