检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
PUBLIC scalable Boolean 是否可更新 created_time String 创建UTC时间 updated_time String 更新UTC时间 endpoints Array of EndpointConnection objects 访问端点终端节点列表
consume_timeout 是 Integer 消费超时时间 最小值:1000 最大值:900000 缺省值:30000 message_type 是 String 消息类型 枚举值: NORMAL suspend_time 否 Integer 失败重试的等待时间 最小值:10 最大值:1800 缺省值:1800
D:废弃版本,后续会删除 枚举值: CURRENT SUPPORTED DEPRECATED updated String 版本发布UTC时间 表3 links 参数 参数类型 描述 href String href属性 rel String rel属性 请求示例 无 响应示例 无
枚举值: OFFICIAL CUSTOM PARTNER created_time String 创建UTC时间 updated_time String 更新UTC时间 eps_id String 企业项目id 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code
Integer 事件模型版本号 format String 事件模型格式 created_time String 创建时间 updated_time String 更新时间 definition String 事件模型内容定义 状态码: 400 表4 响应Body参数 参数 参数类型 描述
Integer 事件模型版本号 format String 事件模型格式 created_time String 创建时间 updated_time String 更新时间 definition String 事件模型内容定义 状态码: 400 表6 响应Body参数 参数 参数类型 描述
number_of_versions Integer 事件模型版本数 created_time String 创建时间 updated_time String 更新时间 version Integer 事件模型当前版本号 definition String 事件模型内容定义 状态码:
枚举值: OFFICIAL CUSTOM PARTNER created_time String 创建UTC时间 updated_time String 更新UTC时间 eps_id String 企业项目id 状态码: 400 表7 响应Body参数 参数 参数类型 描述 error_code
租户项目ID 表2 Query参数 参数 是否必选 参数类型 描述 start_time 是 Long 查询数据起始时间 end_time 是 Long 查询数据结束时间 event_id 否 String 指定查询事件的Id source_name 否 String 事件源名称 event_type
String 事件模型版本ID version Integer 事件模型版本号 created_time String 创建时间 updated_time String 更新时间 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 最小长度:1
number_of_versions Integer 事件模型版本数 created_time String 创建时间 updated_time String 更新时间 version Integer 事件模型当前版本号 definition String 事件模型内容定义 状态码:
枚举值: OFFICIAL CUSTOM PARTNER created_time String 创建UTC时间 updated_time String 更新UTC时间 eps_id String 企业项目id 状态码: 400 表7 响应Body参数 参数 参数类型 描述 error_code
number_of_versions Integer 事件模型版本数 created_time String 创建时间 updated_time String 更新时间 version Integer 事件模型当前版本号 definition String 事件模型内容定义 状态码:
枚举值: OFFICIAL CUSTOM PARTNER created_time String 创建UTC时间 updated_time String 更新UTC时间 eps_id String 企业项目id 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code
订阅的事件源参数列表 filter Object 订阅事件源的匹配过滤规则 created_time String 创建时间 updated_time String 更新时间 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 最小长度:1
事件源提供的事件类型列表,只有官方云服务事件源提供事件类型 created_time String 创建UTC时间 updated_time String 更新UTC时间 channel_id String 事件源归属的事件通道ID channel_name String 事件源归属的事件通道名称
事件源名称 event_source_label String 事件源标签 created_time String 创建时间 updated_time String 更新时间 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 最小长度:1
dead_letter_queue DeadLetterQueue object 订阅的死信参数列表 created_time String 创建时间 updated_time String 更新时间 表4 TransForm 参数 参数类型 描述 type String 转换规则类型 枚举值: ORIGINAL
CatalogTargetParameters objects created_time String 创建UTC时间 updated_time String 更新UTC时间 表6 CatalogTargetParameters 参数 参数类型 描述 name String 目标参数名称
SOURCE:即事件源名称,修改为步骤四:创建事件订阅中配置事件源时记录的“Filter”中“values”值。 TIME:修改事件产生的时间。 DATA:根据实际情况修改,事件内容遵循CloudEvents 1.0规范。 运行发布事件的main函数。 步骤六:查看结果 登录函数工作流控制台。