Microsoft Azure · Capability

Microsoft Azure iotHubClient — PATCH

Microsoft Azure iotHubClient — PATCH. 1 operations. Lead operation: Microsoft Azure Update An Existing Iot Hubs Tags. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzurePATCH

What You Can Do

PATCH
Microsoftazureiothubresourceupdate — Microsoft Azure Update An Existing Iot Hubs Tags
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}

MCP Tools

microsoft-azure-update-existing-iot

Microsoft Azure Update An Existing Iot Hubs Tags

idempotent

Capability Spec

iothubclient-patch.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure iotHubClient — PATCH
  description: 'Microsoft Azure iotHubClient — PATCH. 1 operations. Lead operation: Microsoft Azure Update An Existing Iot
    Hubs Tags. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - PATCH
  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-patch
    baseUri: https://management.azure.com
    description: Microsoft Azure iotHubClient — PATCH 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: microsoftazureiothubresourceupdate
        method: PATCH
        description: Microsoft Azure Update An Existing Iot Hubs Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Resource group identifier.
          required: true
        - name: resourceName
          in: path
          type: string
          description: Name of iot hub to update.
          required: true
        - name: IotHubTags
          in: body
          type: string
          description: Updated tag information to set into the iot hub instance.
          required: true
  exposes:
  - type: rest
    namespace: iothubclient-patch-rest
    port: 8080
    description: REST adapter for Microsoft Azure iotHubClient — PATCH. 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: PATCH
        name: microsoftazureiothubresourceupdate
        description: Microsoft Azure Update An Existing Iot Hubs Tags
        call: iothubclient-patch.microsoftazureiothubresourceupdate
        with:
          resourceGroupName: rest.resourceGroupName
          resourceName: rest.resourceName
          IotHubTags: rest.IotHubTags
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: iothubclient-patch-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure iotHubClient — PATCH. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-azure-update-existing-iot
      description: Microsoft Azure Update An Existing Iot Hubs Tags
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: iothubclient-patch.microsoftazureiothubresourceupdate
      with:
        resourceGroupName: tools.resourceGroupName
        resourceName: tools.resourceName
        IotHubTags: tools.IotHubTags
      outputParameters:
      - type: object
        mapping: $.