Interface EventHubNamespaceAuthorizationRules
- All Superinterfaces:
HasInner<com.microsoft.azure.management.eventhub.implementation.NamespacesInner>,HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>,SupportsCreating<EventHubNamespaceAuthorizationRule.DefinitionStages.Blank>,SupportsDeletingById,SupportsGettingById<EventHubNamespaceAuthorizationRule>
@Beta(V1_7_0)
public interface EventHubNamespaceAuthorizationRules
extends SupportsCreating<EventHubNamespaceAuthorizationRule.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHubNamespaceAuthorizationRule>, HasInner<com.microsoft.azure.management.eventhub.implementation.NamespacesInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
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.rx.CompletabledeleteByNameAsync(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.rx.Observable<EventHubNamespaceAuthorizationRule>getByNameAsync(String resourceGroupName, String namespaceName, String name) Gets an authorization rule under a namespace in a resource group.com.microsoft.azure.PagedList<EventHubNamespaceAuthorizationRule>listByNamespace(String resourceGroupName, String namespaceName) Lists the authorization rules under a namespace in a resource group.rx.Observable<EventHubNamespaceAuthorizationRule>listByNamespaceAsync(String resourceGroupName, String namespaceName) Lists the authorization rules under a namespace in a resource group.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
-
Method Details
-
listByNamespace
@Beta(V1_7_0) com.microsoft.azure.PagedList<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
@Beta(V1_7_0) rx.Observable<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
@Beta(V1_7_0) rx.Observable<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
@Beta(V1_7_0) 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
@Beta(V1_7_0) rx.Completable deleteByNameAsync(String resourceGroupName, String namespaceName, String name) 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
-