Get-AzureRmServiceBusQueue

Returns a description for the specified Service Bus queue.

Syntax

Get-AzureRmServiceBusQueue
   [-ResourceGroupName] <String>
   [-Namespace] <String>
   [[-Name] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<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

-Namespace

Namespace Name.

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

The name of the resource group

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

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Queue Name.

Type:String
Aliases:QueueName
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 CreatedAt : 1/20/2017 2:51:35 AM DefaultMessageTimeToLive : 10675199.02:48:05.4775807 DuplicateDetectionHistoryTimeWindow : DeadLetteringOnMessageExpiration : False EnableExpress : False EnablePartitioning : True MaxDeliveryCount : MaxSizeInMegabytes : 16384 MessageCount : CountDetails : Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails RequiresDuplicateDetection : False RequiresSession : False SizeInBytes : Status : Active 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