Subscriptions
A HUAWEI ID or an IAM/federated user account with fine-grained permissions listed in Table 1 can purchase a CodeArts Agent package. To learn about the differences between CodeArts Agent packages, see CodeArts Agent Edition Differences.
After purchasing a package, you can renew the subscription, change the package, or unsubscribe from the package on the Subscriptions page of the CodeArts Agent console. To perform these operations on the Subscriptions page, you need to use either of the following accounts:
- HUAWEI ID that has been added as an enterprise administrator.
- IAM/federated user account which is added as an enterprise administrator and has been assigned the required fine-grained permissions. For details, see Table 1.
Table 1 Fine-grained permissions required for operations Operation
Required Permissions
Purchasing a package
IAM:
- devcloud:monthlyPackage:listResourceDetail
- devcloud:monthlyPackage:subscribe
- bss:order:pay
- bss:order:view
IAM (new edition):
- codearts:monthlyPackage:listResourceDetail
- codearts:monthlyPackage:subscribe
- billing:order:pay
- billing:order:view
Modifying a package
IAM:
- devcloud:monthlyPackage:listResourceDetail
- devcloud:monthlyPackage:changeSpecification
- bss:order:pay
- bss:order:view
IAM (new edition):
- codearts:monthlyPackage:listResourceDetail
- codearts:monthlyPackage:changeSpecification
- billing:order:pay
- billing:order:view
Enabling or disabling the pay-per-use billing
IAM:
- devcloud:monthlyPackage:listResourceDetail
- modelarts:apikey:create
- modelarts:apikey:delete
These permissions can be configured only on the IAM console, not on the IAM console (new edition).
Renewal
IAM:
- devcloud:monthlyPackage:listResourceDetail
- bss:renewal:update
- bss:order:pay
- bss:order:view
IAM (new edition):
- codearts:monthlyPackage:listResourceDetail
- billing:subscription:renew
- billing:order:pay
- billing:order:view
Modifying auto-renewal settings
IAM:
- devcloud:monthlyPackage:listResourceDetail
- bss:renewal:update
- bss:renewal:view
IAM (new edition):
- codearts:monthlyPackage:listResourceDetail
- billing:subscription:renew
- billing:subscription:view
Unsubscribing from a package
IAM:
- devcloud:monthlyPackage:listResourceDetail
- bss:subscription:resourceUnsubscribe
- bss:order:view
IAM (new edition):
- codearts:monthlyPackage:listResourceDetail
- billing:subscription:resourceUnsubscribe
- billing:order:view
For details about how to grant permissions to IAM users on the IAM console, see Creating a User Group and Assigning Permissions or Creating a User Group and Assigning Permissions (New Edition). For details about how to grant permissions to federated users, see Creating a User Group and Assigning Permissions. As there are two editions of the IAM console and the permissions are different, configure the permissions based on your actual IAM edition.
After the permissions of a user group to which a federated user belongs are modified, the enterprise IdP must be restarted to make the modifications take effect.
Purchasing a package
- Log in to the CodeArts Agent console using either of the following accounts. A dialog box is displayed, indicating that the service is not enabled.
- HUAWEI ID
- An IAM/federated user account with the fine-grained permissions listed in Table 1
Figure 1 Service not enabled
- Click Subscribe Now. The page for purchasing a CodeArts Agent package is displayed.
- Set package specifications by referring to Table 2.
Table 2 Parameters for setting the package specifications Parameter
Description
Billing Mode
The billing mode is set to Monthly package by default. It is a prepaid mode in which you pay for the service before using it. Then, the bills will be settled based on the subscription period.
Region
Select CN-HongKong. Currently, this service is available only in this region.
CodeArts Agent Packages
Select a package based on your requirements.
Seats
A seat is the basic sales unit of CodeArts Agent. Only enterprise members assigned with seats can use the AI functions of CodeArts Agent.
The number of seats available for each edition is as follows:
- Free: 50 seats by default, which cannot be changed.
- Basic: 1 to 100
- Professional: 1 to 1,000
Required Duration
Select the subscription duration for the package. Packages can be purchased on a monthly basis.
If Auto-renew is selected, the monthly package will be renewed automatically.
- Select I have read and agree to the CodeArts Agent Service Statement. The purchase page varies depending on the edition you selected. The details are as follows:
- For the free edition, click Enable.
- For the basic or professional edition, click Buy. The payment page is displayed. Confirm that all information is correct, and click Pay.
After the package is purchased, view the package details on the Subscriptions page. The account that purchased the CodeArts Agent package automatically becomes the enterprise administrator and is assigned a seat.
Enabling Pay-per-Use
The pay-per-use billing can be enabled after the CodeArts Agent basic or professional edition is purchased.
If the tokens in the package are insufficient, pay-per-use billing can be enabled on the Subscriptions page by a HUAWEI ID account with the enterprise administrator role, or by an IAM/federated account that holds both the enterprise administrator role and fine-grained permissions listed in Table 1. Usage exceeding the package quota will be billed on demand to keep the CodeArts Agent services active. If the pay-per-use billing is not enabled, you can still use CodeArts Agent, but the priority of your tasks in the queue will decrease correspondingly.
- Log in to the CodeArts Agent console using any of the following accounts:
- HUAWEI ID with the enterprise administrator role
- IAM user or federated user account that holds both the enterprise administrator role and fine-grained permissions listed in Table 1
- In the navigation tree on the left, choose Enterprise Management > Subscriptions.
- On the Pay-per-Use card, click Enable.
- Select I have read and agree to MaaS Service Statement, and click Enable.
On the Subscriptions page, the Pay-per-Use card displays Enabled.
Figure 2 Pay-per-Use enabled
The token consumption of this month is for reference only. Go to Billing Center to view the actual token consumption.
- (Optional) After pay-per-use billing is enabled, you can click Enable More to enable the billing mode for the new models released later.
Changing a Package
CodeArts Agent supports the package upgrade but does not support the package downgrade. For the basic or professional edition, you can only purchase additional seats and cannot reduce seats.
- Log in to the CodeArts Agent console using any of the following accounts:
- HUAWEI ID with the enterprise administrator role
- IAM user or federated user account that holds both the enterprise administrator role and fine-grained permissions listed in Table 1
- In the navigation tree on the left, choose Enterprise Management > Subscriptions.
- Go to the page for changing the CodeArts Agent package in either of the following ways:
- On the package card, click Change Package.
- In the resource list, locate the package, and click Change in the Operation column.
- Set the package parameters.
Table 3 Changing the CodeArts Agent package Parameter
Description
Edition
CodeArts Agent supports the package upgrade but does not support the package downgrade.
Select the edition you want.
Seats
The number of seats cannot be changed for the free edition. For the basic or professional edition, you can only purchase additional seats and cannot reduce seats. The basic edition supports a maximum of 100 seats, and the professional edition supports up to 1,000 seats.
Enter the number of seats you require.
Effective
- Immediately: The change applies immediately after it succeeds. The new package's expiration date will be the same as that of the current package.
- Upon expiration: The new package will only take effect after the current package expires.
Required Duration
This parameter is displayed only when you select Upon expiration for Effective.
Select the duration of the new package.
- Select I have read and agree to the CodeArts Agent Service Statement, and click Next.
- Confirm the information, and click Pay.
- Click Confirm to complete the package change.
After the payment is successful, you can view the details of the new package on the Subscriptions page if you selected to change it immediately. If you have scheduled a package change upon expiration, you can view the new package details on the Subscriptions page once the current one expires.
Managing Subscriptions
After purchasing a package, any of the following accounts can be used to renew the subscription, modify auto-renewal, and unsubscribe from the package:
- HUAWEI ID with the enterprise administrator role
- IAM or federated user account with the enterprise administrator role and with the specific permissions listed in Table 1
What is your overall rating for this page?
Thank 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