Container As A Service

container_as_a_service

Methods

Check Quota For Container Creation -> { baremetal_basic_count_limit, baremetal_basic_count_requested, baremetal_basic_count_usage, 126 more... }
post/v1/caas/{project_id}/{region_id}/check_limits

Check if regional quota is exceeded, if yes the number of additional quotas needed to create the specified cluster will be calculated

Get Caa S Flavors -> { count, results }
get/v1/caas/flavors/{project_id}/{region_id}

Get CaaS flavors

Get Global Quota -> { inference_cpu_millicore_count_limit, inference_cpu_millicore_count_usage, inference_gpu_a100_count_limit, 11 more... }
get/v2/global_quotas/{client_id}

Get global quota

Get A Quota By Region -> { baremetal_basic_count_limit, baremetal_basic_count_usage, baremetal_gpu_count_limit, 84 more... }
get/v2/regional_quotas/{client_id}/{region_id}

Get a quota by region

container_as_a_service.containers

Methods

Create Container -> { tasks }
post/v1/caas/{project_id}/{region_id}/containers

Create container

Delete Container -> { tasks }
delete/v1/caas/{project_id}/{region_id}/containers/{container_name}

Delete container

Get Container Logs -> { logs }
get/v1/caas/{project_id}/{region_id}/containers/{container_name}/logs

Get container logs

List Containers -> OffsetPage<{ address, created_at, deploy_status, 17 more... }>
get/v1/caas/{project_id}/{region_id}/containers

List containers

Get Container -> { address, created_at, deploy_status, 17 more... }
get/v1/caas/{project_id}/{region_id}/containers/{container_name}

Get container

Parameters
project_id: number

Project id

region_id: number

Region id

container_name: string

Container name

Response fields
address: string

Container address

created_at: string
(format: date-time)

Container creation date

deploy_status: { ready, total }

Container deploy status

description: string

Container description

envs: unknown

Container environment variables

flavor: string

Container flavor

image: string

Container image

is_api_key_auth: boolean

Enable/Disable api key authentication

is_disabled: boolean

Set to true if container is disabled

listening_port: number

Container listening port

name: string

Container name

namespace: string

Container namespace

pull_secret: string

Image pull secret

scale: { max, min, cooldown_period, 1 more... }

Container autoscaling

source: string

Source of the container, can be 'cloud' or 'iate'

status: string

Container status

status_message: string

Container status message

timeout: number

Container timeout in seconds

commands: string
Optional

Container's commands

logging: { destination_region_id, enabled, retention_policy, 1 more... }
Optional

Logging configuration

Request example
200Example
Change Container -> { tasks }
patch/v1/caas/{project_id}/{region_id}/containers/{container_name}

Change container

container_as_a_service.keys

Methods

Create API Key -> { containers, created_at, description, 6 more... }
post/v1/caas/keys/{project_id}/{region_id}

Create api key

Delete API Key ->
delete/v1/caas/keys/{project_id}/{region_id}/{key_name}

Delete api key

List API Keys -> OffsetPage<>
get/v1/caas/keys/{project_id}/{region_id}

List api keys

get/v1/caas/keys/{project_id}/{region_id}/{key_name}

Get api key

Change API Key ->
patch/v1/caas/keys/{project_id}/{region_id}/{key_name}

Change api key

Domain types

ContainerAsAServiceAPIKey = { containers, created_at, description, 5 more... }

container_as_a_service.secrets

Methods

Create Pull Secret ->
post/v1/caas/secrets/{project_id}/{region_id}

Create pull secret

Delete Pull Secret ->
delete/v1/caas/secrets/{project_id}/{region_id}/{secret_name}

Delete pull secret

List Pull Secrets -> OffsetPage<>
get/v1/caas/secrets/{project_id}/{region_id}

List pull secrets

Get Pull Secret ->
get/v1/caas/secrets/{project_id}/{region_id}/{secret_name}

Get pull secret

Change Pull Secret ->
patch/v1/caas/secrets/{project_id}/{region_id}/{secret_name}

Change pull secret

Domain types

PullSecret = { login, name, registry, 1 more... }