Sdílet prostřednictvím


TransactionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

BillingManagementClient's

<xref:transactions> attribute.

Constructor

TransactionsOperations(*args, **kwargs)

Methods

list_by_invoice

Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.

list_by_invoice

Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.

list_by_invoice(billing_account_name: str, invoice_name: str, **kwargs: Any) -> Iterable[Transaction]

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. Required.

invoice_name
Required
str

The ID that uniquely identifies an invoice. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either Transaction or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>