forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
7.5 KiB
7.5 KiB
Function Management
Overview
Function is a combination of code, runtime, resources, and settings required to achieve a specific purpose. It is the minimum unit that can run independently. A function can be triggered by triggers and automatically schedule required resources and environments to achieve expected results.
Exporting a Function
You can export the functions that you created.
- Log in to the FunctionGraph console, and choose Functions > Function List in the navigation pane.
- Click a function name.
- On the displayed function details page, choose Operation > Export Function in the upper right corner.
Disabling a Function
Disabled functions can no longer be executed.
- Return to the FunctionGraph console, and choose Functions > Function List in the navigation pane.
- Click the name of the function you want to disable.
- On the displayed function details page, click Disable Function in the upper right corner.
- On the displayed page, click Yes. The function is disabled.
Enabling a Function
Disabled functions can be enabled again as required.
- Return to the FunctionGraph console, and choose Functions > Function List in the navigation pane.
- Click the name of the function you want to enable.
- On the displayed function details page, click Enable Function in the upper right corner.
Deleting a Function
You can delete unused functions to release resources.
- Return to the FunctionGraph console, and choose Functions > Function List in the navigation pane.
- In the Function List, locate the row that contains the target function and click Delete in the operation column. In the displayed dialog box, enter DELETE and click OK.