| external help file | |
|---|---|
| Module Name | Az.EventHub |
| online version | https://learn.microsoft.com/powershell/module/Az.EventHub/new-azeventhublocationsnameobject |
| schema | 2.0.0 |
Create an in-memory object for NamespaceReplicaLocation.
New-AzEventHubLocationsNameObject [-ClusterArmId <String>] [-LocationName <String>] [-RoleType <String>]
[<CommonParameters>]
Create an in-memory object for NamespaceReplicaLocation.
New-AzEventHubLocationsNameObject -LocationName mylocation -RoleType Secondary -ClusterArmId clusteridCreates an in-memory object of type INamespaceReplicaLocation.
An array of INamespaceReplicaLocation can be fed as
input to GeoDataReplicationLocation parameter of New-AzEventHubNamespace and Set-AzEventHubNamespace.
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.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAzure regions where a replica of the namespace is maintained.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseGeoDR Role Types.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.