Compartilhar via


RelayHybridConnectionAuthorizationRuleResource.RegenerateKeysAsync Método

Definição

Regenera as cadeias de conexão primária ou secundária para a conexão híbrida.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • Operação IdHybridConnections_RegenerateKeys
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 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