Compartilhar via


TopicsOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Método

Definição

Cria uma regra authorizatio para o tópico especificado. https://msdn.microsoft.com/en-us/library/azure/mt720678.aspx

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.SharedAccessAuthorizationRuleInner> CreateOrUpdateAuthorizationRuleAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.ITopicsOperations operations, string resourceGroupName, string namespaceName, string topicName, 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.ITopicsOperations * 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 ITopicsOperations, resourceGroupName As String, namespaceName As String, topicName As String, authorizationRuleName As String, rights As IList(Of Nullable(Of AccessRights)), Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedAccessAuthorizationRuleInner)

Parâmetros

operations
ITopicsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do Azure.

namespaceName
String

O nome do namespace

topicName
String

O nome do tópico.

authorizationRuleName
String

O nome da autorização.

rights
IList<Nullable<AccessRights>>

Os direitos associados à regra.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a