更新时间:2024-03-05 GMT+08:00
更新流日志
功能介绍
更新流日志。
请求参数
请求示例
- 更新id为f49f00f1-0f15-470a-a8c5-4e879e461c8d的流日志,名称更新为flow-log-update。
PUT https://{Endpoint}/v1/b2782e6708b8475c993e6064bc456bf8/fl/flow_logs/f49f00f1-0f15-470a-a8c5-4e879e461c8d { "flow_log": { "name": "flow-log-update", "description": "update" } }
响应参数
名称 |
参数类型 |
说明 |
---|---|---|
id |
String |
|
name |
String |
|
tenant_id |
String |
|
description |
String |
|
resource_type |
String |
|
resource_id |
String |
|
traffic_type |
String |
|
log_group_id |
String |
|
log_topic_id |
String |
|
created_at |
String |
|
updated_at |
String |
|
响应示例
{ "flow_log": { "id": "f49f00f1-0f15-470a-a8c5-4e879e461c8d", "name": " flow-log-update", "description": "update", "tenant_id": "b2782e6708b8475c993e6064bc456bf8", "resource_type": "port", "resource_id": "05c4052d-8d14-488f-aa00-19fea5a25fde", "traffic_type": "reject", "log_group_id": "05c4052d-8d14-488f-aa00-19fea5a25fdd", "log_topic_id": "a9d7dee7-37d2-4cba-a208-a016252aaa63", "created_at": "2019-01-14T11:03:02", "updated_at": "2019-01-14T12:03:02" } }
状态码
请参见状态码。
错误码
请参考错误码。
父主题: 流日志