检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
打包函数代码。 将目录中的“.next”、“public”、“package.json”和“bootstrap”打包成zip压缩包,本案例命名为“nextjs-func-code.zip”作为函数代码备用。 父主题: 使用Next.js项目构建HTTP函数
“应用”实际作用就是文件夹功能。当前创建的新函数所属应用均为“default”应用,且无法更改,新版本里会逐步弱化并下线老界面的“应用"概念,未来会通过标签分组的方式来管理函数的分类等。 父主题: 产品咨询
name String 应用名称 status String 应用状态 last_modified_time Long 最后修改时间 description String 应用描述 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码
将毫秒换算成秒后进行计算。 具体计费单价详情请参考价格详情。 闲置内存计量时间费用 在配置预留实例时可开启,表示预留实例在无调用的时候暂停CPU,节省资源,降低费用成本。详情请参见预留实例管理。 按需计费 具体函数计算资源消耗公式请参见空闲模式资源消耗公式。 其他费用 在您使用函
监控、异常处理、云服务集成等特性,适用于很多应用场景,比如: 复杂度高需要抽象的业务(订单管理,CRM 等) 业务需要自动中断 / 恢复能力,如多个任务之间需要人工干预的场景(人工审批,部署流水线等) 业务需要手动中断 / 恢复(数据备份 / 恢复等) 需要详细监控任务执行状态的场景
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
、obs_client等,开发函数时可以直接使用,详情请参考开发指南。 用户可以通过维护属于自己的依赖代码库,供所有函数使用,请参考依赖包管理。 父主题: 产品咨询
模板id name String 模板名称 runtime String 模板执行运行时 category String 模板使用场景 description String 模板描述 image String 模板镜像文件(base64编码) 状态码: 400 表6 响应Body参数 参数
认证和AK/SK认证。 访问控制 FunctionGraph服务支持通过IAM进行访问控制和权限管理。可以进行精细的权限管理。可以帮助用户安全的控制公有云资源的访问。具体请参见权限管理。 父主题: 安全
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函数监控信息,提供了调用次数、运行时间、错误次数、拒绝次数和资源统计监控指标。建议对监控指标中的错误次数和运行时间-最大运行时间创建告警配置,这样就能及时感知到如下情况:
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
凭证 Serverless Framework需要访问您的华为云账号的凭证,代表您创建和管理资源。 创建华为云账号 打开华为云官网,选择“注册”,详情请参考注册华为账号并开通华为云。 获取凭证 您需要创建凭证,以便Serverless可以使用它们在项目中创建资源。 进入“访问密钥”页面,获取您华为云账号的访问密钥。
region - 选填 必填 地区 function-name - 选填 必填 函数名 version-name - 选填 选填 指定版本,不设置默认为latest版本 trigger-type - 选填 必填 触发器类型 trigger-name - 选填 必填 触发器名,APIG
开发工具 CodeArts IDE Online VSCode本地调试 Eclipse-plugin PyCharm-Plugin Serverless Devs Serverless Framework
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