Customer Operation Capabilities
The Organizations service provides Service Control Policies (SCPs) to set access control policies.
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 IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.
For details about how to use these elements to create a custom SCP, 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.
For details about the resource types defined by Business Support System (BSS), see Resources.
- The Condition Key column includes 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.
For details about the condition keys defined by BSS, see Conditions.
The following table lists the actions that you can define in SCP statements for BSS.
Action |
Description |
Access Level |
Resource Type (*: required) |
Condition Key |
---|---|---|---|---|
billing:contract:viewDiscount |
Grants the permission to view discounts. |
read |
- |
- |
billing:balance:view |
Grants the permission to view account statements, payment records, expenditure quotas, bill adjustment records, and arrears. |
list |
- |
- |
billing:coupon:view |
Grants the permission to view coupons and stored-value cards and activate coupons. |
read |
- |
- |
billing:order:view |
Grants the permission to view order information and pay-per-usage packages. |
list |
- |
- |
billing:order:pay |
Grants the permission to pay for orders. |
write |
- |
- |
billing:subscription:renew |
Grants the permission to renew subscriptions, enable auto-renewal, set expiration policies, and change pay-per-use subscriptions to yearly/monthly. |
write |
- |
- |
billing:subscription:unsubscribe |
Grant the permission to view resources that can be or has been unsubscribed from, cancel delivery, and return or replace hardware. |
write |
- |
- |
billing:resourcePackages:view |
Grants the permission to view resource packages, view resource package usage, and query and export usage details. |
list |
- |
- |
billing:billDetail:view |
Grants the permission to view bill details. |
read |
- |
- |
billing:bill:view |
Grants the permission to view bills, expenditures of the current month, paid resources in the last seven days, and expenditure trends. |
list |
- |
- |
costCenter:costAnalysis:listCosts |
Grants the permission to view cost analysis. |
read |
- |
- |
billing:invoice:update |
Grants the permission to manage invoices, request invoices, and manage invoice titles and addresses. |
write |
- |
- |
Each API usually supports one or more actions. Table 2 lists supported actions and their dependencies.
Scenario |
Sub-Scenario |
API |
API URL |
Action |
Action Description |
---|---|---|---|---|---|
Managing products |
Querying product price |
Querying the price of a pay-per-use product |
POST /v2/bills/ratings/on-demand-resources |
billing:contract:viewDiscount |
Grants the permission to view discount and price information. |
Querying the price of a yearly/monthly product |
POST /v2/bills/ratings/period-resources/subscribe-rate |
billing:contract:viewDiscount |
Grants the permission to view discount and price information. |
||
Querying the renewal amount of yearly/monthly resources |
POST /v2/bills/ratings/period-resources/renew-rate |
billing:contract:viewDiscount |
Grants the permission to view discount and price information. |
||
Managing accounts |
Managing accounts |
Querying the Account Balance |
GET /v2/accounts/customer-accounts/balances |
billing:balance:view |
Grants the permission to view account information. |
Managing transactions |
Managing coupons |
Querying coupons |
GET /v2/promotions/benefits/coupons |
billing:coupon:view |
Grants the permission to view discount coupons, flexi-purchase coupons, and cash coupons. |
Managing yearly/monthly orders |
Querying orders |
GET /v2/orders/customer-orders |
billing:order:view |
Grants the permission to view order information. |
|
Grants the permission to querying order details. |
GET /v2/orders/customer-orders/details/{order_id} |
billing:order:view |
Grants the permission to view order information. |
||
Paying for Yearly/Monthly Orders |
POST /v2/orders/customer-orders/pay |
billing:order:pay |
Grants the permission to pay for orders. |
||
Querying Available Discounts for Orders |
GET /v2/orders/customer-orders/order-discounts |
billing:contract:viewDiscount |
Grants the permission to view discount and price information. |
||
Paying for Yearly/Monthly Orders |
POST /v3/orders/customer-orders/pay |
billing:order:pay |
Grants the permission to pay for orders. |
||
Querying Refund Order Amount |
GET /v2/orders/customer-orders/refund-orders |
billing:order:view |
Grants the permission to view order information. |
||
Managing yearly/monthly resources |
Querying Yearly/monthly Resources |
POST /v2/orders/suscriptions/resources/query |
billing:order:view |
Grants the permission to view order information. |
|
Renewing subscriptions to yearly/monthly resources |
POST /v2/orders/subscriptions/resources/renew |
billing:subscription:renew |
Grants the permission to place orders, cancel orders, and modify recipient information. |
||
Unsubscribing from yearly/monthly resources |
POST /v2/orders/subscriptions/resources/unsubscribe |
billing:subscription:unsubscribe |
Grants the permission to place orders, cancel orders, and modify recipient information. For details, see en-us_topic_0000001844443526.html. |
||
Enabling automatic renewal for yearly/monthly resources |
POST /v2/orders/subscriptions/resources/autorenew/** |
billing:subscription:renew |
Grants the permission to place orders, cancel orders, and modify recipient information. |
||
Disabling automatic renewal for yearly/monthly resources |
DELETE /v2/orders/subscriptions/resources/autorenew/{resource_id} |
billing:subscription:renew |
Grants the permission to place orders, cancel orders, and modify recipient information. |
||
Enabling/Canceling the Change from Yearly/Monthly Subscriptions to Pay-Per-Use upon Expiration. |
POST /v2/orders/subscriptions/resources/to-on-demand |
billing:subscription:renew |
Grants the permission to place orders, cancel orders, and modify recipient information. |
||
Managing resource packages |
Querying resource packages |
POST /v3/payments/free-resources/query |
billing:resourcePackages:view |
Grants the permission to view bills, monthly costs, usage details, cost management, expenditures and revenues, and cost trends. |
|
Querying Resource Package Usage Details |
GET /v2/bills/customer-bills/free-resources-usage-records |
billing:billDetail:view |
Grants the permission to view expenditure details, resource expenditures, bill analysis, and historical payments. |
||
Querying resource package usage |
POST /v2/payments/free-resources/usages/details/query |
billing:resourcePackages:view |
Grants the permission to view bills, monthly costs, usage details, cost management, expenditures and revenues, and cost trends. |
||
Managing bills |
Managing bills |
Viewing bill details |
POST /v2/bills/customer-bills/res-records/query |
billing:billDetail:view |
Grants the permission to view expenditure details, resource expenditures, bill analysis, and historical payments. |
Querying bill summary |
GET /v2/bills/customer-bills/monthly-sum |
billing:bill:view |
Grants the permission to view bills, monthly costs, usage details, cost management, expenditures and revenues, and cost trends. |
||
Querying expenditure records |
GET /v2/bills/customer-bills/res-fee-records |
billing:bill:view |
Grants the permission to view bills, monthly costs, usage details, cost management, expenditures and revenues, and cost trends. |
||
Managing costs |
Managing costs |
Querying Cost Data |
POST /v4/costs/cost-analysed-bills/query |
costCenter:costAnalysis:listCosts |
Grants the permission to view cost analysis. |
Managing invoices |
Managing invoices |
Querying Invoices |
GET /v1.0/{domain_id}/payments/intl-invoices |
billing:invoice:manage |
Grants the permission to request invoices and view invoice information. |
Resources
BSS does not support resource-specific permission control through SCPs. To allow access to BSS, use the wildcard (*) in the Resource element in an SCP, and this SCP will apply to all resources of BSS.
Conditions
BSS does not support service-specific condition keys in SCPs. You can only use global condition keys applicable to all services. For details, see Global Condition Keys.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot