检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For a larger file, upload it through OBS. depend_link No String URL of the dependency in the OBS console when depend_type is set to obs. depend_type Yes String Import mode. Options: obs and zip. runtime Yes String Environment for executing a function.
(OBS triggers are not available in the International regions.)
Enumeration values: inline zip obs jar Custom-Image-Swr 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.
Store processed log data in a specified OBS bucket for subsequent processing. The processing workflow is shown in Figure 1. Figure 1 Processing workflow Values Quickly collects and converts logs through LTS.
Options: FLOWTIMER SMN APIG_DE (dedicated) OBS (OBS triggers are not available in the International regions.) Minimum: 1 Maximum: 32 Enumeration values: FLOWTIMER SMN APIG_DE OBS enabled No Boolean Whether to enable the trigger.
Options: FLOWTIMER SMN APIG_DE (dedicated) OBS (OBS triggers are not available in the International regions.) Minimum: 1 Maximum: 32 Enumeration values: FLOWTIMER SMN APIG_DE OBS enabled No Boolean Whether to enable the trigger.
obs:bucket:GetBucketLocation obs:bucket:GetBucketNotification obs:bucket:PutBucketNotification obs:bucket:ListBucket SMN smn:topic:list smn:topic:update TMS tms:predefineTags:list tms:tagValues:list DNS dns:recordset:create, dns:recordset:list, dns:recordset:update, dns:zone:create
FunctionGraph then automatically sends all telemetry data to your extension for processing, for example, storing to OBS, writing to files, or forwarding to other observability tools.
Scenarios Cloud product integration: OBS real-time file processing and LTS log processing. ETL data processing: database data cleaning and message queue processing. Regular tasks: scheduled, periodic, and script tasks.
GetObject(obs_address, srcBucket, srcObjName, ak, sk) outFile = watermark_image(srcObjName) # Upload converted files to a new OBS bucket.
FunctionGraph OBS DIS SMN Failure Notification Target Service: to which a notification will be sent if a function fails to be executed. FunctionGraph OBS DIS SMN Click OK.
OBS SMN DIS FunctionGraph Enumeration values: OBS SMN DIS FunctionGraph param 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.
For a larger file, upload it through OBS. depend_link No String URL of the dependency in the OBS console when depend_type is set to obs. depend_type Yes String Import mode. Options: obs and zip. runtime Yes String Environment for executing a function.
Cloud service access: To access other cloud services, such as OBS and LTS, grant FunctionGraph with the corresponding access permissions. IAM account authorization: FunctionGraph can use IAM to grant different function operation permissions to IAM users. Parent Topic: Security
Types The Serverless Framework supports OBS and APIG events of the FunctionGraph. For details, see Event list. Deployment To deploy or update your functions and events, run: serverless deploy Parent topic: User Guide
This combination is suitable for processing device data and storing them to OBS, structuring and cleansing data and storing them to a database, and sending event notifications for device status changes. This best practice focuses on how to combine IoTDA and FunctionGraph.
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.
With the Eclipse plug-in, you can quickly create Java function templates, package function project files, upload function packages to OBS, and deploy functions. Obtain the Eclipse plug-in (software package verification file: Eclipse plug-in.sha256).
Others When you create a function or dependency, your code is stored in a private OBS bucket. You can configure an ACL for each object to ensure that only the specified tenant can read and write the object, isolating access from other tenants.
For a larger file, upload it through OBS. depend_link No String URL of the dependency in the OBS console when depend_type is set to obs. depend_type Yes String Import mode. Options: obs and zip. runtime Yes String Environment for executing a function.