Microsoft Azure Kafka Connector Topic Map API

The KafkaConnectorTopicMap API from Microsoft Azure, for kafkaconnectortopicmap.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap List topic maps on an IoT MQ Kafka connector · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which MQTT-to-Kafka topic maps are defined on my Kafka connector?”
“Can I see every topic map for one IoT Operations MQ Kafka connector?”
Tell an agent
List topic maps on Kafka connector {connector} in MQ {mq}.
Show all topic mappings for connector {connector} of broker {mq}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap/{topicMapName} Get a Kafka connector topic map · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How is a specific topic map on my Kafka connector configured?”
“Can I fetch one Kafka topic map by name?”
Tell an agent
Get topic map {topic_map} on Kafka connector {connector} in MQ {mq}.
Show the routes in topic map {topic_map} for connector {connector} ({mq}).
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap/{topicMapName} Create a Kafka connector topic map · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I map MQTT topics to Kafka topics on an IoT Operations connector?”
“What extended location must I give when creating a topic map?”
Tell an agent
Create topic map {topic_map} on Kafka connector {connector} in MQ {mq} at extended location {location}.
Set up topic map {topic_map} for {connector} in {mq} with properties {properties} at {location}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap/{topicMapName} Update an existing Kafka connector topic map · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change the routes on a topic map that already exists?”
“Is it possible to retag an existing Kafka topic map?”
Tell an agent
Update topic map {topic_map} on connector {connector} in MQ {mq} with properties {properties}.
Set tags {tags} on existing topic map {topic_map} of {connector} ({mq}).
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap/{topicMapName} Delete a Kafka connector topic map · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How can I remove a topic map from my Kafka connector?”
“Can I stop routing topics by deleting a topic map?”
Tell an agent destructive · confirm first
Delete topic map {topic_map} from Kafka connector {connector} in MQ {mq}.
Remove the {topic_map} mapping on {connector} ({mq}).

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-kafkaconnectortopicmap-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-kafkaconnectortopicmap-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.IoTOperationsMQ management…
  version: 2023-10-04-preview
  description: Microsoft.IoTOperationsMQ Resource Provider management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: KafkaConnectorTopicMap
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap
  : get:
      operationId: microsoftAzureKafkaconnectortopicmapListbykafkaconnectorresource
      tags:
      - KafkaConnectorTopicMap
      description: List KafkaTopicMapResource resources by KafkaConnectorResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: kafkaConnectorName
        in: path
        description: Name of MQ kafkaConnector resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaTopicMapResourceListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        KafkaConnectorTopicMap_ListByKafkaConnectorResource:
          $ref: ./examples/KafkaConnectorTopicMap_ListByKafkaConnectorResource_MaximumSet_Gen.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}/topicMap/{topicMapName}
  : get:
      operationId: microsoftAzureKafkaconnectortopicmapGet
      tags:
      - KafkaConnectorTopicMap
      description: Get a KafkaTopicMapResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: kafkaConnectorName
        in: path
        description: Name of MQ kafkaConnector resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: topicMapName
        in: path
        description: Name of MQ kafka/topicMap resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaTopicMapResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        KafkaConnectorTopicMap_Get:
          $ref: ./examples/KafkaConnectorTopicMap_Get_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      operationId: microsoftAzureKafkaconnectortopicmapCreateorupdate
      tags:
      - KafkaConnectorTopicMap
      description: Create a KafkaTopicMapResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: kafkaConnectorName
        in: path
        description: Name of MQ kafkaConnector resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: topicMapName
        in: path
        description: Name of MQ kafka/topicMap resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Resource 'KafkaTopicMapResource' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaTopicMapResource'
        '201':
          description: Resource 'KafkaTopicMapResource' create operation succeeded
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaTopicMapResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        KafkaConnectorTopicMap_CreateOrUpdate:
          $ref: ./examples/KafkaConnectorTopicMap_CreateOrUpdate_MaximumSet_Gen.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KafkaTopicMapResource'
        description: Resource create parameters.
        required: true
    patch:
      operationId: microsoftAzureKafkaconnectortopicmapUpdate
      tags:
      - KafkaConnectorTopicMap
      description: Update a KafkaTopicMapResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: kafkaConnectorName
        in: path
        description: Name of MQ kafkaConnector resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: topicMapName
        in: path
        description: Name of MQ kafka/topicMap resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaTopicMapResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        KafkaConnectorTopicMap_Update:
          $ref: ./examples/KafkaConnectorTopicMap_Update_MaximumSet_Gen.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KafkaTopicMapResourceUpdate'
        description: The resource properties to be updated.
        required: true
    delete:
      operationId: microsoftAzureKafkaconnectortopicmapDelete
      tags:
      - KafkaConnectorTopicMap
      description: Delete a KafkaTopicMapResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: kafkaConnectorName
        in: path
        description: Name of MQ kafkaConnector resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: topicMapName
        in: path
        description: Name of MQ kafka/topicMap resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        KafkaConnectorTopicMap_Delete:
          $ref: ./examples/KafkaConnectorTopicMap_Delete_MaximumSet_Gen.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    KafkaRoutes:
      type: object
      description: Kafka Routes properties. NOTE - Enum only one method is allowed to be passed.
      properties:
        kafkaToMqtt:
          $ref: '#/components/schemas/KafkaToMqttRoutes'
          description: Kafka to Mqtt route.
        mqttToKafka:
          $ref: '#/components/schemas/MqttToKafkaRoutes'
          description: Mqtt to Kafka route.
    KafkaTopicMapBatching:
      type: object
      description: Kafka TopicMap Batching properties
      properties:
        enabled:
          type: boolean
          description: The setting to enable or disable batching.
          default: false
        latencyMs:
          type: integer
          format: int32
          description: The latency of message batching.
          default: 5
          minimum: 0
          maximum: 65535
        maxBytes:
          type: integer
          format: int64
          description: The maximum bytes to send in a batch.
          default: 1000000
          minimum: 0
          maximum: 4294967295
        maxMessages:
          type: integer
          format: int64
          description: The maximum messages to send in a batch.
          default: 100000
          minimum: 0
          maximum: 4294967295
    KafkaTopicMapResource:
      type: object
      description: MQ kafkaConnector/topicMap resource
      properties:
        properties:
          $ref: '#/components/schemas/KafkaTopicMapProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
        extendedLocation:
          $ref: '#/components/schemas/ExtendedLocationProperty'
          description: Extended Location
          x-ms-mutability:
          - read
          - create
      required:
      - extendedLocation
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource
    ExtendedLocationType:
      type: string
      description: The enum defining type of ExtendedLocation accepted.
      enum:
      - CustomLocation
      x-ms-enum:
        name: ExtendedLocationType
        modelAsString: true
        values:
        - name: CustomLocation
          value: CustomLocation
          description: CustomLocation type
    MqttToKafkaRoutes:
      type: object
      description: Mqtt to Kafka route properties
      properties:
        kafkaAcks:
          $ref: '#/components/schemas/KafkaAcks'
          description: The kafka acks to use.
        kafkaTopic:
          type: string
          description: The kafka topic to publish to.
        mqttTopic:
          type: string
          description: The mqtt topic to pull from.
        name:
          type: string
          description: The name of the route.
        qos:
          type: integer
          format: int32
          description: The qos to use for mqtt.
          default: 1
          minimum: 0
          maximum: 1
        sharedSubscription:
          $ref: '#/components/schemas/KafkaSharedSubscriptionProperties'
          description: The properties for shared subscription.
      required:
      - kafkaAcks
      - kafkaTopic
      - mqttTopic
      - name
    KafkaSharedSubscriptionProperties:
      type: object
      description: Kafka Shared Subscription properties
      properties:
        groupMinimumShareNumber:
          type: integer
          format: int32
          description: The minimum number to use in a group for subscription.
          minimum: 0
          maximum: 255
        groupName:
          type: string
          description: The name of the shared subscription.
      required:
      - groupMinimumShareNumber
      - groupName
    KafkaToMqttRoutes:
      type: object
      description: Kafka to Mqtt route properties
      properties:
        consumerGroupId:
          type: string
          description: The consumer group id to use.
        kafkaTopic:
          type: string
          description: The kafka topic to pull from.
        mqttTopic:
          type: string
          description: The mqtt topic to publish to.
        name:
          type: string
          description: The name of the route.
        qos:
          type: integer
          format: int32
          description: The qos to use for mqtt.
          default: 1
          minimum: 0
          maximum: 1
      required:
      - kafkaTopic
      - mqttTopic
      - name
    KafkaTopicMapResourceUpdate:
      type: object
      description: The type used for update operations of the KafkaTopicMapResource.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/KafkaTopicMapResourceUpdateProperties'
          x-ms-client-flatten: true
    KafkaAcks:
      type: string
      description: Kafka Acks enum properties
      enum:
      - zero
      - one
      - all
      x-ms-enum:
        name: KafkaAcks
        modelAsString: true
        values:
        - name: zero
          value: zero
          description: Kafka acks zero.
        - name: one
          value: one
          description: Kafka acks one.
        - name: all
          value: all
          description: Kafka acks all.
    ProvisioningState:
      type: string
      description: The enum defining status of resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Provisioning
      - Updating
      - Deleting
      - Accepted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
        - name: Provisioning
          value: Provisioning
          description: Resource is getting provisioned.
        - name: Updating
          value: Updating
          description: Resource is Updating.
        - name: Deleting
          value: Deleting
          description: Resource is Deleting.
        - name: Accepted
          value: Accepted
          description: Resource has been Accepted.
    ExtendedLocationProperty:
      type: object
      description: ExtendedLocation properties
      properties:
        name:
          type: string
          description: The name of the extended location.
        type:
          $ref: '#/components/schemas/ExtendedLocationType'
          description: Type of ExtendedLocation.
      required:
      - name
      - type
    KafkaTopicMapProperties:
      type: object
      description: KafkaTopicMap Properties
      properties:
        batching:
          $ref: '#/components/schemas/KafkaTopicMapBatching'
          description: The batching settings for kafka messages.
        compression:
          type: string
          description: The compression to use for kafka messages.
          default: none
          enum:
          - none
          - gzip
          - snappy
          - lz4
          x-ms-enum:
            name: KafkaMessageCompressionType
            modelAsString: true
            values:
            - name: none
              value: none
              description: No Kafka message compression.
            - name: gzip
              value: gzip
              description: Gzip Kafka message compression.
            - name: snappy
              value: snappy
              description: Snappy Kafka message compression.
            - name: lz4
              value: lz4
              description: Lz4 Kafka message compression.
        copyMqttProperties:
          type: string
          description: The flag to copy Mqtt properties.
        kafkaConnectorRef:
          type: string
          description: The kafkaConnector CRD it refers to.
        partitionKeyProperty:
          type: string
          description: The partition to use for Kafka.
        partitionStrategy:
          type: string
          description: The partition strategy to use for Kafka.
          default: default
          enum:
          - default
          - static
          - topic
          - property
          x-ms-enum:
            name: KafkaPartitionStrategy
            modelAsString: true
            values:
            - name: default
              value: default
              description: Default partition strategy.
            - name: static
              value: static
              description: Static partition strategy.
            - name: topic
              value: topic
              description: Topic partition strategy.
            - name: property
              value: property
              description: Property partition strategy.
        routes:
          type: array
          description: The route details for Kafka connector.
          items:
            $ref: '#/components/schemas/KafkaRoutes'
          x-ms-identifiers: []
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
          readOnly: true
      required:
      - kafkaConnectorRef
      - routes
    KafkaTopicMapResourceListResult:
      type: object
      description: The response of a KafkaTopicMapResource list operation.
      properties:
        value:
          type: array
          description: The KafkaTopicMapResource items on this page
          items:
            $ref: '#/components/schemas/KafkaTopicMapResource'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    KafkaTopicMapResourceUpdateProperties:
      type: object
      description: The updatable properties of the KafkaTopicMapResource.
      properties:
        batching:
          $ref: '#/components/schemas/KafkaTopicMapBatching'
          description: The batching settings for kafka messages.
        compression:
          type: string
          description: The compression to use for kafka messages.
          default: none
          enum:
          - none
          - gzip
          - snappy
          - lz4
          x-ms-enum:
            name: KafkaMessageCompressionType
            modelAsString: true
            values:
            - name: none
              value: none
              description: No Kafka message compression.
            - name: gzip
              value: gzip
              description: Gzip Kafka message compression.
            - name: snappy
              value: snappy
              description: Snappy Kafka message compression.
            - name: lz4
              value: lz4
              description: Lz4 Kafka message compression.
        copyMqttProperties:
          type: string
          description: The flag to copy Mqtt properties.
        kafkaConnectorRef:
          type: string
          description: The kafkaConnector CRD it refers to.
        partitionKeyProperty:
          type: string
          description: The partition to use for Kafka.
        partitionStrategy:
          type: string
          description: The partition strategy to use for Kafka.
          default: default
          enum:
          - default
          - static
          - topic
          - property
          x-ms-enum:
            name: KafkaPartitionStrategy
            modelAsString: true
            values:
            - name: default
              value: default
              description: Default partition strategy.
            - name: static
              value: static
              description: Static partition strategy.
            - name: topic
              value: topic
              description: Topic partition strategy.
            - name: property
              value: property
              description: Property partition strategy.
        routes:
          type: array
          description: The route details for Kafka connector.
          items:
            $ref: '#/components/schemas/KafkaRoutes'
          x-ms-identifiers: []
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.