检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
application inside the container keeps crashing”错误字段: 请根据页面提示信息诊断原因。 图1 查看执行结果 请参见使用容器镜像部署函数章节进行容器镜像自验证。 排查镜像是否为x86 linux架构,目前仅支持x86 linux架构镜像。
********** ? Please create alias for key pair. If not, please enter to skip default 命令式配置 可以通过命令式直接进行密钥的添加: $ s config add --AccessKeyID ****** --SecretAccessKey
则过滤出来并转储到准备好的日志流中。以下图1和图2是过滤前和过滤后的实时日志对比。 图1 过滤前日志 图2 过滤后日志 您可以通过函数指标查看函数的调用情况,如下 3 张图所示。 图3 函数指标1 图4 函数指标2 图5 函数指标3 父主题: 使用FunctionGraph函数对LTS中的日志进行实时过滤
在“API凭证”页面的项目列表中查看账号名、账号ID、用户名、用户ID、项目名称、项目ID。 图1 查看帐号名、帐号ID、用户名、用户ID、项目名称、项目ID 调用API获取用户ID、项目ID 获取用户ID请参考:管理员查询IAM用户列表。 获取项目ID请参考:查询指定条件下的项目列表。 获取用户组名称和ID
调用 调用已部署的函数。您可以发送事件数据、读取日志和查看函数调用的其他重要信息。 serverless invoke --function functionName 选项 --function或-f:要调用的服务中函数的名称,必填。 --data或-d:传递给函数的数据。 --
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
runtime: Node.js14.18 package: default codeType: zip code: codeUri: ./code trigger: triggerTypeCode:
请求参数 表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
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
表3 WorkflowCreateBody 参数 参数类型 描述 name String 函数流名称 最小长度:1 最大长度:64 description String 函数流描述 最小长度:1 最大长度:512 start String 流程开始节点ID 最小长度:1 最大长度:256
Version命令概览 Version命令 version 命令是进行函数版本操作的命令;主要包括别名的查看、发布、删除等功能。 命令解析 version list命令 参数解析 操作案例 version publish命令 参数解析 操作案例 remove命令 命令解析 当执行命令version
aliasName: pre versionId: 1 description: test publish version lastModifiedTime: 2021-11-08T06:54:02Z
下载示例代码 fss_examples_image_thumbnail_eg.zip。 在“代码”页签,选择“上传自Zip文件”,添加下载的“fss_examples_image_thumbnail_eg.zip”文件,单击“确定”,代码自动部署。 单击页面最底部的“添加依赖包”,添加公共依赖包“pillow-7
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