检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
https://{Endpoint}/v2/{project_id}/fgs/functions { "code_filename": "index.zip", "code_type": "inline", "func_code": { "file": "UEsDBAoAAAAIABY
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
表3 WorkflowCreateBody 参数 参数类型 描述 name String 函数流名称 最小长度:1 最大长度:64 description String 函数流描述 最小长度:1 最大长度:512 start String 流程开始节点ID 最小长度:1 最大长度:256
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
步骤三:配置部署主机 在CodeArts界面,在“设置 > 通用设置”页签下,选择“主机组管理”,单击“新建主机组”。 输入主机组名“deploy-function”,单击“保存”: 图1 填写主机组名 在跳转界面“主机信息”页签下,单击“导入ECS”。 将部署环境准备的ECS云
云监控支持的函数监控指标请参考监控配置。 虚拟私有云(VPC) 函数支持用户创建虚拟私有云(VPC)并访问自己VPC内的资源,同时支持通过SNAT方式绑定EIP访问外网。相关内容请参考虚拟私有云用户指南。
其中releaseVersion设置为流水线参数。 图10 releaseVersion参数设置 单击“保存”,保存部署任务。 在“基础信息”页签下,更新流水线名称为pipeline-update-function-deploy,并单击“保存”流水线。 执行流水线 运行时参数配置releaseVersion为1
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
下载示例代码 fss_examples_image_thumbnail_eg.zip。 在“代码”页签,选择“上传自Zip文件”,添加下载的“fss_examples_image_thumbnail_eg.zip”文件,单击“确定”,代码自动部署。 单击页面最底部的“添加依赖包”,添加公共依赖包“pillow-7
谷、亚太-新加坡、拉美-墨西哥城二、拉美-圣保罗一、拉美-圣地亚哥 HTTP函数 函数流 函数流是用来编排FunctionGraph函数的工具,可以将多个函数编排成一个协调多个分布式函数任务执行的工作流。 发布区域:华北-北京四、华东-上海一、华东-上海二、华南-广州、亚太-新加坡
et') if obs_address is None: obs_address = '{obs_address_ip}' if outputBucket is None: outputBucket = 'casebucket-out'
功能应用类实践 表2 FunctionGraph功能应用类最佳实践 最佳实践 说明 使用FunctionGraph函数和CTS识别非法IP的登录登出操作 本章节介绍如何结合云审计服务CTS,配置获取云服务资源操作信息并对信息进行分析和处理的函数,再通过消息通知服务SMN推送告警短信和邮件,通知业务人员处理。
URI-scheme:表示用于传输请求的协议,当前所有API均采用HTTPS协议。 Endpoint:指定承载REST服务端点的服务器域名或IP,不同服务不同区域的Endpoint不同,您可以从地区和终端节点中获取。例如IAM服务在“华北-北京一”区域的Endpoint为“iam.cn-north-1
allowed limit (2 KB). 环境变量总大小超过限制(2K) 检查环境变量的总大小 400 FSS.1019 The description exceeds the maximum allowed limit (512 characters). 描述信息长度超过限制(512
阶段 相关文档 1 函数支持访问VPC资源 函数新增支持用户创建虚拟私有云(VPC)并访问自己VPC内的资源,同时支持通过SNAT方式绑定EIP访问外网。在编辑函数时,您可以通过配置,为函数增加VPC网络的访问能力。 商用 函数配置VPC 2019年2月 序号 功能名称 功能描述 阶段
API方法 注册 http://${EXTENSION_API_ADDR}/extension/register 进程部署的扩展都需要在FunctionGraph注册成功后才能接收事件。您可以通过 EXTENSION_API_ADDR 环境变量得到FunctionGraph平台开
使用RabbitMQ触发器 本节介绍如何通过函数工作流控制台创建RabbitMQ触发器(当前只支持fanout路由模式),以实现FunctionGraph在RabbitMQ实例中,指定交换机绑定的队列下的新消息进行定期轮询。FunctionGraph会将轮询得到的消息作为参数,用于调用相应函数。