Share via


IWithPrimaryNamespace.WithNewPrimaryNamespace Method

Definition

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

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Definition.IWithSecondaryNamespace WithNewPrimaryNamespace (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace> namespaceCreatable);
abstract member WithNewPrimaryNamespace : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace> -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubDisasterRecoveryPairing.Definition.IWithSecondaryNamespace
Public Function WithNewPrimaryNamespace (namespaceCreatable As ICreatable(Of IEventHubNamespace)) As IWithSecondaryNamespace

Parameters

namespaceCreatable
ICreatable<IEventHubNamespace>

Creatable definition for the primary namespace.

Returns

Applies to