Queries the components that are related to applications in Elastic Compute Service (ECS) clusters.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request header. For more information, see Common parameters for API calls.

Request syntax

GET /pop/v5/resource/components HTTP/1.1

Request parameters

No request parameters.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

ComponentList Array of Component

The components.

ComponentId String 1

The ID of the component.

ComponentKey String JDK 7

The key of the component.

Desc String JDK 7

The description of the component.

Expired Boolean false

Indicates whether the component has expired. Valid values:

  • false: The component has not expired.
  • true: The component has expired.
Type String JDK

The type of the component. Valid values:

  • JDK
Version String oraclejdk7

The version of the component.

Message String success

The returned message that indicates whether the request is successful.


Sample requests

GET /pop/v5/resource/components HTTP/1.1
Common request header

Sample success responses

XML format

        <Desc>JDK 7</Desc>
        <ComponentKey>JDK 7</ComponentKey>

JSON format

    "Message": "success",
    "ComponentList": {
        "Component": {
            "Desc": "JDK 7",
            "Type": "JDK",
            "Version": "oraclejdk7",
            "ComponentKey": "JDK 7",
            "Expired": false,
            "ComponentId": 1
    "Code": 200

Error codes

For a list of error codes, visit the API Error Center.