tccli 3.0.846.1__py2.py3-none-any.whl → 3.0.847.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +2 -20
  3. tccli/services/billing/v20180709/examples.json +2 -2
  4. tccli/services/cat/v20180409/api.json +0 -28
  5. tccli/services/cat/v20180409/examples.json +7 -7
  6. tccli/services/ccc/v20200210/api.json +16 -7
  7. tccli/services/ccc/v20200210/examples.json +2 -2
  8. tccli/services/cdb/v20170320/api.json +63 -46
  9. tccli/services/cdb/v20170320/examples.json +3 -3
  10. tccli/services/cdn/v20180606/api.json +1 -11
  11. tccli/services/cdn/v20180606/examples.json +1 -1
  12. tccli/services/cls/v20201016/api.json +44 -33
  13. tccli/services/cls/v20201016/examples.json +3 -3
  14. tccli/services/cvm/v20170312/api.json +2 -4
  15. tccli/services/ess/ess_client.py +212 -0
  16. tccli/services/ess/v20201111/api.json +456 -21
  17. tccli/services/ess/v20201111/examples.json +45 -1
  18. tccli/services/essbasic/v20210526/api.json +1 -1
  19. tccli/services/iotexplorer/v20190423/api.json +25 -33
  20. tccli/services/iotexplorer/v20190423/examples.json +9 -9
  21. tccli/services/monitor/v20180724/api.json +8 -0
  22. tccli/services/monitor/v20180724/examples.json +2 -2
  23. tccli/services/mps/v20190612/api.json +2 -7
  24. tccli/services/ocr/v20181119/api.json +45 -66
  25. tccli/services/ocr/v20181119/examples.json +16 -16
  26. tccli/services/tcss/v20201101/api.json +40 -7
  27. tccli/services/tcss/v20201101/examples.json +3 -3
  28. tccli/services/trtc/v20190722/api.json +41 -29
  29. tccli/services/trtc/v20190722/examples.json +10 -10
  30. {tccli-3.0.846.1.dist-info → tccli-3.0.847.1.dist-info}/METADATA +2 -2
  31. {tccli-3.0.846.1.dist-info → tccli-3.0.847.1.dist-info}/RECORD +35 -35
  32. {tccli-3.0.846.1.dist-info → tccli-3.0.847.1.dist-info}/LICENSE +0 -0
  33. {tccli-3.0.846.1.dist-info → tccli-3.0.847.1.dist-info}/WHEEL +0 -0
  34. {tccli-3.0.846.1.dist-info → tccli-3.0.847.1.dist-info}/entry_points.txt +0 -0
  35. {tccli-3.0.846.1.dist-info → tccli-3.0.847.1.dist-info}/top_level.txt +0 -0
@@ -450,9 +450,9 @@
450
450
  ],
451
451
  "DescribeDBInstances": [
452
452
  {
453
- "document": "",
453
+ "document": "查询实例列表",
454
454
  "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"cdb-70zdmgg1\"\n ]\n}",
455
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"xx\",\n \"Items\": [\n {\n \"WanStatus\": 0,\n \"Zone\": \"xx\",\n \"WanPort\": 0,\n \"RoVipInfo\": {\n \"RoVport\": 0,\n \"RoVpcId\": 0,\n \"RoVipStatus\": 0,\n \"RoVip\": \"xx\",\n \"RoSubnetId\": 0\n },\n \"Memory\": 1000,\n \"EngineType\": \"xx\",\n \"Status\": 1,\n \"VpcId\": 511512,\n \"SlaveInfo\": {\n \"Second\": {\n \"Vport\": 0,\n \"Vip\": \"xx\",\n \"Region\": \"xx\",\n \"Zone\": \"xx\"\n },\n \"First\": {\n \"Vport\": 0,\n \"Vip\": \"xx\",\n \"Region\": \"xx\",\n \"Zone\": \"xx\"\n }\n },\n \"InstanceId\": \"xx\",\n \"PhysicalId\": \"xx\",\n \"Volume\": 50,\n \"AutoRenew\": 0,\n \"ProtectMode\": 0,\n \"CdbError\": 0,\n \"DeviceClass\": \"xx\",\n \"MasterInfo\": {\n \"Status\": 0,\n \"VpcId\": 0,\n \"Zone\": \"xx\",\n \"ExClusterName\": \"xx\",\n \"InstanceId\": \"xx\",\n \"ResourceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionId\": 0,\n \"ZoneId\": 0,\n \"Volume\": 0,\n \"DeviceType\": \"xx\",\n \"Memory\": 0,\n \"SubnetId\": 0,\n \"Qps\": 0,\n \"TaskStatus\": 0,\n \"InstanceName\": \"xx\",\n \"InstanceType\": 0,\n \"ExClusterId\": \"xx\"\n },\n \"DeployGroupId\": \"xx\",\n \"InstanceNodes\": 2,\n \"RoGroups\": [\n {\n \"RoOfflineDelay\": 0,\n \"RoGroupMode\": \"xx\",\n \"RoGroupZone\": \"xx\",\n \"MinRoInGroup\": 1,\n \"DelayReplicationTime\": 0,\n \"RoGroupId\": \"xx\",\n \"RoMaxDelayTime\": 1,\n \"RoGroupName\": \"xx\",\n \"Weight\": 0,\n \"UniqVpcId\": \"xx\",\n \"RoInstances\": [\n {\n \"Zone\": \"xx\",\n \"MasterInstanceId\": \"xx\",\n \"Memory\": 1000,\n \"Status\": 1,\n \"VpcId\": 511512,\n \"InstanceId\": \"xx\",\n \"Volume\": 50,\n \"OfflineTime\": \"xx\",\n \"SubnetId\": 115839,\n \"HourFeeStatus\": 1,\n \"RoStatus\": \"xx\",\n \"Region\": \"xx\",\n \"DeadlineTime\": \"xx\",\n \"TaskStatus\": 0,\n \"DeviceType\": \"xx\",\n \"EngineVersion\": \"xx\",\n \"InstanceName\": \"xx\",\n \"Weight\": 0,\n \"PayType\": 1,\n \"InstanceType\": 3,\n \"Vip\": \"xx\",\n \"Qps\": 1000,\n \"Vport\": 3306\n }\n ],\n \"Vip\": \"xx\",\n \"UniqSubnetId\": \"xx\",\n \"RoGroupRegion\": \"xx\",\n \"Vport\": 3306,\n \"WeightMode\": \"xx\"\n },\n {\n \"RoOfflineDelay\": 0,\n \"RoGroupMode\": \"xx\",\n \"RoGroupZone\": \"xx\",\n \"MinRoInGroup\": 1,\n \"DelayReplicationTime\": 0,\n \"RoGroupId\": \"xx\",\n \"RoMaxDelayTime\": 1,\n \"RoGroupName\": \"xx\",\n \"UniqVpcId\": \"xx\",\n \"Weight\": 0,\n \"RoInstances\": [\n {\n \"Zone\": \"xx\",\n \"MasterInstanceId\": \"xx\",\n \"Memory\": 1000,\n \"Status\": 1,\n \"VpcId\": 511512,\n \"InstanceId\": \"xx\",\n \"Volume\": 25,\n \"OfflineTime\": \"xx\",\n \"SubnetId\": 115839,\n \"HourFeeStatus\": 1,\n \"RoStatus\": \"xx\",\n \"Region\": \"xx\",\n \"DeadlineTime\": \"xx\",\n \"TaskStatus\": 0,\n \"DeviceType\": \"xx\",\n \"EngineVersion\": \"xx\",\n \"InstanceName\": \"xx\",\n \"Weight\": 0,\n \"PayType\": 1,\n \"InstanceType\": 3,\n \"Vip\": \"xx\",\n \"Qps\": 1000,\n \"Vport\": 3306\n }\n ],\n \"Vip\": \"xx\",\n \"UniqSubnetId\": \"xx\",\n \"RoGroupRegion\": \"xx\",\n \"Vport\": 3306,\n \"WeightMode\": \"xx\"\n }\n ],\n \"ProjectId\": 0,\n \"DeadlineTime\": \"2020-09-22 00:00:00\",\n \"DeployMode\": 0,\n \"TaskStatus\": 0,\n \"SubnetId\": 115839,\n \"DeviceType\": \"xx\",\n \"EngineVersion\": \"xx\",\n \"MaxDelayTime\": 0,\n \"InstanceName\": \"xx\",\n \"Cpu\": 8,\n \"DrInfo\": [\n {\n \"Status\": 0,\n \"Zone\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"SyncStatus\": 0,\n \"InstanceName\": \"xx\",\n \"InstanceType\": 0\n }\n ],\n \"UniqVpcId\": \"xx\",\n \"WanDomain\": \"xx\",\n \"InitFlag\": 1,\n \"PayType\": 1,\n \"InstanceType\": 1,\n \"Vip\": \"xx\",\n \"UniqSubnetId\": \"xx\",\n \"Region\": \"xx\",\n \"Qps\": 0,\n \"Vport\": 3306,\n \"TagList\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"CreateTime\": \"xx\",\n \"ZoneId\": 720001,\n \"ZoneName\": \"xx\"\n }\n ]\n }\n}",
455
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"97939db3-ef94-4a60-9b64-2a1f4e2f1ea3\",\n \"Items\": [\n {\n \"WanStatus\": 0,\n \"Zone\": \"100001\",\n \"WanPort\": 0,\n \"DiskType\": \"test\",\n \"RoVipInfo\": {\n \"RoVport\": 0,\n \"RoVpcId\": 0,\n \"RoVipStatus\": 0,\n \"RoVip\": \"192.168.1.1\",\n \"RoSubnetId\": 0\n },\n \"Memory\": 1000,\n \"EngineType\": \"InnoDB\",\n \"Status\": 1,\n \"VpcId\": 511512,\n \"SlaveInfo\": {\n \"Second\": {\n \"Vport\": 0,\n \"Vip\": \"test\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-1\"\n },\n \"First\": {\n \"Vport\": 0,\n \"Vip\": \"test\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-1\"\n }\n },\n \"InstanceId\": \"cdn-abc\",\n \"PhysicalId\": \"test\",\n \"Volume\": 50,\n \"AutoRenew\": 0,\n \"ProtectMode\": 0,\n \"CdbError\": 0,\n \"DeviceClass\": \"test\",\n \"MasterInfo\": {\n \"Status\": 0,\n \"VpcId\": 0,\n \"Zone\": \"100001\",\n \"ExClusterName\": \"test\",\n \"InstanceId\": \"test\",\n \"ResourceId\": \"test\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 0,\n \"ZoneId\": 0,\n \"Volume\": 0,\n \"DeviceType\": \"test\",\n \"Memory\": 0,\n \"SubnetId\": 0,\n \"Qps\": 0,\n \"TaskStatus\": 0,\n \"InstanceName\": \"test\",\n \"InstanceType\": 0,\n \"ExClusterId\": \"test\"\n },\n \"DeployGroupId\": \"test\",\n \"InstanceNodes\": 2,\n \"RoGroups\": [\n {\n \"RoOfflineDelay\": 0,\n \"RoGroupMode\": \"test\",\n \"RoGroupZone\": \"test\",\n \"MinRoInGroup\": 1,\n \"DelayReplicationTime\": 0,\n \"RoGroupId\": \"test\",\n \"RoMaxDelayTime\": 1,\n \"RoGroupName\": \"test\",\n \"Weight\": 0,\n \"UniqVpcId\": \"test\",\n \"RoInstances\": [\n {\n \"Zone\": \"test\",\n \"MasterInstanceId\": \"test\",\n \"Memory\": 1000,\n \"Status\": 1,\n \"VpcId\": 511512,\n \"InstanceId\": \"test\",\n \"Volume\": 50,\n \"OfflineTime\": \"test\",\n \"SubnetId\": 115839,\n \"HourFeeStatus\": 1,\n \"RoStatus\": \"test\",\n \"Region\": \"test\",\n \"DeadlineTime\": \"test\",\n \"TaskStatus\": 0,\n \"DeviceType\": \"test\",\n \"EngineVersion\": \"test\",\n \"InstanceName\": \"test\",\n \"Weight\": 0,\n \"PayType\": 1,\n \"InstanceType\": 3,\n \"Vip\": \"test\",\n \"Qps\": 1000,\n \"Vport\": 3306\n }\n ],\n \"Vip\": \"test\",\n \"UniqSubnetId\": \"test\",\n \"RoGroupRegion\": \"test\",\n \"Vport\": 3306,\n \"WeightMode\": \"test\"\n },\n {\n \"RoOfflineDelay\": 0,\n \"RoGroupMode\": \"test\",\n \"RoGroupZone\": \"test\",\n \"MinRoInGroup\": 1,\n \"DelayReplicationTime\": 0,\n \"RoGroupId\": \"test\",\n \"RoMaxDelayTime\": 1,\n \"RoGroupName\": \"test\",\n \"UniqVpcId\": \"test\",\n \"Weight\": 0,\n \"RoInstances\": [\n {\n \"Zone\": \"test\",\n \"MasterInstanceId\": \"test\",\n \"Memory\": 1000,\n \"Status\": 1,\n \"VpcId\": 511512,\n \"InstanceId\": \"test\",\n \"Volume\": 25,\n \"OfflineTime\": \"test\",\n \"SubnetId\": 115839,\n \"HourFeeStatus\": 1,\n \"RoStatus\": \"test\",\n \"Region\": \"test\",\n \"DeadlineTime\": \"test\",\n \"TaskStatus\": 0,\n \"DeviceType\": \"test\",\n \"EngineVersion\": \"test\",\n \"InstanceName\": \"test\",\n \"Weight\": 0,\n \"PayType\": 1,\n \"InstanceType\": 3,\n \"Vip\": \"test\",\n \"Qps\": 1000,\n \"Vport\": 3306\n }\n ],\n \"Vip\": \"test\",\n \"UniqSubnetId\": \"test\",\n \"RoGroupRegion\": \"test\",\n \"Vport\": 3306,\n \"WeightMode\": \"test\"\n }\n ],\n \"ProjectId\": 0,\n \"DeadlineTime\": \"2020-09-22 00:00:00\",\n \"DeployMode\": 0,\n \"TaskStatus\": 0,\n \"SubnetId\": 115839,\n \"DeviceType\": \"test\",\n \"EngineVersion\": \"test\",\n \"MaxDelayTime\": 0,\n \"InstanceName\": \"test\",\n \"Cpu\": 8,\n \"DrInfo\": [\n {\n \"Status\": 0,\n \"Zone\": \"test\",\n \"InstanceId\": \"test\",\n \"Region\": \"test\",\n \"SyncStatus\": 0,\n \"InstanceName\": \"test\",\n \"InstanceType\": 0\n }\n ],\n \"UniqVpcId\": \"test\",\n \"WanDomain\": \"test\",\n \"InitFlag\": 1,\n \"PayType\": 1,\n \"InstanceType\": 1,\n \"Vip\": \"test\",\n \"UniqSubnetId\": \"test\",\n \"Region\": \"test\",\n \"Qps\": 0,\n \"Vport\": 3306,\n \"TagList\": [\n {\n \"TagKey\": \"test\",\n \"TagValue\": \"test\"\n }\n ],\n \"CreateTime\": \"test\",\n \"ZoneId\": 720001,\n \"ZoneName\": \"test\"\n }\n ]\n }\n}",
456
456
  "title": "查询实例列表"
457
457
  }
458
458
  ],
@@ -680,7 +680,7 @@
680
680
  ],
681
681
  "DescribeTasks": [
682
682
  {
683
- "document": "",
683
+ "document": "查询云数据库实例任务列表",
684
684
  "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{}",
685
685
  "output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"Items\": [\n {\n \"Code\": 9013,\n \"Message\": \"[Operate CDB Fail][Upgrade Service Fail!] reason: ERR#-999: lock_inst.cgi: 某些实例id不存在对应的实例记录\",\n \"JobId\": 79,\n \"AsyncRequestId\": \"9d21004b-3aa1896a-eeddca4b-a68f106d\",\n \"Progress\": 10,\n \"StartTime\": \"2019-10-09 20:03:39\",\n \"EndTime\": \"2019-10-09 20:39:34\",\n \"InstanceIds\": [\n \"cdb-qlfpnobr\"\n ],\n \"TaskType\": \"OPEN GTID\",\n \"TaskStatus\": \"FAILED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"设置参数成功\",\n \"JobId\": 70,\n \"AsyncRequestId\": \"1d564380-2e391736-f28fa246-43cea3aa\",\n \"Progress\": 100,\n \"StartTime\": \"2018-07-06 22:03:05\",\n \"EndTime\": \"2018-07-06 22:03:28\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"MODIFY PARAM\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"初始化实例成功\",\n \"JobId\": 69,\n \"AsyncRequestId\": \"ea39295d-420a0b4e-a98298c7-8751e1ad\",\n \"Progress\": 100,\n \"StartTime\": \"2018-07-06 22:01:42\",\n \"EndTime\": \"2018-07-06 22:02:26\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"INITIAL\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"实例升级任务完成\",\n \"JobId\": 68,\n \"AsyncRequestId\": \"\",\n \"Progress\": 100,\n \"StartTime\": \"2018-07-05 23:53:48\",\n \"EndTime\": \"2018-07-06 22:05:10\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"UPGRADE MASTER\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": -1,\n \"Message\": \"设置参数失败\",\n \"JobId\": 66,\n \"AsyncRequestId\": \"780b2e32-79cb0f4c-ec7854c5-44ff5371\",\n \"Progress\": 0,\n \"StartTime\": \"2018-07-05 23:30:36\",\n \"EndTime\": \"2018-07-05 23:30:37\",\n \"InstanceIds\": [\n \"cdb-o02fxj9g\"\n ],\n \"TaskType\": \"MODIFY PARAM\",\n \"TaskStatus\": \"FAILED\"\n }\n ],\n \"RequestId\": \"9a4b22f5-0f93-4a72-ba05-1eb6cdf37a1e\"\n }\n}",
686
686
  "title": "查询云数据库实例任务列表"
@@ -5374,7 +5374,6 @@
5374
5374
  "document": "DescribeDistrictIspData请求参数结构体",
5375
5375
  "members": [
5376
5376
  {
5377
- "default": "",
5378
5377
  "document": "域名列表,最多支持20个域名",
5379
5378
  "example": "[\"www.test.com\\n\"]",
5380
5379
  "member": "string",
@@ -5383,7 +5382,6 @@
5383
5382
  "type": "list"
5384
5383
  },
5385
5384
  {
5386
- "default": "",
5387
5385
  "document": "查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间\n支持近 60 天内的数据查询,每次查询时间区间为 3 小时",
5388
5386
  "example": "2020-03-27 00:00:00",
5389
5387
  "member": "datetime",
@@ -5392,7 +5390,6 @@
5392
5390
  "type": "string"
5393
5391
  },
5394
5392
  {
5395
- "default": "",
5396
5393
  "document": "查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间\n结束时间与起始时间区间最大为 3 小时",
5397
5394
  "example": "2020-03-27 00:00:00",
5398
5395
  "member": "datetime",
@@ -5401,8 +5398,7 @@
5401
5398
  "type": "string"
5402
5399
  },
5403
5400
  {
5404
- "default": "",
5405
- "document": "指定查询指标,支持:\nbandwidth:带宽,单位为 bps\nrequest:请求数,单位为 次",
5401
+ "document": "指定查询指标,支持:\nbandwidth:带宽,单位为 bps\nflux:流量,单位为 byte\nrequest:请求数,单位为 次\nstatusCode:状态码,返回 0、2xx、3xx、4xx、5xx 汇总数据,单位为 次\n2xx:返回 2xx 状态码汇总及各 2 开头状态码数据,单位为 次\n3xx:返回 3xx 状态码汇总及各 3 开头状态码数据,单位为 次\n4xx:返回 4xx 状态码汇总及各 4 开头状态码数据,单位为 次\n5xx:返回 5xx 状态码汇总及各 5 开头状态码数据,单位为 次\n支持指定具体状态码查询,若未产生过,则返回为空",
5406
5402
  "example": "bandwidth",
5407
5403
  "member": "string",
5408
5404
  "name": "Metric",
@@ -5410,7 +5406,6 @@
5410
5406
  "type": "string"
5411
5407
  },
5412
5408
  {
5413
- "default": "",
5414
5409
  "document": "指定省份查询,不填充表示查询所有省份\n省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)",
5415
5410
  "example": "[\"122\\n\"]",
5416
5411
  "member": "int64",
@@ -5419,7 +5414,6 @@
5419
5414
  "type": "list"
5420
5415
  },
5421
5416
  {
5422
- "default": "",
5423
5417
  "document": "指定运营商查询,不填充表示查询所有运营商\n运营商编码可以查看 [运营商编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)",
5424
5418
  "example": "[\"3947\\n\"]",
5425
5419
  "member": "int64",
@@ -5428,7 +5422,6 @@
5428
5422
  "type": "list"
5429
5423
  },
5430
5424
  {
5431
- "default": "",
5432
5425
  "document": "指定协议查询,不填充表示查询所有协议\nall:所有协议\nhttp:指定查询 HTTP 对应指标\nhttps:指定查询 HTTPS 对应指标",
5433
5426
  "example": "http",
5434
5427
  "member": "string",
@@ -5437,7 +5430,6 @@
5437
5430
  "type": "string"
5438
5431
  },
5439
5432
  {
5440
- "default": "",
5441
5433
  "document": "指定IP协议查询,不填充表示查询所有协议\nall:所有协议\nipv4:指定查询 ipv4 对应指标\nipv6:指定查询 ipv6 对应指标\n指定IP协议查询时,不可同时指定省份、运营商查询",
5442
5434
  "example": "ipv4",
5443
5435
  "member": "string",
@@ -5446,7 +5438,6 @@
5446
5438
  "type": "string"
5447
5439
  },
5448
5440
  {
5449
- "default": "",
5450
5441
  "document": "时间粒度,支持以下几种模式(默认5min):\nmin:1 分钟粒度,支持近 60 天内的数据查询,每次查询时间区间不超过10分钟,可返回 1 分钟粒度明细数据\n5min:5 分钟粒度,支持近 60 天内的数据查询,每次查询时间区间不超过3 小时,可返回 5 分钟粒度明细数据",
5451
5442
  "example": "5min",
5452
5443
  "member": "string",
@@ -5465,7 +5456,6 @@
5465
5456
  "example": "无",
5466
5457
  "member": "DistrictIspInfo",
5467
5458
  "name": "Data",
5468
- "required": true,
5469
5459
  "type": "list",
5470
5460
  "value_allowed_null": true
5471
5461
  },
@@ -176,7 +176,7 @@
176
176
  ],
177
177
  "DescribeDistrictIspData": [
178
178
  {
179
- "document": "",
179
+ "document": "查询域名用量的地区运营商分布情况",
180
180
  "input": "https://cdn.tencentcloudapi.com/?Action=DescribeDistrictIspData\n&StartTime=2020-03-27 00:00:00\n&EndTime=2020-03-27 00:00:00\n&Metric=bandwidth\n&Domains.0=www.test.com\n&Districts.0=122\n&Isps.0=3947\n&Protocol=http\n&IpProtocol=ipv4\n&<公共请求参数>",
181
181
  "output": "{\n \"Response\": {\n \"RequestId\": \"abcd-efgh-ijkl-mnop\",\n \"Data\": [\n {\n \"Domain\": \"www.test.com\",\n \"Protocol\": \"http\",\n \"IpProtocol\": \"ipv4\",\n \"StartTime\": \"2020-03-27 00:00:00\",\n \"EndTime\": \"2020-03-27 00:00:00\",\n \"Interval\": 5,\n \"Metric\": \"bandwidth\",\n \"District\": 122,\n \"Isp\": 3947,\n \"DataPoints\": [\n 0\n ],\n \"DistrictName\": \"山东\",\n \"IspName\": \"中国铁通\"\n }\n ]\n }\n}",
182
182
  "title": "查询CDN地区运营商明细日志数据"
@@ -5314,7 +5314,6 @@
5314
5314
  "document": "日志上下文信息",
5315
5315
  "members": [
5316
5316
  {
5317
- "default": "",
5318
5317
  "document": "日志来源设备",
5319
5318
  "example": "100.105.60.255",
5320
5319
  "member": "string",
@@ -5324,7 +5323,6 @@
5324
5323
  "value_allowed_null": false
5325
5324
  },
5326
5325
  {
5327
- "default": "",
5328
5326
  "document": "采集路径",
5329
5327
  "example": "/usr/local/services/cls_cgi_api3-1.0/log/cls_cgi.log.20210425",
5330
5328
  "member": "string",
@@ -5334,7 +5332,6 @@
5334
5332
  "value_allowed_null": false
5335
5333
  },
5336
5334
  {
5337
- "default": "",
5338
5335
  "document": "日志内容",
5339
5336
  "example": "{\"__TAG__\":{\"full_name\":\"[N][腾讯云CLS_互联网] - [现网运营][上海园区] - [CGI3.",
5340
5337
  "member": "string",
@@ -5344,7 +5341,6 @@
5344
5341
  "value_allowed_null": false
5345
5342
  },
5346
5343
  {
5347
- "default": "",
5348
5344
  "document": "日志包序号",
5349
5345
  "example": "528C1318606EFEB8-1A0",
5350
5346
  "member": "string",
@@ -5354,7 +5350,6 @@
5354
5350
  "value_allowed_null": false
5355
5351
  },
5356
5352
  {
5357
- "default": "",
5358
5353
  "document": "日志包内一条日志的序号",
5359
5354
  "example": "196609",
5360
5355
  "member": "int64",
@@ -5364,7 +5359,6 @@
5364
5359
  "value_allowed_null": false
5365
5360
  },
5366
5361
  {
5367
- "default": "",
5368
5362
  "document": "日志时间戳",
5369
5363
  "example": "2021-04-25 14:25:00.000",
5370
5364
  "member": "int64",
@@ -5374,7 +5368,6 @@
5374
5368
  "value_allowed_null": false
5375
5369
  },
5376
5370
  {
5377
- "default": "",
5378
5371
  "document": "日志来源主机名称\n注意:此字段可能返回 null,表示取不到有效值。",
5379
5372
  "example": "hostName-1",
5380
5373
  "member": "string",
@@ -5382,6 +5375,24 @@
5382
5375
  "required": true,
5383
5376
  "type": "string",
5384
5377
  "value_allowed_null": true
5378
+ },
5379
+ {
5380
+ "document": "原始日志(仅在日志创建索引异常时有值)\n注意:此字段可能返回 null,表示取不到有效值。",
5381
+ "example": "{\"content\":\"test\"}",
5382
+ "member": "string",
5383
+ "name": "RawLog",
5384
+ "required": false,
5385
+ "type": "string",
5386
+ "value_allowed_null": true
5387
+ },
5388
+ {
5389
+ "document": "日志创建索引异常原因(仅在日志创建索引异常时有值)\n注意:此字段可能返回 null,表示取不到有效值。",
5390
+ "example": "IndexAllFail:fields like 'a' and 'a.b' can not appear in the same topic",
5391
+ "member": "string",
5392
+ "name": "IndexStatus",
5393
+ "required": false,
5394
+ "type": "string",
5395
+ "value_allowed_null": true
5385
5396
  }
5386
5397
  ],
5387
5398
  "usage": "out"
@@ -5390,7 +5401,6 @@
5390
5401
  "document": "日志结果信息",
5391
5402
  "members": [
5392
5403
  {
5393
- "default": "",
5394
5404
  "document": "日志时间,单位ms",
5395
5405
  "example": "1619162953000",
5396
5406
  "member": "int64",
@@ -5400,7 +5410,6 @@
5400
5410
  "value_allowed_null": false
5401
5411
  },
5402
5412
  {
5403
- "default": "",
5404
5413
  "document": "日志主题ID",
5405
5414
  "example": "4463e7b0-3ec8-41a1-ae48-5d24b22167c2",
5406
5415
  "member": "string",
@@ -5410,7 +5419,6 @@
5410
5419
  "value_allowed_null": false
5411
5420
  },
5412
5421
  {
5413
- "default": "",
5414
5422
  "document": "日志主题名称",
5415
5423
  "example": "test",
5416
5424
  "member": "string",
@@ -5420,7 +5428,6 @@
5420
5428
  "value_allowed_null": false
5421
5429
  },
5422
5430
  {
5423
- "default": "",
5424
5431
  "document": "日志来源IP",
5425
5432
  "example": "10.0.0.1",
5426
5433
  "member": "string",
@@ -5430,7 +5437,6 @@
5430
5437
  "value_allowed_null": false
5431
5438
  },
5432
5439
  {
5433
- "default": "",
5434
5440
  "document": "日志文件名称",
5435
5441
  "example": "/test/access.log",
5436
5442
  "member": "string",
@@ -5440,7 +5446,6 @@
5440
5446
  "value_allowed_null": false
5441
5447
  },
5442
5448
  {
5443
- "default": "",
5444
5449
  "document": "日志上报请求包的ID",
5445
5450
  "example": "0",
5446
5451
  "member": "string",
@@ -5450,7 +5455,6 @@
5450
5455
  "value_allowed_null": false
5451
5456
  },
5452
5457
  {
5453
- "default": "",
5454
5458
  "document": "请求包内日志的ID",
5455
5459
  "example": "0",
5456
5460
  "member": "string",
@@ -5460,7 +5464,6 @@
5460
5464
  "value_allowed_null": false
5461
5465
  },
5462
5466
  {
5463
- "default": "",
5464
5467
  "document": "日志内容的Json序列化字符串\n注意:此字段可能返回 null,表示取不到有效值。",
5465
5468
  "example": "{\"content\":\"test\"}",
5466
5469
  "member": "string",
@@ -5470,7 +5473,6 @@
5470
5473
  "value_allowed_null": true
5471
5474
  },
5472
5475
  {
5473
- "default": "",
5474
5476
  "document": "日志来源主机名称\n注意:此字段可能返回 null,表示取不到有效值。",
5475
5477
  "example": "hostName-1",
5476
5478
  "member": "string",
@@ -5478,6 +5480,24 @@
5478
5480
  "required": true,
5479
5481
  "type": "string",
5480
5482
  "value_allowed_null": true
5483
+ },
5484
+ {
5485
+ "document": "原始日志(仅在日志创建索引异常时有值)\n注意:此字段可能返回 null,表示取不到有效值。",
5486
+ "example": "{\"content\":\"test\"}",
5487
+ "member": "string",
5488
+ "name": "RawLog",
5489
+ "required": false,
5490
+ "type": "string",
5491
+ "value_allowed_null": true
5492
+ },
5493
+ {
5494
+ "document": "日志创建索引异常原因(仅在日志创建索引异常时有值)\n注意:此字段可能返回 null,表示取不到有效值。",
5495
+ "example": "IndexAllFail:fields like 'a' and 'a.b' can not appear in the same topic",
5496
+ "member": "string",
5497
+ "name": "IndexStatus",
5498
+ "required": false,
5499
+ "type": "string",
5500
+ "value_allowed_null": true
5481
5501
  }
5482
5502
  ],
5483
5503
  "usage": "out"
@@ -7178,7 +7198,6 @@
7178
7198
  "document": "SearchLog请求参数结构体",
7179
7199
  "members": [
7180
7200
  {
7181
- "default": "",
7182
7201
  "document": "要检索分析的日志的起始时间,Unix时间戳(毫秒)",
7183
7202
  "example": "1608794854000",
7184
7203
  "member": "int64",
@@ -7187,7 +7206,6 @@
7187
7206
  "type": "int"
7188
7207
  },
7189
7208
  {
7190
- "default": "",
7191
7209
  "document": "要检索分析的日志的结束时间,Unix时间戳(毫秒)",
7192
7210
  "example": "1608794855000",
7193
7211
  "member": "int64",
@@ -7196,7 +7214,6 @@
7196
7214
  "type": "int"
7197
7215
  },
7198
7216
  {
7199
- "default": "",
7200
7217
  "document": "检索分析语句,最大长度为12KB\n语句由 <a href=\"https://cloud.tencent.com/document/product/614/47044\" target=\"_blank\">[检索条件]</a> | <a href=\"https://cloud.tencent.com/document/product/614/44061\" target=\"_blank\">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句\n使用*或空字符串可查询所有日志",
7201
7218
  "example": "http_status:200",
7202
7219
  "member": "string",
@@ -7205,7 +7222,6 @@
7205
7222
  "type": "string"
7206
7223
  },
7207
7224
  {
7208
- "default": "",
7209
7225
  "document": "要检索分析的日志主题ID",
7210
7226
  "example": "682d0718-07bb-4ec0-9fda-f1e9a2767e0b",
7211
7227
  "member": "string",
@@ -7214,7 +7230,6 @@
7214
7230
  "type": "string"
7215
7231
  },
7216
7232
  {
7217
- "default": "",
7218
7233
  "document": "表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数\n注意:\n* 仅当检索分析语句(Query)不包含SQL时有效\n* SQL结果条数指定方式参考<a href=\"https://cloud.tencent.com/document/product/614/58977\" target=\"_blank\">SQL LIMIT语法</a>",
7219
7234
  "example": "100",
7220
7235
  "member": "int64",
@@ -7223,7 +7238,6 @@
7223
7238
  "type": "int"
7224
7239
  },
7225
7240
  {
7226
- "default": "",
7227
7241
  "document": "透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时\n注意:\n* 透传该参数时,请勿修改除该参数外的其它参数\n* 仅当检索分析语句(Query)不包含SQL时有效\n* SQL获取后续结果参考<a href=\"https://cloud.tencent.com/document/product/614/58977\" target=\"_blank\">SQL LIMIT语法</a>",
7228
7242
  "example": "Y29udGV4dC04MjMzNWRkMi01YmMxLTQ4NGYtYjQ4MS04MDg0NzAwYjQ1NDUxNjcy",
7229
7243
  "member": "string",
@@ -7232,7 +7246,6 @@
7232
7246
  "type": "string"
7233
7247
  },
7234
7248
  {
7235
- "default": "",
7236
7249
  "document": "原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc\n注意:\n* 仅当检索分析语句(Query)不包含SQL时有效\n* SQL结果排序方式参考<a href=\"https://cloud.tencent.com/document/product/614/58978\" target=\"_blank\">SQL ORDER BY语法</a>",
7237
7250
  "example": "asc",
7238
7251
  "member": "string",
@@ -7241,7 +7254,6 @@
7241
7254
  "type": "string"
7242
7255
  },
7243
7256
  {
7244
- "default": "",
7245
7257
  "document": "为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效\n为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效\n两种返回方式在编码格式上有少量区别,建议使用true",
7246
7258
  "example": "false",
7247
7259
  "member": "bool",
@@ -7250,13 +7262,20 @@
7250
7262
  "type": "bool"
7251
7263
  },
7252
7264
  {
7253
- "default": "",
7254
7265
  "document": "执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。\n0:自动采样;\n0~1:按指定采样率采样,例如0.02;\n1:不采样,即精确分析\n默认值为1",
7255
7266
  "example": "0.1",
7256
7267
  "member": "float",
7257
7268
  "name": "SamplingRate",
7258
7269
  "required": false,
7259
7270
  "type": "float"
7271
+ },
7272
+ {
7273
+ "document": "检索语法规则,默认值为0。\n0:Lucene语法,1:CQL语法。\n详细说明参见https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules",
7274
+ "example": "1",
7275
+ "member": "uint64",
7276
+ "name": "SyntaxRule",
7277
+ "required": false,
7278
+ "type": "int"
7260
7279
  }
7261
7280
  ],
7262
7281
  "type": "object"
@@ -7269,7 +7288,6 @@
7269
7288
  "example": "Y29udGV4dC04MjMzNWRkMi01YmMxLTQ4NGYtYjQ4MS04MDg0NzAwYjQ1NDUxNjcy",
7270
7289
  "member": "string",
7271
7290
  "name": "Context",
7272
- "required": true,
7273
7291
  "type": "string",
7274
7292
  "value_allowed_null": false
7275
7293
  },
@@ -7278,7 +7296,6 @@
7278
7296
  "example": "1",
7279
7297
  "member": "bool",
7280
7298
  "name": "ListOver",
7281
- "required": true,
7282
7299
  "type": "bool",
7283
7300
  "value_allowed_null": false
7284
7301
  },
@@ -7287,7 +7304,6 @@
7287
7304
  "example": "false",
7288
7305
  "member": "bool",
7289
7306
  "name": "Analysis",
7290
- "required": true,
7291
7307
  "type": "bool",
7292
7308
  "value_allowed_null": false
7293
7309
  },
@@ -7296,7 +7312,6 @@
7296
7312
  "example": "无",
7297
7313
  "member": "LogInfo",
7298
7314
  "name": "Results",
7299
- "required": true,
7300
7315
  "type": "list",
7301
7316
  "value_allowed_null": true
7302
7317
  },
@@ -7305,7 +7320,6 @@
7305
7320
  "example": "[]",
7306
7321
  "member": "string",
7307
7322
  "name": "ColNames",
7308
- "required": true,
7309
7323
  "type": "list",
7310
7324
  "value_allowed_null": true
7311
7325
  },
@@ -7314,7 +7328,6 @@
7314
7328
  "example": "无",
7315
7329
  "member": "LogItems",
7316
7330
  "name": "AnalysisResults",
7317
- "required": true,
7318
7331
  "type": "list",
7319
7332
  "value_allowed_null": true
7320
7333
  },
@@ -7323,7 +7336,6 @@
7323
7336
  "example": "[\"xxx\",\"yy\"]",
7324
7337
  "member": "string",
7325
7338
  "name": "AnalysisRecords",
7326
- "required": true,
7327
7339
  "type": "list",
7328
7340
  "value_allowed_null": true
7329
7341
  },
@@ -7332,7 +7344,6 @@
7332
7344
  "example": "无",
7333
7345
  "member": "Column",
7334
7346
  "name": "Columns",
7335
- "required": true,
7336
7347
  "type": "list",
7337
7348
  "value_allowed_null": true
7338
7349
  },
@@ -498,9 +498,9 @@
498
498
  ],
499
499
  "SearchLog": [
500
500
  {
501
- "document": "",
502
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchLog\n<公共请求参数>\n\n{\n \"TopicId\": \"682d0718-07bb-4ec0-9fda-f1e9a2767e0b\",\n \"From\": 1608794854000,\n \"To\": 1608794855000,\n \"Query\": \"http_status:200\",\n \"Limit\": 100\n}",
503
- "output": "{\n \"Response\": {\n \"AnalysisRecords\": [\n \"xx\"\n ],\n \"Results\": [\n {\n \"PkgId\": \"xx\",\n \"TopicId\": \"xx\",\n \"FileName\": \"xx\",\n \"Source\": \"xx\",\n \"LogJson\": \"xx\",\n \"Time\": 1608794854001,\n \"TopicName\": \"xx\",\n \"PkgLogId\": \"xx\"\n }\n ],\n \"Analysis\": false,\n \"ListOver\": true,\n \"Context\": \"xx\",\n \"AnalysisResults\": [\n {\n \"Data\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n }\n ],\n \"ColNames\": [\n \"xx\"\n ],\n \"Columns\": [\n {\n \"Type\": \"xx\",\n \"Name\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
501
+ "document": "查询http响应状态码(http_code)为200的日志",
502
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchLog\n<公共请求参数>\n\n{\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"From\": 1679901909686,\n \"To\": 1679902809686,\n \"Query\": \"http_code:\\\"200\\\"\",\n \"Limit\": 1,\n \"Sort\": \"desc\",\n \"UseNewAnalysis\": true,\n \"SyntaxRule\": 1\n}",
503
+ "output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC0zZDVmZGI2NC1jNDZkLTQ2NzktYWM2OC1jYzg2NjUxYmVlMWExNjc5OTAyODEwNDM0\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": null,\n \"Results\": [\n {\n \"Time\": 1679902806070,\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"TopicName\": \"CDN Demo访问日志日志主题_10000100xxxx\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"LogJson\": \"{\\\"referer\\\":\\\"http://qwunsag.2022.qq.com/prizes?activity_code=AVGCHaQFX02Eb\\\",\\\"method\\\":\\\"GET\\\",\\\"isp\\\":\\\"中国联通\\\",\\\"remote_port\\\":\\\"45088\\\",\\\"ua\\\":\\\"Mozilla/5.0 (Linux; Android 9; INE-AL00 Build/HUAWEIINE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3211 MMWEBSDK/20210601 Mobile Safari/537.36 MMWEBID/6389 MicroMessenger/8.0.11.1980(0x28000B5B) Process/toolsmp WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64\\\",\\\"uuid\\\":\\\"acf1010c853f4a24bb3e92cc34e283e2\\\",\\\"version\\\":\\\"1\\\",\\\"file_size\\\":\\\"186358\\\",\\\"url\\\":\\\"/loxtxt/979884858.png\\\",\\\"request_range\\\":\\\"-\\\",\\\"rsp_size\\\":\\\"186830\\\",\\\"hit\\\":\\\"hit\\\",\\\"request_time\\\":\\\"2808\\\",\\\"http_code\\\":\\\"200\\\",\\\"param\\\":\\\"-\\\",\\\"sys_address\\\":\\\"9.130.154.208\\\",\\\"proto\\\":\\\"HTTPS\\\",\\\"host\\\":\\\"test.2022.cls.cn\\\",\\\"sys_datasource\\\":\\\"cq.3.4.v1.2.17\\\",\\\"client_ip\\\":\\\"116.116.247.167\\\",\\\"time\\\":\\\"1679902806070\\\",\\\"app_id\\\":\\\"1302700768\\\",\\\"prov\\\":\\\"内蒙古自治区\\\",\\\"timestamp\\\":\\\"2023-03-27T15:40:06+08:00\\\"}\",\n \"RawLog\": \"\",\n \"IndexStatus\": \"\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": null,\n \"RequestId\": \"79f593e5-1374-4463-xxxx-c49d0b3c5290\"\n }\n}",
504
504
  "title": "查询日志"
505
505
  }
506
506
  ],
@@ -8148,7 +8148,6 @@
8148
8148
  "document": "ModifyInstancesProject请求参数结构体",
8149
8149
  "members": [
8150
8150
  {
8151
- "default": "",
8152
8151
  "document": "一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。",
8153
8152
  "example": "[\"ins-r8hr2upy\\r\\n\",\"ins-5d8a23rs\\r\\n\"]",
8154
8153
  "member": "string",
@@ -8157,8 +8156,7 @@
8157
8156
  "type": "list"
8158
8157
  },
8159
8158
  {
8160
- "default": "",
8161
- "document": "项目ID。项目可以使用[AddProject](https://cloud.tencent.com/doc/api/403/4398)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/product/378/4400) API返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。",
8159
+ "document": "项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/product/651/81952)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/product/378/4400) API返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。",
8162
8160
  "example": "1045",
8163
8161
  "member": "int64",
8164
8162
  "name": "ProjectId",
@@ -10182,7 +10180,7 @@
10182
10180
  "type": "object"
10183
10181
  },
10184
10182
  {
10185
- "document": "购买实例数量。包年包月实例取值范围:[1,300],按量计费实例取值范围:[1,100]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。",
10183
+ "document": "购买实例数量。包年包月实例取值范围:[1,500],按量计费实例取值范围:[1,500]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。",
10186
10184
  "example": "1",
10187
10185
  "member": "int64",
10188
10186
  "name": "InstanceCount",