Interface EventHubs
- All Superinterfaces:
HasInner<com.microsoft.azure.management.eventhub.implementation.EventHubsInner>
,HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
,SupportsCreating<EventHub.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsGettingById<EventHub>
@Beta(V1_7_0)
public interface EventHubs
extends SupportsCreating<EventHub.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHub>, HasInner<com.microsoft.azure.management.eventhub.implementation.EventHubsInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
Entry point to manage event hubs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByName
(String resourceGroupName, String namespaceName, String name) Deletes an event hub in a namespace under a resource group.rx.Completable
deleteByNameAsync
(String resourceGroupName, String namespaceName, String name) Deletes an event hub in a namespace under a resource group.Gets an event hub in a namespace under a resource group.rx.Observable<EventHub>
getByNameAsync
(String resourceGroupName, String namespaceName, String name) Gets an event hub in a namespace under a resource group.com.microsoft.azure.PagedList<EventHub>
listByNamespace
(String resourceGroupName, String namespaceName) Lists the event hubs in a namespace under a resource group.rx.Observable<EventHub>
listByNamespaceAsync
(String resourceGroupName, String namespaceName) Lists the event hubs in a namespace under a resource group.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
-
Method Details
-
authorizationRules
- Returns:
- entry point to manage authorization rules of event hubs.
-
consumerGroups
- Returns:
- entry point to manage consumer group of event hubs.
-
listByNamespace
@Beta(V1_7_0) com.microsoft.azure.PagedList<EventHub> listByNamespace(String resourceGroupName, String namespaceName) Lists the event hubs in a namespace under a resource group.- Parameters:
resourceGroupName
- resource group namenamespaceName
- namespace name- Returns:
- list of event hubs
-
listByNamespaceAsync
@Beta(V1_7_0) rx.Observable<EventHub> listByNamespaceAsync(String resourceGroupName, String namespaceName) Lists the event hubs in a namespace under a resource group.- Parameters:
resourceGroupName
- resource group namenamespaceName
- namespace name- Returns:
- observable that emits the event hubs
-
getByNameAsync
@Beta(V1_7_0) rx.Observable<EventHub> getByNameAsync(String resourceGroupName, String namespaceName, String name) Gets an event hub in a namespace under a resource group.- Parameters:
resourceGroupName
- resource group namenamespaceName
- namespace namename
- event hub name- Returns:
- observable that emits the event hubs
-
getByName
Gets an event hub in a namespace under a resource group.- Parameters:
resourceGroupName
- resource group namenamespaceName
- namespace namename
- event hub name- Returns:
- the event hubs
-
deleteByNameAsync
@Beta(V1_7_0) rx.Completable deleteByNameAsync(String resourceGroupName, String namespaceName, String name) Deletes an event hub in a namespace under a resource group.- Parameters:
resourceGroupName
- resource group namenamespaceName
- namespace namename
- event hub name- Returns:
- the completable representing the task
-
deleteByName
Deletes an event hub in a namespace under a resource group.- Parameters:
resourceGroupName
- resource group namenamespaceName
- namespace namename
- event hub name
-