MockableCostManagementTenantResource.GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync Method

Definition

Triggers generation of a benefit utilization summaries report for the provided reservation order.

  • Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: ReservationOrderScope_GenerateBenefitUtilizationSummariesReport
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>> GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync (Azure.WaitUntil waitUntil, string reservationOrderId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync : Azure.WaitUntil * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>>
override this.GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync : Azure.WaitUntil * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>>
Public Overridable Function GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync (waitUntil As WaitUntil, reservationOrderId As String, content As BenefitUtilizationSummariesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

reservationOrderId
String

Reservation Order ID.

content
BenefitUtilizationSummariesContent

Async Benefit Utilization Summary report to be created.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

reservationOrderId is an empty string, and was expected to be non-empty.

reservationOrderId or content is null.

Applies to