Getting information about a function version
- In the management console
, select the folder containing the function. - Select 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 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 function version, get a list of function versions in the folder.
To get detailed information about a function version by:
-
ID
, run the 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********
-
TAGS
, run the 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.
You can get more information on a function version using the Yandex Cloud Toolkit plugin