tccli 3.0.1290.1__py2.py3-none-any.whl → 3.0.1292.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 (82) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/antiddos/antiddos_client.py +7 -113
  3. tccli/services/antiddos/v20200309/api.json +189 -520
  4. tccli/services/antiddos/v20200309/examples.json +6 -22
  5. tccli/services/apm/v20210622/api.json +44 -44
  6. tccli/services/apm/v20210622/examples.json +5 -5
  7. tccli/services/batch/v20170312/api.json +161 -161
  8. tccli/services/batch/v20170312/examples.json +1 -1
  9. tccli/services/bi/v20220105/api.json +1 -1
  10. tccli/services/bi/v20220105/examples.json +1 -1
  11. tccli/services/cam/v20190116/api.json +39 -33
  12. tccli/services/cam/v20190116/examples.json +1 -1
  13. tccli/services/cbs/v20170312/api.json +24 -20
  14. tccli/services/cdwch/v20200915/api.json +507 -418
  15. tccli/services/cdwch/v20200915/examples.json +29 -29
  16. tccli/services/cdwpg/v20201230/api.json +21 -21
  17. tccli/services/cdwpg/v20201230/examples.json +2 -2
  18. tccli/services/ckafka/v20190819/api.json +1256 -1241
  19. tccli/services/clb/v20180317/api.json +12 -8
  20. tccli/services/cls/cls_client.py +18 -230
  21. tccli/services/cls/v20201016/api.json +182 -616
  22. tccli/services/cls/v20201016/examples.json +0 -32
  23. tccli/services/cvm/v20170312/api.json +10 -0
  24. tccli/services/cynosdb/v20190107/api.json +95 -95
  25. tccli/services/dbbrain/v20191016/api.json +32 -32
  26. tccli/services/dbbrain/v20210527/api.json +117 -108
  27. tccli/services/dcdb/v20180411/api.json +48 -48
  28. tccli/services/dnspod/dnspod_client.py +466 -307
  29. tccli/services/dnspod/v20210323/api.json +391 -0
  30. tccli/services/dnspod/v20210323/examples.json +24 -0
  31. tccli/services/dsgc/dsgc_client.py +0 -53
  32. tccli/services/dsgc/v20190723/api.json +0 -24
  33. tccli/services/dsgc/v20190723/examples.json +0 -8
  34. tccli/services/emr/v20190103/api.json +249 -13
  35. tccli/services/emr/v20190103/examples.json +2 -2
  36. tccli/services/hunyuan/v20230901/api.json +13 -2
  37. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  38. tccli/services/iotexplorer/v20190423/api.json +72 -0
  39. tccli/services/iotexplorer/v20190423/examples.json +8 -0
  40. tccli/services/iotvideoindustry/v20201201/api.json +617 -598
  41. tccli/services/iotvideoindustry/v20201201/examples.json +16 -16
  42. tccli/services/lke/lke_client.py +0 -53
  43. tccli/services/lke/v20231130/api.json +0 -43
  44. tccli/services/lke/v20231130/examples.json +0 -8
  45. tccli/services/lkeap/v20240522/api.json +1 -1
  46. tccli/services/mariadb/v20170312/api.json +42 -42
  47. tccli/services/mariadb/v20170312/examples.json +12 -0
  48. tccli/services/memcached/v20190318/api.json +1 -1
  49. tccli/services/mmps/v20200710/api.json +95 -95
  50. tccli/services/monitor/monitor_client.py +57 -4
  51. tccli/services/monitor/v20180724/api.json +249 -0
  52. tccli/services/monitor/v20180724/examples.json +8 -0
  53. tccli/services/mps/v20190612/api.json +7 -7
  54. tccli/services/postgres/v20170312/api.json +308 -283
  55. tccli/services/redis/v20180412/api.json +2 -2
  56. tccli/services/svp/v20240125/api.json +69 -69
  57. tccli/services/svp/v20240125/examples.json +2 -2
  58. tccli/services/tcb/tcb_client.py +0 -53
  59. tccli/services/tcb/v20180608/api.json +0 -110
  60. tccli/services/tcb/v20180608/examples.json +0 -8
  61. tccli/services/tcss/tcss_client.py +224 -277
  62. tccli/services/tcss/v20201101/api.json +4618 -4329
  63. tccli/services/tcss/v20201101/examples.json +207 -221
  64. tccli/services/tdmq/tdmq_client.py +0 -53
  65. tccli/services/tdmq/v20200217/api.json +266 -355
  66. tccli/services/tdmq/v20200217/examples.json +0 -8
  67. tccli/services/teo/teo_client.py +106 -0
  68. tccli/services/teo/v20220901/api.json +132 -18
  69. tccli/services/teo/v20220901/examples.json +16 -0
  70. tccli/services/thpc/v20211109/api.json +8 -8
  71. tccli/services/thpc/v20220401/api.json +14 -14
  72. tccli/services/thpc/v20230321/api.json +25 -24
  73. tccli/services/tke/v20180525/api.json +60 -60
  74. tccli/services/tke/v20220501/api.json +34 -34
  75. tccli/services/vpc/v20170312/api.json +44 -44
  76. tccli/services/waf/v20180125/api.json +9 -0
  77. tccli/services/wedata/v20210820/api.json +185 -12
  78. {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/METADATA +2 -2
  79. {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/RECORD +82 -82
  80. {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/WHEEL +0 -0
  81. {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/entry_points.txt +0 -0
  82. {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/license_files/LICENSE +0 -0
@@ -350,14 +350,6 @@
350
350
  "title": "获取高防IP业务流量曲线"
351
351
  }
352
352
  ],
353
- "DescribeBlackWhiteIpList": [
354
- {
355
- "document": "",
356
- "input": "https://antiddos.tencentcloudapi.com/?Action=DescribeBlackWhiteIpList\n&InstanceId=bgpip-00001001\n&<公共请求参数>",
357
- "output": "{\n \"Response\": {\n \"RequestId\": \"0f996729-bb5b-49da-89c3-8fc2a7400bd5\",\n \"BlackIpList\": [\n \"123.123.123.1\"\n ],\n \"WhiteIpList\": [\n \"123.123.123.2\"\n ]\n }\n}",
358
- "title": "获取DDoS防护的IP黑白名单"
359
- }
360
- ],
361
353
  "DescribeCCLevelList": [
362
354
  {
363
355
  "document": "",
@@ -378,7 +370,7 @@
378
370
  {
379
371
  "document": "",
380
372
  "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCPrecisionPlyList\n<公共请求参数>\n\n{\n \"Business\": \"bgp-multip\",\n \"InstanceId\": \"bgp-00000211\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
381
- "output": "{\n \"Response\": {\n \"RequestId\": \"23a97c66-22d4-4522-b93b-388aac08777d\",\n \"Total\": 1,\n \"PrecisionPolicyList\": [\n {\n \"PolicyId\": \"ccPrecs-00000001\",\n \"InstanceId\": \"bgp-00000211\",\n \"Ip\": \"1.1.1.1\",\n \"Protocol\": \"http\",\n \"Domain\": \"www.test.com\",\n \"PolicyAction\": \"alg\",\n \"PolicyList\": [\n {\n \"FieldType\": \"value\",\n \"FieldName\": \"cgi\",\n \"Value\": \"test\",\n \"ValueOperator\": \"include\"\n }\n ],\n \"CreateTime\": \"2022-12-01 09:05:36\",\n \"ModifyTime\": \"2022-12-01 09:05:36\"\n }\n ]\n }\n}",
373
+ "output": "{\n \"Response\": {\n \"RequestId\": \"23a97c66-22d4-4522-b93b-388aac08777d\",\n \"Total\": 1,\n \"PrecisionPolicyList\": [\n {\n \"PolicyId\": \"ccPrecs-00000001\",\n \"InstanceId\": \"bgp-00000211\",\n \"Ip\": \"1.1.1.1\",\n \"Protocol\": \"http\",\n \"Domain\": \"www.test.com\",\n \"PolicyAction\": \"alg\",\n \"PolicyList\": [\n {\n \"FieldType\": \"value\",\n \"FieldName\": \"cgi\",\n \"Value\": \"value\",\n \"ValueOperator\": \"include\"\n }\n ],\n \"CreateTime\": \"2022-12-01 09:05:36\",\n \"ModifyTime\": \"2022-12-01 09:05:36\"\n }\n ]\n }\n}",
382
374
  "title": "获取CC精准防护列表"
383
375
  }
384
376
  ],
@@ -386,7 +378,7 @@
386
378
  {
387
379
  "document": "",
388
380
  "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCReqLimitPolicyList\n<公共请求参数>\n\n{\n \"Business\": \"bgp-multip\",\n \"InstanceId\": \"bgp-00000001\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
389
- "output": "{\n \"Response\": {\n \"RequestId\": \"ea775a73-7de5-4d36-aca0-29307e7c4f27\",\n \"Total\": 1,\n \"RequestLimitPolicyList\": [\n {\n \"PolicyId\": \"ccRule-00009xn0\",\n \"InstanceId\": \"bgp-00000001\",\n \"Ip\": \"1.1.1.1\",\n \"Protocol\": \"http\",\n \"Domain\": \"www.test.com\",\n \"PolicyRecord\": {\n \"Period\": 10,\n \"RequestNum\": 500,\n \"Action\": \"alg\",\n \"ExecuteDuration\": 120,\n \"Mode\": \"equal\",\n \"Uri\": \"/\",\n \"UserAgent\": \"\",\n \"Cookie\": \"\"\n },\n \"CreateTime\": \"2022-12-02 09:11:48\",\n \"ModifyTime\": \"2022-12-02 09:11:48\"\n }\n ]\n }\n}",
381
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ea775a73-7de5-4d36-aca0-29307e7c4f27\",\n \"Total\": 1,\n \"RequestLimitPolicyList\": [\n {\n \"PolicyId\": \"ccRule-00009xn0\",\n \"InstanceId\": \"bgp-00000001\",\n \"Ip\": \"1.1.1.1\",\n \"Protocol\": \"http\",\n \"Domain\": \"www.test.com\",\n \"PolicyRecord\": {\n \"Period\": 10,\n \"RequestNum\": 500,\n \"Action\": \"alg\",\n \"ExecuteDuration\": 120,\n \"Mode\": \"equal\",\n \"Uri\": \"www.a.com\",\n \"UserAgent\": \"\",\n \"Cookie\": \"\"\n },\n \"CreateTime\": \"2022-12-02 09:11:48\",\n \"ModifyTime\": \"2022-12-02 09:11:48\"\n }\n ]\n }\n}",
390
382
  "title": "获取CC频率限制策略列表"
391
383
  }
392
384
  ],
@@ -550,14 +542,6 @@
550
542
  "title": "获取DDoS防护的端口acl策略列表"
551
543
  }
552
544
  ],
553
- "DescribeListProtectThresholdConfig": [
554
- {
555
- "document": "",
556
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListProtectThresholdConfig\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": \"25\",\n \"Offset\": \"0\"\n}",
557
- "output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"DDoSThreshold\": 1,\n \"RstFloodPktThreshold\": 1,\n \"SynAckFloodThreshold\": 1,\n \"DDoSAI\": \"om\",\n \"CCEnable\": 1,\n \"ListenerCcThresholdList\": [\n {\n \"CCThreshold\": 0,\n \"Domain\": \"*.examw.com\",\n \"Protocol\": \"http\",\n \"CCEnable\": 0\n }\n ],\n \"AckFloodThreshold\": 1,\n \"SynFloodThreshold\": 1,\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ],\n \"CCThreshold\": 1,\n \"UdpFloodPktThreshold\": 1,\n \"AckFloodPktThreshold\": 1,\n \"UdpFloodThreshold\": 1,\n \"SynAckFloodPktThreshold\": 1,\n \"RstFloodThreshold\": 1,\n \"DDoSLevel\": \"middle\",\n \"SynFloodPktThreshold\": 1\n }\n ],\n \"RequestId\": \"f56cc9dc-29d9-4594-b12d-22239c7bc888\"\n }\n}",
558
- "title": "获取防护阈值配置列表"
559
- }
560
- ],
561
545
  "DescribeListProtocolBlockConfig": [
562
546
  {
563
547
  "document": "",
@@ -618,7 +602,7 @@
618
602
  {
619
603
  "document": "",
620
604
  "input": "https://antiddos.tencentcloudapi.com/?Action=DescribeOverviewDDoSEventList\n&StartTime=2020-02-01 12:04:12\n&EndTime=2020-02-03 18:03:23\n&<公共请求参数>",
621
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Total\": 1,\n \"EventList\": [\n {\n \"Id\": \"ddosev-00000421\",\n \"Vip\": \"10.143.145.42\",\n \"StartTime\": \"2021-04-14 14:14:54\",\n \"EndTime\": \"2021-04-14 14:16:23\",\n \"AttackType\": \"SYNFLOOD\",\n \"AttackStatus\": 0,\n \"Mbps\": 23414,\n \"Pps\": 2313,\n \"Business\": \"bgpip\",\n \"InstanceId\": \"bgpip-00000143\",\n \"InstanceName\": \"test\"\n }\n ]\n }\n}",
605
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Total\": 1,\n \"EventList\": [\n {\n \"Id\": \"ddosev-00000421\",\n \"Vip\": \"10.143.145.42\",\n \"StartTime\": \"2021-04-14 14:14:54\",\n \"EndTime\": \"2021-04-14 14:16:23\",\n \"AttackType\": \"SYNFLOOD\",\n \"AttackStatus\": 0,\n \"Mbps\": 23414,\n \"Pps\": 2313,\n \"Business\": \"bgpip\",\n \"InstanceId\": \"bgpip-00000143\",\n \"InstanceName\": \"name\"\n }\n ]\n }\n}",
622
606
  "title": "获取防护概览的ddos攻击事件"
623
607
  }
624
608
  ],
@@ -673,7 +657,7 @@
673
657
  "ModifyCCReqLimitPolicy": [
674
658
  {
675
659
  "document": "",
676
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCCReqLimitPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"bgpip-00000001\",\n \"Policy\": {\n \"Action\": \"alg\",\n \"ExecuteDuration\": 100,\n \"Mode\": \"equal\",\n \"Period\": 10,\n \"RequestNum\": 600,\n \"Uri\": \"/\"\n },\n \"PolicyId\": \"ccRule-00009001\"\n}",
660
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCCReqLimitPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"bgpip-00000001\",\n \"Policy\": {\n \"Action\": \"alg\",\n \"ExecuteDuration\": 100,\n \"Mode\": \"equal\",\n \"Period\": 10,\n \"RequestNum\": 600,\n \"Uri\": \"www.a.com\"\n },\n \"PolicyId\": \"ccRule-00009001\"\n}",
677
661
  "output": "{\n \"Response\": {\n \"RequestId\": \"5063ab0a-a8a7-41e8-ace2-263b2c1c8794\"\n }\n}",
678
662
  "title": "修改CC频率限制策略"
679
663
  }
@@ -737,7 +721,7 @@
737
721
  "ModifyDomainUsrName": [
738
722
  {
739
723
  "document": "",
740
- "input": "https://antiddos.tencentcloudapi.com/?Action=ModifyDomainUsrName\n&DomainName=test.com\n&DomainUserName=test\n&<公共请求参数>",
724
+ "input": "https://antiddos.tencentcloudapi.com/?Action=ModifyDomainUsrName\n&DomainName=test.com\n&DomainUserName=name\n&<公共请求参数>",
741
725
  "output": "{\n \"Response\": {\n \"RequestId\": \"5063ab0a-a8a7-41e8-ace2-263b2c1c8794\"\n }\n}",
742
726
  "title": "修改智能解析域名名称"
743
727
  }
@@ -745,7 +729,7 @@
745
729
  "ModifyNewDomainRules": [
746
730
  {
747
731
  "document": "",
748
- "input": "https://antiddos.tencentcloudapi.com/?Action=ModifyNewDomainRules\n&Business=bgpip\n&Id=bgpip-000000xe\n&Rule.RuleName=test\n&Rule.Protocol=http\n&Rule.Domain=www.abc.com\n&Rule.SourceType=2\n&Rule.LbType=1\n&Rule.KeepTime=300\n&Rule.SourceList.0.Source=1.1.1.10\n&Rule.SourceList.0.Weight=100\n&Rule.SourceList.1.Source=1.1.1.20\n&Rule.SourceList.1.Weight=100\n&Rule.CertType=0\n&Rule.VirtualPort=8443\n&Rule.KeepEnable=0\n&<公共请求参数>",
732
+ "input": "https://antiddos.tencentcloudapi.com/?Action=ModifyNewDomainRules\n&Business=bgpip\n&Id=bgpip-000000xe\n&Rule.RuleName=name\n&Rule.Protocol=http\n&Rule.Domain=www.abc.com\n&Rule.SourceType=2\n&Rule.LbType=1\n&Rule.KeepTime=300\n&Rule.SourceList.0.Source=1.1.1.10\n&Rule.SourceList.0.Weight=100\n&Rule.SourceList.1.Source=1.1.1.20\n&Rule.SourceList.1.Weight=100\n&Rule.CertType=0\n&Rule.VirtualPort=8443\n&Rule.KeepEnable=0\n&<公共请求参数>",
749
733
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n }\n }\n}",
750
734
  "title": "修改7层转发规则"
751
735
  }
@@ -1448,7 +1448,7 @@
1448
1448
  "example": "apm-CVfliqa8U",
1449
1449
  "member": "string",
1450
1450
  "name": "InstanceId",
1451
- "required": false,
1451
+ "required": true,
1452
1452
  "type": "string"
1453
1453
  },
1454
1454
  {
@@ -1457,7 +1457,7 @@
1457
1457
  "example": "1617123538",
1458
1458
  "member": "int64",
1459
1459
  "name": "StartTime",
1460
- "required": false,
1460
+ "required": true,
1461
1461
  "type": "int"
1462
1462
  },
1463
1463
  {
@@ -1466,7 +1466,7 @@
1466
1466
  "example": "1617123538",
1467
1467
  "member": "int64",
1468
1468
  "name": "EndTime",
1469
- "required": false,
1469
+ "required": true,
1470
1470
  "type": "int"
1471
1471
  },
1472
1472
  {
@@ -1552,6 +1552,15 @@
1552
1552
  "DescribeMetricRecordsRequest": {
1553
1553
  "document": "DescribeMetricRecords请求参数结构体",
1554
1554
  "members": [
1555
+ {
1556
+ "disabled": false,
1557
+ "document": "业务系统 ID",
1558
+ "example": "apm-CVfliqa8U",
1559
+ "member": "string",
1560
+ "name": "InstanceId",
1561
+ "required": true,
1562
+ "type": "string"
1563
+ },
1555
1564
  {
1556
1565
  "disabled": false,
1557
1566
  "document": "指标列表",
@@ -1561,22 +1570,13 @@
1561
1570
  "required": true,
1562
1571
  "type": "list"
1563
1572
  },
1564
- {
1565
- "disabled": false,
1566
- "document": "业务系统 ID",
1567
- "example": "apm-CVfliqa8U",
1568
- "member": "string",
1569
- "name": "InstanceId",
1570
- "required": false,
1571
- "type": "string"
1572
- },
1573
1573
  {
1574
1574
  "disabled": false,
1575
1575
  "document": "开始时间(单位为秒)",
1576
1576
  "example": "1618361193",
1577
1577
  "member": "uint64",
1578
1578
  "name": "StartTime",
1579
- "required": false,
1579
+ "required": true,
1580
1580
  "type": "int"
1581
1581
  },
1582
1582
  {
@@ -1585,9 +1585,18 @@
1585
1585
  "example": "1618361193",
1586
1586
  "member": "uint64",
1587
1587
  "name": "EndTime",
1588
- "required": false,
1588
+ "required": true,
1589
1589
  "type": "int"
1590
1590
  },
1591
+ {
1592
+ "disabled": false,
1593
+ "document": "聚合维度",
1594
+ "example": "[\"service.instance\"]",
1595
+ "member": "string",
1596
+ "name": "GroupBy",
1597
+ "required": true,
1598
+ "type": "list"
1599
+ },
1591
1600
  {
1592
1601
  "disabled": false,
1593
1602
  "document": "过滤条件",
@@ -1606,15 +1615,6 @@
1606
1615
  "required": false,
1607
1616
  "type": "list"
1608
1617
  },
1609
- {
1610
- "disabled": false,
1611
- "document": "聚合维度",
1612
- "example": "[\"service.instance\"]",
1613
- "member": "string",
1614
- "name": "GroupBy",
1615
- "required": false,
1616
- "type": "list"
1617
- },
1618
1618
  {
1619
1619
  "disabled": false,
1620
1620
  "document": "排序\n现支持的 Key 有:\n\n- startTime(开始时间)\n- endTime(结束时间)\n- duration(响应时间)\n\n现支持的 Value 有:\n\n- desc(降序排序)\n- asc(升序排序)",
@@ -1734,6 +1734,24 @@
1734
1734
  "required": true,
1735
1735
  "type": "list"
1736
1736
  },
1737
+ {
1738
+ "disabled": false,
1739
+ "document": "开始时间(单位:秒)",
1740
+ "example": "1618361193",
1741
+ "member": "uint64",
1742
+ "name": "StartTime",
1743
+ "required": true,
1744
+ "type": "int"
1745
+ },
1746
+ {
1747
+ "disabled": false,
1748
+ "document": "结束时间(单位:秒)",
1749
+ "example": "1618361193",
1750
+ "member": "uint64",
1751
+ "name": "EndTime",
1752
+ "required": true,
1753
+ "type": "int"
1754
+ },
1737
1755
  {
1738
1756
  "disabled": false,
1739
1757
  "document": "聚合维度",
@@ -1752,24 +1770,6 @@
1752
1770
  "required": false,
1753
1771
  "type": "list"
1754
1772
  },
1755
- {
1756
- "disabled": false,
1757
- "document": "开始时间(单位:秒)",
1758
- "example": "1618361193",
1759
- "member": "uint64",
1760
- "name": "StartTime",
1761
- "required": false,
1762
- "type": "int"
1763
- },
1764
- {
1765
- "disabled": false,
1766
- "document": "结束时间(单位:秒)",
1767
- "example": "1618361193",
1768
- "member": "uint64",
1769
- "name": "EndTime",
1770
- "required": false,
1771
- "type": "int"
1772
- },
1773
1773
  {
1774
1774
  "disabled": false,
1775
1775
  "document": "排序方式\nValue 填写:\n- asc:对查询指标进行升序排序\n- desc:对查询指标进行降序排序",
@@ -1849,7 +1849,7 @@
1849
1849
  "example": "1734400800",
1850
1850
  "member": "int64",
1851
1851
  "name": "StartTime",
1852
- "required": false,
1852
+ "required": true,
1853
1853
  "type": "int"
1854
1854
  },
1855
1855
  {
@@ -1858,7 +1858,7 @@
1858
1858
  "example": "1734415200",
1859
1859
  "member": "int64",
1860
1860
  "name": "EndTime",
1861
- "required": false,
1861
+ "required": true,
1862
1862
  "type": "int"
1863
1863
  },
1864
1864
  {
@@ -2149,7 +2149,7 @@
2149
2149
  {
2150
2150
  "disabled": false,
2151
2151
  "document": "是否开启错误采样(0=关, 1=开)",
2152
- "example": "10",
2152
+ "example": "1",
2153
2153
  "member": "int64",
2154
2154
  "name": "ErrorSample",
2155
2155
  "required": false,
@@ -69,13 +69,13 @@
69
69
  "DescribeGeneralSpanList": [
70
70
  {
71
71
  "document": "根据 Trace ID 列表批量查询 Span,Filters 查询参数中将 Type 设置为 in ,将 Trace ID 列表通过,隔开",
72
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desc\"\n },\n \"Filters\": [\n {\n \"Key\": \"traceID\",\n \"Type\": \"in\",\n \"Value\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"52Dpv13GR\",\n \"BusinessName\": \"tdmq\"\n}",
72
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desc\"\n },\n \"Filters\": [\n {\n \"Key\": \"traceID\",\n \"Type\": \"in\",\n \"Value\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"apm-52Dpv13GR\",\n \"StartTime\": 1742374000,\n \"EndTime\": 1742374331,\n \"BusinessName\": \"tdmq\"\n}",
73
73
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"test-test-test\",\n \"Spans\": [\n {\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\",\n \"Logs\": [\n {\n \"Timestamp\": 0,\n \"Fields\": [\n {\n \"Type\": \"service.name\",\n \"Value\": \"=\",\n \"Key\": \"java-order-service\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Type\": \"service.name\",\n \"Value\": \"=\",\n \"Key\": \"java-order-service\"\n }\n ],\n \"Process\": {\n \"ServiceName\": \"java-order-service\",\n \"Tags\": [\n {\n \"Type\": \"service.name\",\n \"Value\": \"=\",\n \"Key\": \"java-order-service\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"/test\",\n \"References\": [\n {\n \"RefType\": \"1\",\n \"SpanID\": \"4q6549c49aaa\",\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"StartTime\": 0,\n \"Duration\": 0,\n \"SpanID\": \"1q23w1q32165\",\n \"StartTimeMillis\": 0\n }\n ]\n }\n}",
74
74
  "title": "通用查询调用链列表"
75
75
  },
76
76
  {
77
77
  "document": "指定 Tag 过滤条件拿到 Span 列表",
78
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desce\"\n },\n \"Filters\": [\n {\n \"Key\": \"pulsar:sub_name\",\n \"Type\": \"=\",\n \"Value\": \"participants\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"52Dpv13GR\",\n \"BusinessName\": \"tdmq\",\n \"StartTime\": 1621923035\n}",
78
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desce\"\n },\n \"Filters\": [\n {\n \"Key\": \"pulsar:sub_name\",\n \"Type\": \"=\",\n \"Value\": \"participants\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"52Dpv13GR\",\n \"BusinessName\": \"tdmq\",\n \"StartTime\": 1621923035,\n \"EndTime\": 1621923038\n}",
79
79
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"test-test-test\",\n \"Spans\": [\n {\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\",\n \"Logs\": [\n {\n \"Timestamp\": 0,\n \"Fields\": [\n {\n \"Type\": \"job\",\n \"Value\": \"=\",\n \"Key\": \"test1\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Type\": \"=\",\n \"Value\": \"java-order-service\",\n \"Key\": \"service.name\"\n }\n ],\n \"Process\": {\n \"ServiceName\": \"java-order-service\",\n \"Tags\": [\n {\n \"Type\": \"job\",\n \"Value\": \"=\",\n \"Key\": \"test2\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"/testOperation\",\n \"References\": [\n {\n \"RefType\": \"1\",\n \"SpanID\": \"qertuytw\",\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"StartTime\": 0,\n \"Duration\": 0,\n \"SpanID\": \"xasfvava\",\n \"StartTimeMillis\": 0\n }\n ]\n }\n}",
80
80
  "title": "通用查询调用链列表2"
81
81
  }
@@ -89,7 +89,7 @@
89
89
  },
90
90
  {
91
91
  "document": "场景2",
92
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMetricRecords\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"span.kind\",\n \"Type\": \"in\",\n \"Value\": \"server,consumer\"\n }\n ],\n \"Metrics\": [\n {\n \"MetricName\": \"duration_avg\",\n \"Compares\": [\n \"CompareByYesterday\",\n \"CompareByLastWeek\"\n ]\n }\n ],\n \"GroupBy\": [\n \"service.instance\"\n ],\n \"Limit\": 10,\n \"Offset\": 1,\n \"StartTime\": 1618361193,\n \"EndTime\": 1618677137,\n \"OrderBy\": {\n \"Key\": \"duration_avg\",\n \"Value\": \"DESC\"\n }\n}",
92
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMetricRecords\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"span.kind\",\n \"Type\": \"in\",\n \"Value\": \"server,consumer\"\n }\n ],\n \"Metrics\": [\n {\n \"MetricName\": \"duration_avg\",\n \"Compares\": [\n \"CompareByYesterday\",\n \"CompareByLastWeek\"\n ]\n }\n ],\n \"GroupBy\": [\n \"service.instance\"\n ],\n \"Limit\": 10,\n \"Offset\": 1,\n \"StartTime\": 1618361193,\n \"EndTime\": 1618677137,\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"OrderBy\": {\n \"Key\": \"duration_avg\",\n \"Value\": \"DESC\"\n }\n}",
93
93
  "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"LastPeriodValue\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": 71308388\n }\n ],\n \"CompareVal\": \"CompareByYesterday\",\n \"Unit\": \"s\",\n \"Value\": 691.42,\n \"Key\": \"duration_avg\",\n \"CompareVals\": [\n {\n \"Value\": \"CompareByYesterday\",\n \"Key\": \"2%\"\n },\n {\n \"Key\": \"CompareByLastWeek\",\n \"Value\": \"-1%\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"service.name\",\n \"Key\": \"java-order-demo\"\n }\n ]\n }\n ],\n \"RequestId\": \"test-test-test\",\n \"TotalCount\": 0\n }\n}",
94
94
  "title": "通用指标列表接口"
95
95
  }
@@ -97,7 +97,7 @@
97
97
  "DescribeServiceOverview": [
98
98
  {
99
99
  "document": "",
100
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceOverview\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Type\": \"=\",\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Metrics\": [\n {\n \"Compare\": \"CompareByYesterday\",\n \"MetricName\": \"service_request_count_sum\"\n }\n ],\n \"GroupBy\": [\n \"service.name\"\n ]\n}",
100
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceOverview\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Type\": \"=\",\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Metrics\": [\n {\n \"Compare\": \"CompareByYesterday\",\n \"MetricName\": \"service_request_count_sum\"\n }\n ],\n \"StartTime\": 1742374000,\n \"EndTime\": 1742374331,\n \"GroupBy\": [\n \"service.name\"\n ]\n}",
101
101
  "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"CompareVal\": \"\",\n \"CompareVals\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": \"-1.6%\"\n },\n {\n \"Key\": \"CompareByLastWeek\",\n \"Value\": \"-0.8%\"\n }\n ],\n \"Key\": \"service_request_count_sum\",\n \"LastPeriodValue\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": 125\n },\n {\n \"Key\": \"CompareByLastWeek\",\n \"Value\": 124\n }\n ],\n \"Unit\": \"\",\n \"Value\": 126\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-delivery-service\"\n }\n ]\n }\n ],\n \"RequestId\": \"c7a656fe-971c-47cc-8dc4-ae76630e4761\"\n }\n}",
102
102
  "title": "获取应用概览数据"
103
103
  }
@@ -105,7 +105,7 @@
105
105
  "DescribeTagValues": [
106
106
  {
107
107
  "document": "根据维度列名和过滤条件,查询维度值",
108
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTagValues\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.instance\",\n \"Type\": \"=\",\n \"Value\": \"127.0.0.1\"\n }\n ],\n \"TagKey\": \"servier.name\",\n \"InstanceId\": \"apm-CVfliqa8U\"\n}",
108
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTagValues\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.instance\",\n \"Type\": \"=\",\n \"Value\": \"127.0.0.1\"\n }\n ],\n \"TagKey\": \"servier.name\",\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"StartTime\": 1742374000,\n \"EndTime\": 1742374331\n}",
109
109
  "output": "{\n \"Response\": {\n \"RequestId\": \"apz12zicapy-eqixuc-uehq346v59c62\",\n \"Values\": [\n \"sso-api\",\n \"auth-api\"\n ]\n }\n}",
110
110
  "title": "查询维度数据"
111
111
  }