共用方式為


UsagesOperationsExtensions.ListAsync 方法

定義

取得目前使用量資訊,以及指定訂用帳戶的 Batch AI 資源限制。

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

參數

operations
IUsagesOperations

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

location
String

查詢資源使用量的位置。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於