Microsoft Azure

Azure Event Hubs: Authorization Rules

Azure Event Hubs client

Identity & security#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Azure Event Hubs client

Endpoints 15

AuthorizationRules Namespaces

  • GETNamespaces_ListAuthorizationRules/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRulesGets a list of authorization rules for a Namespace.
  • GETNamespaces_GetAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRules/:authorizationRuleNameGets an AuthorizationRule for a Namespace by rule name.
  • PUTNamespaces_CreateOrUpdateAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRules/:authorizationRuleNameCreates or updates an AuthorizationRule for a Namespace.
  • DELETENamespaces_DeleteAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRules/:authorizationRuleNameDeletes an AuthorizationRule for a Namespace.
  • POSTNamespaces_ListKeys/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRules/:authorizationRuleName/listKeysGets the primary and secondary connection strings for the Namespace.
  • POSTNamespaces_RegenerateKeys/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRules/:authorizationRuleName/regenerateKeysRegenerates the primary or secondary connection strings for the specified Namespace.

AuthorizationRules DisasterRecoveryConfigs

  • GETDisasterRecoveryConfigs_ListAuthorizationRules/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/disasterRecoveryConfigs/:alias/authorizationRulesGets a list of authorization rules for a Namespace.
  • GETDisasterRecoveryConfigs_GetAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/disasterRecoveryConfigs/:alias/authorizationRules/:authorizationRuleNameGets an AuthorizationRule for a Namespace by rule name.
  • POSTDisasterRecoveryConfigs_ListKeys/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/disasterRecoveryConfigs/:alias/authorizationRules/:authorizationRuleName/listKeysGets the primary and secondary connection strings for the Namespace.

AuthorizationRules EventHubs

  • GETEventHubs_ListAuthorizationRules/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/eventhubs/:eventHubName/authorizationRulesGets the authorization rules for an Event Hub.
  • PUTEventHubs_CreateOrUpdateAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/eventhubs/:eventHubName/authorizationRules/:authorizationRuleNameCreates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.
  • POSTEventHubs_ListKeys/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/eventhubs/:eventHubName/authorizationRules/:authorizationRuleName/listKeysGets the ACS and SAS connection strings for the Event Hub.
  • POSTEventHubs_RegenerateKeys/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/eventhubs/:eventHubName/authorizationRules/:authorizationRuleName/regenerateKeysRegenerates the ACS and SAS connection strings for the Event Hub.

EventHubs

  • GETEventHubs_GetAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/eventhubs/:eventHubName/authorizationRules/:authorizationRuleNameGets an AuthorizationRule for an Event Hub by rule name.
  • DELETEEventHubs_DeleteAuthorizationRule/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/eventhubs/:eventHubName/authorizationRules/:authorizationRuleNameDeletes an Event Hub AuthorizationRule.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
15 operations on 11 pathsGET 6POST 5PUT 2DELETE 2
Main resources
AuthorizationRules Namespaces 6AuthorizationRules EventHubs 4AuthorizationRules DisasterRecoveryConfigs 3EventHubs 2
Response formats
application/json
Description format
Swagger 2.0, API version 2024-01-01

How to test the Azure Event Hubs: Authorization Rules in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Event Hubs: Authorization Rules collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Namespaces_ListAuthorizationRules” (GET /subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventHub/namespaces/:namespaceName/authorizationRules), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Event Hubs: Authorization Rules?

Azure Event Hubs client It is listed under Identity & security and has 15 endpoints.

Who publishes the Azure Event Hubs: Authorization Rules?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Event Hubs: Authorization Rules?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Event Hubs: Authorization Rules?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Event Hubs: Authorization Rules have?

15 operations on 11 paths (6 GET, 5 POST, 2 PUT, 2 DELETE). The largest groups are AuthorizationRules Namespaces, AuthorizationRules EventHubs, AuthorizationRules DisasterRecoveryConfigs, EventHubs.

Is forking the Azure Event Hubs: Authorization Rules free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.