Sdílet prostřednictvím


ActivityOperationsExtensions.GetAsync Metoda

Definice

Přetížení

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

Načtěte aktivitu v modulu označenou názvem modulu a názvem aktivity. 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)

Parametry

operations
IActivityOperations
resourceGroupName
String
automationAccount
String
moduleName
String
activityName
String

Návraty

Platí pro

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

Načtěte aktivitu v modulu označenou názvem modulu a názvem aktivity. 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)

Parametry

operations
IActivityOperations

Skupina operací pro tuto metodu rozšíření.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

moduleName
String

Název modulu.

activityName
String

Název aktivity.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro