检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
配置函数流的函数服务组件 函数流支持配置函数服务组件,通过该组件可以关联已创建的函数,进而实现业务需求。 约束与限制 通过数据工坊DWR服务创建的函数流,在函数工作流控制台只能查看,不能编辑和删除,相关操作请在DWR服务中执行。 配置的函数节点返回的数据格式必须是json格式,否则会解析失败。
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
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
原逻辑和现逻辑分别如图14和图15所示: 图14 原逻辑 图15 现逻辑 本地测试。 将接口调用逻辑在本地通过main函数进行测试,如图16所示。验证通过后再上线函数平台测试。 图16 main函数 配置函数。 参照准备中创建函数的步骤,创建以mfa-import-serverless命名的函数。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
描述 type 否 String 指标类型,默认值为failcount。 start_time 否 String 起始时间。 end_time 否 String 结束时间。 limit 否 String 指标类型,默认值为failcount。 请求参数 表3 请求Header参数 参数
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
status String 异步调用状态,支持5种状态 WAIT: 等待 RUNNING: 执行中 SUCCESS: 执行成功 FAIL: 执行失败 DISCARD: 请求丢弃 枚举值: WAIT RUNNING SUCCESS FAIL DISCARD error_message String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
status String 异步调用状态,支持5种状态 WAIT: 等待 RUNNING: 执行中 SUCCESS: 执行成功 FAIL: 执行失败 DISCARD: 请求丢弃 枚举值: WAIT RUNNING SUCCESS FAIL DISCARD error_message String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great