Compartilhar via


Método IModuleOperations.GetAsync (String, String, CancellationToken)

 

Recupere o módulo identificado pelo nome do módulo. (consulte https://aka.ms/azureautomationsdk/moduleoperations para obter mais informações)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)

Sintaxe

Task<ModuleGetResponse> GetAsync(
    string automationAccount,
    string moduleName,
    CancellationToken cancellationToken
)
Task<ModuleGetResponse^>^ GetAsync(
    String^ automationAccount,
    String^ moduleName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        moduleName:string *
        cancellationToken:CancellationToken -> Task<ModuleGetResponse>
Function GetAsync (
    automationAccount As String,
    moduleName As String,
    cancellationToken As CancellationToken
) As Task(Of ModuleGetResponse)

Parâmetros

  • automationAccount
    Type: System.String

    O nome da conta de automação.

Valor de retorno

Type: System.Threading.Tasks.Task<ModuleGetResponse>

O modelo de resposta para a operação de obtenção de módulo.

Consulte também

Interface IModuleOperations
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo