다음을 통해 공유


EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace Interface

public static interface EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace

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

Method Summary

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

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

abstract WithCreate withExistingSecondaryNamespaceId(String namespaceId)

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

abstract WithCreate 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.DefinitionStages.WithCreate withExistingSecondaryNamespace(EventHubNamespace namespace)

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

Parameters:

namespace - the secondary namespace

Returns:

next stage of the disaster recovery pairing definition

withExistingSecondaryNamespaceId

public abstract EventHubDisasterRecoveryPairing.DefinitionStages.WithCreate 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 definition

withNewSecondaryNamespace

public abstract EventHubDisasterRecoveryPairing.DefinitionStages.WithCreate withNewSecondaryNamespace(Creatable namespaceCreatable)

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

Parameters:

namespaceCreatable - creatable definition for the primary namespace

Returns:

next stage of the event hub definition

Applies to