Compartir a través de


ServiceBusTopicAuthorizationRuleResource.RegenerateKeysAsync Método

Definición

Regenera las cadenas de conexión principal o secundaria del tema.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • IdTopicAuthorizationRules_RegenerateKeys de operaciones
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 proporcionados para regenerar la regla de autorización.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a