Udostępnij za pośrednictwem


ActivityOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ActivityGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Automation.IActivityOperations operations, string automationAccount, string moduleName, string activityName);
static member GetAsync : Microsoft.WindowsAzure.Management.Automation.IActivityOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ActivityGetResponse>
<Extension()>
Public Function GetAsync (operations As IActivityOperations, automationAccount As String, moduleName As String, activityName As String) As Task(Of ActivityGetResponse)

Parameters

operations
IActivityOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IActivityOperations.

automationAccount
String

Required. The automation account name.

moduleName
String

Required. The name of module.

activityName
String

Required. The name of activity.

Returns

The response model for the get activity operation.

Applies to