Queries the top 10 Smart Access Gateway (SAG) instances that have the highest data transfer rates in a specific region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:DescribeSagTrafficTopN |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the SAG instance is deployed. |
cn-shanghai |
| Size |
integer |
No |
The number of SAG instances to be queried. Default value:10. This value cannot be modified. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
AFF7E5A6-6897-4FDC-A5A8-1978B5B3E545 |
| TrafficTopN |
array<object> |
The information about the data transfer rate of the SAG instance. |
|
|
object |
|||
| TrafficRate |
string |
The data transfer rate of the SAG instance. Unit: bit/s |
3866.6666666666665 |
| InstanceId |
string |
The ID of the SAG instance. |
sag-whfn**** |
| Name |
string |
The name of the SAG instance. |
test |
| RegionId |
string |
The ID of the region where the SAG instance is deployed. |
cn-shanghai |
Examples
Success response
JSON format
{
"RequestId": "AFF7E5A6-6897-4FDC-A5A8-1978B5B3E545",
"TrafficTopN": [
{
"TrafficRate": "3866.6666666666665",
"InstanceId": "sag-whfn****",
"Name": "test",
"RegionId": "cn-shanghai"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.