Compartilhar via


ServiceBusQueueAuthorizationRuleResource.RegenerateKeysAsync Método

Definição

Regenera as cadeias de conexão primárias ou secundárias para a fila.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • IdQueueAuthorizationRules_RegenerateKeys de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>> RegenerateKeysAsync (Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeysAsync : Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>>
override this.RegenerateKeysAsync : Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>>
Public Overridable Function RegenerateKeysAsync (content As ServiceBusRegenerateAccessKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceBusAccessKeys))

Parâmetros

content
ServiceBusRegenerateAccessKeyContent

Parâmetros fornecidos para regenerar a regra de autorização.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a