Overview
After a function is created, you need to configure the resources and environment required for running the function to ensure that the function meets service requirements.
Function Configuration Process
Figure 1 describes the overall process of configuring a function.
For details, see Table 1.
No. |
Procedure |
Description |
---|---|---|
1 |
Configuring Function Code |
FunctionGraph supports the following function code deployment modes:
|
2 |
Dependencies provide dependent libraries, runtime environments, and extended execution capabilities for functions to ensure that function code meets service requirements. |
|
3 |
(Optional) Configuring Agency Permissions |
If FunctionGraph needs to access other cloud services, you must create an agency to authorize FunctionGraph to access these cloud services. Otherwise, retain the default settings. |
4 |
(Optional) Configuring Network |
After a function is created, Public Access is enabled by default. You can manually modify the network configuration. Functions can access the following two types of networks:
|
5 |
(Optional) Configuring Triggers |
A trigger triggers the execution of a function. You can create a trigger and define the trigger condition. When the condition is met, the event source automatically invokes the function associated with the trigger. If FunctionGraph functions need to automatically respond to specific events, configure triggers. For details, see Supported Trigger Events. |
6 |
After configuring the function, set test events to verify and debug the function execution. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot