azure.mgmt.eventhub package

Module contents

class azure.mgmt.eventhub.EventHubManagementClient(credential: TokenCredential, subscription_id: str, api_version: Optional[str] = None, base_url: str = 'https://management.azure.com', profile: azure.profiles.KnownProfiles = <KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs: Any)[source]

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, azure.mgmt.eventhub._event_hub_management_client._SDKClient

Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.

This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Parameters
  • credential (TokenCredential) – Credential needed for the client to connect to Azure. Required.

  • subscription_id (str) – Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required.

  • api_version (str) – API version to use if no profile is provided, or if missing in profile.

  • base_url (str) – Service URL

  • profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.

Keyword Arguments

polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

This is a fake class to support current implemetation of MultiApiClientMixin.” Will be removed in final version of multiapi azure-core based client

close()[source]
classmethod models(api_version='2021-11-01')[source]

Module depends on the API version:

  • 2015-08-01: v2015_08_01.models

  • 2017-04-01: v2017_04_01.models

  • 2018-01-01-preview: v2018_01_01_preview.models

  • 2021-01-01-preview: v2021_01_01_preview.models

  • 2021-06-01-preview: v2021_06_01_preview.models

  • 2021-11-01: v2021_11_01.models

  • 2022-01-01-preview: v2022_01_01_preview.models

  • 2022-10-01-preview: v2022_10_01_preview.models

DEFAULT_API_VERSION = '2021-11-01'
LATEST_PROFILE = azure.mgmt.eventhub.EventHubManagementClient latest
property application_group

Instance depends on the API version:

  • 2022-01-01-preview: ApplicationGroupOperations

  • 2022-10-01-preview: ApplicationGroupOperations

property clusters

Instance depends on the API version:

  • 2018-01-01-preview: ClustersOperations

  • 2021-06-01-preview: ClustersOperations

  • 2021-11-01: ClustersOperations

  • 2022-01-01-preview: ClustersOperations

  • 2022-10-01-preview: ClustersOperations

property configuration

Instance depends on the API version:

  • 2018-01-01-preview: ConfigurationOperations

  • 2021-06-01-preview: ConfigurationOperations

  • 2021-11-01: ConfigurationOperations

  • 2022-01-01-preview: ConfigurationOperations

  • 2022-10-01-preview: ConfigurationOperations

property consumer_groups

Instance depends on the API version:

property disaster_recovery_configs

Instance depends on the API version:

  • 2017-04-01: DisasterRecoveryConfigsOperations

  • 2018-01-01-preview: DisasterRecoveryConfigsOperations

  • 2021-01-01-preview: DisasterRecoveryConfigsOperations

  • 2021-06-01-preview: DisasterRecoveryConfigsOperations

  • 2021-11-01: DisasterRecoveryConfigsOperations

  • 2022-01-01-preview: DisasterRecoveryConfigsOperations

  • 2022-10-01-preview: DisasterRecoveryConfigsOperations

property event_hubs

Instance depends on the API version:

  • 2015-08-01: EventHubsOperations

  • 2017-04-01: EventHubsOperations

  • 2018-01-01-preview: EventHubsOperations

  • 2021-01-01-preview: EventHubsOperations

  • 2021-06-01-preview: EventHubsOperations

  • 2021-11-01: EventHubsOperations

  • 2022-01-01-preview: EventHubsOperations

  • 2022-10-01-preview: EventHubsOperations

property namespaces

Instance depends on the API version:

  • 2015-08-01: NamespacesOperations

  • 2017-04-01: NamespacesOperations

  • 2018-01-01-preview: NamespacesOperations

  • 2021-01-01-preview: NamespacesOperations

  • 2021-06-01-preview: NamespacesOperations

  • 2021-11-01: NamespacesOperations

  • 2022-01-01-preview: NamespacesOperations

  • 2022-10-01-preview: NamespacesOperations

property network_security_perimeter_configuration

Instance depends on the API version:

  • 2022-01-01-preview: NetworkSecurityPerimeterConfigurationOperations

  • 2022-10-01-preview: NetworkSecurityPerimeterConfigurationOperations

property network_security_perimeter_configurations

Instance depends on the API version:

  • 2022-01-01-preview: NetworkSecurityPerimeterConfigurationsOperations

  • 2022-10-01-preview: NetworkSecurityPerimeterConfigurationsOperations

property operations

Instance depends on the API version:

  • 2015-08-01: Operations

  • 2017-04-01: Operations

  • 2018-01-01-preview: Operations

  • 2021-01-01-preview: Operations

  • 2021-06-01-preview: Operations

  • 2021-11-01: Operations

  • 2022-01-01-preview: Operations

  • 2022-10-01-preview: Operations

property private_endpoint_connections

Instance depends on the API version:

  • 2018-01-01-preview: PrivateEndpointConnectionsOperations

  • 2021-01-01-preview: PrivateEndpointConnectionsOperations

  • 2021-06-01-preview: PrivateEndpointConnectionsOperations

  • 2021-11-01: PrivateEndpointConnectionsOperations

  • 2022-01-01-preview: PrivateEndpointConnectionsOperations

  • 2022-10-01-preview: PrivateEndpointConnectionsOperations

Instance depends on the API version:

  • 2018-01-01-preview: PrivateLinkResourcesOperations

  • 2021-01-01-preview: PrivateLinkResourcesOperations

  • 2021-06-01-preview: PrivateLinkResourcesOperations

  • 2021-11-01: PrivateLinkResourcesOperations

  • 2022-01-01-preview: PrivateLinkResourcesOperations

  • 2022-10-01-preview: PrivateLinkResourcesOperations

property regions

Instance depends on the API version:

property schema_registry

Instance depends on the API version:

  • 2021-11-01: SchemaRegistryOperations

  • 2022-01-01-preview: SchemaRegistryOperations

  • 2022-10-01-preview: SchemaRegistryOperations