共用方式為


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

傳回

適用於