共用方式為


NamespaceOperationsExtensions.UpdateAuthorizationRuleAsync Method

Definition

The update authorization rule operation updates an authorization rule for a namespace.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse> UpdateAuthorizationRuleAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusSharedAccessAuthorizationRule rule);
static member UpdateAuthorizationRuleAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusSharedAccessAuthorizationRule -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse>
<Extension()>
Public Function UpdateAuthorizationRuleAsync (operations As INamespaceOperations, namespaceName As String, rule As ServiceBusSharedAccessAuthorizationRule) As Task(Of ServiceBusAuthorizationRuleResponse)

Parameters

operations
INamespaceOperations

Reference to the Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations.

namespaceName
String

Required. The namespace name.

rule
ServiceBusSharedAccessAuthorizationRule

Optional. Updated access authorization rule.

Returns

A response to a request for a particular authorization rule.

Applies to