Queries online client statistics for Smart Access Gateway (SAG) app instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:DescribeSagOnlineClientStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the SAG app instance. |
cn-shanghai |
| SmartAGIds |
array |
No |
The IDs of the SAG app instances. The list can contain up to 50 instance IDs. |
sag-va03wf4l4idaj***** |
|
string |
No |
The ID of the SAG app instance. |
sag-6z21oj0vjjrx6s**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| SagStatistics |
object |
||
| Statistics |
array<object> |
The online connection data. |
|
|
object |
|||
| SmartAGId |
string |
The ID of the SAG app instance. |
sag-va03wf4l4idaj***** |
| OnlineCount |
string |
The number of clients that are connected to the SAG app instance. |
0 |
| RequestId |
string |
The request ID. |
9EC839B6-0EA5-4F19-A4B7-A9E465D057AE |
Examples
Success response
JSON format
{
"SagStatistics": {
"Statistics": [
{
"SmartAGId": "sag-va03wf4l4idaj*****",
"OnlineCount": "0"
}
]
},
"RequestId": "9EC839B6-0EA5-4F19-A4B7-A9E465D057AE"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidId.SMARTAG | The specified smart access gateway instance ID does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.