tencent cloud

All product documents
Serverless Cloud Function
Enabling/Disabling Triggers
Last updated: 2024-12-02 20:07:18
Enabling/Disabling Triggers
Last updated: 2024-12-02 20:07:18
You can disable a trigger to temporarily prevent a function from being triggered by an event occurring at the event source. This document describes how to do so in the console.

Enabling or Disabling a Trigger in the Console

1. Log in to the SCF console and select Functions on the left sidebar.
2. At the top of the Functions page, select the region and namespace where the function resides as shown below:

3. Click the function name to enter the function details page.
4. Select Trigger management on the left to enter the trigger browsing and operation page. Click

in the status of the target trigger to enable or disable it as shown below:


Setting the Enables/Disabled Status of a Trigger During Creation

When you create a trigger, you can set its enabled/disabled status, and the trigger will be in the set status once created. For example, when creating a timer trigger, if you want the trigger to take effect later as needed, you can deselect Enable now as shown below:

After the trigger is created, you can enable it by switching its enabled/disabled status.

Notes

At present, the enabled/disabled status switch is not supported for certain triggers, and the Enable button is not displayed for them in the console. When this is supported for them subsequently, the status and button will be displayed accordingly.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon