Compartir a través de


AutomationAccountResource.RegenerateKeyAgentRegistrationInformationAsync Método

Definición

Regeneración de una clave de registro del agente principal o secundario

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
  • IdAgentRegistrationInformation_RegenerateKey de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>> RegenerateKeyAgentRegistrationInformationAsync (Azure.ResourceManager.Automation.Models.AgentRegistrationRegenerateKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAgentRegistrationInformationAsync : Azure.ResourceManager.Automation.Models.AgentRegistrationRegenerateKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>>
override this.RegenerateKeyAgentRegistrationInformationAsync : Azure.ResourceManager.Automation.Models.AgentRegistrationRegenerateKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>>
Public Overridable Function RegenerateKeyAgentRegistrationInformationAsync (content As AgentRegistrationRegenerateKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AgentRegistration))

Parámetros

content
AgentRegistrationRegenerateKeyContent

Nombre de la clave de registro del agente que se va a regenerar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a