你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LocationOperationsExtensions.ListUsageAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取订阅的使用情况
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ContainerInstance.Models.Usage>> ListUsageAsync (this Microsoft.Azure.Management.ContainerInstance.ILocationOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListUsageAsync : Microsoft.Azure.Management.ContainerInstance.ILocationOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.ContainerInstance.Models.Usage>>
<Extension()>
Public Function ListUsageAsync (operations As ILocationOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Usage))
参数
- operations
- ILocationOperations
此扩展方法的操作组。
- location
- String
物理 Azure 位置的标识符。
- cancellationToken
- CancellationToken
取消标记。