Compartir a través de


ServiceBusNamespaceAuthorizationRuleResource.RegenerateKeys Método

Definición

Regenera las cadenas de conexión principal o secundaria para el espacio de nombres.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys
  • IdNamespaceAuthorizationRules_RegenerateKeys de operación
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 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