-
Notifications
You must be signed in to change notification settings - Fork 180
/
Charges.yml
46 lines (46 loc) · 2.51 KB
/
Charges.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
### YamlMime:TSType
name: Charges
uid: '@azure/arm-consumption.Charges'
package: '@azure/arm-consumption'
summary: Interface representing a Charges.
fullName: Charges
remarks: ''
isDeprecated: false
type: interface
methods:
- name: list(string, ChargesListOptionalParams)
uid: '@azure/arm-consumption.Charges.list'
package: '@azure/arm-consumption'
summary: Lists the charges based for the defined scope.
remarks: ''
isDeprecated: false
syntax:
content: >-
function list(scope: string, options?: ChargesListOptionalParams):
Promise<ChargesListResult>
parameters:
- id: scope
type: string
description: |-
The scope associated with charges operations. This includes
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
Department scope, and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope. For department and enrollment accounts, you can also add billing period
to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to
specify billing period at department scope use
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'.
Also, Modern Commerce Account scopes are
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
for billingProfile scope,
'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}'
for invoiceSection scope, and
'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for
partners.
- id: options
type: <xref uid="@azure/arm-consumption.ChargesListOptionalParams" />
description: The options parameters.
return:
description: ''
type: Promise<<xref uid="@azure/arm-consumption.ChargesListResult" />>