AutomationAccountResource.RegenerateKeyAgentRegistrationInformation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Regenerate a primary or secondary agent registration key
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
- Operation Id: AgentRegistrationInformation_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)
Parameters
The name of the agent registration key to be regenerated.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.