Partilhar via


EventHubDisasterRecoveryPairing.UpdateStages.WithSecondaryNamespace Interface

public static interface EventHubDisasterRecoveryPairing.UpdateStages.WithSecondaryNamespace

The stage of the disaster recovery pairing definition allowing to specify primary event hub namespace.

Method Summary

Modifier and Type Method and Description
abstract Update withExistingSecondaryNamespace(EventHubNamespace namespace)

Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.

abstract Update withExistingSecondaryNamespaceId(String namespaceId)

Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.

abstract Update withNewSecondaryNamespace(Creatable<EventHubNamespace> namespaceCreatable)

Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.

Method Details

withExistingSecondaryNamespace

public abstract EventHubDisasterRecoveryPairing.Update withExistingSecondaryNamespace(EventHubNamespace namespace)

Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.

Parameters:

namespace - the secondary event hub namespace

Returns:

next stage of the disaster recovery pairing update

withExistingSecondaryNamespaceId

public abstract EventHubDisasterRecoveryPairing.Update withExistingSecondaryNamespaceId(String namespaceId)

Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.

Parameters:

namespaceId - the secondary namespace

Returns:

next stage of the disaster recovery pairing update

withNewSecondaryNamespace

public abstract EventHubDisasterRecoveryPairing.Update withNewSecondaryNamespace(Creatable namespaceCreatable)

Specifies that the given namespace should be used as secondary namespace in disaster recovery pairing.

Parameters:

namespaceCreatable - creatable definition for the secondary namespace

Returns:

next stage of the disaster recovery pairing update

Applies to