Sdílet prostřednictvím


BillingPermissionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

BillingManagementClient's

<xref:billing_permissions> attribute.

Constructor

BillingPermissionsOperations(*args, **kwargs)

Methods

list_by_billing_account

Lists the billing permissions the caller has on a billing account.

list_by_billing_profile

Lists the billing permissions the caller has on a billing profile.

list_by_customer

Lists the billing permissions the caller has for a customer.

list_by_invoice_sections

Lists the billing permissions the caller has on an invoice section.

list_by_billing_account

Lists the billing permissions the caller has on a billing account.

list_by_billing_account(billing_account_name: str, **kwargs: Any) -> Iterable[BillingPermissionsProperties]

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. 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 BillingPermissionsProperties or the result of cls(response)

Exceptions

Type Description

list_by_billing_profile

Lists the billing permissions the caller has on a billing profile.

list_by_billing_profile(billing_account_name: str, billing_profile_name: str, **kwargs: Any) -> Iterable[BillingPermissionsProperties]

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. Required.

billing_profile_name
Required
str

The ID that uniquely identifies a billing profile. 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 BillingPermissionsProperties or the result of cls(response)

Exceptions

Type Description

list_by_customer

Lists the billing permissions the caller has for a customer.

list_by_customer(billing_account_name: str, customer_name: str, **kwargs: Any) -> Iterable[BillingPermissionsProperties]

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. Required.

customer_name
Required
str

The ID that uniquely identifies a customer. 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 BillingPermissionsProperties or the result of cls(response)

Exceptions

Type Description

list_by_invoice_sections

Lists the billing permissions the caller has on an invoice section.

list_by_invoice_sections(billing_account_name: str, billing_profile_name: str, invoice_section_name: str, **kwargs: Any) -> Iterable[BillingPermissionsProperties]

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. Required.

billing_profile_name
Required
str

The ID that uniquely identifies a billing profile. Required.

invoice_section_name
Required
str

The ID that uniquely identifies an invoice section. 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 BillingPermissionsProperties 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'>