Container as a Service
Get container
Get detailed information about a specific container.
get/cloud/v1/caas/{project_id}/{region_id}/containers/{container_name}
Path parameters
project_idinteger required
Project id
Example:1
Project id
region_idinteger required
Region id
Example:1
Region id
container_namestring required
Container name
Example:my-container
Container name
Response
OK
Example response
{
"address": "some.example.com",
"commands": "python3 app.py -m test",
"created_at": "2021-01-01T00:00:00Z",
"deploy_status": {
"ready": 1,
"total": 2
},
"description": "My first container",
"envs": {
"ENVIRONMENT_VARIABLE": "value 2",
"ENV_VAR": "value 1"
},
"flavor": "250mCPU-512MiB",
"image": "nginx:latest",
"listening_port": 80,
"logging": {
"destination_region_id": 1,
"enabled": true,
"retention_policy": {
"period": 45
},
"topic_name": "my-log-name"
},
"name": "nginx",
"namespace": "default",
"pull_secret": "my-secret",
"source": "cloud",
"status": "RUNNING",
"status_message": "Some container status",
"timeout": 5
}