MockableCostManagementTenantResource.GenerateBenefitUtilizationSummariesReportReservationScope Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Triggers generation of a benefit utilization summaries report for the provided reservation.
- Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
- Operation Id: ReservationScope_GenerateBenefitUtilizationSummariesReport
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus> GenerateBenefitUtilizationSummariesReportReservationScope (Azure.WaitUntil waitUntil, string reservationOrderId, string reservationId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateBenefitUtilizationSummariesReportReservationScope : Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
override this.GenerateBenefitUtilizationSummariesReportReservationScope : Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
Public Overridable Function GenerateBenefitUtilizationSummariesReportReservationScope (waitUntil As WaitUntil, reservationOrderId As String, reservationId 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.
- reservationOrderId
- String
Reservation Order ID.
- reservationId
- String
Reservation ID.
Async Benefit Utilization Summary report to be created.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
reservationOrderId
or reservationId
is an empty string, and was expected to be non-empty.
reservationOrderId
, reservationId
or content
is null.
Applies to
Azure SDK for .NET