ListProgramTypeCount

Updated at:

Queries the distribution of different types of nodes.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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 :

    生产环境

  • DEV :

    开发环境

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.