Resource Type | Resource Description |
instance | qcs::es:$region:$account:instance/* |
API Name | Description | Associated with Resource | Resource Description |
Getting cluster list and information of individual clusters | DescribeInstances | Yes | qcs::es:${Region}:uin/${ownerUin}:instance/${instanceId} |
Creating cluster | CreateInstance | No | * |
Updating cluster | UpdateInstance | Yes | qcs::es:${Region}:uin/${ownerUin}:instance/${instanceId} |
Restarting cluster | RestartInstance | Yes | qcs::es:${Region}:uin/${ownerUin}:instance/${instanceId} |
Deleting cluster | DeleteInstance | Yes | qcs::es:${Region}:uin/${ownerUin}:instance/${instanceId} |
Updating plugin | UpdatePlugins | Yes | qcs::es:${Region}:uin/${ownerUin}:instance/${instanceId} |
Region | Name | Region ID |
South China | Guangzhou | ap-guangzhou |
East China | Shanghai | ap-shanghai |
| Nanjing | ap-nanjing |
North China | Beijing | ap-beijing |
Southwest China | Chengdu | ap-chengdu |
| Chongqing | ap-chongqing |
Hong Kong/Macao/Taiwan | Hong Kong (China) | ap-hongkong |
Southeast Asia Pacific | Singapore | ap-singapore |
South Asia Pacific | Mumbai | ap-mumbai |
Northeast Asia Pacific | Seoul | ap-seoul |
| Tokyo | ap-tokyo |
West US | Silicon Valley | na-siliconvalley |
East US | Virginia | na-ashburn |
Europe | Frankfurt | eu-frankfurt |
{"version": "2.0","statement": [{"action": ["Action"],"resource": "Resource","effect": "Effect"}]}
DescribeInstances
. You can authorize a sub-account to perform various operations on a cluster under your account such as updating, restarting, and deleting.{"version": "2.0","statement": [{"action": ["es:Describe*"],"resource": ["qcs::es:ap-guangzhou:uin/$uin:instance/$instanceID"],"effect": "allow"},{"action": ["vpc:Describe*","vpc:Inquiry*","vpc:Get*"],"resource": "*","effect": "allow"},{"action": ["monitor:*","cam:ListUsersForGroup","cam:ListGroups","cam:GetGroup"],"resource": "*","effect": "allow"},{"action": ["es:Update*"],"resource": ["qcs::es:ap-guangzhou:uin/$uin:instance/$instanceID"],"effect": "allow"}]}
Was this page helpful?