Interface EventHubNamespaceAuthorizationRules

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<EventHubNamespaceAuthorizationRule.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<EventHubNamespaceAuthorizationRule>

public interface EventHubNamespaceAuthorizationRules extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<EventHubNamespaceAuthorizationRule.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<EventHubNamespaceAuthorizationRule>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>
Entry point to manage event hub namespace authorization rules.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByName(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.
    getByName(String resourceGroupName, String namespaceName, String name)
    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

    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

    • 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 name
      namespaceName - 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 name
      namespaceName - 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 name
      namespaceName - namespace name
      name - 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 name
      namespaceName - namespace name
      name - authorization rule name
      Returns:
      the authorization rule
    • deleteByNameAsync

      Mono<Void> deleteByNameAsync(String resourceGroupName, String namespaceName, String name)
      Deletes an authorization rule under a namespace in a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      name - authorization rule name
      Returns:
      the completable representing the task
    • deleteByName

      void deleteByName(String resourceGroupName, String namespaceName, String name)
      Deletes an authorization rule under a namespace in a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      name - authorization rule name