检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"6578de50-9a18-48fa-b84e-b2d36636e433", "owner" : "public", "link" : "https://{obs_endpoint}/functionstage-examples/fg_test_pandas_1.1.3.zip",
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询资源实例。 POST https://{Endpoint}/v2/{project_id}/{resource_type}/resource-instances/{action}
"execution succeed: Return to access service information through http/https,", "warning" : "1. configure the serveraddress environment variables
String 错误信息 请求示例 导入函数,文件名为"test.zip",类型为zip,文件base64编码为"xxx"。 POST https://{Endpoint}/v2/{project_id}/fgs/functions/import { "func_name" :
APIG接口PATH路径(APIG触发器参数)。 protocol String API的请求协议(APIG触发器参数)。 枚举值: HTTP HTTPS req_method String API的请求方式(APIG触发器参数)。 枚举值: GET POST PUT DELETE HEAD
APIG接口PATH路径(APIG触发器参数)。 protocol String API的请求协议(APIG触发器参数)。 枚举值: HTTP HTTPS req_method String API的请求方式(APIG触发器参数)。 枚举值: GET POST PUT DELETE HEAD
设置网络代理命令如下: export HTTP_PROXY="http://user:password@proxyIp:proxyPort" 详情请参考:https://www.cyberciti.biz/faq/unix-linux-export-variable-http_proxy-with-
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
json import requests def handler (event, context): domainId = "https://{Endpoint}" url = "/v2/{project_id}/fgs/functions/{func-urn}/reservedinstances"
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
描述 error_code String 错误码 error_msg String 错误信息 请求示例 获取指定函数代码信息。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/code 响应示例
error_code String 错误码 error_msg String 错误信息 请求示例 更新函数最大实例数为300。 PUT https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/config-max-instance
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
修改名为fgsTest的Nodejs函数配置信息,将内存大小改为768MB,超时时间设为40s,添加环境变量host,添加磁盘挂载。 PUT https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/config {
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());