Interface EventHubAuthorizationRules
- All Superinterfaces:
HasManager<EventHubsManager>,SupportsCreating<EventHubAuthorizationRule.DefinitionStages.Blank>,SupportsDeletingById,SupportsGettingById<EventHubAuthorizationRule>
public interface EventHubAuthorizationRules
extends SupportsCreating<EventHubAuthorizationRule.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHubAuthorizationRule>, HasManager<EventHubsManager>
Entry point to manage event hub authorization rules.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByName(String resourceGroupName, String namespaceName, String eventHubName, String name) Deletes an authorization rule of an event hub in a namespace under a resource group.deleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name) Deletes an authorization rule of an event hub in a namespace under a resource group.Gets an authorization rule of an event hub in a namespace under a resource group.getByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name) Gets an authorization rule of an event hub in a namespace in a resource group.com.azure.core.http.rest.PagedIterable<EventHubAuthorizationRule>listByEventHub(String resourceGroupName, String namespaceName, String eventHubName) Lists the authorization rules of an event hub in a namespace under a resource group.com.azure.core.http.rest.PagedFlux<EventHubAuthorizationRule>listByEventHubAsync(String resourceGroupName, String namespaceName, String eventHubName) Lists the authorization rules of an event hub in a namespace under a resource group.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
Method Details
-
listByEventHub
com.azure.core.http.rest.PagedIterable<EventHubAuthorizationRule> listByEventHub(String resourceGroupName, String namespaceName, String eventHubName) Lists the authorization rules of an event hub in a namespace under a resource group.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub name- Returns:
- list of authorization rules
-
listByEventHubAsync
com.azure.core.http.rest.PagedFlux<EventHubAuthorizationRule> listByEventHubAsync(String resourceGroupName, String namespaceName, String eventHubName) Lists the authorization rules of an event hub in a namespace under a resource group.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub name- Returns:
- observable that emits the authorization rules
-
getByNameAsync
Mono<EventHubAuthorizationRule> getByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name) Gets an authorization rule of an event hub in a namespace in a resource group.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- authorization rule name- Returns:
- observable that emits the authorization rule
-
getByName
EventHubAuthorizationRule getByName(String resourceGroupName, String namespaceName, String eventHubName, String name) Gets an authorization rule of an event hub in a namespace under a resource group.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- authorization rule name- Returns:
- the authorization rule
-
deleteByNameAsync
Mono<Void> deleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name) Deletes an authorization rule of an event hub in a namespace under a resource group.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- authorization rule name- Returns:
- the completable representing the task
-
deleteByName
Deletes an authorization rule of an event hub in a namespace under a resource group.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- authorization rule name
-