diff --git a/docs/fg/umn/ALL_META.TXT.json b/docs/fg/umn/ALL_META.TXT.json index aa3e63153..b2ffcc3fb 100644 --- a/docs/fg/umn/ALL_META.TXT.json +++ b/docs/fg/umn/ALL_META.TXT.json @@ -14,8 +14,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -48,7 +48,7 @@ "node_id":"functiongraph_01_0200_0.xml", "product_code":"functiongraph", "code":"3", - "des":"FunctionGraph provides console-based function management.The Node.js, Java, Python, Go, PHP, and custom runtimes are supported. Table 1 provides the details.You are advis", + "des":"FunctionGraph provides console-based function management.The Node.js, Java, Python, Go, C#, PHP, and custom runtimes are supported. Table 1 provides the details.You are a", "doc_type":"usermanual", "kw":"Product Features,Service Overview,User Guide", "search_title":"", @@ -103,71 +103,11 @@ "title":"Application Scenarios", "githuburl":"" }, - { - "uri":"en-us_topic_0000001257203581.html", - "node_id":"en-us_topic_0000001257203581.xml", - "product_code":"functiongraph", - "code":"6", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Function Types", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "documenttype":"usermanual", - "IsMulti":"Yes", - "IsBot":"Yes" - } - ], - "title":"Function Types", - "githuburl":"" - }, - { - "uri":"en-us_topic_0000001212603706.html", - "node_id":"en-us_topic_0000001212603706.xml", - "product_code":"functiongraph", - "code":"7", - "des":"FunctionGraph supports event functions. An event can trigger function execution. Generally, it is in JSON format. You can create an event to trigger your function through", - "doc_type":"usermanual", - "kw":"Event Functions,Function Types,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "documenttype":"usermanual", - "IsMulti":"Yes", - "IsBot":"Yes" - } - ], - "title":"Event Functions", - "githuburl":"" - }, - { - "uri":"en-us_topic_0000001257403573.html", - "node_id":"en-us_topic_0000001257403573.xml", - "product_code":"functiongraph", - "code":"8", - "des":"FunctionGraph supports event functions and HTTP functions. HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function ex", - "doc_type":"usermanual", - "kw":"HTTP Functions,Function Types,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "documenttype":"usermanual", - "IsMulti":"Yes", - "IsBot":"Yes" - } - ], - "title":"HTTP Functions", - "githuburl":"" - }, { "uri":"functiongraph_01_0150.html", "node_id":"functiongraph_01_0150.xml", "product_code":"functiongraph", - "code":"9", + "code":"6", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Notes and Constraints,Service Overview,User Guide", @@ -187,7 +127,7 @@ "uri":"functiongraph_01_0160_0.html", "node_id":"functiongraph_01_0160_0.xml", "product_code":"functiongraph", - "code":"10", + "code":"7", "des":"To assign different permissions to employees in your enterprise to access your FunctionGraph resources, IAM is a good choice for fine-grained permissions management. IAM ", "doc_type":"usermanual", "kw":"Permissions Management,Service Overview,User Guide", @@ -207,7 +147,7 @@ "uri":"functiongraph_02_1005.html", "node_id":"functiongraph_02_1005.xml", "product_code":"functiongraph", - "code":"11", + "code":"8", "des":"Functions are code defined to handle events.An event source is a public cloud service or custom application that publishes events.The runtime provides an execution enviro", "doc_type":"usermanual", "kw":"Concepts,Service Overview,User Guide", @@ -227,7 +167,7 @@ "uri":"functiongraph_01_0130.html", "node_id":"functiongraph_01_0130.xml", "product_code":"functiongraph", - "code":"12", + "code":"9", "des":"Table 1 describes the cloud services that have been interconnected with FunctionGraph.", "doc_type":"usermanual", "kw":"Relationships Between FunctionGraph and Other Services,Service Overview,User Guide", @@ -247,7 +187,7 @@ "uri":"functiongraph_01_0505.html", "node_id":"functiongraph_01_0505.xml", "product_code":"functiongraph", - "code":"13", + "code":"10", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Getting Started", @@ -255,8 +195,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -268,7 +208,7 @@ "uri":"functiongraph_04_0101.html", "node_id":"functiongraph_04_0101.xml", "product_code":"functiongraph", - "code":"14", + "code":"11", "des":"This section describes how to quickly create and test a HelloWorld function on the FunctionGraph console.Grant the FunctionGraph operation permissions to the user.To perf", "doc_type":"usermanual", "kw":"Creating a Function from Scratch and Executing the Function,Getting Started,User Guide", @@ -288,7 +228,7 @@ "uri":"functiongraph_04_0102.html", "node_id":"functiongraph_04_0102.xml", "product_code":"functiongraph", - "code":"15", + "code":"12", "des":"FunctionGraph provides multiple templates to automatically complete code and running environment configurations when you create a function, helping you quickly build appl", "doc_type":"usermanual", "kw":"Creating a Function Using a Template and Executing the Function,Getting Started,User Guide", @@ -308,8 +248,8 @@ "uri":"functiongraph_04_0103.html", "node_id":"functiongraph_04_0103.xml", "product_code":"functiongraph", - "code":"16", - "des":"This section uses the creation of an HTTP function using a container image as an example to describe how to create and test a container image function. In this example, i", + "code":"13", + "des":"This section uses the creation of an HTTP function using a container image as an example to describe how to create and test a container image function.In this example, im", "doc_type":"usermanual", "kw":"Creating an HTTP Function Using a Container Image and Executing the Function,Getting Started,User Gu", "search_title":"", @@ -328,8 +268,8 @@ "uri":"functiongraph_04_0104.html", "node_id":"functiongraph_04_0104.xml", "product_code":"functiongraph", - "code":"17", - "des":"This section uses the creation of an event function using a container image as an example to describe how to create and test a container image function. You need to imple", + "code":"14", + "des":"This section uses the creation of an event function using a container image as an example to describe how to create and test a container image function.You need to implem", "doc_type":"usermanual", "kw":"Creating an Event Function Using a Container Image and Executing the Function,Getting Started,User G", "search_title":"", @@ -348,7 +288,7 @@ "uri":"functiongraph_01_0100.html", "node_id":"functiongraph_01_0100.xml", "product_code":"functiongraph", - "code":"18", + "code":"15", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Before You Start", @@ -356,8 +296,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -369,28 +309,28 @@ "uri":"functiongraph_01_0110.html", "node_id":"functiongraph_01_0110.xml", "product_code":"functiongraph", - "code":"19", + "code":"16", "des":"FunctionGraph allows you to run your code without provisioning or managing servers, while ensuring high availability and scalability. All you need to do is upload your co", "doc_type":"usermanual", - "kw":"Use of FunctionGraph,Before You Start,User Guide", + "kw":"Process of Using FunctionGraph,Before You Start,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Use of FunctionGraph", + "title":"Process of Using FunctionGraph", "githuburl":"" }, { "uri":"functiongraph_01_0140.html", "node_id":"functiongraph_01_0140.xml", "product_code":"functiongraph", - "code":"20", + "code":"17", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Permissions Management", @@ -398,8 +338,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -411,7 +351,7 @@ "uri":"functiongraph_01_0141.html", "node_id":"functiongraph_01_0141.xml", "product_code":"functiongraph", - "code":"21", + "code":"18", "des":"This section describes how to use Identity and Access Management (IAM) to implement fine-grained permissions control for your FunctionGraph resources. With IAM, you can:C", "doc_type":"usermanual", "kw":"Creating a User and Granting Permissions,Permissions Management,User Guide", @@ -419,8 +359,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -432,7 +372,7 @@ "uri":"functiongraph_01_0215.html", "node_id":"functiongraph_01_0215.xml", "product_code":"functiongraph", - "code":"22", + "code":"19", "des":"Custom policies can be created as a supplement to the system policies of FunctionGraph.You can create custom policies in either of the following ways:Visual editor: Selec", "doc_type":"usermanual", "kw":"Creating a Custom Policy,Permissions Management,User Guide", @@ -440,8 +380,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -449,11 +389,32 @@ "title":"Creating a Custom Policy", "githuburl":"" }, + { + "uri":"functiongraph_01_0151_0.html", + "node_id":"functiongraph_01_0151_0.xml", + "product_code":"functiongraph", + "code":"20", + "des":"FunctionGraph supports multiple runtimes, including Python, Node.js, Java, Go, C#, PHP, Cangjie, and custom. The supported versions vary depending on the language.", + "doc_type":"usermanual", + "kw":"Supported Runtimes,Before You Start,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"functiongraph", + "opensource":"true", + "documenttype":"usermanual", + "IsBot":"Yes", + "IsMulti":"Yes" + } + ], + "title":"Supported Runtimes", + "githuburl":"" + }, { "uri":"functiongraph_01_0151.html", "node_id":"functiongraph_01_0151.xml", "product_code":"functiongraph", - "code":"23", + "code":"21", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Supported Programming Languages", @@ -461,8 +422,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -474,7 +435,7 @@ "uri":"functiongraph_01_1822.html", "node_id":"functiongraph_01_1822.xml", "product_code":"functiongraph", - "code":"24", + "code":"22", "des":"√: Supported. ×: Not supported.", "doc_type":"usermanual", "kw":"Node.js,Supported Programming Languages,User Guide", @@ -482,8 +443,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -495,7 +456,7 @@ "uri":"functiongraph_01_1823.html", "node_id":"functiongraph_01_1823.xml", "product_code":"functiongraph", - "code":"25", + "code":"23", "des":"√: Supported. ×: Not supported.", "doc_type":"usermanual", "kw":"Python,Supported Programming Languages,User Guide", @@ -503,8 +464,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -516,7 +477,7 @@ "uri":"functiongraph_01_1824.html", "node_id":"functiongraph_01_1824.xml", "product_code":"functiongraph", - "code":"26", + "code":"24", "des":"√: Supported. ×: Not supported.", "doc_type":"usermanual", "kw":"Java,Supported Programming Languages,User Guide", @@ -524,8 +485,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -537,7 +498,7 @@ "uri":"functiongraph_01_1825.html", "node_id":"functiongraph_01_1825.xml", "product_code":"functiongraph", - "code":"27", + "code":"25", "des":"√: Supported. ×: Not supported.", "doc_type":"usermanual", "kw":"Go,Supported Programming Languages,User Guide", @@ -545,8 +506,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -558,7 +519,7 @@ "uri":"functiongraph_01_1826.html", "node_id":"functiongraph_01_1826.xml", "product_code":"functiongraph", - "code":"28", + "code":"26", "des":"√: Supported. ×: Not supported.", "doc_type":"usermanual", "kw":"C#,Supported Programming Languages,User Guide", @@ -566,8 +527,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -579,7 +540,7 @@ "uri":"functiongraph_01_1827.html", "node_id":"functiongraph_01_1827.xml", "product_code":"functiongraph", - "code":"29", + "code":"27", "des":"√: Supported. ×: Not supported.", "doc_type":"usermanual", "kw":"PHP,Supported Programming Languages,User Guide", @@ -587,8 +548,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -600,7 +561,7 @@ "uri":"functiongraph_01_0406.html", "node_id":"functiongraph_01_0406.xml", "product_code":"functiongraph", - "code":"30", + "code":"28", "des":"A runtime runs the code of a function, reads the handler name from an environment variable, and reads invocation events from the runtime APIs of FunctionGraph. The runtim", "doc_type":"usermanual", "kw":"Custom Runtime,Supported Programming Languages,User Guide", @@ -608,8 +569,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -621,49 +582,49 @@ "uri":"functiongraph_01_0150_0.html", "node_id":"functiongraph_01_0150_0.xml", "product_code":"functiongraph", - "code":"31", + "code":"29", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Building Functions", + "kw":"Creating a Function", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Building Functions", + "title":"Creating a Function", "githuburl":"" }, { "uri":"functiongraph_01_0152.html", "node_id":"functiongraph_01_0152.xml", "product_code":"functiongraph", - "code":"32", + "code":"30", "des":"To create a function, you must create a deployment package which includes your code and all dependencies. You can create a deployment package locally or edit code on the ", "doc_type":"usermanual", - "kw":"Creating a Deployment Package,Building Functions,User Guide", + "kw":"Configuring Code,Creating a Function,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Creating a Deployment Package", + "title":"Configuring Code", "githuburl":"" }, { "uri":"functiongraph_01_0153.html", "node_id":"functiongraph_01_0153.xml", "product_code":"functiongraph", - "code":"33", + "code":"31", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Creating a Function from Scratch", @@ -671,8 +632,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -684,7 +645,7 @@ "uri":"functiongraph_01_1441.html", "node_id":"functiongraph_01_1441.xml", "product_code":"functiongraph", - "code":"34", + "code":"32", "des":"A function is customized code for processing events. You can create a function from scratch and configure the function based on site requirements.FunctionGraph manages th", "doc_type":"usermanual", "kw":"Creating an Event Function,Creating a Function from Scratch,User Guide", @@ -692,8 +653,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -705,16 +666,16 @@ "uri":"functiongraph_01_1442.html", "node_id":"functiongraph_01_1442.xml", "product_code":"functiongraph", - "code":"35", - "des":"HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function execution. HTTP functions support APIG triggers only.HTTP fun", + "code":"33", + "des":"HTTP functions are designed to optimize web services and support multiple programming languages. You can send HTTP requests to URLs to trigger function execution.The foll", "doc_type":"usermanual", "kw":"Creating an HTTP Function,Creating a Function from Scratch,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -726,16 +687,16 @@ "uri":"functiongraph_01_0401.html", "node_id":"functiongraph_01_0401.xml", "product_code":"functiongraph", - "code":"36", + "code":"34", "des":"FunctionGraph provides templates to automatically complete code, and running environment configurations when you create a function, helping you quickly build applications", "doc_type":"usermanual", - "kw":"Creating a Function Using a Template,Building Functions,User Guide", + "kw":"Creating a Function Using a Template,Creating a Function,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -747,28 +708,28 @@ "uri":"functiongraph_01_1047.html", "node_id":"functiongraph_01_1047.xml", "product_code":"functiongraph", - "code":"37", + "code":"35", "des":"Package your container images complying with the Open Container Initiative (OCI) standard, and upload them to FunctionGraph. The images will be loaded and run by Function", "doc_type":"usermanual", - "kw":"Deploying a Function Using a Container Image,Building Functions,User Guide", + "kw":"Creating a Function with an Image,Creating a Function,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Deploying a Function Using a Container Image", + "title":"Creating a Function with an Image", "githuburl":"" }, { "uri":"functiongraph_01_0300.html", "node_id":"functiongraph_01_0300.xml", "product_code":"functiongraph", - "code":"38", + "code":"36", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Configuring Functions", @@ -776,8 +737,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -789,7 +750,7 @@ "uri":"functiongraph_01_0201.html", "node_id":"functiongraph_01_0201.xml", "product_code":"functiongraph", - "code":"39", + "code":"37", "des":"The initializer of a function is executed after an instance is started. The instance starts to process requests only after the initializer is executed. The initializer is", "doc_type":"usermanual", "kw":"Configuring Initialization,Configuring Functions,User Guide", @@ -797,8 +758,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -810,7 +771,7 @@ "uri":"functiongraph_01_1828.html", "node_id":"functiongraph_01_1828.xml", "product_code":"functiongraph", - "code":"40", + "code":"38", "des":"After a function is created, Memory (MB), Handler, and Execution Timeout (s) are automatically set based on your runtime. If needed, modify them based on this section.You", "doc_type":"usermanual", "kw":"Configuring Basic Settings,Configuring Functions,User Guide", @@ -818,8 +779,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -831,7 +792,7 @@ "uri":"functiongraph_01_0920.html", "node_id":"functiongraph_01_0920.xml", "product_code":"functiongraph", - "code":"41", + "code":"39", "des":"FunctionGraph works with other cloud services in most scenarios. Create a cloud service agency so that FunctionGraph can perform resource O&M in other cloud services on y", "doc_type":"usermanual", "kw":"Configuring Agency Permissions,Configuring Functions,User Guide", @@ -839,8 +800,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -852,28 +813,28 @@ "uri":"functiongraph_01_0222.html", "node_id":"functiongraph_01_0222.xml", "product_code":"functiongraph", - "code":"42", + "code":"40", "des":"By default, functions can access services on public networks. If the target public network service requires whitelist verification using a fixed IP address, enable VPC ac", "doc_type":"usermanual", - "kw":"Configuring the Network,Configuring Functions,User Guide", + "kw":"Configuring Networks,Configuring Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Configuring the Network", + "title":"Configuring Networks", "githuburl":"" }, { "uri":"functiongraph_01_0402.html", "node_id":"functiongraph_01_0402.xml", "product_code":"functiongraph", - "code":"43", + "code":"41", "des":"FunctionGraph allows you to mount file systems to your functions. Multiple functions can share the same file system. This greatly expands the function execution and stora", "doc_type":"usermanual", "kw":"Configuring Disk Mounting,Configuring Functions,User Guide", @@ -881,8 +842,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -894,7 +855,7 @@ "uri":"functiongraph_01_0154.html", "node_id":"functiongraph_01_0154.xml", "product_code":"functiongraph", - "code":"44", + "code":"42", "des":"Environment variables allow you to pass dynamic parameters to a function without modifying code.Environment distinguishing: Configure different environment variables for ", "doc_type":"usermanual", "kw":"Configuring Environment Variables,Configuring Functions,User Guide", @@ -902,8 +863,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -915,91 +876,91 @@ "uri":"functiongraph_01_0390_03.html", "node_id":"functiongraph_01_0390_03.xml", "product_code":"functiongraph", - "code":"45", + "code":"43", "des":"Functions can be invoked synchronously or asynchronously. In asynchronous mode, FunctionGraph sends a response immediately after persisting a request. The request result ", "doc_type":"usermanual", - "kw":"Configuring Asynchronous Execution Notification,Configuring Functions,User Guide", + "kw":"Configuring Asynchronous Notification Policy,Configuring Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Configuring Asynchronous Execution Notification", + "title":"Configuring Asynchronous Notification Policy", "githuburl":"" }, { "uri":"functiongraph_01_0303.html", "node_id":"functiongraph_01_0303.xml", "product_code":"functiongraph", - "code":"46", - "des":"By default, each function instance processes only one request at a specific time. For example, to process three concurrent requests, FunctionGraph triggers three function", + "code":"44", + "des":"FunctionGraph allows you to configure the maximum number of instances that can be run for a function at a time. The number of instances is limited to prevent resource exh", "doc_type":"usermanual", - "kw":"Configuring Single-Instance Multi-Concurrency,Configuring Functions,User Guide", + "kw":"Configuring Concurrency,Configuring Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Configuring Single-Instance Multi-Concurrency", + "title":"Configuring Concurrency", "githuburl":"" }, { "uri":"functiongraph_01_0180.html", "node_id":"functiongraph_01_0180.xml", "product_code":"functiongraph", - "code":"47", + "code":"45", "des":"FunctionGraph allows you to publish one or more versions throughout the development, test, and production processes to manage your function code. The code and environment", "doc_type":"usermanual", - "kw":"Managing Versions,Configuring Functions,User Guide", + "kw":"Configuring Versions,Configuring Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Managing Versions", + "title":"Configuring Versions", "githuburl":"" }, { "uri":"functiongraph_01_1829.html", "node_id":"functiongraph_01_1829.xml", "product_code":"functiongraph", - "code":"48", + "code":"46", "des":"An alias points to a specific function version. Create an alias and expose it to clients, for example, bind a trigger to the alias instead of the corresponding version. T", "doc_type":"usermanual", - "kw":"Managing Aliases,Configuring Functions,User Guide", + "kw":"Configuring Function Aliases,Configuring Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Managing Aliases", + "title":"Configuring Function Aliases", "githuburl":"" }, { "uri":"functiongraph_01_0310.html", "node_id":"functiongraph_01_0310.xml", "product_code":"functiongraph", - "code":"49", + "code":"47", "des":"By default, a function is bound with only one resource specification. After enabling dynamic memory, you can configure a specification for request processing. If no speci", "doc_type":"usermanual", "kw":"Configuring Dynamic Memory,Configuring Functions,User Guide", @@ -1007,8 +968,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1020,7 +981,7 @@ "uri":"functiongraph_01_1839.html", "node_id":"functiongraph_01_1839.xml", "product_code":"functiongraph", - "code":"50", + "code":"48", "des":"Tags help you identify your cloud resources. When you have many cloud resources of the same type, you can use tags to classify them by dimension (for example, use, owner,", "doc_type":"usermanual", "kw":"Configuring Tags,Configuring Functions,User Guide", @@ -1028,8 +989,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1041,16 +1002,16 @@ "uri":"functiongraph_01_1841.html", "node_id":"functiongraph_01_1841.xml", "product_code":"functiongraph", - "code":"51", - "des":"This feature is supported only by FunctionGraph V2.You can bind a log group and log stream to a function to store its invocation logs. By default, the logs are stored in ", + "code":"49", + "des":"You can bind a log group and log stream to a function to store its invocation logs. By default, the logs are stored in the log stream automatically created for the functi", "doc_type":"usermanual", "kw":"Configuring a Log Group and Log Stream,Configuring Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1058,11 +1019,32 @@ "title":"Configuring a Log Group and Log Stream", "githuburl":"" }, + { + "uri":"functiongraph_01_0418.html", + "node_id":"functiongraph_01_0418.xml", + "product_code":"functiongraph", + "code":"50", + "des":"Class isolation is used to load your code and dependencies using an independent class loader if they conflict with the runtime dependencies.Pre-stop is used to call a cal", + "doc_type":"usermanual", + "kw":"Configuring Class Isolation and Pre-stop for Java Functions,Configuring Functions,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"functiongraph", + "opensource":"true", + "documenttype":"usermanual", + "IsBot":"Yes", + "IsMulti":"Yes" + } + ], + "title":"Configuring Class Isolation and Pre-stop for Java Functions", + "githuburl":"" + }, { "uri":"functiongraph_01_0302.html", "node_id":"functiongraph_01_0302.xml", "product_code":"functiongraph", - "code":"52", + "code":"51", "des":"Event data is passed to the handler of your function as an input. After configuration, event data is persisted for later use. Each function can have a maximum of 10 test ", "doc_type":"usermanual", "kw":"Online Debugging,User Guide", @@ -1070,8 +1052,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1083,37 +1065,37 @@ "uri":"functiongraph_01_0200.html", "node_id":"functiongraph_01_0200.xml", "product_code":"functiongraph", - "code":"53", + "code":"52", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Creating Triggers", + "kw":"Configuring Triggers", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Creating Triggers", + "title":"Configuring Triggers", "githuburl":"" }, { "uri":"functiongraph_01_0301.html", "node_id":"functiongraph_01_0301.xml", "product_code":"functiongraph", - "code":"54", + "code":"53", "des":"You can enable or disable triggers as required. Note that OBS and APIG triggers cannot be disabled and can only be deleted.You can delete triggers that will no longer be ", "doc_type":"usermanual", - "kw":"Managing Triggers,Creating Triggers,User Guide", + "kw":"Managing Triggers,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1125,16 +1107,16 @@ "uri":"functiongraph_01_0207.html", "node_id":"functiongraph_01_0207.xml", "product_code":"functiongraph", - "code":"55", + "code":"54", "des":"This section describes how to create a timer trigger to invoke your function based on a fixed rate or cron expression.", "doc_type":"usermanual", - "kw":"Using a Timer Trigger,Creating Triggers,User Guide", + "kw":"Using a Timer Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1146,16 +1128,16 @@ "uri":"functiongraph_01_0204.html", "node_id":"functiongraph_01_0204.xml", "product_code":"functiongraph", - "code":"56", + "code":"55", "des":"This section describes how to create an APIG trigger and call an API to trigger a function.", "doc_type":"usermanual", - "kw":"Using an APIG (Dedicated) Trigger,Creating Triggers,User Guide", + "kw":"Using an APIG (Dedicated) Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1167,16 +1149,16 @@ "uri":"functiongraph_01_0205.html", "node_id":"functiongraph_01_0205.xml", "product_code":"functiongraph", - "code":"57", + "code":"56", "des":"This section describes how to create an OBS trigger and upload an image package to a specified OBS bucket to trigger a function.", "doc_type":"usermanual", - "kw":"Using an OBS Trigger,Creating Triggers,User Guide", + "kw":"Using an OBS Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1188,16 +1170,16 @@ "uri":"functiongraph_01_0214.html", "node_id":"functiongraph_01_0214.xml", "product_code":"functiongraph", - "code":"58", + "code":"57", "des":"This section describes how to create a Kafka trigger and configure a Kafka event to trigger a function.After a Kafka trigger is used, FunctionGraph periodically polls for", "doc_type":"usermanual", - "kw":"Using a Kafka Trigger,Creating Triggers,User Guide", + "kw":"Using a Kafka Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1205,41 +1187,20 @@ "title":"Using a Kafka Trigger", "githuburl":"" }, - { - "uri":"functiongraph_01_0206.html", - "node_id":"functiongraph_01_0206.xml", - "product_code":"functiongraph", - "code":"59", - "des":"This section describes how to create a DIS trigger for a function, and configure a DIS event by using the built-in event template to trigger the function.", - "doc_type":"usermanual", - "kw":"Using a DIS Trigger,Creating Triggers,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "documenttype":"usermanual", - "opensource":"true", - "IsBot":"Yes", - "IsMulti":"Yes" - } - ], - "title":"Using a DIS Trigger", - "githuburl":"" - }, { "uri":"functiongraph_01_0202.html", "node_id":"functiongraph_01_0202.xml", "product_code":"functiongraph", - "code":"60", + "code":"58", "des":"This section describes how to create an SMN trigger and publish a message to trigger a function.For details about the SMN event source, see section \"Supported Event Sourc", "doc_type":"usermanual", - "kw":"Using an SMN Trigger,Creating Triggers,User Guide", + "kw":"Using an SMN Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1251,16 +1212,16 @@ "uri":"functiongraph_01_0208.html", "node_id":"functiongraph_01_0208.xml", "product_code":"functiongraph", - "code":"61", + "code":"59", "des":"This section describes how to create an LTS trigger for a function, and invoke the function when log events occur.", "doc_type":"usermanual", - "kw":"Using an LTS Trigger,Creating Triggers,User Guide", + "kw":"Using an LTS Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1272,16 +1233,16 @@ "uri":"functiongraph_01_0209.html", "node_id":"functiongraph_01_0209.xml", "product_code":"functiongraph", - "code":"62", + "code":"60", "des":"This section describes how to create a CTS trigger for a function, and invoke the function in response to cloud resource operations recorded by CTS.", "doc_type":"usermanual", - "kw":"Using a CTS Trigger,Creating Triggers,User Guide", + "kw":"Using a CTS Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1293,16 +1254,16 @@ "uri":"functiongraph_01_0210.html", "node_id":"functiongraph_01_0210.xml", "product_code":"functiongraph", - "code":"63", + "code":"61", "des":"This section describes how to create a DDS trigger for a function, and invoke the function when a database table changes.A function using a DDS trigger will be triggered ", "doc_type":"usermanual", - "kw":"Using a DDS Trigger,Creating Triggers,User Guide", + "kw":"Using a DDS Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1314,16 +1275,16 @@ "uri":"functiongraph_01_1838.html", "node_id":"functiongraph_01_1838.xml", "product_code":"functiongraph", - "code":"64", + "code":"62", "des":"This section describes how to create an open-source Kafka trigger and configure an event to trigger a function.If you use an open-source Kafka trigger for a function, Fun", "doc_type":"usermanual", - "kw":"Using an Open-Source Kafka Trigger,Creating Triggers,User Guide", + "kw":"Using an Open-Source Kafka Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1335,16 +1296,16 @@ "uri":"functiongraph_01_0908.html", "node_id":"functiongraph_01_0908.xml", "product_code":"functiongraph", - "code":"65", + "code":"63", "des":"You can configure a cron expression in the following formats for a function timer trigger:@every formatThe format is \"@every N unit\". N is a positive integer. unit can be", "doc_type":"usermanual", - "kw":"Cron Expressions for a Function Timer Trigger,Creating Triggers,User Guide", + "kw":"Cron Expressions for a Function Timer Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1356,16 +1317,16 @@ "uri":"functiongraph_01_0394.html", "node_id":"functiongraph_01_0394.xml", "product_code":"functiongraph", - "code":"66", + "code":"64", "des":"This section describes how to create a RocketMQ trigger and configure a RocketMQ event to trigger a function. When a DMS (for RocketMQ) trigger is used, FunctionGraph per", "doc_type":"usermanual", - "kw":"Using a RocketMQ Trigger,Creating Triggers,User Guide", + "kw":"Using a RocketMQ Trigger,Configuring Triggers,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1377,7 +1338,7 @@ "uri":"functiongraph_01_0160.html", "node_id":"functiongraph_01_0160.xml", "product_code":"functiongraph", - "code":"67", + "code":"65", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Invoking the Function", @@ -1385,8 +1346,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1398,7 +1359,7 @@ "uri":"functiongraph_01_1061.html", "node_id":"functiongraph_01_1061.xml", "product_code":"functiongraph", - "code":"68", + "code":"66", "des":"When triggering a function, clients wait for the result before proceeding.Currently, functions with APIG (dedicated) triggers are executed synchronously. You can also use", "doc_type":"usermanual", "kw":"Synchronous Invocation,Invoking the Function,User Guide", @@ -1406,8 +1367,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1419,7 +1380,7 @@ "uri":"functiongraph_01_1062.html", "node_id":"functiongraph_01_1062.xml", "product_code":"functiongraph", - "code":"69", + "code":"67", "des":"When a client triggers a function, FunctionGraph persists the request and sends a response immediately to the client. The client proceeds without waiting for the executio", "doc_type":"usermanual", "kw":"Asynchronous Invocation,Invoking the Function,User Guide", @@ -1427,8 +1388,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1440,7 +1401,7 @@ "uri":"functiongraph_01_1814.html", "node_id":"functiongraph_01_1814.xml", "product_code":"functiongraph", - "code":"70", + "code":"68", "des":"If synchronous or asynchronous invocation fails, do as follows:Synchronous invocationTry again.Try again.Asynchronous invocationYou can set the maximum number of retries ", "doc_type":"usermanual", "kw":"Retry Mechanism,Invoking the Function,User Guide", @@ -1448,8 +1409,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1461,28 +1422,28 @@ "uri":"functiongraph_01_0390_01.html", "node_id":"functiongraph_01_0390_01.xml", "product_code":"functiongraph", - "code":"71", + "code":"69", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Monitoring", + "kw":"Viewing Metrics and Configuring Alarms", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Monitoring", + "title":"Viewing Metrics and Configuring Alarms", "githuburl":"" }, { "uri":"functiongraph_01_0211.html", "node_id":"functiongraph_01_0211.xml", "product_code":"functiongraph", - "code":"72", + "code":"70", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Metrics", @@ -1490,8 +1451,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1503,28 +1464,28 @@ "uri":"functiongraph_01_0212.html", "node_id":"functiongraph_01_0212.xml", "product_code":"functiongraph", - "code":"73", - "des":"FunctionGraph is interconnected with Cloud Eye, allowing you to view function metrics without the need for any configurations.FunctionGraph collects function metrics and ", + "code":"71", + "des":"FunctionGraph is interconnected with AOM, allowing you to view function metrics without the need for any configurations.FunctionGraph collects function metrics and displa", "doc_type":"usermanual", - "kw":"Function Monitoring,Metrics,User Guide", + "kw":"Viewing FunctionGraph Metrics,Metrics,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Function Monitoring", + "title":"Viewing FunctionGraph Metrics", "githuburl":"" }, { "uri":"functiongraph_01_0213.html", "node_id":"functiongraph_01_0213.xml", "product_code":"functiongraph", - "code":"74", + "code":"72", "des":"This section describes the FunctionGraph namespaces, function metrics, and dimensions reported to Cloud Eye. You can view function metrics and alarms by using the Cloud E", "doc_type":"usermanual", "kw":"FunctionGraph Metrics,Metrics,User Guide", @@ -1532,8 +1493,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1545,28 +1506,28 @@ "uri":"functiongraph_01_0304.html", "node_id":"functiongraph_01_0304.xml", "product_code":"functiongraph", - "code":"75", + "code":"73", "des":"After creating a function and trigger, you can monitor the invocation and running statuses of the function in real time.FunctionGraph differentiates the metrics of a func", "doc_type":"usermanual", - "kw":"Creating an Alarm Rule,Metrics,User Guide", + "kw":"Configuring an Alarm Rule,Metrics,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Creating an Alarm Rule", + "title":"Configuring an Alarm Rule", "githuburl":"" }, { "uri":"functiongraph_01_1833.html", "node_id":"functiongraph_01_1833.xml", "product_code":"functiongraph", - "code":"76", + "code":"74", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Logs", @@ -1574,8 +1535,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1587,7 +1548,7 @@ "uri":"functiongraph_01_0170.html", "node_id":"functiongraph_01_0170.xml", "product_code":"functiongraph", - "code":"77", + "code":"75", "des":"FunctionGraph is interconnected with LTS, allowing you to view function logs without the need for any configurations.On the FunctionGraph console, view function logs in t", "doc_type":"usermanual", "kw":"Querying Function Logs,Logs,User Guide", @@ -1595,8 +1556,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1608,7 +1569,7 @@ "uri":"functiongraph_01_1834.html", "node_id":"functiongraph_01_1834.xml", "product_code":"functiongraph", - "code":"78", + "code":"76", "des":"You can enable LTS to better manage function logs. After you enable LTS, FunctionGraph automatically creates a log group starting with functiongraph. When you create a fu", "doc_type":"usermanual", "kw":"Managing Function Logs,Logs,User Guide", @@ -1616,8 +1577,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1629,58 +1590,58 @@ "uri":"functiongraph_01_0320.html", "node_id":"functiongraph_01_0320.xml", "product_code":"functiongraph", - "code":"79", + "code":"77", "des":"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 ", "doc_type":"usermanual", - "kw":"Function Management,User Guide", + "kw":"Managing Functions,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Function Management", + "title":"Managing Functions", "githuburl":"" }, { "uri":"functiongraph_01_0391.html", "node_id":"functiongraph_01_0391.xml", "product_code":"functiongraph", - "code":"80", + "code":"78", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Dependency Management", + "kw":"Configuring Dependencies", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Dependency Management", + "title":"Configuring Dependencies", "githuburl":"" }, { "uri":"functiongraph_01_2119.html", "node_id":"functiongraph_01_2119.xml", "product_code":"functiongraph", - "code":"81", + "code":"79", "des":"Generally, the code of a function consists of public libraries and service logic. The public libraries can be packaged as a dependency and shared among functions, reducin", "doc_type":"usermanual", - "kw":"Configuring Dependency Packages,Dependency Management,User Guide", + "kw":"Configuring Dependency Packages,Configuring Dependencies,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1692,16 +1653,16 @@ "uri":"functiongraph_01_2102.html", "node_id":"functiongraph_01_2102.xml", "product_code":"functiongraph", - "code":"82", + "code":"80", "des":"Supported Dependent LibrariesFunctionGraph supports both standard and third-party libraries.Standard librariesWhen using standard libraries, you can import them to your i", "doc_type":"usermanual", - "kw":"Dependent Libraries,Dependency Management,User Guide", + "kw":"Dependent Libraries,Configuring Dependencies,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1713,28 +1674,28 @@ "uri":"functiongraph_01_1837.html", "node_id":"functiongraph_01_1837.xml", "product_code":"functiongraph", - "code":"83", + "code":"81", "des":"FunctionGraph provides on-demand and reserved instances.On-demand instances are created and released by FunctionGraph based on actual function usage. When receiving reque", "doc_type":"usermanual", - "kw":"Reserved Instance Management,User Guide", + "kw":"Configuring Reserved Instances,User Guide", "search_title":"", "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } ], - "title":"Reserved Instance Management", + "title":"Configuring Reserved Instances", "githuburl":"" }, { "uri":"functiongraph_01_0503.html", "node_id":"functiongraph_01_0503.xml", "product_code":"functiongraph", - "code":"84", + "code":"82", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"FAQs", @@ -1742,8 +1703,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } @@ -1755,7 +1716,7 @@ "uri":"functiongraph_03_0110_00.html", "node_id":"functiongraph_03_0110_00.xml", "product_code":"functiongraph", - "code":"85", + "code":"83", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"General FAQs", @@ -1775,7 +1736,7 @@ "uri":"functiongraph_03_0110.html", "node_id":"functiongraph_03_0110.xml", "product_code":"functiongraph", - "code":"86", + "code":"84", "des":"FunctionGraph allows you to run you code without provisioning or managing servers, while ensuring high availability and scalability. All you need to do is upload your cod", "doc_type":"usermanual", "kw":"What Is FunctionGraph?,General FAQs,User Guide", @@ -1795,7 +1756,7 @@ "uri":"functiongraph_03_0120.html", "node_id":"functiongraph_03_0120.xml", "product_code":"functiongraph", - "code":"87", + "code":"85", "des":"When using FunctionGraph, you do not need to apply for or pre-configure any computing, storage, or network services, but need to upload and run code in supported runtimes", "doc_type":"usermanual", "kw":"Do I Need to Apply for Any Compute, Storage, or Network Services When Using FunctionGraph?,General F", @@ -1815,7 +1776,7 @@ "uri":"functiongraph_03_0160.html", "node_id":"functiongraph_03_0160.xml", "product_code":"functiongraph", - "code":"88", + "code":"86", "des":"After programming, you only need to package your code into a ZIP file (Java, Node.js, Python, and Go) or JAR file (Java), and upload the file to FunctionGraph for executi", "doc_type":"usermanual", "kw":"Do I Need to Deploy My Code After Programming?,General FAQs,User Guide", @@ -1831,11 +1792,31 @@ "title":"Do I Need to Deploy My Code After Programming?", "githuburl":"" }, + { + "uri":"functiongraph_03_0260.html", + "node_id":"functiongraph_03_0260.xml", + "product_code":"functiongraph", + "code":"87", + "des":"Table 1 lists the runtimes supported by FunctionGraph.For details, see the runtime versions displayed on the console.", + "doc_type":"usermanual", + "kw":"What Runtimes Does FunctionGraph Support?,General FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"functiongraph", + "IsMulti":"No", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"What Runtimes Does FunctionGraph Support?", + "githuburl":"" + }, { "uri":"functiongraph_03_0170.html", "node_id":"functiongraph_03_0170.xml", "product_code":"functiongraph", - "code":"89", + "code":"88", "des":"Each FunctionGraph function is allocated 512 MB ephemeral disk space. You can upload deployment packages up to 10 GB in size. For more information, see Quotas and Usage R", "doc_type":"usermanual", "kw":"How Much Disk Space Is Allocated to Each FunctionGraph Function?,General FAQs,User Guide", @@ -1855,8 +1836,8 @@ "uri":"functiongraph_03_0240.html", "node_id":"functiongraph_03_0240.xml", "product_code":"functiongraph", - "code":"90", - "des":"Yes. For details, see Managing Versions.", + "code":"89", + "des":"Yes. For details, see Configuring Versions.", "doc_type":"usermanual", "kw":"Does FunctionGraph Support Function Versioning?,General FAQs,User Guide", "search_title":"", @@ -1875,7 +1856,7 @@ "uri":"functiongraph_03_0330.html", "node_id":"functiongraph_03_0330.xml", "product_code":"functiongraph", - "code":"91", + "code":"90", "des":"A function can read files in the code directory. The working directory of a function is the upper-level directory of the handler file. Assume that you have uploaded a fol", "doc_type":"usermanual", "kw":"How Does a Function Read or Write Files?,General FAQs,User Guide", @@ -1895,7 +1876,7 @@ "uri":"functiongraph_03_0341.html", "node_id":"functiongraph_03_0341.xml", "product_code":"functiongraph", - "code":"92", + "code":"91", "des":"FunctionGraph has integrated non-standard libraries such as redis, http, and obs_client. You can directly use these libraries when developing functions.Alternatively, use", "doc_type":"usermanual", "kw":"Does FunctionGraph Support Function Extension?,General FAQs,User Guide", @@ -1915,7 +1896,7 @@ "uri":"functiongraph_03_0342.html", "node_id":"functiongraph_03_0342.xml", "product_code":"functiongraph", - "code":"93", + "code":"92", "des":"If you are prompted insufficient permissions when creating, deleting, modifying, or querying functions and triggers in FunctionGraph as an IAM user, contact the administr", "doc_type":"usermanual", "kw":"Which Permissions Are Required for an IAM User to Use FunctionGraph?,General FAQs,User Guide", @@ -1935,7 +1916,7 @@ "uri":"functiongraph_03_0830.html", "node_id":"functiongraph_03_0830.xml", "product_code":"functiongraph", - "code":"94", + "code":"93", "des":"For OS-dependent packages (for example, unixODBC), download the source code to compile dependency packages.Log in to your ECS on the ECS console (ensure that the GCC and ", "doc_type":"usermanual", "kw":"How Can I Create an ODBC Drive-based Python Dependency Package for Database Query?,General FAQs,User", @@ -1955,7 +1936,7 @@ "uri":"functiongraph_03_0352.html", "node_id":"functiongraph_03_0352.xml", "product_code":"functiongraph", - "code":"95", + "code":"94", "des":"For details about the resource quota of FunctionGraph, see Notes and Constraints.", "doc_type":"usermanual", "kw":"What Is the Quota of FunctionGraph?,General FAQs,User Guide", @@ -1975,7 +1956,7 @@ "uri":"functiongraph_03_0839.html", "node_id":"functiongraph_03_0839.xml", "product_code":"functiongraph", - "code":"96", + "code":"95", "des":"FunctionGraph cannot directly resolve private DNS domain names. To resolve them, call DNS APIs and perform the following steps.Ensure that a VPC and private DNS domain na", "doc_type":"usermanual", "kw":"How Does FunctionGraph Implement Domain Name Resolution?,General FAQs,User Guide", @@ -1995,7 +1976,7 @@ "uri":"functiongraph_03_0840.html", "node_id":"functiongraph_03_0840.xml", "product_code":"functiongraph", - "code":"97", + "code":"96", "des":"The domain name www.test.com is used as an example. The procedure is as follows:", "doc_type":"usermanual", "kw":"How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?,General FAQs,Us", @@ -2015,7 +1996,7 @@ "uri":"functiongraph_03_0817.html", "node_id":"functiongraph_03_0817.xml", "product_code":"functiongraph", - "code":"98", + "code":"97", "des":"Web applications: mini programs, web pages/apps, chatbots, and Backends for Frontends (BFF).Event-driven applications: file processing, image processing, live video strea", "doc_type":"usermanual", "kw":"What Are the Common Application Scenarios of FunctionGraph?,General FAQs,User Guide", @@ -2035,7 +2016,7 @@ "uri":"functiongraph_03_0826.html", "node_id":"functiongraph_03_0826.xml", "product_code":"functiongraph", - "code":"99", + "code":"98", "des":"Currently, FunctionGraph resolves only DNS domain names and POD domain names.", "doc_type":"usermanual", "kw":"Why Can't the API Gateway Domain Name Bound to a Service Be Resolved During Function Invocation?,Gen", @@ -2055,7 +2036,7 @@ "uri":"functiongraph_03_0828.html", "node_id":"functiongraph_03_0828.xml", "product_code":"functiongraph", - "code":"100", + "code":"99", "des":"Not currently.", "doc_type":"usermanual", "kw":"Does FunctionGraph Support Synchronous Transmission at the Maximum Intranet Bandwidth?,General FAQs,", @@ -2075,7 +2056,7 @@ "uri":"functiongraph_03_0832.html", "node_id":"functiongraph_03_0832.xml", "product_code":"functiongraph", - "code":"101", + "code":"100", "des":"A tenant can create up to 4 VPCs. To create more VPCs, submit a service ticket.", "doc_type":"usermanual", "kw":"What If the VPC Quota Is Used Up?,General FAQs,User Guide", @@ -2095,7 +2076,7 @@ "uri":"functiongraph_03_0833.html", "node_id":"functiongraph_03_0833.xml", "product_code":"functiongraph", - "code":"102", + "code":"101", "des":"Take Java as an example. You can use this demo to print logs.", "doc_type":"usermanual", "kw":"How Can I Print Info, Error, or Warn Logs?,General FAQs,User Guide", @@ -2115,7 +2096,7 @@ "uri":"functiongraph_03_0841.html", "node_id":"functiongraph_03_0841.xml", "product_code":"functiongraph", - "code":"103", + "code":"102", "des":"Yes. The procedure is as follows:", "doc_type":"usermanual", "kw":"Can I Set the Domain Name of an API to My Own Domain Name?,General FAQs,User Guide", @@ -2135,7 +2116,7 @@ "uri":"functiongraph_03_0842.html", "node_id":"functiongraph_03_0842.xml", "product_code":"functiongraph", - "code":"104", + "code":"103", "des":"No. Once a function is created, its runtime cannot be changed.", "doc_type":"usermanual", "kw":"Can I Change the Runtime?,General FAQs,User Guide", @@ -2155,7 +2136,7 @@ "uri":"functiongraph_03_0858.html", "node_id":"functiongraph_03_0858.xml", "product_code":"functiongraph", - "code":"105", + "code":"104", "des":"No. A function's name cannot be changed once the function is created.", "doc_type":"usermanual", "kw":"Can I Change a Function's Name?,General FAQs,User Guide", @@ -2175,7 +2156,7 @@ "uri":"functiongraph_03_0843.html", "node_id":"functiongraph_03_0843.xml", "product_code":"functiongraph", - "code":"106", + "code":"105", "des":"When you see this message, mount the file to a new path.User ID/user group ID: Can be any number except 1000. The value –1 will be automatically converted to 1003. The tw", "doc_type":"usermanual", "kw":"Why Is Message \"failed to mount exist system path\" Displayed?,General FAQs,User Guide", @@ -2195,7 +2176,7 @@ "uri":"functiongraph_03_0846.html", "node_id":"functiongraph_03_0846.xml", "product_code":"functiongraph", - "code":"107", + "code":"106", "des":"Take Python as an example. If you use os.getcwd() to query the current directory, the directory will be /opt/function. However, code has actually been uploaded to /opt/fu", "doc_type":"usermanual", "kw":"How Do I Obtain Uploaded Files?,General FAQs,User Guide", @@ -2215,7 +2196,7 @@ "uri":"functiongraph_03_0848.html", "node_id":"functiongraph_03_0848.xml", "product_code":"functiongraph", - "code":"108", + "code":"107", "des":"If the E2E function execution latency exceeds 90s, asynchronous invocation is recommended. If synchronous invocation is used, no responses can be received after 90s due t", "doc_type":"usermanual", "kw":"Why Can't I Receive Responses for Synchronous Invocation?,General FAQs,User Guide", @@ -2235,7 +2216,7 @@ "uri":"functiongraph_03_0849.html", "node_id":"functiongraph_03_0849.xml", "product_code":"functiongraph", - "code":"109", + "code":"108", "des":"Do not use os.system(\"command &\"). The background command output will not be collected. To obtain the command output, use subprocess.Popen instead.", "doc_type":"usermanual", "kw":"What Should I Do If the os.system(\"command &\") Execution Logs Are Not Collected?,General FAQs,User G", @@ -2255,7 +2236,7 @@ "uri":"functiongraph_03_0855.html", "node_id":"functiongraph_03_0855.xml", "product_code":"functiongraph", - "code":"110", + "code":"109", "des":"By default, only the /tmp directory can be accessed, for example, for creating or downloading files.", "doc_type":"usermanual", "kw":"Which Directories Can Be Accessed When a Custom Runtime Is Used?,General FAQs,User Guide", @@ -2275,7 +2256,7 @@ "uri":"functiongraph_03_0856.html", "node_id":"functiongraph_03_0856.xml", "product_code":"functiongraph", - "code":"111", + "code":"110", "des":"3.6.8 and 3.9.2.", "doc_type":"usermanual", "kw":"Which Minor Versions of Python 3.6 and 3.9 Are Supported?,General FAQs,User Guide", @@ -2295,7 +2276,7 @@ "uri":"functiongraph_03_0857.html", "node_id":"functiongraph_03_0857.xml", "product_code":"functiongraph", - "code":"112", + "code":"111", "des":"The actions listed in Table 1 can be used.", "doc_type":"usermanual", "kw":"Which Actions Can Be Used Instead of a VPC Administrator Agency for VPC Access?,General FAQs,User Gu", @@ -2315,7 +2296,7 @@ "uri":"functiongraph_03_0859.html", "node_id":"functiongraph_03_0859.xml", "product_code":"functiongraph", - "code":"113", + "code":"112", "des":"The code logic timed out. In this case, optimize the code or increase the timeout.The network timed out. To fix this issue, increase the timeout.It took a long time to lo", "doc_type":"usermanual", "kw":"What Are the Possible Causes for Function Timeout?,General FAQs,User Guide", @@ -2335,7 +2316,7 @@ "uri":"functiongraph_03_0871.html", "node_id":"functiongraph_03_0871.xml", "product_code":"functiongraph", - "code":"114", + "code":"113", "des":"Log in to the FunctionGraph console, and click the name of the target function to go to the details page. Choose Operation > Export function in the upper right, and click", "doc_type":"usermanual", "kw":"How Do I Obtain the Code of a Function?,General FAQs,User Guide", @@ -2355,7 +2336,7 @@ "uri":"functiongraph_03_0882.html", "node_id":"functiongraph_03_0882.xml", "product_code":"functiongraph", - "code":"115", + "code":"114", "des":"Yes. See the following examples:Node.jsexports.initializer = function(context, callback) {\n callback(null, '');\n };Pythondef my_initializer(context):\n print(\"hel", "doc_type":"usermanual", "kw":"Do You Have Sample Code for Initializers?,General FAQs,User Guide", @@ -2375,7 +2356,7 @@ "uri":"functiongraph_03_0884.html", "node_id":"functiongraph_03_0884.xml", "product_code":"functiongraph", - "code":"116", + "code":"115", "des":"To check the status of asynchronous invocation requests, view the records by choosing Configuration > Configure Async Notification on the function details page, as shown ", "doc_type":"usermanual", "kw":"How Do I Enable Structured Log Query?,General FAQs,User Guide", @@ -2395,7 +2376,7 @@ "uri":"functiongraph_03_0771.html", "node_id":"functiongraph_03_0771.xml", "product_code":"functiongraph", - "code":"117", + "code":"116", "des":"No. FunctionGraph does not support this feature currently. Functions are about serverless computing, and compute resources are allocated while functions are running. Cust", "doc_type":"usermanual", "kw":"Can I Enable a Listening Port in a Function to Receive External TCP Requests via EIP?,General FAQs,U", @@ -2415,7 +2396,7 @@ "uri":"functiongraph_03_0344.html", "node_id":"functiongraph_03_0344.xml", "product_code":"functiongraph", - "code":"118", + "code":"117", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Function Creation FAQs", @@ -2435,7 +2416,7 @@ "uri":"functiongraph_03_0190.html", "node_id":"functiongraph_03_0190.xml", "product_code":"functiongraph", - "code":"119", + "code":"118", "des":"You can create additional threads and processes in your function by using runtime and OS features.", "doc_type":"usermanual", "kw":"Can I Add Threads and Processes in Function Code?,Function Creation FAQs,User Guide", @@ -2455,7 +2436,7 @@ "uri":"functiongraph_03_0280.html", "node_id":"functiongraph_03_0280.xml", "product_code":"functiongraph", - "code":"120", + "code":"119", "des":"In addition to inline code editing, you can create a function by uploading a ZIP or JAR file, or uploading a ZIP file from OBS. For details, see Packaging Rules and Examp", "doc_type":"usermanual", "kw":"What Are the Rules for Packaging a Function Project?,Function Creation FAQs,User Guide", @@ -2475,7 +2456,7 @@ "uri":"functiongraph_03_0270.html", "node_id":"functiongraph_03_0270.xml", "product_code":"functiongraph", - "code":"121", + "code":"120", "des":"Each FunctionGraph function runs in its own environment and has its own resources and file system.", "doc_type":"usermanual", "kw":"How Does FunctionGraph Isolate Code?,Function Creation FAQs,User Guide", @@ -2495,7 +2476,7 @@ "uri":"functiongraph_03_0837.html", "node_id":"functiongraph_03_0837.xml", "product_code":"functiongraph", - "code":"122", + "code":"121", "des":"To create an HTTP function, create a bootstrap file. For details, see Creating a Bootstrap File.", "doc_type":"usermanual", "kw":"How Do I Create the Bootstrap File for an HTTP Function?,Function Creation FAQs,User Guide", @@ -2515,7 +2496,7 @@ "uri":"functiongraph_03_0100.html", "node_id":"functiongraph_03_0100.xml", "product_code":"functiongraph", - "code":"123", + "code":"122", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Trigger Management FAQs", @@ -2535,7 +2516,7 @@ "uri":"functiongraph_03_0290.html", "node_id":"functiongraph_03_0290.xml", "product_code":"functiongraph", - "code":"124", + "code":"123", "des":"Ensure that the function response for an invocation by API Gateway has been encapsulated and contains body(String), statusCode(int), headers(Map), and isBase64Encoded(boo", "doc_type":"usermanual", "kw":"What If Error Code 500 Is Reported When Functions that Use APIG Triggers Return Strings?,Trigger Man", @@ -2551,31 +2532,11 @@ "title":"What If Error Code 500 Is Reported When Functions that Use APIG Triggers Return Strings?", "githuburl":"" }, - { - "uri":"functiongraph_03_0320.html", - "node_id":"functiongraph_03_0320.xml", - "product_code":"functiongraph", - "code":"125", - "des":"Cursors LATEST and TRIM_HORIZON specify the start points for reading data in Data Ingestion Service (DIS) streams.TRIM_HORIZON: Data is read from the earliest valid recor", - "doc_type":"usermanual", - "kw":"What Do LATEST and TRIM_HORIZON Mean in DIS Trigger Configuration?,Trigger Management FAQs,User Guid", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "IsMulti":"No", - "documenttype":"usermanual", - "IsBot":"Yes" - } - ], - "title":"What Do LATEST and TRIM_HORIZON Mean in DIS Trigger Configuration?", - "githuburl":"" - }, { "uri":"functiongraph_03_0819.html", "node_id":"functiongraph_03_0819.xml", "product_code":"functiongraph", - "code":"126", + "code":"124", "des":"OBS does not support pull triggers. Therefore, OBS triggers cannot be enabled or disabled.", "doc_type":"usermanual", "kw":"Why Can't I Enable or Disable OBS Triggers by Calling APIs?,Trigger Management FAQs,User Guide", @@ -2595,7 +2556,7 @@ "uri":"functiongraph_03_0835.html", "node_id":"functiongraph_03_0835.xml", "product_code":"functiongraph", - "code":"127", + "code":"125", "des":"For details, see Using an APIG (Dedicated) Trigger.", "doc_type":"usermanual", "kw":"How Do I Use an APIG Trigger to Invoke a Function?,Trigger Management FAQs,User Guide", @@ -2615,7 +2576,7 @@ "uri":"functiongraph_03_0860.html", "node_id":"functiongraph_03_0860.xml", "product_code":"functiongraph", - "code":"128", + "code":"126", "des":"By default, the request path or parameters are included in event. A function invokes APIG using its event template. You can obtain the request path or parameters from the", "doc_type":"usermanual", "kw":"How Does a Function Obtain the Request Path or Parameters When Using an APIG Trigger?,Trigger Manage", @@ -2635,7 +2596,7 @@ "uri":"functiongraph_03_0874.html", "node_id":"functiongraph_03_0874.xml", "product_code":"functiongraph", - "code":"129", + "code":"127", "des":"Yes. If a message is displayed indicating that the configuration of the current trigger conflicts with that of another one, the two triggers have the same bucket, prefix,", "doc_type":"usermanual", "kw":"Can I Create an OBS Trigger with an Existing Bucket?,Trigger Management FAQs,User Guide", @@ -2655,7 +2616,7 @@ "uri":"functiongraph_03_0883.html", "node_id":"functiongraph_03_0883.xml", "product_code":"functiongraph", - "code":"130", + "code":"128", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Dependency Management FAQs", @@ -2675,7 +2636,7 @@ "uri":"functiongraph_03_0890.html", "node_id":"functiongraph_03_0890.xml", "product_code":"functiongraph", - "code":"131", + "code":"129", "des":"A dependency is a program package and also an environment required for running a software package. The software package relies on and can only run in the environment.", "doc_type":"usermanual", "kw":"What Is a Dependency?,Dependency Management FAQs,User Guide", @@ -2695,7 +2656,7 @@ "uri":"functiongraph_03_0878.html", "node_id":"functiongraph_03_0878.xml", "product_code":"functiongraph", - "code":"132", + "code":"130", "des":"When you install a program or develop code that relies on an environment to run, you need to introduce the dependency.", "doc_type":"usermanual", "kw":"When Do I Need a Dependency?,Dependency Management FAQs,User Guide", @@ -2715,7 +2676,7 @@ "uri":"functiongraph_03_0847.html", "node_id":"functiongraph_03_0847.xml", "product_code":"functiongraph", - "code":"133", + "code":"131", "des":"The name of each file in a dependency cannot end with a tilde (~).There should be no more than 30,000 files in a dependency.You can upload a ZIP dependency file within 10", "doc_type":"usermanual", "kw":"What Are the Precautions for Using a Dependency?,Dependency Management FAQs,User Guide", @@ -2735,7 +2696,7 @@ "uri":"functiongraph_03_0886.html", "node_id":"functiongraph_03_0886.xml", "product_code":"functiongraph", - "code":"134", + "code":"132", "des":"Supported DependenciesFunctionGraph supports standard libraries and third-party dependencies.Standard librariesWhen using standard libraries, you can import them to your ", "doc_type":"usermanual", "kw":"What Dependencies Does FunctionGraph Support?,Dependency Management FAQs,User Guide", @@ -2755,7 +2716,7 @@ "uri":"functiongraph_03_0180.html", "node_id":"functiongraph_03_0180.xml", "product_code":"functiongraph", - "code":"135", + "code":"133", "des":"Yes. FunctionGraph supports both standard libraries and non-standard third-party libraries. For details, see What Dependencies Does FunctionGraph Support?", "doc_type":"usermanual", "kw":"Does FunctionGraph Support Class Libraries?,Dependency Management FAQs,User Guide", @@ -2775,7 +2736,7 @@ "uri":"functiongraph_03_0887.html", "node_id":"functiongraph_03_0887.xml", "product_code":"functiongraph", - "code":"136", + "code":"134", "des":"Package third-party libraries into a ZIP package by referring to dependency creation.Create a dependency on the FunctionGraph console by referring to How Do I Create a De", "doc_type":"usermanual", "kw":"How Do I Use Third-Party Dependencies on FunctionGraph?,Dependency Management FAQs,User Guide", @@ -2795,7 +2756,7 @@ "uri":"functiongraph_03_0343.html", "node_id":"functiongraph_03_0343.xml", "product_code":"functiongraph", - "code":"137", + "code":"135", "des":"You are advised to create function dependencies in EulerOS. If other OSs are used, an error may occur due to underlying dependent libraries. For example, the dynamic link", "doc_type":"usermanual", "kw":"How Do I Create Function Dependencies?,Dependency Management FAQs,User Guide", @@ -2815,7 +2776,7 @@ "uri":"functiongraph_03_0888.html", "node_id":"functiongraph_03_0888.xml", "product_code":"functiongraph", - "code":"138", + "code":"136", "des":"Log in to the FunctionGraph console, and choose Functions > Dependencies in the navigation pane.Click Create Dependency.Set the following parameters.Dependency configurat", "doc_type":"usermanual", "kw":"How Do I Create a Dependency on the FunctionGraph Console?,Dependency Management FAQs,User Guide", @@ -2835,7 +2796,7 @@ "uri":"functiongraph_03_0889.html", "node_id":"functiongraph_03_0889.xml", "product_code":"functiongraph", - "code":"139", + "code":"137", "des":"On the function details page, click the Code tab, and click Add in the Dependencies area.Public: Public dependencies are provided by FunctionGraph and can be directly add", "doc_type":"usermanual", "kw":"How Do I Add a Dependency to a Function?,Dependency Management FAQs,User Guide", @@ -2855,7 +2816,7 @@ "uri":"functiongraph_03_0346.html", "node_id":"functiongraph_03_0346.xml", "product_code":"functiongraph", - "code":"140", + "code":"138", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Function Execution FAQs", @@ -2875,7 +2836,7 @@ "uri":"functiongraph_03_0250.html", "node_id":"functiongraph_03_0250.xml", "product_code":"functiongraph", - "code":"141", + "code":"139", "des":"Within 900s for synchronous execution and 72 hours for asynchronous execution.The default execution timeout is 3s. You can set the timeout (unit: s) to an integer from 3 ", "doc_type":"usermanual", "kw":"How Long Does It Take to Execute a FunctionGraph Function?,Function Execution FAQs,User Guide", @@ -2895,7 +2856,7 @@ "uri":"functiongraph_03_0347.html", "node_id":"functiongraph_03_0347.xml", "product_code":"functiongraph", - "code":"142", + "code":"140", "des":"Function execution includes two steps:Select an idle instance with required memory.Run specified code.", "doc_type":"usermanual", "kw":"Which Steps Are Included in Function Execution?,Function Execution FAQs,User Guide", @@ -2911,31 +2872,11 @@ "title":"Which Steps Are Included in Function Execution?", "githuburl":"" }, - { - "uri":"functiongraph_03_0348.html", - "node_id":"functiongraph_03_0348.xml", - "product_code":"functiongraph", - "code":"143", - "des":"FunctionGraph automatically scales in or out function instances based on the number of requests. If the number of concurrent requests increases, FunctionGraph allocates m", - "doc_type":"usermanual", - "kw":"How Does FunctionGraph Process Concurrent Requests?,Function Execution FAQs,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "IsMulti":"No", - "documenttype":"usermanual", - "IsBot":"Yes" - } - ], - "title":"How Does FunctionGraph Process Concurrent Requests?", - "githuburl":"" - }, { "uri":"functiongraph_03_0349.html", "node_id":"functiongraph_03_0349.xml", "product_code":"functiongraph", - "code":"144", + "code":"141", "des":"If a function has not been executed for a period of time, all instances related to the function will be released.", "doc_type":"usermanual", "kw":"What If Function Instances Have Not Been Executed for a Long Time?,Function Execution FAQs,User Guid", @@ -2955,7 +2896,7 @@ "uri":"functiongraph_03_0350.html", "node_id":"functiongraph_03_0350.xml", "product_code":"functiongraph", - "code":"145", + "code":"142", "des":"C# and Go support a lower startup speed than other languages due to mechanism issues. You can use the following methods to speed up initial access to a function:Allocate ", "doc_type":"usermanual", "kw":"How Can I Speed Up Initial Access to a Function?,Function Execution FAQs,User Guide", @@ -2975,7 +2916,7 @@ "uri":"functiongraph_03_0210.html", "node_id":"functiongraph_03_0210.xml", "product_code":"functiongraph", - "code":"146", + "code":"143", "des":"The returned information about a function contains the maximum memory consumed. Alternatively, check the memory usage in the execution result.", "doc_type":"usermanual", "kw":"How Do I Know the Actual Memory Used for Function Execution?,Function Execution FAQs,User Guide", @@ -2995,7 +2936,7 @@ "uri":"functiongraph_03_0820.html", "node_id":"functiongraph_03_0820.xml", "product_code":"functiongraph", - "code":"147", + "code":"144", "des":"Functions are cold-started. If initialization or a lengthy operation is performed during the first function execution, the first request will be delayed. However, subsequ", "doc_type":"usermanual", "kw":"Why Is My First Request Slow?,Function Execution FAQs,User Guide", @@ -3015,7 +2956,7 @@ "uri":"functiongraph_03_0821.html", "node_id":"functiongraph_03_0821.xml", "product_code":"functiongraph", - "code":"148", + "code":"145", "des":"Rectify the fault by referring to Error Codes. If the fault persists, contact technical support.", "doc_type":"usermanual", "kw":"What Do I Do If an Error Occurs When Calling an API?,Function Execution FAQs,User Guide", @@ -3035,7 +2976,7 @@ "uri":"functiongraph_03_0838.html", "node_id":"functiongraph_03_0838.xml", "product_code":"functiongraph", - "code":"149", + "code":"146", "des":"The first parameter in the function handler contains the request header. You can print the function execution result to obtain required fields.As shown in the following f", "doc_type":"usermanual", "kw":"How Do I Read the Request Header of a Function?,Function Execution FAQs,User Guide", @@ -3051,31 +2992,11 @@ "title":"How Do I Read the Request Header of a Function?", "githuburl":"" }, - { - "uri":"functiongraph_03_0868.html", - "node_id":"functiongraph_03_0868.xml", - "product_code":"functiongraph", - "code":"150", - "des":"Event parsing and cache consume extra memory during function invocation.After the invocation is complete, reclaimed memory is often put in the internal pool instead of ba", - "doc_type":"usermanual", - "kw":"Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?,Functio", - "search_title":"", - "metedata":[ - { - "prodname":"functiongraph", - "IsMulti":"No", - "documenttype":"usermanual", - "IsBot":"Yes" - } - ], - "title":"Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?", - "githuburl":"" - }, { "uri":"functiongraph_03_0869.html", "node_id":"functiongraph_03_0869.xml", "product_code":"functiongraph", - "code":"151", + "code":"147", "des":"Check the used memory in the response.", "doc_type":"usermanual", "kw":"How Do I Check the Memory Usage When Seeing \"runtime memory limit exceeded\"?,Function Execution FAQs", @@ -3095,7 +3016,7 @@ "uri":"functiongraph_03_0870.html", "node_id":"functiongraph_03_0870.xml", "product_code":"functiongraph", - "code":"152", + "code":"148", "des":"The message \"CrashLoopBackOff: The application inside the container keeps crashing\" is displayed when a custom image execution failure occurs. In this case, perform the f", "doc_type":"usermanual", "kw":"How Do I Troubleshoot \"CrashLoopBackOff\"?,Function Execution FAQs,User Guide", @@ -3115,7 +3036,7 @@ "uri":"functiongraph_03_0875.html", "node_id":"functiongraph_03_0875.xml", "product_code":"functiongraph", - "code":"153", + "code":"149", "des":"Use a non-latest tag to manage image updates, and do not use the same image name.", "doc_type":"usermanual", "kw":"After I Updated an Image with the Same Name, Reserved Instances Still Use the Old Image. What Can I ", @@ -3135,7 +3056,7 @@ "uri":"functiongraph_03_0351.html", "node_id":"functiongraph_03_0351.xml", "product_code":"functiongraph", - "code":"154", + "code":"150", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Function Configuration FAQs", @@ -3155,7 +3076,7 @@ "uri":"functiongraph_03_0220.html", "node_id":"functiongraph_03_0220.xml", "product_code":"functiongraph", - "code":"155", + "code":"151", "des":"Yes. Set variables to dynamically pass settings to your function code and libraries without changing your code. For more information, see Configuring Environment Variable", "doc_type":"usermanual", "kw":"Can I Set Environment Variables When Creating Functions?,Function Configuration FAQs,User Guide", @@ -3175,7 +3096,7 @@ "uri":"functiongraph_03_0230.html", "node_id":"functiongraph_03_0230.xml", "product_code":"functiongraph", - "code":"156", + "code":"152", "des":"FunctionGraph displays all the information you enter in plain text. Therefore, do not enter insensitive information such as passwords when you define environment variable", "doc_type":"usermanual", "kw":"Can I Enter Sensitive Information in Environment Variables?,Function Configuration FAQs,User Guide", @@ -3195,7 +3116,7 @@ "uri":"functiongraph_03_0355.html", "node_id":"functiongraph_03_0355.xml", "product_code":"functiongraph", - "code":"157", + "code":"153", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"External Resource Access FAQs", @@ -3215,7 +3136,7 @@ "uri":"functiongraph_03_0130.html", "node_id":"functiongraph_03_0130.xml", "product_code":"functiongraph", - "code":"158", + "code":"154", "des":"Perform the following operations:Check whether the MySQL database is deployed in a VPC.Yes: Configure the same VPC and subnet as the MySQL database for the function by re", "doc_type":"usermanual", "kw":"How Does a Function Access the MySQL Database?,External Resource Access FAQs,User Guide", @@ -3235,7 +3156,7 @@ "uri":"functiongraph_03_0300.html", "node_id":"functiongraph_03_0300.xml", "product_code":"functiongraph", - "code":"159", + "code":"155", "des":"Perform the following operations:Check whether the Redis instance is deployed in a VPC.If the Redis instance is deployed in a VPC, configure the same VPC and subnet as th", "doc_type":"usermanual", "kw":"How Does a Function Access Redis?,External Resource Access FAQs,User Guide", @@ -3255,7 +3176,7 @@ "uri":"functiongraph_03_0834.html", "node_id":"functiongraph_03_0834.xml", "product_code":"functiongraph", - "code":"160", + "code":"156", "des":"By default, functions deployed in a VPC are isolated from the Internet. If a function needs to access both internal and external networks, add a NAT gateway for the VPC.P", "doc_type":"usermanual", "kw":"How Do I Configure External Network Access?,External Resource Access FAQs,User Guide", @@ -3275,7 +3196,7 @@ "uri":"functiongraph_03_0824.html", "node_id":"functiongraph_03_0824.xml", "product_code":"functiongraph", - "code":"161", + "code":"157", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Other FAQs", @@ -3295,7 +3216,7 @@ "uri":"functiongraph_03_0825.html", "node_id":"functiongraph_03_0825.xml", "product_code":"functiongraph", - "code":"162", + "code":"158", "des":"Log in to the Cloud Eye console and view alarm rules.", "doc_type":"usermanual", "kw":"How Do I View the Alarm Rules Configured for a Function?,Other FAQs,User Guide", @@ -3315,7 +3236,7 @@ "uri":"functiongraph_03_0827.html", "node_id":"functiongraph_03_0827.xml", "product_code":"functiongraph", - "code":"163", + "code":"159", "des":"No. Please decompile your files before uploading them.", "doc_type":"usermanual", "kw":"Does FunctionGraph Support ZIP Decompiling During Video Transcoding?,Other FAQs,User Guide", @@ -3332,10 +3253,10 @@ "githuburl":"" }, { - "uri":"en-us_topic_0000002092946253.html", - "node_id":"en-us_topic_0000002092946253.xml", + "uri":"functiongraph_01_0001.html", + "node_id":"functiongraph_01_0001.xml", "product_code":"functiongraph", - "code":"164", + "code":"160", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Change History,User Guide", @@ -3343,8 +3264,8 @@ "metedata":[ { "prodname":"functiongraph", - "documenttype":"usermanual", "opensource":"true", + "documenttype":"usermanual", "IsBot":"Yes", "IsMulti":"Yes" } diff --git a/docs/fg/umn/CLASS.TXT.json b/docs/fg/umn/CLASS.TXT.json index ebb8912a4..3a5629421 100644 --- a/docs/fg/umn/CLASS.TXT.json +++ b/docs/fg/umn/CLASS.TXT.json @@ -18,7 +18,7 @@ "code":"2" }, { - "desc":"FunctionGraph provides console-based function management.The Node.js, Java, Python, Go, PHP, and custom runtimes are supported. Table 1 provides the details.You are advis", + "desc":"FunctionGraph provides console-based function management.The Node.js, Java, Python, Go, C#, PHP, and custom runtimes are supported. Table 1 provides the details.You are a", "product_code":"functiongraph", "title":"Product Features", "uri":"functiongraph_01_0200_0.html", @@ -44,33 +44,6 @@ "p_code":"1", "code":"5" }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"functiongraph", - "title":"Function Types", - "uri":"en-us_topic_0000001257203581.html", - "doc_type":"usermanual", - "p_code":"1", - "code":"6" - }, - { - "desc":"FunctionGraph supports event functions. An event can trigger function execution. Generally, it is in JSON format. You can create an event to trigger your function through", - "product_code":"functiongraph", - "title":"Event Functions", - "uri":"en-us_topic_0000001212603706.html", - "doc_type":"usermanual", - "p_code":"6", - "code":"7" - }, - { - "desc":"FunctionGraph supports event functions and HTTP functions. HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function ex", - "product_code":"functiongraph", - "title":"HTTP Functions", - "uri":"en-us_topic_0000001257403573.html", - "doc_type":"usermanual", - "p_code":"6", - "code":"8" - }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"functiongraph", @@ -78,7 +51,7 @@ "uri":"functiongraph_01_0150.html", "doc_type":"usermanual", "p_code":"1", - "code":"9" + "code":"6" }, { "desc":"To assign different permissions to employees in your enterprise to access your FunctionGraph resources, IAM is a good choice for fine-grained permissions management. IAM ", @@ -87,7 +60,7 @@ "uri":"functiongraph_01_0160_0.html", "doc_type":"usermanual", "p_code":"1", - "code":"10" + "code":"7" }, { "desc":"Functions are code defined to handle events.An event source is a public cloud service or custom application that publishes events.The runtime provides an execution enviro", @@ -96,7 +69,7 @@ "uri":"functiongraph_02_1005.html", "doc_type":"usermanual", "p_code":"1", - "code":"11" + "code":"8" }, { "desc":"Table 1 describes the cloud services that have been interconnected with FunctionGraph.", @@ -105,7 +78,7 @@ "uri":"functiongraph_01_0130.html", "doc_type":"usermanual", "p_code":"1", - "code":"12" + "code":"9" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -114,7 +87,7 @@ "uri":"functiongraph_01_0505.html", "doc_type":"usermanual", "p_code":"", - "code":"13" + "code":"10" }, { "desc":"This section describes how to quickly create and test a HelloWorld function on the FunctionGraph console.Grant the FunctionGraph operation permissions to the user.To perf", @@ -122,8 +95,8 @@ "title":"Creating a Function from Scratch and Executing the Function", "uri":"functiongraph_04_0101.html", "doc_type":"usermanual", - "p_code":"13", - "code":"14" + "p_code":"10", + "code":"11" }, { "desc":"FunctionGraph provides multiple templates to automatically complete code and running environment configurations when you create a function, helping you quickly build appl", @@ -131,26 +104,26 @@ "title":"Creating a Function Using a Template and Executing the Function", "uri":"functiongraph_04_0102.html", "doc_type":"usermanual", - "p_code":"13", - "code":"15" + "p_code":"10", + "code":"12" }, { - "desc":"This section uses the creation of an HTTP function using a container image as an example to describe how to create and test a container image function. In this example, i", + "desc":"This section uses the creation of an HTTP function using a container image as an example to describe how to create and test a container image function.In this example, im", "product_code":"functiongraph", "title":"Creating an HTTP Function Using a Container Image and Executing the Function", "uri":"functiongraph_04_0103.html", "doc_type":"usermanual", - "p_code":"13", - "code":"16" + "p_code":"10", + "code":"13" }, { - "desc":"This section uses the creation of an event function using a container image as an example to describe how to create and test a container image function. You need to imple", + "desc":"This section uses the creation of an event function using a container image as an example to describe how to create and test a container image function.You need to implem", "product_code":"functiongraph", "title":"Creating an Event Function Using a Container Image and Executing the Function", "uri":"functiongraph_04_0104.html", "doc_type":"usermanual", - "p_code":"13", - "code":"17" + "p_code":"10", + "code":"14" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -159,16 +132,16 @@ "uri":"functiongraph_01_0100.html", "doc_type":"usermanual", "p_code":"", - "code":"18" + "code":"15" }, { "desc":"FunctionGraph allows you to run your code without provisioning or managing servers, while ensuring high availability and scalability. All you need to do is upload your co", "product_code":"functiongraph", - "title":"Use of FunctionGraph", + "title":"Process of Using FunctionGraph", "uri":"functiongraph_01_0110.html", "doc_type":"usermanual", - "p_code":"18", - "code":"19" + "p_code":"15", + "code":"16" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -176,8 +149,8 @@ "title":"Permissions Management", "uri":"functiongraph_01_0140.html", "doc_type":"usermanual", - "p_code":"18", - "code":"20" + "p_code":"15", + "code":"17" }, { "desc":"This section describes how to use Identity and Access Management (IAM) to implement fine-grained permissions control for your FunctionGraph resources. With IAM, you can:C", @@ -185,8 +158,8 @@ "title":"Creating a User and Granting Permissions", "uri":"functiongraph_01_0141.html", "doc_type":"usermanual", - "p_code":"20", - "code":"21" + "p_code":"17", + "code":"18" }, { "desc":"Custom policies can be created as a supplement to the system policies of FunctionGraph.You can create custom policies in either of the following ways:Visual editor: Selec", @@ -194,8 +167,17 @@ "title":"Creating a Custom Policy", "uri":"functiongraph_01_0215.html", "doc_type":"usermanual", - "p_code":"20", - "code":"22" + "p_code":"17", + "code":"19" + }, + { + "desc":"FunctionGraph supports multiple runtimes, including Python, Node.js, Java, Go, C#, PHP, Cangjie, and custom. The supported versions vary depending on the language.", + "product_code":"functiongraph", + "title":"Supported Runtimes", + "uri":"functiongraph_01_0151_0.html", + "doc_type":"usermanual", + "p_code":"15", + "code":"20" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -203,8 +185,8 @@ "title":"Supported Programming Languages", "uri":"functiongraph_01_0151.html", "doc_type":"usermanual", - "p_code":"18", - "code":"23" + "p_code":"15", + "code":"21" }, { "desc":"√: Supported. ×: Not supported.", @@ -212,8 +194,8 @@ "title":"Node.js", "uri":"functiongraph_01_1822.html", "doc_type":"usermanual", - "p_code":"23", - "code":"24" + "p_code":"21", + "code":"22" }, { "desc":"√: Supported. ×: Not supported.", @@ -221,8 +203,8 @@ "title":"Python", "uri":"functiongraph_01_1823.html", "doc_type":"usermanual", - "p_code":"23", - "code":"25" + "p_code":"21", + "code":"23" }, { "desc":"√: Supported. ×: Not supported.", @@ -230,8 +212,8 @@ "title":"Java", "uri":"functiongraph_01_1824.html", "doc_type":"usermanual", - "p_code":"23", - "code":"26" + "p_code":"21", + "code":"24" }, { "desc":"√: Supported. ×: Not supported.", @@ -239,8 +221,8 @@ "title":"Go", "uri":"functiongraph_01_1825.html", "doc_type":"usermanual", - "p_code":"23", - "code":"27" + "p_code":"21", + "code":"25" }, { "desc":"√: Supported. ×: Not supported.", @@ -248,8 +230,8 @@ "title":"C#", "uri":"functiongraph_01_1826.html", "doc_type":"usermanual", - "p_code":"23", - "code":"28" + "p_code":"21", + "code":"26" }, { "desc":"√: Supported. ×: Not supported.", @@ -257,8 +239,8 @@ "title":"PHP", "uri":"functiongraph_01_1827.html", "doc_type":"usermanual", - "p_code":"23", - "code":"29" + "p_code":"21", + "code":"27" }, { "desc":"A runtime runs the code of a function, reads the handler name from an environment variable, and reads invocation events from the runtime APIs of FunctionGraph. The runtim", @@ -266,26 +248,26 @@ "title":"Custom Runtime", "uri":"functiongraph_01_0406.html", "doc_type":"usermanual", - "p_code":"23", - "code":"30" + "p_code":"21", + "code":"28" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"functiongraph", - "title":"Building Functions", + "title":"Creating a Function", "uri":"functiongraph_01_0150_0.html", "doc_type":"usermanual", "p_code":"", - "code":"31" + "code":"29" }, { "desc":"To create a function, you must create a deployment package which includes your code and all dependencies. You can create a deployment package locally or edit code on the ", "product_code":"functiongraph", - "title":"Creating a Deployment Package", + "title":"Configuring Code", "uri":"functiongraph_01_0152.html", "doc_type":"usermanual", - "p_code":"31", - "code":"32" + "p_code":"29", + "code":"30" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -293,8 +275,8 @@ "title":"Creating a Function from Scratch", "uri":"functiongraph_01_0153.html", "doc_type":"usermanual", - "p_code":"31", - "code":"33" + "p_code":"29", + "code":"31" }, { "desc":"A function is customized code for processing events. You can create a function from scratch and configure the function based on site requirements.FunctionGraph manages th", @@ -302,17 +284,17 @@ "title":"Creating an Event Function", "uri":"functiongraph_01_1441.html", "doc_type":"usermanual", - "p_code":"33", - "code":"34" + "p_code":"31", + "code":"32" }, { - "desc":"HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function execution. HTTP functions support APIG triggers only.HTTP fun", + "desc":"HTTP functions are designed to optimize web services and support multiple programming languages. You can send HTTP requests to URLs to trigger function execution.The foll", "product_code":"functiongraph", "title":"Creating an HTTP Function", "uri":"functiongraph_01_1442.html", "doc_type":"usermanual", - "p_code":"33", - "code":"35" + "p_code":"31", + "code":"33" }, { "desc":"FunctionGraph provides templates to automatically complete code, and running environment configurations when you create a function, helping you quickly build applications", @@ -320,17 +302,17 @@ "title":"Creating a Function Using a Template", "uri":"functiongraph_01_0401.html", "doc_type":"usermanual", - "p_code":"31", - "code":"36" + "p_code":"29", + "code":"34" }, { "desc":"Package your container images complying with the Open Container Initiative (OCI) standard, and upload them to FunctionGraph. The images will be loaded and run by Function", "product_code":"functiongraph", - "title":"Deploying a Function Using a Container Image", + "title":"Creating a Function with an Image", "uri":"functiongraph_01_1047.html", "doc_type":"usermanual", - "p_code":"31", - "code":"37" + "p_code":"29", + "code":"35" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -339,7 +321,7 @@ "uri":"functiongraph_01_0300.html", "doc_type":"usermanual", "p_code":"", - "code":"38" + "code":"36" }, { "desc":"The initializer of a function is executed after an instance is started. The instance starts to process requests only after the initializer is executed. The initializer is", @@ -347,8 +329,8 @@ "title":"Configuring Initialization", "uri":"functiongraph_01_0201.html", "doc_type":"usermanual", - "p_code":"38", - "code":"39" + "p_code":"36", + "code":"37" }, { "desc":"After a function is created, Memory (MB), Handler, and Execution Timeout (s) are automatically set based on your runtime. If needed, modify them based on this section.You", @@ -356,8 +338,8 @@ "title":"Configuring Basic Settings", "uri":"functiongraph_01_1828.html", "doc_type":"usermanual", - "p_code":"38", - "code":"40" + "p_code":"36", + "code":"38" }, { "desc":"FunctionGraph works with other cloud services in most scenarios. Create a cloud service agency so that FunctionGraph can perform resource O&M in other cloud services on y", @@ -365,17 +347,17 @@ "title":"Configuring Agency Permissions", "uri":"functiongraph_01_0920.html", "doc_type":"usermanual", - "p_code":"38", - "code":"41" + "p_code":"36", + "code":"39" }, { "desc":"By default, functions can access services on public networks. If the target public network service requires whitelist verification using a fixed IP address, enable VPC ac", "product_code":"functiongraph", - "title":"Configuring the Network", + "title":"Configuring Networks", "uri":"functiongraph_01_0222.html", "doc_type":"usermanual", - "p_code":"38", - "code":"42" + "p_code":"36", + "code":"40" }, { "desc":"FunctionGraph allows you to mount file systems to your functions. Multiple functions can share the same file system. This greatly expands the function execution and stora", @@ -383,8 +365,8 @@ "title":"Configuring Disk Mounting", "uri":"functiongraph_01_0402.html", "doc_type":"usermanual", - "p_code":"38", - "code":"43" + "p_code":"36", + "code":"41" }, { "desc":"Environment variables allow you to pass dynamic parameters to a function without modifying code.Environment distinguishing: Configure different environment variables for ", @@ -392,44 +374,44 @@ "title":"Configuring Environment Variables", "uri":"functiongraph_01_0154.html", "doc_type":"usermanual", - "p_code":"38", - "code":"44" + "p_code":"36", + "code":"42" }, { "desc":"Functions can be invoked synchronously or asynchronously. In asynchronous mode, FunctionGraph sends a response immediately after persisting a request. The request result ", "product_code":"functiongraph", - "title":"Configuring Asynchronous Execution Notification", + "title":"Configuring Asynchronous Notification Policy", "uri":"functiongraph_01_0390_03.html", "doc_type":"usermanual", - "p_code":"38", - "code":"45" + "p_code":"36", + "code":"43" }, { - "desc":"By default, each function instance processes only one request at a specific time. For example, to process three concurrent requests, FunctionGraph triggers three function", + "desc":"FunctionGraph allows you to configure the maximum number of instances that can be run for a function at a time. The number of instances is limited to prevent resource exh", "product_code":"functiongraph", - "title":"Configuring Single-Instance Multi-Concurrency", + "title":"Configuring Concurrency", "uri":"functiongraph_01_0303.html", "doc_type":"usermanual", - "p_code":"38", - "code":"46" + "p_code":"36", + "code":"44" }, { "desc":"FunctionGraph allows you to publish one or more versions throughout the development, test, and production processes to manage your function code. The code and environment", "product_code":"functiongraph", - "title":"Managing Versions", + "title":"Configuring Versions", "uri":"functiongraph_01_0180.html", "doc_type":"usermanual", - "p_code":"38", - "code":"47" + "p_code":"36", + "code":"45" }, { "desc":"An alias points to a specific function version. Create an alias and expose it to clients, for example, bind a trigger to the alias instead of the corresponding version. T", "product_code":"functiongraph", - "title":"Managing Aliases", + "title":"Configuring Function Aliases", "uri":"functiongraph_01_1829.html", "doc_type":"usermanual", - "p_code":"38", - "code":"48" + "p_code":"36", + "code":"46" }, { "desc":"By default, a function is bound with only one resource specification. After enabling dynamic memory, you can configure a specification for request processing. If no speci", @@ -437,8 +419,8 @@ "title":"Configuring Dynamic Memory", "uri":"functiongraph_01_0310.html", "doc_type":"usermanual", - "p_code":"38", - "code":"49" + "p_code":"36", + "code":"47" }, { "desc":"Tags help you identify your cloud resources. When you have many cloud resources of the same type, you can use tags to classify them by dimension (for example, use, owner,", @@ -446,17 +428,26 @@ "title":"Configuring Tags", "uri":"functiongraph_01_1839.html", "doc_type":"usermanual", - "p_code":"38", - "code":"50" + "p_code":"36", + "code":"48" }, { - "desc":"This feature is supported only by FunctionGraph V2.You can bind a log group and log stream to a function to store its invocation logs. By default, the logs are stored in ", + "desc":"You can bind a log group and log stream to a function to store its invocation logs. By default, the logs are stored in the log stream automatically created for the functi", "product_code":"functiongraph", "title":"Configuring a Log Group and Log Stream", "uri":"functiongraph_01_1841.html", "doc_type":"usermanual", - "p_code":"38", - "code":"51" + "p_code":"36", + "code":"49" + }, + { + "desc":"Class isolation is used to load your code and dependencies using an independent class loader if they conflict with the runtime dependencies.Pre-stop is used to call a cal", + "product_code":"functiongraph", + "title":"Configuring Class Isolation and Pre-stop for Java Functions", + "uri":"functiongraph_01_0418.html", + "doc_type":"usermanual", + "p_code":"36", + "code":"50" }, { "desc":"Event data is passed to the handler of your function as an input. After configuration, event data is persisted for later use. Each function can have a maximum of 10 test ", @@ -465,16 +456,16 @@ "uri":"functiongraph_01_0302.html", "doc_type":"usermanual", "p_code":"", - "code":"52" + "code":"51" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"functiongraph", - "title":"Creating Triggers", + "title":"Configuring Triggers", "uri":"functiongraph_01_0200.html", "doc_type":"usermanual", "p_code":"", - "code":"53" + "code":"52" }, { "desc":"You can enable or disable triggers as required. Note that OBS and APIG triggers cannot be disabled and can only be deleted.You can delete triggers that will no longer be ", @@ -482,8 +473,8 @@ "title":"Managing Triggers", "uri":"functiongraph_01_0301.html", "doc_type":"usermanual", - "p_code":"53", - "code":"54" + "p_code":"52", + "code":"53" }, { "desc":"This section describes how to create a timer trigger to invoke your function based on a fixed rate or cron expression.", @@ -491,8 +482,8 @@ "title":"Using a Timer Trigger", "uri":"functiongraph_01_0207.html", "doc_type":"usermanual", - "p_code":"53", - "code":"55" + "p_code":"52", + "code":"54" }, { "desc":"This section describes how to create an APIG trigger and call an API to trigger a function.", @@ -500,8 +491,8 @@ "title":"Using an APIG (Dedicated) Trigger", "uri":"functiongraph_01_0204.html", "doc_type":"usermanual", - "p_code":"53", - "code":"56" + "p_code":"52", + "code":"55" }, { "desc":"This section describes how to create an OBS trigger and upload an image package to a specified OBS bucket to trigger a function.", @@ -509,8 +500,8 @@ "title":"Using an OBS Trigger", "uri":"functiongraph_01_0205.html", "doc_type":"usermanual", - "p_code":"53", - "code":"57" + "p_code":"52", + "code":"56" }, { "desc":"This section describes how to create a Kafka trigger and configure a Kafka event to trigger a function.After a Kafka trigger is used, FunctionGraph periodically polls for", @@ -518,17 +509,8 @@ "title":"Using a Kafka Trigger", "uri":"functiongraph_01_0214.html", "doc_type":"usermanual", - "p_code":"53", - "code":"58" - }, - { - "desc":"This section describes how to create a DIS trigger for a function, and configure a DIS event by using the built-in event template to trigger the function.", - "product_code":"functiongraph", - "title":"Using a DIS Trigger", - "uri":"functiongraph_01_0206.html", - "doc_type":"usermanual", - "p_code":"53", - "code":"59" + "p_code":"52", + "code":"57" }, { "desc":"This section describes how to create an SMN trigger and publish a message to trigger a function.For details about the SMN event source, see section \"Supported Event Sourc", @@ -536,8 +518,8 @@ "title":"Using an SMN Trigger", "uri":"functiongraph_01_0202.html", "doc_type":"usermanual", - "p_code":"53", - "code":"60" + "p_code":"52", + "code":"58" }, { "desc":"This section describes how to create an LTS trigger for a function, and invoke the function when log events occur.", @@ -545,8 +527,8 @@ "title":"Using an LTS Trigger", "uri":"functiongraph_01_0208.html", "doc_type":"usermanual", - "p_code":"53", - "code":"61" + "p_code":"52", + "code":"59" }, { "desc":"This section describes how to create a CTS trigger for a function, and invoke the function in response to cloud resource operations recorded by CTS.", @@ -554,8 +536,8 @@ "title":"Using a CTS Trigger", "uri":"functiongraph_01_0209.html", "doc_type":"usermanual", - "p_code":"53", - "code":"62" + "p_code":"52", + "code":"60" }, { "desc":"This section describes how to create a DDS trigger for a function, and invoke the function when a database table changes.A function using a DDS trigger will be triggered ", @@ -563,8 +545,8 @@ "title":"Using a DDS Trigger", "uri":"functiongraph_01_0210.html", "doc_type":"usermanual", - "p_code":"53", - "code":"63" + "p_code":"52", + "code":"61" }, { "desc":"This section describes how to create an open-source Kafka trigger and configure an event to trigger a function.If you use an open-source Kafka trigger for a function, Fun", @@ -572,8 +554,8 @@ "title":"Using an Open-Source Kafka Trigger", "uri":"functiongraph_01_1838.html", "doc_type":"usermanual", - "p_code":"53", - "code":"64" + "p_code":"52", + "code":"62" }, { "desc":"You can configure a cron expression in the following formats for a function timer trigger:@every formatThe format is \"@every N unit\". N is a positive integer. unit can be", @@ -581,8 +563,8 @@ "title":"Cron Expressions for a Function Timer Trigger", "uri":"functiongraph_01_0908.html", "doc_type":"usermanual", - "p_code":"53", - "code":"65" + "p_code":"52", + "code":"63" }, { "desc":"This section describes how to create a RocketMQ trigger and configure a RocketMQ event to trigger a function. When a DMS (for RocketMQ) trigger is used, FunctionGraph per", @@ -590,8 +572,8 @@ "title":"Using a RocketMQ Trigger", "uri":"functiongraph_01_0394.html", "doc_type":"usermanual", - "p_code":"53", - "code":"66" + "p_code":"52", + "code":"64" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -600,7 +582,7 @@ "uri":"functiongraph_01_0160.html", "doc_type":"usermanual", "p_code":"", - "code":"67" + "code":"65" }, { "desc":"When triggering a function, clients wait for the result before proceeding.Currently, functions with APIG (dedicated) triggers are executed synchronously. You can also use", @@ -608,8 +590,8 @@ "title":"Synchronous Invocation", "uri":"functiongraph_01_1061.html", "doc_type":"usermanual", - "p_code":"67", - "code":"68" + "p_code":"65", + "code":"66" }, { "desc":"When a client triggers a function, FunctionGraph persists the request and sends a response immediately to the client. The client proceeds without waiting for the executio", @@ -617,8 +599,8 @@ "title":"Asynchronous Invocation", "uri":"functiongraph_01_1062.html", "doc_type":"usermanual", - "p_code":"67", - "code":"69" + "p_code":"65", + "code":"67" }, { "desc":"If synchronous or asynchronous invocation fails, do as follows:Synchronous invocationTry again.Try again.Asynchronous invocationYou can set the maximum number of retries ", @@ -626,17 +608,17 @@ "title":"Retry Mechanism", "uri":"functiongraph_01_1814.html", "doc_type":"usermanual", - "p_code":"67", - "code":"70" + "p_code":"65", + "code":"68" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"functiongraph", - "title":"Monitoring", + "title":"Viewing Metrics and Configuring Alarms", "uri":"functiongraph_01_0390_01.html", "doc_type":"usermanual", "p_code":"", - "code":"71" + "code":"69" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -644,17 +626,17 @@ "title":"Metrics", "uri":"functiongraph_01_0211.html", "doc_type":"usermanual", - "p_code":"71", - "code":"72" + "p_code":"69", + "code":"70" }, { - "desc":"FunctionGraph is interconnected with Cloud Eye, allowing you to view function metrics without the need for any configurations.FunctionGraph collects function metrics and ", + "desc":"FunctionGraph is interconnected with AOM, allowing you to view function metrics without the need for any configurations.FunctionGraph collects function metrics and displa", "product_code":"functiongraph", - "title":"Function Monitoring", + "title":"Viewing FunctionGraph Metrics", "uri":"functiongraph_01_0212.html", "doc_type":"usermanual", - "p_code":"72", - "code":"73" + "p_code":"70", + "code":"71" }, { "desc":"This section describes the FunctionGraph namespaces, function metrics, and dimensions reported to Cloud Eye. You can view function metrics and alarms by using the Cloud E", @@ -662,17 +644,17 @@ "title":"FunctionGraph Metrics", "uri":"functiongraph_01_0213.html", "doc_type":"usermanual", - "p_code":"72", - "code":"74" + "p_code":"70", + "code":"72" }, { "desc":"After creating a function and trigger, you can monitor the invocation and running statuses of the function in real time.FunctionGraph differentiates the metrics of a func", "product_code":"functiongraph", - "title":"Creating an Alarm Rule", + "title":"Configuring an Alarm Rule", "uri":"functiongraph_01_0304.html", "doc_type":"usermanual", - "p_code":"72", - "code":"75" + "p_code":"70", + "code":"73" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -680,8 +662,8 @@ "title":"Logs", "uri":"functiongraph_01_1833.html", "doc_type":"usermanual", - "p_code":"71", - "code":"76" + "p_code":"69", + "code":"74" }, { "desc":"FunctionGraph is interconnected with LTS, allowing you to view function logs without the need for any configurations.On the FunctionGraph console, view function logs in t", @@ -689,8 +671,8 @@ "title":"Querying Function Logs", "uri":"functiongraph_01_0170.html", "doc_type":"usermanual", - "p_code":"76", - "code":"77" + "p_code":"74", + "code":"75" }, { "desc":"You can enable LTS to better manage function logs. After you enable LTS, FunctionGraph automatically creates a log group starting with functiongraph. When you create a fu", @@ -698,26 +680,26 @@ "title":"Managing Function Logs", "uri":"functiongraph_01_1834.html", "doc_type":"usermanual", - "p_code":"76", - "code":"78" + "p_code":"74", + "code":"76" }, { "desc":"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 ", "product_code":"functiongraph", - "title":"Function Management", + "title":"Managing Functions", "uri":"functiongraph_01_0320.html", "doc_type":"usermanual", "p_code":"", - "code":"79" + "code":"77" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"functiongraph", - "title":"Dependency Management", + "title":"Configuring Dependencies", "uri":"functiongraph_01_0391.html", "doc_type":"usermanual", "p_code":"", - "code":"80" + "code":"78" }, { "desc":"Generally, the code of a function consists of public libraries and service logic. The public libraries can be packaged as a dependency and shared among functions, reducin", @@ -725,8 +707,8 @@ "title":"Configuring Dependency Packages", "uri":"functiongraph_01_2119.html", "doc_type":"usermanual", - "p_code":"80", - "code":"81" + "p_code":"78", + "code":"79" }, { "desc":"Supported Dependent LibrariesFunctionGraph supports both standard and third-party libraries.Standard librariesWhen using standard libraries, you can import them to your i", @@ -734,17 +716,17 @@ "title":"Dependent Libraries", "uri":"functiongraph_01_2102.html", "doc_type":"usermanual", - "p_code":"80", - "code":"82" + "p_code":"78", + "code":"80" }, { "desc":"FunctionGraph provides on-demand and reserved instances.On-demand instances are created and released by FunctionGraph based on actual function usage. When receiving reque", "product_code":"functiongraph", - "title":"Reserved Instance Management", + "title":"Configuring Reserved Instances", "uri":"functiongraph_01_1837.html", "doc_type":"usermanual", "p_code":"", - "code":"83" + "code":"81" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -753,7 +735,7 @@ "uri":"functiongraph_01_0503.html", "doc_type":"usermanual", "p_code":"", - "code":"84" + "code":"82" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -761,8 +743,8 @@ "title":"General FAQs", "uri":"functiongraph_03_0110_00.html", "doc_type":"usermanual", - "p_code":"84", - "code":"85" + "p_code":"82", + "code":"83" }, { "desc":"FunctionGraph allows you to run you code without provisioning or managing servers, while ensuring high availability and scalability. All you need to do is upload your cod", @@ -770,8 +752,8 @@ "title":"What Is FunctionGraph?", "uri":"functiongraph_03_0110.html", "doc_type":"usermanual", - "p_code":"85", - "code":"86" + "p_code":"83", + "code":"84" }, { "desc":"When using FunctionGraph, you do not need to apply for or pre-configure any computing, storage, or network services, but need to upload and run code in supported runtimes", @@ -779,8 +761,8 @@ "title":"Do I Need to Apply for Any Compute, Storage, or Network Services When Using FunctionGraph?", "uri":"functiongraph_03_0120.html", "doc_type":"usermanual", - "p_code":"85", - "code":"87" + "p_code":"83", + "code":"85" }, { "desc":"After programming, you only need to package your code into a ZIP file (Java, Node.js, Python, and Go) or JAR file (Java), and upload the file to FunctionGraph for executi", @@ -788,8 +770,17 @@ "title":"Do I Need to Deploy My Code After Programming?", "uri":"functiongraph_03_0160.html", "doc_type":"usermanual", - "p_code":"85", - "code":"88" + "p_code":"83", + "code":"86" + }, + { + "desc":"Table 1 lists the runtimes supported by FunctionGraph.For details, see the runtime versions displayed on the console.", + "product_code":"functiongraph", + "title":"What Runtimes Does FunctionGraph Support?", + "uri":"functiongraph_03_0260.html", + "doc_type":"usermanual", + "p_code":"83", + "code":"87" }, { "desc":"Each FunctionGraph function is allocated 512 MB ephemeral disk space. You can upload deployment packages up to 10 GB in size. For more information, see Quotas and Usage R", @@ -797,17 +788,17 @@ "title":"How Much Disk Space Is Allocated to Each FunctionGraph Function?", "uri":"functiongraph_03_0170.html", "doc_type":"usermanual", - "p_code":"85", - "code":"89" + "p_code":"83", + "code":"88" }, { - "desc":"Yes. For details, see Managing Versions.", + "desc":"Yes. For details, see Configuring Versions.", "product_code":"functiongraph", "title":"Does FunctionGraph Support Function Versioning?", "uri":"functiongraph_03_0240.html", "doc_type":"usermanual", - "p_code":"85", - "code":"90" + "p_code":"83", + "code":"89" }, { "desc":"A function can read files in the code directory. The working directory of a function is the upper-level directory of the handler file. Assume that you have uploaded a fol", @@ -815,8 +806,8 @@ "title":"How Does a Function Read or Write Files?", "uri":"functiongraph_03_0330.html", "doc_type":"usermanual", - "p_code":"85", - "code":"91" + "p_code":"83", + "code":"90" }, { "desc":"FunctionGraph has integrated non-standard libraries such as redis, http, and obs_client. You can directly use these libraries when developing functions.Alternatively, use", @@ -824,8 +815,8 @@ "title":"Does FunctionGraph Support Function Extension?", "uri":"functiongraph_03_0341.html", "doc_type":"usermanual", - "p_code":"85", - "code":"92" + "p_code":"83", + "code":"91" }, { "desc":"If you are prompted insufficient permissions when creating, deleting, modifying, or querying functions and triggers in FunctionGraph as an IAM user, contact the administr", @@ -833,8 +824,8 @@ "title":"Which Permissions Are Required for an IAM User to Use FunctionGraph?", "uri":"functiongraph_03_0342.html", "doc_type":"usermanual", - "p_code":"85", - "code":"93" + "p_code":"83", + "code":"92" }, { "desc":"For OS-dependent packages (for example, unixODBC), download the source code to compile dependency packages.Log in to your ECS on the ECS console (ensure that the GCC and ", @@ -842,8 +833,8 @@ "title":"How Can I Create an ODBC Drive-based Python Dependency Package for Database Query?", "uri":"functiongraph_03_0830.html", "doc_type":"usermanual", - "p_code":"85", - "code":"94" + "p_code":"83", + "code":"93" }, { "desc":"For details about the resource quota of FunctionGraph, see Notes and Constraints.", @@ -851,8 +842,8 @@ "title":"What Is the Quota of FunctionGraph?", "uri":"functiongraph_03_0352.html", "doc_type":"usermanual", - "p_code":"85", - "code":"95" + "p_code":"83", + "code":"94" }, { "desc":"FunctionGraph cannot directly resolve private DNS domain names. To resolve them, call DNS APIs and perform the following steps.Ensure that a VPC and private DNS domain na", @@ -860,8 +851,8 @@ "title":"How Does FunctionGraph Implement Domain Name Resolution?", "uri":"functiongraph_03_0839.html", "doc_type":"usermanual", - "p_code":"85", - "code":"96" + "p_code":"83", + "code":"95" }, { "desc":"The domain name www.test.com is used as an example. The procedure is as follows:", @@ -869,8 +860,8 @@ "title":"How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?", "uri":"functiongraph_03_0840.html", "doc_type":"usermanual", - "p_code":"85", - "code":"97" + "p_code":"83", + "code":"96" }, { "desc":"Web applications: mini programs, web pages/apps, chatbots, and Backends for Frontends (BFF).Event-driven applications: file processing, image processing, live video strea", @@ -878,8 +869,8 @@ "title":"What Are the Common Application Scenarios of FunctionGraph?", "uri":"functiongraph_03_0817.html", "doc_type":"usermanual", - "p_code":"85", - "code":"98" + "p_code":"83", + "code":"97" }, { "desc":"Currently, FunctionGraph resolves only DNS domain names and POD domain names.", @@ -887,8 +878,8 @@ "title":"Why Can't the API Gateway Domain Name Bound to a Service Be Resolved During Function Invocation?", "uri":"functiongraph_03_0826.html", "doc_type":"usermanual", - "p_code":"85", - "code":"99" + "p_code":"83", + "code":"98" }, { "desc":"Not currently.", @@ -896,8 +887,8 @@ "title":"Does FunctionGraph Support Synchronous Transmission at the Maximum Intranet Bandwidth?", "uri":"functiongraph_03_0828.html", "doc_type":"usermanual", - "p_code":"85", - "code":"100" + "p_code":"83", + "code":"99" }, { "desc":"A tenant can create up to 4 VPCs. To create more VPCs, submit a service ticket.", @@ -905,8 +896,8 @@ "title":"What If the VPC Quota Is Used Up?", "uri":"functiongraph_03_0832.html", "doc_type":"usermanual", - "p_code":"85", - "code":"101" + "p_code":"83", + "code":"100" }, { "desc":"Take Java as an example. You can use this demo to print logs.", @@ -914,8 +905,8 @@ "title":"How Can I Print Info, Error, or Warn Logs?", "uri":"functiongraph_03_0833.html", "doc_type":"usermanual", - "p_code":"85", - "code":"102" + "p_code":"83", + "code":"101" }, { "desc":"Yes. The procedure is as follows:", @@ -923,8 +914,8 @@ "title":"Can I Set the Domain Name of an API to My Own Domain Name?", "uri":"functiongraph_03_0841.html", "doc_type":"usermanual", - "p_code":"85", - "code":"103" + "p_code":"83", + "code":"102" }, { "desc":"No. Once a function is created, its runtime cannot be changed.", @@ -932,8 +923,8 @@ "title":"Can I Change the Runtime?", "uri":"functiongraph_03_0842.html", "doc_type":"usermanual", - "p_code":"85", - "code":"104" + "p_code":"83", + "code":"103" }, { "desc":"No. A function's name cannot be changed once the function is created.", @@ -941,8 +932,8 @@ "title":"Can I Change a Function's Name?", "uri":"functiongraph_03_0858.html", "doc_type":"usermanual", - "p_code":"85", - "code":"105" + "p_code":"83", + "code":"104" }, { "desc":"When you see this message, mount the file to a new path.User ID/user group ID: Can be any number except 1000. The value –1 will be automatically converted to 1003. The tw", @@ -950,8 +941,8 @@ "title":"Why Is Message \"failed to mount exist system path\" Displayed?", "uri":"functiongraph_03_0843.html", "doc_type":"usermanual", - "p_code":"85", - "code":"106" + "p_code":"83", + "code":"105" }, { "desc":"Take Python as an example. If you use os.getcwd() to query the current directory, the directory will be /opt/function. However, code has actually been uploaded to /opt/fu", @@ -959,8 +950,8 @@ "title":"How Do I Obtain Uploaded Files?", "uri":"functiongraph_03_0846.html", "doc_type":"usermanual", - "p_code":"85", - "code":"107" + "p_code":"83", + "code":"106" }, { "desc":"If the E2E function execution latency exceeds 90s, asynchronous invocation is recommended. If synchronous invocation is used, no responses can be received after 90s due t", @@ -968,8 +959,8 @@ "title":"Why Can't I Receive Responses for Synchronous Invocation?", "uri":"functiongraph_03_0848.html", "doc_type":"usermanual", - "p_code":"85", - "code":"108" + "p_code":"83", + "code":"107" }, { "desc":"Do not use os.system(\"command &\"). The background command output will not be collected. To obtain the command output, use subprocess.Popen instead.", @@ -977,8 +968,8 @@ "title":"What Should I Do If the os.system(\"command &\") Execution Logs Are Not Collected?", "uri":"functiongraph_03_0849.html", "doc_type":"usermanual", - "p_code":"85", - "code":"109" + "p_code":"83", + "code":"108" }, { "desc":"By default, only the /tmp directory can be accessed, for example, for creating or downloading files.", @@ -986,8 +977,8 @@ "title":"Which Directories Can Be Accessed When a Custom Runtime Is Used?", "uri":"functiongraph_03_0855.html", "doc_type":"usermanual", - "p_code":"85", - "code":"110" + "p_code":"83", + "code":"109" }, { "desc":"3.6.8 and 3.9.2.", @@ -995,8 +986,8 @@ "title":"Which Minor Versions of Python 3.6 and 3.9 Are Supported?", "uri":"functiongraph_03_0856.html", "doc_type":"usermanual", - "p_code":"85", - "code":"111" + "p_code":"83", + "code":"110" }, { "desc":"The actions listed in Table 1 can be used.", @@ -1004,8 +995,8 @@ "title":"Which Actions Can Be Used Instead of a VPC Administrator Agency for VPC Access?", "uri":"functiongraph_03_0857.html", "doc_type":"usermanual", - "p_code":"85", - "code":"112" + "p_code":"83", + "code":"111" }, { "desc":"The code logic timed out. In this case, optimize the code or increase the timeout.The network timed out. To fix this issue, increase the timeout.It took a long time to lo", @@ -1013,8 +1004,8 @@ "title":"What Are the Possible Causes for Function Timeout?", "uri":"functiongraph_03_0859.html", "doc_type":"usermanual", - "p_code":"85", - "code":"113" + "p_code":"83", + "code":"112" }, { "desc":"Log in to the FunctionGraph console, and click the name of the target function to go to the details page. Choose Operation > Export function in the upper right, and click", @@ -1022,8 +1013,8 @@ "title":"How Do I Obtain the Code of a Function?", "uri":"functiongraph_03_0871.html", "doc_type":"usermanual", - "p_code":"85", - "code":"114" + "p_code":"83", + "code":"113" }, { "desc":"Yes. See the following examples:Node.jsexports.initializer = function(context, callback) {\n callback(null, '');\n };Pythondef my_initializer(context):\n print(\"hel", @@ -1031,8 +1022,8 @@ "title":"Do You Have Sample Code for Initializers?", "uri":"functiongraph_03_0882.html", "doc_type":"usermanual", - "p_code":"85", - "code":"115" + "p_code":"83", + "code":"114" }, { "desc":"To check the status of asynchronous invocation requests, view the records by choosing Configuration > Configure Async Notification on the function details page, as shown ", @@ -1040,8 +1031,8 @@ "title":"How Do I Enable Structured Log Query?", "uri":"functiongraph_03_0884.html", "doc_type":"usermanual", - "p_code":"85", - "code":"116" + "p_code":"83", + "code":"115" }, { "desc":"No. FunctionGraph does not support this feature currently. Functions are about serverless computing, and compute resources are allocated while functions are running. Cust", @@ -1049,8 +1040,8 @@ "title":"Can I Enable a Listening Port in a Function to Receive External TCP Requests via EIP?", "uri":"functiongraph_03_0771.html", "doc_type":"usermanual", - "p_code":"85", - "code":"117" + "p_code":"83", + "code":"116" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1058,8 +1049,8 @@ "title":"Function Creation FAQs", "uri":"functiongraph_03_0344.html", "doc_type":"usermanual", - "p_code":"84", - "code":"118" + "p_code":"82", + "code":"117" }, { "desc":"You can create additional threads and processes in your function by using runtime and OS features.", @@ -1067,8 +1058,8 @@ "title":"Can I Add Threads and Processes in Function Code?", "uri":"functiongraph_03_0190.html", "doc_type":"usermanual", - "p_code":"118", - "code":"119" + "p_code":"117", + "code":"118" }, { "desc":"In addition to inline code editing, you can create a function by uploading a ZIP or JAR file, or uploading a ZIP file from OBS. For details, see Packaging Rules and Examp", @@ -1076,8 +1067,8 @@ "title":"What Are the Rules for Packaging a Function Project?", "uri":"functiongraph_03_0280.html", "doc_type":"usermanual", - "p_code":"118", - "code":"120" + "p_code":"117", + "code":"119" }, { "desc":"Each FunctionGraph function runs in its own environment and has its own resources and file system.", @@ -1085,8 +1076,8 @@ "title":"How Does FunctionGraph Isolate Code?", "uri":"functiongraph_03_0270.html", "doc_type":"usermanual", - "p_code":"118", - "code":"121" + "p_code":"117", + "code":"120" }, { "desc":"To create an HTTP function, create a bootstrap file. For details, see Creating a Bootstrap File.", @@ -1094,8 +1085,8 @@ "title":"How Do I Create the Bootstrap File for an HTTP Function?", "uri":"functiongraph_03_0837.html", "doc_type":"usermanual", - "p_code":"118", - "code":"122" + "p_code":"117", + "code":"121" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1103,8 +1094,8 @@ "title":"Trigger Management FAQs", "uri":"functiongraph_03_0100.html", "doc_type":"usermanual", - "p_code":"84", - "code":"123" + "p_code":"82", + "code":"122" }, { "desc":"Ensure that the function response for an invocation by API Gateway has been encapsulated and contains body(String), statusCode(int), headers(Map), and isBase64Encoded(boo", @@ -1112,17 +1103,8 @@ "title":"What If Error Code 500 Is Reported When Functions that Use APIG Triggers Return Strings?", "uri":"functiongraph_03_0290.html", "doc_type":"usermanual", - "p_code":"123", - "code":"124" - }, - { - "desc":"Cursors LATEST and TRIM_HORIZON specify the start points for reading data in Data Ingestion Service (DIS) streams.TRIM_HORIZON: Data is read from the earliest valid recor", - "product_code":"functiongraph", - "title":"What Do LATEST and TRIM_HORIZON Mean in DIS Trigger Configuration?", - "uri":"functiongraph_03_0320.html", - "doc_type":"usermanual", - "p_code":"123", - "code":"125" + "p_code":"122", + "code":"123" }, { "desc":"OBS does not support pull triggers. Therefore, OBS triggers cannot be enabled or disabled.", @@ -1130,8 +1112,8 @@ "title":"Why Can't I Enable or Disable OBS Triggers by Calling APIs?", "uri":"functiongraph_03_0819.html", "doc_type":"usermanual", - "p_code":"123", - "code":"126" + "p_code":"122", + "code":"124" }, { "desc":"For details, see Using an APIG (Dedicated) Trigger.", @@ -1139,8 +1121,8 @@ "title":"How Do I Use an APIG Trigger to Invoke a Function?", "uri":"functiongraph_03_0835.html", "doc_type":"usermanual", - "p_code":"123", - "code":"127" + "p_code":"122", + "code":"125" }, { "desc":"By default, the request path or parameters are included in event. A function invokes APIG using its event template. You can obtain the request path or parameters from the", @@ -1148,8 +1130,8 @@ "title":"How Does a Function Obtain the Request Path or Parameters When Using an APIG Trigger?", "uri":"functiongraph_03_0860.html", "doc_type":"usermanual", - "p_code":"123", - "code":"128" + "p_code":"122", + "code":"126" }, { "desc":"Yes. If a message is displayed indicating that the configuration of the current trigger conflicts with that of another one, the two triggers have the same bucket, prefix,", @@ -1157,8 +1139,8 @@ "title":"Can I Create an OBS Trigger with an Existing Bucket?", "uri":"functiongraph_03_0874.html", "doc_type":"usermanual", - "p_code":"123", - "code":"129" + "p_code":"122", + "code":"127" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1166,8 +1148,8 @@ "title":"Dependency Management FAQs", "uri":"functiongraph_03_0883.html", "doc_type":"usermanual", - "p_code":"84", - "code":"130" + "p_code":"82", + "code":"128" }, { "desc":"A dependency is a program package and also an environment required for running a software package. The software package relies on and can only run in the environment.", @@ -1175,8 +1157,8 @@ "title":"What Is a Dependency?", "uri":"functiongraph_03_0890.html", "doc_type":"usermanual", - "p_code":"130", - "code":"131" + "p_code":"128", + "code":"129" }, { "desc":"When you install a program or develop code that relies on an environment to run, you need to introduce the dependency.", @@ -1184,8 +1166,8 @@ "title":"When Do I Need a Dependency?", "uri":"functiongraph_03_0878.html", "doc_type":"usermanual", - "p_code":"130", - "code":"132" + "p_code":"128", + "code":"130" }, { "desc":"The name of each file in a dependency cannot end with a tilde (~).There should be no more than 30,000 files in a dependency.You can upload a ZIP dependency file within 10", @@ -1193,8 +1175,8 @@ "title":"What Are the Precautions for Using a Dependency?", "uri":"functiongraph_03_0847.html", "doc_type":"usermanual", - "p_code":"130", - "code":"133" + "p_code":"128", + "code":"131" }, { "desc":"Supported DependenciesFunctionGraph supports standard libraries and third-party dependencies.Standard librariesWhen using standard libraries, you can import them to your ", @@ -1202,8 +1184,8 @@ "title":"What Dependencies Does FunctionGraph Support?", "uri":"functiongraph_03_0886.html", "doc_type":"usermanual", - "p_code":"130", - "code":"134" + "p_code":"128", + "code":"132" }, { "desc":"Yes. FunctionGraph supports both standard libraries and non-standard third-party libraries. For details, see What Dependencies Does FunctionGraph Support?", @@ -1211,8 +1193,8 @@ "title":"Does FunctionGraph Support Class Libraries?", "uri":"functiongraph_03_0180.html", "doc_type":"usermanual", - "p_code":"130", - "code":"135" + "p_code":"128", + "code":"133" }, { "desc":"Package third-party libraries into a ZIP package by referring to dependency creation.Create a dependency on the FunctionGraph console by referring to How Do I Create a De", @@ -1220,8 +1202,8 @@ "title":"How Do I Use Third-Party Dependencies on FunctionGraph?", "uri":"functiongraph_03_0887.html", "doc_type":"usermanual", - "p_code":"130", - "code":"136" + "p_code":"128", + "code":"134" }, { "desc":"You are advised to create function dependencies in EulerOS. If other OSs are used, an error may occur due to underlying dependent libraries. For example, the dynamic link", @@ -1229,8 +1211,8 @@ "title":"How Do I Create Function Dependencies?", "uri":"functiongraph_03_0343.html", "doc_type":"usermanual", - "p_code":"130", - "code":"137" + "p_code":"128", + "code":"135" }, { "desc":"Log in to the FunctionGraph console, and choose Functions > Dependencies in the navigation pane.Click Create Dependency.Set the following parameters.Dependency configurat", @@ -1238,8 +1220,8 @@ "title":"How Do I Create a Dependency on the FunctionGraph Console?", "uri":"functiongraph_03_0888.html", "doc_type":"usermanual", - "p_code":"130", - "code":"138" + "p_code":"128", + "code":"136" }, { "desc":"On the function details page, click the Code tab, and click Add in the Dependencies area.Public: Public dependencies are provided by FunctionGraph and can be directly add", @@ -1247,8 +1229,8 @@ "title":"How Do I Add a Dependency to a Function?", "uri":"functiongraph_03_0889.html", "doc_type":"usermanual", - "p_code":"130", - "code":"139" + "p_code":"128", + "code":"137" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1256,8 +1238,8 @@ "title":"Function Execution FAQs", "uri":"functiongraph_03_0346.html", "doc_type":"usermanual", - "p_code":"84", - "code":"140" + "p_code":"82", + "code":"138" }, { "desc":"Within 900s for synchronous execution and 72 hours for asynchronous execution.The default execution timeout is 3s. You can set the timeout (unit: s) to an integer from 3 ", @@ -1265,8 +1247,8 @@ "title":"How Long Does It Take to Execute a FunctionGraph Function?", "uri":"functiongraph_03_0250.html", "doc_type":"usermanual", - "p_code":"140", - "code":"141" + "p_code":"138", + "code":"139" }, { "desc":"Function execution includes two steps:Select an idle instance with required memory.Run specified code.", @@ -1274,17 +1256,8 @@ "title":"Which Steps Are Included in Function Execution?", "uri":"functiongraph_03_0347.html", "doc_type":"usermanual", - "p_code":"140", - "code":"142" - }, - { - "desc":"FunctionGraph automatically scales in or out function instances based on the number of requests. If the number of concurrent requests increases, FunctionGraph allocates m", - "product_code":"functiongraph", - "title":"How Does FunctionGraph Process Concurrent Requests?", - "uri":"functiongraph_03_0348.html", - "doc_type":"usermanual", - "p_code":"140", - "code":"143" + "p_code":"138", + "code":"140" }, { "desc":"If a function has not been executed for a period of time, all instances related to the function will be released.", @@ -1292,8 +1265,8 @@ "title":"What If Function Instances Have Not Been Executed for a Long Time?", "uri":"functiongraph_03_0349.html", "doc_type":"usermanual", - "p_code":"140", - "code":"144" + "p_code":"138", + "code":"141" }, { "desc":"C# and Go support a lower startup speed than other languages due to mechanism issues. You can use the following methods to speed up initial access to a function:Allocate ", @@ -1301,8 +1274,8 @@ "title":"How Can I Speed Up Initial Access to a Function?", "uri":"functiongraph_03_0350.html", "doc_type":"usermanual", - "p_code":"140", - "code":"145" + "p_code":"138", + "code":"142" }, { "desc":"The returned information about a function contains the maximum memory consumed. Alternatively, check the memory usage in the execution result.", @@ -1310,8 +1283,8 @@ "title":"How Do I Know the Actual Memory Used for Function Execution?", "uri":"functiongraph_03_0210.html", "doc_type":"usermanual", - "p_code":"140", - "code":"146" + "p_code":"138", + "code":"143" }, { "desc":"Functions are cold-started. If initialization or a lengthy operation is performed during the first function execution, the first request will be delayed. However, subsequ", @@ -1319,8 +1292,8 @@ "title":"Why Is My First Request Slow?", "uri":"functiongraph_03_0820.html", "doc_type":"usermanual", - "p_code":"140", - "code":"147" + "p_code":"138", + "code":"144" }, { "desc":"Rectify the fault by referring to Error Codes. If the fault persists, contact technical support.", @@ -1328,8 +1301,8 @@ "title":"What Do I Do If an Error Occurs When Calling an API?", "uri":"functiongraph_03_0821.html", "doc_type":"usermanual", - "p_code":"140", - "code":"148" + "p_code":"138", + "code":"145" }, { "desc":"The first parameter in the function handler contains the request header. You can print the function execution result to obtain required fields.As shown in the following f", @@ -1337,17 +1310,8 @@ "title":"How Do I Read the Request Header of a Function?", "uri":"functiongraph_03_0838.html", "doc_type":"usermanual", - "p_code":"140", - "code":"149" - }, - { - "desc":"Event parsing and cache consume extra memory during function invocation.After the invocation is complete, reclaimed memory is often put in the internal pool instead of ba", - "product_code":"functiongraph", - "title":"Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?", - "uri":"functiongraph_03_0868.html", - "doc_type":"usermanual", - "p_code":"140", - "code":"150" + "p_code":"138", + "code":"146" }, { "desc":"Check the used memory in the response.", @@ -1355,8 +1319,8 @@ "title":"How Do I Check the Memory Usage When Seeing \"runtime memory limit exceeded\"?", "uri":"functiongraph_03_0869.html", "doc_type":"usermanual", - "p_code":"140", - "code":"151" + "p_code":"138", + "code":"147" }, { "desc":"The message \"CrashLoopBackOff: The application inside the container keeps crashing\" is displayed when a custom image execution failure occurs. In this case, perform the f", @@ -1364,8 +1328,8 @@ "title":"How Do I Troubleshoot \"CrashLoopBackOff\"?", "uri":"functiongraph_03_0870.html", "doc_type":"usermanual", - "p_code":"140", - "code":"152" + "p_code":"138", + "code":"148" }, { "desc":"Use a non-latest tag to manage image updates, and do not use the same image name.", @@ -1373,8 +1337,8 @@ "title":"After I Updated an Image with the Same Name, Reserved Instances Still Use the Old Image. What Can I Do?", "uri":"functiongraph_03_0875.html", "doc_type":"usermanual", - "p_code":"140", - "code":"153" + "p_code":"138", + "code":"149" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1382,8 +1346,8 @@ "title":"Function Configuration FAQs", "uri":"functiongraph_03_0351.html", "doc_type":"usermanual", - "p_code":"84", - "code":"154" + "p_code":"82", + "code":"150" }, { "desc":"Yes. Set variables to dynamically pass settings to your function code and libraries without changing your code. For more information, see Configuring Environment Variable", @@ -1391,8 +1355,8 @@ "title":"Can I Set Environment Variables When Creating Functions?", "uri":"functiongraph_03_0220.html", "doc_type":"usermanual", - "p_code":"154", - "code":"155" + "p_code":"150", + "code":"151" }, { "desc":"FunctionGraph displays all the information you enter in plain text. Therefore, do not enter insensitive information such as passwords when you define environment variable", @@ -1400,8 +1364,8 @@ "title":"Can I Enter Sensitive Information in Environment Variables?", "uri":"functiongraph_03_0230.html", "doc_type":"usermanual", - "p_code":"154", - "code":"156" + "p_code":"150", + "code":"152" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1409,8 +1373,8 @@ "title":"External Resource Access FAQs", "uri":"functiongraph_03_0355.html", "doc_type":"usermanual", - "p_code":"84", - "code":"157" + "p_code":"82", + "code":"153" }, { "desc":"Perform the following operations:Check whether the MySQL database is deployed in a VPC.Yes: Configure the same VPC and subnet as the MySQL database for the function by re", @@ -1418,8 +1382,8 @@ "title":"How Does a Function Access the MySQL Database?", "uri":"functiongraph_03_0130.html", "doc_type":"usermanual", - "p_code":"157", - "code":"158" + "p_code":"153", + "code":"154" }, { "desc":"Perform the following operations:Check whether the Redis instance is deployed in a VPC.If the Redis instance is deployed in a VPC, configure the same VPC and subnet as th", @@ -1427,8 +1391,8 @@ "title":"How Does a Function Access Redis?", "uri":"functiongraph_03_0300.html", "doc_type":"usermanual", - "p_code":"157", - "code":"159" + "p_code":"153", + "code":"155" }, { "desc":"By default, functions deployed in a VPC are isolated from the Internet. If a function needs to access both internal and external networks, add a NAT gateway for the VPC.P", @@ -1436,8 +1400,8 @@ "title":"How Do I Configure External Network Access?", "uri":"functiongraph_03_0834.html", "doc_type":"usermanual", - "p_code":"157", - "code":"160" + "p_code":"153", + "code":"156" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1445,8 +1409,8 @@ "title":"Other FAQs", "uri":"functiongraph_03_0824.html", "doc_type":"usermanual", - "p_code":"84", - "code":"161" + "p_code":"82", + "code":"157" }, { "desc":"Log in to the Cloud Eye console and view alarm rules.", @@ -1454,8 +1418,8 @@ "title":"How Do I View the Alarm Rules Configured for a Function?", "uri":"functiongraph_03_0825.html", "doc_type":"usermanual", - "p_code":"161", - "code":"162" + "p_code":"157", + "code":"158" }, { "desc":"No. Please decompile your files before uploading them.", @@ -1463,16 +1427,16 @@ "title":"Does FunctionGraph Support ZIP Decompiling During Video Transcoding?", "uri":"functiongraph_03_0827.html", "doc_type":"usermanual", - "p_code":"161", - "code":"163" + "p_code":"157", + "code":"159" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"functiongraph", "title":"Change History", - "uri":"en-us_topic_0000002092946253.html", + "uri":"functiongraph_01_0001.html", "doc_type":"usermanual", "p_code":"", - "code":"164" + "code":"160" } ] \ No newline at end of file diff --git a/docs/fg/umn/en-us_image_0000001259876542.png b/docs/fg/umn/en-us_image_0000001259876542.png deleted file mode 100644 index 6d2dff6e5..000000000 Binary files a/docs/fg/umn/en-us_image_0000001259876542.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001307957865.png b/docs/fg/umn/en-us_image_0000001307957865.png deleted file mode 100644 index efa04aaf0..000000000 Binary files a/docs/fg/umn/en-us_image_0000001307957865.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001352771114.png b/docs/fg/umn/en-us_image_0000001352771114.png index 784c34693..a30f01e17 100644 Binary files a/docs/fg/umn/en-us_image_0000001352771114.png and b/docs/fg/umn/en-us_image_0000001352771114.png differ diff --git a/docs/fg/umn/en-us_image_0000001402931181.png b/docs/fg/umn/en-us_image_0000001402931181.png deleted file mode 100644 index e5a3389fe..000000000 Binary files a/docs/fg/umn/en-us_image_0000001402931181.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001403331673.png b/docs/fg/umn/en-us_image_0000001403331673.png deleted file mode 100644 index 2ab232633..000000000 Binary files a/docs/fg/umn/en-us_image_0000001403331673.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001629983696.png b/docs/fg/umn/en-us_image_0000001629983696.png deleted file mode 100644 index e02b2b942..000000000 Binary files a/docs/fg/umn/en-us_image_0000001629983696.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001629992736.png b/docs/fg/umn/en-us_image_0000001629992736.png deleted file mode 100644 index 247ba90d1..000000000 Binary files a/docs/fg/umn/en-us_image_0000001629992736.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001630335086.png b/docs/fg/umn/en-us_image_0000001630335086.png deleted file mode 100644 index d1a789f94..000000000 Binary files a/docs/fg/umn/en-us_image_0000001630335086.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001678749193.png b/docs/fg/umn/en-us_image_0000001678749193.png deleted file mode 100644 index 0bf62f5f3..000000000 Binary files a/docs/fg/umn/en-us_image_0000001678749193.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001885930909.png b/docs/fg/umn/en-us_image_0000001885930909.png deleted file mode 100644 index bf9bdad2e..000000000 Binary files a/docs/fg/umn/en-us_image_0000001885930909.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001889911457.png b/docs/fg/umn/en-us_image_0000001889911457.png deleted file mode 100644 index 841d6a547..000000000 Binary files a/docs/fg/umn/en-us_image_0000001889911457.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000002192221412.png b/docs/fg/umn/en-us_image_0000002192221412.png deleted file mode 100644 index da563f13f..000000000 Binary files a/docs/fg/umn/en-us_image_0000002192221412.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000002192223000.png b/docs/fg/umn/en-us_image_0000002192223000.png deleted file mode 100644 index a2d5b012d..000000000 Binary files a/docs/fg/umn/en-us_image_0000002192223000.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000002192364610.png b/docs/fg/umn/en-us_image_0000002192364610.png deleted file mode 100644 index aa59dccea..000000000 Binary files a/docs/fg/umn/en-us_image_0000002192364610.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000002227609317.png b/docs/fg/umn/en-us_image_0000002227609317.png deleted file mode 100644 index 0a6e79b88..000000000 Binary files a/docs/fg/umn/en-us_image_0000002227609317.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000002227702917.png b/docs/fg/umn/en-us_image_0000002227702917.png deleted file mode 100644 index f816666cf..000000000 Binary files a/docs/fg/umn/en-us_image_0000002227702917.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000002227735377.png b/docs/fg/umn/en-us_image_0000002227735377.png deleted file mode 100644 index 322813a60..000000000 Binary files a/docs/fg/umn/en-us_image_0000002227735377.png and /dev/null differ diff --git a/docs/fg/umn/en-us_image_0000001454100150.png b/docs/fg/umn/en-us_image_0000002262459860.png similarity index 100% rename from docs/fg/umn/en-us_image_0000001454100150.png rename to docs/fg/umn/en-us_image_0000002262459860.png diff --git a/docs/fg/umn/en-us_image_0000001679192985.png b/docs/fg/umn/en-us_image_0000002262516774.png similarity index 100% rename from docs/fg/umn/en-us_image_0000001679192985.png rename to docs/fg/umn/en-us_image_0000002262516774.png diff --git a/docs/fg/umn/en-us_image_0000001260038950.png b/docs/fg/umn/en-us_image_0000002270169884.png similarity index 100% rename from docs/fg/umn/en-us_image_0000001260038950.png rename to docs/fg/umn/en-us_image_0000002270169884.png diff --git a/docs/fg/umn/en-us_image_0000001453780466.png b/docs/fg/umn/en-us_image_0000002297116837.png similarity index 100% rename from docs/fg/umn/en-us_image_0000001453780466.png rename to docs/fg/umn/en-us_image_0000002297116837.png diff --git a/docs/fg/umn/en-us_image_0000002297455738.png b/docs/fg/umn/en-us_image_0000002297455738.png new file mode 100644 index 000000000..ccba509f0 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002297455738.png differ diff --git a/docs/fg/umn/en-us_image_0000002297623066.png b/docs/fg/umn/en-us_image_0000002297623066.png new file mode 100644 index 000000000..3499dc500 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002297623066.png differ diff --git a/docs/fg/umn/en-us_image_0000001768776664.png b/docs/fg/umn/en-us_image_0000002304899677.png similarity index 100% rename from docs/fg/umn/en-us_image_0000001768776664.png rename to docs/fg/umn/en-us_image_0000002304899677.png diff --git a/docs/fg/umn/en-us_image_0000002323978684.png b/docs/fg/umn/en-us_image_0000002323978684.png new file mode 100644 index 000000000..1e91c7fa0 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002323978684.png differ diff --git a/docs/fg/umn/en-us_image_0000002324141336.png b/docs/fg/umn/en-us_image_0000002324141336.png new file mode 100644 index 000000000..abe3cba96 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002324141336.png differ diff --git a/docs/fg/umn/en-us_image_0000002331536373.png b/docs/fg/umn/en-us_image_0000002331536373.png new file mode 100644 index 000000000..5bfb084a8 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002331536373.png differ diff --git a/docs/fg/umn/en-us_image_0000002357971441.png b/docs/fg/umn/en-us_image_0000002357971441.png new file mode 100644 index 000000000..abe3cba96 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002357971441.png differ diff --git a/docs/fg/umn/en-us_image_0000002357973433.png b/docs/fg/umn/en-us_image_0000002357973433.png new file mode 100644 index 000000000..f8c963be0 Binary files /dev/null and b/docs/fg/umn/en-us_image_0000002357973433.png differ diff --git a/docs/fg/umn/en-us_topic_0000001212603706.html b/docs/fg/umn/en-us_topic_0000001212603706.html deleted file mode 100644 index 9f1450463..000000000 --- a/docs/fg/umn/en-us_topic_0000001212603706.html +++ /dev/null @@ -1,21 +0,0 @@ - - -

Event Functions

-

Overview

FunctionGraph supports event functions. An event can trigger function execution. Generally, it is in JSON format. You can create an event to trigger your function through the cloud service platform or CodeArts IDE Online. All types of triggers supported by FunctionGraph can trigger event functions.

-
  1. On the function creation page, Function Type is set to Event Function by default.
  2. During testing, a function can be triggered by simply entering the specified event in JSON format.
  3. You can also use triggers to trigger event functions.
-
-
-

Advantages

-
-

Restrictions

Event functions face event source restrictions. You need to comply with the function development rules of the function platform.

-
-
-
- -
- diff --git a/docs/fg/umn/en-us_topic_0000001257203581.html b/docs/fg/umn/en-us_topic_0000001257203581.html deleted file mode 100644 index 8a0f4c7be..000000000 --- a/docs/fg/umn/en-us_topic_0000001257203581.html +++ /dev/null @@ -1,17 +0,0 @@ - - -

Function Types

-
-
- - - -
- diff --git a/docs/fg/umn/en-us_topic_0000001257403573.html b/docs/fg/umn/en-us_topic_0000001257403573.html deleted file mode 100644 index e3ccc5b54..000000000 --- a/docs/fg/umn/en-us_topic_0000001257403573.html +++ /dev/null @@ -1,21 +0,0 @@ - - -

HTTP Functions

-

Overview

FunctionGraph supports event functions and HTTP functions. HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function execution. HTTP functions support APIG triggers only.

-
  1. HTTP functions support the HTTP/1.1 protocol.
  2. On the function creation page, HTTP Function is newly added.
  3. The HTTP function must be set to bootstrap. You can directly write the startup command and allow access over port 8000.
-
-
-

Advantages

-
-

Restrictions

-
-
-
- -
- diff --git a/docs/fg/umn/en-us_topic_0000002092946253.html b/docs/fg/umn/en-us_topic_0000002092946253.html deleted file mode 100644 index 5a9939c3b..000000000 --- a/docs/fg/umn/en-us_topic_0000002092946253.html +++ /dev/null @@ -1,35 +0,0 @@ - - -

Change History

-
-
- - - - - - - - - - - - - - - - -
Table 1 Change history

Released On

-

Description

-

2025-02-27

-
  1. Added the VPC CIDR block during VPC configuration. For details, see Configuring the VPC CIDR Block.
  2. Added Using a RocketMQ Trigger.
  3. Added advanced setting parameters for creating a function.
-

2024-12-13

-
  1. Modified the path of the ENTRYPOINT variable. For details, see Creating a Dockerfile.
  2. Added Node.js examples and the method for obtaining environment variables. For details, see Example.
  3. Modified the Cron expression configuration examples. For details, see Table 6.
  4. Changed SoftWare to Software. For details, see Table 1.
-

2024-10-18

-
  1. Added the domain name resolution feature. For details, see Configuring Domain Names.
  2. Updated the supported runtime versions.
-

2023-06-26

-

This issue is the first official release.

-
-
-
- diff --git a/docs/fg/umn/functiongraph_01_0001.html b/docs/fg/umn/functiongraph_01_0001.html new file mode 100644 index 000000000..f74792606 --- /dev/null +++ b/docs/fg/umn/functiongraph_01_0001.html @@ -0,0 +1,45 @@ + + +

Change History

+
+
+ + + + + + + + + + + + + + + + + + + + + + +
Table 1 Change history

Released On

+

Description

+

2025-09-16

+

Modified the test event in the Online Debugging section.

+

2025-05-28

+
  1. Added Configuring Class Isolation and Pre-stop for Java Functions.
  2. Updated the runtime version in What Runtimes Does FunctionGraph Support?.
+

2025-02-27

+
  1. Added the VPC CIDR block during VPC configuration. For details, see Configuring the VPC CIDR Block.
  2. Added Using a RocketMQ Trigger.
  3. Added advanced setting parameters for creating a function.
+

2024-12-13

+
  1. Modified the path of the ENTRYPOINT variable. For details, see Creating a Dockerfile.
  2. Added Node.js examples and the method for obtaining environment variables. For details, see Example.
  3. Modified the Cron expression configuration examples. For details, see Table 6.
  4. Changed SoftWare to Software. For details, see Table 1.
+

2024-10-18

+
  1. Added the domain name resolution feature. For details, see Configuring Domain Names.
  2. Updated the supported runtime versions.
+

2023-06-26

+

This issue is the first official release.

+
+
+
+ diff --git a/docs/fg/umn/functiongraph_01_0100.html b/docs/fg/umn/functiongraph_01_0100.html index 4eebcc7f6..425442ea4 100644 --- a/docs/fg/umn/functiongraph_01_0100.html +++ b/docs/fg/umn/functiongraph_01_0100.html @@ -4,10 +4,12 @@
diff --git a/docs/fg/umn/functiongraph_01_0100_0.html b/docs/fg/umn/functiongraph_01_0100_0.html index a8aa158b8..4011c1c24 100644 --- a/docs/fg/umn/functiongraph_01_0100_0.html +++ b/docs/fg/umn/functiongraph_01_0100_0.html @@ -5,19 +5,19 @@

Figure 1 shows the process of using FunctionGraph.

Figure 1 Usage process

Feature Overview

1. Write code.

-

Write code in Node.js, Python, Java, C#, PHP, or Go. For details, see the FunctionGraph Developer Guide.

+

Write code in Node.js, Python, Java, C#, PHP, Go, or Custom runtime. For details, see the FunctionGraph Developer Guide.

2. Upload code.

Currently, you can edit code inline, upload a ZIP or JAR file, or obtain a ZIP file from OBS. For details, see Table 2.

3. Trigger functions by API calls or cloud service events.

-

Call RESTful APIs or use cloud service event sources to trigger function execution and generate instances to implement service functions.

+

Call RESTful APIs or use cloud service event sources to trigger function execution and generate instances to implement service functions. For details, see Function Triggers.

4. Auto scaling is implemented.

During function execution, FunctionGraph scales automatically based on the number of requests without the need for configurations. For details about the maximum number of function instances that can be run concurrently, see Notes and Constraints.

5. View logs.

-

View run logs of functions as FunctionGraph is interconnected with Log Tank Service (LTS). For details, see Querying Function Logs.

+

View run logs of function as FunctionGraph is interconnected with Log Tank Service (LTS). For details, see Logs and Metrics.

6. View monitoring information.

-

View graphical monitoring information. FunctionGraph is interconnected with Application Operations Management (AOM).

+

Monitor function information in graphics as FunctionGraph is interconnected with Application Operations Management (AOM). For details, see Logs and Metrics.

7. Billing mode

-

After a function is executed, you will be billed based on the number of function execution requests and execution duration.

+

After the function execution is complete, you will be billed based on the number of requests and the execution duration. For details, see Billing Overview.

diff --git a/docs/fg/umn/functiongraph_01_0110.html b/docs/fg/umn/functiongraph_01_0110.html index 9862c06bd..2307016a2 100644 --- a/docs/fg/umn/functiongraph_01_0110.html +++ b/docs/fg/umn/functiongraph_01_0110.html @@ -1,6 +1,6 @@ -

Use of FunctionGraph

+

Process of Using FunctionGraph

FunctionGraph allows you to run your code without provisioning or managing servers, while ensuring high availability and scalability. All you need to do is upload your code and set execution conditions, and FunctionGraph will take care of the rest.

To quickly create a function using FunctionGraph, do as follows:

@@ -10,11 +10,11 @@

The following shows the details:

  1. Write code.

    Write code in Node.js, Python, Java, C#, PHP, or Go.

    -
  2. Upload code.

    Edit code inline, upload a local ZIP or JAR file, or upload a ZIP file from OBS. For details, see Creating a Deployment Package.

    -
  3. Trigger functions by API calls or cloud service events.

    Functions are triggered by API calls or cloud service events. For details, see Creating Triggers.

    +
  4. Upload code.

    Edit code inline, upload a local ZIP or JAR file, or upload a ZIP file from OBS. For details, see Configuring Code.

    +
  5. Trigger functions by API calls or cloud service events.

    Functions are triggered by API calls or cloud service events. For details, see Configuring Triggers.

  6. Implement auto scaling.

    FunctionGraph implements auto scaling based on the number of requests. For details, see section "Notes and Constraints".

    -
  7. View logs.

    View run logs of function. FunctionGraph is interconnected with Log Tank Service (LTS). For details, see Logs.

    -
  8. View monitoring information.

    View graphical monitoring information. FunctionGraph is interconnected with Cloud Eye. For details, see Metrics.

    +
  9. View logs.

    View run logs of function. FunctionGraph is interconnected with Log Tank Service (LTS). For details, see Managing Function Logs.

    +
  10. View monitoring information.

    View graphical monitoring information. FunctionGraph is interconnected with Cloud Eye. For details, see Viewing FunctionGraph Metrics.

Introduction to Dashboard

Log in to the FunctionGraph console and choose Dashboard in the navigation pane on the left.
  • View your created functions/function quota, used storage/storage quota, and monthly invocations and resource usage.
    Figure 2 Monthly statistics
    diff --git a/docs/fg/umn/functiongraph_01_0130.html b/docs/fg/umn/functiongraph_01_0130.html index 4bf2a3c1d..6a9bfecc9 100644 --- a/docs/fg/umn/functiongraph_01_0130.html +++ b/docs/fg/umn/functiongraph_01_0130.html @@ -5,7 +5,7 @@
    - @@ -14,6 +14,11 @@ + + + - - + + +
    Table 1 Interconnected services

    Service

    Function

    +

    Description

    FunctionGraph functions are constructed to process SMN notifications.

    DMS

    +

    FunctionGraph functions are configured to automatically poll DMS queues for messages and process any new messages.

    +

    API Gateway

    FunctionGraph functions are invoked over HTTPS by defining REST APIs with specified backend services.

    @@ -24,9 +29,9 @@

    FunctionGraph functions are created to process OBS bucket events, such as object creation or deletion events. For example, when an image is uploaded to the specified bucket, OBS invokes the function to read the image and create a thumbnail.

    DIS

    +

    LTS

    FunctionGraph functions are created to periodically poll DIS streams for new records, such as website click streams, financial transactions, social media streams, IT logs, and location-tracking events.

    +

    FunctionGraph functions are built to process logs subscribed to in LTS. When LTS collects subscribed logs, the function is triggered to process or analyze the logs or to load the logs to other systems.

    CTS

    @@ -40,6 +45,11 @@

    DDS triggers trigger FunctionGraph functions upon a table change in the database.

    AOM

    +

    Monitor function information in graphics.

    +
    diff --git a/docs/fg/umn/functiongraph_01_0140_0.html b/docs/fg/umn/functiongraph_01_0140_0.html index bac958078..28856adc3 100644 --- a/docs/fg/umn/functiongraph_01_0140_0.html +++ b/docs/fg/umn/functiongraph_01_0140_0.html @@ -6,9 +6,6 @@
    • Real-time file processing

      When files are uploaded from a client to OBS, functions can be triggered to create image thumbnails in real time, convert video formats, aggregate and filter data files, or implement other file operations.

      Advantages:

      • FunctionGraph automatically allocates resources to run more function instances as the number of received requests increases.
      • Files are uploaded to OBS to trigger file processing functions.
      • You will be billed only for resources used to process files as needed (you are not billed for idle resources during lows in demand).
      -
    • Real-time data stream processing

      FunctionGraph works with DIS to process data streams in real time. FunctionGraph supports application activity tracking, sequential transaction processing, data stream analysis, data sorting, metric generation, log filtering, indexing, social media analysis, and IoT device data telemetry and metering.

      -

      Advantages:

      -
      • Data is collected by means of DIS streams to trigger data processing functions.
      • FunctionGraph automatically allocates resources to run more function instances as the number of received requests increases.
      • You will be billed only for resources used to process files as needed (you are not billed for idle resources during lows in demand).

Scenario 2: Web Applications

Interconnect FunctionGraph with other cloud services or your VMs to quickly build highly available and scalable web & mobile backends. Web applications include mini programs, web pages/apps, chatbots, and Backends for Frontends (BFF).

diff --git a/docs/fg/umn/functiongraph_01_0150.html b/docs/fg/umn/functiongraph_01_0150.html index 9c506adf0..daa7c5705 100644 --- a/docs/fg/umn/functiongraph_01_0150.html +++ b/docs/fg/umn/functiongraph_01_0150.html @@ -36,7 +36,7 @@

Maximum size of deployment packages allowed for an account

-

10GB

+

10 GB

Number of concurrent executions per account

@@ -142,7 +142,7 @@

Maximum execution duration per request

259,200s

-

If the execution takes longer than 90s, use asynchronous invocation.

+

If the execution takes longer than 90 seconds, use asynchronous invocation.

For longer execution duration, .

@@ -153,7 +153,7 @@

Valid payload size of invocation response body (synchronous invocation)

-

6MB

+

6 MB

By default, the size of the returned string or the JSON string serialized from the response body is less than or equal to 6 MB. The actual data size varies depending on the backend settings of FunctionGraph. The backend determines the size of the serialized data with a byte-level deviation. The actual valid payload size is 6 MB ± 100 bytes.

diff --git a/docs/fg/umn/functiongraph_01_0150_0.html b/docs/fg/umn/functiongraph_01_0150_0.html index c7461dcf3..c8198e00e 100644 --- a/docs/fg/umn/functiongraph_01_0150_0.html +++ b/docs/fg/umn/functiongraph_01_0150_0.html @@ -1,16 +1,16 @@ -

Building Functions

+

Creating a Function

diff --git a/docs/fg/umn/functiongraph_01_0151_0.html b/docs/fg/umn/functiongraph_01_0151_0.html new file mode 100644 index 000000000..abcfcbac7 --- /dev/null +++ b/docs/fg/umn/functiongraph_01_0151_0.html @@ -0,0 +1,56 @@ + + +

Supported Runtimes

+

FunctionGraph supports multiple runtimes, including Python, Node.js, Java, Go, C#, PHP, Cangjie, and custom. The supported versions vary depending on the language.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1

Runtime

+

Supported Version

+

Node.js

+

6.10, 8.10, 10.16, 12.13, 14.18, 16.17, 18.15, 20.15

+

Python

+

2.7, 3.6, 3.9, 3.10, 3.12

+

Java

+

8, 11, 17

+

Go

+

1.x

+

C#

+

.NET Core 2.1, .NET Core 3.1, .NET Core 6.0

+

PHP

+

7.3 and 8.3

+

Custom

+

-

+
+
+
+
+ +
+ diff --git a/docs/fg/umn/functiongraph_01_0152.html b/docs/fg/umn/functiongraph_01_0152.html index c38364db4..03f77552b 100644 --- a/docs/fg/umn/functiongraph_01_0152.html +++ b/docs/fg/umn/functiongraph_01_0152.html @@ -1,6 +1,6 @@ -

Creating a Deployment Package

+

Configuring Code

To create a function, you must create a deployment package which includes your code and all dependencies. You can create a deployment package locally or edit code on the FunctionGraph console. If you edit code inline, FunctionGraph automatically creates and uploads a deployment package for your function. FunctionGraph allows you to edit function code in the same way as managing a project. You can create and edit files and folders. After you upload a ZIP code package, you can view and edit the code on the console.

  • After programming, simply package your code into a ZIP file (Java, Node.js, Python, and Go) or JAR file (Java), and upload the file to FunctionGraph for execution.
  • When creating a ZIP file, place the handler file under the root directory to ensure that your code can run normally after being decompressed.
  • If you edit code in Go, zip the compiled file, and ensure that the name of the dynamic library file is consistent with the plug-in name of the handler. For example, if the name of the dynamic library file is testplugin.so, set the handler name to testplugin.Handler.
  • Java is a compiled language, which does not support editing code inline. If your function does not use any third-party dependencies, you can upload a function JAR file. If your function uses third-party dependencies, compress the dependencies and the function JAR file into a ZIP file, and then upload the ZIP file.
@@ -174,7 +174,7 @@

For details about function resource restrictions, see Notes and Constraints.

-

C#

Uploading a Deployment Package

+

C#

Uploading a Deployment Package

You can only upload a C# deployment package in ZIP format. There are two ways to upload it.

  • When creating a ZIP file, place the handler file under the root directory to ensure that your code can run normally after being decompressed.
  • The size of the decompressed source code cannot exceed 1.5 GB. If the code is too large, contact the customer service.
@@ -184,9 +184,9 @@

For details about function resource restrictions, see Notes and Constraints.

-

PHP

Editing Code Inline

+

PHP

Editing Code Inline

FunctionGraph provides an SDK for editing code in PHP. If your custom code uses only the SDK library, you can edit code using the inline editor on the FunctionGraph console. After you edit code inline and upload it to FunctionGraph, the console compresses your code and the related configurations into a deployment package that FunctionGraph can run.

-

Uploading a Deployment Package

+

Uploading a Deployment Package

If your code uses other resources, such as a graphic library for image processing, first create a deployment package, and then upload the package to the FunctionGraph console. You can upload a PHP deployment package in two ways.

  • When creating a ZIP file, place the handler file under the root directory to ensure that your code can run normally after being decompressed.
  • The size of the decompressed source code cannot exceed 1.5 GB. If the code is too large, contact the customer service.
@@ -196,9 +196,9 @@

For details about function resource restrictions, see Notes and Constraints.

-

Custom Runtime

Editing Code Inline

+

Custom Runtime

Editing Code Inline

After you edit code inline and upload it to FunctionGraph, the console compresses your code and the related configurations into a deployment package that FunctionGraph can run.

-

Uploading a Deployment Package

+

Uploading a Deployment Package

If your code uses other resources, such as a graphic library for image processing, first create a deployment package, and then upload the package to the FunctionGraph console. You can upload a deployment package for a custom runtime in two ways.

  • When creating a ZIP file, place the handler file under the root directory to ensure that your code can run normally after being decompressed.
  • The size of the decompressed source code cannot exceed 1.5 GB. If the code is too large, contact the customer service.
@@ -211,7 +211,7 @@
diff --git a/docs/fg/umn/functiongraph_01_0153.html b/docs/fg/umn/functiongraph_01_0153.html index a9b2c6bad..ddd41bcb4 100644 --- a/docs/fg/umn/functiongraph_01_0153.html +++ b/docs/fg/umn/functiongraph_01_0153.html @@ -11,7 +11,7 @@
diff --git a/docs/fg/umn/functiongraph_01_0154.html b/docs/fg/umn/functiongraph_01_0154.html index 315b7b932..8636ffe73 100644 --- a/docs/fg/umn/functiongraph_01_0154.html +++ b/docs/fg/umn/functiongraph_01_0154.html @@ -7,8 +7,8 @@

Procedure

You can configure encryption settings and environment variables to dynamically pass settings to your function code and libraries without changing your code.

Figure 1 Adding environment variables
-

For example, for Node.js, encryption settings and environment variable values can be obtained from getUserData(string key) in Context.

-
  • Environment variables and encryption settings are user-defined key-value pairs that store function settings. Keys can contain letters, digits, and underscores (_), and must start with a letter.
  • The total length of the key and value cannot exceed 4096 characters.
  • When you define environment variables, FunctionGraph displays all your input information in plain text. For security purposes, do not include sensitive information.
  • After encryption is enabled, key-value pairs are encrypted on the console and will remain encrypted during transmission.
+

For example, for Node.js, encryption settings and environment variable values can be obtained from getUserData(string key) in Context.

+
  • Environment variables and encryption settings are user-defined key-value pairs that store function settings. Keys can contain letters, digits, and underscores (_), and must start with a letter.
  • The total length of the key and value cannot exceed 4096 characters.
  • When you define environment variables, FunctionGraph displays all your input information in plain text. For security purposes, do not include sensitive information.
  • After encryption is enabled, key-value pairs are encrypted on the console and will remain encrypted during transmission.

Preset Parameters

The following lists preset parameters. Do not configure environment variables with the same names as any of these parameters.

diff --git a/docs/fg/umn/functiongraph_01_0160_0.html b/docs/fg/umn/functiongraph_01_0160_0.html index 7f8121c92..652493dfc 100644 --- a/docs/fg/umn/functiongraph_01_0160_0.html +++ b/docs/fg/umn/functiongraph_01_0160_0.html @@ -5,7 +5,7 @@

With IAM, you can use your account to create IAM users for your employees, and assign permissions to the users to control their access to specific resource types. For example, some software developers in your enterprise need to use FunctionGraph resources but must not delete them or perform any high-risk operations. To achieve this result, you can create IAM users for the software developers and grant them only the permissions required for using FunctionGraph resources.

If your account does not need individual IAM users for permissions management, you may skip over this chapter.

Notes and Constraints

If an IAM user granted the FunctionGraph FullAccess permission has no permission to create a certain type of trigger or use a certain function, the relevant service or function does not support fine-grained authentication. In this case, grant the admin permission for this service or function to the user. These services and functions include:

-
  • CTS, DIS, and APIG: These do not support fine-grained authentication. Add the admin permission for them.
  • SMN: This supports fine-grained authentication in some regions. If needed, add the admin permission for this service.
+
  • CTS and APIG: These do not support fine-grained authentication. Add the admin permission for them.
  • SMN: This supports fine-grained authentication in some regions. If needed, add the admin permission for this service.

For more information about the permissions required to use these triggers and relevant functions, see Table 2.

FunctionGraph Permissions

By default, new IAM users do not have any permissions assigned. You need to add a user to one or more groups, and assign permissions policies to these groups. The user then inherits permissions from the groups it is a member of. This process is called authorization. After authorization, the user can perform specified operations on FunctionGraph based on the permissions.

@@ -86,11 +86,6 @@

dds:instance:list

-

DIS

- -

dis:streams:list

- -

LTS

lts:groups:create

diff --git a/docs/fg/umn/functiongraph_01_0180.html b/docs/fg/umn/functiongraph_01_0180.html index 4e9cdccca..8581f29e9 100644 --- a/docs/fg/umn/functiongraph_01_0180.html +++ b/docs/fg/umn/functiongraph_01_0180.html @@ -1,6 +1,6 @@ -

Managing Versions

+

Configuring Versions

Overview

FunctionGraph allows you to publish one or more versions throughout the development, test, and production processes to manage your function code. The code and environment variables of each version are saved as a snapshot. After the function code is published, you can modify settings as required.

After a function is created, the default version is latest. Each function has the latest version. After the function code is published, you can modify the version configuration as required.

A version is a snapshot of a function and corresponds to a tag in code. Each version contains the configuration and code of the function. By default, no trigger is bound to a new version. After a version is published, the configuration (such as environment variables) and code of the version cannot be updated, to ensure stability and traceability.

diff --git a/docs/fg/umn/functiongraph_01_0200.html b/docs/fg/umn/functiongraph_01_0200.html index ebc25947a..1a6019dde 100644 --- a/docs/fg/umn/functiongraph_01_0200.html +++ b/docs/fg/umn/functiongraph_01_0200.html @@ -1,6 +1,6 @@ -

Creating Triggers

+

Configuring Triggers

diff --git a/docs/fg/umn/functiongraph_01_0205.html b/docs/fg/umn/functiongraph_01_0205.html index c9452f5ef..1e3e46871 100644 --- a/docs/fg/umn/functiongraph_01_0205.html +++ b/docs/fg/umn/functiongraph_01_0205.html @@ -11,7 +11,7 @@

  • Set the following parameters:

    • Trigger Type: Select Object Storage Service (OBS).
    • Bucket Name: Specify the OBS bucket to be used as an event source, for example, obs-cff.
    • Events: Select events that will trigger the function. In this example, select Put, Post, and Delete. When files in the obs_cff bucket are updated, uploaded, or deleted, the function is triggered.
    • Event Notification Name: Specify the name of the event notification to be sent by SMN when an event occurs.
    • Prefix: Enter a keyword for limiting notifications to those about objects whose names start with the matching characters. This limit can be used to filter the names of OBS objects.
    • Suffix: Enter a keyword for limiting notifications to those about objects whose names end with the matching characters. This limit can be used to filter the names of OBS objects.

  • Click OK.
  • -

    Triggering a Function

    On the OBS console, upload an image ZIP package to the obs-cff bucket. For details, see Uploading a File.

    +

    Triggering a Function

    On the OBS console, upload an image ZIP package to the obs-cff bucket. For details, see Uploading a File.

    After the ZIP package is uploaded to the obs-cff bucket, the HelloWorld function is triggered.

    @@ -20,7 +20,7 @@
    diff --git a/docs/fg/umn/functiongraph_01_0206.html b/docs/fg/umn/functiongraph_01_0206.html deleted file mode 100644 index 360819305..000000000 --- a/docs/fg/umn/functiongraph_01_0206.html +++ /dev/null @@ -1,55 +0,0 @@ - - -

    Using a DIS Trigger

    -

    For details about the DIS event source, see section "Supported Event Sources".

    -

    Prerequisites

    Before creating a trigger, ensure that you have prepared the following:

    - -
    -

    Setting an Agency

    Before creating a DIS trigger, set an agency to delegate FunctionGraph to access DIS. For details on how to create an agency, see Configuring Agency Permissions.

    -

    Since you did not specify an agency while creating the HelloWorld function, specify one first.

    -
    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Configuration > Permissions, and change the agency to serverless-trust created in Configuring Agency Permissions.
    4. Click Save.
    -
    -

    Creating a DIS Trigger

    1. Return to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Configuration > Triggers and click Create Trigger.
    4. Set the following parameters:

      • Trigger Type: Select Data Ingestion Service (DIS).
      • Stream Name: Select a DIS stream, for example, dis-function.
      • Max. Fetch Bytes: Maximum volume of data that can be fetched in each request. Only the records smaller than this value will be fetched. The value ranges from 0 KB to 4 MB.
      • Starting Position: Specify a position in the specified stream from which to start reading data.
        • TRIM_HORIZON: Data is read from the earliest valid records that are stored in the partition.
        • LATEST: Data is read just after the most recent record in the partition. This setting ensures that you always read the latest data.
        -
      • Pull Period: Set a period for pulling data from the stream.
      • Serial Data Processing: If this option is selected, FunctionGraph pulls data from the stream only after previous data is processed. If this option is not selected, FunctionGraph pulls data from the stream as long as the pull period ends.
      -

    5. Click OK.
    -
    -

    Configuring a DIS Event to Trigger the Function

    1. Return to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. On the function details page, select a version.
    4. On the Code tab page, click Test. The Configure Test Event dialog box is displayed.
    5. Set the parameters described in Table 1 and click Save.

      -

      - - - - - - - - - - - - - - - - -
      Table 1 Test event information

      Parameter

      -

      Description

      -

      Configure Test Event

      -

      You can choose to create a test event or edit an existing one.

      -

      Use the default option Create new test event.

      -

      Event Template

      -

      Select Data Ingestion Service (DIS) to use the built-in DIS event template.

      -

      Event Name

      -

      The event name can contain 1 to 25 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), and hyphens (-) are allowed. For example, dis-123test.

      -

      Event data

      -

      The system automatically loads the built-in DIS event template, which is used in this example without modifications.

      -
      -
      -

    6. Click Test. The function test result is displayed.
    -
    -
    -
    - -
    - diff --git a/docs/fg/umn/functiongraph_01_0207.html b/docs/fg/umn/functiongraph_01_0207.html index b45ecb6b4..9aa52aec9 100644 --- a/docs/fg/umn/functiongraph_01_0207.html +++ b/docs/fg/umn/functiongraph_01_0207.html @@ -5,7 +5,7 @@

    Creating a Timer Trigger

    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Configuration > Triggers and click Create Trigger.

      Figure 1 Creating a trigger

    4. Set the following parameters:

      • Trigger Type: Select Timer.
      • Timer Name: Enter a timer name, for example, Timer.
      • Rule: Set a fixed rate or a cron expression.
        • Fixed rate: The function is triggered at a fixed rate of minutes, hours, or days. You can set a fixed rate from 1 to 60 minutes, 1 to 24 hours, or 1 to 30 days.
        • Cron expression: The function is triggered based on a complex rule. For example, you can set a function to be executed at 08:30:00 from Monday to Friday. For more information, see Cron Expressions for a Function Timer Trigger.
        -
      • Enable Trigger: Choose whether to enable the timer trigger.
      • Additional Information: The additional information you configure will be put into the user_event field of the timer event source.
      +
    5. Enable Trigger: Choose whether to enable the timer trigger.
    6. Additional Information: The additional information you configure will be put into the user_event field of the timer event source.
    7. Click OK.

    @@ -15,7 +15,7 @@
    diff --git a/docs/fg/umn/functiongraph_01_0208.html b/docs/fg/umn/functiongraph_01_0208.html index 8b8ab0f9f..cbd1d5d68 100644 --- a/docs/fg/umn/functiongraph_01_0208.html +++ b/docs/fg/umn/functiongraph_01_0208.html @@ -46,7 +46,7 @@
    diff --git a/docs/fg/umn/functiongraph_01_0209.html b/docs/fg/umn/functiongraph_01_0209.html index d6aa5bedd..0916aa339 100644 --- a/docs/fg/umn/functiongraph_01_0209.html +++ b/docs/fg/umn/functiongraph_01_0209.html @@ -112,7 +112,7 @@ def handler (event, context):
    diff --git a/docs/fg/umn/functiongraph_01_0210.html b/docs/fg/umn/functiongraph_01_0210.html index c8794bbff..a455905d1 100644 --- a/docs/fg/umn/functiongraph_01_0210.html +++ b/docs/fg/umn/functiongraph_01_0210.html @@ -4,11 +4,11 @@

    This section describes how to create a DDS trigger for a function, and invoke the function when a database table changes.

    A function using a DDS trigger will be triggered every time a database table is updated. For details about the DDS event source, see section "Supported Event Sources".

    Prerequisites

    Before creating a trigger, ensure that you have prepared the following:

    - +

    Creating a DDS Trigger

    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Configuration > Triggers and click Create Trigger.

      Figure 1 Creating a trigger

    4. Set the following parameters:

      • Trigger Type: Select Document Database Service (DDS).
      • DB Instance: Select a DDS DB instance.
      • Password: Enter the password of DDS DB instance administrator rwuser.
      • Database: Enter the name of a database. Note that admin, local, and config are reserved database names and cannot be used here.
      • Collection: Enter the name of a database collection.
      • Batch Size: Set the number of records to be read from the database at a time.
      -

    5. Click OK.

      After VPC access is enabled, you need to configure corresponding subnet permissions for the DDS security group. For details about how to configure VPC access, see Configuring the Network.

      +

    6. Click OK.

      After VPC access is enabled, you need to configure corresponding subnet permissions for the DDS security group. For details about how to configure VPC access, see Configuring Networks.

    @@ -48,7 +48,7 @@
    diff --git a/docs/fg/umn/functiongraph_01_0211.html b/docs/fg/umn/functiongraph_01_0211.html index c572576d3..c1b894d3f 100644 --- a/docs/fg/umn/functiongraph_01_0211.html +++ b/docs/fg/umn/functiongraph_01_0211.html @@ -4,16 +4,16 @@
    diff --git a/docs/fg/umn/functiongraph_01_0212.html b/docs/fg/umn/functiongraph_01_0212.html index 164878259..41bd3673c 100644 --- a/docs/fg/umn/functiongraph_01_0212.html +++ b/docs/fg/umn/functiongraph_01_0212.html @@ -1,7 +1,7 @@ -

    Function Monitoring

    -

    FunctionGraph is interconnected with Cloud Eye, allowing you to view function metrics without the need for any configurations.

    +

    Viewing FunctionGraph Metrics

    +

    FunctionGraph is interconnected with AOM, allowing you to view function metrics without the need for any configurations.

    Viewing Function Metrics

    FunctionGraph collects function metrics and displays aggregated results. Switch to your target function version before viewing metrics.

    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Monitoring > Metrics, select an interval (last hour, last 3 hours, last 12 hours, last day, last 3 days, or custom), and check the running status of the function.
    diff --git a/docs/fg/umn/functiongraph_01_0214.html b/docs/fg/umn/functiongraph_01_0214.html index b2773be30..a3cc8505f 100644 --- a/docs/fg/umn/functiongraph_01_0214.html +++ b/docs/fg/umn/functiongraph_01_0214.html @@ -6,11 +6,11 @@
    • For details about the differences between DMS for Kafka and open-source Kafka, see Comparing DMS for Kafka and Open-Source Kafka.
    • In cases of Kafka data processing failure, the Kafka trigger will discard records that are larger than 6 MB.

    Prerequisites

    Before creating a trigger, ensure that you have prepared the following:

    -
    • You have created a function. For details, see Creating a Function from Scratch.
    • You have enabled VPC access for the function. For details, see Configuring the Network.
    • You have created a Kafka instance. For details, see "Creating an Instance" in the Distributed Message Service for Kafka User Guide.
    • You have created a topic under a Kafka instance. For details, see section "Creating a Topic" in the Distributed Message Service for Kafka User Guide.
    +
    • You have created a function. For details, see Creating a Function from Scratch.
    • You have enabled VPC access for the function. For details, see Configuring Networks.
    • You have created a Kafka instance. For details, see "Creating an Instance" in the Distributed Message Service for Kafka User Guide.
    • You have created a topic under a Kafka instance. For details, see section "Creating a Topic" in the Distributed Message Service for Kafka User Guide.

    Creating a Kafka Trigger

    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Configuration > Triggers and click Create Trigger.

      Figure 1 Creating a trigger

    4. Set the following parameters:

      • Trigger Type: Select DMS (for Kafka).
      • Instance: Select a Kafka premium instance.
      • Topic: Select a topic of the Kafka premium instance.
      • Batch Size: Set the number of messages to be retrieved from a topic each time.
      • Username: Enter the username of the instance if SSL has been enabled for it.
      • Password: Enter the password of the instance if SSL has been enabled for it.
      -

    5. Click OK.

      • After VPC access is enabled, you need to configure corresponding subnet permissions for the Kafka security group. For details about how to configure VPC access, see Configuring the Network.
      • You can create a Kafka trigger with multiple topics. You do not need to create one such trigger for each topic in the same instance.
        Figure 2 Selecting multiple topics
        +

      • Click OK.

        • After VPC access is enabled, you need to configure corresponding subnet permissions for the Kafka security group. For details about how to configure VPC access, see Configuring Networks.
        • You can create a Kafka trigger with multiple topics. You do not need to create one such trigger for each topic in the same instance.
          Figure 2 Selecting multiple topics

        @@ -52,7 +52,7 @@
      diff --git a/docs/fg/umn/functiongraph_01_0222.html b/docs/fg/umn/functiongraph_01_0222.html index 491fea435..23dbc3eb4 100644 --- a/docs/fg/umn/functiongraph_01_0222.html +++ b/docs/fg/umn/functiongraph_01_0222.html @@ -1,6 +1,6 @@ -

      Configuring the Network

      +

      Configuring Networks

      Public Access

      By default, functions can access services on public networks. If the target public network service requires whitelist verification using a fixed IP address, enable VPC access, configure a NAT gateway for the VPC, and bind an Elastic IP (EIP) to the gateway. For details, see Configuring a Fixed Public IP Address

      Configuring VPC Access

      Functions can access resources in a VPC bound to it. If a function needs both VPC and public access, configure a NAT gateway for the VPC and bind an EIP to the gateway. For details, see Configuring a Fixed Public IP Address.

      @@ -51,7 +51,7 @@
    6. (Optional) Configure the domain name.
      Enter one or more private domain names of the VPC so that the function can use them to access resources in this VPC. See Figure 1.
      1. For details about how to create a private domain name, see Creating a Private Zone.
      2. Functions can resolve only domain names of the A record set type. For details about how to add a record set, see Record Set Types and Configuration Rules.
      -
    7. (Optional) Configure the VPC CIDR block.
      Figure 2 VPC CIDR block
      +
    8. (Optional) Configure the VPC CIDR block.
      Figure 2 VPC CIDR block
      • You can enter the VPC CIDR block used in the code to check whether it conflicts with FunctionGraph's VPC CIDR block.
    9. Click Save.
    @@ -62,7 +62,7 @@

    Prerequisites

    1. You have created a VPC and a subnet according to Creating a VPC.
    2. You have obtained an EIP according to Assigning an EIP.

    Procedure

    -
    1. In the left navigation pane of the management console, choose Network > NAT Gateway to go to the NAT Gateway console. Then click Create NAT Gateway.
    2. On the displayed page, enter gateway information, select a VPC (for example, vpc-01) and subnet, and confirm and submit the settings. For details, see Creating a Public NAT Gateway.
    3. Click the NAT gateway name. On the details page that is displayed, click Add SNAT Rule, set the rule, and click OK.
    +
    1. In the left navigation pane of the management console, choose Network > NAT Gateway to go to the NAT Gateway console. Then click Create NAT Gateway.
    2. On the displayed page, enter gateway information, select a VPC (for example, vpc-01) and subnet, and confirm and submit the settings. For details, see Creating a Public NAT Gateway.
    3. Click the NAT gateway name. On the details page that is displayed, click Add SNAT Rule, set the rule, and click OK.
    diff --git a/docs/fg/umn/functiongraph_01_0301.html b/docs/fg/umn/functiongraph_01_0301.html index e9399fddf..f08603458 100644 --- a/docs/fg/umn/functiongraph_01_0301.html +++ b/docs/fg/umn/functiongraph_01_0301.html @@ -10,7 +10,7 @@
    diff --git a/docs/fg/umn/functiongraph_01_0302.html b/docs/fg/umn/functiongraph_01_0302.html index 99bf46274..e9f1da3cc 100644 --- a/docs/fg/umn/functiongraph_01_0302.html +++ b/docs/fg/umn/functiongraph_01_0302.html @@ -57,11 +57,6 @@

    Simulates a DDS event to trigger your function.

    -

    Data Ingestion Service (DIS)

    - -

    Simulates a DIS event to trigger your function.

    - -

    Log Tank Service (LTS)

    Simulates an LTS event to trigger your function.

    @@ -102,26 +97,6 @@

    The event is {"key": "value"}, which can be changed based on requirements.

    -

    Login Security Analysis

    - -

    Serves as an input for the loginSecurity-realtime-analysis-python function template.

    - - -

    Image Classification

    - -

    Serves as an input for the image-tag function template.

    - - -

    Pornographic Image Analysis

    - -

    Serves as an input for the porn-image-analysis function template.

    - - -

    Speech Recognition

    - -

    Serves as an input for the voice-analysis function template.

    - -
    diff --git a/docs/fg/umn/functiongraph_01_0303.html b/docs/fg/umn/functiongraph_01_0303.html index 659a588a2..480001438 100644 --- a/docs/fg/umn/functiongraph_01_0303.html +++ b/docs/fg/umn/functiongraph_01_0303.html @@ -1,73 +1,23 @@ -

    Configuring Single-Instance Multi-Concurrency

    -

    Overview

    By default, each function instance processes only one request at a specific time. For example, to process three concurrent requests, FunctionGraph triggers three function instances. To address this issue, FunctionGraph has launched the single-instance multi-concurrency feature, allowing multiple requests to be processed concurrently on one instance.

    +

    Configuring Concurrency

    +

    Overview

    FunctionGraph allows you to configure the maximum number of instances that can be run for a function at a time. The number of instances is limited to prevent resource exhaustion, ensure that each instance has sufficient resources to run, and improve processing efficiency.

    -

    Scenario

    This feature is suitable for functions which spend a long time to initialize or wait for a response from downstream services. The feature has the following advantages:

    -
    • Fewer cold starts and lower latency: Usually, FunctionGraph starts three instances to process three requests, involving three cold starts. If you configure the concurrency of three requests per instance, only one instance is required, involving only one cold start.
    • Shorter processing duration and lower cost: Normally, the total duration of multiple requests is the sum of each request's processing time.
    -
    -

    Comparison

    If a function takes 5s to execute each time and you set the number of requests that can be concurrently processed by an instance to 1, three requests need to be processed in three instances, respectively. Therefore, the total execution duration is 15s.

    -

    When you set Max. Requests per Instance to 5, if three requests are sent, they will be concurrently processed by one instance. The total execution time is 5s.

    -

    If the maximum number of requests per instance is greater than 1, new instances will be automatically added when this number is reached. The maximum number of instances will not exceed Max. Instances per Function you set.

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Comparison

    Comparison Item

    -

    Single-Instance Single-Concurrency

    -

    Single-Instance Multi-Concurrency

    -

    Log printing

    -

    -

    -

    To print logs, Node.js Runtime uses the console.info() function, Python Runtime uses the print() function, and Java Runtime uses the System.out.println() function. In this mode, current request IDs are included in the log content. However, when multiple requests are concurrently processed by an instance, the request IDs are incorrect if you continue to use the preceding functions to print logs. In this case, use context.getLogger() to obtain a log output object, for example, Python Runtime.

    -

    log = context.getLogger()

    -

    log.info("test")

    -

    Shared variables

    -

    Not involved.

    -

    Modifying shared variables will cause errors. Mutual exclusion protection is required when you modify non-thread-safe variables during function writing.

    -

    Monitoring metrics

    -

    Perform monitoring based on the actual situation.

    -

    Under the same load, the number of function instances decreases significantly.

    -

    Flow control error

    -

    Not involved.

    -

    When there are too many requests, the error code in the body is FSS.0429, the status in the response header is 429, and the error message is Your request has been controlled by overload sdk, please retry later.

    -
    -
    -
    -

    Configuring Single-Instance Multi-Concurrency

    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. Click the function to be configured to go to the function details page.
    3. Choose Configuration > Concurrency.

      Set parameters by referring to Table 2 and click Save.

      +

      Configuring Function Concurrency

      1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
      2. Click the function to be configured to go to the function details page.
      3. Choose Configuration > Concurrency.

        Set parameters by referring to Table 1 and click Save.

        Figure 1 Concurrency configuration
        -
        - - - - - - - - - - @@ -170,7 +148,7 @@ - @@ -185,7 +163,7 @@
        • To ensure optimal performance, select Specify an exclusive agency for function execution and set different agencies for function configuration and execution. You can also use no agency or specify the same agency for both purposes. Figure 5 shows the agency options.
          Figure 5 Setting agencies
          -
        • Configuration Agency: For example, to create Data Ingestion Service (DIS) triggers, first specify an agency with DIS permissions. If such an agency is not specified or the specified agency does not exist, no DIS triggers can be created.
        • Execution Agency: This type of agency enables you to obtain a token and AK/SK from the context in the function handler for accessing other cloud services.
        +
      4. Execution Agency: This type of agency enables you to obtain a token and AK/SK from the context in the function handler for accessing other cloud services.
        1. Click Save.
        diff --git a/docs/fg/umn/functiongraph_01_1000.html b/docs/fg/umn/functiongraph_01_1000.html index 432f35e9b..bbe8d9644 100644 --- a/docs/fg/umn/functiongraph_01_1000.html +++ b/docs/fg/umn/functiongraph_01_1000.html @@ -12,8 +12,6 @@ - - - -
        Table 2 Description

        Parameter

        +
        - - - diff --git a/docs/fg/umn/functiongraph_01_0391.html b/docs/fg/umn/functiongraph_01_0391.html index 6f9b5b760..c0938dde5 100644 --- a/docs/fg/umn/functiongraph_01_0391.html +++ b/docs/fg/umn/functiongraph_01_0391.html @@ -1,6 +1,6 @@ -

        Dependency Management

        +

        Configuring Dependencies

        -

        Follow-up Operations

        A function can read and write data in an access path in the same way as in the mounted file system.

        -

        Function logs can be persisted by configuring the log path as a subdirectory in the access path.

        -

        The following uses SFS Turbo and template Web-Server-Access-Log-Statistics as an example to describe how to analyze logs of servers running on the cloud.

        -
        1. Log in to the FunctionGraph console. In the navigation pane, choose Templates.
        2. In the upper right corner of the Templates page, enter Web-Server-Access-Log-Statistics in the search box and press Enter.
        3. In the search result, click Configure. The configuration page is displayed, as shown in Figure 2. Set the parameters as follows:

          Figure 2 Function template
          -
          • Region: Select the same region as the created VPC and file system. For details about how to create a VPC and file system, see Configuring the Network and Creating a File System.
          • Project: Use default.
          • Function Name: Enter a custom name.
          • Agency: Select an agency with the file system, VPC, and APIG permissions. For details about how to create an agency, see Configuring Agency Permissions.
          • Enterprise Project: Select an enterprise project as required.
          • Environment Variables: access_log_path indicates the log file address. Set this parameter to /home/test/access_log.log.

            To specify file paths in the file system, use absolute paths starting with a slash (/). However, if no file system is mounted, you can skip adding the slash (/) and simply set the parameter to code/access_log.log.

            -
            -
          • Trigger Type: The default value is API Gateway (APIG). For details about how to configure APIG, see Using an APIG (Dedicated) Trigger.
          • API Name: Enter a custom name.
          • API Group: Select a group based on the actual service.
          • Environment: Select RELEASE.
          • Security Authentication: Select None.
          • Protocol and Timeout (ms): Retain the default values.
          -

        4. After parameter configuration is complete, click Create Function.
        5. On the function details page, click the Code tab, add the following code to the index.py file, and click Deploy.

          import shutil
          -
          shutil.copyfile('/opt/function/code/access_log.log', '/home/test/access_log.log')
          -
          Figure 3 Adding code
          -

          In addition, add the public dependency Jinja2-2.10. For details, see How Do I Add a Dependency to a Function?.

          -

          If no file system is mounted, you do not need to add the preceding code.

          -
          -

        6. On the function details page, choose Configuration > Network and enable VPC Access. Set VPC and Subnet to the created VPC and subnet, and click Save.

          Figure 4 VPC access
          -

        7. Choose Disk Mounting, click Mount File System, and select SFS Turbo.

          • File System: Select an existing SFS Turbo file system.
          • Access Path: Set this parameter to /home/test.
          -

        8. Click the Code tab, select Configure Test Event, create a Blank Template, and click Create.

          Figure 5 Configuring a test event
          -

        9. Select the created test event and click Test.

          Figure 6 Test result
          -

        10. Choose Configuration > Triggers, copy the URL of the APIG trigger, and open the URL using a browser.

          Figure 7 Copying the URL
          -
          Figure 8 Results display
          -

        -

        Creating an NFS Shared Directory on ECS

        1. Linux
          • CentOS, SUSE, EulerOS, Fedora, or openSUSE
            1. Configure a YUM repository.

              1. Create a file named euleros.repo in the /etc/yum.repos.d directory. Ensure that the file name must end with .repo.

              2. Run the following command to enter euleros.repo and edit the configuration:

              vi /etc/yum.repos.d/euleros.repo
              @@ -114,21 +93,7 @@ sudo apt install nfs-kernel-server
              exportfs -rv
          -
        1. Windows
        -
        1. Install the NFS server.

          Paid software: haneWIN NFS Server. Download the software at the haneWIN official website.

          -

          Free software: FreeNFS and WinNFSd. Download the software at the SourceForge website.

          -
        2. Enable the NFS function.
          • In the case of WinNFSd, see WinNFSd configuration.
            1. Download and decompress WinNFSd, and create the nfs folder in the decompressed directory.
            2. Set the sharing and read/write permissions on the nfs file.
              1. Right-click the nfs file and choose Properties.
              2. Click the Sharing tab, and then click Share....
              3. Add Everyone and click Share.
                Figure 9 Adding Everyone
                -
              4. Click the Security tab, select Everyone in the Group or user names list, and click Edit.
              5. In the displayed Security dialog box, select Everyone from the Group or user name list, select Read and Write from the Allow check boxes in the Permissions for Everyone list, and click OK.
              -
            3. Disable all firewalls, including the Domain network, Private network, and Public network. Enable them after the entire configuration is complete.
            4. Log in to the virtual server of the router and enable ports 111, 2049, and 1058 of the external network. (Note: An external IP address is required.)
            5. Run the following command. For details, see https://github.com/winnfsd/winnfsd.
              WinNFSd.exe -addr {Your own local IP address 192.168.xxx.xxx} F:\nfs /nfs
              -
            -
          • In the case of haneWIN NFS Server, perform the following steps:
            1. Run the downloaded .exe file as the Windows system administrator.
            2. After the installation is complete, open the NFS Server file and choose Edit > Preferences.
            3. Retain the default settings on the NFS, Server, and PortMapper tab pages. Click the Exports tab, click Edit exports file to configure the shared directory, and click Save.

              The shared directory format can be referenced as D:\share -public -name:nfs, which means to set the permission on the share folder to public and define an alias nfs.

              -
              -
            4. Click OK.
            5. Disable all firewalls, including the Domain network, Private network, and Public network. Enable them after the entire configuration is complete.

              Run the following command in Linux to mount the directory and check whether the file sharing is successful:

              -
              mount -t nfs -o nolock 192.168.xxx.xxx:/nfs /mnt
              -
              • 192.168.xxx.xxx is the IP address of the Windows operating system.
              • nfs is the alias created when the shared directory is configured.
              • /mnt is the local directory where the remote directory is mounted.
              -
              -
            -
          +
        1. Windows

          For details about how to install NFS and share files, see the official document on Windows.

        diff --git a/docs/fg/umn/functiongraph_01_0418.html b/docs/fg/umn/functiongraph_01_0418.html new file mode 100644 index 000000000..56f95b46d --- /dev/null +++ b/docs/fg/umn/functiongraph_01_0418.html @@ -0,0 +1,38 @@ + + +

        Configuring Class Isolation and Pre-stop for Java Functions

        +

        Class isolation is used to load your code and dependencies using an independent class loader if they conflict with the runtime dependencies.

        +

        Pre-stop is used to call a callback function before FunctionGraph stops the current function instance.

        +

        Constraints

        Only Java functions can be configured with class isolation and pre-stop.

        +
        +

        Configuring Class Isolation for a Java Function

        1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
        2. Click the name of a function.
        3. Choose Configuration > Advanced Settings.
        4. Enable Class Isolation and click Save.
        +
        +

        Configuring Pre-stop for a Java Function

        1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
        2. Click the name of a function.
        3. On the Configuration tab, click Lifecycle.
        4. Enable Pre-stop and set the related parameters. +
        Table 1 Description

        Parameter

        Description

        +

        Description

        Max. Instances per Function

        +

        Max. Instances per Function

        Explanation:

        +

        Explanation:

        Maximum number of on-demand instances that can be enabled for a function.

        Restrictions:

        -
        • Requests that exceed the processing capability of instances will be discarded.
        • Errors caused by excessive requests will not be displayed in function logs. You can obtain error details by referring to Configuring Asynchronous Execution Notification.
        +
        • Requests that exceed the processing capability of instances will be discarded.
        • Errors caused by excessive requests will not be displayed in function logs. You can obtain error details by referring to Configuring Asynchronous Notification Policy.

        Value range:

        -1 or an integer ranging from 1 to 1000. The value –1 indicates that the number of instances is not limited.

        Default value:

        diff --git a/docs/fg/umn/functiongraph_01_0304.html b/docs/fg/umn/functiongraph_01_0304.html index 6560e2ebd..db7d89d5a 100644 --- a/docs/fg/umn/functiongraph_01_0304.html +++ b/docs/fg/umn/functiongraph_01_0304.html @@ -1,6 +1,6 @@ -

        Creating an Alarm Rule

        +

        Configuring an Alarm Rule

        After creating a function and trigger, you can monitor the invocation and running statuses of the function in real time.

        Viewing Function Metrics

        FunctionGraph differentiates the metrics of a function by version, allowing you to query the metrics of a specific function version.

        diff --git a/docs/fg/umn/functiongraph_01_0320.html b/docs/fg/umn/functiongraph_01_0320.html index e05343c7f..cdec50f47 100644 --- a/docs/fg/umn/functiongraph_01_0320.html +++ b/docs/fg/umn/functiongraph_01_0320.html @@ -1,6 +1,6 @@ -

        Function Management

        +

        Managing Functions

        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.

        diff --git a/docs/fg/umn/functiongraph_01_0390_01.html b/docs/fg/umn/functiongraph_01_0390_01.html index b4889a668..9266ef967 100644 --- a/docs/fg/umn/functiongraph_01_0390_01.html +++ b/docs/fg/umn/functiongraph_01_0390_01.html @@ -1,6 +1,6 @@ -

        Monitoring

        +

        Viewing Metrics and Configuring Alarms

        Success Notification

        Target Service: to which a notification will be sent if a function is executed successfully.

        -
        1. FunctionGraph
        2. OBS
        3. DIS
        4. SMN
        +
        1. FunctionGraph
        2. OBS
        3. SMN

        Failure Notification

        Target Service: to which a notification will be sent if a function fails to be executed.

        -
        1. FunctionGraph
        2. OBS
        3. DIS
        4. SMN
        +
        1. FunctionGraph
        2. OBS
        3. SMN
        + + + + + + + + + + +
        Table 1 Pre-stop configuration

        Parameter

        +

        Description

        +

        Pre-stop Timeout (s)

        +

        Timeout for executing the callback function before the current function instance is stopped. The value is an integer ranging from 1 to 90.

        +

        Pre-stop Handler

        +

        Handler of the callback function, which can contain a maximum of 128 characters in the format of "[package name].[class name].[execution function name]".

        +
        +
        +
      5. Click Save.
      6. + + +
        + +
        + diff --git a/docs/fg/umn/functiongraph_01_0908.html b/docs/fg/umn/functiongraph_01_0908.html index bdb863dc4..fb43b82b1 100644 --- a/docs/fg/umn/functiongraph_01_0908.html +++ b/docs/fg/umn/functiongraph_01_0908.html @@ -347,7 +347,7 @@
        diff --git a/docs/fg/umn/functiongraph_01_0920.html b/docs/fg/umn/functiongraph_01_0920.html index 3ef728300..3bb6e4894 100644 --- a/docs/fg/umn/functiongraph_01_0920.html +++ b/docs/fg/umn/functiongraph_01_0920.html @@ -22,7 +22,7 @@

        Unavailable

        SWR Admin: administrator who has all permissions for the Software Repository for Container (SWR) service.

        -

        For details about how to create a custom image, see Deploying a Function Using a Container Image.

        +

        For details about how to create a custom image, see Creating a Function with an Image.

        Mounting an SFS Turbo file system

        @@ -61,16 +61,6 @@

        aom:metric:list: permissions for querying metric list in AOM.

        Using a DIS trigger

        -

        DIS Administrator

        -

        Unavailable

        -

        Administrator who has all permissions for the DIS service.

        -

        For details about how to create a DIS trigger, see Using a DIS Trigger.

        -

        Using a DMS trigger

        DMS ReadOnlyAccess

        @@ -94,13 +84,10 @@

        Users with the VPC Administrator permissions can perform any operations on all cloud resources of the VPC. To configure cross-VPC access, specify an agency with VPC management permissions.

        Fine-grained minimum permission for VPC: permissions for unbinding a virtual IP address from a VM, querying a port, creating a port, querying a VPC, querying a subnet, and querying security groups or details about a security group.

        -

        For details about how to configure cross-domain VPC access, see Configuring the Network.

        +

        For details about how to configure cross-domain VPC access, see Configuring Networks.

        Configuring asynchronous notification

        -

        -

        -

        +

        Configuring asynchronous notification

        If the target service is OBS:

        OBS Administrator

        @@ -111,7 +98,7 @@

        OBS Administrator: administrator who has all permissions for OBS.

        Fine-grained minimum permission for OBS: permissions for obtaining bucket metadata, creating a bucket, uploading objects using POST method, copying objects, appending an object, initializing a multipart task, uploading parts, and merging parts.

        -

        For details about how to configure asynchronous notification, see Configuring Asynchronous Execution Notification.

        +

        For details about how to configure asynchronous notification, see Configuring Asynchronous Notification Policy.

        If the target service is SMN:

        @@ -122,16 +109,7 @@

        SMN Administrator: administrator who has all permissions for SMN.

        Fine-grained minimum permission for using SMN: permissions for publishing a message and querying the topic list.

        -

        For details about how to configure asynchronous notification, see Configuring Asynchronous Execution Notification.

        -

        If the target service is DIS:

        -

        DIS Administrator

        -

        Unavailable

        -

        DIS Administrator: administrator who has all permissions for DIS.

        -

        For details about how to configure asynchronous notification, see Configuring Asynchronous Execution Notification.

        +

        For details about how to configure asynchronous notification, see Configuring Asynchronous Notification Policy.

        Configuration Agency

        +

        Agency

        Select a function that you have created.

        Select a function type.

        -
        HTTP function: triggered once HTTP requests are sent to specific URLs.
        NOTE:
        • The custom container image must contain an HTTP server with listening port 8000.
        • HTTP functions support APIG and APIC triggers only.
        • When calling a function using APIG, isBase64Encoded is valued true by default, indicating that the request body transferred to FunctionGraph is encoded using Base64 and must be decoded for processing.
        • The function must return characters strings by using the following structure.
          {
          +
          HTTP function: triggered once HTTP requests are sent to specific URLs.
          NOTE:
          • The custom container image must contain an HTTP server with listening port 8000.
          • HTTP functions support APIG triggers only.
          • When calling a function using APIG, isBase64Encoded is valued true by default, indicating that the request body transferred to FunctionGraph is encoded using Base64 and must be decoded for processing.
          • The function must return characters strings by using the following structure.
            {
                 "isBase64Encoded": true|false,
                 "statusCode": httpStatusCode,
                 "headers": {"headerName":"headerValue",...},
            @@ -122,7 +122,7 @@ app.listen(PORT, () => {
             
          diff --git a/docs/fg/umn/functiongraph_01_1062.html b/docs/fg/umn/functiongraph_01_1062.html index aaa26e04a..cacf64644 100644 --- a/docs/fg/umn/functiongraph_01_1062.html +++ b/docs/fg/umn/functiongraph_01_1062.html @@ -19,11 +19,6 @@

        Asynchronous

        DIS

        -

        Asynchronous

        -

        Timer

        Asynchronous

        @@ -52,14 +47,17 @@
        -
      7. APIG and APIG (dedicated) triggers can be configured for asynchronous invocation on their console. You can also use the asynchronous execution API instead. In this scenario, the maximum execution duration of a function is 12 hours (configured in the whitelist).

        If the E2E function execution latency exceeds 90s, asynchronous invocation is recommended. If synchronous invocation is used, no responses can be received after 90s due to gateway restrictions.

        +
      8. APIG (dedicated) triggers can be configured for asynchronous invocation on their console. You can also use the asynchronous execution API instead. In this scenario, the maximum execution duration of a function is 12 hours (configured in the whitelist).

        If the E2E function execution latency exceeds 90s, asynchronous invocation is recommended. If synchronous invocation is used, no responses can be received after 90s due to gateway restrictions.

      9. Example

        -

        The following procedure uses the APIG trigger of a function as an example.

        +

        The following procedure uses the APIG trigger of a function as an example. For details about how to create an APIG trigger, see Using an APIG (Dedicated) Trigger.

        1. Go to the function details page, and choose Configuration > Triggers.
        2. Click the APIG trigger name to go to the APIG console.
          Figure 1 Clicking a trigger name
          -
        3. Click Edit in the upper right.
          Figure 2 Clicking Edit
          -
        4. Click Next until the Define Backend Request page is displayed. Then change Invocation Mode to Asynchronous.
          Figure 3 Changing the invocation mode
          +

          +
        5. Click Modify in the upper right.
          Figure 2 Clicking Modify
          +

          +
        6. Click Next until the Backend Configuration page is displayed. Then change Invocation Mode to Asynchronous.
          Figure 3 Changing the invocation mode
          +

        7. Click Finish to save the settings.
      diff --git a/docs/fg/umn/functiongraph_01_1441.html b/docs/fg/umn/functiongraph_01_1441.html index 47f0a70a2..d82a4e379 100644 --- a/docs/fg/umn/functiongraph_01_1441.html +++ b/docs/fg/umn/functiongraph_01_1441.html @@ -8,7 +8,7 @@

      Each FunctionGraph function runs in its own environment and has its own resources and file system.

    -

    Prerequisites

    1. You must be familiar with the programming languages supported by FunctionGraph. For details, see Supported Programming Languages.
    2. You have created a deployment package. For details, see Creating a Deployment Package.
    3. (Optional) You have created an agency. For details, see Configuring Agency Permissions.
    +

    Prerequisites

    1. You must be familiar with the programming languages supported by FunctionGraph. For details, see Supported Programming Languages.
    2. You have created a deployment package. For details, see Configuring Code.
    3. (Optional) You have created an agency. For details, see Configuring Agency Permissions.

    Procedure

    1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
    2. On the Function List page, click Create Function in the upper right corner.
    3. Click Create from scratch and configure the function information by referring to Table 1. The parameters marked with an asterisk (*) are mandatory.
      Figure 1 Creating a function from scratch
      @@ -20,7 +20,7 @@

      * Function Type

      -
      • Event functions: triggered by triggers.
      • HTTP functions: triggered once HTTP requests are sent to specific URLs.
        NOTE:
        • HTTP functions do not distinguish between programming languages. The handler must be set in the bootstrap file. You can directly write the startup command, and allow access over port 8000.
        • HTTP functions support APIG and APIC triggers only.
        • For details about how to use HTTP functions, see Creating an HTTP Function.
        +
        • Event functions: triggered by triggers.
        • HTTP functions: triggered once HTTP requests are sent to specific URLs.
          NOTE:
          • HTTP functions do not distinguish between programming languages. The handler must be set in the bootstrap file. You can directly write the startup command, and allow access over port 8000.
          • HTTP functions support APIG triggers only.
          • For details about how to use HTTP functions, see Creating an HTTP Function.
        @@ -81,7 +81,7 @@
      • Click Create Function. On the displayed Code tab page, continue to configure the code.
    -

    Configuring Code

    1. You can deploy the code based on the runtime you select. For details, see Creating a Deployment Package. After the deployment is complete, click Deploy.

      As shown in the following example, to deploy code in Node.js 10.16, you can edit code inline, upload a local ZIP file, or upload a ZIP file from OBS.

      +

      Configuring Code

      1. You can deploy the code based on the runtime you select. For details, see Configuring Code. After the deployment is complete, click Deploy.

        As shown in the following example, to deploy code in Node.js 10.16, you can edit code inline, upload a local ZIP file, or upload a ZIP file from OBS.

        Figure 2 Deploying code

        If you deploy code by uploading a local ZIP file, ensure that the region selected for creating the function is the same as that selected for creating an OBS bucket.

        diff --git a/docs/fg/umn/functiongraph_01_1442.html b/docs/fg/umn/functiongraph_01_1442.html index fa52c2e18..a989648a3 100644 --- a/docs/fg/umn/functiongraph_01_1442.html +++ b/docs/fg/umn/functiongraph_01_1442.html @@ -1,11 +1,67 @@

        Creating an HTTP Function

        -

        Overview

        HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function execution. HTTP functions support APIG triggers only.

        -
        • HTTP functions do not distinguish between programming languages. The handler must be set in the bootstrap file. You can directly write the startup command, and allow access over port 8000. The bound IP address is 127.0.0.1.
        • The bootstrap file is the startup file of the HTTP function. The HTTP function can only read bootstrap as the startup file name. If the file name is not bootstrap, the service cannot be started. For more information, see the bootstrap file example.
        • HTTP functions support multiple programming languages.
        • Functions must return a valid HTTP response.
        • This section uses Node.js as an example. To use another runtime, simply change the runtime path. The code package path does not need to be changed. For the paths of other runtimes, see Table 1.
        • When a function initiates an HTTP request, the request IP address is dynamic for private network access and fixed for public network access. For more information, contact technical support.
        -
        +

        Overview

        HTTP functions are designed to optimize web services and support multiple programming languages. You can send HTTP requests to URLs to trigger function execution.

        -

        Prerequisites

        1. Prepare a Node.js script. A code example is as follows:
          const http = require('http'); // Import Node.js core module
          +

          Common Function Request Headers

          The following table lists the default request header fields of an HTTP function.

          + +
          + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          Table 1 Default request header fields

          Field

          +

          Description

          +

          X-CFF-Request-Id

          +

          ID of the current request

          +

          X-CFF-Memory

          +

          Allocated memory

          +

          X-CFF-Timeout

          +

          Function timeout duration

          +

          X-CFF-Func-Version

          +

          Function version

          +

          X-CFF-Func-Name

          +

          Function name

          +

          X-CFF-Project-Id

          +

          Project ID

          +

          X-CFF-Package

          +

          App to which the function belongs

          +

          X-CFF-Region

          +

          Current region

          +
          +
          +
          +

          Constraints

          • HTTP functions do not distinguish between programming languages. The handler must be set in the bootstrap file. You can directly write the startup command, and allow access over port 8000. The bound IP address is 127.0.0.1.
          • The HTTP response body cannot exceed 6 MB.

            A valid HTTP function response must contain body(String), statusCode(int), headers(Map), and isBase64Encoded(boolean). By default, the response is encoded using Base64. The default value of isBase64Encoded is true. The same applies to other frameworks.

            +
          • The bootstrap file is the startup file of the HTTP function. The HTTP function can only read bootstrap as the startup file name. If the file name is not bootstrap, the service cannot be started. For more information, see the bootstrap file example.

            If you run the JAR package, you are advised to add the JVM parameter -Dfile.encoding=utf-8 to bootstrap. Otherwise, garbled Chinese characters may be displayed.

            +
          • Only APIG triggers can be created for HTTP functions.
          • HTTP functions cannot be executed for a long time, invoked asynchronously, or retried.
          • When a function initiates an HTTP request, the request IP address is dynamic for private network access and fixed for public network access. For more information, contact technical support.
          +
          +

          Creating and Configuring an HTTP Function

          The following uses an example to describe how to create and configure an HTTP function.

          +
          +