< Back

Set-AzureRmServiceBusNamespace

Tue Jan 29, 2019 10:07 pm

NAME Set-AzureRmServiceBusNamespace



SYNOPSIS

Updates the description of an existing Service Bus namespace.





SYNTAX

Set-AzureRmServiceBusNamespace [-ResourceGroupName] <String> [-Location] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>]

[-SkuCapacity <Int32>] [-SkuName {Basic | Standard | Premium}] [-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

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





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



-Location <String>

The Service Bus namespace location.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

ServiceBus Namespace Name.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SkuCapacity <Int32>

Namespace Sku Capacity.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SkuName <String>

The namespace SKU name.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

Key-value pairs in the form of a hash table. For example:



@{key0="value0";key1=$null;key2="value2"}



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Updates the Service Bus namespace with the specified information.



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

-ResourceGroup

System.String



-NamespaceName

System.String



-Location

System.String



-SkuName

System.String



-Tag

System.Collections.Hashtable





OUTPUTS

Microsoft.Azure.Commands.ServiceBus.Models.PSNamespaceAttributes







NOTES









Example 1



PS C:\\> Set-AzureRmServiceBusNamespace -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -Location WestUs -SkuName Premium

-SkuCapacity 10 -Tag @{Tag2="Tag2Value"}



Name : SB-Example1

Id : /subscriptions/{subscription

id}/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/SB-Example1

Location : West US

Sku : Name : Standard , Capacity : 10 , Tier : Standard

ProvisioningState : Succeeded

CreatedAt :

UpdatedAt :

ServiceBusEndpoint :



Updates the Service Bus namespace with a new description.







RELATED LINKS

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