Compartir a través de


RelayNamespaceAuthorizationRuleResource.RegenerateKeysAsync Método

Definición

Vuelve a generar las cadenas de conexión principal o secundaria en el espacio de nombres.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • IdNamespaces_RegenerateKeys de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>> RegenerateKeysAsync (Azure.ResourceManager.Relay.Models.RelayRegenerateAccessKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeysAsync : Azure.ResourceManager.Relay.Models.RelayRegenerateAccessKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>>
override this.RegenerateKeysAsync : Azure.ResourceManager.Relay.Models.RelayRegenerateAccessKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>>
Public Overridable Function RegenerateKeysAsync (content As RelayRegenerateAccessKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RelayAccessKeys))

Parámetros

content
RelayRegenerateAccessKeyContent

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