Getting container info
- In the management console
, go to the folder with your container. - Go to Serverless Containers.
- In the left-hand panel, select Containers.
- Select the container.
- The Overview page will show the container 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, get a list of containers in the folder.
To get detailed information about a container, run this command:
yc serverless container get <container_ID>
Result:
id: bba0hq6q1prb********
folder_id: b1gtmgn9gbvm********
created_at: "2023-01-17T11:52:56.800Z"
name: test
url: https://bba0hq6q1prb********.containers.yandexcloud.net/
status: ACTIVE
To get detailed information about a container, use the get REST API method for the Container resource or the ContainerService/Get gRPC API call.