你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

UsagesOperationsExtensions.ListByLocationAsync 方法

定义

获取用法列表。

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

参数

operations
IUsagesOperations

此扩展方法的操作组。

location
String

位置名称。

filter
String

要应用于操作的筛选器。

cancellationToken
CancellationToken

取消标记。

返回

注解

返回指定区域中指定订阅的每个 SKU 系列的使用情况列表。

适用于