All Products
Search
Document Center

Enterprise Distributed Application Service:ListComponents

Last Updated:Jan 08, 2024

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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /pop/v5/resource/components

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

No request parameters.

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The message that is returned.

success
ComponentListobject []

The components.

Typestring

The type of the component. Valid values:

  • JDK
  • TOMCAT
  • TENGINE
JDK
ComponentKeystring

The key of the component.

JDK 7
Versionstring

The version of the component.

oraclejdk7
Expiredboolean

Indicates whether the component has expired. Valid values:

  • false: The component has not expired.
  • true: The component has expired.
false
ComponentIdstring

The ID of the component.

1
Descstring

The description of the component.

JDK 7

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.