Activates the Resource Center service.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
resourcecenter:EnableResourceCenter | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
No parameters required.
Response elements
Element | Type | Description | Example |
object | The response parameters. | ||
RequestId | string | The request ID. | 45357BEF-AB50-5E4D-B05D-5A882A4BE924 |
Status | string | The activation status of the service. Valid values:
| Pending |
Examples
Success response
JSON format
{
"RequestId": "45357BEF-AB50-5E4D-B05D-5A882A4BE924",
"Status": "Pending"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | NoPermission.ServiceLinkedRole | The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole. | |
400 | InvalidParameter.AccountId | The specified parameter AccountId is not valid. | The AccountId parameter is invalid. |
409 | NotSupport.Account.Site | The caller is not a current site account, which is not supported. | You are not allowed to use the account to perform operations at the current site. |
409 | Conflict.ServiceStatus | The service status conflict occurred due to frequent service enabled and disabled. | The resource center is opened and closed too frequently, and the service status conflicts. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.