ModuleOperationsExtensions.ListAsync 方法 (IModuleOperations, String)
检索模块的列表。 (请参阅 https://aka.ms/azureautomationsdk/moduleoperations 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Automation
程序集: Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)
语法
public static Task<ModuleListResponse> ListAsync(
this IModuleOperations operations,
string automationAccount
)
public:
[ExtensionAttribute]
static Task<ModuleListResponse^>^ ListAsync(
IModuleOperations^ operations,
String^ automationAccount
)
static member ListAsync :
operations:IModuleOperations *
automationAccount:string -> Task<ModuleListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
operations As IModuleOperations,
automationAccount As String
) As Task(Of ModuleListResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.Automation.IModuleOperations对 Microsoft.WindowsAzure.Management.Automation.IModuleOperations 引用。
automationAccount
Type: System.String必需。 自动管理帐户名称。
返回值
Type: System.Threading.Tasks.Task<ModuleListResponse>
列表模块操作该响应模型。
请参阅
ModuleOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间
返回页首