Obtains the details of an account factory baseline.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
governance:GetAccountFactoryBaseline |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BaselineId |
string |
No |
The ID of the baseline. |
afb-bp1nf0enuzb89az***** |
| 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-bp16ae2k8a3yo3d***** |
| BaselineItems |
array<object> |
The baseline items. |
|
|
object |
|||
| Config |
string |
The configuration of the baseline item. The value is a JSON string. |
{\"Notifications\":[{\"GroupKey\":\"account_msg\",\"Contacts\":[{\"Name\":\"aa\"}],\"PmsgStatus\":1,\"EmailStatus\":1,\"SmsStatus\":1}]} |
| Name |
string |
The name of the baseline item. |
ACS-BP_ACCOUNT_FACTORY_VPC |
| Version |
string |
The version of the baseline item. |
1.0 |
| BaselineName |
string |
The name of the baseline. |
Default |
| CreateTime |
string |
The time when the baseline was created. |
2022-11-28T00:46:34Z |
| Description |
string |
The description of the baseline. |
默认基线 |
| RequestId |
string |
The request ID. |
60D54503-F1F6-51B6-B6FA-A70CBDA2A68C |
| Type |
string |
The type of the baseline. Valid values:
|
Custom |
| UpdateTime |
string |
The time when the baseline was updated. |
2022-11-02T01:00:07Z |
Examples
Success response
JSON format
{
"BaselineId": "afb-bp16ae2k8a3yo3d*****",
"BaselineItems": [
{
"Config": "{\\\"Notifications\\\":[{\\\"GroupKey\\\":\\\"account_msg\\\",\\\"Contacts\\\":[{\\\"Name\\\":\\\"aa\\\"}],\\\"PmsgStatus\\\":1,\\\"EmailStatus\\\":1,\\\"SmsStatus\\\":1}]}",
"Name": "ACS-BP_ACCOUNT_FACTORY_VPC",
"Version": "1.0"
}
],
"BaselineName": "Default",
"CreateTime": "2022-11-28T00:46:34Z",
"Description": "默认基线",
"RequestId": "60D54503-F1F6-51B6-B6FA-A70CBDA2A68C",
"Type": "Custom",
"UpdateTime": "2022-11-02T01:00:07Z"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter %s is not valid. | The specified parameter %s is invalid. |
| 500 | InternalError | A system error occurred. | A system error occurred. |
| 404 | InvalidUser.NotFound | The specified user does not exist. | The user does not exist. |
| 404 | InvalidBaseline.NotFound | The specified baseline does not exist. | The specified account baseline does not exist. |
| 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.