tccli-intl-en 3.0.1248.1__py2.py3-none-any.whl → 3.1.33.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 (245) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/services/__init__.py +32 -1
  4. tccli/services/advisor/advisor_client.py +10 -4
  5. tccli/services/ai3d/__init__.py +4 -0
  6. tccli/services/ai3d/ai3d_client.py +266 -0
  7. tccli/services/ai3d/v20250513/api.json +264 -0
  8. tccli/services/ai3d/v20250513/examples.json +20 -0
  9. tccli/services/aiart/aiart_client.py +5 -2
  10. tccli/services/ams/ams_client.py +20 -8
  11. tccli/services/antiddos/antiddos_client.py +350 -140
  12. tccli/services/apigateway/apigateway_client.py +465 -186
  13. tccli/services/apm/apm_client.py +835 -68
  14. tccli/services/apm/v20210622/api.json +3936 -1145
  15. tccli/services/apm/v20210622/examples.json +133 -23
  16. tccli/services/asr/asr_client.py +10 -4
  17. tccli/services/autoscaling/autoscaling_client.py +290 -116
  18. tccli/services/autoscaling/v20180419/api.json +78 -28
  19. tccli/services/batch/batch_client.py +140 -56
  20. tccli/services/bi/bi_client.py +120 -48
  21. tccli/services/billing/billing_client.py +210 -84
  22. tccli/services/cam/cam_client.py +405 -162
  23. tccli/services/captcha/captcha_client.py +5 -2
  24. tccli/services/car/car_client.py +165 -66
  25. tccli/services/cbs/cbs_client.py +190 -76
  26. tccli/services/ccc/ccc_client.py +794 -160
  27. tccli/services/ccc/v20200210/api.json +1778 -202
  28. tccli/services/ccc/v20200210/examples.json +64 -0
  29. tccli/services/cdb/cdb_client.py +1770 -531
  30. tccli/services/cdb/v20170320/api.json +2166 -335
  31. tccli/services/cdb/v20170320/examples.json +126 -6
  32. tccli/services/cdc/cdc_client.py +100 -40
  33. tccli/services/cdc/v20201214/api.json +2 -2
  34. tccli/services/cdc/v20201214/examples.json +4 -4
  35. tccli/services/cdn/cdn_client.py +220 -88
  36. tccli/services/cdn/v20180606/api.json +22 -22
  37. tccli/services/cdn/v20180606/examples.json +1 -1
  38. tccli/services/cdwdoris/cdwdoris_client.py +385 -154
  39. tccli/services/cdwpg/cdwpg_client.py +120 -48
  40. tccli/services/cdz/__init__.py +4 -0
  41. tccli/services/cdz/cdz_client.py +210 -0
  42. tccli/services/cdz/v20221123/api.json +233 -0
  43. tccli/services/cdz/v20221123/examples.json +12 -0
  44. tccli/services/cfg/cfg_client.py +80 -32
  45. tccli/services/cfs/cfs_client.py +195 -78
  46. tccli/services/cfw/cfw_client.py +330 -132
  47. tccli/services/chdfs/chdfs_client.py +145 -58
  48. tccli/services/ciam/ciam_client.py +80 -32
  49. tccli/services/ckafka/ckafka_client.py +1149 -259
  50. tccli/services/ckafka/v20190819/api.json +3738 -1696
  51. tccli/services/ckafka/v20190819/examples.json +266 -162
  52. tccli/services/clb/clb_client.py +1054 -469
  53. tccli/services/clb/v20180317/api.json +2273 -1020
  54. tccli/services/clb/v20180317/examples.json +184 -124
  55. tccli/services/cloudaudit/cloudaudit_client.py +90 -36
  56. tccli/services/cls/cls_client.py +434 -173
  57. tccli/services/cmq/cmq_client.py +14 -803
  58. tccli/services/cmq/v20190304/api.json +173 -1367
  59. tccli/services/cmq/v20190304/examples.json +0 -120
  60. tccli/services/config/config_client.py +30 -12
  61. tccli/services/controlcenter/controlcenter_client.py +229 -2
  62. tccli/services/controlcenter/v20230110/api.json +528 -5
  63. tccli/services/controlcenter/v20230110/examples.json +32 -0
  64. tccli/services/csip/csip_client.py +170 -68
  65. tccli/services/ctsdb/ctsdb_client.py +10 -4
  66. tccli/services/cvm/cvm_client.py +706 -189
  67. tccli/services/cvm/v20170312/api.json +598 -185
  68. tccli/services/cvm/v20170312/examples.json +172 -126
  69. tccli/services/cwp/cwp_client.py +2325 -930
  70. tccli/services/cynosdb/cynosdb_client.py +1887 -577
  71. tccli/services/cynosdb/v20190107/api.json +11763 -7697
  72. tccli/services/cynosdb/v20190107/examples.json +132 -4
  73. tccli/services/dataintegration/dataintegration_client.py +5 -2
  74. tccli/services/dayu/dayu_client.py +515 -206
  75. tccli/services/dbbrain/dbbrain_client.py +210 -84
  76. tccli/services/dc/dc_client.py +90 -36
  77. tccli/services/dcdb/dcdb_client.py +310 -124
  78. tccli/services/dlc/dlc_client.py +859 -214
  79. tccli/services/dlc/v20210125/api.json +637 -13
  80. tccli/services/dlc/v20210125/examples.json +48 -0
  81. tccli/services/dms/dms_client.py +10 -4
  82. tccli/services/dnspod/dnspod_client.py +302 -76
  83. tccli/services/dnspod/v20210323/api.json +153 -0
  84. tccli/services/dnspod/v20210323/examples.json +16 -0
  85. tccli/services/domain/domain_client.py +120 -48
  86. tccli/services/dts/dts_client.py +415 -166
  87. tccli/services/eb/eb_client.py +130 -52
  88. tccli/services/ecdn/ecdn_client.py +75 -30
  89. tccli/services/ecm/ecm_client.py +620 -248
  90. tccli/services/eiam/eiam_client.py +200 -80
  91. tccli/services/emr/emr_client.py +2815 -146
  92. tccli/services/emr/v20190103/api.json +14527 -4841
  93. tccli/services/emr/v20190103/examples.json +404 -36
  94. tccli/services/es/es_client.py +105 -42
  95. tccli/services/facefusion/facefusion_client.py +15 -6
  96. tccli/services/faceid/faceid_client.py +95 -38
  97. tccli/services/faceid/v20180301/api.json +196 -53
  98. tccli/services/faceid/v20180301/examples.json +3 -3
  99. tccli/services/gaap/gaap_client.py +440 -176
  100. tccli/services/gme/gme_client.py +50 -20
  101. tccli/services/gpm/gpm_client.py +90 -36
  102. tccli/services/gse/gse_client.py +110 -44
  103. tccli/services/gwlb/gwlb_client.py +90 -36
  104. tccli/services/hunyuan/__init__.py +4 -0
  105. tccli/services/hunyuan/hunyuan_client.py +546 -0
  106. tccli/services/hunyuan/v20230901/api.json +628 -0
  107. tccli/services/hunyuan/v20230901/examples.json +60 -0
  108. tccli/services/iai/iai_client.py +145 -58
  109. tccli/services/iap/iap_client.py +30 -12
  110. tccli/services/ims/ims_client.py +5 -2
  111. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +210 -84
  112. tccli/services/iotcloud/iotcloud_client.py +100 -40
  113. tccli/services/ip/ip_client.py +30 -12
  114. tccli/services/kms/kms_client.py +340 -136
  115. tccli/services/kms/v20190118/api.json +80 -3
  116. tccli/services/kms/v20190118/examples.json +3 -3
  117. tccli/services/lcic/lcic_client.py +265 -106
  118. tccli/services/lighthouse/lighthouse_client.py +730 -172
  119. tccli/services/lighthouse/v20200324/api.json +502 -14
  120. tccli/services/lighthouse/v20200324/examples.json +59 -5
  121. tccli/services/live/live_client.py +600 -240
  122. tccli/services/lke/lke_client.py +450 -180
  123. tccli/services/lkeap/__init__.py +4 -0
  124. tccli/services/lkeap/lkeap_client.py +602 -0
  125. tccli/services/lkeap/v20240522/api.json +989 -0
  126. tccli/services/lkeap/v20240522/examples.json +92 -0
  127. tccli/services/mariadb/mariadb_client.py +250 -100
  128. tccli/services/mdc/mdc_client.py +90 -36
  129. tccli/services/mdl/mdl_client.py +357 -90
  130. tccli/services/mdl/v20200326/api.json +1095 -77
  131. tccli/services/mdl/v20200326/examples.json +40 -16
  132. tccli/services/mdp/mdp_client.py +416 -124
  133. tccli/services/mdp/v20200527/api.json +335 -40
  134. tccli/services/mdp/v20200527/examples.json +95 -79
  135. tccli/services/message/__init__.py +4 -0
  136. tccli/services/message/message_client.py +210 -0
  137. tccli/services/message/v20181225/api.json +72 -0
  138. tccli/services/message/v20181225/examples.json +13 -0
  139. tccli/services/mongodb/mongodb_client.py +1404 -141
  140. tccli/services/mongodb/v20190725/api.json +2919 -677
  141. tccli/services/mongodb/v20190725/examples.json +190 -22
  142. tccli/services/monitor/monitor_client.py +1008 -296
  143. tccli/services/monitor/v20180724/api.json +664 -15
  144. tccli/services/monitor/v20180724/examples.json +152 -4
  145. tccli/services/mps/mps_client.py +1721 -381
  146. tccli/services/mps/v20190612/api.json +4905 -561
  147. tccli/services/mps/v20190612/examples.json +221 -69
  148. tccli/services/mqtt/__init__.py +4 -0
  149. tccli/services/mqtt/mqtt_client.py +1610 -0
  150. tccli/services/mqtt/v20240516/api.json +3057 -0
  151. tccli/services/mqtt/v20240516/examples.json +213 -0
  152. tccli/services/msp/msp_client.py +35 -14
  153. tccli/services/ocr/ocr_client.py +358 -76
  154. tccli/services/ocr/v20181119/api.json +731 -88
  155. tccli/services/ocr/v20181119/examples.json +40 -10
  156. tccli/services/omics/omics_client.py +100 -40
  157. tccli/services/organization/organization_client.py +580 -232
  158. tccli/services/postgres/postgres_client.py +455 -182
  159. tccli/services/privatedns/privatedns_client.py +155 -62
  160. tccli/services/pts/pts_client.py +240 -96
  161. tccli/services/quota/__init__.py +4 -0
  162. tccli/services/quota/quota_client.py +434 -0
  163. tccli/services/quota/v20241204/api.json +548 -0
  164. tccli/services/quota/v20241204/examples.json +51 -0
  165. tccli/services/rce/rce_client.py +5 -2
  166. tccli/services/redis/redis_client.py +545 -218
  167. tccli/services/redis/v20180412/api.json +227 -115
  168. tccli/services/redis/v20180412/examples.json +19 -19
  169. tccli/services/region/region_client.py +15 -6
  170. tccli/services/rum/rum_client.py +300 -120
  171. tccli/services/scf/scf_client.py +210 -84
  172. tccli/services/ses/ses_client.py +145 -58
  173. tccli/services/smh/__init__.py +4 -0
  174. tccli/services/smh/smh_client.py +714 -0
  175. tccli/services/smh/v20210712/api.json +1287 -0
  176. tccli/services/smh/v20210712/examples.json +85 -0
  177. tccli/services/sms/sms_client.py +90 -36
  178. tccli/services/sqlserver/sqlserver_client.py +3759 -480
  179. tccli/services/sqlserver/v20180328/api.json +8909 -2941
  180. tccli/services/sqlserver/v20180328/examples.json +447 -3
  181. tccli/services/ssl/ssl_client.py +190 -76
  182. tccli/services/ssm/ssm_client.py +120 -48
  183. tccli/services/sts/sts_client.py +25 -10
  184. tccli/services/tag/tag_client.py +150 -60
  185. tccli/services/tat/tat_client.py +95 -38
  186. tccli/services/tbaas/tbaas_client.py +20 -8
  187. tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
  188. tccli/services/tcaplusdb/v20190823/api.json +836 -760
  189. tccli/services/tcaplusdb/v20190823/examples.json +3 -3
  190. tccli/services/tchd/tchd_client.py +5 -2
  191. tccli/services/tcmpp/tcmpp_client.py +520 -208
  192. tccli/services/tcr/tcr_client.py +380 -152
  193. tccli/services/tcsas/tcsas_client.py +2576 -327
  194. tccli/services/tcsas/v20250106/api.json +8304 -3241
  195. tccli/services/tcsas/v20250106/examples.json +311 -15
  196. tccli/services/tcss/tcss_client.py +1650 -660
  197. tccli/services/tdid/tdid_client.py +240 -96
  198. tccli/services/tdmq/tdmq_client.py +2876 -466
  199. tccli/services/tdmq/v20200217/api.json +11607 -3958
  200. tccli/services/tdmq/v20200217/examples.json +562 -264
  201. tccli/services/tem/tem_client.py +280 -112
  202. tccli/services/teo/teo_client.py +1590 -540
  203. tccli/services/teo/v20220901/api.json +703 -71
  204. tccli/services/teo/v20220901/examples.json +88 -22
  205. tccli/services/tione/__init__.py +4 -0
  206. tccli/services/tione/tione_client.py +210 -0
  207. tccli/services/tione/v20211111/api.json +3074 -0
  208. tccli/services/tione/v20211111/examples.json +12 -0
  209. tccli/services/tiw/tiw_client.py +255 -102
  210. tccli/services/tke/tke_client.py +858 -276
  211. tccli/services/tke/v20180525/api.json +227 -0
  212. tccli/services/tke/v20180525/examples.json +24 -0
  213. tccli/services/tms/tms_client.py +5 -2
  214. tccli/services/tmt/tmt_client.py +5 -2
  215. tccli/services/trabbit/trabbit_client.py +145 -58
  216. tccli/services/trocket/__init__.py +4 -0
  217. tccli/services/trocket/trocket_client.py +2450 -0
  218. tccli/services/trocket/v20230308/api.json +6062 -0
  219. tccli/services/trocket/v20230308/examples.json +339 -0
  220. tccli/services/trro/trro_client.py +95 -38
  221. tccli/services/trtc/trtc_client.py +255 -102
  222. tccli/services/trtc/v20190722/api.json +135 -31
  223. tccli/services/trtc/v20190722/examples.json +7 -7
  224. tccli/services/tts/tts_client.py +5 -2
  225. tccli/services/vclm/vclm_client.py +10 -4
  226. tccli/services/vm/vm_client.py +20 -8
  227. tccli/services/vod/v20180717/api.json +2929 -296
  228. tccli/services/vod/v20180717/examples.json +40 -6
  229. tccli/services/vod/vod_client.py +1175 -358
  230. tccli/services/vpc/v20170312/api.json +1102 -137
  231. tccli/services/vpc/v20170312/examples.json +127 -23
  232. tccli/services/vpc/vpc_client.py +2241 -670
  233. tccli/services/waf/v20180125/api.json +1372 -194
  234. tccli/services/waf/v20180125/examples.json +89 -1
  235. tccli/services/waf/waf_client.py +1149 -245
  236. tccli/services/wedata/v20250806/api.json +13644 -0
  237. tccli/services/wedata/v20250806/examples.json +621 -0
  238. tccli/services/wedata/wedata_client.py +6067 -1263
  239. tccli/services/yunjing/yunjing_client.py +355 -142
  240. {tccli_intl_en-3.0.1248.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/METADATA +4 -7
  241. {tccli_intl_en-3.0.1248.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/RECORD +245 -203
  242. {tccli_intl_en-3.0.1248.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/WHEEL +1 -1
  243. {tccli_intl_en-3.0.1248.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/entry_points.txt +0 -1
  244. {tccli_intl_en-3.0.1248.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/LICENSE +0 -0
  245. {tccli_intl_en-3.0.1248.1.dist-info → tccli_intl_en-3.1.33.1.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,21 @@
1
1
  {
2
2
  "actions": {
3
+ "AssociateSecurityGroups": [
4
+ {
5
+ "document": " ",
6
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=AssociateSecurityGroups\n&SecurityGroupId=sg-igw86yth\n&InstanceIdSet.0=mssql-6f4ddx2f\n&<Common request parameters>",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"897c588d-e421-470d-9e93-468ff8eba00f\"\n }\n}",
8
+ "title": "Binding Security Groups to Cloud Resources in Batches"
9
+ }
10
+ ],
11
+ "BalanceReadOnlyGroup": [
12
+ {
13
+ "document": " ",
14
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BalanceReadOnlyGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-2cwisu23\",\n \"ReadOnlyGroupId\": \"mssqlrg-itaunotj\"\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9b3c49f5-0e04-4b1a-98eb-43d464424354\"\n }\n}",
16
+ "title": "Balancing the Read-Only Replicas in the Read-Only Group According to the Default Weight"
17
+ }
18
+ ],
3
19
  "CloneDB": [
4
20
  {
5
21
  "document": " ",
@@ -16,6 +32,22 @@
16
32
  "title": "Removing an instance from an interworking group"
17
33
  }
18
34
  ],
35
+ "CompleteExpansion": [
36
+ {
37
+ "document": " Immediately complete the upgrade operation for instances with the status of \"upgrade pending switch\".",
38
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=CompleteExpansion\n&InstanceId=mssql-2pohwxbf\n&<Common request parameters>",
39
+ "output": "{\n \"Response\": {\n \"FlowId\": 1002591,\n \"RequestId\": \"6353b539-bcd4-41fa-8d6a-98c94601f77d\"\n }\n}",
40
+ "title": "Completing the Instance Upgrade Immediately"
41
+ }
42
+ ],
43
+ "CompleteMigration": [
44
+ {
45
+ "document": " ",
46
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=CompleteMigration\n&MigrateId=2729\n&<Common request parameters>",
47
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba35\",\n \"FlowId\": 30530\n }\n}",
48
+ "title": "Completing Migration Tasks"
49
+ }
50
+ ],
19
51
  "CreateAccount": [
20
52
  {
21
53
  "document": " ",
@@ -112,6 +144,14 @@
112
144
  "title": "Creating a migration task"
113
145
  }
114
146
  ],
147
+ "CreatePublishSubscribe": [
148
+ {
149
+ "document": " ",
150
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=CreatePublishSubscribe\n&PublishSubscribeName=Create_name\n&PublishInstanceId=mssql-2cwisu23\n&SubscribeInstanceId=mssql-hlh6yka1\n&DatabaseTupleSet.0.PublishDatabase=db1\n&DatabaseTupleSet.0.SubscribeDatabase=db1\n&<Common request parameters>",
151
+ "output": "{\n \"Response\": {\n \"FlowId\": 1002591,\n \"RequestId\": \"6353b539-bcd4-41fa-8d6a-98c94601f77d\"\n }\n}",
152
+ "title": "Creating Publish/Subscribe Relationships"
153
+ }
154
+ ],
115
155
  "CreateReadOnlyDBInstances": [
116
156
  {
117
157
  "document": " This example shows you how to create a read-only instance.",
@@ -120,6 +160,14 @@
120
160
  "title": "Creating a read-only instance"
121
161
  }
122
162
  ],
163
+ "CutXEvents": [
164
+ {
165
+ "document": "",
166
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CutXEvents\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-o3851odd\"\n}",
167
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eaf9efa1-3d73-45f9-97f5-f0ea26040b93\"\n }\n}",
168
+ "title": "Manually Generating Block Logs"
169
+ }
170
+ ],
123
171
  "DeleteAccount": [
124
172
  {
125
173
  "document": " ",
@@ -152,6 +200,14 @@
152
200
  "title": "Deleting a database"
153
201
  }
154
202
  ],
203
+ "DeleteDBInstance": [
204
+ {
205
+ "document": " ",
206
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DeleteDBInstance\n&InstanceId=mssql-ms2m7vut\n&<Common request parameters>",
207
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5098dad3-077b-4a3b-9c7d-fb1b0415027b\"\n }\n}",
208
+ "title": "Deleting SQL server Instances"
209
+ }
210
+ ],
155
211
  "DeleteIncrementalMigration": [
156
212
  {
157
213
  "document": " ",
@@ -168,6 +224,22 @@
168
224
  "title": "Deleting a migration task"
169
225
  }
170
226
  ],
227
+ "DeletePublishSubscribe": [
228
+ {
229
+ "document": " ",
230
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DeletePublishSubscribe\n&PublishSubscribeId=5\n&DatabaseTupleSet.0.PublishDatabase=test01\n&DatabaseTupleSet.0.SubscribeDatabase=test02\n&<Common request parameters>",
231
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2941128b-d8fb-4af4-bb73-d79c413e1a7d\"\n }\n}",
232
+ "title": "Deleting Publish/Subscribe Relationships"
233
+ }
234
+ ],
235
+ "DescribeAccountPrivilegeByDB": [
236
+ {
237
+ "document": "This example shows you how to query information on the account and permissions associated with the database.",
238
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeAccountPrivilegeByDB\n&Limit=20\n&Offset=0\n&InstanceId=mssql-mz23h8n7\n&DBName=test_db\n&<Common request parameters>",
239
+ "output": "{\n \"Response\": {\n \"Accounts\": [\n {\n \"AccountType\": \"L1\",\n \"Privilege\": \"DBOwner\",\n \"UserName\": \"L1\"\n }\n ],\n \"RequestId\": \"33046d34-f461-11ed-9950-525400853186\",\n \"TotalCount\": 1\n }\n}",
240
+ "title": "Querying Information on the Account and Permissions Associated with the Database"
241
+ }
242
+ ],
171
243
  "DescribeAccounts": [
172
244
  {
173
245
  "document": " ",
@@ -176,6 +248,20 @@
176
248
  "title": "Pulling the list of instance accounts"
177
249
  }
178
250
  ],
251
+ "DescribeBackupByFlowId": [
252
+ {
253
+ "document": "This example shows you how to query backup details by flow ID (backup creation in progress) by this API.",
254
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeBackupByFlowId\n&InstanceId=mssql-6upluvd5\n&FlowId=1000796\n&<Common request parameters>",
255
+ "output": "{\n \"Response\": {\n \"BackupName\": \"mssql-6upluvd5_202007311206\",\n \"BackupWay\": 0,\n \"DBs\": [\n \"db1\",\n \"db2\"\n ],\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ExternalAddr\": \"\",\n \"FileName\": \"\",\n \"Id\": 0,\n \"InternalAddr\": \"\",\n \"RequestId\": \"de6cf7f3-ff88-4baf-a933-4714df850efa\",\n \"Size\": 0,\n \"StartTime\": \"2020-07-31 14:27:33\",\n \"Status\": 0,\n \"Strategy\": 0,\n \"GroupId\": \"558800\"\n }\n}",
256
+ "title": "Querying Backup Details by Flow ID (Backup Creation in Progress)"
257
+ },
258
+ {
259
+ "document": "This example shows you how to query backup details by flow ID (backup completed) by this API.",
260
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeBackupByFlowId\n&InstanceId=mssql-6upluvd5\n&FlowId=1000797\n&<Common request parameters>",
261
+ "output": "{\n \"Response\": {\n \"BackupName\": \"mssql-6upluvd5_202007311206\",\n \"BackupWay\": 0,\n \"DBs\": [\n \"db1\",\n \"db2\"\n ],\n \"EndTime\": \"2020-07-31 15:10:27\",\n \"ExternalAddr\": \"https://cosback-appid.cos.ap-guangzhou.myqcloud.com/appid%2fsqlserver%2fmssql-mgq355n0%2fbackup%2fautoed_instance_58037_20200728011545.bak.tar?sign=q-sign-algorithm%3dsha1%26q-ak%3d*************************%26q-sign-time%3d1596176966%3b1596177266%26q-key-time%3d1596176966%3b1596177266%26q-header-list%3d%26q-url-param-list%3d%26q-signature%3d3ea8139b631fa13d54b2c03313cbf3850d1e0c2c\",\n \"FileName\": \"autoed_instance_58037_20200728011545.bak.tar\",\n \"Id\": 1234568,\n \"InternalAddr\": \"https://cosback-appid.cos.ap-guangzhou.myqcloud.com/appid%2fsqlserver%2fmssql-mgq355n0%2fbackup%2fautoed_instance_58037_20200728011545.bak.tar?sign=q-sign-algorithm%3dsha1%26q-ak%3d*************************%26q-sign-time%3d1596176966%3b1596177266%26q-key-time%3d1596176966%3b1596177266%26q-header-list%3d%26q-url-param-list%3d%26q-signature%3d3ea8139b631fa13d54b2c03313cbf3850d1e0c2c\",\n \"RequestId\": \"3f49f6d4-692b-414b-999c-55b38922e049\",\n \"Size\": 1356532,\n \"StartTime\": \"2020-07-31 14:28:51\",\n \"Status\": 1,\n \"Strategy\": 0,\n \"GroupId\": \"558800\"\n }\n}",
262
+ "title": "Querying Backup Details by Flow ID (Backup Completed)"
263
+ }
264
+ ],
179
265
  "DescribeBackupCommand": [
180
266
  {
181
267
  "document": "This example shows you how to query the command to create a full backup and an incremental transaction log backup when you need to import the incremental transaction log backup. The full backup created does not need to be restored.\n\\\\\\\\n in the command means a line feed.",
@@ -212,6 +298,30 @@
212
298
  "title": "Querying a full backup import task"
213
299
  }
214
300
  ],
301
+ "DescribeBackupMonitor": [
302
+ {
303
+ "document": " ",
304
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeBackupMonitor\n&StartTime=2018-03-28 00:00:00\n&EndTime=2018-04-20 00:00:00\n&<Common request parameters>",
305
+ "output": "{\n \"Response\": {\n \"RequestId\": \"863b2797-858b-49f3-88e9-50159e564cbc\",\n \"ActualUsedSpace\": [\n 1012900,\n 1012900,\n 1013190,\n 1013190,\n 1013190,\n 1014280,\n 1014280,\n 1014280,\n 1014570,\n 1014570,\n 1015680,\n 1015680\n ],\n \"DataBackupSpace\": [\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860,\n 512860\n ],\n \"FreeSpace\": [\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040,\n 1352663040\n ],\n \"LogBackupSpace\": [\n 500040,\n 500040,\n 500330,\n 500330,\n 500330,\n 501420,\n 501420,\n 501420,\n 501710,\n 501710,\n 502820,\n 502820\n ],\n \"TimeStamp\": [\n \"2022-05-06 09:15:00\",\n \"2022-05-06 09:20:00\",\n \"2022-05-06 09:25:00\",\n \"2022-05-06 09:30:00\",\n \"2022-05-06 09:35:00\",\n \"2022-05-06 09:40:00\",\n \"2022-05-06 09:45:00\",\n \"2022-05-06 09:50:00\",\n \"2022-05-06 09:55:00\",\n \"2022-05-06 10:00:00\",\n \"2022-05-06 10:05:00\",\n \"2022-05-06 10:10:00\"\n ]\n }\n}",
306
+ "title": "Querying Backup Space Usage Details"
307
+ }
308
+ ],
309
+ "DescribeBackupStatistical": [
310
+ {
311
+ "document": " ",
312
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeBackupStatistical\n&InstanceIdSet.0=mssql-3l3fgqn7\n&InstanceNameSet.0=xinyuan\n&Offset=0\n&Limit=3\n&OrderBy=data\n&OrderByType=desc\n&<Common request parameters>",
313
+ "output": "{\n \"Response\": {\n \"Items\": [\n {\n \"ActualUsedSpace\": 1003844420,\n \"AutoBackupCount\": 9190,\n \"AutoBackupSpace\": 920300548,\n \"DataBackupCount\": 1706,\n \"DataBackupSpace\": 996004980,\n \"InstanceId\": \"mssql-1ybz12wb\",\n \"LogBackupCount\": 7627,\n \"LogBackupSpace\": 7839440,\n \"ManualBackupCount\": 143,\n \"ManualBackupSpace\": 83543872,\n \"Name\": \"xinyuanxu-new\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Status\": 2\n }\n ],\n \"RequestId\": \"c3ea3ea0-f0a2-11ec-94dd-525400853186\",\n \"TotalCount\": 17\n }\n}",
314
+ "title": "Querying the Real-Time Statistics List of Backups"
315
+ }
316
+ ],
317
+ "DescribeBackupSummary": [
318
+ {
319
+ "document": " ",
320
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeBackupSummary\n&<Common request parameters>",
321
+ "output": "{\n \"Response\": {\n \"ActualUsedSpace\": 1193345364,\n \"AutoBackupCount\": 1615,\n \"AutoBackupSpace\": 953883130,\n \"BackupFilesTotal\": 16637,\n \"BillingSpace\": 605473752,\n \"CrossAutoBackupCount\": 288,\n \"CrossAutoBackupSpace\": 146231712,\n \"CrossBackupFilesTotal\": 3303,\n \"CrossBillingSpace\": 147469692,\n \"CrossEstimatedAmount\": 0.114,\n \"CrossLogBackupCount\": 3015,\n \"CrossLogBackupSpace\": 1237980,\n \"DataBackupCount\": 2046,\n \"DataBackupSpace\": 1183658714,\n \"EstimatedAmount\": 0.4616,\n \"FreeSpace\": 440401920,\n \"LocalBackupFilesTotal\": 13334,\n \"LocalLogBackupCount\": 11576,\n \"LocalLogBackupSpace\": 8448670,\n \"LogBackupCount\": 14591,\n \"LogBackupSpace\": 9686650,\n \"ManualBackupCount\": 143,\n \"ManualBackupSpace\": 83543872,\n \"RequestId\": \"8b5d62cb-40f4-45ba-8a26-a2083d4f9eee\"\n }\n}",
322
+ "title": "Querying the Backup Overview Information of Databases"
323
+ }
324
+ ],
215
325
  "DescribeBackupUploadSize": [
216
326
  {
217
327
  "document": " ",
@@ -250,6 +360,30 @@
250
360
  "title": "Querying the Character Set and Time Zone Supported by the Instance"
251
361
  }
252
362
  ],
363
+ "DescribeCrossBackupStatistical": [
364
+ {
365
+ "document": " ",
366
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeCrossBackupStatistical\n&InstanceIdSet.0=mssql-6upluvd5\n&InstanceNameSet.0=name\n&CrossBackupStatus=enable\n&CrossRegion=guangzhou\n&OrderBy=default\n&OrderByType=desc\n&Offset=0\n&Limit=10\n&<Common request parameters>",
367
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1fed8472-f117-11ec-be47-525400853186\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"ActualUsedCount\": 4937,\n \"ActualUsedSpace\": 554778704,\n \"CrossBackupEnabled\": \"enable\",\n \"CrossBackupSaveDays\": 7,\n \"CrossRegions\": [\n \"ap-shanghai\"\n ],\n \"DataBackupCount\": 1019,\n \"DataBackupSpace\": 550868544,\n \"InstanceId\": \"mssql-1ybz12wb\",\n \"LastBackupStartTime\": \"2022-06-21 13:57:17\",\n \"LogBackupCount\": 3918,\n \"LogBackupSpace\": 3910160,\n \"Name\": \"xinyuanxu-new\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 2\n }\n ]\n }\n}",
368
+ "title": "Querying the Real-Time Statistics List of Cross-Region Backups"
369
+ }
370
+ ],
371
+ "DescribeCrossRegionZone": [
372
+ {
373
+ "document": " ",
374
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeCrossRegionZone\n&InstanceId=mssql-6upluvd5\n&<Common request parameters>",
375
+ "output": "{\n \"Response\": {\n \"Region\": \"ap-guangzhou\",\n \"RequestId\": \"6579b707-5393-4579-ad10-349ea17b81e5\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n}",
376
+ "title": "Querying the Disaster Recovery Region and AZ of the Secondary Node"
377
+ }
378
+ ],
379
+ "DescribeCrossRegions": [
380
+ {
381
+ "document": " ",
382
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeCrossRegions\n&<Common request parameters>",
383
+ "output": "{\n \"Response\": {\n \"Regions\": [\n \"ap-beijing\",\n \"ap-shanghai\",\n \"ap-taipei\",\n \"ap-hongkong\",\n \"ap-beijing-fsi\",\n \"ap-shanghai-fsi\",\n \"ap-shenzhen-fsi\"\n ],\n \"RequestId\": \"1373db1a-efd7-11ec-a46f-525400853186\"\n }\n}",
384
+ "title": "Querying the Target Region for Cross-Region Backups"
385
+ }
386
+ ],
253
387
  "DescribeDBCharsets": [
254
388
  {
255
389
  "document": " ",
@@ -282,6 +416,30 @@
282
416
  "title": "Querying the Attributes of the Instance mssql-j8kv137v"
283
417
  }
284
418
  ],
419
+ "DescribeDBPrivilegeByAccount": [
420
+ {
421
+ "document": "This example shows you how to query information on the databases and permissions associated with the account.",
422
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeDBPrivilegeByAccount\n&Limit=20\n&Offset=0\n&InstanceId=mssql-mz23h8n7\n&AccountName=acc_test\n&<Common request parameters>",
423
+ "output": "{\n \"Response\": {\n \"DBList\": [\n {\n \"DBName\": \"db6_new\",\n \"Privilege\": \"DBOwner\"\n },\n {\n \"DBName\": \"db5_new\",\n \"Privilege\": \"ReadOnly\"\n },\n {\n \"DBName\": \"db4_new\",\n \"Privilege\": \"ReadWrite\"\n },\n {\n \"DBName\": \"db2_new\",\n \"Privilege\": \"ReadOnly\"\n },\n {\n \"DBName\": \"bigData\",\n \"Privilege\": \"DBOwner\"\n }\n ],\n \"RequestId\": \"0d8e4888-f464-11ed-8347-525400853186\",\n \"TotalCount\": 5\n }\n}",
424
+ "title": "Querying Information on the Databases and Permissions Associated with the Account"
425
+ }
426
+ ],
427
+ "DescribeDBRestoreTime": [
428
+ {
429
+ "document": " This example shows you how to query databases that can be rolled back.",
430
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBRestoreTime\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-quw892ks\",\n \"TargetInstanceId\": \"mssql-quw892ks\",\n \"Time\": \"2023-04-11 12:00:00\",\n \"BackupId\": 0,\n \"DBName\": \"test_db\"\n}",
431
+ "output": "{\n \"Response\": {\n \"Details\": [\n {\n \"NewName\": \"new_db_test\",\n \"OldName\": \"db_test\"\n }\n ],\n \"RequestId\": \"424e1df0-9253-11ed-8d88-ffd89b85f329\",\n \"TotalCount\": 1\n }\n}",
432
+ "title": "Query Databases That Can Be Rolled Back"
433
+ }
434
+ ],
435
+ "DescribeDBSecurityGroups": [
436
+ {
437
+ "document": " ",
438
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeDBSecurityGroups\n&InstanceId=mssql-6f4ddx2f \n&<Common request parameters>",
439
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1531f8ed-b13f-430b-b6a6-d85474877f3f\",\n \"SecurityGroupSet\": [\n {\n \"CreateTime\": \"2019-03-29 12:01:40\",\n \"InboundSet\": [\n {\n \"Action\": \"ACCEPT\",\n \"CidrIp\": \"0.0.0.0/0\",\n \"Dir\": \"INPUT\",\n \"IpProtocol\": \"ALL\",\n \"PortRange\": \"ALL\"\n }\n ],\n \"OutboundSet\": [\n {\n \"Action\": \"ACCEPT\",\n \"CidrIp\": \"0.0.0.0/0\",\n \"Dir\": \"OUTPUT\",\n \"IpProtocol\": \"ALL\",\n \"PortRange\": \"ALL\"\n }\n ],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-igw86yth\",\n \"SecurityGroupName\": \"default\",\n \"SecurityGroupRemark\": \"System created security group\"\n }\n ]\n }\n}",
440
+ "title": "Querying the Security Group Information of Instances"
441
+ }
442
+ ],
285
443
  "DescribeDBs": [
286
444
  {
287
445
  "document": "This example shows you how to query the list of databases.",
@@ -298,6 +456,30 @@
298
456
  "title": "Querying detailed database configurations"
299
457
  }
300
458
  ],
459
+ "DescribeDatabaseNames": [
460
+ {
461
+ "document": " ",
462
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeDatabaseNames\n&InstanceId=mssql-njj2mtpl\n&AccountName=account11\n&<Common request parameters>",
463
+ "output": "{\n \"Response\": {\n \"DatabaseNameSet\": [\n \"dbtest2\",\n \"dbtest1\",\n \"db2234\"\n ],\n \"RequestId\": \"ba3f44bd-6006-495d-a83c-42b166bdad21\",\n \"TotalCount\": 3\n }\n}",
464
+ "title": "Querying the Database Name Associated with the Account"
465
+ }
466
+ ],
467
+ "DescribeDatabases": [
468
+ {
469
+ "document": "This example shows you how to query the database list.",
470
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataBases\n<Common request parameters>\n\n{\n \"InstanceIdSet\": [\n \"mssql-ds3p26cv\"\n ]\n}",
471
+ "output": "{\n \"Response\": {\n \"DBInstances\": [\n {\n \"DBDetails\": [\n {\n \"Accounts\": [\n {\n \"AccountType\": \"L3\",\n \"Privilege\": \"ReadWrite\",\n \"UserName\": \"L2\"\n },\n {\n \"AccountType\": \"L1\",\n \"Privilege\": \"DBOwner\",\n \"UserName\": \"L0\"\n }\n ],\n \"Charset\": \"Chinese_PRC_CI_AS\",\n \"CreateTime\": \"2023-09-21 21:37:47\",\n \"Encryption\": \"disable\",\n \"InternalStatus\": \"ONLINE\",\n \"Name\": \"test_db3\",\n \"Remark\": \"--\",\n \"Status\": 2\n },\n {\n \"Accounts\": [\n {\n \"AccountType\": \"L3\",\n \"Privilege\": \"ReadOnly\",\n \"UserName\": \"L3\"\n },\n {\n \"AccountType\": \"L3\",\n \"Privilege\": \"ReadOnly\",\n \"UserName\": \"L2\"\n },\n {\n \"AccountType\": \"L1\",\n \"Privilege\": \"DBOwner\",\n \"UserName\": \"L0\"\n }\n ],\n \"Charset\": \"Chinese_PRC_CI_AS\",\n \"CreateTime\": \"2023-09-21 15:49:48\",\n \"Encryption\": \"disable\",\n \"InternalStatus\": \"ONLINE\",\n \"Name\": \"test_db2\",\n \"Remark\": \"--\",\n \"Status\": 2\n },\n {\n \"Accounts\": [\n {\n \"AccountType\": \"L3\",\n \"Privilege\": \"ReadWrite\",\n \"UserName\": \"L3\"\n },\n {\n \"AccountType\": \"L3\",\n \"Privilege\": \"ReadWrite\",\n \"UserName\": \"L2\"\n },\n {\n \"AccountType\": \"L1\",\n \"Privilege\": \"DBOwner\",\n \"UserName\": \"L0\"\n }\n ],\n \"Charset\": \"Chinese_PRC_CI_AS\",\n \"CreateTime\": \"2023-09-20 20:21:50\",\n \"Encryption\": \"disable\",\n \"InternalStatus\": \"ONLINE\",\n \"Name\": \"test_db\",\n \"Remark\": \"--\",\n \"Status\": 2\n }\n ],\n \"InstanceId\": \"mssql-ds3p26cv\"\n }\n ],\n \"RequestId\": \"1e4e038e-76eb-11ee-b611-525400853186\",\n \"TotalCount\": 3\n }\n}",
472
+ "title": "Querying the Database List"
473
+ }
474
+ ],
475
+ "DescribeDatabasesNormal": [
476
+ {
477
+ "document": "This example shows you how to query detailed configuration information of the databases.",
478
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeDatabasesNormal\n&InstanceId=mssql-ds3p26cv\n&<Common request parameters>",
479
+ "output": "{\n \"Response\": {\n \"DBList\": [\n {\n \"CollationName\": \"Chinese_PRC_CI_AS\",\n \"CreateTime\": \"2023-09-21 21:37:47.327\",\n \"IsAutoCleanupOn\": \"\",\n \"IsBrokerEnabled\": \"0\",\n \"IsCdcEnabled\": \"0\",\n \"IsDbChainingOn\": \"0\",\n \"IsEncrypted\": \"0\",\n \"IsFulltextEnabled\": \"1\",\n \"IsMirroring\": \"0\",\n \"IsPublished\": \"0\",\n \"IsReadCommittedSnapshotOn\": \"0\",\n \"IsSubscribed\": \"0\",\n \"IsTrustworthyOn\": \"0\",\n \"MirroringState\": \"\",\n \"Name\": \"test_db3\",\n \"RecoveryModelDesc\": \"FULL\",\n \"RetentionPeriod\": \"\",\n \"StateDesc\": \"ONLINE\",\n \"UserAccessDesc\": \"MULTI_USER\"\n },\n {\n \"CollationName\": \"Chinese_PRC_CI_AS\",\n \"CreateTime\": \"2023-09-20 20:21:50.360\",\n \"IsAutoCleanupOn\": \"\",\n \"IsBrokerEnabled\": \"0\",\n \"IsCdcEnabled\": \"1\",\n \"IsDbChainingOn\": \"0\",\n \"IsEncrypted\": \"0\",\n \"IsFulltextEnabled\": \"1\",\n \"IsMirroring\": \"0\",\n \"IsPublished\": \"0\",\n \"IsReadCommittedSnapshotOn\": \"0\",\n \"IsSubscribed\": \"0\",\n \"IsTrustworthyOn\": \"0\",\n \"MirroringState\": \"\",\n \"Name\": \"test_db\",\n \"RecoveryModelDesc\": \"FULL\",\n \"RetentionPeriod\": \"\",\n \"StateDesc\": \"ONLINE\",\n \"UserAccessDesc\": \"MULTI_USER\"\n },\n {\n \"CollationName\": \"Chinese_PRC_CI_AS\",\n \"CreateTime\": \"2023-09-21 15:49:47.903\",\n \"IsAutoCleanupOn\": \"1\",\n \"IsBrokerEnabled\": \"0\",\n \"IsCdcEnabled\": \"0\",\n \"IsDbChainingOn\": \"1\",\n \"IsEncrypted\": \"0\",\n \"IsFulltextEnabled\": \"1\",\n \"IsMirroring\": \"0\",\n \"IsPublished\": \"0\",\n \"IsReadCommittedSnapshotOn\": \"0\",\n \"IsSubscribed\": \"0\",\n \"IsTrustworthyOn\": \"0\",\n \"MirroringState\": \"\",\n \"Name\": \"test_db2\",\n \"RecoveryModelDesc\": \"FULL\",\n \"RetentionPeriod\": \"3\",\n \"StateDesc\": \"ONLINE\",\n \"UserAccessDesc\": \"MULTI_USER\"\n }\n ],\n \"RequestId\": \"0cc5e70b-6abe-4e42-8486-68f4348a0568\",\n \"TotalCount\": 3\n }\n}",
480
+ "title": "Querying Detailed Configuration Information of the Databases"
481
+ }
482
+ ],
301
483
  "DescribeFlowStatus": [
302
484
  {
303
485
  "document": " ",
@@ -306,6 +488,14 @@
306
488
  "title": "Querying task status"
307
489
  }
308
490
  ],
491
+ "DescribeHASwitchLog": [
492
+ {
493
+ "document": "",
494
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwitchCloudInstanceHA\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-98aiauan\",\n \"SwitchType\": 1,\n \"StartTime\": \"2023-01-01 00:00:00\",\n \"EndTime\": \"2023-01-01 00:01:00\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
495
+ "output": "{\n \"Response\": {\n \"RequestId\": \"863b2797-858b-49f3-88e9-50159e564cbc\",\n \"TotalCount\": 1,\n \"SwitchLog\": [\n {\n \"EventId\": \"f39bc24b76d1c5d3ce60f0dcb9e0bd79\",\n \"SwitchType\": 1,\n \"StartTime\": \"2023-01-01 00:00:00\",\n \"EndTime\": \"2023-01-01 00:01:00\",\n \"Reason\": \"AUTO\"\n }\n ]\n }\n}",
496
+ "title": "Querying Primary-Secondary Switch Logs"
497
+ }
498
+ ],
309
499
  "DescribeIncrementalMigration": [
310
500
  {
311
501
  "document": " ",
@@ -338,6 +528,22 @@
338
528
  "title": "Querying the configurable parameter list of an instance"
339
529
  }
340
530
  ],
531
+ "DescribeInstanceTasks": [
532
+ {
533
+ "document": " ",
534
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeInstanceTasks\n&InstanceId=mssql-njj2mtpl\n&Status=2\n&Limit=10\n&Offset=0\n&<Common request parameters>",
535
+ "output": "{\n \"Response\": {\n \"InstanceTaskSet\": [\n {\n \"EndTime\": \"2019-08-15 14:26:22\",\n \"ErrorCode\": 0,\n \"Id\": 23517,\n \"Message\": \"\",\n \"Progress\": 100,\n \"StartTime\": \"2019-08-15 14:25:20\",\n \"Status\": 2,\n \"Type\": 62\n }\n ],\n \"RequestId\": \"c736ff8a-5e23-4549-b9fb-6d79d11586ac\",\n \"TotalCount\": 21\n }\n}",
536
+ "title": "Querying the List of Asynchronous Tasks"
537
+ }
538
+ ],
539
+ "DescribeInstanceTradeParameter": [
540
+ {
541
+ "document": "This example shows you how to query the billing parameters of a newly purchased OnCvm two-node instance.",
542
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceTradeParameter\n<Common request parameters>\n\n{\n \"Zone\": \"ap-guangzhou-6\",\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceType\": \"cvmHA\",\n \"Memory\": 4,\n \"Storage\": 200,\n \"GoodsNum\": 1,\n \"SubnetId\": \"subnet-15y3y4eo\",\n \"VpcId\": \"vpc-hqxhp43z\",\n \"Period\": 1,\n \"DBVersion\": \"2008R2\",\n \"AutoRenewFlag\": 1,\n \"Weekly\": [\n \"1\",\n \"3\",\n \"5\"\n ],\n \"StartTime\": \"01:00\",\n \"Span\": 3,\n \"MultiZones\": \"true\",\n \"Cpu\": 2,\n \"MachineType\": \"CLOUD_BSSD\"\n}",
543
+ "output": "{\n \"Response\": {\n \"Parameter\": \"{\\\"uin\\\":\\\"2919041563\\\",\\\"ownerUin\\\":\\\"2919041563\\\",\\\"appId\\\":251000111,\\\"goods\\\":[{\\\"goodsCategoryId\\\":1025890,\\\"goodsNum\\\":1,\\\"payMode\\\":1,\\\"regionId\\\":1,\\\"zoneId\\\":100006,\\\"goodsDetail\\\":{\\\"pid\\\":1019180,\\\"productCode\\\":\\\"p_sqlserver\\\",\\\"subProductCode\\\":\\\"sp_sqlserver_dual_exclusive_cloud\\\",\\\"timeSpan\\\":1,\\\"timeUnit\\\":\\\"m\\\",\\\"productInfo\\\":[{\\\"name\\\":\\\"Project\\\",\\\"value\\\":\\\"default project\\\"},{\\\"name\\\":\\\"Configuration\\\",\\\"value\\\":\\\"4 GB memory; 200 GB storage space; QPS: 0; SQL Server 2008R2\\\"},{\\\"name\\\":\\\"Instance edition\\\",\\\"value\\\":\\\"Dual-server high-availability edition\\\"},{\\\"name\\\":\\\"Region\\\",\\\"value\\\":\\\"Guangzhou\\\"},{\\\"name\\\":\\\"Network\\\",\\\"value\\\":\\\"Exclusive network in zone 3\\\"},{\\\"name\\\":\\\"AZ\\\",\\\"value\\\":\\\"Guangzhou Zone 6\\\"},{\\\"name\\\":\\\"RequestSource\\\",\\\"value\\\":\\\"API\\\"}],\\\"autoRenewFlag\\\":1,\\\"goodsNum\\\":1,\\\"type\\\":\\\"CLOUD_BSSD\\\",\\\"version\\\":\\\"2008R2\\\",\\\"subnetId\\\":1604224,\\\"vpcId\\\":74483,\\\"model\\\":3,\\\"weekly\\\":[1,3,5],\\\"startTime\\\":\\\"01:00\\\",\\\"span\\\":3,\\\"RoGroupForcedUpgrade\\\":0,\\\"ResourceTags\\\":null,\\\"waitSwitch\\\":1,\\\"ExtParam\\\":{\\\"token\\\":\\\"\\\",\\\"useragent\\\":\\\"\\\",\\\"referer\\\":\\\"\\\",\\\"from\\\":\\\"\\\"},\\\"collation\\\":\\\"Chinese_PRC_CI_AS\\\",\\\"timeZone\\\":\\\"China Standard Time\\\",\\\"sv_sqlserver_cpu_dual_exclusive_cloud_enterprise\\\":2,\\\"sv_sqlserver_cpu_dual_exclusive_cloud_standard\\\":0,\\\"sv_sqlserver_mem_dual_exclusive_cloud_enterprise\\\":4,\\\"sv_sqlserver_mem_dual_exclusive_cloud_standard\\\":0,\\\"sv_sqlserver_disk_dual_enhancedssd\\\":0,\\\"sv_sqlserver_disk_dual_fastssd\\\":0,\\\"sv_sqlserver_disk_dual_universalssd\\\":200},\\\"platform\\\":1,\\\"projectId\\\":0}]}\\n\",\n \"RequestId\": \"2a2c00b5-77a8-4eda-be01-3f58230da22e\"\n }\n}",
544
+ "title": "Querying the Billing Parameters of a Newly Purchased OnCvm Two-Node Instance"
545
+ }
546
+ ],
341
547
  "DescribeMaintenanceSpan": [
342
548
  {
343
549
  "document": " ",
@@ -346,6 +552,14 @@
346
552
  "title": "Query the maintenance time window of the instance"
347
553
  }
348
554
  ],
555
+ "DescribeMigrationDatabases": [
556
+ {
557
+ "document": " ",
558
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrationDatabases\n&InstanceId=mssql-si2823jyl\n&UserName=sqlserver_admin\n&Password=Qy2255778899\n&<Common request parameters>",
559
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\",\n \"Amount\": 3,\n \"MigrateDBSet\": [\n \"Biz-test1\",\n \"Biz-test2\",\n \"Biz-test3\"\n ]\n }\n}",
560
+ "title": "Querying the List of Databases to Be Migrated"
561
+ }
562
+ ],
349
563
  "DescribeMigrationDetail": [
350
564
  {
351
565
  "document": " ",
@@ -357,8 +571,8 @@
357
571
  "DescribeMigrations": [
358
572
  {
359
573
  "document": " ",
360
- "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrations\n&MigrateName=Test\n&Limit=10\n&Offset=0\n&OrderBy=name\n&OrderByType=desc\n&StatusSet.0=1\n&StatusSet.1=4\n&<Common request parameters>",
361
- "output": "{\n \"Response\": {\n \"RequestId\": \"728ba95f-0443-41ec-82c9-44bc8bfc0802\",\n \"TotalCount\": 2,\n \"MigrateTaskSet\": [\n {\n \"MigrateId\": 2734,\n \"MigrateName\": \"Test migration\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-09 11:46:15\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n },\n {\n \"MigrateId\": 2732,\n \"MigrateName\": \"Test API\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-08 21:03:09\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n }\n ]\n }\n}",
574
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrations\n&MigrateName=andy_Migrate\n&Limit=10\n&Offset=0\n&OrderBy=name\n&OrderByType=desc\n&StatusSet.0=1\n&StatusSet.1=4\n&<Common request parameters>",
575
+ "output": "{\n \"Response\": {\n \"RequestId\": \"728ba95f-0443-41ec-82c9-44bc8bfc0802\",\n \"TotalCount\": 2,\n \"MigrateTaskSet\": [\n {\n \"MigrateId\": 2734,\n \"MigrateName\": \"andy_Migrate\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-09 11:46:15\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n },\n {\n \"MigrateId\": 2732,\n \"MigrateName\": \"andy_Migrate2\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-08 21:03:09\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n }\n ]\n }\n}",
362
576
  "title": "Querying the list of migration tasks"
363
577
  }
364
578
  ],
@@ -378,6 +592,54 @@
378
592
  "title": "Querying the purchasable specifications of High-Availability Edition instances in Guangzhou Zone 3"
379
593
  }
380
594
  ],
595
+ "DescribeProjectSecurityGroups": [
596
+ {
597
+ "document": " ",
598
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeProjectSecurityGroups\n&ProjectId=0\n&<Common request parameters>",
599
+ "output": "{\n \"Response\": {\n \"RequestId\": \"48a7b046-479f-4f8d-8c34-e6615aec5b73\",\n \"SecurityGroupSet\": [\n {\n \"CreateTime\": \"2019-03-29 12:01:40\",\n \"InboundSet\": [\n {\n \"Action\": \"ACCEPT\",\n \"CidrIp\": \"0.0.0.0/0\",\n \"Dir\": \"INPUT\",\n \"IpProtocol\": \"ALL\",\n \"PortRange\": \"ALL\"\n }\n ],\n \"OutboundSet\": [\n {\n \"Action\": \"ACCEPT\",\n \"CidrIp\": \"0.0.0.0/0\",\n \"Dir\": \"OUTPUT\",\n \"IpProtocol\": \"ALL\",\n \"PortRange\": \"ALL\"\n }\n ],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-igw86yth\",\n \"SecurityGroupName\": \"default\",\n \"SecurityGroupRemark\": \"System created security group\"\n }\n ]\n }\n}",
600
+ "title": "Querying the Security Group Information of Projects"
601
+ }
602
+ ],
603
+ "DescribePublishSubscribe": [
604
+ {
605
+ "document": " ",
606
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribePublishSubscribe\n&InstanceId=mssql-12klhrx2c\n&PubOrSubInstanceId=mssql-hh598yjo\n&PubOrSubInstanceIp=10.0.1.27\n&PublishSubscribeId=5\n&PublishSubscribeName=Change_name\n&Offset=0\n&Limit=10\n&<Common request parameters>",
607
+ "output": "{\n \"Response\": {\n \"PublishSubscribeSet\": [\n {\n \"Id\": 5,\n \"Name\": \"Change_name\",\n \"PublishInstanceId\": \"mssql-12klhrx2c\",\n \"PublishInstanceName\": \"890d5f71-7e4d-493c-bbe8-22fcec655d50\",\n \"PublishInstanceIp\": \"192.168.0.7\",\n \"SubscribeInstanceId\": \"mssql-hh598yjo\",\n \"SubscribeInstanceName\": \"1957199f-f396-47b6-9716-dfae74161f10\",\n \"SubscribeInstanceIp\": \"10.0.1.27\",\n \"DatabaseTupleSet\": [\n {\n \"PublishDatabase\": \"test01\",\n \"SubscribeDatabase\": \"test01\",\n \"LastSyncTime\": \"2020-07-13 16:57:01\",\n \"Status\": \"SyncNormal\"\n },\n {\n \"PublishDatabase\": \"test02\",\n \"SubscribeDatabase\": \"test02\",\n \"LastSyncTime\": \"2020-07-13 16:57:01\",\n \"Status\": \"SyncNormal\"\n }\n ]\n }\n ],\n \"RequestId\": \"b1475330-2c4d-49a7-b063-f3e8b69d23ca\",\n \"TotalCount\": 1\n }\n}",
608
+ "title": "Querying the Publish/Subscribe Relationship List"
609
+ }
610
+ ],
611
+ "DescribeReadOnlyGroupAutoWeight": [
612
+ {
613
+ "document": " ",
614
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReadOnlyGroupAutoWeight\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-2cwisu23\",\n \"ReadOnlyGroupId\": \"mssqlrg-itaunotj\"\n}",
615
+ "output": "{\n \"Response\": {\n \"IsOfflineDelay\": 1,\n \"MasterInstanceId\": \"mssql-2cwisu23\",\n \"MinReadOnlyInGroup\": 2,\n \"ReadOnlyGroupId\": \"mssqlrg-itaunotj\",\n \"ReadOnlyGroupName\": \"\",\n \"ReadOnlyInstanceSet\": [\n {\n \"AccountDifference\": \"\",\n \"Cpu\": 1,\n \"CreateTime\": \"2019-12-20 10:11:37\",\n \"DatabaseDifference\": \"\",\n \"DelayTime\": \"\",\n \"EndTime\": \"\",\n \"InstanceId\": \"mssqlro-otx9r1gr\",\n \"IsolateTime\": \"\",\n \"Memory\": 2,\n \"Model\": 2,\n \"Name\": \"66c5d5b3-bf78-4f3c-b4e5-047d8d6aad49\",\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"StartTime\": \"\",\n \"Status\": 2,\n \"Storage\": 20,\n \"SynStatus\": \"\",\n \"Type\": \"TS85\",\n \"Uid\": \"\",\n \"UpdateTime\": \"2021-10-20 17:31:48\",\n \"Version\": \"2008R2\",\n \"Weight\": 1\n }\n ],\n \"ReadOnlyMaxDelayTime\": 3,\n \"RegionId\": \"\",\n \"RequestId\": \"1055ece1-7c6d-4442-aa20-1e8b588f8444\",\n \"Status\": 5,\n \"SubnetId\": \"\",\n \"Vip\": \"10.0.0.198\",\n \"VpcId\": \"\",\n \"Vport\": 1433,\n \"ZoneId\": \"\"\n }\n}",
616
+ "title": "Querying the Default Weights of Read-Only Parts in Read-Only Groups"
617
+ }
618
+ ],
619
+ "DescribeReadOnlyGroupByReadOnlyInstance": [
620
+ {
621
+ "document": " ",
622
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeReadOnlyGroupByReadOnlyInstance\n&InstanceId=mssqlro-91masbl1\n&<common request parameters>",
623
+ "output": "{\n \"Response\": {\n \"IsOfflineDelay\": 1,\n \"MasterInstanceId\": \"mssql-6f4ddx2f\",\n \"MasterRegionId\": \"ap-guangzhou\",\n \"MinReadOnlyInGroup\": 1,\n \"ReadOnlyGroupId\": \"mssqlrg-552tyamb\",\n \"ReadOnlyGroupName\": \"Try again to create 2 replicas at a time.\",\n \"ReadOnlyMaxDelayTime\": 11,\n \"RegionId\": \"ap-guangzhou\",\n \"RequestId\": \"798db80b-869b-4a39-a39a-72c52d5bdca4\",\n \"SubnetId\": \"subnet-gdy95gfs\",\n \"Vip\": \"10.100.0.44\",\n \"VpcId\": \"vpc-3xq2t5al\",\n \"Vport\": 1433,\n \"ZoneId\": \"ap-guangzhou-2\"\n }\n}",
624
+ "title": "Querying Read-Only Groups Through Read-Only Instances"
625
+ }
626
+ ],
627
+ "DescribeReadOnlyGroupDetails": [
628
+ {
629
+ "document": " ",
630
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeReadOnlyGroupDetails\n&InstanceId=mssql-6f4ddx2f\n&ReadOnlyGroupId=mssqlrg-552tyamb\n&<Common request parameters>",
631
+ "output": "{\n \"Response\": {\n \"IsOfflineDelay\": 1,\n \"MasterInstanceId\": \"mssql-6f4ddx2f\",\n \"MinReadOnlyInGroup\": 1,\n \"ReadOnlyGroupId\": \"mssqlrg-552tyamb\",\n \"ReadOnlyGroupName\": \"default_name\",\n \"ReadOnlyInstanceSet\": [\n {\n \"AccountDifference\": \"user1;user2;user3;user4\",\n \"Cpu\": 1,\n \"CreateTime\": \"2020-01-14 21:45:12\",\n \"DatabaseDifference\": \"db1;db2;db3;db4\",\n \"DelayTime\": \"0\",\n \"EndTime\": \"2020-01-16 10:53:13\",\n \"InstanceId\": \"mssqlro-5k508n7p\",\n \"IsolateTime\": \"2020-01-16 10:53:13\",\n \"Memory\": 2,\n \"Model\": 2,\n \"Name\": \"2f2d7800-4c38-4f1e-8522-7cc655763859\",\n \"PayMode\": 1,\n \"ProjectId\": 1075687,\n \"StartTime\": \"2020-01-14 21:45:12\",\n \"Status\": 2,\n \"Storage\": 10,\n \"SynStatus\": \"unknow\",\n \"Type\": \"TS85\",\n \"Uid\": \"gamedb.gz318.cdb.db\",\n \"UpdateTime\": \"2020-07-22 15:47:02\",\n \"Version\": \"2008R2\",\n \"Weight\": 1\n },\n {\n \"AccountDifference\": \"user1;user2;user3;user4\",\n \"Cpu\": 1,\n \"CreateTime\": \"2020-01-14 21:45:12\",\n \"DatabaseDifference\": \"db1;db2;db3;db4\",\n \"DelayTime\": \"0\",\n \"EndTime\": \"2020-06-01 10:53:12\",\n \"InstanceId\": \"mssqlro-91masbl1\",\n \"IsolateTime\": \"2020-01-16 10:53:12\",\n \"Memory\": 2,\n \"Model\": 2,\n \"Name\": \"8d8d8cdd-41fe-4095-9841-a9de01c499da\",\n \"PayMode\": 1,\n \"ProjectId\": 1075687,\n \"StartTime\": \"2020-01-14 21:45:12\",\n \"Status\": 2,\n \"Storage\": 10,\n \"SynStatus\": \"unknow\",\n \"Type\": \"TS85\",\n \"Uid\": \"gamedb.gz317.cdb.db\",\n \"UpdateTime\": \"2020-07-22 15:47:03\",\n \"Version\": \"2008R2\",\n \"Weight\": 1\n }\n ],\n \"ReadOnlyMaxDelayTime\": 11,\n \"RegionId\": \"ap-guangzhou\",\n \"RequestId\": \"62cba7ef-4441-4652-9787-2ba5d8f8b4af\",\n \"Status\": 1,\n \"SubnetId\": \"subnet-gdy95gfs\",\n \"Vip\": \"10.100.0.44\",\n \"VpcId\": \"vpc-3xq2t5al\",\n \"Vport\": 1433,\n \"ZoneId\": \"ap-guangzhou-2\"\n }\n}",
632
+ "title": "Querying Read-Only Group Details"
633
+ }
634
+ ],
635
+ "DescribeReadOnlyGroupList": [
636
+ {
637
+ "document": " ",
638
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeReadOnlyGroupList\n&InstanceId=mssql-6f4ddx2f\n&<Common request parameters>",
639
+ "output": "{\n \"Response\": {\n \"ReadOnlyGroupSet\": [\n {\n \"IsOfflineDelay\": 1,\n \"MasterInstanceId\": \"mssql-6f4ddx2f\",\n \"MinReadOnlyInGroup\": 1,\n \"ReadOnlyGroupId\": \"mssqlrg-agxzr9t7\",\n \"ReadOnlyGroupName\": \"default_name\",\n \"ReadOnlyInstanceSet\": [],\n \"ReadOnlyMaxDelayTime\": 11,\n \"RegionId\": \"ap-guangzhou\",\n \"Status\": 1,\n \"SubnetId\": \"subnet-gdy95gfs\",\n \"Vip\": \"10.100.0.17\",\n \"VpcId\": \"vpc-3xq2t5al\",\n \"Vport\": 1433,\n \"ZoneId\": \"ap-guangzhou-2\"\n },\n {\n \"IsOfflineDelay\": 1,\n \"MasterInstanceId\": \"mssql-6f4ddx2f\",\n \"MinReadOnlyInGroup\": 1,\n \"ReadOnlyGroupId\": \"mssqlrg-552tyamb\",\n \"ReadOnlyGroupName\": \"default_name\",\n \"ReadOnlyInstanceSet\": [\n {\n \"AccountDifference\": \"user1;user2;user3\",\n \"Cpu\": 1,\n \"CreateTime\": \"2020-01-14 21:45:12\",\n \"DatabaseDifference\": \"db1;db2;db3\",\n \"DelayTime\": \"0\",\n \"EndTime\": \"2020-01-16 10:53:13\",\n \"InstanceId\": \"mssqlro-5k508n7p\",\n \"IsolateTime\": \"2020-01-16 10:53:13\",\n \"Memory\": 2,\n \"Model\": 2,\n \"Name\": \"2f2d7800-4c38-4f1e-8522-7cc655763859\",\n \"PayMode\": 1,\n \"ProjectId\": 1075687,\n \"StartTime\": \"2020-01-14 21:45:12\",\n \"Status\": 2,\n \"Storage\": 10,\n \"SynStatus\": \"unknow\",\n \"Type\": \"TS85\",\n \"Uid\": \"gamedb.gz318.cdb.db\",\n \"UpdateTime\": \"2020-07-22 15:47:02\",\n \"Version\": \"2008R2\",\n \"Weight\": 1\n },\n {\n \"AccountDifference\": \"user1;user2;user3\",\n \"Cpu\": 1,\n \"CreateTime\": \"2020-01-14 21:45:12\",\n \"DatabaseDifference\": \"db1;db2;db3\",\n \"DelayTime\": \"0\",\n \"EndTime\": \"2020-06-01 10:53:12\",\n \"InstanceId\": \"mssqlro-91masbl1\",\n \"IsolateTime\": \"2020-01-16 10:53:12\",\n \"Memory\": 2,\n \"Model\": 2,\n \"Name\": \"8d8d8cdd-41fe-4095-9841-a9de01c499da\",\n \"PayMode\": 1,\n \"ProjectId\": 1075687,\n \"StartTime\": \"2020-01-14 21:45:12\",\n \"Status\": 2,\n \"Storage\": 10,\n \"SynStatus\": \"unknow\",\n \"Type\": \"TS85\",\n \"Uid\": \"gamedb.gz317.cdb.db\",\n \"UpdateTime\": \"2020-07-22 15:47:03\",\n \"Version\": \"2008R2\",\n \"Weight\": 1\n }\n ],\n \"ReadOnlyMaxDelayTime\": 11,\n \"RegionId\": \"ap-guangzhou\",\n \"Status\": 1,\n \"SubnetId\": \"subnet-gdy95gfs\",\n \"Vip\": \"10.100.0.44\",\n \"VpcId\": \"vpc-3xq2t5al\",\n \"Vport\": 1433,\n \"ZoneId\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"ba2b7fde-d384-4960-8e7e-fd24370a1924\"\n }\n}",
640
+ "title": "Querying the Read-Only Group List"
641
+ }
642
+ ],
381
643
  "DescribeRegions": [
382
644
  {
383
645
  "document": " ",
@@ -386,6 +648,22 @@
386
648
  "title": "Querying all regions"
387
649
  }
388
650
  ],
651
+ "DescribeRegularBackupPlan": [
652
+ {
653
+ "document": "This example shows you how to querying the scheduled backup retention plan for the Instance (mssql-j8kv137v)",
654
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegularBackupPlan\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-j8kv137v\",\n \"RegularBackupCounts\": \"1\",\n \"RegularBackupSaveDays\": \"365\",\n \"RegularBackupStrategy\": \"month\",\n \"RegularBackupStartTime\": \"2022-10-10\",\n \"BackupCycle\": [\n 1,\n 2,\n 3\n ]\n}",
655
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a62cac28-1656-4115-bf8d-189bef5e1102\",\n \"SaveModePeriod\": [\n \"2022-10-24 00:00:00\"\n ],\n \"SaveModeRegular\": [\n \"2022-10-26 00:00:00\"\n ]\n }\n}",
656
+ "title": "Querying the Scheduled Backup Retention Plan for the Instance (mssql-j8kv137v)"
657
+ }
658
+ ],
659
+ "DescribeRestoreTask": [
660
+ {
661
+ "document": " This example shows you how to query the list of rollback tasks.",
662
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRestoreTask\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-aju981jo\",\n \"RestoreType\": 0,\n \"TargetRegion\": \"ap-shanghai\",\n \"TargetType\": 2,\n \"Status\": 1,\n \"StartTime\": \"2023-04-12: 00:00:00\",\n \"EndTime\": \"2023-04-12: 00:00:00\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderBy\": \"startTime\",\n \"OrderByType\": \"desc\"\n}",
663
+ "output": "{\n \"Response\": {\n \"RequestId\": \"88310080-925d-11ed-981b-c7bf72df626c\",\n \"Tasks\": [\n {\n \"TargetInstanceId\": \"mssql-892932uiu\",\n \"TargetInstanceName\": \"andy\",\n \"TargetInstanceStatus\": 2,\n \"TargetRegion\": \"ap-guangzhou\",\n \"TargetType\": 0,\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"RestoreId\": 1012,\n \"RestoreTime\": \"2023-01-12 16:22:48\",\n \"RestoreType\": 0,\n \"StartTime\": \"2023-01-12 16:22:55\",\n \"Status\": 0,\n \"FlowId\": 100\n }\n ],\n \"TotalCount\": 1\n }\n}",
664
+ "title": "Querying the List of Rollback Tasks"
665
+ }
666
+ ],
389
667
  "DescribeRestoreTimeRange": [
390
668
  {
391
669
  "document": "This example shows you how to query the time range available for rollback by time point by this API (DescribeRestoreTimeRange).",
@@ -418,6 +696,14 @@
418
696
  "title": "Querying the Reference Price of a Specification"
419
697
  }
420
698
  ],
699
+ "DescribeUpgradeInstanceCheck": [
700
+ {
701
+ "document": " ",
702
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeUpgradeInstanceCheck\n&InstanceId=mssql-30vft2ix\n&Cpu=2\n&Memory=16\n&Storage=256\n&DBVersion=2017\n&HAType=CLUSTER\n&MultiZones=SameZones\n&<Common request parameters>",
703
+ "output": "{\n \"Response\": {\n \"CheckItems\": [\n {\n \"CheckName\": \"CK_CPU\",\n \"CurrentValue\": \"0\",\n \"IsAffect\": 0,\n \"Msg\": \"\",\n \"MsgCode\": 0,\n \"Passed\": 1\n },\n {\n \"CheckName\": \"CK_MASTER_STORAGE\",\n \"CurrentValue\": \"\",\n \"IsAffect\": 0,\n \"Msg\": \"\",\n \"MsgCode\": 0,\n \"Passed\": 1\n },\n {\n \"CheckName\": \"CK_MEMORY\",\n \"CurrentValue\": \"0\",\n \"IsAffect\": 0,\n \"Msg\": \"\",\n \"MsgCode\": 0,\n \"Passed\": 1\n },\n {\n \"CheckName\": \"CK_STORAGE\",\n \"CurrentValue\": \"0\",\n \"IsAffect\": 0,\n \"Msg\": \"\",\n \"MsgCode\": 0,\n \"Passed\": 1\n },\n {\n \"CheckName\": \"CK_UPGRATE\",\n \"CurrentValue\": \"MIGRATE\",\n \"IsAffect\": 1,\n \"Msg\": \"version 2008 -> 2017 upgrade requires data migration\",\n \"MsgCode\": 5,\n \"Passed\": 1\n }\n ],\n \"IsAffect\": 1,\n \"ModifyMode\": \"up\",\n \"Passed\": 1,\n \"RequestId\": \"44416ab3-794e-47e2-840c-f645efc3481c\"\n }\n}",
704
+ "title": "Checking Instance Configuration Adjustment"
705
+ }
706
+ ],
421
707
  "DescribeUploadBackupInfo": [
422
708
  {
423
709
  "document": " ",
@@ -442,6 +728,14 @@
442
728
  "title": "Querying all availability zones"
443
729
  }
444
730
  ],
731
+ "DisassociateSecurityGroups": [
732
+ {
733
+ "document": " ",
734
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DisassociateSecurityGroups\n&SecurityGroupId=sg-igw86yth\n&InstanceIdSet.0=mssql-6f4ddx2f\n&<Common request parameters>",
735
+ "output": "{\n \"Response\": {\n \"RequestId\": \"595838fa-07e2-4a6d-9957-4ad7825749fc\"\n }\n}",
736
+ "title": "Unbinding Security Groups from Cloud Resources in Batches"
737
+ }
738
+ ],
445
739
  "InquiryPriceCreateDBInstances": [
446
740
  {
447
741
  "document": "This example shows you how to query the price of the requested SQL Server instance.",
@@ -469,7 +763,7 @@
469
763
  "ModifyAccountRemark": [
470
764
  {
471
765
  "document": " ",
472
- "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyAccountRemark\n&InstanceId=mssql-j8kv137v\n&Accounts.0.UserName=test\n&Accounts.0.Remark=testRemark\n&<Common request parameters>",
766
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyAccountRemark\n&InstanceId=mssql-j8kv137v\n&Accounts.0.UserName=usetName\n&Accounts.0.Remark=userRemark\n&<Common request parameters>",
473
767
  "output": "{\n \"Response\": {\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\"\n }\n}",
474
768
  "title": "Modifying account remarks"
475
769
  }
@@ -482,6 +776,14 @@
482
776
  "title": "Modifying a full backup import task"
483
777
  }
484
778
  ],
779
+ "ModifyBackupName": [
780
+ {
781
+ "document": " ",
782
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyBackupName\n&InstanceId=mssql-6upluvd5\n&BackupId=1234568\n&BackupName=backup_name\n&<Common request parameters>",
783
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5e0b5780-d2fa-11ea-ba72-1f709d38ab3e\"\n }\n}",
784
+ "title": "Modifying the Backup Name"
785
+ }
786
+ ],
485
787
  "ModifyBackupStrategy": [
486
788
  {
487
789
  "document": " ",
@@ -490,6 +792,22 @@
490
792
  "title": "Modifying the backup policy of the \"mssql-j8kv137v\" instance"
491
793
  }
492
794
  ],
795
+ "ModifyCloseWanIp": [
796
+ {
797
+ "document": " ",
798
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCloseWanIp\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-6upluvd5\"\n}",
799
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1fed8472-f117-11ec-be47-525400853186\",\n \"FlowId\": 1012152\n }\n}",
800
+ "title": "Disabling the Public Network for the Instance"
801
+ }
802
+ ],
803
+ "ModifyCrossBackupStrategy": [
804
+ {
805
+ "document": " ",
806
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyCrossBackupStrategy\n&InstanceId=mssql-7vfv3rk3\n&InstanceIdSet.0=mssql-7vfv3rk3\n&CrossBackupEnabled=enable\n&CrossBackupSaveDays=7\n&CrossBackupRegion.0=ap-guangzhou\n&CleanUpCrossBackup=1\n&<Common request parameters>",
807
+ "output": "{\n \"Response\": {\n \"RequestId\": \"fc765108-efcd-11ec-887f-525400853186\"\n }\n}",
808
+ "title": "Enabling or Disabling Cross-Region Backup Policies"
809
+ }
810
+ ],
493
811
  "ModifyDBEncryptAttributes": [
494
812
  {
495
813
  "document": "This example shows you how to enable or disable TDE of a database.",
@@ -520,6 +838,14 @@
520
838
  "title": "Instance Network Modification"
521
839
  }
522
840
  ],
841
+ "ModifyDBInstanceNote": [
842
+ {
843
+ "document": " ",
844
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyDBInstanceNote\n&InstanceId=mssql-njj2mtpl\n&InstanceNote=noteMsg\n&<Common request parameters>",
845
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\"\n }\n}",
846
+ "title": "Modify the remarks of instance mssql-njj2mtpl to noteMsg."
847
+ }
848
+ ],
523
849
  "ModifyDBInstanceProject": [
524
850
  {
525
851
  "document": " ",
@@ -528,6 +854,22 @@
528
854
  "title": "Modifying the project to which the instance belongs"
529
855
  }
530
856
  ],
857
+ "ModifyDBInstanceSSL": [
858
+ {
859
+ "document": "This example shows you how to enable/disable/update SSL encryption.",
860
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSSL\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-j8kv137v\",\n \"Type\": \"enable\",\n \"WaitSwitch\": 0\n}",
861
+ "output": "{\n \"Response\": {\n \"FlowId\": 100001,\n \"RequestId\": \"9db13c19-d660-43c4-b340-7ba86b7b1470\"\n }\n}",
862
+ "title": "Enabling/Disabling/Updating SSL Encryption"
863
+ }
864
+ ],
865
+ "ModifyDBInstanceSecurityGroups": [
866
+ {
867
+ "document": " ",
868
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyDBInstanceSecurityGroups\n&InstanceId=mssql-6f4ddx2f\n&SecurityGroupIdSet.0=sg-igw86yth\n&<Common request parameters>",
869
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9ae37be8-05dc-4d5f-90b9-ea9efdc353e9\"\n }\n}",
870
+ "title": "Modifying the Security Groups of Cloud Databases"
871
+ }
872
+ ],
531
873
  "ModifyDBName": [
532
874
  {
533
875
  "document": " ",
@@ -576,6 +918,22 @@
576
918
  "title": "Shrinking database MDF files"
577
919
  }
578
920
  ],
921
+ "ModifyDatabasePrivilege": [
922
+ {
923
+ "document": " This example shows you how to modify permissions at the database level.",
924
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyDatabasePrivilege\n&InstanceId=mssql-njj2mtpl\n&DataBaseSet.0.DataBaseName=testuser\n&DataBaseSet.0.AccountPrivileges.0.UserName=testdb\n&DataBaseSet.0.AccountPrivileges.0.Privilege=ReadOnly\n&<Common request parameters>",
925
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\": \"30321\"\n }\n}",
926
+ "title": "Modifying the Database Permissions"
927
+ }
928
+ ],
929
+ "ModifyDatabaseShrinkMDF": [
930
+ {
931
+ "document": "",
932
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyDatabaseShrinkMDF\n&InstanceId=mssql-j8kv137v\n&DBNames.0=test_db\n&<Common request parameters>",
933
+ "output": "{\n \"Response\": {\n \"FlowId\": 9999,\n \"RequestId\": \"a989d733-1099-4f44-84ad-991da182d0w3\"\n }\n}",
934
+ "title": "Shrinking the Database mdf"
935
+ }
936
+ ],
579
937
  "ModifyIncrementalMigration": [
580
938
  {
581
939
  "document": " ",
@@ -600,6 +958,14 @@
600
958
  "title": "Modifying instance parameters"
601
959
  }
602
960
  ],
961
+ "ModifyMaintenanceSpan": [
962
+ {
963
+ "document": " Modify the instance maintenance window: Change it to Monday, Tuesday, and Wednesday each week, and the duration is 6 hours after maintenance starts at 00:00.",
964
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyMaintenanceSpan\n&InstanceId=mssql-6upluvd5\n&StartTime=00:00\n&Span=6\n&Weekly.0=1\n&Weekly.1=2\n&Weekly.2=3\n&<Common request parameters>",
965
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2941128b-d8fb-4af4-bb73-d79c413e1a7d\"\n }\n}",
966
+ "title": "Modifying the Instance Maintenance Window"
967
+ }
968
+ ],
603
969
  "ModifyMigration": [
604
970
  {
605
971
  "document": " ",
@@ -608,6 +974,44 @@
608
974
  "title": "Modifying a migration task"
609
975
  }
610
976
  ],
977
+ "ModifyOpenWanIp": [
978
+ {
979
+ "document": " ",
980
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOpenWanIp\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-6upluvd5\"\n}",
981
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1fed8472-f117-11ec-be47-525400853186\",\n \"FlowId\": 1012152\n }\n}",
982
+ "title": "Enabling the Public Network for the Instance"
983
+ }
984
+ ],
985
+ "ModifyPublishSubscribe": [
986
+ {
987
+ "document": " ",
988
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyPublishSubscribe\n&InstanceId=mssql-2cwisu23\n&PublishSubscribeId=5\n&DatabaseTupleSet.0.DatabaseTuple.PublishDatabase=db1\n&DatabaseTupleSet.0.DatabaseTuple.SubscribeDatabase=db1\n&DatabaseTupleSet.0.NewDatabaseTuple.PublishDatabase=db2\n&DatabaseTupleSet.0.NewDatabaseTuple.SubscribeDatabase=db2\n&<Common request parameters>",
989
+ "output": "{\n \"Response\": {\n \"FlowId\": 110,\n \"RequestId\": \"133c6f22-f562-4107-8458-c3b25c901918\"\n }\n}",
990
+ "title": "Modifying Publish/Subscribe Relationships of Instances"
991
+ },
992
+ {
993
+ "document": " ",
994
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyPublishSubscribe\n&InstanceId=mssql-2cwisu23\n&PublishSubscribeId=5\n&DatabaseTupleSet.0.DatabaseTuple.PublishDatabase=db1\n&DatabaseTupleSet.0.DatabaseTuple.SubscribeDatabase=db1\n&DatabaseTupleSet.0.DeleteDataBasesTuple=true\n&<Common request parameters>",
995
+ "output": "{\n \"Response\": {\n \"FlowId\": 111,\n \"RequestId\": \"133c6f22-f562-4107-8458-c3b25c901918\"\n }\n}",
996
+ "title": "Deleting Publish/Subscribe Relationships of Instances"
997
+ }
998
+ ],
999
+ "ModifyPublishSubscribeName": [
1000
+ {
1001
+ "document": " ",
1002
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyPublishSubscribeName\n&PublishSubscribeId=5\n&PublishSubscribeName=Change_name\n&<Common request parameters>",
1003
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ac641959-72ad-425d-ab35-a2abeb463182\"\n }\n}",
1004
+ "title": "Fixing the Publish/Subscribe Names"
1005
+ }
1006
+ ],
1007
+ "ModifyReadOnlyGroupDetails": [
1008
+ {
1009
+ "document": " ",
1010
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyReadOnlyGroupDetails\n&InstanceId=mssql-6f4ddx2f\n&ReadOnlyGroupId=mssqlrg-552tyamb\n&ReadOnlyGroupName=change_name\n&IsOfflineDelay=1\n&ReadOnlyMaxDelayTime=18\n&MinReadOnlyInGroup=1\n&AutoWeight=0\n&BalanceWeight=1\n&WeightPairs.0.ReadOnlyInstanceId=mssqlro-5k508n7p\n&WeightPairs.0.ReadOnlyWeight=50\n&WeightPairs.1.ReadOnlyInstanceId=mssqlro-91masbl1\n&WeightPairs.1.ReadOnlyWeight=50\n&<Common request parameters>",
1011
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4db4cc07-920a-4d04-8627-d45c582e96e7\"\n }\n}",
1012
+ "title": "Modifying Read-Only Group Details"
1013
+ }
1014
+ ],
611
1015
  "OpenInterCommunication": [
612
1016
  {
613
1017
  "document": " ",
@@ -616,6 +1020,14 @@
616
1020
  "title": "Adding an instance to the interworking group"
617
1021
  }
618
1022
  ],
1023
+ "QueryMigrationCheckProcess": [
1024
+ {
1025
+ "document": " ",
1026
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=QueryMigrationCheckProcess\n&MigrateId=1066\n&<Common request parameters>",
1027
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\",\n \"TotalStep\": 8,\n \"CurrentStep\": 8,\n \"StepDetails\": [\n {\n \"Name\": \"Source database connectivity check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the data transfer server can be connected to the source database.\"\n },\n {\n \"Name\": \"Target database connectivity check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the data transfer server can be connected to the target database.\"\n },\n {\n \"Name\": \"Hard disk space check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the hard disk space of the target server is sufficient.\"\n },\n {\n \"Name\": \"Character set check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the character sets are consistent.\"\n },\n {\n \"Name\": \"Database version check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the database version numbers are consistent.\"\n },\n {\n \"Name\": \"User permissions check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the permissions for the target instance exist.\"\n },\n {\n \"Name\": \"Source database existence check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the source database exists.\"\n },\n {\n \"Name\": \"Target database existence check\",\n \"Status\": 0,\n \"Msg\": \"Check whether the target database exists.\"\n }\n ]\n }\n}",
1028
+ "title": "Querying the Migration Verification Task Progress"
1029
+ }
1030
+ ],
619
1031
  "RecycleDBInstance": [
620
1032
  {
621
1033
  "document": " ",
@@ -624,6 +1036,30 @@
624
1036
  "title": "Returning an instance"
625
1037
  }
626
1038
  ],
1039
+ "RecycleReadOnlyGroup": [
1040
+ {
1041
+ "document": " ",
1042
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=RecycleReadOnlyGroup\n&InstanceId=mssql-2cwisu23\n&ReadOnlyGroupId=mssqlrg-787oxy95\n&<Common request parameters>",
1043
+ "output": "{\n \"Response\": {\n \"FlowId\": 1001539,\n \"RequestId\": \"e092520d-86c3-46ba-a39d-dc1373b7a82d\"\n }\n}",
1044
+ "title": "Triggers proactive reclamation of the read-only group."
1045
+ }
1046
+ ],
1047
+ "RemoveBackups": [
1048
+ {
1049
+ "document": " ",
1050
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=RemoveBackups\n&InstanceId=mssql-6upluvd5\n&BackupNames.0=manual_instance_58001_20180702010430.bak.tar\n&StartTime=2022-04-20 22:23:12\n&EndTime=2022-04-21 22:23:12\n&<Common request parameters>",
1051
+ "output": "{\n \"Response\": {\n \"RequestId\": \"55e283aa-0001-4b22-8b60-b208f08cf580\"\n }\n}",
1052
+ "title": "Deleting Manual Backups"
1053
+ }
1054
+ ],
1055
+ "RenewPostpaidDBInstance": [
1056
+ {
1057
+ "document": " ",
1058
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=RenewPostpaidDBInstance\n&InstanceId=mssql-ms2m7vut\n&<Common request parameters>",
1059
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d84adfca-3ff0-46d2-b400-b5527446df72\"\n }\n}",
1060
+ "title": "Recovering Postpaid Instances"
1061
+ }
1062
+ ],
627
1063
  "ResetAccountPassword": [
628
1064
  {
629
1065
  "document": " ",
@@ -688,6 +1124,14 @@
688
1124
  "title": "StartInstanceXEvent"
689
1125
  }
690
1126
  ],
1127
+ "SwitchCloudInstanceHA": [
1128
+ {
1129
+ "document": "",
1130
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwitchCloudInstanceHA\n<Common request parameters>\n\n{\n \"InstanceId\": \"mssql-987qhaha\",\n \"WaitSwitch\": 0\n}",
1131
+ "output": "{\n \"Response\": {\n \"RequestId\": \"863b2797-858b-49f3-88e9-50159e564cbc\",\n \"FlowId\": 109181\n }\n}",
1132
+ "title": "Manual Primary-Secondary Switch"
1133
+ }
1134
+ ],
691
1135
  "TerminateDBInstance": [
692
1136
  {
693
1137
  "document": " ",