< Back
New-AzureRmEventHubNamespace
Post
NAME New-AzureRmEventHubNamespace
SYNOPSIS
Creates an Event Hubs namespace.
SYNTAX
New-AzureRmEventHubNamespace [-ResourceGroupName] <String> [-Name] <String> [-Location] <String> [[-SkuName] {Basic | Standard | Premium}]
[[-SkuCapacity] <Int32>] [[-Tag] <Hashtable>] [[-MaximumThroughputUnits] <Int32>] [-DefaultProfile <IAzureContextContainer>] -EnableAutoInflate
[-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmEventHubNamespace cmdlet creates a new namespace of type Event Hubs.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with Azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EnableAutoInflate [<SwitchParameter>]
Indicates whether AutoInflate is enabled
Required? true
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
EventHub Namespace Location.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-MaximumThroughputUnits <Int32>
Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units.
Required? false
Position? 7
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
EventHub Namespace Name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SkuCapacity <Int32>
The eventhub throughput units.
Required? false
Position? 4
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SkuName <String>
Namespace Sku Name.
Required? false
Position? 3
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Tag <Hashtable>
Hashtables which represents resource Tags.
Required? false
Position? 5
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Collections.Hashtable
OUTPUTS
Microsoft.Azure.Commands.EventHub.Models.PSNamespaceAttributes
NOTES
Example 1
PS C:\\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation
Creates an Event Hubs namespace `MyNamespaceName` in the specified geographic location `MyLocation`, in resource group `MyResourceGroupName`.
Example 2
PS C:\\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation -EnableAutoInflate
-MaximumThroughputUnits 10
Creates an Event Hubs namespace `MyNamespaceName` in the specified geographic location `MyLocation`, in resource group `MyResourceGroupName` and
AutoInflate is enabled with MaximumThroughputUnits 10.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... bnamespace
SYNOPSIS
Creates an Event Hubs namespace.
SYNTAX
New-AzureRmEventHubNamespace [-ResourceGroupName] <String> [-Name] <String> [-Location] <String> [[-SkuName] {Basic | Standard | Premium}]
[[-SkuCapacity] <Int32>] [[-Tag] <Hashtable>] [[-MaximumThroughputUnits] <Int32>] [-DefaultProfile <IAzureContextContainer>] -EnableAutoInflate
[-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmEventHubNamespace cmdlet creates a new namespace of type Event Hubs.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with Azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EnableAutoInflate [<SwitchParameter>]
Indicates whether AutoInflate is enabled
Required? true
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
EventHub Namespace Location.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-MaximumThroughputUnits <Int32>
Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units.
Required? false
Position? 7
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
EventHub Namespace Name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SkuCapacity <Int32>
The eventhub throughput units.
Required? false
Position? 4
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SkuName <String>
Namespace Sku Name.
Required? false
Position? 3
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Tag <Hashtable>
Hashtables which represents resource Tags.
Required? false
Position? 5
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Collections.Hashtable
OUTPUTS
Microsoft.Azure.Commands.EventHub.Models.PSNamespaceAttributes
NOTES
Example 1
PS C:\\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation
Creates an Event Hubs namespace `MyNamespaceName` in the specified geographic location `MyLocation`, in resource group `MyResourceGroupName`.
Example 2
PS C:\\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation -EnableAutoInflate
-MaximumThroughputUnits 10
Creates an Event Hubs namespace `MyNamespaceName` in the specified geographic location `MyLocation`, in resource group `MyResourceGroupName` and
AutoInflate is enabled with MaximumThroughputUnits 10.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... bnamespace