检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
开发事件函数 Java函数开发指南(使用Eclipse工具) Java函数开发指南(使用IDEA工具普通Java项目) Java函数开发指南(使用IDEA工具maven项目) 父主题: Java
但资源占用大的微服务逻辑,拆分成独立函数,常驻实例缩容到0;剩余微服务逻辑以Spring兼容方式进行函数化,实现函数化后的微服务快速冷启动和弹性,常驻实例减半。 图1 MFA Serverless改造前后架构 案例价值点 改造前单个代码仓集成多个功能,代码量巨大,维护困难;改造后
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 package com.huaweicloud.sdk.test; import
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 package com.huaweicloud.sdk.test; import com.huaweicloud
etry_attempts),当遇到TimeoutError、ConnectionError或ClusterDownError时进行重试,默认重试上限为3,代码如下: client = Redis(host=redis_host, port=redis_port,
alias命令是对函数别名操作的命令;主要包括别名的查看、发布、修改、删除等功能。 命令解析 alias get命令 参数解析 操作案例 alias list命令 参数解析 操作案例 alias publish命令 参数解析 操作案例 remove alias命令 父主题: 别名alias
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
通过数据工坊DWR服务创建的函数流,在函数工作流控制台只能查看,不能编辑和删除,相关操作请在DWR服务中执行。 当前允许流程中配置0-10个EG节点。 当EG节点连接异常处理节点时,最多可以再连接一个非开始节点和非异常处理节点。 当EG节点不连接异常处理节点时,只能连接一个非开始节点。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
deploy 命令是对函数资源进行部署的命令,即将本地在 Yaml文件 中声明的资源部署到线上。 命令解析 参数解析 操作案例 注意事项 deploy function命令 参数解析 操作案例 deploy trigger命令 操作案例 父主题: 部署deploy
命令是进行函数版本操作的命令;主要包括别名的查看、发布、删除等功能。 命令解析 version list命令 参数解析 操作案例 version publish命令 参数解析 操作案例 remove命令 命令解析 当执行命令version -h/version --help时,可以获取帮助文档。
********** ? Please create alias for key pair. If not, please enter to skip default 命令式配置 可以通过命令式直接进行密钥的添加: $ s config add --AccessKeyID ****** --SecretAccessKey
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
略内容。 具体创建步骤请参见:创建自定义策略。 以下为您介绍常用的FunctionGraph自定义策略样例。 示例1:授权用户查询函数代码和配置 { "Version": "1.1", "Statement": [
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
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 package com.huaweicloud.sdk.test; import com.huaweicloud
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