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

Gets the description of a specified authorization rule for a given Service Bus queue.

Syntax

Get-AzureRmServiceBusQueueAuthorizationRule
   [-ResourceGroup] <String>
   [-NamespaceName] <String>
   [-QueueName] <String>
   [[-AuthorizationRuleName] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmServiceBusQueueAuthorizationRule cmdlet gets the description of a specified authorization rule on the given Service Bus queue.

Examples

Example 1

PS C:\> Get-AzureRmServiceBusQueueAuthorizationRule -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -QueueName SB-Queue_exampl1 -AuthorizationRuleName SBAuthoRule1

Returns the specified authorization rule description for a given Service Bus queue.

Required Parameters

-NamespaceName

The Service Bus namespace name.

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

The queue name.

Type:String
Position:2
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 authorization rule name.

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

Inputs

-ResourceGroup

Inputs

-NamespaceName

Inputs

-QueueName

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