检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
当函数调用并发数大于预留实例数量时,超出部分会分配给按量实例,这部分请求仍然有冷启动。 前提条件 配置按指标伸缩的预留实例策略前,需为函数配置包含AOM服务指标查询权限和函数服务配置查询权限的委托,具体操作请参见配置函数的委托权限。 配置固定数量的预留实例策略 登录函数工作流控制台,在左侧的导航栏选择“函数 > 函数列表”。
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
名为“fss_examples_nodejs.zip”。 图1 打包 创建FunctionGraph函数,上传程序包 登录FunctionGraph控制台,创建Node.js函数,上传fss_examples_nodejs.zip文件。如图2所示。 图2 上传程序包 函数设置中,
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
} } 图2 连通性测试结果 到FunctionGraph 页面 , 单击 “监控” “日志” 随后单击蓝色的请求id查看日志。 图3 查看日志 图4 查看请求id详情 可以对程序进行修改,使数据可以用于调用其他系统或进行持久化存储,如存储到obs等。 父主题: 使用Funct
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
end_time 否 String 结束时间,精确到ms的时间戳 metric_type 否 String 指标类型,为空或不在取值范围内时,查询所有指标。取值范围:totalCount 调用次数;errorCount 错误次数; averageDuration 运行时间;running
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
********** ? 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
函数 > 函数列表”。 在搜索框中先选择筛选条件“标签”,再勾选标签键值对,一次可添加多个标签作为筛选条件。 单击“确定”,可以在函数列表查看检索结果。 父主题: 管理函数
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
其他配置保持默认,无需修改。 图1 购买集群 确认配置信息无误,单击“提交”,创建集群。 图2 创建集群 创建集群需要较长时间,可以从图2中查看进度,请耐心等待。 创建委托 在服务控制台左侧导航栏,选择“管理与监管 > 统一身份认证服务”,进入统一身份认证服务控制台后,在左侧导航栏单击“委托”,进入“委托”界面。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
然后将函数的代码打包到目录中,压缩并上传到部署桶中。 资源部署完成。 建议在CI/CD系统中使用此方法,因为它是最安全的部署方法。 有关所有详细信息和选项,请查看deploy命令文档。 父主题: 使用指南
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted