Freigeben über


AutomationAccountResource.RegenerateKeyAgentRegistrationInformation Methode

Definition

Generieren eines primären oder sekundären Agent-Registrierungsschlüssels

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
  • Vorgang 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)

Parameter

content
AgentRegistrationRegenerateKeyContent

Der Name des neu zu generierenden Agent-Registrierungsschlüssels.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: