Queries whether Anti-DDoS Proxy are authorized to access other cloud services.
Operation description
This operation queries whether your Alibaba Cloud account has authorized Anti-DDoS Pro and Anti-DDoS Premium to access other cloud services.
QPS limits
The maximum number of queries per second (QPS) for this operation is 10 per user. If the number of API calls exceeds this limit, throttling is triggered. This may affect your business operations. Ensure that you call this operation at an appropriate rate.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-ddoscoo:DescribeStsGrantStatus | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ResourceGroupId | string | No | The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. If you do not specify this parameter, the default resource group is used. | rg-acfm2pz25js**** |
Role | string | Yes | The name of the RAM role that you want to query. The value is fixed as AliyunDDoSCOODefaultRole, which indicates the default role of Anti-DDoS Proxy. Note Anti-DDoS Proxy use this role by default to access your resources in other cloud services. | AliyunDDoSCOODefaultRole |
When you call this operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see Common parameters.
For the request format, see the "Examples" section of this topic.
Response elements
Parameter | Type | Description | Example |
object | |||
RequestId | string | The ID of the request. | 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1 |
| StsGrant | object | The authorization status of Anti-DDoS Pro and Anti-DDoS Premium. | |
Status | integer | The authorization status. Valid values:
| 1 |
Examples
Success response
JSON format
{
"RequestId": "6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1",
"StsGrant": {
"Status": 1
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.