ChargesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:charges> attribute.
Constructor
ChargesOperations(*args, **kwargs)
Methods
| list |
Lists the charges based for the defined scope. |
list
Lists the charges based for the defined scope.
list(scope: str, *, start_date: str | None = None, end_date: str | None = None, filter: str | None = None, apply: str | None = None, **kwargs: Any) -> ChargesListResult
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The fully qualified Azure Resource manager identifier of the resource. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
start_date
|
Start date. Default value is None. Default value: None
|
|
end_date
|
End date. Default value is None. Default value: None
|
|
filter
|
May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). Default value is None. Default value: None
|
|
apply
|
May be used to group charges for billingAccount scope by properties/billingProfileId, properties/invoiceSectionId, properties/customerId (specific for Partner Led), or for billingProfile scope by properties/invoiceSectionId. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
ChargesListResult. The ChargesListResult is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|