다음을 통해 공유


ActivityOperationsExtensions.GetAsync 메서드

정의

오버로드

GetAsync(IActivityOperations, String, String, String, String)
GetAsync(IActivityOperations, String, String, String, String, CancellationToken)

모듈 이름 및 활동 이름으로 식별된 모듈에서 활동을 검색합니다. http://aka.ms/azureautomationsdk/activityoperations

GetAsync(IActivityOperations, String, String, String, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ActivityGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IActivityOperations operations, string resourceGroupName, string automationAccount, string moduleName, string activityName);
static member GetAsync : Microsoft.Azure.Management.Automation.IActivityOperations * string * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ActivityGetResponse>
<Extension()>
Public Function GetAsync (operations As IActivityOperations, resourceGroupName As String, automationAccount As String, moduleName As String, activityName As String) As Task(Of ActivityGetResponse)

매개 변수

operations
IActivityOperations
resourceGroupName
String
automationAccount
String
moduleName
String
activityName
String

반환

적용 대상

GetAsync(IActivityOperations, String, String, String, String, CancellationToken)

모듈 이름 및 활동 이름으로 식별된 모듈에서 활동을 검색합니다. http://aka.ms/azureautomationsdk/activityoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Activity> GetAsync (this Microsoft.Azure.Management.Automation.IActivityOperations operations, string resourceGroupName, string automationAccountName, string moduleName, string activityName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IActivityOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Activity>
<Extension()>
Public Function GetAsync (operations As IActivityOperations, resourceGroupName As String, automationAccountName As String, moduleName As String, activityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Activity)

매개 변수

operations
IActivityOperations

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

resourceGroupName
String

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

automationAccountName
String

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

moduleName
String

모듈의 이름입니다.

activityName
String

활동의 이름입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상