共用方式為


IAgentRegistrationOperation.RegenerateKeyAsync 方法

定義

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)

參數

resourceGroupName
String
automationAccount
String
cancellationToken
CancellationToken

傳回

適用於