A function can be queried in the console or on Serverless Cloud Framework CLI.
Viewing a Function in the Console
1. Log in to the SCF console and select Functions on the left sidebar. 2. Select the region and namespace for which to view functions at the top of the Functions page. In the function list, you can view all the functions in the specified region and namespace as shown below:
3. The function list displays the function name, monitoring information, function type, runtime environment, log configuration, and creation time. You can customize the displayed fields as needed by clicking on the right as shown below:
In the pop-up window, select the fields you want to display and click OK as shown below:
4. Click the function name to enter the function details page as shown below:
The function details page contains the following information: Function management: View and manage the configurations, codes, and layers of the function. Version management: Fixate the code and configuration of the function by publishing a version. For more information, see Overview. Alias management: Use an alias to call the bound function.
Trigger management: View the triggers configured for the function and create triggers. For more information, see Creating Triggers. Log query: View the execution logs of the function and filter logs by certain criteria. For more information, see Viewing Execution Logs. Concurrency quota: View the concurrency quota of the function and set the reserved quota and provisioned concurrency of the function. For more information, see Concurrency Overview. Deployment logs: View the deployment logs of the function.
Note:
Before starting, install the Serverless Cloud Framework CLI tool first as instructed in Installation. You can run the scf info
command on Serverless Cloud Framework CLI to view deployment information.
Was this page helpful?