Freigeben über


QueuesOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Methode

Definition

Erstellt eine Autorisierungsregel für eine Warteschlange.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.SharedAccessAuthorizationRuleInner> CreateOrUpdateAuthorizationRuleAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.IQueuesOperations operations, string resourceGroupName, string namespaceName, string queueName, string authorizationRuleName, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceBus.Fluent.Models.AccessRights?> rights, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAuthorizationRuleAsync : Microsoft.Azure.Management.ServiceBus.Fluent.IQueuesOperations * string * string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.ServiceBus.Fluent.Models.AccessRights>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.SharedAccessAuthorizationRuleInner>
<Extension()>
Public Function CreateOrUpdateAuthorizationRuleAsync (operations As IQueuesOperations, resourceGroupName As String, namespaceName As String, queueName As String, authorizationRuleName As String, rights As IList(Of Nullable(Of AccessRights)), Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedAccessAuthorizationRuleInner)

Parameter

operations
IQueuesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe innerhalb des Azure-Abonnements.

namespaceName
String

Der Namespacename

queueName
String

Der Warteschlangenname.

authorizationRuleName
String

Der Name des Autorisierungsrules.

rights
IList<Nullable<AccessRights>>

Die der Regel zugeordneten Rechte.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: