Set-​Azure​Rm​Service​Bus​Namespace

Updates the description of an existing Service Bus namespace.

Syntax

Set-AzureRmServiceBusNamespace
   [-ResourceGroupName] <String>
   [-Location] <String>
   [-NamespaceName] <String>
   [-Confirm]
   [-SkuName <String>]
   [-Tag <Hashtable>]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-AzureRmServiceBusNamespace cmdlet updates the description of the specified Service Bus namespace within the resource group.

Examples

Example 1

PS C:\> Set-AzureRmServiceBusNamespace -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -Location WestUs -SkuName Premium -SkuCapacity 10 -Tag @{Tag2="Tag2Value"}

Updates the Service Bus namespace with a new description.

Required Parameters

-Location

The Service Bus namespace location.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-NamespaceName

The Service Bus namespace name.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

The resource group name.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

Updates the Service Bus namespace with the specified information.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-SkuName

The namespace SKU name.

Type:String
Parameter Sets:Basic, Standard, Premium
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Tag

Hashtables that represent resource tags.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

-ResourceGroup

Inputs

-NamespaceName

Inputs

-Location

Inputs

-SkuName

Inputs

-Tag

Outputs

Microsoft.Azure.Commands.ServiceBus.Models.NamespaceAttributes