naftiko: 1.0.0-alpha2 info: label: Microsoft Azure iotHubClient — PUT description: 'Microsoft Azure iotHubClient — PUT. 3 operations. Lead operation: Microsoft Azure Create Or Update The Metadata Of An Iot Hub. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - PUT 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: iothubclient-put baseUri: https://management.azure.com description: Microsoft Azure iotHubClient — PUT business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName} operations: - name: microsoftazureiothubresourcecreateorupdate method: PUT description: Microsoft Azure Create Or Update The Metadata Of An Iot Hub outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: iotHubDescription in: body type: string description: The IoT hub metadata and security metadata. required: true - name: If-Match in: header type: string description: ETag of the IoT Hub. Do not specify for creating a brand new IoT Hub. Required to update an existing IoT Hub. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name} operations: - name: microsoftazureiothubresourcecreateeventhubconsumergroup method: PUT description: Microsoft Azure Add A Consumer Group To An Event Hub Compatible Endpoint In An Iot Hub outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: eventHubEndpointName in: path type: string description: The name of the Event Hub-compatible endpoint in the IoT hub. required: true - name: name in: path type: string description: The name of the consumer group to add. required: true - name: consumerGroupBody in: body type: string description: The consumer group to add. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName} operations: - name: microsoftazureprivateendpointconnectionsupdate method: PUT description: Microsoft Azure Update Private Endpoint Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: privateEndpointConnection in: body type: string description: The private endpoint connection with updated properties required: true exposes: - type: rest namespace: iothubclient-put-rest port: 8080 description: REST adapter for Microsoft Azure iotHubClient — PUT. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: PUT name: microsoftazureiothubresourcecreateorupdate description: Microsoft Azure Create Or Update The Metadata Of An Iot Hub call: iothubclient-put.microsoftazureiothubresourcecreateorupdate with: iotHubDescription: rest.iotHubDescription If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}/eventhubendpoints/{eventhubendpointname}/consumergroups/{name} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: PUT name: microsoftazureiothubresourcecreateeventhubconsumergroup description: Microsoft Azure Add A Consumer Group To An Event Hub Compatible Endpoint In An Iot Hub call: iothubclient-put.microsoftazureiothubresourcecreateeventhubconsumergroup with: eventHubEndpointName: rest.eventHubEndpointName name: rest.name consumerGroupBody: rest.consumerGroupBody outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}/privateendpointconnections/{privateendpointconnectionname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: PUT name: microsoftazureprivateendpointconnectionsupdate description: Microsoft Azure Update Private Endpoint Connection call: iothubclient-put.microsoftazureprivateendpointconnectionsupdate with: privateEndpointConnection: rest.privateEndpointConnection outputParameters: - type: object mapping: $. - type: mcp namespace: iothubclient-put-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure iotHubClient — PUT. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-create-update-metadata description: Microsoft Azure Create Or Update The Metadata Of An Iot Hub hints: readOnly: false destructive: false idempotent: true call: iothubclient-put.microsoftazureiothubresourcecreateorupdate with: iotHubDescription: tools.iotHubDescription If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-azure-add-consumer-group description: Microsoft Azure Add A Consumer Group To An Event Hub Compatible Endpoint In An Iot Hub hints: readOnly: false destructive: false idempotent: true call: iothubclient-put.microsoftazureiothubresourcecreateeventhubconsumergroup with: eventHubEndpointName: tools.eventHubEndpointName name: tools.name consumerGroupBody: tools.consumerGroupBody outputParameters: - type: object mapping: $. - name: microsoft-azure-update-private-endpoint description: Microsoft Azure Update Private Endpoint Connection hints: readOnly: false destructive: false idempotent: true call: iothubclient-put.microsoftazureprivateendpointconnectionsupdate with: privateEndpointConnection: tools.privateEndpointConnection outputParameters: - type: object mapping: $.