EventHubManagementClient Class

Azure Event Hubs client for managing namespaces.

Inheritance
builtins.object
EventHubManagementClient

Constructor

EventHubManagementClient(credential: AsyncTokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2021-01-01-preview". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
namespaces

NamespacesOperations operations

private_endpoint_connections

PrivateEndpointConnectionsOperations operations

private_link_resources

PrivateLinkResourcesOperations operations

operations

Operations operations

event_hubs

EventHubsOperations operations

disaster_recovery_configs

DisasterRecoveryConfigsOperations operations

consumer_groups

ConsumerGroupsOperations operations

Methods

close

close

async close() -> None