naftiko: 1.0.0-alpha2 info: label: Microsoft Azure ComponentPolicyStatesClient — Subscriptions description: 'Microsoft Azure ComponentPolicyStatesClient — Subscriptions. 5 operations. Lead operation: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Subscriptions 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: componentpolicystatesclient-subscriptions baseUri: https://management.azure.com description: Microsoft Azure ComponentPolicyStatesClient — Subscriptions business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.PolicyInsights-componentPolicyS path: /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults operations: - name: microsoftazurecomponentpolicystateslistqueryresultsforsubscription method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-providers-authorizationNamespace-policyAssignments- path: /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults operations: - name: microsoftazurecomponentpolicystateslistqueryresultsforsubscriptionlevelpolicyassignment method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Providers Authorizationnamespace Policyassignments Policyassignmentname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-providers-authorizationNamespace-policyDefinitions- path: /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults operations: - name: microsoftazurecomponentpolicystateslistqueryresultsforpolicydefinition method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Providers Authorizationnamespace Policydefinitions Policydefinitionname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults operations: - name: microsoftazurecomponentpolicystateslistqueryresultsforresourcegroup method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-authoriz path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults operations: - name: microsoftazurecomponentpolicystateslistqueryresultsforresourcegrouplevelpolicyassignment method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Authorizationnamespace Policyassignments Policyassignmentname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresourc outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: componentpolicystatesclient-subscriptions-rest port: 8080 description: REST adapter for Microsoft Azure ComponentPolicyStatesClient — Subscriptions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-policyinsights/componentpolicystates/{componentpolicystatesresource}/queryresults name: subscriptions-subscriptionid-providers-microsoft-policyinsights-componentpolicys description: REST surface for subscriptions-subscriptionId-providers-Microsoft.PolicyInsights-componentPolicyS. operations: - method: POST name: microsoftazurecomponentpolicystateslistqueryresultsforsubscription description: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforsubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/providers/{authorizationnamespace}/policyassignments/{policyassignmentname}/providers/microsoft-policyinsights/componentpolicystates/{componentpolicystatesresource}/queryresults name: subscriptions-subscriptionid-providers-authorizationnamespace-policyassignments description: REST surface for subscriptions-subscriptionId-providers-authorizationNamespace-policyAssignments-. operations: - method: POST name: microsoftazurecomponentpolicystateslistqueryresultsforsubscriptionlevelpolicyassignment description: Microsoft Azure Post Subscriptions Subscriptionid Providers Authorizationnamespace Policyassignments Policyassignmentname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforsubscriptionlevelpolicyassignment outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/providers/{authorizationnamespace}/policydefinitions/{policydefinitionname}/providers/microsoft-policyinsights/componentpolicystates/{componentpolicystatesresource}/queryresults name: subscriptions-subscriptionid-providers-authorizationnamespace-policydefinitions description: REST surface for subscriptions-subscriptionId-providers-authorizationNamespace-policyDefinitions-. operations: - method: POST name: microsoftazurecomponentpolicystateslistqueryresultsforpolicydefinition description: Microsoft Azure Post Subscriptions Subscriptionid Providers Authorizationnamespace Policydefinitions Policydefinitionname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforpolicydefinition outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-policyinsights/componentpolicystates/{componentpolicystatesresource}/queryresults name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurecomponentpolicystateslistqueryresultsforresourcegroup description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/{authorizationnamespace}/policyassignments/{policyassignmentname}/providers/microsoft-policyinsights/componentpolicystates/{componentpolicystatesresource}/queryresults name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-authoriz description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-authoriz. operations: - method: POST name: microsoftazurecomponentpolicystateslistqueryresultsforresourcegrouplevelpolicyassignment description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Authorizationnamespace Policyassignments Policyassignmentname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresourc call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforresourcegrouplevelpolicyassignment outputParameters: - type: object mapping: $. - type: mcp namespace: componentpolicystatesclient-subscriptions-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure ComponentPolicyStatesClient — Subscriptions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-post-subscriptions-subscriptionid description: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults hints: readOnly: true destructive: false idempotent: false call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforsubscription outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-2 description: Microsoft Azure Post Subscriptions Subscriptionid Providers Authorizationnamespace Policyassignments Policyassignmentname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults hints: readOnly: true destructive: false idempotent: false call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforsubscriptionlevelpolicyassignment outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-3 description: Microsoft Azure Post Subscriptions Subscriptionid Providers Authorizationnamespace Policydefinitions Policydefinitionname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults hints: readOnly: true destructive: false idempotent: false call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforpolicydefinition outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-4 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresource Queryresults hints: readOnly: true destructive: false idempotent: false call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforresourcegroup outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-5 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Authorizationnamespace Policyassignments Policyassignmentname Providers Microsoft Policyinsights Componentpolicystates Componentpolicystatesresourc hints: readOnly: false destructive: false idempotent: false call: componentpolicystatesclient-subscriptions.microsoftazurecomponentpolicystateslistqueryresultsforresourcegrouplevelpolicyassignment outputParameters: - type: object mapping: $.