Partager via


DisasterRecoveryPairingAuthorizationRules Interface

Implements

public interface DisasterRecoveryPairingAuthorizationRules
extends SupportsGettingById<DisasterRecoveryPairingAuthorizationRule>, HasManager<EventHubsManager>

Entry point to manage disaster recovery pairing authorization rules.

Method Summary

Modifier and Type Method and Description
abstract DisasterRecoveryPairingAuthorizationRule getByName(String resourceGroupName, String namespaceName, String pairingName, String name)

Gets an authorization rule that can be used to access the disaster recovery pairing.

abstract 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.

abstract PagedIterable<DisasterRecoveryPairingAuthorizationRule> listByDisasterRecoveryPairing(String resourceGroupName, String namespaceName, String pairingName)

Lists the authorization rules that can be used to access the disaster recovery pairing.

abstract PagedFlux<DisasterRecoveryPairingAuthorizationRule> listByDisasterRecoveryPairingAsync(String resourceGroupName, String namespaceName, String pairingName)

Lists the authorization rules that can be used to access the disaster recovery pairing.

Method Details

getByName

public abstract 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

getByNameAsync

public abstract Mono 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

listByDisasterRecoveryPairing

public abstract PagedIterable 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

public abstract PagedFlux 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

Applies to