共用方式為


BatchAccountOperationsExtensions.GetAsync 方法

定義

取得指定 Batch 帳戶的相關資訊。

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

參數

operations
IBatchAccountOperations

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

resourceGroupName
String

包含 Batch 帳戶的資源組名。

accountName
String

Batch 帳戶的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於