Interface DisasterRecoveryPairingAuthorizationRules

All Superinterfaces:
HasManager<EventHubsManager>, SupportsGettingById<DisasterRecoveryPairingAuthorizationRule>

public interface DisasterRecoveryPairingAuthorizationRules extends SupportsGettingById<DisasterRecoveryPairingAuthorizationRule>, HasManager<EventHubsManager>
Entry point to manage disaster recovery pairing authorization rules.
  • Method Details

    • listByDisasterRecoveryPairing

      com.azure.core.http.rest.PagedIterable<DisasterRecoveryPairingAuthorizationRule> listByDisasterRecoveryPairing(String resourceGroupName, String namespaceName, String pairingName)
      Lists the authorization rules that can be used to access the disaster recovery pairing.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - primary namespace name
      pairingName - pairing name
      Returns:
      list of authorization rules
    • listByDisasterRecoveryPairingAsync

      com.azure.core.http.rest.PagedFlux<DisasterRecoveryPairingAuthorizationRule> listByDisasterRecoveryPairingAsync(String resourceGroupName, String namespaceName, String pairingName)
      Lists the authorization rules that can be used to access the disaster recovery pairing.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - primary namespace name
      pairingName - pairing name
      Returns:
      observable that emits the authorization rules
    • getByNameAsync

      Mono<DisasterRecoveryPairingAuthorizationRule> getByNameAsync(String resourceGroupName, String namespaceName, String pairingName, String name)
      Gets an authorization rule that can be used to access the disaster recovery pairing.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - primary namespace name
      pairingName - pairing name
      name - rule name
      Returns:
      observable that emits the authorization rule
    • getByName

      DisasterRecoveryPairingAuthorizationRule getByName(String resourceGroupName, String namespaceName, String pairingName, String name)
      Gets an authorization rule that can be used to access the disaster recovery pairing.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - primary namespace name
      pairingName - pairing name
      name - rule name
      Returns:
      the authorization rule