共用方式為


BatchAccountOperationsExtensions.ListByResourceGroupAsync 方法

定義

取得與指定資源群組相關聯之 Batch 帳戶的相關資訊。

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

參數

operations
IBatchAccountOperations

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

resourceGroupName
String

包含 Batch 帳戶的資源組名。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於