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

CostManagementExportCollection.GetAllAsync(String, CancellationToken) 方法

定义

列出给定范围内的所有导出的操作。

  • 请求路径/{scope}/providers/Microsoft.CostManagement/exports
  • 操作IdExports_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementExportResource> GetAllAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementExportResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementExportResource>
Public Overridable Function GetAllAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CostManagementExportResource)

参数

expand
String

可用于扩展导出中的属性。 目前仅支持“runHistory”,并将返回每次导出上次运行的信息。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 CostManagementExportResource ,可能需要多个服务请求进行迭代。

适用于