ArmEventHubsModelFactory.EventHubsNamespaceReplicaLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of EventHubsNamespaceReplicaLocation.
public static Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceReplicaLocation EventHubsNamespaceReplicaLocation(string locationName = default, Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceGeoDRRoleType? roleType = default, string replicaState = default, Azure.Core.ResourceIdentifier clusterArmId = default);
static member EventHubsNamespaceReplicaLocation : string * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceGeoDRRoleType> * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceReplicaLocation
Public Shared Function EventHubsNamespaceReplicaLocation (Optional locationName As String = Nothing, Optional roleType As Nullable(Of EventHubsNamespaceGeoDRRoleType) = Nothing, Optional replicaState As String = Nothing, Optional clusterArmId As ResourceIdentifier = Nothing) As EventHubsNamespaceReplicaLocation
Parameters
- locationName
- String
Azure regions where a replica of the namespace is maintained.
- roleType
- Nullable<EventHubsNamespaceGeoDRRoleType>
GeoDR Role Types.
- replicaState
- String
state of Namespace replica.
- clusterArmId
- ResourceIdentifier
Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster.
Returns
A new EventHubsNamespaceReplicaLocation instance for mocking.