检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
自定义镜像函数执行失败报“CrashLoopBackOff” 若出现“CrashLoopBackOff: The application inside the container keeps crashing”错误字段: 请根据页面提示信息诊断原因。 图1 查看执行结果 请参见使用容器镜像部署函数章节进行容器镜像自验证。
build(); ShowLtsLogDetailsRequest request = new ShowLtsLogDetailsRequest(); try { ShowLtsLogDetailsResponse response = client
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"custom-container-event-example", "version": "1.0.0", "description": "An example of a custom container event function", "main": "main.js",
"custom-container-http-example", "version": "1.0.0", "description": "An example of a custom container http function", "main": "main.js",
使用FunctionGraph函数定时开关华为云ECS 使用FunctionGraph函数作为后端实现APIG的自定义认证能力 使用FunctionGraph部署AI绘画Stable Diffusion应用 使用FunctionGraph部署AI绘画ComfyUI/ComfyUI+FLUX应用
successfully { "name" : "AI Drawing Stable-Diffusion", "description" : "AI Drawing", "runtime" : "http", "category" : "AI", "params" : "",
"code_type" : "inline", "func_code" : { "file" : "UEsDBAoAAAAIAPQ1M1gNImPLrAAAAAEBAAAIAAAAaW5kZXgucHlNjtEOgjAMRd/5igVfxDAlxhjDo0S/wB+YrMgMdMvWG
keys) Alibaba Cloud (alibaba) AWS (aws) Azure (azure) Baidu Cloud (baidu) Google Cloud (google) > Huawei Cloud (huawei) Tencent
Result 参数 参数类型 描述 resource_id String 资源ID resource_detail ListEnterpriseResourceDetail object tags Array of KvItem objects 标签列表 sys_tags Array
最小长度:1 最大长度:32 node_execution_details Array of NodeExecutionDetail objects 节点执行信息 数组长度:0 - 200 表4 NodeExecutionDetail 参数 参数类型 描述 node_id String 流程节点ID
trigger_metadata_list Array of TriggerMetadataList objects 触发信息列表 temp_detail TempDetail object user_data String 用户数据 encrypted_user_data String 加密用户数据
status String 异步调用状态,支持5种状态 WAIT: 等待 RUNNING: 执行中 SUCCESS: 执行成功 FAIL: 执行失败 DISCARD: 请求丢弃 枚举值: WAIT RUNNING SUCCESS FAIL DISCARD error_message String
最近7天的操作记录。操作步骤请参考查看追踪事件。 文档数据库服务(DDS) 使用DDS触发器,每次更新数据库中的表时,都可以触发Functiongraph函数以执行额外的工作,创建DDS文档数据库实例请参见购买文档数据库实例。 云监控服务(CES) FunctionGraph函数
status String 异步调用状态,支持5种状态 WAIT: 等待 RUNNING: 执行中 SUCCESS: 执行成功 FAIL: 执行失败 DISCARD: 请求丢弃 枚举值: WAIT RUNNING SUCCESS FAIL DISCARD error_message String
描述 type 否 String 指标类型,默认值为failcount。 start_time 否 String 起始时间。 end_time 否 String 结束时间。 limit 否 String 指标类型,默认值为failcount。 请求参数 表3 请求Header参数 参数
最大长度:64 枚举值: success fail timeout output Object 工作流的执行结果,JSON格式,仅在status为success时有值 errors Array of SyncExecutionNodeErrorDetail objects 流程执行错误信息,仅在status为fail时有值
其接口定义在SDK接口说明。 Go函数的函数执行入口参数格式为:与代码包中的可执行文件名保持一致。编译后的动态库文件名称必须与函数执行入口的插件名称保持一致,例如:动态库名称为testplugin.so,则函数执行入口命名为testplugin.Handler。请参考函数执行入口进行配置或修改。
d27", "name" : "AI Drawing Stable-Diffusion", "runtime" : "http", "category" : "AI", "description" : "AI Drawing", "image"
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great