你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AutomationAccountOperationsExtensions.ListAsync 方法

定义

重载

ListAsync(IAutomationAccountOperations, CancellationToken)

列出 Azure 订阅中的自动化帐户。

ListAsync(IAutomationAccountOperations, String)

ListAsync(IAutomationAccountOperations, CancellationToken)

列出 Azure 订阅中的自动化帐户。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.AutomationAccount>> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.AutomationAccount>>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AutomationAccount))

参数

operations
IAutomationAccountOperations

此扩展方法的操作组。

cancellationToken
CancellationToken

取消标记。

返回

注解

检索给定订阅中的帐户列表。

适用于

ListAsync(IAutomationAccountOperations, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, string resourceGroupName);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, resourceGroupName As String) As Task(Of AutomationAccountListResponse)

参数

resourceGroupName
String

返回

适用于