Udostępnij za pośrednictwem


IActivityOperations.GetAsync Method

Definition

Retrieve the activity in the module identified by module name and activity name. (see http://aka.ms/azureautomationsdk/activityoperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ActivityGetResponse> GetAsync (string automationAccount, string moduleName, string activityName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ActivityGetResponse>
Public Function GetAsync (automationAccount As String, moduleName As String, activityName As String, cancellationToken As CancellationToken) As Task(Of ActivityGetResponse)

Parameters

automationAccount
String

The automation account name.

moduleName
String

The name of module.

activityName
String

The name of activity.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get activity operation.

Applies to