Compartilhar via


RelayHybridConnectionAuthorizationRuleResource.RegenerateKeys 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 Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys> RegenerateKeys (Azure.ResourceManager.Relay.Models.RelayRegenerateAccessKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeys : Azure.ResourceManager.Relay.Models.RelayRegenerateAccessKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>
override this.RegenerateKeys : Azure.ResourceManager.Relay.Models.RelayRegenerateAccessKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>
Public Overridable Function RegenerateKeys (content As RelayRegenerateAccessKeyContent, Optional cancellationToken As CancellationToken = Nothing) As 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