BillingPermissionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:billing_permissions> attribute.
- Inheritance
-
builtins.objectBillingPermissionsOperations
Constructor
BillingPermissionsOperations(*args, **kwargs)
Methods
check_access_by_billing_account |
Provides a list of check access response objects for a billing account. |
check_access_by_billing_profile |
Provides a list of check access response objects for a billing profile. |
check_access_by_customer |
Provides a list of check access response objects for a customer. |
check_access_by_department |
Provides a list of check access response objects for a department. |
check_access_by_enrollment_account |
Provides a list of check access response objects for an enrollment account. |
check_access_by_invoice_section |
Provides a list of check access response objects for an invoice section. |
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_customer_at_billing_account |
Lists the billing permissions the caller has for a customer at billing account level. |
list_by_department |
Lists the billing permissions the caller has for a department. |
list_by_enrollment_account |
Lists the billing permissions the caller has for an enrollment account. |
list_by_invoice_section |
Lists the billing permissions the caller has for an invoice section. |
check_access_by_billing_account
Provides a list of check access response objects for a billing account.
check_access_by_billing_account(billing_account_name: str, parameters: _models.CheckAccessRequest, *, content_type: str = 'application/json', **kwargs: Any) -> List[_models.CheckAccessResponse]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
parameters
Required
|
The request object against which access of the caller will be checked. Is either a CheckAccessRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
list of CheckAccessResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_access_by_billing_profile
Provides a list of check access response objects for a billing profile.
check_access_by_billing_profile(billing_account_name: str, billing_profile_name: str, parameters: _models.CheckAccessRequest, *, content_type: str = 'application/json', **kwargs: Any) -> List[_models.CheckAccessResponse]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
billing_profile_name
Required
|
The ID that uniquely identifies a billing profile. Required. |
parameters
Required
|
The request object against which access of the caller will be checked. Is either a CheckAccessRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
list of CheckAccessResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_access_by_customer
Provides a list of check access response objects for a customer.
check_access_by_customer(billing_account_name: str, billing_profile_name: str, customer_name: str, parameters: _models.CheckAccessRequest, *, content_type: str = 'application/json', **kwargs: Any) -> List[_models.CheckAccessResponse]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
billing_profile_name
Required
|
The ID that uniquely identifies a billing profile. Required. |
customer_name
Required
|
The ID that uniquely identifies a customer. Required. |
parameters
Required
|
The request object against which access of the caller will be checked. Is either a CheckAccessRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
list of CheckAccessResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_access_by_department
Provides a list of check access response objects for a department.
check_access_by_department(billing_account_name: str, department_name: str, parameters: _models.CheckAccessRequest, *, content_type: str = 'application/json', **kwargs: Any) -> List[_models.CheckAccessResponse]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
department_name
Required
|
The name of the department. Required. |
parameters
Required
|
The request object against which access of the caller will be checked. Is either a CheckAccessRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
list of CheckAccessResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_access_by_enrollment_account
Provides a list of check access response objects for an enrollment account.
check_access_by_enrollment_account(billing_account_name: str, enrollment_account_name: str, parameters: _models.CheckAccessRequest, *, content_type: str = 'application/json', **kwargs: Any) -> List[_models.CheckAccessResponse]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
enrollment_account_name
Required
|
The name of the enrollment account. Required. |
parameters
Required
|
The request object against which access of the caller will be checked. Is either a CheckAccessRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
list of CheckAccessResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_access_by_invoice_section
Provides a list of check access response objects for an invoice section.
check_access_by_invoice_section(billing_account_name: str, billing_profile_name: str, invoice_section_name: str, parameters: _models.CheckAccessRequest, *, content_type: str = 'application/json', **kwargs: Any) -> List[_models.CheckAccessResponse]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
billing_profile_name
Required
|
The ID that uniquely identifies a billing profile. Required. |
invoice_section_name
Required
|
The ID that uniquely identifies an invoice section. Required. |
parameters
Required
|
The request object against which access of the caller will be checked. Is either a CheckAccessRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
list of CheckAccessResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission 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[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
billing_profile_name
Required
|
The ID that uniquely identifies a billing profile. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission 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, billing_profile_name: str, customer_name: str, **kwargs: Any) -> Iterable[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
billing_profile_name
Required
|
The ID that uniquely identifies a billing profile. Required. |
customer_name
Required
|
The ID that uniquely identifies a customer. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_customer_at_billing_account
Lists the billing permissions the caller has for a customer at billing account level.
list_by_customer_at_billing_account(billing_account_name: str, customer_name: str, **kwargs: Any) -> Iterable[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
customer_name
Required
|
The ID that uniquely identifies a customer. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_department
Lists the billing permissions the caller has for a department.
list_by_department(billing_account_name: str, department_name: str, **kwargs: Any) -> Iterable[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
department_name
Required
|
The name of the department. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_enrollment_account
Lists the billing permissions the caller has for an enrollment account.
list_by_enrollment_account(billing_account_name: str, enrollment_account_name: str, **kwargs: Any) -> Iterable[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
enrollment_account_name
Required
|
The name of the enrollment account. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_invoice_section
Lists the billing permissions the caller has for an invoice section.
list_by_invoice_section(billing_account_name: str, billing_profile_name: str, invoice_section_name: str, **kwargs: Any) -> Iterable[BillingPermission]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
billing_profile_name
Required
|
The ID that uniquely identifies a billing profile. Required. |
invoice_section_name
Required
|
The ID that uniquely identifies an invoice section. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either BillingPermission 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