Share via


IAgentRegistrationOperation.RegenerateKeyAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AgentRegistrationRegenerateKeyResponse> RegenerateKeyAsync (string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.AgentRegistrationRegenerateKeyParameter keyName, System.Threading.CancellationToken cancellationToken);
abstract member RegenerateKeyAsync : string * string * Microsoft.Azure.Management.Automation.Models.AgentRegistrationRegenerateKeyParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AgentRegistrationRegenerateKeyResponse>
Public Function RegenerateKeyAsync (resourceGroupName As String, automationAccount As String, keyName As AgentRegistrationRegenerateKeyParameter, cancellationToken As CancellationToken) As Task(Of AgentRegistrationRegenerateKeyResponse)

Parameters

resourceGroupName
String
automationAccount
String
cancellationToken
CancellationToken

Returns

Applies to