Partager via


EventHubDisasterRecoveryPairing.DefinitionStages.WithPrimaryNamespace Interface

public static interface EventHubDisasterRecoveryPairing.DefinitionStages.WithPrimaryNamespace

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

Method Summary

Modifier and Type Method and Description
abstract WithSecondaryNamespace withExistingPrimaryNamespace(EventHubNamespace namespace)

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

abstract WithSecondaryNamespace withExistingPrimaryNamespace(String resourceGroupName, String namespaceName)

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

abstract WithSecondaryNamespace withExistingPrimaryNamespaceId(String namespaceId)

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

abstract WithSecondaryNamespace withNewPrimaryNamespace(Creatable<EventHubNamespace> namespaceCreatable)

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

Method Details

withExistingPrimaryNamespace

public abstract EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withExistingPrimaryNamespace(EventHubNamespace namespace)

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

Parameters:

namespace - the primary event hub namespace

Returns:

next stage of the disaster recovery pairing definition

withExistingPrimaryNamespace

public abstract EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withExistingPrimaryNamespace(String resourceGroupName, String namespaceName)

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

Parameters:

resourceGroupName - resource group name of primary namespace
namespaceName - the primary namespace

Returns:

next stage of the disaster recovery pairing definition

withExistingPrimaryNamespaceId

public abstract EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withExistingPrimaryNamespaceId(String namespaceId)

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

Parameters:

namespaceId - the primary namespace

Returns:

next stage of the disaster recovery pairing definition

withNewPrimaryNamespace

public abstract EventHubDisasterRecoveryPairing.DefinitionStages.WithSecondaryNamespace withNewPrimaryNamespace(Creatable namespaceCreatable)

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

Parameters:

namespaceCreatable - creatable definition for the primary namespace

Returns:

next stage of the disaster recovery pairing definition

Applies to