Freigeben über


Charges interface

Schnittstelle, die eine Gebühren darstellt.

Methoden

list(string, ChargesListOptionalParams)

Listet die Gebühren auf, die für den definierten Bereich basieren.

Details zur Methode

list(string, ChargesListOptionalParams)

Listet die Gebühren auf, die für den definierten Bereich basieren.

function list(scope: string, options?: ChargesListOptionalParams): Promise<ChargesListResult>

Parameter

scope

string

Der Bereich, der Gebührenvorgängen zugeordnet ist. Dies umfasst "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}" für den Abteilungsbereich und "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}" für den Bereich "EnrollmentAccount". Für Abteilungs- und Registrierungskonten können Sie auch den Abrechnungszeitraum mit "/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}" hinzufügen. Verwenden Sie z. B. zum Angeben des Abrechnungszeitraums im Abteilungsbereich "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}". Außerdem sind moderne Commerce-Kontobereiche "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}" für den Bereich "billingAccount", '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' für billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' für invoiceSection scope, and 'providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' speziell für Partner.

options
ChargesListOptionalParams

Die Optionsparameter.

Gibt zurück