Creates a baseline of the account factory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
governance:CreateAccountFactoryBaseline |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BaselineName |
string |
No |
The name of the baseline. |
Default |
| BaselineItems |
array<object> |
No |
An array that contains the baseline items. You can call the ListAccountFactoryBaselineItems operation to query a list of baseline items supported by the account factory in Cloud Governance Center. |
|
|
object |
No |
The configurations of the baseline item. |
||
| Config |
string |
No |
The configurations of the baseline item. The value of this parameter is a JSON string. |
{\"EnabledServices\":[\"CEN_TR\",\"CDT\",\"CMS\",\"KMS\"]} |
| Name |
string |
No |
The name of the baseline item. |
ACS-BP_ACCOUNT_FACTORY_VPC |
| Version |
string |
No |
The version of the baseline item. |
1.0 |
| Description |
string |
No |
The description of the baseline. |
Default Baseline. |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| BaselineId |
string |
The ID of the baseline. |
afb-bp1e6ixtiwupap8m**** |
| RequestId |
string |
The request ID. |
A5592E2E-0FC4-557C-B989-DF229B5EBE13 |
Examples
Success response
JSON format
{
"BaselineId": "afb-bp1e6ixtiwupap8m****",
"RequestId": "A5592E2E-0FC4-557C-B989-DF229B5EBE13"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. | A system error occurred. |
| 404 | InvalidEnterpriseRealName.NotFound | The specified account has not passed enterprise real name verification. Please complete the verification for the account first. | The specified account has not passed enterprise real-name verification. Please complete the verification for the account first. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.