更新流量镜像筛选条件
更新时间:2025-08-06
百度 中新网3月26日电据香港文汇报报道,香港食物安全中心呼吁,停止出售及回收一款澳洲宝莱脱脂牛奶饮品,因该款牛奶的样本每毫升的总含菌量达1亿3000万个,超过《奶业规例》中,经巴士德消毒进行热处理后的奶类,每毫升不得含有多于3万个细菌的规定。
描述
更新流量镜像筛选条件的配置信息。
请求结构
Plain Text
1PUT /v{version}/traffic/mirror/ruleGroup/{trafficMirrorRuleGroupId}?{action}&clientToken={clientToken} HTTP/1.1
2Host: nds.bj.baidubce.com
3Authorization: authorization string
4{
5 "name":{name},
6 "description":{description}
7}
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
---|---|---|---|---|
version | String | 是 | URL参数 | API版本号,当前取值为1 |
clientToken | String | 否 | Query参数 | 幂等性Token,是一个长度不超过64位的ASCII字符串 |
trafficMirrorRuleGroupId | String | 是 | URL参数 | 流量镜像筛选条件ID |
action | String | 是 | Query参数 | 本接口该值为modifyAttribute |
name | String | 否 | RequestBody参数 | 流量镜像筛选条件的名称,限制:大小写字母、数字,中文以及-_/.特殊字符,必须以字母、中文开头,长度1-65 |
description | String | 否 | RequestBody参数 | 流量镜像筛选条件的描述,长度1-200 |
返回头域
除公共头域,无其它特殊头域。
返回参数
无特殊返回参数。
请求示例
Plain Text
1PUT /v1/traffic/mirror/ruleGroup/rg-unzyuaviqnxc?modifyAttribute&clientToken=1849ef6b-f73c-4f5d-b88b-259ca47af849 HTTP/1.1
2Host: nds.bj.baidubce.com
3Authorization: bce-auth-v1/c3119080364d11e8912505e5e0ae9978/2025-08-06T08:14:25Z/3600/host;x-bce-account;x-bce-client-ip;x-bce-date;x-bce-request-id;x-bce-security-token/6b93bfd5ca2328fcb5560fa57f56253d80a629f6aac9c9cb74adf9a055fceb53
4{
5 "name":"mirrorRuleGroup",
6 "description":"this is a desc"
7}
返回示例
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 7e789a40-adac-414a-8bd4-916d6be61112
3Date: Mon, 02 Apr 2019 08:14:25 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS