naftiko: 1.0.0-alpha2 info: label: Azure Monitor Diagnostic Settings API — Diagnostic Settings description: 'Azure Monitor Diagnostic Settings API — Diagnostic Settings. 4 operations. Lead operation: Azure Monitor List diagnostic settings for a resource. Self-contained Naftiko capability covering one Microsoft Azure Monitor business surface.' tags: - Microsoft Azure Monitor - Diagnostic Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_MONITOR_API_KEY: MICROSOFT_AZURE_MONITOR_API_KEY capability: consumes: - type: http namespace: azure-monitor-diagnostic-settings-diagnostic-settings baseUri: https://management.azure.com description: Azure Monitor Diagnostic Settings API — Diagnostic Settings business capability. Self-contained, no shared references. resources: - name: resourceUri-providers-Microsoft.Insights-diagnosticSettings path: /{resourceUri}/providers/Microsoft.Insights/diagnosticSettings operations: - name: diagnosticsettingslist method: GET description: Azure Monitor List diagnostic settings for a resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: resourceUri-providers-Microsoft.Insights-diagnosticSettings-name path: /{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name} operations: - name: diagnosticsettingsget method: GET description: Azure Monitor Get a diagnostic setting outputRawFormat: json outputParameters: - name: result type: object value: $. - name: diagnosticsettingscreateorupdate method: PUT description: Azure Monitor Create or update a diagnostic setting outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: diagnosticsettingsdelete method: DELETE description: Azure Monitor Delete a diagnostic setting outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_MONITOR_API_KEY}}' exposes: - type: rest namespace: azure-monitor-diagnostic-settings-diagnostic-settings-rest port: 8080 description: REST adapter for Azure Monitor Diagnostic Settings API — Diagnostic Settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{resourceuri}/providers/microsoft-insights/diagnosticsettings name: resourceuri-providers-microsoft-insights-diagnosticsettings description: REST surface for resourceUri-providers-Microsoft.Insights-diagnosticSettings. operations: - method: GET name: diagnosticsettingslist description: Azure Monitor List diagnostic settings for a resource call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingslist outputParameters: - type: object mapping: $. - path: /v1/{resourceuri}/providers/microsoft-insights/diagnosticsettings/{name} name: resourceuri-providers-microsoft-insights-diagnosticsettings-name description: REST surface for resourceUri-providers-Microsoft.Insights-diagnosticSettings-name. operations: - method: GET name: diagnosticsettingsget description: Azure Monitor Get a diagnostic setting call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingsget outputParameters: - type: object mapping: $. - method: PUT name: diagnosticsettingscreateorupdate description: Azure Monitor Create or update a diagnostic setting call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingscreateorupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: diagnosticsettingsdelete description: Azure Monitor Delete a diagnostic setting call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingsdelete outputParameters: - type: object mapping: $. - type: mcp namespace: azure-monitor-diagnostic-settings-diagnostic-settings-mcp port: 9090 transport: http description: MCP adapter for Azure Monitor Diagnostic Settings API — Diagnostic Settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-monitor-list-diagnostic-settings description: Azure Monitor List diagnostic settings for a resource hints: readOnly: true destructive: false idempotent: true call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingslist outputParameters: - type: object mapping: $. - name: azure-monitor-get-diagnostic-setting description: Azure Monitor Get a diagnostic setting hints: readOnly: true destructive: false idempotent: true call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingsget outputParameters: - type: object mapping: $. - name: azure-monitor-create-update-diagnostic description: Azure Monitor Create or update a diagnostic setting hints: readOnly: false destructive: false idempotent: true call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingscreateorupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-monitor-delete-diagnostic-setting description: Azure Monitor Delete a diagnostic setting hints: readOnly: false destructive: true idempotent: true call: azure-monitor-diagnostic-settings-diagnostic-settings.diagnosticsettingsdelete outputParameters: - type: object mapping: $.