Queries the number of concurrent connections to a dedicated instance within a period of time.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeInstanceSlbConnect |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
The start time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ |
2022-09-01T02:09:33Z |
| EndTime |
string |
Yes |
The end time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ |
2022-09-15T15:07:06Z |
| InstanceId |
string |
Yes |
The ID of the instance. |
apigateway-sz-1574cc7c5a31 |
| SbcName |
string |
Yes |
The statistical metric. Valid values:
|
Maximum |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
E7FE7172-AA75-5880-B6F7-C00893E9BC06 |
| InstanceSlbConnect |
object |
||
| MonitorItem |
array<object> |
The list of concurrent connections in the instance. |
|
|
object |
|||
| ItemValue |
string |
The number of concurrent connections in the instance. |
12 |
| ItemTime |
string |
The monitoring time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ |
2022-09-15T15:07:06Z |
| Item |
string |
The metric. Valid values:
|
InstanceActiveConnection |
Examples
Success response
JSON format
{
"RequestId": "E7FE7172-AA75-5880-B6F7-C00893E9BC06",
"InstanceSlbConnect": {
"MonitorItem": [
{
"ItemValue": "12",
"ItemTime": "2022-09-15T15:07:06Z\n",
"Item": "InstanceActiveConnection"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.