Getting information about a container revision
Written by
Updated at October 17, 2024
Management console
CLI
API
- In the management console
, select the folder with your container. - Select Serverless Containers.
- Select the container to get revision information for.
- Under Revisions, you can find the list of container revisions and their details.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To find out the name or unique ID of a container revision, get a list of container revisions in the folder.
To get detailed information about a container revision, run this command:
yc serverless container revision get <revision_ID>
Result:
id: bbaq84v92qqc********
container_id: bbab5i36nvda********
created_at: "2021-09-09T11:22:28.128Z"
image:
image_url: cr.yandex/crpp35hht729********/ubuntu:test
image_digest: sha256:9f05670784f562f278177e43a9ae0179f29b3cb93b2ef165b935f1k9********
resources:
memory: "1207959552"
cores: "1"
core_fraction: "100"
execution_timeout: 0s
concurrency: "1"
service_account_id: aje07l4q4vmo********
status: ACTIVE
To get information about a container revision, use the getRevision REST API method for the Container resource or the ContainerService/GetRevision gRPC API call.