检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
打包函数代码。 将目录中的“.next”、“public”、“package.json”和“bootstrap”打包成zip压缩包,本案例命名为“nextjs-func-code.zip”作为函数代码备用。 父主题: 使用Next.js项目构建HTTP函数
进入应用与数据集成平台 ROMA Connect,找到所选实例(例如:Ac6-instance-NoDelete),查看公网IP。 图2 公网IP地址 在浏览器地址栏输入公网IP地址调用。 图3 APIC触发器调用地址 函数执行完毕,得到返回结果。 图4 返回结果 查看函数运行结果 返回函数工作流控制台,在左侧的导航栏选择“函数
stack_id String 资源栈id repo_name String 存储库名称 description String 应用描述 repo RepoInfo object 存储库信息 pipeline_id String 管道id project_id String 项目id apig_url
name String 应用名称 status String 应用状态 last_modified_time Long 最后修改时间 description String 应用描述 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码
tCreated包含了Put、Post、Copy和CompleteMultipartUpload,如果选择了ObjectCreated,则不能再选择Put、Post、Copy或CompleteMultipartUpload。同理如果选择了ObjectRemoved,则不能再选择D
zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2", "accept-encoding": "gzip, deflate, br", "x-forwarded-port": "443", "x-forwarded-for":
examples_python2.7.zip”,如图1所示。 图1 打包 创建FunctionGraph函数,上传程序包。 登录FunctionGraph控制台,创建Python函数,上传fss_examples_python2.7.zip文件。如图2所示。 图2 上传程序包 函
消息体的类型(格式) 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 name String 模板名称 description String 模板描述 runtime String 模板执行运行时 category String 模板使用场景 params
runtime: Node.js14.18 package: default codeType: zip code: codeUri: ./code 父主题: 部署deploy
名为“fss_examples_php7.3.zip”,如图1所示。 图1 工程打包 创建FunctionGraph函数,上传程序包 登录FunctionGraph,创建PHP函数,上传fss_examples_php7.3.zip文件。如 图2所示。 图2 上传程序包 函数执行
ListVersionAliasResult 参数 参数类型 描述 name String 要获取的别名名称。 version String 别名对应的版本名称。 description String 别名描述信息。 last_modified String 别名最后修改时间。 alias_urn String 版本别名唯一标识。
响应Body参数 参数 参数类型 描述 name String 要获取的别名名称。 version String 别名对应的版本名称。 description String 别名描述信息。 last_modified String 别名最后修改时间。 alias_urn String 版本别名唯一标识。
3jnYzyHJqmkx3cH7pjL253B54UjjfzDcYWhoCsMOVI6YP55+89exuG5vnbv+Sd3HIp539G15gIP1+jy6SgW134kAV1o9B6S1DcJbb5iKYC0aelmrrbgleLCGhVt1hAV0xg5y4UM4TmGY
yaml中所指定的access信息/default 指定本次部署时的密钥信息 可以使用通过config命令配置的密钥信息,以及配置到环境变量的密钥信息 skip-actions - - 跳过yaml所设置的actions模块 - debug - - 开启Debug模式 开启Debug模式后可以查看到更多的工具执行过程信息
模板id name String 模板名称 runtime String 模板执行运行时 category String 模板使用场景 description String 模板描述 image String 模板镜像文件(base64编码) 状态码: 400 表6 响应Body参数 参数
模板id type Integer 模板类型 title String 模板标题 template_name String 模板名称 description String 模板描述 runtime String 模板执行运行时 handler String 模板函数执行入口 code_type
前只支持defaultversion当前只支持latest name String 流程定义名称 最小长度:1 最大长度:64 description String 流程定义描述 最小长度:0 最大长度:512 created_time String 流程创建时间,格式:yyyy
运行时语言:选择“Go1.x”。 进入test-rotate函数详情页,配置如下信息。 在“代码”页签,代码选择“上传自ZIP文件”,上传样例代码“go-test.zip”编译后的二进制文件。 在“设置 > 常规设置”页签,设置如下信息,完成后单击“保存”。 内存:选择“256” 执行超时时间:输入“40”
********** ? 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