Compartilhar via


ActivityOperationsExtensions.GetAsync Método

Definição

Sobrecargas

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

Recupere a atividade no módulo identificado pelo nome do módulo e pelo nome da atividade. 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)

Parâmetros

operations
IActivityOperations
resourceGroupName
String
automationAccount
String
moduleName
String
activityName
String

Retornos

Aplica-se a

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

Recupere a atividade no módulo identificado pelo nome do módulo e pelo nome da atividade. 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)

Parâmetros

operations
IActivityOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

moduleName
String

O nome do módulo.

activityName
String

O nome da atividade.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a