Queries components related to applications in Elastic Compute Service (ECS) clusters in a region.

Debugging

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 common request parameters, and does not involve special request headers. For more information, see the topic about common parameters.

Request syntax

GET /pop/v5/resource/components HTTPS|HTTP

Request parameters

This operation uses only common request parameters, and does not involve special request headers. For more information, see Common parameters for API calls.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code returned for the call.

ComponentList Array of Component

The list of components.

Component
ComponentId String 1

The component ID.

ComponentKey String Key

The component key.

Desc String alarm

The component description.

Expired Boolean false

Indicates whether the component has expired. Valid values:

  • false: not expired
  • true: expired
Type String JDK

The component type.

Version String oraclejdk7

The component version.

Message String success

The additional information.

Examples

Sample requests

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

Sample success responses

JSON format

{
    "RequestId": "CEAC5952-8DA2-4F2D-9476-5237DA3E****",
        "Component": [{
        "ComponentId": 1,
        "Expired": false,
        "Type": "JDK",
        "Version": "oraclejdk7"
    }],
    "Message": "success"
}

Error codes

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