检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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 事件源归属的事件通道名称
表明请求超出了客户端访问频率的限制或者服务端接收到多于它能处理的请求。建议客户端读取相应的Retry-After首部,然后等待该首部指出的时间后再重试。 500 InternalServerError 表明服务端能被请求访问到,但是不能理解用户的请求。 501 Not Implemented
事件源名称 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 目标参数名称
3分钟创建一个游戏类容器应用 05 API 事件网格提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用。 API文档 API 参考 02 购买 弹性云服务器(Elastic Cloud Server)是一种可随时自动获取、计算能力
SOURCE:即事件源名称,修改为步骤四:创建事件订阅中配置事件源时记录的“Filter”中“values”值。 TIME:修改事件产生的时间。 DATA:根据实际情况修改,事件内容遵循CloudEvents 1.0规范。 运行发布事件的main函数。 步骤六:查看结果 登录函数工作流控制台。
事件ID eventSource String 事件源 eventType String 事件类型 receiveTime String 接收时间 channelId String 通道ID channelName String 通道名称 deliverList Array of DeliverItem
事件源提供的事件类型列表,只有官方云服务事件源提供事件类型 created_time String 创建UTC时间 updated_time String 更新UTC时间 channel_id String 事件源归属的事件通道ID channel_name String 事件源归属的事件通道名称
请输入地址。 客户端SDK 请输入客户端SDK上传到OBS的地址。 说明: 客户端SDK上传到OBS的地址获取方式可参考常见问题。 消费超时时间(毫秒) 请输入1000到900000之间的整数。 消息类型 请选择普通消息。 消费线程数 请输入20到64之间的整数。 批量消费最大消息数
在左侧导航栏选择“函数 > 函数列表”,进入函数列表页面。 单击函数名称“test”,进入函数详情页。 在“监控”页签,查看调用次数、运行时间等。 图5 监控视图
dead_letter_queue DeadLetterQueue object 订阅的死信参数列表 created_time String 创建时间 updated_time String 更新时间 表15 TransForm 参数 参数类型 描述 type String 转换规则类型 枚举值: ORIGINAL
dead_letter_queue DeadLetterQueue object 订阅的死信参数列表 created_time String 创建时间 updated_time String 更新时间 表15 TransForm 参数 参数类型 描述 type String 转换规则类型 枚举值: ORIGINAL
jpg 事件主题。标明事件具体的主题形式。 time Timestamp 否 2022-01-17T12:07:48.955Z 事件产生的时间。 data Struct 否 { "name": "test01", "state": "enable" } 事件内容。JSON对象格式。
bucketName String 桶名称 owner owner object 桶拥有者信息 creationDate String 桶的创建时间 location String 桶的位置信息 storageClass Object 对象的存储类型 metadata Object 桶元数据