naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Azure Monitor Data Collection Control Plane API — DataCollectionRules description: 'Microsoft Azure Azure Monitor Data Collection Control Plane API — DataCollectionRules. 6 operations. Lead operation: Microsoft Azure Lists All Data Collection Rules In The Specified Subscription. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - DataCollectionRules 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: azure-monitor-data-collection-control-plane-datacollectionrules baseUri: https://management.azure.com description: Microsoft Azure Azure Monitor Data Collection Control Plane API — DataCollectionRules business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.Insights-dataCollectionRules path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionRules operations: - name: microsoftazuredatacollectionruleslistbysubscription method: GET description: Microsoft Azure Lists All Data Collection Rules In The Specified Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules operations: - name: microsoftazuredatacollectionruleslistbyresourcegroup method: GET description: Microsoft Azure Lists All Data Collection Rules In The Specified Resource Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName} operations: - name: microsoftazuredatacollectionrulesget method: GET description: Microsoft Azure Returns The Specified Data Collection Rule outputRawFormat: json outputParameters: - name: result type: object value: $. - name: microsoftazuredatacollectionrulescreate method: PUT description: Microsoft Azure Creates Or Updates A Data Collection Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: The payload - name: microsoftazuredatacollectionrulesupdate method: PATCH description: Microsoft Azure Updates Part Of A Data Collection Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: The payload - name: microsoftazuredatacollectionrulesdelete method: DELETE description: Microsoft Azure Deletes A Data Collection Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deleteAssociations in: query type: boolean description: If set to 'true' then all associations of this data collection rule will also be deleted exposes: - type: rest namespace: azure-monitor-data-collection-control-plane-datacollectionrules-rest port: 8080 description: REST adapter for Microsoft Azure Azure Monitor Data Collection Control Plane API — DataCollectionRules. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-insights/datacollectionrules name: subscriptions-subscriptionid-providers-microsoft-insights-datacollectionrules description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Insights-dataCollectionRules. operations: - method: GET name: microsoftazuredatacollectionruleslistbysubscription description: Microsoft Azure Lists All Data Collection Rules In The Specified Subscription call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionruleslistbysubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-insights/datacollectionrules name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazuredatacollectionruleslistbyresourcegroup description: Microsoft Azure Lists All Data Collection Rules In The Specified Resource Group call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionruleslistbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-insights/datacollectionrules/{datacollectionrulename} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazuredatacollectionrulesget description: Microsoft Azure Returns The Specified Data Collection Rule call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulesget outputParameters: - type: object mapping: $. - method: PUT name: microsoftazuredatacollectionrulescreate description: Microsoft Azure Creates Or Updates A Data Collection Rule call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazuredatacollectionrulesupdate description: Microsoft Azure Updates Part Of A Data Collection Rule call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulesupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazuredatacollectionrulesdelete description: Microsoft Azure Deletes A Data Collection Rule call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulesdelete with: deleteAssociations: rest.deleteAssociations outputParameters: - type: object mapping: $. - type: mcp namespace: azure-monitor-data-collection-control-plane-datacollectionrules-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Azure Monitor Data Collection Control Plane API — DataCollectionRules. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-lists-all-data description: Microsoft Azure Lists All Data Collection Rules In The Specified Subscription hints: readOnly: true destructive: false idempotent: true call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionruleslistbysubscription outputParameters: - type: object mapping: $. - name: microsoft-azure-lists-all-data-2 description: Microsoft Azure Lists All Data Collection Rules In The Specified Resource Group hints: readOnly: true destructive: false idempotent: true call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionruleslistbyresourcegroup outputParameters: - type: object mapping: $. - name: microsoft-azure-returns-specified-data description: Microsoft Azure Returns The Specified Data Collection Rule hints: readOnly: true destructive: false idempotent: true call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulesget outputParameters: - type: object mapping: $. - name: microsoft-azure-creates-updates-data description: Microsoft Azure Creates Or Updates A Data Collection Rule hints: readOnly: false destructive: false idempotent: true call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-updates-part-data description: Microsoft Azure Updates Part Of A Data Collection Rule hints: readOnly: false destructive: false idempotent: true call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulesupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-deletes-data-collection description: Microsoft Azure Deletes A Data Collection Rule hints: readOnly: false destructive: true idempotent: true call: azure-monitor-data-collection-control-plane-datacollectionrules.microsoftazuredatacollectionrulesdelete with: deleteAssociations: tools.deleteAssociations outputParameters: - type: object mapping: $.