Queries the components that are related to applications in Elastic Compute Service (ECS) clusters.
Try it now
Test
RAM authorization
Request syntax
GET /pop/v5/resource/components HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
No request parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message that is returned. |
success |
| ComponentList |
object |
||
| Component |
array<object> |
The components. |
|
|
object |
|||
| Type |
string |
The type of the component. Valid values:
|
JDK |
| ComponentKey |
string |
The key of the component. |
JDK 7 |
| Version |
string |
The version of the component. |
oraclejdk7 |
| Expired |
boolean |
Indicates whether the component has expired. Valid values:
|
false |
| ComponentId |
string |
The ID of the component. |
1 |
| Desc |
string |
The description of the component. |
JDK 7 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"ComponentList": {
"Component": [
{
"Type": "JDK",
"ComponentKey": "JDK 7",
"Version": "oraclejdk7",
"Expired": false,
"ComponentId": "1",
"Desc": "JDK 7"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.