Getting function info
- In the management console
, select the folder containing the function. - Go to Cloud Functions.
- In the left-hand panel, select
Functions. - Select a function.
- The Overview page will show the function 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, get a list of functions in the folder.
To get detailed information about a function, run this command:
yc serverless function get <function_ID>
Result:
id: d4e155orh3nu********
folder_id: b1gc1t4cb638********
created_at: "2020-10-09T11:53:19.815Z"
name: test-function
log_group_id: ckg9ndpthgnu********
http_invoke_url: https://functions.yandexcloud.net/d4e155orh3nu********
status: ACTIVE
To get detailed information about a function, use the get REST API method for the Function resource or the FunctionService/Get gRPC API call.