Freigeben über


ActivityOperationsExtensions.GetAsync Methode

Definition

Überlädt

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

Rufen Sie die Aktivität in dem Modul ab, das durch den Modulnamen und den Aktivitätsnamen identifiziert wird. 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)

Parameter

operations
IActivityOperations
resourceGroupName
String
automationAccount
String
moduleName
String
activityName
String

Gibt zurück

Gilt für:

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

Rufen Sie die Aktivität in dem Modul ab, das durch den Modulnamen und den Aktivitätsnamen identifiziert wird. 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)

Parameter

operations
IActivityOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

moduleName
String

Der Name des Moduls.

activityName
String

Der Name der Aktivität.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: