Udostępnij za pośrednictwem


IWithPrimaryNamespace.WithExistingPrimaryNamespace Method

Definition

Overloads

WithExistingPrimaryNamespace(IEventHubNamespace)

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

WithExistingPrimaryNamespace(String, String)

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

WithExistingPrimaryNamespace(IEventHubNamespace)

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

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Definition.IWithSecondaryNamespace WithExistingPrimaryNamespace (Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace ehNamespace);
abstract member WithExistingPrimaryNamespace : Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Definition.IWithSecondaryNamespace
Public Function WithExistingPrimaryNamespace (ehNamespace As IEventHubNamespace) As IWithSecondaryNamespace

Parameters

ehNamespace
IEventHubNamespace

Returns

Applies to

WithExistingPrimaryNamespace(String, String)

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

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Definition.IWithSecondaryNamespace WithExistingPrimaryNamespace (string resourceGroupName, string namespaceName);
abstract member WithExistingPrimaryNamespace : string * string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Definition.IWithSecondaryNamespace
Public Function WithExistingPrimaryNamespace (resourceGroupName As String, namespaceName As String) As IWithSecondaryNamespace

Parameters

resourceGroupName
String

Resource group name of primary namespace.

namespaceName
String

The primary namespace.

Returns

Applies to