检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
pre别名,指定--description参数后再次执行上述命令,执行示例: fc-deploy-test: aliasName: pre versionId: 1 description:
"owner" : "public", "link" : "https://{obs_endpoint}/functionstage-examples/fg_test_pandas_1.1.3.zip", "runtime" : "Python3.6",
模板id name String 模板名称 runtime String 模板执行运行时 category String 模板使用场景 description String 模板描述 image String 模板镜像文件(base64编码) 状态码: 400 表6 响应Body参数 参数
String 错误码 error_msg String 错误信息 请求示例 获取 rds 类型 bridge函数可用的版本。 GET https://{Endpoint}/v2/{project_id}/fgs/servicebridge/version?type=rds 响应示例
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除指定触发器。 DELETE https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}/{trigger_t
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询测试事件列表。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events 响应示例
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询资源标签。 GET https://{Endpoint}/v2/{project_id}/{resource_type}/tags 响应示例 状态码: 200 ok {
描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询函数快照制作状态。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/snapshots/state
error_code String 错误码 error_msg String 错误信息 请求示例 删除租户指定函数/版本。 DELETE https://{Endpoint}/v2/{project_id}/fgs/functions/{func_urn} 响应示例 无 SDK代码示例
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除资源标签。 DELETE https://{Endpoint}/v2/{project_id}/{resource_type}/{resource_id}/tags/delete
自定义认证:选择上述操作中创建的自定义认证“Authorizer_test”。 图1 前端定义配置 图2 安全配置 更多API配置项详细描述,请参见创建API。 单击“下一步”,进行后端配置,详细如图3所示。 后端服务类型:选择“FunctionGraph” 函数URN:添加创建的业务函数
前只支持defaultversion当前只支持latest name String 流程定义名称 最小长度:1 最大长度:64 description String 流程定义描述 最小长度:0 最大长度:512 created_time String 流程创建时间,格式:yyyy
error_code String 错误码 error_msg String 错误信息 请求示例 删除指定函数所有触发器。 DELETE https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn} 响应示例 无 SDK代码示例
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 获取指定测试事件。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events/{event_id}
开发工具 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
获取用户委托的SecurityAccessKey(有效期24小时),使用该方法需要给函数配置委托。 String SecuritySecretKey 获取用户委托的SecuritySecretKey(有效期24小时),使用该方法需要给函数配置委托。 String SecurityToken 获取用户委托的
如需加强应用使用的安全性,可以通过配置函数环境变量的方式启用WebUI认证,访问WebUI时将需要输入用户名和密码才可以进行绘图操作。 进阶使用:使用API模式访问应用 如需使用API模式访问应用,可以通过配置函数环境变量的方式启用并配置并发参数。 父主题: 使用FunctionGraph部署AI绘画Stable
FunctionGraph函数初始化入口 在示例代码中,initializer方法内创建Redis客户端,并在创建函数时配置了初始化函数,如下: def initializer(context): global redis_client redis_client =