Interface EventHubs
- All Superinterfaces:
HasManager<EventHubsManager>
,SupportsCreating<EventHub.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsGettingById<EventHub>
public interface EventHubs
extends SupportsCreating<EventHub.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHub>, HasManager<EventHubsManager>
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.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.getByNameAsync
(String resourceGroupName, String namespaceName, String name) Gets an event hub in a namespace under a resource group.com.azure.core.http.rest.PagedIterable<EventHub>
listByNamespace
(String resourceGroupName, String namespaceName) Lists the event hubs in a namespace under a resource group.com.azure.core.http.rest.PagedFlux<EventHub>
listByNamespaceAsync
(String resourceGroupName, String namespaceName) Lists the event hubs in a namespace under a resource group.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
Method Details
-
authorizationRules
EventHubAuthorizationRules authorizationRules()- Returns:
- entry point to manage authorization rules of event hubs.
-
consumerGroups
EventHubConsumerGroups consumerGroups()- Returns:
- entry point to manage consumer group of event hubs.
-
listByNamespace
com.azure.core.http.rest.PagedIterable<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
com.azure.core.http.rest.PagedFlux<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
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
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
-