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

CostManagementExtensions.GenerateBenefitUtilizationSummariesReportReservationScope 方法

定义

触发为提供的预留生成权益利用率摘要报告。

  • Request Path/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • 操作IdReservationScope_GenerateBenefitUtilizationSummariesReport
public static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus> GenerateBenefitUtilizationSummariesReportReservationScope (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.WaitUntil waitUntil, string reservationOrderId, string reservationId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
static member GenerateBenefitUtilizationSummariesReportReservationScope : Azure.ResourceManager.Resources.TenantResource * Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
<Extension()>
Public Function GenerateBenefitUtilizationSummariesReportReservationScope (tenantResource As TenantResource, waitUntil As WaitUntil, reservationOrderId As String, reservationId As String, content As BenefitUtilizationSummariesContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BenefitUtilizationSummariesOperationStatus)

参数

tenantResource
TenantResource

方法 TenantResource 将对其执行的实例。

waitUntil
WaitUntil

Completed 如果方法应在服务上完成长时间运行的操作之前等待返回,则为 ; Started 如果它在启动操作后应返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

reservationOrderId
String

预留订单 ID。

reservationId
String

预留 ID。

content
BenefitUtilizationSummariesContent

要创建的异步权益利用率摘要报表。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

reservationOrderIdreservationId 是空字符串,预期为非空。

reservationOrderIdreservationIdcontent 为 null。

适用于