< Back

Get-AzureRmServiceBusRule

Tue Jan 29, 2019 10:06 pm

NAME Get-AzureRmServiceBusRule



SYNOPSIS

Gets a description of the specified rule for a given Subscription of Topic.





SYNTAX

Get-AzureRmServiceBusRule [-ResourceGroupName] <String> [-Namespace] <String> [-Topic] <String> [-Subscription] <String> [[-Name] <String>]

[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmServiceBusRule cmdlet gets the description of the specified rule in the given subscription of topic.





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>

Rule Name.



Required? false

Position? 4

Default value None

Accept pipeline input? False

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



-Subscription <String>

Subscription Name.



Required? true

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Topic <String>

Topic Name.



Required? true

Position? 2

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

System.String







OUTPUTS

Microsoft.Azure.Commands.ServiceBus.Models.PSRulesAttributes







NOTES









Example 1



PS C:\\> Get-AzureRmServiceBusRule -ResourceGroup Default-ServiceBus-WestUS -Namespace SBExample1 -Topic SBTopic -Subscription SBSubscription -NAme

SBRule



Returns the specified rule description for a specified subscription.







RELATED LINKS

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