Interface EventHubNamespaceAuthorizationRules
- All Superinterfaces:
HasManager<EventHubsManager>,SupportsCreating<EventHubNamespaceAuthorizationRule.DefinitionStages.Blank>,SupportsDeletingById,SupportsGettingById<EventHubNamespaceAuthorizationRule>
public interface EventHubNamespaceAuthorizationRules
extends SupportsCreating<EventHubNamespaceAuthorizationRule.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHubNamespaceAuthorizationRule>, HasManager<EventHubsManager>
Entry point to manage event hub namespace authorization rules.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByName(String resourceGroupName, String namespaceName, String name) Deletes an authorization rule under a namespace in a resource group.deleteByNameAsync(String resourceGroupName, String namespaceName, String name) Deletes an authorization rule under a namespace in a resource group.Gets an authorization rule under a namespace in a resource group.getByNameAsync(String resourceGroupName, String namespaceName, String name) Gets an authorization rule under a namespace in a resource group.com.azure.core.http.rest.PagedIterable<EventHubNamespaceAuthorizationRule>listByNamespace(String resourceGroupName, String namespaceName) Lists the authorization rules under a namespace in a resource group.com.azure.core.http.rest.PagedFlux<EventHubNamespaceAuthorizationRule>listByNamespaceAsync(String resourceGroupName, String namespaceName) Lists the authorization rules under a namespace in 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
-
listByNamespace
com.azure.core.http.rest.PagedIterable<EventHubNamespaceAuthorizationRule> listByNamespace(String resourceGroupName, String namespaceName) Lists the authorization rules under a namespace in a resource group.- Parameters:
resourceGroupName- resource group namenamespaceName- namespace name- Returns:
- list of authorization rules
-
listByNamespaceAsync
com.azure.core.http.rest.PagedFlux<EventHubNamespaceAuthorizationRule> listByNamespaceAsync(String resourceGroupName, String namespaceName) Lists the authorization rules under a namespace in a resource group.- Parameters:
resourceGroupName- resource group namenamespaceName- namespace name- Returns:
- observable that emits the authorization rules
-
getByNameAsync
Mono<EventHubNamespaceAuthorizationRule> getByNameAsync(String resourceGroupName, String namespaceName, String name) Gets an authorization rule under a namespace in a resource group.- Parameters:
resourceGroupName- resource group namenamespaceName- namespace namename- authorization rule name- Returns:
- observable that emits the authorization rule
-
getByName
EventHubNamespaceAuthorizationRule getByName(String resourceGroupName, String namespaceName, String name) Gets an authorization rule under a namespace in a resource group.- Parameters:
resourceGroupName- resource group namenamespaceName- namespace namename- authorization rule name- Returns:
- the authorization rule
-
deleteByNameAsync
Deletes an authorization rule under a namespace in a resource group.- Parameters:
resourceGroupName- resource group namenamespaceName- namespace namename- authorization rule name- Returns:
- the completable representing the task
-
deleteByName
Deletes an authorization rule under a namespace in a resource group.- Parameters:
resourceGroupName- resource group namenamespaceName- namespace namename- authorization rule name
-