Interface EventHubAuthorizationRules
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.EventHubsInner>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>,com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<EventHubAuthorizationRule.DefinitionStages.Blank>,com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById,com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<EventHubAuthorizationRule>
@Beta(V1_7_0) public interface EventHubAuthorizationRules extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<EventHubAuthorizationRule.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<EventHubAuthorizationRule>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.EventHubsInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
Entry point to manage event hub authorization rules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByName(String resourceGroupName, String namespaceName, String eventHubName, String name)Deletes an authorization rule of an event hub in a namespace under a resource group.rx.CompletabledeleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)Deletes an authorization rule of an event hub in a namespace under a resource group.EventHubAuthorizationRulegetByName(String resourceGroupName, String namespaceName, String eventHubName, String name)Gets an authorization rule of an event hub in a namespace under a resource group.rx.Observable<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.com.microsoft.azure.PagedList<EventHubAuthorizationRule>listByEventHub(String resourceGroupName, String namespaceName, String eventHubName)Lists the authorization rules of an event hub in a namespace under a resource group.rx.Observable<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.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
-
-
-
-
Method Detail
-
listByEventHub
@Beta(V1_7_0) com.microsoft.azure.PagedList<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
@Beta(V1_7_0) rx.Observable<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
@Beta(V1_7_0) rx.Observable<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
@Beta(V1_7_0) 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
@Beta(V1_7_0) rx.Completable 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
@Beta(V1_7_0) void deleteByName(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
-
-