< Back

Set-AzureRmEventHubNamespace

Tue Jan 29, 2019 9:47 pm

NAME Set-AzureRmEventHubNamespace



SYNOPSIS

Updates the specified Event Hubs namespace.





SYNTAX

Set-AzureRmEventHubNamespace [-ResourceGroupName] <String> [-Name] <String> [-Location] <String> [[-SkuName] {Basic | Standard | Premium}]

[[-SkuCapacity] <Int32>] [[-State] {Unknown | Active | Disabled}] [[-Tag] <Hashtable>] [-DefaultProfile <IAzureContextContainer>]

-EnableAutoInflate [-MaximumThroughputUnits <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmEventHubNamespace cmdlet updates the properties of the specified Event Hubs namespace.





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? named

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



-State <NamespaceState>

Disable/Enable Namespace.



Required? false

Position? 5

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

Hashtables which represents resource Tag.



Required? false

Position? 6

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.Nullable`1[[Microsoft.Azure.Commands.EventHub.Models.NamespaceState, Microsoft.Azure.Commands.EventHub, Version=0.5.0.0,

Culture=neutral, PublicKeyToken=null]] System.Collections.Hashtable





OUTPUTS

Microsoft.Azure.Commands.EventHub.Models.PSNamespaceAttributes







NOTES









Example 1



PS C:\\> Set-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location "WestUS" -State Created



Updates the state of namespace `MyNamespaceName` to Created .





Example 2



PS C:\\> Set-AzureRmEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location "WestUS" -State Created

-EnableAutoInflate -MaximumThroughputUnits 10



Updates the state of namespace `MyNamespaceName` with AutoInflate = enabled and MaximumThroughputUnits = 10







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... bnamespace