CostManagementExtensions.GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync 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 billing account and billing profile.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
- Operation Id: BillingProfileScope_GenerateBenefitUtilizationSummariesReport
public static System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>> GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.WaitUntil waitUntil, string billingAccountId, string billingProfileId, Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent content, System.Threading.CancellationToken cancellationToken = default);
static member GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync : 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 GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync (tenantResource As TenantResource, waitUntil As WaitUntil, billingAccountId As String, billingProfileId As String, content As BenefitUtilizationSummariesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BenefitUtilizationSummariesOperationStatus))
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- 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.
- billingAccountId
- String
Billing account ID.
- billingProfileId
- String
Billing profile ID.
Async Benefit Utilization Summary report to be created.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
billingAccountId
or billingProfileId
is an empty string, and was expected to be non-empty.
tenantResource
, billingAccountId
, billingProfileId
or content
is null.