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

CostManagementExportResource.GetAsync(String, CancellationToken) 方法

定义

按导出名称获取所定义范围的导出的操作。

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

参数

expand
String

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于