AgreementsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:agreements> attribute.
- Inheritance
-
builtins.objectAgreementsOperations
Constructor
AgreementsOperations(*args, **kwargs)
Methods
get |
Gets an agreement by ID. |
list_by_billing_account |
Lists the agreements for a billing account. |
get
Gets an agreement by ID.
get(billing_account_name: str, agreement_name: str, **kwargs: Any) -> Agreement
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
agreement_name
Required
|
The ID that uniquely identifies an agreement. Required. |
Returns
Type | Description |
---|---|
Agreement or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_billing_account
Lists the agreements for a billing account.
list_by_billing_account(billing_account_name: str, expand: str | None = None, **kwargs: Any) -> Iterable[Agreement]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
expand
Required
|
May be used to expand the participants. Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either Agreement or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>
Azure SDK for Python