tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/credentials.py +25 -0
  5. tccli/main.py +6 -2
  6. tccli/plugins/sso/__init__.py +61 -0
  7. tccli/plugins/sso/configs.py +4 -0
  8. tccli/plugins/sso/configure.py +45 -0
  9. tccli/plugins/sso/login.py +144 -0
  10. tccli/plugins/sso/logout.py +21 -0
  11. tccli/plugins/sso/terminal.py +161 -0
  12. tccli/plugins/sso/texts.py +40 -0
  13. tccli/services/__init__.py +6 -0
  14. tccli/services/acp/v20220105/api.json +7 -7
  15. tccli/services/acp/v20220105/examples.json +2 -2
  16. tccli/services/aiart/v20221229/api.json +29 -29
  17. tccli/services/aiart/v20221229/examples.json +8 -8
  18. tccli/services/apigateway/v20180808/api.json +18 -17
  19. tccli/services/apigateway/v20180808/examples.json +12 -12
  20. tccli/services/apm/v20210622/api.json +98 -4
  21. tccli/services/asr/v20190614/api.json +18 -17
  22. tccli/services/asr/v20190614/examples.json +13 -13
  23. tccli/services/autoscaling/v20180419/api.json +371 -309
  24. tccli/services/autoscaling/v20180419/examples.json +17 -17
  25. tccli/services/batch/v20170312/api.json +7 -7
  26. tccli/services/bda/v20200324/api.json +39 -31
  27. tccli/services/bda/v20200324/examples.json +9 -9
  28. tccli/services/bh/__init__.py +4 -0
  29. tccli/services/bh/bh_client.py +3428 -0
  30. tccli/services/bh/v20230418/api.json +8180 -0
  31. tccli/services/bh/v20230418/examples.json +519 -0
  32. tccli/services/bi/v20220105/api.json +48 -0
  33. tccli/services/billing/v20180709/api.json +26 -24
  34. tccli/services/bsca/v20210811/api.json +1 -1
  35. tccli/services/btoe/v20210514/api.json +4 -4
  36. tccli/services/btoe/v20210514/examples.json +2 -2
  37. tccli/services/ca/v20230228/api.json +60 -0
  38. tccli/services/cam/v20190116/api.json +11 -11
  39. tccli/services/cat/v20180409/api.json +9 -0
  40. tccli/services/cbs/v20170312/api.json +200 -188
  41. tccli/services/cbs/v20170312/examples.json +4 -4
  42. tccli/services/ccc/v20200210/api.json +390 -323
  43. tccli/services/ccc/v20200210/examples.json +15 -15
  44. tccli/services/cdb/cdb_client.py +13 -13
  45. tccli/services/cdb/v20170320/api.json +295 -270
  46. tccli/services/cdb/v20170320/examples.json +38 -38
  47. tccli/services/cdc/v20201214/api.json +283 -270
  48. tccli/services/cdc/v20201214/examples.json +26 -26
  49. tccli/services/cds/v20180420/api.json +82 -76
  50. tccli/services/cds/v20180420/examples.json +1 -1
  51. tccli/services/cdwch/v20200915/api.json +1 -1
  52. tccli/services/cdwdoris/v20211228/api.json +42 -2
  53. tccli/services/cdz/v20221123/api.json +41 -5
  54. tccli/services/cfg/v20210820/api.json +31 -0
  55. tccli/services/cfs/v20190719/api.json +89 -1
  56. tccli/services/cfs/v20190719/examples.json +1 -1
  57. tccli/services/cfw/cfw_client.py +0 -53
  58. tccli/services/cfw/v20190904/api.json +1849 -1999
  59. tccli/services/cfw/v20190904/examples.json +157 -159
  60. tccli/services/ckafka/v20190819/api.json +104 -75
  61. tccli/services/clb/v20180317/api.json +48 -26
  62. tccli/services/clb/v20180317/examples.json +1 -1
  63. tccli/services/cloudapp/v20220530/api.json +5 -1
  64. tccli/services/cloudaudit/v20190319/api.json +58 -44
  65. tccli/services/cloudaudit/v20190319/examples.json +6 -6
  66. tccli/services/cloudstudio/v20230508/api.json +38 -37
  67. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  68. tccli/services/cls/cls_client.py +216 -4
  69. tccli/services/cls/v20201016/api.json +536 -47
  70. tccli/services/cls/v20201016/examples.json +34 -2
  71. tccli/services/csip/v20221121/api.json +2562 -2382
  72. tccli/services/csip/v20221121/examples.json +108 -108
  73. tccli/services/cvm/v20170312/api.json +149 -112
  74. tccli/services/cvm/v20170312/examples.json +2 -2
  75. tccli/services/cwp/cwp_client.py +4 -110
  76. tccli/services/cwp/v20180228/api.json +6338 -6146
  77. tccli/services/cwp/v20180228/examples.json +342 -370
  78. tccli/services/cynosdb/v20190107/api.json +93 -81
  79. tccli/services/cynosdb/v20190107/examples.json +70 -70
  80. tccli/services/dasb/v20191018/api.json +796 -651
  81. tccli/services/dasb/v20191018/examples.json +101 -101
  82. tccli/services/dcdb/dcdb_client.py +114 -61
  83. tccli/services/dcdb/v20180411/api.json +141 -7
  84. tccli/services/dcdb/v20180411/examples.json +32 -0
  85. tccli/services/dlc/v20210125/api.json +21 -11
  86. tccli/services/dnspod/dnspod_client.py +417 -46
  87. tccli/services/dnspod/v20210323/api.json +751 -30
  88. tccli/services/dnspod/v20210323/examples.json +62 -0
  89. tccli/services/dts/v20211206/api.json +4 -4
  90. tccli/services/ecm/v20190719/api.json +2 -2
  91. tccli/services/emr/v20190103/api.json +339 -114
  92. tccli/services/emr/v20190103/examples.json +64 -82
  93. tccli/services/es/v20180416/api.json +29 -0
  94. tccli/services/es/v20180416/examples.json +1 -1
  95. tccli/services/ess/v20201111/api.json +49 -31
  96. tccli/services/ess/v20201111/examples.json +20 -8
  97. tccli/services/essbasic/v20210526/api.json +54 -49
  98. tccli/services/essbasic/v20210526/examples.json +36 -18
  99. tccli/services/facefusion/v20181201/api.json +47 -45
  100. tccli/services/facefusion/v20181201/examples.json +2 -2
  101. tccli/services/facefusion/v20220927/api.json +54 -48
  102. tccli/services/facefusion/v20220927/examples.json +5 -5
  103. tccli/services/faceid/v20180301/api.json +497 -496
  104. tccli/services/faceid/v20180301/examples.json +219 -101
  105. tccli/services/fmu/v20191213/api.json +59 -67
  106. tccli/services/fmu/v20191213/examples.json +22 -22
  107. tccli/services/ft/v20200304/api.json +53 -57
  108. tccli/services/ft/v20200304/examples.json +14 -14
  109. tccli/services/gme/v20180711/api.json +21 -11
  110. tccli/services/gme/v20180711/examples.json +1 -1
  111. tccli/services/hai/v20230812/api.json +116 -9
  112. tccli/services/hai/v20230812/examples.json +4 -4
  113. tccli/services/hunyuan/hunyuan_client.py +436 -12
  114. tccli/services/hunyuan/v20230901/api.json +1482 -118
  115. tccli/services/hunyuan/v20230901/examples.json +82 -18
  116. tccli/services/iai/v20180301/api.json +23 -19
  117. tccli/services/iai/v20180301/examples.json +2 -2
  118. tccli/services/iai/v20200303/api.json +530 -511
  119. tccli/services/iai/v20200303/examples.json +116 -86
  120. tccli/services/ig/__init__.py +4 -0
  121. tccli/services/ig/ig_client.py +195 -0
  122. tccli/services/ig/v20210518/api.json +83 -0
  123. tccli/services/ig/v20210518/examples.json +13 -0
  124. tccli/services/ioa/ioa_client.py +53 -0
  125. tccli/services/ioa/v20220601/api.json +662 -413
  126. tccli/services/ioa/v20220601/examples.json +24 -10
  127. tccli/services/iotexplorer/v20190423/api.json +33 -13
  128. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  129. tccli/services/iotvideo/iotvideo_client.py +106 -0
  130. tccli/services/iotvideo/v20191126/api.json +256 -24
  131. tccli/services/iotvideo/v20191126/examples.json +19 -3
  132. tccli/services/iotvideo/v20201215/api.json +1 -1
  133. tccli/services/iotvideo/v20201215/examples.json +1 -1
  134. tccli/services/iotvideo/v20211125/api.json +1 -1
  135. tccli/services/iotvideo/v20211125/examples.json +2 -2
  136. tccli/services/iss/iss_client.py +69 -122
  137. tccli/services/iss/v20230517/api.json +10 -54
  138. tccli/services/iss/v20230517/examples.json +0 -14
  139. tccli/services/kms/v20190118/api.json +301 -268
  140. tccli/services/kms/v20190118/examples.json +45 -51
  141. tccli/services/lcic/lcic_client.py +159 -0
  142. tccli/services/lcic/v20220817/api.json +273 -1
  143. tccli/services/lcic/v20220817/examples.json +24 -0
  144. tccli/services/lighthouse/v20200324/api.json +56 -0
  145. tccli/services/live/live_client.py +159 -0
  146. tccli/services/live/v20180801/api.json +244 -0
  147. tccli/services/live/v20180801/examples.json +24 -0
  148. tccli/services/lke/v20231130/api.json +17 -17
  149. tccli/services/lke/v20231130/examples.json +19 -25
  150. tccli/services/mariadb/v20170312/api.json +7 -7
  151. tccli/services/market/v20191010/api.json +3 -3
  152. tccli/services/market/v20191010/examples.json +2 -2
  153. tccli/services/mmps/v20200710/api.json +47 -47
  154. tccli/services/mmps/v20200710/examples.json +3 -3
  155. tccli/services/mongodb/v20190725/api.json +4 -4
  156. tccli/services/monitor/v20180724/api.json +46 -19
  157. tccli/services/mps/v20190612/api.json +282 -5
  158. tccli/services/mps/v20190612/examples.json +25 -1
  159. tccli/services/mqtt/v20240516/api.json +2 -2
  160. tccli/services/mrs/v20200910/api.json +72 -34
  161. tccli/services/mrs/v20200910/examples.json +2 -2
  162. tccli/services/ms/v20180408/api.json +535 -506
  163. tccli/services/ms/v20180408/examples.json +25 -25
  164. tccli/services/oceanus/v20190422/api.json +130 -0
  165. tccli/services/ocr/ocr_client.py +232 -20
  166. tccli/services/ocr/v20181119/api.json +2265 -760
  167. tccli/services/ocr/v20181119/examples.json +200 -180
  168. tccli/services/omics/v20221128/api.json +614 -553
  169. tccli/services/omics/v20221128/examples.json +9 -9
  170. tccli/services/organization/v20210331/api.json +13 -4
  171. tccli/services/organization/v20210331/examples.json +2 -2
  172. tccli/services/partners/v20180321/api.json +244 -234
  173. tccli/services/partners/v20180321/examples.json +19 -19
  174. tccli/services/privatedns/privatedns_client.py +428 -4
  175. tccli/services/privatedns/v20201028/api.json +815 -11
  176. tccli/services/privatedns/v20201028/examples.json +64 -0
  177. tccli/services/pts/v20210728/api.json +18 -0
  178. tccli/services/pts/v20210728/examples.json +1 -1
  179. tccli/services/rce/rce_client.py +53 -0
  180. tccli/services/rce/v20201103/api.json +146 -0
  181. tccli/services/rce/v20201103/examples.json +8 -0
  182. tccli/services/redis/v20180412/api.json +42 -42
  183. tccli/services/redis/v20180412/examples.json +19 -19
  184. tccli/services/rum/v20210622/api.json +9 -0
  185. tccli/services/scf/v20180416/api.json +15 -15
  186. tccli/services/scf/v20180416/examples.json +1 -1
  187. tccli/services/smop/v20201203/api.json +46 -42
  188. tccli/services/smop/v20201203/examples.json +2 -2
  189. tccli/services/soe/v20180724/api.json +10 -10
  190. tccli/services/sqlserver/v20180328/api.json +21 -8
  191. tccli/services/sqlserver/v20180328/examples.json +5 -5
  192. tccli/services/ssl/v20191205/api.json +97 -4
  193. tccli/services/ssm/v20190923/api.json +292 -231
  194. tccli/services/ssm/v20190923/examples.json +42 -42
  195. tccli/services/tat/v20201028/api.json +97 -97
  196. tccli/services/tat/v20201028/examples.json +20 -26
  197. tccli/services/tchd/v20230306/api.json +5 -5
  198. tccli/services/tchd/v20230306/examples.json +3 -3
  199. tccli/services/tcr/v20190924/api.json +1 -1
  200. tccli/services/tcr/v20190924/examples.json +1 -1
  201. tccli/services/tcss/v20201101/api.json +1973 -1426
  202. tccli/services/tcss/v20201101/examples.json +346 -364
  203. tccli/services/tdmq/v20200217/api.json +539 -401
  204. tccli/services/tdmq/v20200217/examples.json +104 -104
  205. tccli/services/tds/v20220801/api.json +4 -4
  206. tccli/services/tem/v20210701/api.json +287 -271
  207. tccli/services/tem/v20210701/examples.json +59 -59
  208. tccli/services/teo/v20220901/api.json +37 -9
  209. tccli/services/teo/v20220901/examples.json +13 -7
  210. tccli/services/thpc/v20230321/api.json +5 -5
  211. tccli/services/tke/tke_client.py +217 -58
  212. tccli/services/tke/v20180525/api.json +36 -27
  213. tccli/services/tke/v20180525/examples.json +1 -1
  214. tccli/services/tke/v20220501/api.json +176 -0
  215. tccli/services/tke/v20220501/examples.json +24 -0
  216. tccli/services/tmt/v20180321/api.json +38 -8
  217. tccli/services/trp/v20210515/api.json +86 -74
  218. tccli/services/trp/v20210515/examples.json +65 -65
  219. tccli/services/trro/v20220325/api.json +72 -71
  220. tccli/services/trro/v20220325/examples.json +8 -8
  221. tccli/services/trtc/trtc_client.py +8 -61
  222. tccli/services/trtc/v20190722/api.json +72 -30
  223. tccli/services/trtc/v20190722/examples.json +3 -11
  224. tccli/services/tse/tse_client.py +110 -4
  225. tccli/services/tse/v20201207/api.json +122 -7
  226. tccli/services/tse/v20201207/examples.json +25 -9
  227. tccli/services/vclm/v20240523/api.json +225 -82
  228. tccli/services/vclm/v20240523/examples.json +13 -19
  229. tccli/services/vod/v20180717/api.json +431 -4
  230. tccli/services/vod/v20180717/examples.json +25 -5
  231. tccli/services/vod/v20240718/api.json +11 -11
  232. tccli/services/vod/v20240718/examples.json +4 -4
  233. tccli/services/vod/vod_client.py +53 -0
  234. tccli/services/vpc/v20170312/api.json +1090 -862
  235. tccli/services/vpc/v20170312/examples.json +74 -66
  236. tccli/services/vpc/vpc_client.py +61 -8
  237. tccli/services/waf/v20180125/api.json +2540 -2177
  238. tccli/services/waf/v20180125/examples.json +216 -284
  239. tccli/services/waf/waf_client.py +172 -119
  240. tccli/services/wav/v20210129/api.json +48 -48
  241. tccli/services/wav/v20210129/examples.json +4 -4
  242. tccli/services/wedata/v20210820/api.json +909 -25
  243. tccli/services/wedata/v20210820/examples.json +28 -4
  244. tccli/services/wedata/wedata_client.py +159 -0
  245. tccli/services/weilingwith/v20230427/api.json +6 -6
  246. tccli/services/weilingwith/v20230427/examples.json +3 -3
  247. tccli/sso.py +229 -0
  248. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
  249. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
  250. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  251. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  252. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -497,6 +497,13 @@
497
497
  "output": "DescribeGovernanceServicesResponse",
498
498
  "status": "online"
499
499
  },
500
+ "DescribeInstanceTagInfos": {
501
+ "document": "查看实例的标签信息",
502
+ "input": "DescribeInstanceTagInfosRequest",
503
+ "name": "查看实例的标签信息",
504
+ "output": "DescribeInstanceTagInfosResponse",
505
+ "status": "online"
506
+ },
500
507
  "DescribeNacosReplicas": {
501
508
  "document": "查询Nacos类型引擎实例副本信息",
502
509
  "input": "DescribeNacosReplicasRequest",
@@ -735,6 +742,13 @@
735
742
  "output": "PublishConfigFilesResponse",
736
743
  "status": "online"
737
744
  },
745
+ "RestartSREInstance": {
746
+ "document": "重启微服务引擎实例",
747
+ "input": "RestartSREInstanceRequest",
748
+ "name": "重启微服务引擎实例",
749
+ "output": "RestartSREInstanceResponse",
750
+ "status": "online"
751
+ },
738
752
  "RollbackConfigFileReleases": {
739
753
  "document": "回滚配置发布",
740
754
  "input": "RollbackConfigFileReleasesRequest",
@@ -3660,7 +3674,7 @@
3660
3674
  {
3661
3675
  "disabled": false,
3662
3676
  "document": "绑定的域名",
3663
- "example": "[\"abc.com\"]",
3677
+ "example": "[\"tencent.com\"]",
3664
3678
  "member": "string",
3665
3679
  "name": "BindDomains",
3666
3680
  "required": true,
@@ -3678,7 +3692,7 @@
3678
3692
  {
3679
3693
  "disabled": false,
3680
3694
  "document": "证书名称",
3681
- "example": "test",
3695
+ "example": "tencent.com",
3682
3696
  "member": "string",
3683
3697
  "name": "Name",
3684
3698
  "required": false,
@@ -4321,7 +4335,7 @@
4321
4335
  {
4322
4336
  "disabled": false,
4323
4337
  "document": "请求路径",
4324
- "example": "/",
4338
+ "example": "/v1/users",
4325
4339
  "member": "string",
4326
4340
  "name": "Path",
4327
4341
  "required": false,
@@ -8715,6 +8729,53 @@
8715
8729
  ],
8716
8730
  "usage": "out"
8717
8731
  },
8732
+ "DescribeInstanceTagInfosRequest": {
8733
+ "document": "DescribeInstanceTagInfos请求参数结构体",
8734
+ "members": [
8735
+ {
8736
+ "disabled": false,
8737
+ "document": "实例ID",
8738
+ "example": "ins-xxxxxx",
8739
+ "member": "string",
8740
+ "name": "InstanceId",
8741
+ "required": true,
8742
+ "type": "string"
8743
+ }
8744
+ ],
8745
+ "type": "object"
8746
+ },
8747
+ "DescribeInstanceTagInfosResponse": {
8748
+ "document": "DescribeInstanceTagInfos返回参数结构体",
8749
+ "members": [
8750
+ {
8751
+ "disabled": false,
8752
+ "document": "实例ID",
8753
+ "example": "ins-xxxx",
8754
+ "member": "string",
8755
+ "name": "InstanceId",
8756
+ "output_required": true,
8757
+ "type": "string",
8758
+ "value_allowed_null": false
8759
+ },
8760
+ {
8761
+ "disabled": false,
8762
+ "document": "实例标签集合",
8763
+ "example": "无",
8764
+ "member": "InstanceTagInfo",
8765
+ "name": "TagInfos",
8766
+ "output_required": true,
8767
+ "type": "list",
8768
+ "value_allowed_null": false
8769
+ },
8770
+ {
8771
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8772
+ "member": "string",
8773
+ "name": "RequestId",
8774
+ "type": "string"
8775
+ }
8776
+ ],
8777
+ "type": "object"
8778
+ },
8718
8779
  "DescribeNacosReplicasRequest": {
8719
8780
  "document": "DescribeNacosReplicas请求参数结构体",
8720
8781
  "members": [
@@ -13400,7 +13461,7 @@
13400
13461
  {
13401
13462
  "disabled": false,
13402
13463
  "document": "四层匹配的目的端口\t",
13403
- "example": "",
13464
+ "example": "8000",
13404
13465
  "member": "uint64",
13405
13466
  "name": "DestinationPorts",
13406
13467
  "required": false,
@@ -13553,7 +13614,7 @@
13553
13614
  {
13554
13615
  "disabled": false,
13555
13616
  "document": "请求路径",
13556
- "example": "/",
13617
+ "example": "/v1/users",
13557
13618
  "member": "string",
13558
13619
  "name": "Path",
13559
13620
  "required": false,
@@ -14808,6 +14869,60 @@
14808
14869
  ],
14809
14870
  "usage": "both"
14810
14871
  },
14872
+ "RestartSREInstanceRequest": {
14873
+ "document": "RestartSREInstance请求参数结构体",
14874
+ "members": [
14875
+ {
14876
+ "disabled": false,
14877
+ "document": "微服务引擎实例Id",
14878
+ "example": "sre-12345678",
14879
+ "member": "string",
14880
+ "name": "InstanceId",
14881
+ "required": true,
14882
+ "type": "string"
14883
+ },
14884
+ {
14885
+ "disabled": false,
14886
+ "document": "重启的环境类型(PROD,DEV,UAT等)",
14887
+ "example": "[\"PROD\",\"DEV\"]",
14888
+ "member": "string",
14889
+ "name": "EnvTypes",
14890
+ "required": false,
14891
+ "type": "list"
14892
+ },
14893
+ {
14894
+ "disabled": false,
14895
+ "document": "指定需要重启的实例节点(当前仅支持zk单节点重启)",
14896
+ "example": "zookeeper-0",
14897
+ "member": "string",
14898
+ "name": "NodeName",
14899
+ "required": false,
14900
+ "type": "string"
14901
+ }
14902
+ ],
14903
+ "type": "object"
14904
+ },
14905
+ "RestartSREInstanceResponse": {
14906
+ "document": "RestartSREInstance返回参数结构体",
14907
+ "members": [
14908
+ {
14909
+ "disabled": false,
14910
+ "document": "任务ID",
14911
+ "example": "task-123456",
14912
+ "member": "string",
14913
+ "name": "TaskId",
14914
+ "type": "string",
14915
+ "value_allowed_null": false
14916
+ },
14917
+ {
14918
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
14919
+ "member": "string",
14920
+ "name": "RequestId",
14921
+ "type": "string"
14922
+ }
14923
+ ],
14924
+ "type": "object"
14925
+ },
14811
14926
  "RollbackConfigFileReleasesRequest": {
14812
14927
  "document": "RollbackConfigFileReleases请求参数结构体",
14813
14928
  "members": [
@@ -15622,7 +15737,7 @@
15622
15737
  {
15623
15738
  "disabled": false,
15624
15739
  "document": "绑定的域名列表",
15625
- "example": "[\"abc.com\"]",
15740
+ "example": "[\"tencent.com\"]",
15626
15741
  "member": "string",
15627
15742
  "name": "BindDomains",
15628
15743
  "required": true,
@@ -15631,7 +15746,7 @@
15631
15746
  {
15632
15747
  "disabled": false,
15633
15748
  "document": "证书名称",
15634
- "example": "test",
15749
+ "example": "tencent.com",
15635
15750
  "member": "string",
15636
15751
  "name": "Name",
15637
15752
  "required": false,
@@ -27,15 +27,15 @@
27
27
  "CreateCloudNativeAPIGateway": [
28
28
  {
29
29
  "document": "创建云原生API网关实例",
30
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGateway\n<公共请求参数>\n\n{\n \"Name\": \"test\",\n \"Type\": \"kong\",\n \"GatewayVersion\": \"2.5.1\",\n \"NodeConfig\": {\n \"Specification\": \"1c2g\",\n \"Number\": 2\n },\n \"VpcConfig\": {\n \"VpcId\": \"vpc-xxxxxx\",\n \"SubnetId\": \"subnet-xxxxxx\"\n },\n \"Description\": \"test\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"EnableCls\": false,\n \"FeatureVersion\": \"STANDARD\",\n \"InternetMaxBandwidthOut\": 1,\n \"EngineRegion\": \"ap-guangzhou\",\n \"IngressClassName\": \"abc\",\n \"TradeType\": 0,\n \"InternetConfig\": {\n \"InternetAddressVersion\": \"abc\",\n \"InternetPayMode\": \"abc\",\n \"InternetMaxBandwidthOut\": 1,\n \"Description\": \"abc\",\n \"SlaType\": \"abc\",\n \"MultiZoneFlag\": true,\n \"MasterZoneId\": \"abc\",\n \"SlaveZoneId\": \"abc\"\n }\n}",
31
- "output": "{\n \"Response\": {\n \"Result\": {\n \"GatewayId\": \"abc\",\n \"Status\": \"abc\",\n \"TaskId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
30
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGateway\n<公共请求参数>\n\n{\n \"Name\": \"gateway-prod\",\n \"Type\": \"kong\",\n \"GatewayVersion\": \"2.5.1\",\n \"NodeConfig\": {\n \"Specification\": \"1c2g\",\n \"Number\": 2\n },\n \"VpcConfig\": {\n \"VpcId\": \"vpc-59cag821\",\n \"SubnetId\": \"subnet-8tzp8uz1\"\n },\n \"Description\": \"公网入口网关,现网环境\",\n \"Tags\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": \"prod\"\n }\n ],\n \"EnableCls\": false,\n \"FeatureVersion\": \"STANDARD\",\n \"InternetMaxBandwidthOut\": 1,\n \"EngineRegion\": \"ap-guangzhou\",\n \"IngressClassName\": \"kong\",\n \"TradeType\": 0,\n \"InternetConfig\": {\n \"InternetAddressVersion\": \"IPV4\",\n \"InternetPayMode\": \"TRAFFIC\",\n \"InternetMaxBandwidthOut\": 1,\n \"Description\": \"公网负载均衡\",\n \"SlaType\": \"clb.c2.medium\",\n \"MultiZoneFlag\": true,\n \"MasterZoneId\": \"ap-guangzhou-3\",\n \"SlaveZoneId\": \"ap-guangzhou-4\"\n }\n}",
31
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"GatewayId\": \"gateway-dde03755\",\n \"Status\": \"Creating\",\n \"TaskId\": \"task-b2c41103\"\n },\n \"RequestId\": \"a02f30b2-6e3d-4efb-9883-1b11b8fa7df2\"\n }\n}",
32
32
  "title": "创建云原生API网关实例"
33
33
  }
34
34
  ],
35
35
  "CreateCloudNativeAPIGatewayCanaryRule": [
36
36
  {
37
37
  "document": "创建灰度规则",
38
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayCanaryRule\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-18f786a\",\n \"ServiceId\": \"6abf620f-c6b9-4440-b90c-56c165225cfc\",\n \"CanaryRule\": {\n \"Priority\": 10,\n \"Enabled\": true,\n \"ConditionList\": [\n {\n \"Type\": \"query\",\n \"Key\": \"q1\",\n \"Operator\": \"==\",\n \"Value\": \"abc\"\n }\n ],\n \"BalancedServiceList\": [\n {\n \"ServiceID\": \"6abf620f-c6b9-4440-b90c-56c165225cf\",\n \"ServiceName\": \"svc1\",\n \"UpstreamName\": \"\",\n \"Percent\": 100\n }\n ]\n }\n}",
38
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayCanaryRule\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-18f786a\",\n \"ServiceId\": \"6abf620f-c6b9-4440-b90c-56c165225cfc\",\n \"CanaryRule\": {\n \"Priority\": 10,\n \"Enabled\": true,\n \"ConditionList\": [\n {\n \"Type\": \"query\",\n \"Key\": \"app\",\n \"Operator\": \"==\",\n \"Value\": \"learn\"\n }\n ],\n \"BalancedServiceList\": [\n {\n \"ServiceID\": \"6abf620f-c6b9-4440-b90c-56c165225cf\",\n \"ServiceName\": \"svc1\",\n \"UpstreamName\": \"ups1\",\n \"Percent\": 100\n }\n ]\n }\n}",
39
39
  "output": "{\n \"Response\": {\n \"RequestId\": \"741e4e82-371d-48de-a843-867c69ff114d\"\n }\n}",
40
40
  "title": "创建灰度规则"
41
41
  }
@@ -43,7 +43,7 @@
43
43
  "CreateCloudNativeAPIGatewayCertificate": [
44
44
  {
45
45
  "document": "创建云原生网关证书",
46
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayCertificate\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-9abf3b79\",\n \"Name\": \"a\",\n \"BindDomains\": [\n \"bbc.com\"\n ],\n \"CertId\": \"12412rew43-5fdsf35\"\n}",
46
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayCertificate\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-9abf3b79\",\n \"Name\": \"tencent.com\",\n \"BindDomains\": [\n \"tencent.com\"\n ],\n \"CertId\": \"12412rew43-5fdsf35\"\n}",
47
47
  "output": "{\n \"Response\": {\n \"RequestId\": \"741e4e82-371d-48de-a843-867c69ff114d\"\n }\n}",
48
48
  "title": "创建云原生网关证书"
49
49
  }
@@ -51,15 +51,15 @@
51
51
  "CreateCloudNativeAPIGatewayPublicNetwork": [
52
52
  {
53
53
  "document": "创建公网网络配置",
54
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayPublicNetwork\n<公共请求参数>\n\n{\n \"GatewayId\": \"abc\",\n \"GroupId\": \"abc\",\n \"InternetConfig\": {\n \"InternetAddressVersion\": \"abc\",\n \"InternetPayMode\": \"abc\",\n \"InternetMaxBandwidthOut\": 1,\n \"Description\": \"abc\",\n \"SlaType\": \"abc\"\n }\n}",
55
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
54
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayPublicNetwork\n<公共请求参数>\n\n{\n \"GatewayId\": \"abc\",\n \"GroupId\": \"abc\",\n \"InternetConfig\": {\n \"InternetAddressVersion\": \"IPV4\",\n \"InternetPayMode\": \"TRAFFIC\",\n \"InternetMaxBandwidthOut\": 1,\n \"Description\": \"公网负载均衡\",\n \"SlaType\": \"clb.c4.small\"\n }\n}",
55
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a02f30b2-6e3d-4efb-9883-1b11b8fa7df2\"\n }\n}",
56
56
  "title": "创建公网网络配置"
57
57
  }
58
58
  ],
59
59
  "CreateCloudNativeAPIGatewayRoute": [
60
60
  {
61
61
  "document": "创建云原生网关路由",
62
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayRoute\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-9abf3b79\",\n \"ServiceID\": \"service-demo\",\n \"RouteName\": \"route-demo\",\n \"Methods\": [\n \"GET\",\n \"POST\"\n ],\n \"Hosts\": [\n \"www.baidu.com\"\n ],\n \"Paths\": [\n \"/\"\n ],\n \"PreserveHost\": true,\n \"StripPath\": false,\n \"HttpsRedirectStatusCode\": 308\n}",
62
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayRoute\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-9abf3b79\",\n \"ServiceID\": \"service-demo\",\n \"RouteName\": \"route-demo\",\n \"Methods\": [\n \"GET\",\n \"POST\"\n ],\n \"Hosts\": [\n \"www.baidu.com\"\n ],\n \"Paths\": [\n \"/v1/users\"\n ],\n \"PreserveHost\": true,\n \"StripPath\": false,\n \"HttpsRedirectStatusCode\": 308\n}",
63
63
  "output": "{\n \"Response\": {\n \"RequestId\": \"741e4e82-371d-48de-a843-867c69ff114d\"\n }\n}",
64
64
  "title": "创建云原生网关路由"
65
65
  }
@@ -75,7 +75,7 @@
75
75
  "CreateCloudNativeAPIGatewayService": [
76
76
  {
77
77
  "document": "创建云原生网关服务",
78
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayService\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-9abf3b79\",\n \"Name\": \"test-service\",\n \"Protocol\": \"http\",\n \"Path\": \"/\",\n \"Timeout\": 5000,\n \"Retries\": 3,\n \"UpstreamType\": \"HostIP\",\n \"UpstreamInfo\": {\n \"Host\": \"8.8.8.8\",\n \"Port\": 60\n }\n}",
78
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayService\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-9abf3b79\",\n \"Name\": \"user-service\",\n \"Protocol\": \"http\",\n \"Path\": \"/v1/users\",\n \"Timeout\": 5000,\n \"Retries\": 3,\n \"UpstreamType\": \"HostIP\",\n \"UpstreamInfo\": {\n \"Host\": \"8.8.8.8\",\n \"Port\": 60\n }\n}",
79
79
  "output": "{\n \"Response\": {\n \"RequestId\": \"741e4e82-371d-48de-a843-867c69ff114d\"\n }\n}",
80
80
  "title": "创建云原生网关服务"
81
81
  }
@@ -83,7 +83,7 @@
83
83
  "CreateCloudNativeAPIGatewayServiceRateLimit": [
84
84
  {
85
85
  "document": "创建云原生网关限流插件(服务)",
86
- "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayServiceRateLimit\n<公共请求参数>\n\n{\n \"GatewayId\": \"abc\",\n \"Name\": \"abc\",\n \"LimitDetail\": {\n \"Enabled\": true,\n \"QpsThresholds\": [\n {\n \"Unit\": \"abc\",\n \"Max\": 10\n }\n ],\n \"Path\": \"abc\",\n \"Header\": \"abc\",\n \"LimitBy\": \"abc\",\n \"ExternalRedis\": {\n \"RedisHost\": \"abc\",\n \"RedisPassword\": \"abc\",\n \"RedisPort\": 0,\n \"RedisTimeout\": 0\n },\n \"Policy\": \"abc\",\n \"RateLimitResponse\": {\n \"Body\": \"abc\",\n \"Headers\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"HttpStatus\": 0\n },\n \"RateLimitResponseUrl\": \"abc\",\n \"ResponseType\": \"abc\",\n \"HideClientHeaders\": true,\n \"IsDelay\": true,\n \"LineUpTime\": 10\n }\n}",
86
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudNativeAPIGatewayServiceRateLimit\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-dde037x1\",\n \"Name\": \"公网接入网关\",\n \"LimitDetail\": {\n \"Enabled\": true,\n \"QpsThresholds\": [\n {\n \"Unit\": \"second\",\n \"Max\": 10\n }\n ],\n \"Path\": \"/v1/users\",\n \"Header\": \"X-Api-Version\",\n \"LimitBy\": \"header\",\n \"ExternalRedis\": {\n \"RedisHost\": \"192.168.2.162\",\n \"RedisPassword\": \"tse@tencent\",\n \"RedisPort\": 6379,\n \"RedisTimeout\": 10\n },\n \"Policy\": \"redis\",\n \"RateLimitResponse\": {\n \"Body\": \"too many requests\",\n \"Headers\": [\n {\n \"Key\": \"app\",\n \"Value\": \"kong\"\n }\n ],\n \"HttpStatus\": 429\n },\n \"RateLimitResponseUrl\": \"http://192.168.2.165/downgrade\",\n \"ResponseType\": \"default\",\n \"HideClientHeaders\": true,\n \"IsDelay\": true,\n \"LineUpTime\": 10\n }\n}",
87
87
  "output": "{\n \"Response\": {\n \"RequestId\": \"741e4e82-371d-48de-a843-867c69ff114d\"\n }\n}",
88
88
  "title": "创建云原生网关限流插件(服务)"
89
89
  }
@@ -574,6 +574,14 @@
574
574
  "title": "查询治理中心服务列表"
575
575
  }
576
576
  ],
577
+ "DescribeInstanceTagInfos": [
578
+ {
579
+ "document": "",
580
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceTagInfos\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
581
+ "output": "{\n \"Response\": {\n \"InstanceId\": \"abc\",\n \"TagInfos\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
582
+ "title": "查看实例标签信息"
583
+ }
584
+ ],
577
585
  "DescribeNacosReplicas": [
578
586
  {
579
587
  "document": "查询Nacos类型引擎实例副本信息",
@@ -846,6 +854,14 @@
846
854
  "title": "发布配置文件"
847
855
  }
848
856
  ],
857
+ "RestartSREInstance": [
858
+ {
859
+ "document": "RestartSREInstance",
860
+ "input": "https://tse.tencentcloudapi.com/?Action=RestartSREInstance\n&InstanceId=sre-12345678\n&<公共请求参数>",
861
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5d996e05507e42d5970cd2e25ed5267a\",\n \"TaskId\": \"task-123456\"\n }\n}",
862
+ "title": "RestartSREInstance"
863
+ }
864
+ ],
849
865
  "RollbackConfigFileReleases": [
850
866
  {
851
867
  "document": "回滚配置",