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

CostManagementExtensions.GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope 方法

定义

触发为提供的节省计划订单生成权益利用率摘要报告。

  • Request Path/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReports
  • 操作IdSavingsPlanOrderScope_GenerateBenefitUtilizationSummariesReport
public static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus> GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.WaitUntil waitUntil, string savingsPlanOrderId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
static member GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope : Azure.ResourceManager.Resources.TenantResource * Azure.WaitUntil * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
<Extension()>
Public Function GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope (tenantResource As TenantResource, waitUntil As WaitUntil, savingsPlanOrderId 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 操作示例

savingsPlanOrderId
String

节省计划订单 ID。

content
BenefitUtilizationSummariesContent

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

savingsPlanOrderId 是一个空字符串,预期为非空。

savingsPlanOrderIdcontent 为 null。

适用于