Partager via


DisasterRecoveryPairingAuthorizationRules Interface

Implements

SupportsGettingById<DisasterRecoveryPairingAuthorizationRule> HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager> HasInner<com.microsoft.azure.management.eventhub.implementation.DisasterRecoveryConfigsInner>

public interface DisasterRecoveryPairingAuthorizationRules
extends SupportsGettingById<DisasterRecoveryPairingAuthorizationRule>, HasInner<com.microsoft.azure.management.eventhub.implementation.DisasterRecoveryConfigsInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>

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 rx.Observable<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 com.microsoft.azure.PagedList<DisasterRecoveryPairingAuthorizationRule> listByDisasterRecoveryPairing(String resourceGroupName, String namespaceName, String pairingName)

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

abstract rx.Observable<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 Observable 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 PagedList 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 Observable 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