EventHubsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:event_hubs> attribute.
- Inheritance
-
builtins.objectEventHubsOperations
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
|
Name of the Resource group within the Azure subscription. Required. |
namespace_name
Required
|
The namespace name. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
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.v2017_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\servicebus\\v2017_04_01\\models\\__init__.py'>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python