Compartilhar via


ServiceBusTopicAuthorizationRuleResource.RegenerateKeys Método

Definição

Regenera cadeias de conexão primárias ou secundárias para o tópico.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • IdTopicAuthorizationRules_RegenerateKeys de operação
public virtual Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys> RegenerateKeys (Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeys : Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>
override this.RegenerateKeys : Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>
Public Overridable Function RegenerateKeys (content As ServiceBusRegenerateAccessKeyContent, Optional cancellationToken As CancellationToken = Nothing) As 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