EventHubDisasterRecoveryPairings Interface

Implements

SupportsGettingById<EventHubDisasterRecoveryPairing> HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager> SupportsCreating<Blank> SupportsDeletingById HasInner<com.microsoft.azure.management.eventhub.implementation.DisasterRecoveryConfigsInner>

public interface EventHubDisasterRecoveryPairings
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHubDisasterRecoveryPairing>, HasInner<com.microsoft.azure.management.eventhub.implementation.DisasterRecoveryConfigsInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>

Entry point to manage disaster recovery pairing of event hub namespaces.

Method Summary

Modifier and Type Method and Description
abstract DisasterRecoveryPairingAuthorizationRules authorizationRules()
abstract void deleteByName(String resourceGroupName, String namespaceName, String name)

Deletes a disaster recovery pairings of a namespace under a resource group.

abstract rx.Completable deleteByNameAsync(String resourceGroupName, String namespaceName, String name)

Deletes a disaster recovery pairings of a namespace under a resource group.

abstract EventHubDisasterRecoveryPairing getByName(String resourceGroupName, String namespaceName, String name)

Gets a disaster recovery pairings of a namespace under a resource group.

abstract rx.Observable<EventHubDisasterRecoveryPairing> getByNameAsync(String resourceGroupName, String namespaceName, String name)

Gets a disaster recovery pairings of a namespace under a resource group.

abstract com.microsoft.azure.PagedList<EventHubDisasterRecoveryPairing> listByNamespace(String resourceGroupName, String namespaceName)

Lists the disaster recovery pairings of a namespace under a resource group.

abstract rx.Observable<EventHubDisasterRecoveryPairing> listByNamespaceAsync(String resourceGroupName, String namespaceName)

Lists the disaster recovery pairings of a namespace under a resource group.

Method Details

authorizationRules

public abstract DisasterRecoveryPairingAuthorizationRules authorizationRules()

Returns:

entry point to manage authorization rules of a disaster recovery pairing.

deleteByName

public abstract void deleteByName(String resourceGroupName, String namespaceName, String name)

Deletes a disaster recovery pairings of a namespace under a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - disaster recovery pairing

deleteByNameAsync

public abstract Completable deleteByNameAsync(String resourceGroupName, String namespaceName, String name)

Deletes a disaster recovery pairings of a namespace under a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - disaster recovery pairing name

Returns:

the completable representing the task

getByName

public abstract EventHubDisasterRecoveryPairing getByName(String resourceGroupName, String namespaceName, String name)

Gets a disaster recovery pairings of a namespace under a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - disaster recovery pairing name

Returns:

the disaster recovery pairing

getByNameAsync

public abstract Observable getByNameAsync(String resourceGroupName, String namespaceName, String name)

Gets a disaster recovery pairings of a namespace under a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - disaster recovery pairing name

Returns:

observable that emits disaster recovery pairings

listByNamespace

public abstract PagedList listByNamespace(String resourceGroupName, String namespaceName)

Lists the disaster recovery pairings of a namespace under a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name

Returns:

list of disaster recovery pairings

listByNamespaceAsync

public abstract Observable listByNamespaceAsync(String resourceGroupName, String namespaceName)

Lists the disaster recovery pairings of a namespace under a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name

Returns:

observable that emits disaster recovery pairings

Applies to