Obtaining All Supported Runtimes of Application Components
Function
This API is used to obtain all supported runtimes of application components.
URI
GET /v2/{project_id}/cas/metadata/runtimes
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Tenant's project ID. |
Request
Request parameters
None
Response
Response parameters
Parameter |
Type |
Description |
---|---|---|
runtimes |
Array of objects |
Runtime parameters. See Table 3. |
Example
Example request
None
Example response
{ "runtimes": [ { "type_name": "Java8", "display_name": "Java 8", "container_default_port": 8080, "type_desc": "Java 8 runtime server" } ] }
Status Code
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
404 |
Not Found |
500 |
Internal Server Error |
Error Code
Error code must be in the format of SVCSTG.00100.[Error_ID]. Example: SVCSTG.00100400. See Error Codes of Application Management APIs.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot