EventHubsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ServiceBusManagementClient's

<xref:event_hubs> attribute.

Inheritance
builtins.object
EventHubsOperations

Constructor

EventHubsOperations(*args, **kwargs)

Methods

list_by_namespace

Gets all the Event Hubs in a service bus Namespace.

list_by_namespace

Gets all the Event Hubs in a service bus Namespace.

list_by_namespace(resource_group_name: str, namespace_name: str, **kwargs: Any) -> AsyncIterable[Eventhub]

Parameters

Name Description
resource_group_name
Required
str

Name of the Resource group within the Azure subscription. Required.

namespace_name
Required
str

The namespace name. Required.

Returns

Type Description

An iterator like instance of either Eventhub or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.servicebus.v2018_01_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\servicebus\\v2018_01_01_preview\\models\\__init__.py'>