检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Enumeration values: inline zip obs jar code_url No String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename No String Name of a function file.
Using FunctionGraph to Encrypt and Decrypt Files in OBS Use a function and an OBS Application Service trigger to encrypt and decrypt files in OBS.
client - smnsdk SMN access (public cloud) 1.0.1 Other third-party libraries For other third-party libraries not listed in the preceding tables, package and upload them to an OBS bucket or on the function details page.
Upload from OBS: Enter the OBS link of the ZIP file in the OBS bucket. Note that the OBS bucket must be in the same region as the function. For details about how to upload an object to OBS, see Uploading an Object.
) Trigger EventGrid Trigger (OBS Application Service) DMS (for HC.RocketMQ) Trigger DMS (for HC.RabbitMQ) Trigger Managing Function Triggers Parent Topic: Configuring Functions
Typical Scenarios Download files stored in Object Storage Service (OBS) to the /tmp directory for processing. To store function execution data in OBS, create a file in the /tmp directory, write the data into the file, and then upload the file to OBS. Parent topic: General FAQs
Upload code from OBS: Upload a ZIP or JAR file in an OBS bucket by specifying the OBS bucket address.
Upload from OBS: Specify an OBS link URL. For details about how to obtain the URL, see Accessing an Object Using Its URL. Runtime Select a runtime. Description Description of the dependency. This parameter is optional. Click OK. By default, a new dependency is version 1.
OBS SMN DIS FunctionGraph Enumeration values: OBS SMN DIS FunctionGraph param No String Parameters (in JSON format) corresponding to the target service. OBS: Parameters related to the bucket name, object directory prefix, and object expiration time are included.
Figure 2 Upload Files to OBS Action Name: Enter Upload Function Package to OBS. Build Directory: Enter helloworld/code/helloworld.zip. Bucket Name: Specify a private bucket to store the function code ZIP package. OBS Directory: Enter function.
OBS Target Bucket Directory: Select the OBS bucket directory for storing notification messages. Object Prefix Directory: Enter an object prefix directory to filter the object files for storing notification messages.
Event list APIG Events OBS Events Parent topic: Serverless Framework
Enumeration values: inline zip obs jar Custom-Image-Swr code_url String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename String Name of a function file.
A data tracker records details of user operations on data in OBS buckets. It records data traces reported by OBS, detailing user operations on data in OBS buckets, including uploads and downloads.
Enumeration values: inline zip obs jar Custom-Image-Swr code_url String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename String Name of a function file.
Configuring Function Code Editing Function Code Inline Uploading Function Code Uploading Function Code from OBS Parent Topic: Configuring Functions
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).
Enumeration values: inline zip obs jar Custom-Image-Swr code_url String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename String Name of a function file.
resources. 3.0.3 smnsdk Python SDK of SMN, which is used to access the SMN service. 1.0.1 Other third-party dependency libraries Compress the dependent third-party libraries into a ZIP file, upload the ZIP file to an OBS bucket or upload it on the function console.
Options: inline: inline code zip: ZIP file obs: function code stored in an OBS bucket jar: JAR file, mainly for Java functions codeUrl False String If CodeType is set to obs, enter the OBS URL of the function code package.