ModuleOperationsExtensions.GetAsync 方法 (IModuleOperations, String, String)

 

检索由模块名称标识的模块。 (请参阅 https://aka.ms/azureautomationsdk/moduleoperations 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

public static Task<ModuleGetResponse> GetAsync(
    this IModuleOperations operations,
    string automationAccount,
    string moduleName
)
public:
[ExtensionAttribute]
static Task<ModuleGetResponse^>^ GetAsync(
    IModuleOperations^ operations,
    String^ automationAccount,
    String^ moduleName
)
static member GetAsync : 
        operations:IModuleOperations *
        automationAccount:string *
        moduleName:string -> Task<ModuleGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IModuleOperations,
    automationAccount As String,
    moduleName As String
) As Task(Of ModuleGetResponse)

参数

  • automationAccount
    Type: System.String

    必需。 自动管理帐户名称。

返回值

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

获取模块操作该响应模型。

请参阅

ModuleOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首