Credentials as described in Partner Center authentication. This scenario supports authentication with both standalone App and App+User credentials.
A customer ID (customer-tenant-id). If you don't know the customer's ID, you can look it up in Partner Center by selecting the Customers workspace, then the customer from the customer list, then Account. On the customer’s Account page, look for the Microsoft ID in the Customer Account Info section. The Microsoft ID is the same as the customer ID (customer-tenant-id).
C#
To update a customer's usage spending budget:
Create a new SpendingBudget object with the updated amount.
If successful, this method returns a user's spending budget with the updated amount.
Response success and error codes
Each response comes with an HTTP status code that indicates success or failure and other debugging information. Use a network trace tool to read this code, error type, and other parameters. For the full list, see Error Codes.
Możesz użyć kolekcji zasobów MeterUsageRecord, aby uzyskać rekordy użycia miernika klienta dla określonych usług platformy Azure lub zasobów w bieżącym okresie rozliczeniowym.
Możesz użyć kolekcji zasobów SubscriptionMonthlyUsageRecord, aby uzyskać rekordy użycia subskrypcji dla klienta określonej usługi platformy Azure lub zasobu w bieżącym okresie rozliczeniowym.
Możesz użyć zasobu SubscriptionUsageSummary, aby uzyskać podsumowanie użycia subskrypcji określonej usługi lub zasobu platformy Azure w bieżącym okresie rozliczeniowym.
Za pomocą zasobu PartnerUsageSummary możesz uzyskać podsumowanie użycia partnera dla wszystkich klientów, którzy kupili określoną usługę platformy Azure lub zasób w bieżącym okresie rozliczeniowym.