FunctionGraph
FunctionGraph
All results for "
" in this service
All results for "
" in this service
What's New
Function Overview
Service Overview
FunctionGraph Infographics
What Is FunctionGraph?
Product Features
Product Advantages
Application Scenarios
Function Selection
Function Storage Selection
Function Type Selection
Function Instance Types and Usage Modes
Notes and Constraints
Security
Shared Responsibilities
Asset Identification and Management
Identity Authentication and Access Control
Data Protection
Audit and Logs
Resilience
Security Risk Monitoring
Certificates
Code Signature
Data Plane Assurance
Permissions Management
Concepts
Relationships Between FunctionGraph and Other Services
Billing
FunctionGraph Billing Overview
Billing Modes
Overview
Pay-per-Use Billing
Billing Items
Billing Examples
Free Tier
Renewing Subscriptions
Bills
Arrears
Billing Termination
Cost Optimization
Billing FAQ
Getting Started
Getting Started with Common Practices
Creating a Function from Scratch and Executing the Function
Creating a Function Using a Template and Executing the Function
Creating an HTTP Function Using a Container Image and Executing the Function
Creating an Event Function Using a Container Image and Executing the Function
User Guide
Process of Using FunctionGraph
Creating a User and Granting Permissions
Supported Runtimes
Creating a Function
Creating a Function from Scratch
Creating an Event Function
Creating an HTTP Function
Creating a Function Using a Template
Creating a Function with an Image
Creating a Function by Running Terraform Commands
Configuring Functions
Overview
Configuring Function Code
Editing Function Code Inline
Uploading Function Code
Uploading Function Code from OBS
Configuring Dependencies
Overview
Creating a Private Dependency for a Function
Configuring a Dependency for a Function
Configuring Agency Permissions
Configuring Networks
Configuring Triggers
Overview
Timer Trigger
API Gateway (Dedicated) Trigger
API Connect (APIC) Trigger
Cloud Trace Service (CTS) Trigger
Document Database Service (DDS) Trigger (Offline Soon)
Data Ingestion Service (DIS) Trigger
DMS (for Kafka) Trigger
Kafka (Open-Source) Trigger
DMS (for RabbitMQ) Trigger
GeminiDB Mongo Trigger
IoT Device Access (IoTDA) Trigger
Log Tank Service (LTS) Trigger
Simple Message Notification (SMN) Trigger
Object Storage Service (OBS) Trigger
EventGrid Trigger (OBS Application Service)
DMS (for HC.RocketMQ) Trigger
DMS (for HC.RabbitMQ) Trigger
Managing Function Triggers
Debugging Functions Online
Invoking the Function
Managing Functions
Initialization
Basic Settings
Disk Mounting
Environment Variables
Asynchronous Notification Policy
Concurrency
Versions
Aliases
Tags
Dynamic Memory
Heartbeat Function
Snapshot-based Cold Start
WebSocket
Streaming Response
Class Isolation and Pre-stop for Java Functions
Transferring Secret Keys Through the Request Header
Importing and Exporting Functions
Enabling or Disabling Functions
Reserved Instances
Sharing Functions Based on RAM
Configuring Function Flows
Creating a Flow
Starting a Flow
Configuring Function a Flow Component
Configuring a Function Component
Configuring a Subflow Processor
Configuring a Parallel Branch Processor
Configuring a Start Processor
Configuring an Error Handling Processor
Configuring a Loop Processor
Configuring a Wait Processor
Configuring a Service Processor
Configuring a Conditional Branch Processor
Managing Function Flows
Deploying the Function Application Using a Template
Managing Functions Using KooCLI
Applying for More FunctionGraph Quotas
Viewing Metrics and Configuring Alarms
Introduction
FunctionGraph Metrics
Viewing FunctionGraph Metrics
Configuring an Alarm Rule
Configuring and Viewing Function Invocation Logs
Configuring and Viewing Tracing
Querying Audit Logs
FunctionGraph Operations Supported by CTS
Viewing CTS Traces in the Trace List
Best Practices
FunctionGraph Best Practices
Performance Optimization and Security Practices
Performance Optimization
Cold Start Optimization
Security Best Practices
Data Processing Practices
Using FunctionGraph to Compress Images in OBS
Using FunctionGraph to Watermark Images in OBS
Introduction
Preparation
Building a Program
Adding an Event Source
Watermarking Images
Using FunctionGraph to Convert DIS Data Format and Store the Data to CloudTable
Introduction
Preparation
Building a Program
Adding an Event Source
Processing Data
Uploading Files Using APIs in FunctionGraph
Introduction
Resource Planning
Procedure
Node.js
Python
Converting Device Coordinate Data in IoTDA
Introduction
Preparation
Building a Program
Using FunctionGraph to Encrypt and Decrypt Files in OBS
Introduction
Preparation
Building a Program
Adding an Event Source
Processing Files
Identifying Abnormal Service Logs in LTS and Storing Them in OBS
Introduction
Preparation
Building a Program
Adding an Event Source
Processing Log Data
Using FunctionGraph to Filter Logs in LTS in Real Time
Introduction
Preparation
Building a Program
Adding an Event Source
Processing Results
Using FunctionGraph to Rotate Images Stored in OBS
Introduction
Preparation
Building a Program
Processing Images
Using FunctionGraph to Compress and Watermark Images
Functional Application Practices
Using FunctionGraph and CTS to Identify Login and Logout Operations from Invalid IP Addresses
Introduction
Preparation
Building a Program
Adding an Event Source
Processing Operation Records
Using FunctionGraph to Periodically Start and Stop ECSs
Using FunctionGraph Functions As the Backend to Implement APIG Custom Authorizers
Introduction
Resource Planning
Building a Program
Adding an Event Source
Debugging and Calling the API
Using FunctionGraph HTTP Functions to Process gRPC Requests
Using a Java Function and Log4j2 to Print Logs
Using FunctionGraph to Deploy Stable Diffusion for AI Drawing
Introduction
Resource and Cost Planning
Procedure
Deploying and Using the Stable Diffusion Application
(Optional) Binding a Custom Domain Name
(Optional) Uploading a Custom Model
(Advanced) Using ECS as an NFS Server to Isolate Resources of Multiple Users
(Advanced) Mounting an SFS File System to Multiple Users
(Advanced) Enabling WebUI Authentication
(Advanced) Accessing Applications Using APIs
Disclaimer
Deploying an MCP Server Using FunctionGraph
Function Building Practices
Building an HTTP Function Using an Existing Spring Boot Project
Building an HTTP Function Using Go
Using FunctionGraph to Access RDS for MySQL
Introduction
Procedure
Sample Code for Accessing RDS for MySQL
Sample Code Interpretation
Developer Guide
Overview
Function Development
Supported Event Sources
Function Project Packaging Rules
Referencing DLLs in Functions
Initializer
Node.js
Developing an Event Function
Developing an HTTP Function
Node.js Template
Creating a Dependency
Python
Developing an Event Function
Python Template
Creating a Dependency
Java
Developing an Event Function
Developing Functions in Java (Using Eclipse)
Developing Functions in Java (Using an IDEA Java Project)
Developing Functions in Java (Using an IDEA Maven Project)
Java Template
Creating a Dependency
Go
Developing an Event Function
C#
Developing an Event Function
C# Function Development
JSON Serialization and Deserialization
Using .NET Core CLI
Using Visual Studio
PHP
Developing an Event Function
Creating a Dependency
Development Tools
FunctionGraph and IaC
Local Debugging with VSCode
Eclipse Plug-in
PyCharm Plug-in
Serverless Devs
Introduction
Key Configuration
Using Commands
deploy
version
Project Migration fun2s
remove
alias
YAML File
Huawei Cloud FunctionGraph YAML Specifications
Global Parameters of Serverless Devs
Serverless Framework
User Guide
Introduction
Quick Start
Installation
Credentials
Service
Functions
Events
Deploy
Package
Variables
CLI Reference
Create
Install
Package
Deploy
Info
Invoke
Logs
Remove
Event list
APIG Events
OBS Events
Automated Deployment
Preparing an Environment
Hosting Function Code with DevCloud
Step 1: Create a Project
Step 2: Host Function Code
Step 3: Configure a Deployment Host
Step 4: Set Up a Pipeline for Updating the Function Deployment Script
Step 5: Set Up a Function Update Pipeline
Sample Code of deploy.py
Analyzing cam.yaml
API Reference
Before You Start
FunctionGraph Models
Function Model
Trigger Management Models
API Overview
Calling APIs
Making an API Request
Authentication
Response
Examples
Example 1: Using a Timer Trigger to Periodically Download Files from an OBS Bucket
Example 2: Creating a Function by Uploading Code to an OBS Bucket
Example 3: Using a Function to Invoke a Subfunction
Extension and OpenTelemetry APIs
Extension APIs
Introduction
Procedure
Creating an Extension Dependency
Extension API Reference
API Methods
Connecting to SkyWalking with an Extension
Connecting to DataDog with an Extension
Telemetry APIs
Introduction
Using OpenTelemetry APIs with an Extension
Registering OpenTelemetry APIs
Processing Telemetry Data
APIs
Function Invocation
Executing a Function Synchronously
Executing a Function Asynchronously
Executing a Function Asynchronously and Returning Reserved Instance IDs(Discarded)
Function Quotas
Querying Tenant Quotas
Dependencies
Querying Dependencies
Creating a Dependency(To Be Discarded)
Creating a Dependency Version
Querying Dependency Versions
Querying a Dependency Version
Deleting a Dependency Version
Deleting a Dependency(To Be Discarded)
Querying a Dependency(To Be Discarded)
Updating a Dependency(To Be Discarded)
Test Events
Querying Test Events of a Function
Creating a Test Event
Deleting a Test Event
Obtaining the Details of a Test Event
Updating a Test Event
Function Tracing
Querying Tracing Configuration
Modifying Tracing Configuration
Function Lifecycle Management
Querying Functions
Creating a Function
Deleting a Function or Function Version
Querying the Code of a Function
Modifying the Code of a Function
Querying the Metadata of a Function
Modifying the Metadata of a Function
Updating Max. Instances of a Function
Querying Function Tags
Enabling or Disabling the Snapshot Function
Querying ServiceBridge Functions Bound to a Specified Function
Querying Snapshot Status
Querying Resource Tags
Querying Resources
Deleting Resource Tags
Creating Resource Tags
Creating a VPC Endpoint
Deleting a VPC Endpoint
Updating the Pinning Status of a Function
Querying the Available ServiceBridge Version(Discarded)
Versions and Aliases
Querying All Versions and Aliases of a Function
Creating an Alias for a Function Version
Deleting an Alias of a Function Version
Querying the Alias of a Function Version
Modifying the Alias of a Function Version
Querying the Versions of a Function
Publishing a Function Version
Function Metrics
Querying Top Functions for a Specified Metric
Querying Tenant-Level Function Statistics
Querying Metrics in a Specified Period
Querying Instance Usage Metrics of a Specified Function
Querying Instance Traffic Metrics of a Function
Function Logs
Querying Details About Asynchronous Invocation Logs
Querying the Log Group and Stream of a Function
Enabling the Function of Reporting Logs to LTS
Enabling Asynchronous Status Notification
Function Templates
Querying Function Templates
Querying a Specified Function Template
Reserved Instances
Querying Reserved Instances of a Function
Changing the Number of Reserved Instances
Querying the Number of Reserved Instances
Function Import and Export
Exporting a Function
Importing a Function
Function Triggers
Deleting All Triggers of a Function
Querying All Triggers of a Function
Creating a Trigger
Deleting a Trigger
Querying a Trigger
Updating a Trigger
Function Flows
Executing a Flow Synchronously
Executing a Flow Asynchronously
Deleting Flows
Querying a Flow
Creating a Flow
Querying Instances of a Flow
Querying a Flow Instance
Querying Metadata of a Flow Instance
Modifying Metadata of a Flow Instance
Querying Flow Metrics
Querying Metrics of a Flow
Re-executing a Flow
Stopping a Flow
Querying Records of a Flow in Pagination Mode
Calling Back a Flow
Asynchronous Execution Notification
Querying Asynchronous Execution Notification Settings of a Function Version
Deleting Asynchronous Execution Notification Settings
Configuring Asynchronous Execution Notification
Querying Asynchronous Execution Notification Settings of a Function's All Versions
Querying Asynchronous Invocation Requests
Querying Active Asynchronous Invocation Requests
Stopping an Asynchronous Invocation Request
Permissions Policies and Supported Actions
Appendix
Status Codes
Error Codes
Obtaining Account, IAM User, Project, User Group, Region, and Agency Information
FunctionGraph Metrics
Change History
SDK Reference
SDK Overview
Java SDK
Node.js SDK
Python SDK
Go SDK
PHP SDK
.NET SDK
FAQs
General FAQs
What Is FunctionGraph?
Do I Need to Apply for Any Compute, Storage, or Network Services When Using FunctionGraph?
Do I Need to Deploy My Code After Programming?
How Do I Obtain a Token?
What Runtimes Does FunctionGraph Support?
How Much Disk Space Is Allocated to Each FunctionGraph Function?
Does FunctionGraph Support Function Versioning?
How Does a Function Read or Write Files?
How Do I Set a Proxy When Using CLI?
Does FunctionGraph Support Function Extension?
Which Permissions Are Required for an IAM User to Use FunctionGraph?
How Can I Create an ODBC Drive-based Python Dependency Package for Database Query?
What Is the Quota of FunctionGraph?
What Chinese Fonts Does FunctionGraph Support?
How Does FunctionGraph Implement Domain Name Resolution?
How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?
What Are the Common Application Scenarios of FunctionGraph?
Why Can't the API Gateway Domain Name Bound to a Service Be Resolved During Function Invocation?
Does FunctionGraph Support Synchronous Transmission at the Maximum Intranet Bandwidth?
What If the VPC Quota Is Used Up?
How Can I Print Info, Error, or Warn Logs?
Can I Set the Domain Name of an API to My Own Domain Name?
Can I Change the Runtime?
Can I Change a Function's Name?
Why Is Message "failed to mount exist system path" Displayed?
How Do I Obtain Uploaded Files?
Why Can't I Receive Responses for Synchronous Invocation?
What Should I Do If the os.system("command &") Execution Logs Are Not Collected?
Which Directories Can Be Accessed When a Custom Runtime Is Used?
Which Minor Versions of Python 3.6 and 3.9 Are Supported?
Which Actions Can Be Used Instead of a VPC Administrator Agency for VPC Access?
What Are the Possible Causes for Function Timeout?
How Do I Obtain the Code of a Function?
Do You Have Sample Code for Initializers?
How Do I Enable Structured Log Query?
Can I Enable a Listening Port in a Function to Receive External TCP Requests via EIP?
Does FunctionGraph Support Domain Name Resolution?
How Do I Obtain the Source IP Address of an HTTP Request Initiated by a Function?
Function Creation FAQs
Can I Add Threads and Processes in Function Code?
What Are the Rules for Packaging a Function Project?
How Does FunctionGraph Isolate Code?
How Do I Create the Bootstrap File for an HTTP Function?
Trigger Management FAQs
What Events Can Trigger a FunctionGraph Function?
What If Error Code 500 Is Reported When Functions that Use APIG Triggers Return Strings?
What Do LATEST and TRIM_HORIZON Mean in DIS Trigger Configuration?
How Do I Use an APIG Trigger to Invoke a Function?
How Does a Function Obtain the Request Path or Parameters When Using an APIG Trigger?
Can I Configure a Kafka Trigger in a Different Subnet from My Function?
Dependency Management FAQs
What Is a Dependency?
When Do I Need a Dependency?
What Are the Precautions for Using a Dependency?
What Dependencies Does FunctionGraph Support?
Does FunctionGraph Support Class Libraries?
How Do I Use Third-Party Dependencies on FunctionGraph?
How Do I Create Function Dependencies?
How Do I Create a Dependency on the FunctionGraph Console?
How Do I Add a Dependency to a Function?
Function Execution FAQs
How Long Does It Take to Execute a FunctionGraph Function?
Which Steps Are Included in Function Execution?
How Does FunctionGraph Process Concurrent Requests?
What If Function Instances Have Not Been Executed for a Long Time?
How Can I Speed Up Initial Access to a Function?
How Do I Know the Actual Memory Used for Function Execution?
Why Is My First Request Slow?
What Do I Do If an Error Occurs When Calling an API?
How Do I Read the Request Header of a Function?
Can the Synchronous Execution Interface Be Invoked on a Private Network?
How Do I Check the Memory Usage When Seeing "runtime memory limit exceeded"?
How Do I Troubleshoot "CrashLoopBackOff"?
After I Updated an Image with the Same Name, Reserved Instances Still Use the Old Image. What Can I Do?
Function Configuration FAQs
Can I Set Environment Variables When Creating Functions?
Can I Enter Sensitive Information in Environment Variables?
How Do I Use a Function to Invoke a Subfunction?
How Do I Use the Versions and Aliases of an HTTP Function with an APIG Trigger for Gray Upgrade?
External Resource Access FAQs
How Does a Function Access the MySQL Database?
How Does a Function Access Redis?
What Do I Do If My Function Cannot Connect to Redis Through a VPC?
How Do I Configure External Network Access?
Other FAQs
How Do I View the Alarm Rules Configured for a Function?
Does FunctionGraph Support ZIP Decompiling During Video Transcoding?
Will Resources Created During FunctionGraph 2.0 OBT Be Automatically Released When They Expire? Will Them Be Billed?
What Is an App in FunctionGraph?
Do I Need to Pay for Cold Start Time?
Why Am I Seeing a Message Indicating that My Account Was Suspended When Creating a Function?
Will the Requests of All My Functions in Different Regions Be Billed?
Migration from FunctionGraph V1 to V2
What Compatibility Issues Exist During the Migration?
Why Can't I Print Logs of a Python 2.7 Function After the Execution of reload(sys)?
More Documents
User Guide (ME-Abu Dhabi Region)
Service Overview
What Is FunctionGraph?
Product Features
Product Advantages
Application Scenarios
Function Types
Event Functions
HTTP Functions
Notes and Constraints
Billing
Permissions Management
Concepts
Relationships Between FunctionGraph and Other Services
Getting Started
Introduction
Creating a Function from Scratch
Creating a Function Using a Template
Deploying a Function Using a Container Image
Developing an HTTP Function
Developing an Event Function
Before You Start
Use of FunctionGraph
Permissions Management
Creating a User and Granting Permissions
Creating a Custom Policy
Supported Programming Languages
Node.js
Python
Java
Go
Custom Runtime
Building Functions
Creating a Deployment Package
Creating a Function from Scratch
Creating an Event Function
Creating an HTTP Function
Creating a Function Using a Template
Deploying a Function Using a Container Image
Configuring Functions
Configuring Initialization
Configuring Basic Settings
Configuring Agency Permissions
Configuring the Network
Configuring Disk Mounting
Configuring Environment Variables
Configuring Asynchronous Execution Notification
Configuring Single-Instance Multi-Concurrency
Managing Versions
Managing Aliases
Configuring Dynamic Memory
Configuring Heartbeat Function
Online Debugging
Creating Triggers
Managing Triggers
Using a Timer Trigger
Using an APIG (Dedicated) Trigger
Using an OBS Trigger
Using a Kafka Trigger
Using a DIS Trigger
Using an SMN Trigger
Using an LTS Trigger
Using a DMS (for RabbitMQ) Trigger
Cron Expressions for a Function Timer Trigger
Invoking the Function
Synchronous Invocation
Asynchronous Invocation
Retry Mechanism
Monitoring
Metrics
Function Monitoring
Function Metrics
Creating an Alarm Rule
Logs
Querying Function Logs
Managing Function Logs
Tracing
Function Management
Dependency Management
Configuring Dependency Packages
Dependent Libraries
Reserved Instance Management
Increasing Resource Quota
Audit
Operations Logged by CTS
Viewing Audit Logs
FAQs
General FAQs
What Is FunctionGraph?
Do I Need to Apply for Any Compute, Storage, or Network Services When Using FunctionGraph?
Do I Need to Deploy My Code After Programming?
What Runtimes Does FunctionGraph Support?
How Much Disk Space Is Allocated to Each FunctionGraph Function?
Does FunctionGraph Support Function Versioning?
How Does a Function Read or Write Files?
Does FunctionGraph Support Function Extension?
Which Permissions Are Required for an IAM User to Use FunctionGraph?
How Can I Create an ODBC Drive-based Python Dependency Package for Database Query?
What Is the Quota of FunctionGraph?
How Does FunctionGraph Resolve a Private DNS Domain Name?
How Does a Container Image–based Function Resolve a Private DNS Domain Name?
How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?
What Are the Common Application Scenarios of FunctionGraph?
Why Can't the API Gateway Domain Name Bound to a Service Be Resolved During Function Invocation?
Does FunctionGraph Support Synchronous Transmission at the Maximum Intranet Bandwidth?
What If the VPC Quota Is Used Up?
How Can I Print Info, Error, or Warn Logs?
Can I Set the Domain Name of an API to My Own Domain Name?
Can I Change the Runtime?
Can I Change a Function's Name?
Why Is Message "failed to mount exist system path" Displayed?
How Do I Obtain Uploaded Files?
Why Can't I Receive Responses for Synchronous Invocation?
What Should I Do If the os.system("command &") Execution Logs Are Not Collected?
Which Directories Can Be Accessed When a Custom Runtime Is Used?
Which Minor Versions of Python 3.6 and 3.9 Are Supported?
Which Actions Can Be Used Instead of a VPC Administrator Agency for VPC Access?
What Are the Possible Causes for Function Timeout?
How Do I Obtain the Code of a Function?
Do You Have Sample Code for Initializers?
How Do I Enable Structured Log Query?
Can I Enable a Listening Port in a Function to Receive External TCP Requests via EIP?
Function Creation FAQs
Can I Add Threads and Processes in Function Code?
What Are the Rules for Packaging a Function Project?
How Does FunctionGraph Isolate Code?
How Do I Create the Bootstrap File for an HTTP Function?
Trigger Management FAQs
What Events Can Trigger a FunctionGraph Function?
What If Error Code 500 Is Reported When Functions that Use APIG Triggers Return Strings?
What Do LATEST and TRIM_HORIZON Mean in DIS Trigger Configuration?
Why Can't I Enable or Disable OBS Triggers by Calling APIs?
How Do I Use an APIG Trigger to Invoke a Function?
How Does a Function Obtain the Request Path or Parameters When Using an APIG Trigger?
Can I Create an OBS Trigger with an Existing Bucket?
Dependency Management FAQs
What Is a Dependency?
When Do I Need a Dependency?
What Are the Precautions for Using a Dependency?
What Dependencies Does FunctionGraph Support?
Does FunctionGraph Support Class Libraries?
How Do I Use Third-Party Dependencies on FunctionGraph?
How Do I Create Function Dependencies?
How Do I Create a Dependency on the FunctionGraph Console?
How Do I Add a Dependency to a Function?
Function Execution FAQs
How Long Does It Take to Execute a FunctionGraph Function?
Which Steps Are Included in Function Execution?
How Does FunctionGraph Process Concurrent Requests?
What If Function Instances Have Not Been Executed for a Long Time?
How Can I Speed Up Initial Access to a Function?
How Do I Know the Actual Memory Used for Function Execution?
Why Is My First Request Slow?
What Do I Do If an Error Occurs When Calling an API?
How Do I Read the Request Header of a Function?
Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?
How Do I Check the Memory Usage When Seeing "runtime memory limit exceeded"?
How Do I Troubleshoot "CrashLoopBackOff"?
After I Updated an Image with the Same Name, Reserved Instances Still Use the Old Image. What Can I Do?
Function Configuration FAQs
Can I Set Environment Variables When Creating Functions?
Can I Enter Sensitive Information in Environment Variables?
How Do I Use the Versions and Aliases of an HTTP Function with an APIG Trigger for Gray Upgrade?
External Resource Access FAQs
How Does a Function Access the MySQL Database?
How Does a Function Access Redis?
How Do I Configure External Network Access?
Other FAQs
How Do I View the Alarm Rules Configured for a Function?
Does FunctionGraph Support ZIP Decompiling During Video Transcoding?
API Reference (ME-Abu Dhabi Region)
Before You Start
Overview
API Calling
Endpoints
Constraints
Concepts
API Overview
Calling APIs
Making an API Request
Authentication
Response
Function Model Definition
Function Model
Trigger Management Models
Function Management Zone APIs
Querying a Function List
Querying the Metadata of a Function
Querying the Code of a Function
Creating a Function
Deleting a Function or Function Version
Modifying the Code of a Function
Modifying the Metadata of a Function
Publishing a Function Version
Querying the Versions of a Function
Creating an Alias for a Function Version
Modifying the Alias Information About a Function Version
Deleting an Alias of a Function Version
Querying the Alias Information About a Function Version
Querying the Version Alias List of a Function
Querying All Triggers of a Function
Querying the Information About a Trigger
Deleting All Triggers of a Function
Creating a Trigger
Deleting a Trigger
Function Data Zone APIs
Implementing Synchronous Function Invocation
Implementing Asynchronous Function Invocation
Permissions Policies and Supported Actions
Appendix
Status Codes
Error Codes
Obtaining a Project ID
FunctionGraph Metrics
Change History
Developer Guide (ME-Abu Dhabi Region)
Overview
Function Development
Supported Event Sources
Function Project Packaging Rules
Referencing DLLs in Functions
Initializer
Node.js
Developing an Event Function
Creating a Dependency
Python
Developing an Event Function
Creating a Dependency
Java
Developing an Event Function
Developing Functions in Java (Using Eclipse)
Creating a Dependency
Go
Developing an Event Function
Development Tools
Visual Studio Code Plug-in
Eclipse Plug-in
PyCharm Plug-in
Change History
User Guide (Kuala Lumpur Region)
Service Overview
What Is FunctionGraph?
Product Features
Product Advantages
Application Scenarios
Function Types
Event Functions
HTTP Functions
Notes and Constraints
Permissions Management
Concepts
Relationships Between FunctionGraph and Other Services
Getting Started
Introduction
Creating a Function from Scratch
Creating a Function Using a Template
Deploying a Function Using a Container Image
Developing an HTTP Function
Before You Start
Use of FunctionGraph
Permissions Management
Creating a User and Granting Permissions
Creating a Custom Policy
Supported Programming Languages
Node.js
Python
Java
Go
Custom Runtime
Building Functions
Creating a Deployment Package
Creating a Function from Scratch
Creating an Event Function
Creating an HTTP Function
Creating a Function Using a Template
Deploying a Function Using a Container Image
Configuring Functions
Configuring Initialization
Configuring Basic Settings
Configuring Agency Permissions
Configuring the Network
Configuring Disk Mounting
Configuring Environment Variables
Configuring Asynchronous Execution Notification
Configuring Single-Instance Multi-Concurrency
Managing Versions
Managing Aliases
Configuring Dynamic Memory
Online Debugging
Creating Triggers
Managing Triggers
Using a Timer Trigger
Using an APIG (Dedicated) Trigger
Using an OBS Trigger
Using a Kafka Trigger
Using an LTS Trigger
Using a CTS Trigger
Cron Expressions for a Function Timer Trigger
Invoking the Function
Synchronous Invocation
Asynchronous Invocation
Retry Mechanism
Monitoring
Metrics
Function Monitoring
Function Metrics
Creating an Alarm Rule
Logs
Querying Function Logs
Managing Function Logs
Function Management
Dependency Management
Configuring Dependency Packages
Dependent Libraries
Reserved Instance Management
Audit
Operations Logged by CTS
Querying Real-Time Traces
FAQs
General FAQs
What Is FunctionGraph?
Do I Need to Apply for Any Compute, Storage, or Network Services When Using FunctionGraph?
Do I Need to Deploy My Code After Programming?
What Runtimes Does FunctionGraph Support?
How Much Disk Space Is Allocated to Each FunctionGraph Function?
Does FunctionGraph Support Function Versioning?
How Does a Function Read or Write Files?
Does FunctionGraph Support Function Extension?
Which Permissions Are Required for an IAM User to Use FunctionGraph?
How Can I Create an ODBC Drive-based Python Dependency Package for Database Query?
What Is the Quota of FunctionGraph?
How Does a Container Image–based Function Resolve a Private DNS Domain Name?
How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?
What Are the Common Application Scenarios of FunctionGraph?
Why Can't the API Gateway Domain Name Bound to a Service Be Resolved During Function Invocation?
Does FunctionGraph Support Synchronous Transmission at the Maximum Intranet Bandwidth?
What If the VPC Quota Is Used Up?
How Can I Print Info, Error, or Warn Logs?
Can I Set the Domain Name of an API to My Own Domain Name?
Can I Change the Runtime?
Can I Change a Function's Name?
Why Is Message "failed to mount exist system path" Displayed?
How Do I Obtain Uploaded Files?
Why Can't I Receive Responses for Synchronous Invocation?
What Should I Do If the os.system("command &") Execution Logs Are Not Collected?
Which Directories Can Be Accessed When a Custom Runtime Is Used?
Which Minor Versions of Python 3.6 and 3.9 Are Supported?
Which Actions Can Be Used Instead of a VPC Administrator Agency for VPC Access?
What Are the Possible Causes for Function Timeout?
How Do I Obtain the Code of a Function?
Do You Have Sample Code for Initializers?
How Do I Enable Structured Log Query?
Can I Enable a Listening Port in a Function to Receive External TCP Requests via EIP?
Function Creation FAQs
Can I Add Threads and Processes in Function Code?
What Are the Rules for Packaging a Function Project?
How Does FunctionGraph Isolate Code?
How Do I Create the Bootstrap File for an HTTP Function?
Trigger Management FAQs
What If Error Code 500 Is Reported When Functions that Use APIG Triggers Return Strings?
What Do LATEST and TRIM_HORIZON Mean in DIS Trigger Configuration?
Why Can't I Enable or Disable OBS Triggers by Calling APIs?
How Do I Use an APIG Trigger to Invoke a Function?
How Does a Function Obtain the Request Path or Parameters When Using an APIG Trigger?
Can I Create an OBS Trigger with an Existing Bucket?
Dependency Management FAQs
What Is a Dependency?
When Do I Need a Dependency?
What Are the Precautions for Using a Dependency?
What Dependencies Does FunctionGraph Support?
Does FunctionGraph Support Class Libraries?
How Do I Use Third-Party Dependencies on FunctionGraph?
How Do I Create Function Dependencies?
How Do I Create a Dependency on the FunctionGraph Console?
How Do I Add a Dependency to a Function?
Function Execution FAQs
How Long Does It Take to Execute a FunctionGraph Function?
Which Steps Are Included in Function Execution?
How Does FunctionGraph Process Concurrent Requests?
What If Function Instances Have Not Been Executed for a Long Time?
How Can I Speed Up Initial Access to a Function?
How Do I Know the Actual Memory Used for Function Execution?
Why Is My First Request Slow?
What Do I Do If an Error Occurs When Calling an API?
How Do I Read the Request Header of a Function?
Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?
How Do I Check the Memory Usage When Seeing "runtime memory limit exceeded"?
How Do I Troubleshoot "CrashLoopBackOff"?
After I Updated an Image with the Same Name, Reserved Instances Still Use the Old Image. What Can I Do?
Function Configuration FAQs
Can I Set Environment Variables When Creating Functions?
Can I Enter Sensitive Information in Environment Variables?
External Resource Access FAQs
How Does a Function Access the MySQL Database?
How Does a Function Access Redis?
How Do I Configure External Network Access?
Other FAQs
How Do I View the Alarm Rules Configured for a Function?
Does FunctionGraph Support ZIP Decompiling During Video Transcoding?
Change History
API Reference (Kuala Lumpur Region)
Before You Start
Overview
API Calling
Endpoints
Constraints
Concepts
Function Model Definition
Function Model
Trigger Management Models
API Overview
Calling APIs
Making an API Request
Authentication
Response
Examples
Example 1: Using a Timer Trigger to Periodically Download Files from an OBS Bucket
Example 2: Using an APIG Trigger to Obtain a Static Web Page
Example 3: Creating a Function by Uploading Code to an OBS Bucket
APIs
Function Invocation
Executing a Function Synchronously
Executing a Function Asynchronously
Executing a Function Asynchronously and Returning Reserved Instance IDs(Discarded)
Function Quotas
Querying Tenant Quotas
Dependencies
Querying Dependencies
Creating a Dependency(To Be Discarded)
Creating a Dependency Version
Querying Dependency Versions
Querying a Dependency Version
Deleting a Dependency Version
Deleting a Dependency(To Be Discarded)
Querying a Dependency(To Be Discarded)
Updating a Dependency(To Be Discarded)
Test Events
Querying Test Events of a Function
Creating a Test Event
Deleting a Test Event
Obtaining the Details of a Test Event
Updating a Test Event
Function Tracing
Querying Tracing Configuration
Modifying Tracing Configuration
Function Lifecycle Management
Querying Functions
Creating a Function
Deleting a Function or Function Version
Querying the Code of a Function
Modifying the Code of a Function
Querying the Metadata of a Function
Modifying the Metadata of a Function
Updating Max. Instances of a Function
Enabling or Disabling the Snapshot Function
Querying Snapshot Status
Querying Resource Tags
Querying Resources
Deleting Resource Tags
Creating Resource Tags
Creating a VPC Endpoint
Deleting a VPC Endpoint
Versions and Aliases
Querying All Versions and Aliases of a Function
Creating an Alias for a Function Version
Deleting an Alias of a Function Version
Querying the Alias of a Function Version
Modifying the Alias of a Function Version
Querying the Versions of a Function
Publishing a Function Version
Function Metrics
Querying Top Functions for a Specified Metric
Querying Tenant-Level Function Statistics
Querying Metrics in a Specified Period
Function Logs
Querying the Log Group and Stream of a Function
Enabling Log Reporting to LTS
Reserved Instances
Querying Reserved Instances of a Function
Changing the Number of Reserved Instances
Querying the Number of Reserved Instances
Function Import and Export
Exporting a Function
Importing a Function
Function Triggers
Deleting All Triggers of a Function
Querying All Triggers of a Function
Creating a Trigger
Deleting a Trigger
Querying a Trigger
Updating a Trigger
Asynchronous Execution Notification
Querying Asynchronous Execution Notification Settings of a Function Version
Deleting Asynchronous Execution Notification Settings
Configuring Asynchronous Execution Notification
Querying Asynchronous Execution Notification Settings of a Function's All Versions
Querying Asynchronous Invocation Requests
Stopping an Asynchronous Invocation Request
Appendix
Status Codes
Error Codes
Obtaining a Project ID
FunctionGraph Metrics
Developer Guide (Kuala Lumpur Region)
Overview
Function Development
Supported Event Sources
Function Project Packaging Rules
Referencing DLLs in Functions
Initializer
Node.js
Developing an Event Function
Creating a Dependency
Python
Developing an Event Function
Creating a Dependency
Java
Developing an Event Function
Developing Functions in Java (Using Eclipse)
Creating a Dependency
Go
Developing an Event Function
C#
Developing an Event Function
C# Function Development
PHP
Developing an Event Function
Development Tools
Eclipse Plug-in
PyCharm Plug-in
Videos
General Reference
Glossary
Service Level Agreement
White Papers
Endpoints
Permissions