更新时间:2024-05-21 GMT+08:00
示例1:创建管理类追踪器
场景描述
本章以创建一个配置OBS转储桶的管理类追踪器为例。
创建管理类追踪器
- 接口相关信息
- 请求示例
POST https://{cts_endpoint}/v3/{project_id}/tracker
{cts_endpoint}信息请从地区和终端节点获取。
Body:
{ "tracker_type": "system", "tracker_name": "system", "obs_info": { "is_obs_created": false, "bucket_name": "test_tracker", "file_prefix_name": " yO8Q " } }
- 响应示例
{ "id" : "2e6fa9b8-8c6e-456d-b5d3-77be97xxxx", "create_time" : 1587958482923, "domain_id" : "aexxxxxxxx4d4fb4bexxxxxxx791fbf", "obs_info" : { "bucket_name" : " test_tracker ", "file_prefix_name" : "yO8Q" }, "project_id" : "bb1xxxxxxxxe4f498cbxxxxxxxx35634", "tracker_name" : "system", "tracker_type" : "system", "status" : "enabled" }