New-AzureRmEventHubNamespace
Hiermee maakt u een Event Hubs-naamruimte.
Waarschuwing
De AzureRM PowerShell-module is vanaf 29 februari 2024 officieel afgeschaft. Gebruikers wordt aangeraden om van AzureRM naar de Az PowerShell-module te migreren om ondersteuning en updates te garanderen.
Hoewel de AzureRM-module nog steeds kan functioneren, wordt deze niet meer onderhouden of ondersteund, waardoor het gebruik naar eigen goeddunken en risico van de gebruiker blijft bestaan. Raadpleeg onze migratiebronnen voor hulp bij de overgang naar de Az-module.
Syntax
New-AzureRmEventHubNamespace
[-ResourceGroupName] <String>
[-Name] <String>
[-Location] <String>
[[-SkuName] <String>]
[[-SkuCapacity] <Int32>]
[[-Tag] <Hashtable>]
[-EnableKafka]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzureRmEventHubNamespace
[-ResourceGroupName] <String>
[-Name] <String>
[-Location] <String>
[[-SkuName] <String>]
[[-SkuCapacity] <Int32>]
[[-Tag] <Hashtable>]
[-EnableAutoInflate]
[[-MaximumThroughputUnits] <Int32>]
[-EnableKafka]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Met de cmdlet New-AzureRmEventHubNamespace maakt u een nieuwe naamruimte van het type Event Hubs.
Voorbeelden
Voorbeeld 1
PS C:\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation
Hiermee maakt u een Event Hubs-naamruimte 'MyNamespaceName' in de opgegeven geografische locatie 'MyLocation', in de resourcegroep 'MyResourceGroupName'.
Voorbeeld 2
PS C:\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation -EnableAutoInflate -MaximumThroughputUnits 10
Hiermee maakt u een Event Hubs-naamruimte 'MyNamespaceName' in de opgegeven geografische locatie 'MyLocation', in resourcegroep 'MyResourceGroupName' en AutoInflate is ingeschakeld met MaximumThroughputUnits 10.
Voorbeeld 3: naamruimte waarvoor Kafka is ingeschakeld
PS C:\> New-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location MyLocation -EnableAutoInflate -EnableKafka
Hiermee maakt u een Event Hubs-naamruimte 'MyNamespaceName' in de opgegeven geografische locatie 'MyLocation', in de resourcegroep 'MyResourceGroupName' met Kafka en AutoInflate ingeschakeld.
Parameters
-Confirm
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableAutoInflate
Geeft aan of AutoInflate is ingeschakeld
Type: | SwitchParameter |
Position: | Named |
standaardwaarde: | None |
Vereist: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableKafka
Kafka in- of uitschakelen voor naamruimte
Type: | SwitchParameter |
Position: | Named |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
EventHub-naamruimtelocatie.
Type: | String |
Position: | 2 |
standaardwaarde: | None |
Vereist: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MaximumThroughputUnits
Bovengrens van doorvoereenheden wanneer AutoInflate is ingeschakeld, moet de waarde binnen 0 tot 20 doorvoereenheden zijn.
Type: | Nullable<T>[Int32] |
Position: | 7 |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Naam van EventHub-naamruimte.
Type: | String |
Aliases: | NamespaceName |
Position: | 1 |
standaardwaarde: | None |
Vereist: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Naam resourcegroep
Type: | String |
Position: | 0 |
standaardwaarde: | None |
Vereist: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SkuCapacity
De eventhub-doorvoereenheden.
Type: | Nullable<T>[Int32] |
Position: | 4 |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SkuName
Naamruimte-SKU-naam.
Type: | String |
geaccepteerde waarden: | Basic, Standard, Premium |
Position: | 3 |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Tag
Hashtables die resourcetags vertegenwoordigen.
Type: | Hashtable |
Position: | 5 |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
standaardwaarde: | None |
Vereist: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |