检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
查询应用程序模板列表 功能介绍 查询应用程序模板列表(该功能目前仅支持华东-上海一、华北-北京四) 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/fgs/application/templates 表1 路径参数 参数 是否必选 参数类型 描述
创建应用程序 功能介绍 创建应用程序(该功能目前仅支持华东-上海一、华北-北京四) 调用方法 请参见如何调用API。 URI POST /v2/{project_id}/fgs/applications 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
获取函数异步配置信息 功能介绍 获取指定函数某一版本的异步配置信息。 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/fgs/functions/{function_urn}/async-invoke-config 表1 路径参数 参数 是否必选
函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 description String 函数描述。 last_modified String 函数最后一次更新时间。 func_vpc FuncVpc object 函数vpc配置。需同时为函数配置具有vpc权限的委托。
2、14336、15360、16384。 最小值为1024,最大值为16384。(目前只支持华东-上海一) gpu_type 否 String 显卡类型。(目前只支持华东-上海一) user_data 否 String 用户自定义的name/value信息。 在函数中使用的参数。
FunctionGraph:包含func_urn,函数urn 表8 PageInfo 参数 参数类型 描述 next_marker Long 下一次读取位置 previous_marker Long 上一次读取位置 current_count Long 当前页总数 请求示例 获取函数异步配置列表。 GET /v2
objects 返回的实体对象 数组长度:0 - 200 表4 WorkflowSimpleInfo 参数 参数类型 描述 id String 唯一标识ID,流程定义ID 最小长度:1 最大长度:64 workflow_urn String 函数工作流URN, 格式为:urn:fss:<
错误流程详情 数组长度:0 - 200 表4 OperateErrorInfo 参数 参数类型 描述 workflow_urn String 唯一标识ID,流程URN 最小长度:1 最大长度:128 error_detail String 错误详情 最小长度:1 最大长度:64 状态码:
不单独配置执行委托时,函数执行和函数配置将使用同一委托。 description String 函数描述。 version_description String 函数版本描述。 last_modified String 函数最后一次更新时间。 func_vpc FuncVpc object
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());
参数 参数类型 描述 func_id String 函数id,唯一标识函数。 resource_id String 资源id。 func_urn String 函数的URN(Uniform Resource Name),唯一标识函数。 func_name String 函数名称。 domain_id
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
esult objects 异步调用记录列表。 count Integer 查询数据总条数 next_marker Integer 查询下一页的起始位置 表5 ListFunctionAsyncInvocationsResult 参数 参数类型 描述 request_id String
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
esult objects 异步调用记录列表。 count Integer 查询数据总条数 next_marker Integer 查询下一页的起始位置 表5 ListFunctionAsyncInvocationsResult 参数 参数类型 描述 request_id String
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());