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

Returns a description for the specified Service Bus queue.

Syntax

Get-AzureRmServiceBusQueue
   [-ResourceGroup] <String>
   [-NamespaceName] <String>
   [[-QueueName] <String>]
   [<CommonParameters>]

Description

The Get-AzureRmServiceBusQueue cmdlet returns a description of the specified Service Bus queue.

Examples

Example 1

PS C:\> Get-AzureRmServiceBusQueue -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -QueueName SB-Queue_example1

Returns the description of the 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
-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

-QueueName

The queue 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

-QueueName

System.String

Outputs

Microsoft.Azure.Commands.ServiceBus.Models.QueueAttributes

LockDuration : AccessedAt : 1/1/0001 12:00:00 AM AutoDeleteOnIdle : 10675199.02:48:05.4775807 EntityAvailabilityStatus : CreatedAt : 1/20/2017 2:51:35 AM DefaultMessageTimeToLive : 10675199.02:48:05.4775807 DuplicateDetectionHistoryTimeWindow : EnableBatchedOperations : True DeadLetteringOnMessageExpiration : False EnableExpress : False EnablePartitioning : True IsAnonymousAccessible : False MaxDeliveryCount : MaxSizeInMegabytes : 16384 MessageCount : CountDetails : Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails RequiresDuplicateDetection : False RequiresSession : False SizeInBytes : Status : Active SupportOrdering : False UpdatedAt : 1/20/2017 2:51:37 AM Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/SB-Example1/queues/S B-Queue_example1 Name : SB-Queue_example1 Type : Microsoft.ServiceBus/Queues Location : West US