Freigeben über


EventHubDisasterRecoveryPairings Interface

Implements

public interface EventHubDisasterRecoveryPairings
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHubDisasterRecoveryPairing>, HasManager<EventHubsManager>

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 Mono<Void> 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 Mono<EventHubDisasterRecoveryPairing> getByNameAsync(String resourceGroupName, String namespaceName, String name)

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

abstract PagedIterable<EventHubDisasterRecoveryPairing> listByNamespace(String resourceGroupName, String namespaceName)

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

abstract PagedFlux<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 Mono 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 Mono 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 PagedIterable 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 PagedFlux 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