Get-​Azure​Rm​Service​Bus​Subscription

Returns a subscription description for the specified topic.

Syntax

Get-AzureRmServiceBusSubscription
   [-ResourceGroup] <String>
   [-NamespaceName] <String>
   [-TopicName] <String>
   [[-SubscriptionName] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmServiceBusSubscription cmdlet returns a subscription description for the specified Service Bus topic.

Examples

Example 1

PS C:\> Get-AzureRmServiceBusSubscription -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -TopicName SB-Topic_exampl1 -SubscriptionName SB-TopicSubscription-Example1

Returns a subscription description for the specified Service Bus 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 topic name.

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

Optional Parameters

-SubscriptionName

The subscription name.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

-ResourceGroup

Inputs

-NamespaceName

Inputs

-TopicName

Inputs

-SubscriptionName

Outputs

Microsoft.Azure.Commands.ServiceBus.Models.SubscriptionAttributes