Microsoft.EventHub (stable:2017-04-01)

2025/10/30 • 43 new, 43 deleted methods

Namespaces_ListAuthorizationRules (new)
Description Gets a list of authorization rules for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CreateOrUpdateAuthorizationRule (new)
Description Creates or updates an AuthorizationRule for a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_DeleteAuthorizationRule (new)
Description Deletes an AuthorizationRule for a Namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_GetAuthorizationRule (new)
Description Gets an AuthorizationRule for a Namespace by rule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListKeys (new)
Description Gets the primary and secondary connection strings for the Namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_RegenerateKeys (new)
Description Regenerates the primary or secondary connection strings for the specified Namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
parameters:
{
keyType: enum ,
key: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_ListAuthorizationRules (new)
Description Gets a list of authorization rules for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_GetAuthorizationRule (new)
Description Gets an AuthorizationRule for a Namespace by rule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_ListKeys (new)
Description Gets the primary and secondary connection strings for the Namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_ListAuthorizationRules (new)
Description Gets the authorization rules for an Event Hub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_CreateOrUpdateAuthorizationRule (new)
Description Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_GetAuthorizationRule (new)
Description Gets an AuthorizationRule for an Event Hub by rule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_DeleteAuthorizationRule (new)
Description Deletes an Event Hub AuthorizationRule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_ListKeys (new)
Description Gets the ACS and SAS connection strings for the Event Hub.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/listKeys
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_RegenerateKeys (new)
Description Regenerates the ACS and SAS connection strings for the Event Hub.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
parameters:
{
keyType: enum ,
key: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CheckNameAvailability (new)
Description Check the give Namespace name availability.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
parameters:
{
name: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: enum ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_CreateOrUpdate (new)
Description Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
consumerGroupName: string ,
parameters:
{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_Delete (new)
Description Deletes a consumer group from the specified Event Hub and resource group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
consumerGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_Get (new)
Description Gets a description for the specified consumer group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
consumerGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_ListByEventHub (new)
Description Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
$skip: integer ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_CheckNameAvailability (new)
Description Check the give Namespace name availability.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
parameters:
{
name: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: enum ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_List (new)
Description Gets all Alias(Disaster Recovery configurations)
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_CreateOrUpdate (new)
Description Creates or updates a new Alias(Disaster Recovery configuration)
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
parameters:
{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}

⚐ Response (201)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_Delete (new)
Description Deletes an Alias(Disaster Recovery configuration)
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_Get (new)
Description Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_BreakPairing (new)
Description This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_FailOver (new)
Description Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_ListByNamespace (new)
Description Gets all the Event Hubs in a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
$skip: integer ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_CreateOrUpdate (new)
Description Creates or updates a new Event Hub as a nested resource within a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
parameters:
{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_Delete (new)
Description Deletes an Event Hub from the specified Namespace and resource group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_Get (new)
Description Gets an Event Hubs description for the specified Event Hub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_List (new)
Description Lists all the available Namespaces within a subscription, irrespective of the resource groups.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListByResourceGroup (new)
Description Lists the available Namespaces within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CreateOrUpdate (new)
Description Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
parameters:
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_Delete (new)
Description Deletes an existing namespace. This operation also removes all associated resources under the namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_Get (new)
Description Gets the description of the specified namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_Update (new)
Description Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
parameters:
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_GetMessagingPlan (new)
Description Gets messaging plan for specified namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/messagingplan
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
sku: integer ,
selectedEventHubUnit: integer ,
updatedAt: string ,
revision: integer ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CreateOrUpdateNetworkRuleSet (new)
Description Create or update NetworkRuleSet for a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_GetNetworkRuleSet (new)
Description Gets NetworkRuleSet for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListNetworkRuleSets (new)
Description Gets list of NetworkRuleSet for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Operations_List (new)
Description Lists all of the available Event Hub REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.EventHub/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Regions_ListBySku (new)
Description Gets the available Regions for a given sku
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/sku/{sku}/regions
{
api-version: string ,
subscriptionId: string ,
sku: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
code: string ,
fullName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListAuthorizationRules (removed)
Description Gets a list of authorization rules for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CreateOrUpdateAuthorizationRule (removed)
Description Creates or updates an AuthorizationRule for a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_DeleteAuthorizationRule (removed)
Description Deletes an AuthorizationRule for a Namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_GetAuthorizationRule (removed)
Description Gets an AuthorizationRule for a Namespace by rule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListKeys (removed)
Description Gets the primary and secondary connection strings for the Namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_RegenerateKeys (removed)
Description Regenerates the primary or secondary connection strings for the specified Namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
parameters:
{
keyType: enum ,
key: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_ListAuthorizationRules (removed)
Description Gets a list of authorization rules for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_GetAuthorizationRule (removed)
Description Gets an AuthorizationRule for a Namespace by rule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_ListKeys (removed)
Description Gets the primary and secondary connection strings for the Namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_ListAuthorizationRules (removed)
Description Gets the authorization rules for an Event Hub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_CreateOrUpdateAuthorizationRule (removed)
Description Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_GetAuthorizationRule (removed)
Description Gets an AuthorizationRule for an Event Hub by rule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_DeleteAuthorizationRule (removed)
Description Deletes an Event Hub AuthorizationRule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_ListKeys (removed)
Description Gets the ACS and SAS connection strings for the Event Hub.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/listKeys
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_RegenerateKeys (removed)
Description Regenerates the ACS and SAS connection strings for the Event Hub.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
authorizationRuleName: string ,
parameters:
{
keyType: enum ,
key: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
aliasPrimaryConnectionString: string ,
aliasSecondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CheckNameAvailability (removed)
Description Check the give Namespace name availability.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
parameters:
{
name: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: enum ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_CreateOrUpdate (removed)
Description Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
consumerGroupName: string ,
parameters:
{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_Delete (removed)
Description Deletes a consumer group from the specified Event Hub and resource group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
consumerGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_Get (removed)
Description Gets a description for the specified consumer group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
consumerGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConsumerGroups_ListByEventHub (removed)
Description Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
$skip: integer ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdAt: string ,
updatedAt: string ,
userMetadata: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_CheckNameAvailability (removed)
Description Check the give Namespace name availability.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
parameters:
{
name: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: enum ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_List (removed)
Description Gets all Alias(Disaster Recovery configurations)
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_CreateOrUpdate (removed)
Description Creates or updates a new Alias(Disaster Recovery configuration)
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
parameters:
{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}

⚐ Response (201)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_Delete (removed)
Description Deletes an Alias(Disaster Recovery configuration)
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_Get (removed)
Description Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
partnerNamespace: string ,
alternateName: string ,
role: enum ,
pendingReplicationOperationsCount: integer ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_BreakPairing (removed)
Description This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DisasterRecoveryConfigs_FailOver (removed)
Description Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover
{
resourceGroupName: string ,
namespaceName: string ,
alias: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_ListByNamespace (removed)
Description Gets all the Event Hubs in a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
$skip: integer ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_CreateOrUpdate (removed)
Description Creates or updates a new Event Hub as a nested resource within a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
parameters:
{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_Delete (removed)
Description Deletes an Event Hub from the specified Namespace and resource group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
EventHubs_Get (removed)
Description Gets an Event Hubs description for the specified Event Hub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
{
resourceGroupName: string ,
namespaceName: string ,
eventHubName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
partitionIds:
[
string ,
]
,
createdAt: string ,
updatedAt: string ,
messageRetentionInDays: integer ,
partitionCount: integer ,
status: enum ,
captureDescription:
{
enabled: boolean ,
encoding: enum ,
intervalInSeconds: integer ,
sizeLimitInBytes: integer ,
destination:
{
name: string ,
properties:
{
storageAccountResourceId: string ,
blobContainer: string ,
archiveNameFormat: string ,
}
,
}
,
skipEmptyArchives: boolean ,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_List (removed)
Description Lists all the available Namespaces within a subscription, irrespective of the resource groups.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListByResourceGroup (removed)
Description Lists the available Namespaces within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CreateOrUpdate (removed)
Description Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
parameters:
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_Delete (removed)
Description Deletes an existing namespace. This operation also removes all associated resources under the namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_Get (removed)
Description Gets the description of the specified namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_Update (removed)
Description Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
{
resourceGroupName: string ,
namespaceName: string ,
parameters:
{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
properties:
{
provisioningState: string ,
createdAt: string ,
updatedAt: string ,
serviceBusEndpoint: string ,
metricId: string ,
isAutoInflateEnabled: boolean ,
maximumThroughputUnits: integer ,
kafkaEnabled: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_GetMessagingPlan (removed)
Description Gets messaging plan for specified namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/messagingplan
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
sku: integer ,
selectedEventHubUnit: integer ,
updatedAt: string ,
revision: integer ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_CreateOrUpdateNetworkRuleSet (removed)
Description Create or update NetworkRuleSet for a Namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_GetNetworkRuleSet (removed)
Description Gets NetworkRuleSet for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Namespaces_ListNetworkRuleSets (removed)
Description Gets list of NetworkRuleSet for a Namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets
{
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
defaultAction: enum ,
virtualNetworkRules:
[
{
subnet:
{
id: string ,
}
,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
ipRules:
[
{
ipMask: string ,
action: enum ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Operations_List (removed)
Description Lists all of the available Event Hub REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.EventHub/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Regions_ListBySku (removed)
Description Gets the available Regions for a given sku
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/sku/{sku}/regions
{
api-version: string ,
subscriptionId: string ,
sku: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
code: string ,
fullName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}