tencent cloud


Querying a Function

Last updated: 2023-02-01 17:37:37

    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.
      • Monitoring information: View the monitoring information of function execution. For more information, see Descriptions of monitoring metrics.
      • 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.

    Getting Deployment Information on Serverless Cloud Framework CLI


    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.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support