Get-​Azure​Rm​Service​Bus​Namespace​Authorization​Rule

Gets a description of the specified authorization rule for a given namespace.

Syntax

Get-AzureRmServiceBusNamespaceAuthorizationRule
   [-ResourceGroup] <String>
   [-NamespaceName] <String>
   [[-AuthorizationRuleName] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmServiceBusNamespaceAuthorizationRule cmdlet gets the description of the specified authorization rule in the given namespace.

Examples

Example 1

PS C:\> Get-AzureRmServiceBusNamespaceAuthorizationRule -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -AuthorizationRuleName AuthoRule1

Returns the specified authorization rule description for a specified namespace.

Required Parameters

-NamespaceName

The Service Bus namespace name.

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

The name of the resource group.

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

Optional Parameters

-AuthorizationRuleName

The Service Bus namespace authorization rule name.

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

Inputs

-ResourceGroup

Inputs

-NamespaceName

Inputs

-AuthorizationRuleName

Outputs

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.ServiceBus.Models.SharedAccessAuthorizationRuleAttributes, Microsoft.Azure.Commands.ServiceBus, Version=0.0.1.0, Culture=neutral, PublicKeyToken=null]]