Getting information about a container revision
- In the management console
, go to the folder with your container. - Go to 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 CLI yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
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.