GetInstanceStatusCount
Retrieves the count of instances in different statuses.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the workspace. |
1234 |
| ProjectEnv |
string |
Yes |
The runtime environment. Valid values: PROD and DEV. Valid values:
|
PROD |
| BizDate |
string |
Yes |
The business date of the instance. Format: |
2020-01-01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| RequestId |
string |
The request ID, which is used to locate logs and troubleshoot issues. |
0000-ABCD-EFG**** |
| StatusCount |
object |
The status statistics of instances. |
|
| FailureCount |
integer |
The number of failed instances. |
1 |
| WaitTimeCount |
integer |
The number of instances that meet the conditions and are waiting to run. |
1 |
| RunningCount |
integer |
The number of running instances. |
1 |
| SuccessCount |
integer |
The number of successful instances. |
1 |
| TotalCount |
integer |
The total number of instances. |
1 |
| NotRunCount |
integer |
The number of instances that have not run. |
1 |
| WaitResCount |
integer |
The number of instances waiting for resources. |
1 |
Examples
Success response
JSON format
{
"RequestId": "0000-ABCD-EFG****",
"StatusCount": {
"FailureCount": 1,
"WaitTimeCount": 1,
"RunningCount": 1,
"SuccessCount": 1,
"TotalCount": 1,
"NotRunCount": 1,
"WaitResCount": 1
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.