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

Returns the description of the specified authorization rule description for the given topic.

Syntax

Get-AzureRmServiceBusTopicAuthorizationRule
   [-ResourceGroup] <String>
   [-NamespaceName] <String>
   [-TopicName] <String>
   [[-AuthorizationRuleName] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmServiceBusTopicAuthorizationRule cmdlet gets the description of the specified authorization rule on the given Service Bus topic.

Examples

Example 1

PS C:\> Get-AzureRmServiceBusTopicAuthorizationRule -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -TopicName SB-Topic_example1 -AuthorizationRuleName SBTopicAuthoRule1

Returns the description of the specified authorization rule for the given topic.

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

The Service Bus topic name.

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

Optional Parameters

-AuthorizationRuleName

The topic authorization rule name.

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

Inputs

-ResourceGroup

System.String

Inputs

-NamespaceName

System.String

Inputs

-TopicName

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/topics/SB-Topic_example1/authorizati onRules/SBTopicAuthoRule1 Type : Microsoft.ServiceBus/AuthorizationRules Name : SBTopicAuthoRule1 Location : West US Tags : Rights : {Listen, Send}