다음을 통해 공유


AgentRegistrationInformationOperationsExtensions.RegenerateKeyAsync 메서드

정의

기본 또는 보조 에이전트 등록 키 다시 생성 http://aka.ms/azureautomationsdk/agentregistrationoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AgentRegistration> RegenerateKeyAsync (this Microsoft.Azure.Management.Automation.IAgentRegistrationInformationOperations operations, string resourceGroupName, string automationAccountName, Microsoft.Azure.Management.Automation.Models.AgentRegistrationRegenerateKeyParameter parameters, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateKeyAsync : Microsoft.Azure.Management.Automation.IAgentRegistrationInformationOperations * string * string * Microsoft.Azure.Management.Automation.Models.AgentRegistrationRegenerateKeyParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AgentRegistration>
<Extension()>
Public Function RegenerateKeyAsync (operations As IAgentRegistrationInformationOperations, resourceGroupName As String, automationAccountName As String, parameters As AgentRegistrationRegenerateKeyParameter, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AgentRegistration)

매개 변수

operations
IAgentRegistrationInformationOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

Azure 리소스 그룹의 이름입니다.

automationAccountName
String

자동화 계정의 이름입니다.

parameters
AgentRegistrationRegenerateKeyParameter

다시 생성할 에이전트 등록 키의 이름

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상