函数工作流 FunctionGraph-修改指定函数流实例的元数据:请求示例

时间:2023-11-01 16:25:44

请求示例

获取指定函数流实例。

PUT /v2/{project_id}/fgs/workflows/{workflow_id}{  "name" : "workflow_test",  "start" : "test",  "functions" : [ {    "name" : "test",    "operation" : "urn:fss:{regin}:c53626012ba84727b938ca8bf03108ef:test:latest"  } ],  "constants" : { },  "states" : [ {    "id" : "test",    "name" : "test",    "type" : "Operation",    "end" : false,    "transition" : "end",    "actions" : [ {      "function_ref" : {        "ref_name" : "test",        "arguments" : {          "execution_name" : "$.test"        }      }    } ]  }, {    "id" : "end",    "name" : "end",    "type" : "End",    "end" : true,    "transition" : "",    "state_data_filter" : {      "input" : "",      "output" : ""    },    "actions" : [ ],    "action_mode" : ""  } ],  "retries" : [ {    "name" : "test"  } ]}
support.huaweicloud.com/api-functiongraph/functiongraph_06_1008.html