Partilhar via


AutomationAccountResource.RegenerateKeyAgentRegistrationInformation Método

Definição

Regenerar uma chave de registro de agente primário ou secundário

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
  • Operação IdAgentRegistrationInformation_RegenerateKey
public virtual Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration> RegenerateKeyAgentRegistrationInformation (Azure.ResourceManager.Automation.Models.AgentRegistrationRegenerateKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAgentRegistrationInformation : Azure.ResourceManager.Automation.Models.AgentRegistrationRegenerateKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>
override this.RegenerateKeyAgentRegistrationInformation : Azure.ResourceManager.Automation.Models.AgentRegistrationRegenerateKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>
Public Overridable Function RegenerateKeyAgentRegistrationInformation (content As AgentRegistrationRegenerateKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AgentRegistration)

Parâmetros

content
AgentRegistrationRegenerateKeyContent

O nome da chave de registro do agente a ser regenerada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a