< Back

Get-AzureRmServiceBusQueue

Tue Jan 29, 2019 10:06 pm

NAME Get-AzureRmServiceBusQueue



SYNOPSIS

Returns a description for the specified Service Bus queue.





SYNTAX

Get-AzureRmServiceBusQueue [-ResourceGroupName] <String> [[-Name] <String>] [-Namespace] <String> [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Queue Name.



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Namespace <String>

Namespace Name.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

The name of the resource group



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

-ResourceGroup

System.String



-NamespaceName

System.String



-QueueName

System.String





OUTPUTS

Microsoft.Azure.Commands.ServiceBus.Models.PSQueueAttributes







NOTES









Example 1



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



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/{subscription

id}/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/SB-Example1/queues/S

B-Queue_example1

Name : SB-Queue_example1

Type : Microsoft.ServiceBus/Queues



Returns the description of the queue.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... cebusqueue