Remove-​Azure​Rm​Service​Bus​Namespace​Authorization​Rule

Removes the authorization rule of a Service Bus namespace from the specified resource group.

Syntax

Remove-AzureRmServiceBusNamespaceAuthorizationRule
      [-ResourceGroup] <String>
      [-NamespaceName] <String>
      [-AuthorizationRuleName] <String>
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-AzureRmServiceBusNamespaceAuthorizationRule cmdlet removes the authorization rule of a Service Bus namespace for the specified resource group.

Examples

Example 1

PS C:\> Remove-AzureRmServiceBusNamespaceAuthorizationRule -ResourceGroup Default-ServiceBus-WestUS -NamespaceName SB-Example1 -AuthorizationRuleName AuthoRule1

Removes the authorization rule SBAuthoRule1 of namespace SB-Example1 from the specified resource group.

Required Parameters

-AuthorizationRuleName

The namespace authorization rule name.

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

The Service Bus namespace name.

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

The name of the resource group.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

-ResourceGroup

Inputs

-NamespaceName

Inputs

-AuthorizationRuleName