Getting information about a function version
- In the management console
, select the folder containing the function. - Go to Cloud Functions.
- In the left-hand panel, select
Functions. - Select the function to get a list of versions for.
- Under Version history, you can find the list of function versions 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 function version, get a list of function versions in the folder.
To get detailed information about a function version by:
-
For
ID, run this command:yc serverless function version get <version_ID>Result:
id: b09u830mb1n3******** function_id: b097d9ous3ge******** created_at: "2023-08-22T09:23:23.383Z" runtime: python311 entrypoint: test.handler resources: memory: "134217728" execution_timeout: 5s image_size: "4096" status: ACTIVE tags: - $latest log_group_id: eolv6578frac******** -
For
TAGS, run this command:yc serverless function version get-by-tag --function-name <function_name> --tag <tag>Result:
id: b09ch6pmpohf******** function_id: b097d9ous3ge******** created_at: "2023-08-22T09:12:38.464Z" runtime: python311 entrypoint: test.handler resources: memory: "134217728" execution_timeout: 5s image_size: "4096" status: ACTIVE tags: - beta log_group_id: eolv6578frac********
To get detailed information about a function version, use the getVersion REST API method for the Function resource or the FunctionsService/GetVersion gRPC API call.