共用方式為


AutomationAccountOperationsExtensions.ListByResourceGroupAsync 方法

定義

擷取指定資源群組內的帳戶清單。 http://aka.ms/azureautomationsdk/automationaccountoperations

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

參數

operations
IAutomationAccountOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於