Grants permissions to the service account of an AnalyticDB for MySQL cluster.
Operation description
If Alibaba Cloud technical support needs to perform operations on your AnalyticDB for MySQL cluster, you must grant permissions to the service account of the cluster. The granted permissions are automatically revoked when the authorization expires.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:GrantOperatorPermission |
update |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. Note
You can call the DescribeDBClusters operation to query cluster IDs. |
am-bp1565u55p32**** |
| ExpiredTime |
string |
Yes |
The expiration time of the service account permissions. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format in UTC. |
2022-11-30T00:00:00Z |
| Privileges |
string |
Yes |
The permission type. Valid values:
|
Control |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A438072A-E2E7-5509-9A3F-66293512A820 |
Examples
Success response
JSON format
{
"RequestId": "A438072A-E2E7-5509-9A3F-66293512A820"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RelatedTaskNotFinish | The related task does not finish. | The related task has not finished. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.