ListProgramTypeCount
Updated at:
Queries the distribution of different types of nodes.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The workspace ID. |
1234 |
| ProjectEnv |
string |
Yes |
The environment of the workspace. Valid values: PROD and DEV. Valid values:
|
PROD |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
E6F0DBDD-5AD**** |
| ProgramTypeAndCounts |
array<object> |
The list of node types and quantity. |
|
|
object |
|||
| Count |
integer |
The number of nodes. |
3 |
| ProgramType |
string |
The node type. |
ODPS_SQL |
Examples
Success response
JSON format
{
"RequestId": "E6F0DBDD-5AD****",
"ProgramTypeAndCounts": [
{
"Count": 3,
"ProgramType": "ODPS_SQL"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?