检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Extended Applications In addition to log processing and transfer to LTS, the combination of FunctionGraph and LTS can apply to more scenarios, for example, analyzing and processing log data with a timer trigger to delete redundant logs and save space and costs.
To delete a reserved instance policy under a function version or alias, click Delete in the Operation column. Reserved instances are executed with the intelligent recommendation policy.
Table 1 Actions Permission Action Deleting a port vpc:ports:delete Querying a port vpc:ports:get Creating a port vpc:ports:create Querying a VPC vpc:vpcs:get Querying a subnet vpc:subnets:get Parent topic: General FAQs
Simplify function code, for example, delete unnecessary dependency packages. When using C# in non-concurrent scenarios, you can also: Create a one-minute timer trigger to ensure that there is at least one active instance. Parent topic: Function Execution FAQs
Delete Deleting a single flow: Choose More > Delete to delete a flow. Deleting multiple flows: Select multiple flows and click Delete in the upper left corner to delete them. Click the name of a flow to view details.
If you no longer use your functions or flows, you can delete them to avoid unnecessary fee deduction. You can configure the Balance Alert on the Billing Center > Overview page.
DELETE: requests the server to delete specified resources, for example, an object. HEAD: same as GET except that the server must return only the response header. PATCH: requests the server to update partial content of a specified resource.
Stopping Billing If you no longer need to use your FunctionGraph and related resources, you can unsubscribe from or delete them to stop the billing. For details, see Billing Termination. Pricing For details about FunctionGraph prices, see FunctionGraph Pricing.
Options: GET, POST, DELETE, PUT, PATCH, HEAD, OPTIONS, and ANY. ANY indicates that the API can be called using any request method. Click Create. Creating an APIG (Dedicated) Trigger APIG flow triggers support only IAM authentication.
Do not delete this created agency. Otherwise, CDN cannot call functions in FunctionGraph. Procedure Log in to the FunctionGraph console and choose Templates in the navigation pane.
Function Monitoring API You can call APIs to create, delete, query, and execute functions. Available in all regions where FunctionGraph is deployed. Calling APIs Function Development Multiple runtimes, such as Node.js, Python, and Java, can be used to develop functions.
Enumeration values: create delete tags No Array of KvItem objects Tag list. sys_tags No Array of KvItem objects System tags. Table 4 KvItem Parameter Mandatory Type Description key No String Key. value No String Value.
If the instance is abnormal, you can delete it based on its ID. Note that this API is only available for whitelisted users. This API is only available in CN South-Guangzhou and CN Southwest-Guiyang1.
In the confirmation dialog box, click Delete to delete the function. Copying URN Right-click the target function and choose Copy URN from the shortcut menu. Parent topic: Development Tools
Figure 3 Deleting an alias Click OK to delete the version. Parent topic: Configuring Functions
Stopping a Share If a function share is no longer needed, the owner can delete it at any time. The shared functions will not be deleted. After a function share is deleted, the specified principals cannot use the functions in the share. For details, see Deleting a Resource Share.
The following is an example of a deny policy: { "Version": "1.1", "Statement": [ "Effect": "Deny", "Action": [ "functiongraph:function:delete" ] ] } Example 3: Configuring permissions for specific resources You can grant an IAM user
Log in to the APIG console, take the API offline, delete the API, and try again. Figure 11 Clicking the FunctionGraph link Figure 12 Viewing the API name
they are in different regions, for example, the function is running in CN-Hong Kong and the ECS to be started or stopped is located in AP-Bangkok, change the values of projectId and region to those of AP-Bangkok, obtain an AK/SK and add them to the environment variables, and then delete
Permissions for VPC access: an agency with the VPC Administrator permission or with the least permissions listed in Table 1 Table 1 Least permissions required Permission Action Deleting a port vpc:ports:delete Querying a port vpc:ports:get Creating a port vpc:ports:create Querying