Charges - List
Wyświetla listę opłat na podstawie zdefiniowanego zakresu.
GET https://management.azure.com/{scope}/providers/Microsoft.Consumption/charges?api-version=2024-08-01
GET https://management.azure.com/{scope}/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate={startDate}&endDate={endDate}&$filter={$filter}&$apply={$apply}
Parametry identyfikatora URI
| Nazwa | W | Wymagane | Typ | Opis |
|---|---|---|---|---|
|
scope
|
path | True |
string |
W pełni kwalifikowany identyfikator zasobu usługi Azure Resource Manager. |
|
api-version
|
query | True |
string minLength: 1 |
Wersja interfejsu API do użycia dla tej operacji. |
|
$apply
|
query |
string |
Może służyć do grupowania opłat za zakres billingAccount według właściwości/billingProfileId, properties/invoiceSectionId, properties/customerId (specyficzny dla identyfikatora Led partnera) lub dla zakresu billingProfile według właściwości/invoiceSectionId. |
|
|
$filter
|
query |
string |
Może służyć do filtrowania opłat według właściwości/użyciaEnd (czas utc), properties/usageStart (czas utc). Filtr obsługuje wartości "eq", "lt", "gt", "le", "ge" i "and". Obecnie nie obsługuje "ne", "lub" lub "nie". Filtr tagu to ciąg pary klucz-wartość, w którym klucz i wartość są oddzielone dwukropkiem (:). |
|
|
end
|
query |
string |
Data zakończenia |
|
|
start
|
query |
string |
Data rozpoczęcia |
Odpowiedzi
| Nazwa | Typ | Opis |
|---|---|---|
| 200 OK |
Żądanie zakończyło się pomyślnie. |
|
| Other Status Codes |
Nieoczekiwana odpowiedź na błąd. |
Zabezpieczenia
azure_auth
Przepływ protokołu OAuth2 usługi Azure Active Directory.
Typ:
oauth2
Flow:
implicit
Adres URL autoryzacji:
https://login.microsoftonline.com/common/oauth2/authorize
Zakresy
| Nazwa | Opis |
|---|---|
| user_impersonation | personifikacja konta użytkownika |
Przykłady
ChangesForBillingPeriodByDepartment-Legacy
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges?api-version=2024-08-01
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "legacy",
"properties": {
"azureCharges": 5000,
"azureMarketplaceCharges": 100,
"billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
"chargesBilledSeparately": 60.9,
"currency": "USD",
"usageEnd": "2018-04-30",
"usageStart": "2018-04-01"
}
}
]
}
ChangesForBillingPeriodByEnrollmentAccount-Legacy
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges?api-version=2024-08-01
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "legacy",
"properties": {
"azureCharges": 5000,
"azureMarketplaceCharges": 100,
"billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
"chargesBilledSeparately": 60.9,
"currency": "USD",
"usageEnd": "2018-04-30",
"usageStart": "2018-04-01"
}
}
]
}
ChargesListByBillingAccount-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate=2019-09-01&endDate=2019-10-31
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 0
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"billingProfileId": null,
"chargesBilledSeparately": {
"currency": "USD",
"value": 265.09
},
"invoiceSectionId": null,
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 0
},
"usageEnd": "2019-10-31",
"usageStart": "2019-09-01"
}
}
]
}
ChargesListByBillingAccountGroupByBillingProfileId-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate=2019-09-01&endDate=2019-09-30&$apply=groupby((properties/billingProfileId))
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/123456/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/123456",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
},
{
"name": "chargeSummaryId2",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789/billingProfiles/42425/providers/Microsoft.Consumption/charges/chargeSummaryId2",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
}
]
}
ChargesListByBillingAccountGroupByCustomerId-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate=2019-09-01&endDate=2019-09-30&$apply=groupby((properties/customerId))
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890",
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/invoiceSections/67890",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
},
{
"name": "chargeSummaryId2",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789/customers/123456/providers/Microsoft.Consumption/charges/chargeSummaryId2",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/123456",
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/invoiceSections/67890",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
}
]
}
ChargesListByBillingAccountGroupByInvoiceSectionId-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate=2019-09-01&endDate=2019-09-30&$apply=groupby((properties/invoiceSectionId))
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/4567/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/invoiceSections/4567",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
},
{
"name": "chargeSummaryId2",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789//billingProfiles/42425/invoiceSections/67890/providers/Microsoft.Consumption/charges/chargeSummaryId2",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/invoiceSections/67890",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
}
]
}
ChargesListByBillingProfile-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/billingProfiles/2460/providers/Microsoft.Consumption/charges?api-version=2024-08-01
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/2460/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 0
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/2460",
"chargesBilledSeparately": {
"currency": "USD",
"value": 265.09
},
"invoiceSectionId": null,
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 0
},
"usageEnd": "2023-05-31",
"usageStart": "2023-03-01"
}
}
]
}
ChargesListByBillingProfileGroupByInvoiceSectionId-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate=2019-09-01&endDate=2019-09-30&$apply=groupby((properties/invoiceSectionId))
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/4567/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/invoiceSections/4567",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
},
{
"name": "chargeSummaryId2",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789//billingProfiles/42425/invoiceSections/67890/providers/Microsoft.Consumption/charges/chargeSummaryId2",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/invoiceSections/67890",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
}
]
}
ChargesListByBillingProfileInvoiceSection-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890/providers/Microsoft.Consumption/charges?api-version=2024-08-01&startDate=2019-09-01&endDate=2019-10-31
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/4567",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-09-30",
"usageStart": "2019-09-01"
}
},
{
"name": "chargeSummaryId2",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890/providers/Microsoft.Consumption/charges/chargeSummaryId2",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 5000
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.9
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/4567",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 100
},
"usageEnd": "2019-10-31",
"usageStart": "2019-09-01"
}
}
]
}
ChargesListByCustomer-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/customers/67890/providers/Microsoft.Consumption/charges?api-version=2024-08-01
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 0
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"billingProfileId": null,
"chargesBilledSeparately": {
"currency": "USD",
"value": 265.09
},
"invoiceSectionId": null,
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 0
},
"usageEnd": "2023-05-31",
"usageStart": "2023-03-01"
}
}
]
}
ChargesListByDepartment-Legacy
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges?api-version=2024-08-01&$filter=usageStart eq '2018-04-01' AND usageEnd eq '2018-05-30'
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "legacy",
"properties": {
"azureCharges": 5000,
"azureMarketplaceCharges": 100,
"billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
"chargesBilledSeparately": 60.9,
"currency": "USD",
"usageEnd": "2018-04-30",
"usageStart": "2018-04-01"
}
}
]
}
ChargesListByInvoiceSectionId-Modern
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/invoiceSections/97531/providers/Microsoft.Consumption/charges?api-version=2024-08-01
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/2460/invoiceSections/97531/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "modern",
"properties": {
"azureCharges": {
"currency": "USD",
"value": 12
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/1234:56789",
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/2460",
"chargesBilledSeparately": {
"currency": "USD",
"value": 0
},
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/2460/invoiceSections/97531",
"isInvoiced": false,
"marketplaceCharges": {
"currency": "USD",
"value": 0
},
"usageEnd": "2023-05-31",
"usageStart": "2023-03-01"
}
}
]
}
ChargesListForEnrollmentAccount-Legacy
Przykładowe żądanie
GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges?api-version=2024-08-01
Przykładowa odpowiedź
{
"value": [
{
"name": "chargeSummaryId1",
"type": "Microsoft.Consumption/charges",
"id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
"kind": "legacy",
"properties": {
"azureCharges": 5000,
"azureMarketplaceCharges": 100,
"billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
"chargesBilledSeparately": 60.9,
"currency": "USD",
"usageEnd": "2018-04-30",
"usageStart": "2018-04-01"
}
}
]
}
Definicje
| Nazwa | Opis |
|---|---|
| amount |
Kwota plus waluta . |
|
Charges |
Wynik podsumowania opłat za wyświetlenie listy. |
|
Charge |
Określa rodzaj podsumowania opłat. |
|
created |
Typ tożsamości, która utworzyła zasób. |
|
Error |
Dodatkowe informacje o błędzie zarządzania zasobami. |
|
Error |
Szczegóły błędu. |
|
Error |
Odpowiedź na błąd |
|
Legacy |
Podsumowanie starszych opłat. |
|
Modern |
Podsumowanie nowoczesnych opłat. |
|
system |
Metadane dotyczące tworzenia i ostatniej modyfikacji zasobu. |
amount
Kwota plus waluta .
| Nazwa | Typ | Opis |
|---|---|---|
| currency |
string |
Kwota waluty. |
| value |
number (decimal) |
Kwota. |
ChargesListResult
Wynik podsumowania opłat za wyświetlenie listy.
| Nazwa | Typ | Opis |
|---|---|---|
| value | ChargeSummary[]: |
Lista podsumowania opłat |
ChargeSummaryKind
Określa rodzaj podsumowania opłat.
| Wartość | Opis |
|---|---|
| legacy | |
| modern |
createdByType
Typ tożsamości, która utworzyła zasób.
| Wartość | Opis |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
Dodatkowe informacje o błędzie zarządzania zasobami.
| Nazwa | Typ | Opis |
|---|---|---|
| info |
object |
Dodatkowe informacje. |
| type |
string |
Dodatkowy typ informacji. |
ErrorDetail
Szczegóły błędu.
| Nazwa | Typ | Opis |
|---|---|---|
| additionalInfo |
Dodatkowe informacje o błędzie. |
|
| code |
string |
Kod błędu. |
| details |
Szczegóły błędu. |
|
| message |
string |
Komunikat o błędzie. |
| target |
string |
Element docelowy błędu. |
ErrorResponse
Odpowiedź na błąd
| Nazwa | Typ | Opis |
|---|---|---|
| error |
Obiekt błędu. |
LegacyChargeSummary
Podsumowanie starszych opłat.
| Nazwa | Typ | Opis |
|---|---|---|
| eTag |
string |
Element eTag zasobu. Aby obsłużyć scenariusz aktualizacji współbieżnych, to pole będzie używane do określenia, czy użytkownik aktualizuje najnowszą wersję, czy nie. |
| id |
string |
W pełni kwalifikowany identyfikator zasobu dla zasobu. Przykład - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| kind |
string:
legacy |
Określa rodzaj podsumowania opłat. |
| name |
string |
Nazwa zasobu |
| properties.azureCharges |
number (decimal) |
Opłaty za platformę Azure. |
| properties.azureMarketplaceCharges |
number (decimal) |
Opłaty za witrynę Marketplace. |
| properties.billingPeriodId |
string |
Identyfikator zasobu okresu rozliczeniowego, do którego należy opłata. |
| properties.chargesBilledSeparately |
number (decimal) |
Opłaty rozliczane oddzielnie. |
| properties.currency |
string |
Kod waluty |
| properties.usageEnd |
string |
Data zakończenia użycia. |
| properties.usageStart |
string |
Data rozpoczęcia użycia. |
| systemData |
Metadane usługi Azure Resource Manager zawierające informacje „createdBy” i „modifiedBy”. |
|
| type |
string |
Typ zasobu. Np. "Microsoft.Compute/virtualMachines" lub "Microsoft.Storage/storageAccounts" |
ModernChargeSummary
Podsumowanie nowoczesnych opłat.
| Nazwa | Typ | Opis |
|---|---|---|
| eTag |
string |
Element eTag zasobu. Aby obsłużyć scenariusz aktualizacji współbieżnych, to pole będzie używane do określenia, czy użytkownik aktualizuje najnowszą wersję, czy nie. |
| id |
string |
W pełni kwalifikowany identyfikator zasobu dla zasobu. Przykład - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| kind |
string:
modern |
Określa rodzaj podsumowania opłat. |
| name |
string |
Nazwa zasobu |
| properties.azureCharges |
Opłaty za platformę Azure. |
|
| properties.billingAccountId |
string |
Identyfikator konta rozliczeniowego |
| properties.billingPeriodId |
string |
Identyfikator zasobu okresu rozliczeniowego, do którego należy opłata. |
| properties.billingProfileId |
string |
Identyfikator profilu rozliczeniowego |
| properties.chargesBilledSeparately |
Opłaty rozliczane oddzielnie. |
|
| properties.customerId |
string |
Identyfikator klienta |
| properties.invoiceSectionId |
string |
Identyfikator sekcji faktury |
| properties.isInvoiced |
boolean |
Jest naliczana opłata zafakturowana |
| properties.marketplaceCharges |
Opłaty za witrynę Marketplace. |
|
| properties.subscriptionId |
string |
Identyfikator GUID subskrypcji. |
| properties.usageEnd |
string |
Data zakończenia użycia. |
| properties.usageStart |
string |
Data rozpoczęcia użycia. |
| systemData |
Metadane usługi Azure Resource Manager zawierające informacje „createdBy” i „modifiedBy”. |
|
| type |
string |
Typ zasobu. Np. "Microsoft.Compute/virtualMachines" lub "Microsoft.Storage/storageAccounts" |
systemData
Metadane dotyczące tworzenia i ostatniej modyfikacji zasobu.
| Nazwa | Typ | Opis |
|---|---|---|
| createdAt |
string (date-time) |
Sygnatura czasowa tworzenia zasobu (UTC). |
| createdBy |
string |
Tożsamość, która utworzyła zasób. |
| createdByType |
Typ tożsamości, która utworzyła zasób. |
|
| lastModifiedAt |
string (date-time) |
Sygnatura czasowa ostatniej modyfikacji zasobu (UTC) |
| lastModifiedBy |
string |
Tożsamość, która jako ostatnia zmodyfikowała zasób. |
| lastModifiedByType |
Typ tożsamości, która jako ostatnia zmodyfikowała zasób. |