tccli 3.0.1247.1__py2.py3-none-any.whl → 3.0.1248.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 (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aca/v20210323/api.json +9 -9
  3. tccli/services/autoscaling/v20180419/api.json +11 -0
  4. tccli/services/bh/v20230418/api.json +2 -2
  5. tccli/services/clb/v20180317/api.json +29 -1
  6. tccli/services/clb/v20180317/examples.json +2 -2
  7. tccli/services/cloudapp/v20220530/api.json +43 -12
  8. tccli/services/cloudapp/v20220530/examples.json +1 -1
  9. tccli/services/cls/v20201016/api.json +17 -7
  10. tccli/services/cls/v20201016/examples.json +4 -4
  11. tccli/services/cynosdb/v20190107/api.json +64 -0
  12. tccli/services/cynosdb/v20190107/examples.json +1 -1
  13. tccli/services/dc/v20180410/api.json +202 -171
  14. tccli/services/drm/v20181115/api.json +18 -7
  15. tccli/services/dts/v20211206/api.json +37 -1
  16. tccli/services/emr/v20190103/api.json +639 -514
  17. tccli/services/emr/v20190103/examples.json +10 -10
  18. tccli/services/ess/v20201111/api.json +22 -3
  19. tccli/services/essbasic/v20210526/api.json +21 -2
  20. tccli/services/gaap/v20180529/api.json +12 -11
  21. tccli/services/gaap/v20180529/examples.json +2 -8
  22. tccli/services/gme/v20180711/api.json +110 -100
  23. tccli/services/gme/v20180711/examples.json +2 -2
  24. tccli/services/gwlb/v20240906/api.json +1 -1
  25. tccli/services/hai/hai_client.py +61 -8
  26. tccli/services/hai/v20230812/api.json +64 -2
  27. tccli/services/hai/v20230812/examples.json +10 -2
  28. tccli/services/keewidb/v20220308/api.json +17 -17
  29. tccli/services/lcic/v20220817/api.json +1 -1
  30. tccli/services/mongodb/v20180408/api.json +52 -50
  31. tccli/services/mongodb/v20180408/examples.json +3 -3
  32. tccli/services/mongodb/v20190725/api.json +39 -44
  33. tccli/services/ocr/v20181119/api.json +7 -7
  34. tccli/services/postgres/postgres_client.py +106 -0
  35. tccli/services/postgres/v20170312/api.json +135 -0
  36. tccli/services/postgres/v20170312/examples.json +16 -0
  37. tccli/services/redis/v20180412/api.json +11 -11
  38. tccli/services/scf/v20180416/api.json +2 -2
  39. tccli/services/ssl/v20191205/api.json +6 -6
  40. tccli/services/ssl/v20191205/examples.json +71 -5
  41. tccli/services/tcb/v20180608/api.json +694 -500
  42. tccli/services/tcb/v20180608/examples.json +13 -13
  43. tccli/services/tcbr/v20220217/examples.json +1 -1
  44. tccli/services/tcr/v20190924/api.json +13 -12
  45. tccli/services/tcr/v20190924/examples.json +6 -6
  46. tccli/services/tione/v20211111/api.json +23 -3
  47. tccli/services/trtc/v20190722/api.json +51 -49
  48. tccli/services/trtc/v20190722/examples.json +2 -2
  49. tccli/services/vpc/v20170312/api.json +18 -8
  50. tccli/services/vpc/v20170312/examples.json +4 -4
  51. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/RECORD +55 -55
  53. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1247.1'
1
+ __version__ = '3.0.1248.1'
@@ -1524,7 +1524,7 @@
1524
1524
  {
1525
1525
  "disabled": false,
1526
1526
  "document": "签名数据",
1527
- "example": "",
1527
+ "example": "a4429249ae897d145d8f298ba6ece789194ef47d0b33768566209520f37eff5a",
1528
1528
  "member": "string",
1529
1529
  "name": "Signature",
1530
1530
  "required": true,
@@ -1614,7 +1614,7 @@
1614
1614
  {
1615
1615
  "disabled": false,
1616
1616
  "document": "登录获取的token",
1617
- "example": "",
1617
+ "example": "tai.4d563878587a67774d44417a4e544d344e413d3d.bde7b67ce6954a3198842895f7b021cc",
1618
1618
  "member": "string",
1619
1619
  "name": "Token",
1620
1620
  "output_required": false,
@@ -2917,7 +2917,7 @@
2917
2917
  {
2918
2918
  "disabled": false,
2919
2919
  "document": "临床研究",
2920
- "example": "暂无",
2920
+ "example": "药理作用:诺氟沙星通过抑制细菌DNA旋转酶...",
2921
2921
  "member": "string",
2922
2922
  "name": "ClinicalResearch",
2923
2923
  "output_required": false,
@@ -2947,7 +2947,7 @@
2947
2947
  {
2948
2948
  "disabled": false,
2949
2949
  "document": "警告",
2950
- "example": "暂无",
2950
+ "example": "对本品及氟喹诺酮类药过敏患者禁用。",
2951
2951
  "member": "string",
2952
2952
  "name": "Warning",
2953
2953
  "output_required": false,
@@ -3037,7 +3037,7 @@
3037
3037
  {
3038
3038
  "disabled": false,
3039
3039
  "document": "说明书制定和修订时间",
3040
- "example": "暂无",
3040
+ "example": "2021年6月8日",
3041
3041
  "member": "string",
3042
3042
  "name": "DocRevisionTime",
3043
3043
  "output_required": false,
@@ -3047,7 +3047,7 @@
3047
3047
  {
3048
3048
  "disabled": false,
3049
3049
  "document": "参考文献",
3050
- "example": "暂无",
3050
+ "example": "Hooper, D.C., & Wolfson, J.S. (1985). Fluoroquinolone antimicrobial agents. New England Journal of Medicine, 312(15), 914-921.",
3051
3051
  "member": "string",
3052
3052
  "name": "References",
3053
3053
  "output_required": false,
@@ -3086,8 +3086,8 @@
3086
3086
  },
3087
3087
  {
3088
3088
  "disabled": false,
3089
- "document": "OCT标签",
3090
- "example": "暂无",
3089
+ "document": "OTC标签",
3090
+ "example": "甲类",
3091
3091
  "member": "string",
3092
3092
  "name": "OctTag",
3093
3093
  "output_required": false,
@@ -3699,7 +3699,7 @@
3699
3699
  {
3700
3700
  "disabled": false,
3701
3701
  "document": "提示",
3702
- "example": "暂无",
3702
+ "example": "正常体温范围通常在36.1°C到37.2°C之间",
3703
3703
  "member": "string",
3704
3704
  "name": "Tips",
3705
3705
  "output_required": false,
@@ -6659,6 +6659,17 @@
6659
6659
  "required": false,
6660
6660
  "type": "int",
6661
6661
  "value_allowed_null": false
6662
+ },
6663
+ {
6664
+ "disabled": false,
6665
+ "document": "失败处理策略。默认值为 AUTO_PAUSE,取值范围如下:\n<li>AUTO_PAUSE:刷新失败后暂停</li>\n<li>AUTO_ROLLBACK:刷新失败后回滚。回滚时每批次回滚一台实例,CheckInstanceTargetHealth 参数值与原刷新活动一致。MaxSurge参数引入的扩缩容流程失败无需回滚,会用取消动作代替回滚</li>\n<li>AUTO_CANCEL:刷新失败后取消</li>",
6666
+ "example": "AUTO_PAUSE",
6667
+ "member": "string",
6668
+ "name": "FailProcess",
6669
+ "output_required": false,
6670
+ "required": false,
6671
+ "type": "string",
6672
+ "value_allowed_null": false
6662
6673
  }
6663
6674
  ],
6664
6675
  "usage": "both"
@@ -2194,7 +2194,7 @@
2194
2194
  },
2195
2195
  {
2196
2196
  "disabled": false,
2197
- "document": "大陆手机号直接填写,如果是其他国家、地区号码, 按照\"国家地区代码|手机号\"的格式输入。如: \"+852|xxxxxxxx\"",
2197
+ "document": "按照\"国家地区代码|手机号\"的格式输入,如: \"+86|xxxxxxxx\"。手机号和邮箱参数至少传一项",
2198
2198
  "example": "133*****34",
2199
2199
  "member": "string",
2200
2200
  "name": "Phone",
@@ -2203,7 +2203,7 @@
2203
2203
  },
2204
2204
  {
2205
2205
  "disabled": false,
2206
- "document": "电子邮件",
2206
+ "document": "电子邮件。手机号和邮箱参数至少传一项",
2207
2207
  "example": "1980**76@qq.com",
2208
2208
  "member": "string",
2209
2209
  "name": "Email",
@@ -3292,6 +3292,24 @@
3292
3292
  "name": "TargetGroupInstances",
3293
3293
  "required": false,
3294
3294
  "type": "list"
3295
+ },
3296
+ {
3297
+ "disabled": false,
3298
+ "document": "标签。",
3299
+ "example": "无",
3300
+ "member": "TagInfo",
3301
+ "name": "Tags",
3302
+ "required": false,
3303
+ "type": "list"
3304
+ },
3305
+ {
3306
+ "disabled": false,
3307
+ "document": "后端服务默认权重。\n<ul>\n <li>取值范围[0, 100]</li>\n <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>\n</ul>\n",
3308
+ "example": "100",
3309
+ "member": "uint64",
3310
+ "name": "Weight",
3311
+ "required": false,
3312
+ "type": "int"
3295
3313
  }
3296
3314
  ],
3297
3315
  "type": "object"
@@ -5412,6 +5430,7 @@
5412
5430
  "example": "无",
5413
5431
  "member": "RuleOutput",
5414
5432
  "name": "RewriteSet",
5433
+ "output_required": true,
5415
5434
  "type": "list",
5416
5435
  "value_allowed_null": false
5417
5436
  },
@@ -5666,7 +5685,7 @@
5666
5685
  "example": "无",
5667
5686
  "member": "LoadBalancerHealth",
5668
5687
  "name": "LoadBalancers",
5669
- "required": true,
5688
+ "output_required": true,
5670
5689
  "type": "list",
5671
5690
  "value_allowed_null": true
5672
5691
  },
@@ -9311,6 +9330,15 @@
9311
9330
  "name": "Port",
9312
9331
  "required": false,
9313
9332
  "type": "int"
9333
+ },
9334
+ {
9335
+ "disabled": false,
9336
+ "document": "后端服务默认权重。\n<ul>\n <li>取值范围[0, 100]</li>\n <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> \n</ul>",
9337
+ "example": "100",
9338
+ "member": "uint64",
9339
+ "name": "Weight",
9340
+ "required": false,
9341
+ "type": "int"
9314
9342
  }
9315
9343
  ],
9316
9344
  "type": "object"
@@ -464,7 +464,7 @@
464
464
  {
465
465
  "document": "指定转发规则ID查询重定向关系",
466
466
  "input": "https://clb.tencentcloudapi.com/?Action=DescribeRewrite\n&LoadBalancerId=lb-qc2iq5yc\n&SourceListenerIds.0=lbl-j36caqde\n&SourceLocationIds.0=loc-5t7526km\n&<公共请求参数>",
467
- "output": "{\n \"Response\": {\n \"RewriteSet\": [\n {\n \"TargetType\": \"Node\",\n \"DefaultServer\": false,\n \"Certificate\": {\n \"SSLMode\": \"UNIDIRECTIONAL\",\n \"CertCaId\": \"xx\",\n \"CertId\": \"xx\",\n \"ExtCertIds\": [\n \"xx\"\n ]\n },\n \"TrpcCallee\": \"abc\",\n \"ListenerId\": \"lbl-xxxxxxxx\",\n \"WafDomainId\": \"xx\",\n \"HttpGzip\": true,\n \"Scheduler\": \"WRR\",\n \"TargetGroupList\": [\n {\n \"TargetGroupId\": \"lbtg-xxxxxxxx\",\n \"TargetGroupName\": \"testGroup\"\n }\n ],\n \"TargetGroup\": {\n \"TargetGroupId\": \"lbtg-xxxxxxxx\",\n \"TargetGroupName\": \"testGroup\"\n },\n \"Url\": \"/\",\n \"HealthCheck\": {\n \"RecvContext\": \"test\",\n \"HealthSwitch\": 1,\n \"HttpCheckPath\": \"/check\",\n \"HttpCheckMethod\": \"head\",\n \"UnHealthNum\": 3,\n \"IntervalTime\": 5,\n \"HttpCode\": 15,\n \"SourceIpType\": 0,\n \"CheckPort\": 0,\n \"ContextType\": \"HTTP\",\n \"HttpCheckDomain\": \"test.xxx.com\",\n \"ExtendedCode\": \"12\",\n \"HealthNum\": 3,\n \"TimeOut\": 2,\n \"CheckType\": \"TCP \",\n \"SendContext\": \"abc\",\n \"HttpVersion\": \"HTTP/1.0\"\n },\n \"TrpcFunc\": \"trpcfunc_xxx\",\n \"Http2\": false,\n \"Domains\": [\n \"test.abc.com\"\n ],\n \"BeAutoCreated\": false,\n \"Domain\": \"test.abc.com\",\n \"ForwardType\": \"HTTP\",\n \"RewriteTarget\": {\n \"TargetListenerId\": \"lbl-xxxxxxxx\",\n \"RewriteType\": \"Manual\",\n \"RewriteCode\": 0,\n \"TargetLocationId\": \"loc-xxxxxxxx\",\n \"TakeUrl\": true\n },\n \"QuicStatus\": \"OFF\",\n \"LocationId\": \"loc-xxxxxxxx\",\n \"SessionExpireTime\": 0,\n \"CreateTime\": \"2022-03-23 10:37:16\"\n }\n ],\n \"RequestId\": \"63bee47c-2bf9-4909-a8f7-67495dfe7b42\"\n }\n}",
467
+ "output": "{\n \"Response\": {\n \"RewriteSet\": [\n {\n \"TargetType\": \"Node\",\n \"DefaultServer\": false,\n \"Certificate\": {\n \"SSLMode\": \"UNIDIRECTIONAL\",\n \"CertCaId\": \"Fm8Wnpg8\",\n \"CertId\": \"Gp7qwVYB\",\n \"ExtCertIds\": [\n \"ByYdJzpw\"\n ]\n },\n \"TrpcCallee\": \"CLB\",\n \"ListenerId\": \"lbl-xxxxxxxx\",\n \"WafDomainId\": \"waf-qI07Ou7A\",\n \"HttpGzip\": true,\n \"Scheduler\": \"WRR\",\n \"TargetGroupList\": [\n {\n \"TargetGroupId\": \"lbtg-xxxxxxxx\",\n \"TargetGroupName\": \"testGroup\"\n }\n ],\n \"TargetGroup\": {\n \"TargetGroupId\": \"lbtg-xxxxxxxx\",\n \"TargetGroupName\": \"testGroup\"\n },\n \"Url\": \"/redirect\",\n \"HealthCheck\": {\n \"RecvContext\": \"ping\",\n \"HealthSwitch\": 1,\n \"HttpCheckPath\": \"/check\",\n \"HttpCheckMethod\": \"head\",\n \"UnHealthNum\": 3,\n \"IntervalTime\": 5,\n \"HttpCode\": 15,\n \"SourceIpType\": 0,\n \"CheckPort\": 0,\n \"ContextType\": \"HTTP\",\n \"HttpCheckDomain\": \"test.xxx.com\",\n \"ExtendedCode\": \"12\",\n \"HealthNum\": 3,\n \"TimeOut\": 2,\n \"CheckType\": \"TCP \",\n \"SendContext\": \"pong\",\n \"HttpVersion\": \"HTTP/1.0\"\n },\n \"TrpcFunc\": \"trpcfunc_xxx\",\n \"Http2\": false,\n \"Domains\": [\n \"test.abc.com\"\n ],\n \"BeAutoCreated\": false,\n \"Domain\": \"test.abc.com\",\n \"ForwardType\": \"HTTP\",\n \"RewriteTarget\": {\n \"TargetListenerId\": \"lbl-xxxxxxxx\",\n \"RewriteType\": \"Manual\",\n \"RewriteCode\": 0,\n \"TargetLocationId\": \"loc-xxxxxxxx\",\n \"TakeUrl\": true\n },\n \"QuicStatus\": \"OFF\",\n \"LocationId\": \"loc-xxxxxxxx\",\n \"SessionExpireTime\": 0,\n \"CreateTime\": \"2022-03-23 10:37:16\"\n }\n ],\n \"RequestId\": \"63bee47c-2bf9-4909-a8f7-67495dfe7b42\"\n }\n}",
468
468
  "title": "指定转发规则ID查询重定向关系"
469
469
  }
470
470
  ],
@@ -502,7 +502,7 @@
502
502
  {
503
503
  "document": "",
504
504
  "input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTargetHealth\n<公共请求参数>\n\n{\n \"LoadBalancerIds\": [\n \"lb-qc2iq5yc\"\n ]\n}",
505
- "output": "{\n \"Response\": {\n \"LoadBalancers\": [\n {\n \"Listeners\": [\n {\n \"Rules\": [\n {\n \"Url\": \"/\",\n \"Domain\": \"www.123.com\",\n \"LocationId\": \"loc-5t7526km\",\n \"Targets\": []\n }\n ],\n \"Port\": 666,\n \"Protocol\": \"HTTP\",\n \"ListenerId\": \"lbl-j36caqde\",\n \"ListenerName\": \"http-111\"\n },\n {\n \"Rules\": [\n {\n \"Url\": null,\n \"Domain\": null,\n \"LocationId\": \"loc-ewygg6i0\",\n \"Targets\": [\n {\n \"HealthStatus\": false,\n \"IP\": \"172.16.0.6\",\n \"TargetId\": \"ins-19425500\",\n \"Port\": 2020\n },\n {\n \"HealthStatus\": true,\n \"IP\": \"172.16.0.12\",\n \"TargetId\": \"ins-19425y2y\",\n \"Port\": 80\n }\n ]\n }\n ],\n \"Port\": 789,\n \"Protocol\": \"TCP\",\n \"ListenerId\": \"lbl-fs9naq76\",\n \"ListenerName\": \"tcp_test\"\n },\n {\n \"Rules\": [\n {\n \"Url\": \"/\",\n \"Domain\": \"www.456.com\",\n \"LocationId\": \"loc-8gdc4qcq\",\n \"Targets\": []\n }\n ],\n \"Port\": 777,\n \"Protocol\": \"HTTP\",\n \"ListenerId\": \"lbl-9nj07x0m\",\n \"ListenerName\": \"http-222\"\n },\n {\n \"Rules\": [],\n \"Port\": 1949,\n \"Protocol\": \"HTTPS\",\n \"ListenerId\": \"lbl-087wrv48\",\n \"ListenerName\": \"https-000\"\n }\n ],\n \"LoadBalancerName\": \"lb-test123\",\n \"LoadBalancerId\": \"lb-qc2iq5yc\"\n }\n ],\n \"RequestId\": \"9d45e1ec-720c-4ce1-860e-e338e273e77e\"\n }\n}",
505
+ "output": "{\n \"Response\": {\n \"LoadBalancers\": [\n {\n \"Listeners\": [\n {\n \"Rules\": [\n {\n \"Url\": \"/service\",\n \"Domain\": \"www.123.com\",\n \"LocationId\": \"loc-5t7526km\",\n \"Targets\": []\n }\n ],\n \"Port\": 666,\n \"Protocol\": \"HTTP\",\n \"ListenerId\": \"lbl-j36caqde\",\n \"ListenerName\": \"http-111\"\n },\n {\n \"Rules\": [\n {\n \"Url\": null,\n \"Domain\": null,\n \"LocationId\": \"loc-ewygg6i0\",\n \"Targets\": [\n {\n \"HealthStatus\": false,\n \"IP\": \"172.16.0.6\",\n \"TargetId\": \"ins-19425500\",\n \"Port\": 2020,\n \"HealthStatusDetail\": \"Dead\"\n },\n {\n \"HealthStatus\": true,\n \"IP\": \"172.16.0.12\",\n \"TargetId\": \"ins-19425y2y\",\n \"Port\": 80,\n \"HealthStatusDetail\": \"Dead\"\n }\n ]\n }\n ],\n \"Port\": 789,\n \"Protocol\": \"TCP\",\n \"ListenerId\": \"lbl-fs9naq76\",\n \"ListenerName\": \"tcp_test\"\n },\n {\n \"Rules\": [\n {\n \"Url\": \"/healthchk\",\n \"Domain\": \"www.456.com\",\n \"LocationId\": \"loc-8gdc4qcq\",\n \"Targets\": []\n }\n ],\n \"Port\": 777,\n \"Protocol\": \"HTTP\",\n \"ListenerId\": \"lbl-9nj07x0m\",\n \"ListenerName\": \"http-222\"\n },\n {\n \"Rules\": [],\n \"Port\": 1949,\n \"Protocol\": \"HTTPS\",\n \"ListenerId\": \"lbl-087wrv48\",\n \"ListenerName\": \"https-000\"\n }\n ],\n \"LoadBalancerName\": \"lb-test123\",\n \"LoadBalancerId\": \"lb-qc2iq5yc\"\n }\n ],\n \"RequestId\": \"9d45e1ec-720c-4ce1-860e-e338e273e77e\"\n }\n}",
506
506
  "title": "查询负载均衡实例的后端健康状态"
507
507
  }
508
508
  ],
@@ -30,7 +30,7 @@
30
30
  },
31
31
  {
32
32
  "disabled": false,
33
- "document": "软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr></tbody></table>",
33
+ "document": "软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table>",
34
34
  "example": "Subscription",
35
35
  "member": "string",
36
36
  "name": "LicenseMode",
@@ -207,23 +207,23 @@
207
207
  },
208
208
  {
209
209
  "disabled": false,
210
- "document": "售卖参数值",
211
- "example": "100",
210
+ "document": "售卖参数的展示名称\n注意:此字段可能返回 null,表示取不到有效值。",
211
+ "example": "用户规模",
212
212
  "member": "string",
213
- "name": "ParamValue",
213
+ "name": "ParamKeyName",
214
214
  "output_required": true,
215
215
  "required": true,
216
216
  "type": "string",
217
- "value_allowed_null": false
217
+ "value_allowed_null": true
218
218
  },
219
219
  {
220
220
  "disabled": false,
221
- "document": "售卖参数的展示名称\n注意:此字段可能返回 null,表示取不到有效值。",
222
- "example": "用户规模",
221
+ "document": "售卖参数值,当ParamType=Quant时,该值有可能为Null\n注意:此字段可能返回 null,表示取不到有效值。",
222
+ "example": "100",
223
223
  "member": "string",
224
- "name": "ParamKeyName",
225
- "output_required": true,
226
- "required": true,
224
+ "name": "ParamValue",
225
+ "output_required": false,
226
+ "required": false,
227
227
  "type": "string",
228
228
  "value_allowed_null": true
229
229
  },
@@ -233,8 +233,19 @@
233
233
  "example": "100人",
234
234
  "member": "string",
235
235
  "name": "ParamValueName",
236
- "output_required": true,
237
- "required": true,
236
+ "output_required": false,
237
+ "required": false,
238
+ "type": "string",
239
+ "value_allowed_null": true
240
+ },
241
+ {
242
+ "disabled": false,
243
+ "document": "售卖参数的类型,目前支持枚举类Enum/数量类Quant\n注意:此字段可能返回 null,表示取不到有效值。",
244
+ "example": "Enum",
245
+ "member": "string",
246
+ "name": "ParamType",
247
+ "output_required": false,
248
+ "required": false,
238
249
  "type": "string",
239
250
  "value_allowed_null": true
240
251
  }
@@ -259,6 +270,26 @@
259
270
  "type": "object",
260
271
  "value_allowed_null": false
261
272
  },
273
+ {
274
+ "disabled": false,
275
+ "document": "当前请求服务端的时间戳,格式为RFC3339",
276
+ "example": "2025-01-08T11:38:46+08:00",
277
+ "member": "string",
278
+ "name": "Timestamp",
279
+ "output_required": false,
280
+ "type": "string",
281
+ "value_allowed_null": false
282
+ },
283
+ {
284
+ "disabled": false,
285
+ "document": "对License字段对应的json数据的签名",
286
+ "example": "WdF5he2Y7UxZiDAjuPlGTS91Cr9RQYqbdJqFW6k4l5WqMErlLWQ1bRwoqdORfWadizzlhTjSpxxxxxxx",
287
+ "member": "string",
288
+ "name": "Signature",
289
+ "output_required": false,
290
+ "type": "string",
291
+ "value_allowed_null": false
292
+ },
262
293
  {
263
294
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
264
295
  "member": "string",
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "document": "软件进程对接 LICENSE 后,通过运行时角色申请临时密钥来调用,获取对应的 LICENSE 信息。\n\n获取到 LICENSE 后,请注意校验 LicenseStatus 是否有效,无效时软件可根据策略拒绝服务或者提供降级服务。同时,LICENSE 包含用户购买的规格信息,软件可根据规格来做运行的约束。\n\n对接 LICENSE 的详细方案,请参考文档:\n* [对接 LICENSE](https://cloud.tencent.com/document/product/1689/109428)\n* [通过运行时角色调用云 API](https://cloud.tencent.com/document/product/1689/109427)",
6
6
  "input": "POST / HTTP/1.1\nHost: cloudapp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyLicense\n<公共请求参数>\n\n{}",
7
- "output": "{\n \"Response\": {\n \"License\": {\n \"LicenseId\": \"LICENSE_CLOUDAPP_A95275D8\",\n \"LicenseMode\": \"Subscription\",\n \"LicenseStatus\": \"Active\",\n \"ProviderId\": 1,\n \"SoftwarePackageId\": \"pkg-kby01bv4\",\n \"SoftwarePackageVersion\": \"1.0.0\",\n \"AuthorizedUserUin\": \"100008888888\",\n \"AuthorizedCloudappId\": \"cloudapp\",\n \"AuthorizedCloudappRoleId\": \"4000008000060000\",\n \"AuthorizedSpecification\": [\n {\n \"ParamKey\": \"user_scale\",\n \"ParamValue\": \"100\",\n \"ParamKeyName\": \"用户规模\",\n \"ParamValueName\": \"100人\"\n }\n ],\n \"BillingMode\": 1,\n \"LifeSpan\": 1,\n \"IssueDate\": \"2020-09-22T00:00:00+00:00\",\n \"ActivationDate\": \"2020-09-22T00:00:00+00:00\",\n \"ExpirationDate\": \"2020-09-23T00:00:00+00:00\",\n \"LifeSpanUnit\": \"D\"\n },\n \"RequestId\": \"845c8910-b0af-499e-87cd-f7dcc93a595a\"\n }\n}",
7
+ "output": "{\n \"Response\": {\n \"License\": {\n \"LicenseId\": \"LICENSE_CLOUDAPP_A95275D8\",\n \"LicenseType\": \"Standard\",\n \"LicenseMode\": \"Subscription\",\n \"LicenseStatus\": \"Active\",\n \"ProviderId\": 1,\n \"SoftwarePackageId\": \"pkg-kby01bv4\",\n \"SoftwarePackageVersion\": \"1.0.0\",\n \"AuthorizedUserUin\": \"100008888888\",\n \"AuthorizedCloudappId\": \"cloudapp\",\n \"AuthorizedCloudappRoleId\": \"4000008000060000\",\n \"AuthorizedSpecification\": [\n {\n \"ParamKey\": \"user_scale\",\n \"ParamValue\": \"100\",\n \"ParamKeyName\": \"用户规模\",\n \"ParamValueName\": \"100人\"\n }\n ],\n \"BillingMode\": 1,\n \"LifeSpan\": 1,\n \"IssueDate\": \"2020-09-22T00:00:00+00:00\",\n \"ActivationDate\": \"2020-09-22T00:00:00+00:00\",\n \"ExpirationDate\": \"2020-09-23T00:00:00+00:00\",\n \"LifeSpanUnit\": \"D\"\n },\n \"Signature\": \"WdF5he2Y7UxZiDAjuPlGTS91Cr9RQYqbdJqFW6k4l5WqMErlLWQ1bRwoqdORfWadizzlhTjSpxxxxxxx\",\n \"Timestamp\": \"2025-01-08T12:02:40+08:00\",\n \"RequestId\": \"845c8910-b0af-499e-87cd-f7dcc93a595a\"\n }\n}",
8
8
  "title": "从软件进程读取 LICENSE"
9
9
  }
10
10
  ]
@@ -934,7 +934,7 @@
934
934
  {
935
935
  "disabled": false,
936
936
  "document": "告警策略名称。",
937
- "example": "test",
937
+ "example": "p0-业务告警",
938
938
  "member": "string",
939
939
  "name": "Name",
940
940
  "output_required": true,
@@ -964,7 +964,7 @@
964
964
  {
965
965
  "disabled": false,
966
966
  "document": "单触发条件。与MultiConditions参数互斥。",
967
- "example": "",
967
+ "example": "$1.cnt > 1",
968
968
  "member": "string",
969
969
  "name": "Condition",
970
970
  "output_required": true,
@@ -994,7 +994,7 @@
994
994
  {
995
995
  "disabled": false,
996
996
  "document": "关联的告警通知模板列表。",
997
- "example": "",
997
+ "example": "[\"notice-b388dc72-****-****-9dbb-7d05fdff0376\"]",
998
998
  "member": "string",
999
999
  "name": "AlarmNoticeIds",
1000
1000
  "output_required": true,
@@ -1014,7 +1014,7 @@
1014
1014
  {
1015
1015
  "disabled": false,
1016
1016
  "document": "告警策略ID。",
1017
- "example": "57f5808c-4a55-11eb-b378-0242ac130002",
1017
+ "example": "alarm-b8a247be-d866-4e00-a875-897435f37d18",
1018
1018
  "member": "string",
1019
1019
  "name": "AlarmId",
1020
1020
  "output_required": true,
@@ -1024,7 +1024,7 @@
1024
1024
  {
1025
1025
  "disabled": false,
1026
1026
  "document": "创建时间。",
1027
- "example": "",
1027
+ "example": "2024-10-21 22:37:16",
1028
1028
  "member": "string",
1029
1029
  "name": "CreateTime",
1030
1030
  "output_required": true,
@@ -1034,7 +1034,7 @@
1034
1034
  {
1035
1035
  "disabled": false,
1036
1036
  "document": "最近更新时间。",
1037
- "example": "",
1037
+ "example": "2024-10-21 22-56-18",
1038
1038
  "member": "string",
1039
1039
  "name": "UpdateTime",
1040
1040
  "output_required": true,
@@ -1104,13 +1104,23 @@
1104
1104
  {
1105
1105
  "disabled": false,
1106
1106
  "document": "告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。\n注意:此字段可能返回 null,表示取不到有效值。",
1107
- "example": "0",
1107
+ "example": "1",
1108
1108
  "member": "uint64",
1109
1109
  "name": "AlarmLevel",
1110
1110
  "output_required": true,
1111
1111
  "type": "int",
1112
1112
  "value_allowed_null": true
1113
1113
  },
1114
+ {
1115
+ "disabled": false,
1116
+ "document": "告警附加分类字段。\n注意:此字段可能返回 null,表示取不到有效值。",
1117
+ "example": "[{\"Key\":\"abc\",\"Value\":\"123\"}]",
1118
+ "member": "AlarmClassification",
1119
+ "name": "Classifications",
1120
+ "output_required": true,
1121
+ "type": "list",
1122
+ "value_allowed_null": true
1123
+ },
1114
1124
  {
1115
1125
  "disabled": false,
1116
1126
  "document": "多触发条件。与\nCondition互斥。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -114,7 +114,7 @@
114
114
  ],
115
115
  "CreateConsoleSharing": [
116
116
  {
117
- "document": "创建控制台检索页/仪表盘免登陆分享站点",
117
+ "document": "创建控制台检索页/仪表盘免登录分享站点",
118
118
  "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsoleSharing\n<公共请求参数>\n\n{\n \"SharingConfig\": {\n \"Name\": \"my-sharing\",\n \"Type\": 1,\n \"VerifyCode\": \"lEC0V0\",\n \"DurationMilliseconds\": 1800000,\n \"NowTime\": 1706787306086,\n \"IsLockTimeRange\": true,\n \"IsLockQuery\": true,\n \"Params\": [\n {\n \"Name\": \"query\"\n }\n ],\n \"Resources\": [\n \"qcs::cls:ap-guangzhou:uin/10000000001:topic/c1306921-2180-3e45-9azb-31d12217871e6\"\n ]\n }\n}",
119
119
  "output": "{\n \"Response\": {\n \"SharingUrl\": \"https://clsshare.tencent-cloud.com/s/13cez28h\",\n \"SharingId\": \"13cez28h\",\n \"RequestId\": \"714cf720-43e9-460b-bd9a-42a193ca3d94\"\n }\n}",
120
120
  "title": "创建控制台匿名分享请求示例"
@@ -695,8 +695,8 @@
695
695
  "ModifyAlarm": [
696
696
  {
697
697
  "document": "修改告警策略",
698
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAlarm\n<公共请求参数>\n\n{\n \"AlarmNoticeIds\": [\n \"notice-479dec34-4a59-11eb-b378-0242ac130002\"\n ],\n \"Name\": \"test\",\n \"TriggerCount\": 1,\n \"AlarmPeriod\": 0,\n \"MonitorTime\": {\n \"Type\": \"Period\",\n \"Time\": 10\n },\n \"AlarmTargets\": [\n {\n \"TopicId\": \"6f574591-01b0-4475-bf0c-68255839a35d\",\n \"Number\": 1,\n \"Query\": \"* | select source\",\n \"EndTimeOffset\": 0,\n \"StartTimeOffset\": 0,\n \"LogsetId\": \"ff574591-01b0-4475-bf0c-68255839a35d\"\n }\n ],\n \"Condition\": \"$1.source='10.0.0.1'\",\n \"AlarmId\": \"alarm-bea71170-4a59-11eb-b378-0242ac130002\"\n}",
699
- "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
698
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAlarm\n<公共请求参数>\n\n{\n \"AlarmId\": \"alarm-fb0c92e7-xxxx-xxxx-b141-74859f894481\",\n \"Name\": \"bow-test-中文\"\n}",
699
+ "output": "{\n \"Response\": {\n \"RequestId\": \"37fe3a72-xxxx-xxxx-951a-9468fa020261\"\n }\n}",
700
700
  "title": "修改告警策略"
701
701
  }
702
702
  ],
@@ -851,7 +851,7 @@
851
851
  },
852
852
  {
853
853
  "document": "改为跨账号投递",
854
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyShipper\n<公共请求参数>\n\n{\n\n \"ShipperId\": \"3f9562a7-xxxx-xxxx-b32a-d51a927226a7\",\n \"Bucket\": \"examplebucket-1250000000\",\n \"Prefix\": \"bowtest-1250000000\",\n \"ShipperName\": \"bow-test-1250000000\",\n \"Interval\": 300,\n \"MaxSize\": 10,\n \"FilenameMode\": 1,\n \"FilterRules\": [\n {\n \"Key\": \"http\",\n \"Regex\": \"^(\\\\d+\\\\.\\\\d+)\\\\..*\",\n \"Value\": \"172.16\"\n }\n ],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"RoleArn\": \"qcs::cam::uin/123123123:roleName/uinA_writeCLS_to_COS\",\n \"ExternalId\": \"123123123123123\",\n \"Content\": {\n \"Format\": \"json\",\n \"Json\": {\n \"EnableTag\": true,\n \"MetaFields\": [\n \"__SOURCE__\",\n \"__FILENAME__\",\n \"__TIMESTAMP__\",\n \"__HOSTNAME__\"\n ],\n \"JsonType\": 0\n }\n }\n}",
854
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyShipper\n<公共请求参数>\n\n{\n \"ShipperId\": \"3f9562a7-xxxx-xxxx-b32a-d51a927226a7\",\n \"Bucket\": \"examplebucket-1250000000\",\n \"Prefix\": \"bowtest-1250000000\",\n \"ShipperName\": \"bow-test-1250000000\",\n \"Interval\": 300,\n \"MaxSize\": 10,\n \"FilenameMode\": 1,\n \"FilterRules\": [\n {\n \"Key\": \"http\",\n \"Regex\": \"^(\\\\d+\\\\.\\\\d+)\\\\..*\",\n \"Value\": \"172.16\"\n }\n ],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"Content\": {\n \"Format\": \"json\",\n \"Json\": {\n \"EnableTag\": true,\n \"MetaFields\": [\n \"__SOURCE__\",\n \"__FILENAME__\",\n \"__TIMESTAMP__\",\n \"__HOSTNAME__\"\n ],\n \"JsonType\": 0\n }\n }\n}",
855
855
  "output": "{\n \"Response\": {\n \"RequestId\": \"25d826d2-xxxx-xxxx-a4b6-f5490e86ae81\"\n }\n}",
856
856
  "title": "修改投递任务"
857
857
  }
@@ -2972,6 +2972,16 @@
2972
2972
  "output_required": false,
2973
2973
  "type": "list",
2974
2974
  "value_allowed_null": true
2975
+ },
2976
+ {
2977
+ "disabled": false,
2978
+ "document": "任务进度信息",
2979
+ "example": "无",
2980
+ "member": "TaskProgressInfo",
2981
+ "name": "TaskProgressInfo",
2982
+ "output_required": false,
2983
+ "type": "object",
2984
+ "value_allowed_null": false
2975
2985
  }
2976
2986
  ],
2977
2987
  "usage": "out"
@@ -10572,6 +10582,15 @@
10572
10582
  "name": "OrderByType",
10573
10583
  "required": false,
10574
10584
  "type": "string"
10585
+ },
10586
+ {
10587
+ "disabled": false,
10588
+ "document": "sql语句",
10589
+ "example": "SELECT",
10590
+ "member": "string",
10591
+ "name": "SqlText",
10592
+ "required": false,
10593
+ "type": "string"
10575
10594
  }
10576
10595
  ],
10577
10596
  "type": "object"
@@ -19939,6 +19958,15 @@
19939
19958
  "name": "OriginalROInstanceList",
19940
19959
  "required": false,
19941
19960
  "type": "list"
19961
+ },
19962
+ {
19963
+ "disabled": false,
19964
+ "document": "项目id",
19965
+ "example": "10",
19966
+ "member": "int64",
19967
+ "name": "ProjectId",
19968
+ "required": false,
19969
+ "type": "int"
19942
19970
  }
19943
19971
  ],
19944
19972
  "type": "object"
@@ -21397,6 +21425,42 @@
21397
21425
  ],
21398
21426
  "usage": "out"
21399
21427
  },
21428
+ "TaskProgressInfo": {
21429
+ "document": "任务进度查询",
21430
+ "members": [
21431
+ {
21432
+ "disabled": false,
21433
+ "document": "当前步骤",
21434
+ "example": "FinishTask",
21435
+ "member": "string",
21436
+ "name": "CurrentStep",
21437
+ "output_required": false,
21438
+ "type": "string",
21439
+ "value_allowed_null": false
21440
+ },
21441
+ {
21442
+ "disabled": false,
21443
+ "document": "当前进度",
21444
+ "example": "0",
21445
+ "member": "int64",
21446
+ "name": "CurrentStepProgress",
21447
+ "output_required": false,
21448
+ "type": "int",
21449
+ "value_allowed_null": false
21450
+ },
21451
+ {
21452
+ "disabled": false,
21453
+ "document": "预估时间",
21454
+ "example": "0",
21455
+ "member": "string",
21456
+ "name": "CurrentStepRemainingTime",
21457
+ "output_required": false,
21458
+ "type": "string",
21459
+ "value_allowed_null": false
21460
+ }
21461
+ ],
21462
+ "usage": "out"
21463
+ },
21400
21464
  "TemplateParamInfo": {
21401
21465
  "document": "参数模板详情",
21402
21466
  "members": [
@@ -518,7 +518,7 @@
518
518
  {
519
519
  "document": "",
520
520
  "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceSlowQueries\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-xxxxxxxx\",\n \"StartTime\": \"2022-06-22 00:00:00\",\n \"EndTime\": \"2022-06-24 23:59:59\"\n}",
521
- "output": "{\n \"Response\": {\n \"TotalCount\": 6,\n \"SlowQueries\": [\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.00011,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891555,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n },\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.000109,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891543,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n },\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.000107,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891531,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n },\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.000104,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891520,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n },\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.000108,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891508,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n },\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.000122,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891496,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n }\n ],\n \"RequestId\": \"9e56617c-c7cc-44e1-a967-6beb418ad5e7\"\n }\n}",
521
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SlowQueries\": [\n {\n \"Database\": \"information_schema\",\n \"LockTime\": 0,\n \"QueryTime\": 11.00011,\n \"RowsExamined\": 0,\n \"RowsSent\": 0,\n \"SqlMd5\": \"267171214708E27C\",\n \"SqlTemplate\": \"select sleep(?) limit ? offset ?;\",\n \"SqlText\": \"SELECT sleep(11) LIMIT 11 offset 0\",\n \"Timestamp\": 1655891555,\n \"UserHost\": \"11.186.190.10\",\n \"UserName\": \"root\"\n }\n ],\n \"RequestId\": \"9e56617c-c7cc-44e1-a967-6beb418ad5e7\"\n }\n}",
522
522
  "title": "查询实例慢日志详情"
523
523
  }
524
524
  ],