Updated on 2024-07-05 GMT+08:00

Billing Center

The Organizations service provides Service Control Policies (SCPs) for access control.

SCPs do not actually grant any permissions to a principal. They only set the permissions boundary for the principal. When SCPs are attached to a member account or an organizational unit (OU), they do not directly grant permissions to that member account or OU. Instead, the SCPs just determine what permissions are available for that member account or the member accounts under that OU.

This section describes the elements used by Organizations SCPs. The elements include actions, resources, and conditions.

For details about how to use these elements to edit a custom SCP policy, see Creating an SCP.

Actions

Actions are specific operations that are allowed or denied in an SCP.

  • The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an SCP.
  • The Resource Type column indicates whether the action supports resource-level permissions.
    • You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions, and you must specify all resources ("*") in your SCP statements.
    • If this column includes a resource type, you must specify the URN in the Resource element of your statements.
    • Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.
  • The Condition Key column contains keys that you can specify in the Condition element of an SCP statement.
    • If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
    • If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
    • If the Condition Key column is empty (-) for an action, the action does not support any condition keys.

The following table lists the actions that you can define in SCPs for Billing Center.

Table 1 Supported actions

Action

Description

Access Level

Resource Type

Condition Key

billing:balance:update

Grants the permission to withdraw money, top up the account, make payments, and enable the balance alerting.

write

-

-

billing:balance:view

Grants the permission to view account statements, payment records, expenditure quotas, accounting adjustment records, and arrears.

list

-

g:EnterpriseProjectId

billing:bill:update

Grants the permission to set bills.

write

-

-

billing:bill:view

Grants the permission to view bills, expenditures of the current month, and expenditure growth.

list

-

g:EnterpriseProjectId

billing:resourcePackages:view

Grants the permission to view resource packages, remaining resources, and resource usage, and to export the resource usage details.

list

-

-

billing:resourcePackages:update

Grants the permission to set alerts for remaining resources in resource packages.

write

-

-

billing:billDetail:update

Grants the permission to set bill details.

write

-

g:EnterpriseProjectId

billing:billDetail:view

Grants the permission to view bill details.

read

-

g:EnterpriseProjectId

billing:contract:update

Grants the permission to view offline contracts.

write

-

-

billing:coupon:view

Grants the permission to view and activate coupons.

read

-

-

billing:contract:viewDiscount

Grants the permission to view commercial discounts.

read

-

-

billing:invoice:manage

Grants the permission to manage invoices.

write

-

-

billing:invoice:view

Grants the permission to view invoice records and details.

read

-

-

billing:invoice:export

Grants the permission to export invoice information and download invoices.

read

-

-

billing:order:pay

Grants the permission to pay for the orders.

write

-

g:EnterpriseProjectId

billing:order:view

Grants the permission to view order information and pay-per-usage resource packages.

list

-

g:EnterpriseProjectId

billing:subscription:renew

Grants the permission to renew resources, enable auto-renewal, set expiration policies, and change the billing mode from pay-per-use to yearly/monthly.

write

-

g:EnterpriseProjectId

billing:subscription:view

Grants the permission to view renewable subscriptions and query the resources that can be changed from pay-per-use to yearly/monthly.

list

-

g:EnterpriseProjectId

billing:subscription:unsubscribe

Grants the permission to view the resources that can be unsubscribed from and have been unsubscribed from.

write

-

g:EnterpriseProjectId

billing:bill:export

Grants the permission to export the bill summary.

read

-

g:EnterpriseProjectId

billing:billDetail:export

Grants the permission to export the bill details.

read

-

g:EnterpriseProjectId

billing:balance:export

Grants the permission to export the transaction and payment records.

read

-

-

billing:consumption:view

Grants the permission to view expenditure breakdown by enterprise project.

read

-

-

billing::activeEPFinance

Grants the permission to enable Enterprise Project.

write

-

-

billing::activeEPFundQuota

Grants the permission to enable or disable the fund quota function for enterprise projects.

write

-

-

billing::viewEPFundQuota

Grants the permission to query the fund quota of an enterprise project.

read

-

-

billing::updateEPFundQuota

Grants the permission to modify the fund quota of an enterprise project.

write

-

-

billing::listEPFundQuotaHistory

Grants the permission to view the fund quota adjustment records of enterprise projects.

read

-

-

billing::updateEPGroup

Grants the permission to modify the enterprise project groups.

write

-

-

billing::viewEPGroup

Grants the permission to view enterprise project groups.

read

-

-

Resources

Billing Center does not support resource-specific permission control in SCPs. If you want to allow access to Billing Center, use the wildcard (*) for the Resource element to apply SCPs to all resources.

Conditions

Billing Center does not support service-specific condition keys in SCPs. It can only use global condition keys applicable to all services. For details, see Global Condition Keys.