Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Serverless Containers
  • Comparison with other Yandex Cloud services
  • Getting started
  • Step-by-step instructions
  • Concepts
  • Practical guidelines
  • Access management
  • Pricing policy
  • Containers API reference
    • Authentication in the API
    • gRPC
    • REST
      • Overview
      • Container
        • Overview
        • create
        • delete
        • deployRevision
        • get
        • getRevision
        • list
        • listAccessBindings
        • listOperations
        • listRevisions
        • rollback
        • setAccessBindings
        • update
        • updateAccessBindings
  • API Triggers reference
  • Questions and answers
  1. Containers API reference
  2. REST
  3. Container
  4. Overview

Serverless Containers Service, REST: Container methods

Written by
Yandex Cloud
  • JSON Representation
  • Methods

A set of methods for managing serverless containers.

JSON Representation

{
  "id": "string",
  "folderId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "url": "string",
  "status": "string"
}
Field Description
id string

ID of the container. Generated at creation time.

folderId string

ID of the folder that the container belongs to.

createdAt string (date-time)

Creation timestamp for the container.

String in RFC3339 text format. The range of possible values is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

name string

Name of the container. The name is unique within the folder.

description string

Description of the container.

labels object

Container labels as key:value pairs.

url string

URL that needs to be requested to call the container.

status string

Status of the container.

  • CREATING: Container is being created.
  • ACTIVE: Container is ready for use.
  • DELETING: Container is being deleted.
  • ERROR: Container failed. The only allowed action is delete.

Methods

Method Description
create Creates a container in the specified folder.
delete Deletes the specified container.
deployRevision Deploys a revision for the specified container.
get Returns the specified container.
getRevision Returns the specified revision of a container.
list Retrieves the list of containers in the specified folder.
listAccessBindings Lists existing access bindings for the specified container.
listOperations Lists operations for the specified container.
listRevisions Retrieves the list of revisions for the specified container, or of all container revisions in the specified folder.
rollback Rollback the specified container to an old revision.
setAccessBindings Sets access bindings for the container.
update Updates the specified container.
updateAccessBindings Updates access bindings for the specified container.

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • JSON Representation
  • Methods