Export (0) Print
Expand All

Get-SBAuthorizationRule

Updated: July 19, 2013

Get-SBAuthorizationRule

This cmdlet retrieves Service Bus authorization rules for a given Service Bus namespace.

Syntax

Parameter Set: Default
Get-SBAuthorizationRule -NamespaceName <String> [-Name <String> ] [ <CommonParameters>]




Detailed Description

Run Get-SBAuthorizationRule to retrieve the authorization rules for your Service Bus service namespace. Note that this cmdlet does not require the Service Bus farm to be managed by the Azure management portal.

Parameters

-Name<String>

The name of the authorization rule you want to retrieve.


Aliases

n

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-NamespaceName<String>

The scope of the authorization rule you want to retrieve.


Aliases

ns

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1

Retrieve all authorization rules for a Service Bus service namespace.


PS C:\> Get-SBAuthorizationRule -NamespaceName myNamespace

Example 2

Retrieve a single authorization rule by specifying the namespace as well as the rule name.


PS C:\> Get-SBAuthorizationRule -NamespaceName myNamespace –name myAuthRule

Service Bus 1.0 MSDN Community Forum

Community Additions

ADD
Show:
© 2014 Microsoft