All Products
Search
Document Center

GrantOperatorPermission

Last Updated: May 29, 2020

Grants permissions to the service account of an AnalyticDB for MySQL cluster.

If you seek technical support from Alibaba Cloud when you use an AnalyticDB for MySQL cluster, the technical support staff need to perform operations on your cluster. In this case, you need to grant permissions to the service account of the AnalyticDB for MySQL cluster. Then, the staff can provide technical support services with the service account.

Request parameters

Parameter Type Required Example Description
Action String Yes GrantOperatorPermission The operation that you want to perform. Set the value to

GrantOperatorPermission.

DBClusterId String Yes rm-uf6wjk5xxxxxxxxxx The ID of the cluster whose service account is to be granted with permissions.
Privileges String Yes Control The permissions to be granted. Example: Control|Data
ExpiredTime String Yes 2019-05-20T05:41:19Z The time when the granted permissions expire.

Response parameters

Parameter Type Example Description
<Common response parameters> String - For more information, see Common parameters.
RequestIdString1AD222E9-E606-4A42-BF6D-8A4442913CEFThe ID of the request.

Examples

Sample requests

  1. http(s)://[Endpoint]/?Action=GrantOperatorPermission
  2. &DBClusterId=am-xxxxxxxxxx
  3. &Privileges=Control
  4. &ExpiredTime=2019-05-20T05:41:19Z
  5. &<Common request parameters>

Sample success responses

XML format

  1. <GrantOperatorPermissionResponse>
  2. <RequestId>7E7DC2C1-7BF6-46F8-B16B-9B0606D7176A</RequestId>
  3. </GrantOperatorPermissionResponse>

JSON format

  1. {
  2. "RequestId":"7E7DC2C1-7BF6-46F8-B16B-9B0606D7176A"
  3. }