Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project id
1
Region id
1
Container name
"my-container"
Body
Container's commands
"python3 app.py -m test"
Container description
255
"My first container"
Container environment variables
{
"ENVIRONMENT_VARIABLE": "value 2",
"ENV_VAR": "value 1"
}
Container flavor
"250mCPU-512MiB"
Container image
230
"nginx:latest"
Enable/Disable api key authentication. Enable api key is temporarily disabled. As a result, using CaaS with authorization is currently not supported.
false
Set to true if container is disabled
false
Container listening port
1 <= x <= 65535
80
Logging configuration
{
"destination_region_id": 1,
"enabled": true,
"retention_policy": { "period": 45 },
"topic_name": "my-log-name"
}
{ "enabled": false }
Image pull secret
"my-secret"
Container autoscaling
{ "max": 2, "min": 1 }
Container timeout in seconds
0 <= x <= 180
5
Response
OK
List of task IDs
["d478ae29-dedc-4869-82f0-96104425f565"]