Skip to main content
POST
Check container quota

Authorizations

Authorization
string
header
required

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
integer
required

Project id

Example:

1

region_id
integer
required

Region id

Example:

1

Body

application/json
flavor
string
required

Container flavor

Pattern: ^[0-9]{0,12}mCPU-[0-9]{0,12}M[i]?B$
Example:

"250mCPU-512MiB"

max_replicas
integer
required

Maximum number of instances

Required range: 1 <= x <= 25

Response

200 - application/json

OK

Exceeded quota fields, present only when regional limits would be violated.

An empty response means no quotas are exceeded.

caas_container_count_limit
integer

Containers count limit

Example:

5

caas_container_count_requested
integer

Containers count requested

Example:

1

caas_container_count_usage
integer

Containers count usage

Example:

5

caas_cpu_count_limit
integer

Containers CPU count limit, mCPU

Example:

10

caas_cpu_count_requested
integer

Containers CPU count requested, mCPU

Example:

20

caas_cpu_count_usage
integer

Containers CPU count usage, mCPU

Example:

5

caas_gpu_count_limit
integer

Containers GPU count limit

Example:

4

caas_gpu_count_requested
integer

Containers GPU count requested

Example:

8

caas_gpu_count_usage
integer

Containers GPU count usage

Example:

2

caas_ram_size_limit
integer

Containers RAM size limit, MiB

Example:

2048

caas_ram_size_requested
integer

Containers RAM size requested, MiB

Example:

4096

caas_ram_size_usage
integer

Containers RAM size usage, MiB

Example:

1024