检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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
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
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
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
容。 将skywalking agent直接嵌入到扩展代码中,即可通过扩展完成对函数请求的监控。 示例代码:skywalking-go.zip func startSkywalkingAgent() { r, err := reporter.NewGRPCReporter("10
上传至OBS桶。如需修改函数执行入口,请参见修改函数执行入口。 约束与限制 请确保函数与OBS桶所在区域一致。 函数工作流控制台支持上传ZIP格式和JAR格式(仅限Java运行时)的代码文件。 程序文件解压后的源代码大小不能超过1.5G,如需部署超大代码请提交工单处理。 当代码编
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
组ID用于对访问远端文件系统的目录权限进行控制。 文件系统/云服务器名称:选择创建的文件系统或者云服务器资源,注意函数配置的VPC和委托要有访问权限。 共享目录路径:如果选择ECS挂载需要配置远端共享目录,请参见ECS创建nfs共享目录。 函数访问路径:为本地文件系统挂载目录,不能是系统已存在目录。建议使用/mnt/
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
华为云 函数工作流 函数工作流(FunctionGraph)是华为云提供的一款无服务器(Serverless)计算服务,无服务器计算是一种托管服务,服务提供商会实时为你分配充足的资源,而不需要预留专用的服务器或容量,真正按实际使用付费。 免费体验 图说函数工作流 仅两个按钮时选用 立即使用
以同步执行函数为例,提供封装后的SDK。为了保证您成功使用以下示例代码,您需要先添加对应语言的SDK依赖。 表1 Python SDK信息说明 SDK信息 说明 安装 pip install huaweicloudsdkfunctiongraph 相关链接 SDK依赖包地址 Python SDK使用说明 SDK
请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 name 是 String 函数流名称 最小长度:1 最大长度:64 description 否 String 函数流描述 最小长度:1 最大长度:512 start 是 String 流程开始节点ID 最小长度:1 最大长度:256
请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 name 是 String 函数流名称 最小长度:1 最大长度:64 description 否 String 函数流描述 最小长度:1 最大长度:512 start 是 String 流程开始节点ID 最小长度:1 最大长度:256
函数中可直接调用Java运行环境,无需另外安装。 图3 输入启动参数 选中jar包和bootstrap文件,打包成zip包。 创建HTTP函数并上传代码 创建1个HTTP函数,并上传已打包的zip包。请参见创建HTTP函数。 验证结果 使用函数测试事件验证 在函数详情页,选择函数版本,单击“配置测试事件”,弹出“配置测试事件”页。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted