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

System.String

Inputs

-NamespaceName

System.String

Inputs

-AuthorizationRuleName

System.String

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]]

Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/SB-Example1/AuthorizationRules/AuthoRule1 Type : Microsoft.ServiceBus/AuthorizationRules Name : AuthoRule1 Location : Tags : Rights : {Listen, Send}