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

Returns a description for the specified Service Bus topic.

Syntax

Get-AzureRmServiceBusTopic
   [-ResourceGroup] <String>
   [-NamespaceName] <String>
   [[-TopicName] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmServiceBusTopic cmdlet returns a topic description for the specified Service Bus namespace.

Examples

Example 1

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

Returns the description of the specified topic for the given Service Bus 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

-TopicName

The Service Bus topic name.

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

Inputs

-ResourceGroup

System.String

Inputs

-NamespaceName

System.String

Inputs

-TopicName

System.String

Outputs

Microsoft.Azure.Commands.ServiceBus.Models.TopicAttributes

Name : SB-Topic_exampl1 Location : West US Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/SB-Example1/topics/S B-Topic_exampl1 Type : Microsoft.ServiceBus/Topic AccessedAt : 1/20/2017 3:18:54 AM AutoDeleteOnIdle : 10675199.02:48:05.4775807 EntityAvailabilityStatus : CreatedAt : 1/20/2017 3:16:41 AM CountDetails : Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails DefaultMessageTimeToLive : 10675199.02:48:05.4775807 DuplicateDetectionHistoryTimeWindow : EnableBatchedOperations : True EnableExpress : False EnablePartitioning : True EnableSubscriptionPartitioning : False FilteringMessagesBeforePublishing : False IsAnonymousAccessible : False IsExpress : False MaxSizeInMegabytes : 16384 RequiresDuplicateDetection : False SizeInBytes : 0 Status : Active SubscriptionCount : 1 SupportOrdering : False UpdatedAt : 1/20/2017 3:16:43 AM