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

CostManagementExtensions.GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync 方法

定义

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

  • Request Path/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportReport
  • 操作IdSavingsPlanScope_GenerateBenefitUtilizationSummariesReportAsync
public static System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>> GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.WaitUntil waitUntil, string savingsPlanOrderId, string savingsPlanId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
static member GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync : Azure.ResourceManager.Resources.TenantResource * Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>>
<Extension()>
Public Function GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync (tenantResource As TenantResource, waitUntil As WaitUntil, savingsPlanOrderId As String, savingsPlanId As String, content As BenefitUtilizationSummariesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BenefitUtilizationSummariesOperationStatus))

参数

tenantResource
TenantResource

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

waitUntil
WaitUntil

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

savingsPlanOrderId
String

节省计划订单 ID。

savingsPlanId
String

节省计划 ID。

content
BenefitUtilizationSummariesContent

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

savingsPlanOrderIdsavingsPlanIdcontent 为 null。

适用于