检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
前只支持defaultversion当前只支持latest name String 流程定义名称 最小长度:1 最大长度:64 description String 流程定义描述 最小长度:0 最大长度:512 created_time String 流程创建时间,格式:yyyy
开发HTTP函数 本章节通过HTTP函数部署koa框架,更多HTTP详情,请参见创建HTTP函数。 约束与限制 HTTP函数只能绑定APIG/APIC触发器,根据函数和APIG/APIC之间的转发协议,函数的返回合法的http响应报文中必须包含body(String)、statu
容。 将skywalking agent直接嵌入到扩展代码中,即可通过扩展完成对函数请求的监控。 示例代码:skywalking-go.zip func startSkywalkingAgent() { r, err := reporter.NewGRPCReporter("10
在调用接口时,部分URI中需要填入用户名、用户ID、账号名、账号ID、项目名称、项目ID,在“我的凭证”页面可以获取这些信息。 登录华为云管理控制台。 单击用户名,在下拉列表中单击“我的凭证”。 在“API凭证”页面的项目列表中查看账号名、账号ID、用户名、用户ID、项目名称、项目ID。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
以同步执行函数为例,提供封装后的SDK。为了保证您成功使用以下示例代码,您需要先添加对应语言的SDK依赖。 表1 Python SDK信息说明 SDK信息 说明 安装 pip install huaweicloudsdkfunctiongraph 相关链接 SDK依赖包地址 Python SDK使用说明 S
False Enum 触发器状态,取值为 ACTIVE、DISABLED,默认为 ACTIVE。 eventData True Struct 触发器配置,包括APIG 触发器, TIMER 触发器。 triggerTypeCode 目前支持:APIG、TIMER。 APIG 触发器 表2 APIG参数说明
使用CodeArts托管函数代码 步骤一:新建项目 步骤二:函数代码托管 步骤三:配置部署主机 步骤四:搭建函数部署脚本更新流水线 步骤五:搭建函数更新流水线 父主题: 自动化部署
实现一键生成python模板工程、打包、部署等功能。 获取插件(插件.sha256)。 打开JetBrains PyCharm,单击“File”菜单,选择“Settings ”,在弹出界面的菜单中选择“Plugins”页面,单击右上角设置按钮中的“Install plugin from
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
HTTPS timeout: 5000 在进行服务资源部署时,可能会涉及到交互式操作,相关的描述参考 deploy 命令 注意事项中的在部署时可能会涉及到交互式操作。 父主题: 部署deploy
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
驻实例减半。 图1 MFA Serverless改造前后架构 案例价值点 改造前单个代码仓集成多个功能,代码量巨大,维护困难;改造后函数、部署包、代码仓一一对应,方便迭代维护。 部分功能使用频次低,但仍然持续占用资源,CPU使用率低;改造后业务按需使用,低频服务缩容到0,明显降低资源成本。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
页面,左侧导航栏选择“规则 > 数据转发”后,并在“规则列表”中单击目标规则名称所在行右侧的“详情” ,进入数据转发规则详情页面。 选择“设置转发目标”,并单击转发目标所在行右侧的“测试”,开始编辑测试数据。 图1 转发规则测试 输入测试数据单击 “连通性测试” 。 { "resource":
持的所有类型触发器均可用于触发事件函数。 FunctionGraph原生支持事件类型函数,在函数创建界面默认选择该类型; 测试函数时在参数配置界面输入用户指定的事件JSON即可完成函数触发; 用户也可以通过FunctionGraph支持的触发器进行事件函数触发; 优势 单机编程体验,简单易用