MockableCostManagementTenantResource.GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope Method

Definition

Triggers generation of a benefit utilization summaries report for the provided savings plan.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: SavingsPlanScope_GenerateBenefitUtilizationSummariesReportAsync
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus> GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope (Azure.WaitUntil waitUntil, string savingsPlanOrderId, string savingsPlanId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope : Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
override this.GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope : Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
Public Overridable Function GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope (waitUntil As WaitUntil, savingsPlanOrderId As String, savingsPlanId As String, content As BenefitUtilizationSummariesContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BenefitUtilizationSummariesOperationStatus)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

savingsPlanOrderId
String

Savings plan order ID.

savingsPlanId
String

Savings plan ID.

content
BenefitUtilizationSummariesContent

Async Benefit Utilization Summary report to be created.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

savingsPlanOrderId or savingsPlanId is an empty string, and was expected to be non-empty.

savingsPlanOrderId, savingsPlanId or content is null.

Applies to