naftiko: 1.0.0-alpha2 info: label: Azure Stream Analytics REST API — Transformations description: 'Azure Stream Analytics REST API — Transformations. 2 operations. Lead operation: Get transformation. Self-contained Naftiko capability covering one Microsoft Azure Stream Analytics business surface.' tags: - Microsoft Azure Stream Analytics - Transformations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_STREAM_ANALYTICS_API_KEY: MICROSOFT_AZURE_STREAM_ANALYTICS_API_KEY capability: consumes: - type: http namespace: microsoft-azure-stream-analytics-transformations baseUri: https://management.azure.com description: Azure Stream Analytics REST API — Transformations business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName} operations: - name: gettransformation method: GET description: Get transformation outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorreplacetransformation method: PUT description: Create or replace transformation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.MICROSOFT_AZURE_STREAM_ANALYTICS_API_KEY}}' exposes: - type: rest namespace: microsoft-azure-stream-analytics-transformations-rest port: 8080 description: REST adapter for Azure Stream Analytics REST API — Transformations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-streamanalytics/streamingjobs/{jobname}/transformations/{transformationname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: gettransformation description: Get transformation call: microsoft-azure-stream-analytics-transformations.gettransformation outputParameters: - type: object mapping: $. - method: PUT name: createorreplacetransformation description: Create or replace transformation call: microsoft-azure-stream-analytics-transformations.createorreplacetransformation with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-azure-stream-analytics-transformations-mcp port: 9090 transport: http description: MCP adapter for Azure Stream Analytics REST API — Transformations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-transformation description: Get transformation hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-stream-analytics-transformations.gettransformation outputParameters: - type: object mapping: $. - name: create-replace-transformation description: Create or replace transformation hints: readOnly: false destructive: false idempotent: true call: microsoft-azure-stream-analytics-transformations.createorreplacetransformation with: body: tools.body outputParameters: - type: object mapping: $.