Azure Event Hubs Subscriptions API

The Subscriptions API from Azure Event Hubs — 2 operation(s) for subscriptions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

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}/providers/Microsoft.EventHub/availableClusterRegions List regions with pre-provisioned Event Hubs clusters · Clusters list available cluster region #
Ask an LLM
“In which Azure regions can I pre-provision an Event Hubs cluster?”
“How many pre-provisioned Event Hubs clusters are available per region?”
Tell an agent
List available Event Hubs cluster regions for subscription {sub}.
Show how many pre-provisioned Event Hubs clusters exist in each region.
POST /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability Check if an Event Hubs namespace name is available · Namespaces check name availability #
Ask an LLM
“Is an Event Hubs namespace name already taken?”
“Can I create a new Event Hubs namespace with a given name?”
Tell an agent
Check whether namespace name {name} is available in subscription {sub}.
Verify that {name} is a free Event Hubs namespace name.

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-event-hubs:microsoft-azure-event-hubs-subscriptions-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-event-hubs-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EventHubManagementClient Subscriptions API
  version: '2026-01-01'
  description: Azure Event Hubs client
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Subscriptions
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/availableClusterRegions:
    get:
      operationId: Clusters_ListAvailableClusterRegion
      description: List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableClustersList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Subscriptions
      summary: Clusters list available cluster region
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability:
    post:
      operationId: Namespaces_CheckNameAvailability
      description: Check the give Namespace name availability.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckNameAvailabilityResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckNameAvailabilityParameter'
        description: The request body
        required: true
      tags:
      - Subscriptions
      summary: Namespaces check name availability
      x-summary-source: derived
components:
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
  schemas:
    UnavailableReason:
      type: string
      description: Specifies the reason for the unavailability of the service.
      enum:
      - None
      - InvalidName
      - SubscriptionIsDisabled
      - NameInUse
      - NameInLockdown
      - TooManyNamespaceInCurrentSubscription
      x-ms-enum:
        name: UnavailableReason
        modelAsString: false
    ErrorDetail:
      type: object
      description: The error detail.
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/ErrorDetail'
          readOnly: true
        additionalInfo:
          type: array
          description: The error additional info.
          items:
            $ref: '#/components/schemas/ErrorAdditionalInfo'
          readOnly: true
    CheckNameAvailabilityResult:
      type: object
      description: The Result of the CheckNameAvailability operation
      properties:
        message:
          type: string
          description: The detailed info regarding the reason associated with the Namespace.
          readOnly: true
        nameAvailable:
          type: boolean
          description: Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.
        reason:
          $ref: '#/components/schemas/UnavailableReason'
          description: The reason for unavailability of a Namespace.
    CheckNameAvailabilityParameter:
      type: object
      description: Parameter supplied to check Namespace name availability operation
      properties:
        name:
          type: string
          description: Name to check the namespace name availability
      required:
      - name
    AvailableCluster:
      type: object
      description: Pre-provisioned and readily available Event Hubs Cluster count per region.
      properties:
        location:
          type: string
          description: Location fo the Available Cluster
    ErrorResponse:
      type: object
      description: Error response indicates Event Hub service is not able to process the incoming request. The reason is provided in the error message.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    AvailableClustersList:
      type: object
      description: The response of the List Available Clusters operation.
      properties:
        value:
          type: array
          description: The count of readily available and pre-provisioned Event Hubs Clusters per region.
          items:
            $ref: '#/components/schemas/AvailableCluster'
    ErrorAdditionalInfo:
      type: object
      description: The resource management error additional info.
      properties:
        type:
          type: string
          description: The additional info type.
          readOnly: true
        info:
          description: The additional info.
          readOnly: true
  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.