Share via


ActivityOperationsExtensions.GetAsync Method

Definition

Overloads

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

Retrieve the activity in the module identified by module name and activity name. 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)

Parameters

operations
IActivityOperations
resourceGroupName
String
automationAccount
String
moduleName
String
activityName
String

Returns

Applies to

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

Retrieve the activity in the module identified by module name and activity name. 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)

Parameters

operations
IActivityOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

moduleName
String

The name of module.

activityName
String

The name of activity.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to