Freigeben über


CostManagementExtensions.GenerateBenefitUtilizationSummariesReportBillingProfileScope Methode

Definition

Löst die Generierung eines Berichts über die Nutzung von Vorteilen für das angegebene Abrechnungskonto und das angegebene Abrechnungsprofil aus.

  • Anfordern von Path/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Vorgang IdBillingProfileScope_GenerateBenefitUtilizationSummariesReport
public static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus> GenerateBenefitUtilizationSummariesReportBillingProfileScope (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 GenerateBenefitUtilizationSummariesReportBillingProfileScope : Azure.ResourceManager.Resources.TenantResource * Azure.WaitUntil * string * string * Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummariesOperationStatus>
<Extension()>
Public Function GenerateBenefitUtilizationSummariesReportBillingProfileScope (tenantResource As TenantResource, waitUntil As WaitUntil, billingAccountId As String, billingProfileId As String, content As BenefitUtilizationSummariesContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BenefitUtilizationSummariesOperationStatus)

Parameter

tenantResource
TenantResource

Der TenantResource instance, für den die Methode ausgeführt wird.

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

billingAccountId
String

Id des Abrechnungskontos.

billingProfileId
String

Id des Abrechnungsprofils.

content
BenefitUtilizationSummariesContent

Zu erstellende Asynchrone Leistungsauslastungszusammenfassung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

billingAccountId oder billingProfileId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

billingAccountId, billingProfileId oder content ist NULL.

Gilt für: