Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureSBAuthorizationRule

Get-AzureSBAuthorizationRule

microsoft.windowsazure.commands.dll

Synopsis

Gets Service bus authorization rules

Syntax

Get-AzureSBAuthorizationRule [-Name] [-Namespace] [-EntityName] [-EntityType] [-Permission] [<CommonParameters>]

Get-AzureSBAuthorizationRule [-Name] [-Namespace] [-Permission] [<CommonParameters>]

Detailed Description

Gets Service bus authorization rules

Parameters

-Name <>

The unique authorization rule name

Aliases

None

Required?

true

Position

Named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Namespace <>

The namespace name to apply the authorization rule. If no EntityName provided the rule will be on the namespace level

Aliases

None

Required?

true

Position

Named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-EntityName <>

The entity name to apply rule at.

Aliases

None

Required?

true

Position

Named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-EntityType <>

The entity type (Queue, Topic, Relay, NotificationHub).

Aliases

None

Required?

true

Position

Named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Permission <>

The authorization permissions to filter (Send, Manage, Listen). This uses exact match

Aliases

None

Required?

true

Position

Named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Get authorization rule at namespace level --------------

C:\PS>

Gets all available authorization rules at MyNamespace

Get-AzureSBAuthorizationRule -Namespace MyNamespace

-------------- Get authorization rule for a Queue --------------

C:\PS>

Gets all available authorization rules a MyEntity Queue on MyNamespace

Get-AzureSBAuthorizationRule -Namespace MyNamespace -EntityName MyEntity -EntityType Queue

-------------- Get authorization rule by name --------------

C:\PS>

Gets an authorization rule called MyRule on MyNamespace level

Get-AzureSBAuthorizationRule -Name MyRule -Namespace MyNamespace

-------------- Get authorization rule by permisssion --------------

C:\PS>

Gets all authorization rules that have send permission on namespace level

Get-AzureSBAuthorizationRule -Namespace MyNamespace -Permission $("Send")

Remove-AzureSBAuthorizationRule
New-AzureSBAuthorizationRule
Set-AzureSBAuthorizationRule