tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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 (284) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/advisor/v20200721/models.py +0 -26
  3. tencentcloud/ams/v20201229/ams_client.py +17 -6
  4. tencentcloud/ams/v20201229/models.py +8 -6
  5. tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
  6. tencentcloud/antiddos/v20200309/models.py +44 -837
  7. tencentcloud/apm/v20210622/models.py +60 -60
  8. tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
  9. tencentcloud/autoscaling/v20180419/models.py +352 -210
  10. tencentcloud/batch/v20170312/batch_client.py +0 -46
  11. tencentcloud/batch/v20170312/errorcodes.py +0 -9
  12. tencentcloud/batch/v20170312/models.py +44 -1179
  13. tencentcloud/bh/v20230418/bh_client.py +253 -0
  14. tencentcloud/bh/v20230418/errorcodes.py +15 -0
  15. tencentcloud/bh/v20230418/models.py +3489 -1335
  16. tencentcloud/bi/v20220105/models.py +242 -2
  17. tencentcloud/billing/v20180709/billing_client.py +0 -23
  18. tencentcloud/billing/v20180709/models.py +34 -926
  19. tencentcloud/bpaas/v20181217/models.py +0 -54
  20. tencentcloud/cam/v20190116/errorcodes.py +3 -0
  21. tencentcloud/cam/v20190116/models.py +2 -86
  22. tencentcloud/captcha/v20190722/models.py +21 -54
  23. tencentcloud/cat/v20180409/cat_client.py +23 -0
  24. tencentcloud/cat/v20180409/models.py +509 -0
  25. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  26. tencentcloud/cbs/v20170312/models.py +75 -96
  27. tencentcloud/ccc/v20200210/ccc_client.py +184 -0
  28. tencentcloud/ccc/v20200210/errorcodes.py +12 -0
  29. tencentcloud/ccc/v20200210/models.py +2552 -1026
  30. tencentcloud/cdb/v20170320/cdb_client.py +27 -4
  31. tencentcloud/cdb/v20170320/models.py +180 -20
  32. tencentcloud/cdc/v20201214/cdc_client.py +46 -0
  33. tencentcloud/cdc/v20201214/errorcodes.py +18 -0
  34. tencentcloud/cdc/v20201214/models.py +202 -86
  35. tencentcloud/cdn/v20180606/cdn_client.py +70 -24
  36. tencentcloud/cdn/v20180606/models.py +19 -50
  37. tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
  38. tencentcloud/cdwch/v20200915/models.py +242 -260
  39. tencentcloud/cdwdoris/v20211228/models.py +330 -0
  40. tencentcloud/cdwpg/v20201230/models.py +196 -516
  41. tencentcloud/cdz/v20221123/models.py +0 -12
  42. tencentcloud/cfg/v20210820/models.py +30 -198
  43. tencentcloud/cfs/v20190719/errorcodes.py +3 -0
  44. tencentcloud/cfs/v20190719/models.py +15 -0
  45. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  46. tencentcloud/cfw/v20190904/models.py +331 -4
  47. tencentcloud/chc/__init__.py +0 -0
  48. tencentcloud/chc/v20230418/__init__.py +0 -0
  49. tencentcloud/chc/v20230418/chc_client.py +877 -0
  50. tencentcloud/chc/v20230418/errorcodes.py +15 -0
  51. tencentcloud/chc/v20230418/models.py +10146 -0
  52. tencentcloud/chdfs/v20201112/models.py +2 -2
  53. tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
  54. tencentcloud/ckafka/v20190819/models.py +371 -1230
  55. tencentcloud/clb/v20180317/clb_client.py +3 -3
  56. tencentcloud/clb/v20180317/models.py +395 -406
  57. tencentcloud/cls/v20201016/cls_client.py +41 -18
  58. tencentcloud/cls/v20201016/models.py +256 -606
  59. tencentcloud/cme/v20191029/cme_client.py +0 -1
  60. tencentcloud/cme/v20191029/errorcodes.py +3 -0
  61. tencentcloud/cme/v20191029/models.py +10 -14
  62. tencentcloud/cmq/v20190304/models.py +0 -90
  63. tencentcloud/common/abstract_client.py +29 -24
  64. tencentcloud/common/abstract_model.py +5 -1
  65. tencentcloud/common/common_client.py +14 -15
  66. tencentcloud/common/credential.py +68 -65
  67. tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
  68. tencentcloud/common/profile/client_profile.py +32 -30
  69. tencentcloud/common/profile/http_profile.py +20 -12
  70. tencentcloud/common/retry.py +18 -0
  71. tencentcloud/controlcenter/v20230110/models.py +0 -58
  72. tencentcloud/cvm/v20170312/cvm_client.py +42 -10
  73. tencentcloud/cvm/v20170312/errorcodes.py +25 -1
  74. tencentcloud/cvm/v20170312/models.py +835 -290
  75. tencentcloud/cwp/v20180228/cwp_client.py +1 -1
  76. tencentcloud/cwp/v20180228/models.py +362 -58
  77. tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
  78. tencentcloud/cynosdb/v20190107/models.py +451 -824
  79. tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
  80. tencentcloud/dbbrain/v20191016/models.py +605 -52
  81. tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
  82. tencentcloud/dbbrain/v20210527/models.py +6071 -2974
  83. tencentcloud/dbdc/v20201029/models.py +0 -16
  84. tencentcloud/dc/v20180410/models.py +25 -12
  85. tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
  86. tencentcloud/dcdb/v20180411/models.py +175 -114
  87. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  88. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  89. tencentcloud/dlc/v20210125/models.py +1217 -592
  90. tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
  91. tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
  92. tencentcloud/dnspod/v20210323/models.py +718 -110
  93. tencentcloud/domain/v20180808/domain_client.py +4 -2
  94. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  95. tencentcloud/domain/v20180808/models.py +628 -324
  96. tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
  97. tencentcloud/dsgc/v20190723/models.py +53 -34
  98. tencentcloud/dts/v20180330/models.py +0 -10
  99. tencentcloud/dts/v20211206/models.py +118 -585
  100. tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
  101. tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
  102. tencentcloud/ecdn/v20191012/models.py +4 -1047
  103. tencentcloud/emr/v20190103/emr_client.py +47 -1
  104. tencentcloud/emr/v20190103/models.py +1174 -146
  105. tencentcloud/es/v20180416/errorcodes.py +3 -0
  106. tencentcloud/es/v20180416/models.py +74 -6
  107. tencentcloud/es/v20250101/__init__.py +0 -0
  108. tencentcloud/es/v20250101/errorcodes.py +45 -0
  109. tencentcloud/es/v20250101/es_client.py +251 -0
  110. tencentcloud/es/v20250101/models.py +2519 -0
  111. tencentcloud/ess/v20201111/ess_client.py +43 -5
  112. tencentcloud/ess/v20201111/models.py +854 -60
  113. tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
  114. tencentcloud/essbasic/v20210526/models.py +726 -43
  115. tencentcloud/facefusion/v20220927/models.py +4 -2
  116. tencentcloud/fmu/v20191213/errorcodes.py +3 -21
  117. tencentcloud/fmu/v20191213/fmu_client.py +0 -75
  118. tencentcloud/fmu/v20191213/models.py +4 -531
  119. tencentcloud/gaap/v20180529/gaap_client.py +1 -1
  120. tencentcloud/gaap/v20180529/models.py +2 -276
  121. tencentcloud/goosefs/v20220519/models.py +0 -2
  122. tencentcloud/gs/v20191118/errorcodes.py +36 -0
  123. tencentcloud/gs/v20191118/gs_client.py +1074 -12
  124. tencentcloud/gs/v20191118/models.py +6976 -492
  125. tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
  126. tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
  127. tencentcloud/gwlb/v20240906/models.py +94 -84
  128. tencentcloud/hai/v20230812/errorcodes.py +7 -1
  129. tencentcloud/hai/v20230812/hai_client.py +23 -0
  130. tencentcloud/hai/v20230812/models.py +111 -136
  131. tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
  132. tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
  133. tencentcloud/hunyuan/v20230901/models.py +1089 -119
  134. tencentcloud/ims/v20201229/models.py +25 -4
  135. tencentcloud/ioa/v20220601/ioa_client.py +92 -0
  136. tencentcloud/ioa/v20220601/models.py +1136 -225
  137. tencentcloud/iotcloud/v20210408/models.py +2 -4
  138. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  139. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
  140. tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
  141. tencentcloud/iotvideo/v20191126/models.py +0 -4
  142. tencentcloud/iotvideo/v20201215/models.py +17 -0
  143. tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
  144. tencentcloud/iotvideo/v20211125/models.py +476 -0
  145. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
  146. tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
  147. tencentcloud/iss/v20230517/errorcodes.py +9 -0
  148. tencentcloud/iss/v20230517/iss_client.py +161 -0
  149. tencentcloud/iss/v20230517/models.py +1716 -743
  150. tencentcloud/kms/v20190118/models.py +101 -0
  151. tencentcloud/lcic/v20220817/errorcodes.py +2 -2
  152. tencentcloud/lcic/v20220817/lcic_client.py +47 -1
  153. tencentcloud/lcic/v20220817/models.py +357 -72
  154. tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
  155. tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
  156. tencentcloud/lighthouse/v20200324/models.py +237 -259
  157. tencentcloud/live/v20180801/models.py +61 -46
  158. tencentcloud/lke/v20231130/errorcodes.py +3 -0
  159. tencentcloud/lke/v20231130/lke_client.py +8 -29
  160. tencentcloud/lke/v20231130/models.py +561 -115
  161. tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
  162. tencentcloud/lkeap/v20240522/models.py +290 -18
  163. tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
  164. tencentcloud/lowcode/v20210108/models.py +0 -2
  165. tencentcloud/mariadb/v20170312/models.py +155 -140
  166. tencentcloud/memcached/v20190318/models.py +2 -2
  167. tencentcloud/mmps/v20200710/models.py +0 -66
  168. tencentcloud/mna/v20210119/errorcodes.py +0 -36
  169. tencentcloud/mna/v20210119/mna_client.py +0 -75
  170. tencentcloud/mna/v20210119/models.py +0 -1002
  171. tencentcloud/mongodb/v20190725/models.py +115 -6
  172. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  173. tencentcloud/monitor/v20180724/errorcodes.py +3 -0
  174. tencentcloud/monitor/v20180724/models.py +1055 -74
  175. tencentcloud/monitor/v20180724/monitor_client.py +94 -2
  176. tencentcloud/mps/v20190612/errorcodes.py +36 -0
  177. tencentcloud/mps/v20190612/models.py +4866 -448
  178. tencentcloud/mps/v20190612/mps_client.py +208 -0
  179. tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
  180. tencentcloud/mqtt/v20240516/models.py +705 -372
  181. tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
  182. tencentcloud/oceanus/v20190422/models.py +14 -2
  183. tencentcloud/ocr/v20181119/errorcodes.py +0 -12
  184. tencentcloud/ocr/v20181119/models.py +311 -1042
  185. tencentcloud/ocr/v20181119/ocr_client.py +5 -102
  186. tencentcloud/organization/v20210331/errorcodes.py +3 -0
  187. tencentcloud/organization/v20210331/models.py +45 -82
  188. tencentcloud/partners/v20180321/models.py +169 -0
  189. tencentcloud/partners/v20180321/partners_client.py +23 -0
  190. tencentcloud/postgres/v20170312/models.py +36 -328
  191. tencentcloud/postgres/v20170312/postgres_client.py +15 -5
  192. tencentcloud/privatedns/v20201028/models.py +36 -28
  193. tencentcloud/rce/v20201103/models.py +0 -15
  194. tencentcloud/redis/v20180412/models.py +233 -18
  195. tencentcloud/redis/v20180412/redis_client.py +23 -0
  196. tencentcloud/rum/v20210622/models.py +0 -2
  197. tencentcloud/ses/v20201002/models.py +32 -4
  198. tencentcloud/smop/v20201203/smop_client.py +3 -1
  199. tencentcloud/soe/v20180724/models.py +4 -2
  200. tencentcloud/sqlserver/v20180328/models.py +75 -0
  201. tencentcloud/ssl/v20191205/models.py +7 -319
  202. tencentcloud/ssm/v20190923/models.py +45 -0
  203. tencentcloud/sts/v20180813/errorcodes.py +9 -0
  204. tencentcloud/sts/v20180813/models.py +171 -0
  205. tencentcloud/sts/v20180813/sts_client.py +23 -0
  206. tencentcloud/svp/v20240125/errorcodes.py +3 -0
  207. tencentcloud/svp/v20240125/models.py +506 -44
  208. tencentcloud/svp/v20240125/svp_client.py +23 -0
  209. tencentcloud/tan/v20220420/tan_client.py +3 -1
  210. tencentcloud/tat/v20201028/errorcodes.py +12 -0
  211. tencentcloud/tat/v20201028/models.py +138 -42
  212. tencentcloud/tbaas/v20180416/models.py +0 -58
  213. tencentcloud/tcb/v20180608/errorcodes.py +3 -0
  214. tencentcloud/tcb/v20180608/models.py +189 -582
  215. tencentcloud/tcb/v20180608/tcb_client.py +23 -23
  216. tencentcloud/tcbr/v20220217/models.py +45 -0
  217. tencentcloud/tchd/v20230306/models.py +166 -0
  218. tencentcloud/tchd/v20230306/tchd_client.py +24 -0
  219. tencentcloud/tcr/v20190924/models.py +44 -174
  220. tencentcloud/tcss/v20201101/models.py +1458 -2066
  221. tencentcloud/tcss/v20201101/tcss_client.py +92 -125
  222. tencentcloud/tdid/v20210519/models.py +0 -10
  223. tencentcloud/tdmq/v20200217/models.py +405 -575
  224. tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
  225. tencentcloud/tds/v20220801/models.py +441 -0
  226. tencentcloud/tds/v20220801/tds_client.py +23 -0
  227. tencentcloud/tem/v20210701/models.py +0 -498
  228. tencentcloud/teo/v20220106/teo_client.py +6 -2
  229. tencentcloud/teo/v20220901/errorcodes.py +9 -0
  230. tencentcloud/teo/v20220901/models.py +1828 -472
  231. tencentcloud/teo/v20220901/teo_client.py +54 -4
  232. tencentcloud/thpc/v20211109/models.py +0 -6
  233. tencentcloud/thpc/v20220401/models.py +0 -14
  234. tencentcloud/thpc/v20230321/models.py +64 -52
  235. tencentcloud/tione/v20211111/errorcodes.py +114 -0
  236. tencentcloud/tione/v20211111/models.py +2288 -160
  237. tencentcloud/tione/v20211111/tione_client.py +138 -0
  238. tencentcloud/tiw/v20190919/errorcodes.py +3 -24
  239. tencentcloud/tiw/v20190919/models.py +3657 -8172
  240. tencentcloud/tiw/v20190919/tiw_client.py +1 -580
  241. tencentcloud/tke/v20180525/models.py +705 -721
  242. tencentcloud/tke/v20180525/tke_client.py +23 -0
  243. tencentcloud/tke/v20220501/models.py +0 -34
  244. tencentcloud/trocket/v20230308/models.py +1630 -160
  245. tencentcloud/trocket/v20230308/trocket_client.py +238 -0
  246. tencentcloud/trro/v20220325/models.py +1132 -44
  247. tencentcloud/trro/v20220325/trro_client.py +142 -0
  248. tencentcloud/trtc/v20190722/models.py +94 -90
  249. tencentcloud/trtc/v20190722/trtc_client.py +4 -0
  250. tencentcloud/tse/v20201207/models.py +90 -1010
  251. tencentcloud/tsf/v20180326/errorcodes.py +6 -0
  252. tencentcloud/tsf/v20180326/models.py +350 -582
  253. tencentcloud/tsf/v20180326/tsf_client.py +26 -1
  254. tencentcloud/tts/v20190823/models.py +15 -15
  255. tencentcloud/tts/v20190823/tts_client.py +6 -5
  256. tencentcloud/vclm/v20240523/models.py +2 -2
  257. tencentcloud/vcube/v20220410/models.py +66 -158
  258. tencentcloud/vcube/v20220410/vcube_client.py +2 -2
  259. tencentcloud/vdb/v20230616/models.py +1487 -29
  260. tencentcloud/vdb/v20230616/vdb_client.py +185 -1
  261. tencentcloud/vm/v20210922/models.py +2 -2
  262. tencentcloud/vm/v20210922/vm_client.py +16 -8
  263. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  264. tencentcloud/vod/v20180717/models.py +106 -417
  265. tencentcloud/vod/v20180717/vod_client.py +2 -1
  266. tencentcloud/vod/v20240718/errorcodes.py +33 -0
  267. tencentcloud/vod/v20240718/models.py +1839 -0
  268. tencentcloud/vod/v20240718/vod_client.py +146 -0
  269. tencentcloud/vpc/v20170312/errorcodes.py +12 -0
  270. tencentcloud/vpc/v20170312/models.py +2052 -519
  271. tencentcloud/vpc/v20170312/vpc_client.py +229 -11
  272. tencentcloud/vrs/v20200824/models.py +49 -0
  273. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  274. tencentcloud/waf/v20180125/models.py +4191 -0
  275. tencentcloud/waf/v20180125/waf_client.py +276 -0
  276. tencentcloud/wedata/v20210820/models.py +5404 -394
  277. tencentcloud/wedata/v20210820/wedata_client.py +161 -0
  278. tencentcloud/weilingwith/v20230427/models.py +0 -964
  279. tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
  280. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
  281. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
  282. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
  283. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
  284. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -810,10 +810,8 @@ class ConstraintRange(AbstractModel):
810
810
  def __init__(self):
811
811
  r"""
812
812
  :param _Min: 约束类型为section时的最小值
813
- 注意:此字段可能返回 null,表示取不到有效值。
814
813
  :type Min: str
815
814
  :param _Max: 约束类型为section时的最大值
816
- 注意:此字段可能返回 null,表示取不到有效值。
817
815
  :type Max: str
818
816
  """
819
817
  self._Min = None
@@ -822,7 +820,6 @@ class ConstraintRange(AbstractModel):
822
820
  @property
823
821
  def Min(self):
824
822
  """约束类型为section时的最小值
825
- 注意:此字段可能返回 null,表示取不到有效值。
826
823
  :rtype: str
827
824
  """
828
825
  return self._Min
@@ -834,7 +831,6 @@ class ConstraintRange(AbstractModel):
834
831
  @property
835
832
  def Max(self):
836
833
  """约束类型为section时的最大值
837
- 注意:此字段可能返回 null,表示取不到有效值。
838
834
  :rtype: str
839
835
  """
840
836
  return self._Max
@@ -1302,7 +1298,7 @@ class CreateDBInstanceRequest(AbstractModel):
1302
1298
  :type SubnetId: str
1303
1299
  :param _ProjectId: 项目 ID,可以通过查看项目列表获取,不传则关联到默认项目
1304
1300
  :type ProjectId: int
1305
- :param _DbVersionId: 数据库引擎版本,当前可选:8.0,5.7,10.1,10.0
1301
+ :param _DbVersionId: 数据库引擎版本,当前可选:8.0,5.7,10.1。
1306
1302
  :type DbVersionId: str
1307
1303
  :param _InstanceName: 实例名称, 可以通过该字段自主的设置实例的名字
1308
1304
  :type InstanceName: str
@@ -1322,6 +1318,8 @@ class CreateDBInstanceRequest(AbstractModel):
1322
1318
  :type DcnInstanceId: str
1323
1319
  :param _DcnSyncMode: DCN同步模式,0:异步, 1:强同步
1324
1320
  :type DcnSyncMode: int
1321
+ :param _CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
1322
+ :type CpuType: str
1325
1323
  """
1326
1324
  self._Zones = None
1327
1325
  self._NodeCount = None
@@ -1344,6 +1342,7 @@ class CreateDBInstanceRequest(AbstractModel):
1344
1342
  self._DcnRegion = None
1345
1343
  self._DcnInstanceId = None
1346
1344
  self._DcnSyncMode = None
1345
+ self._CpuType = None
1347
1346
 
1348
1347
  @property
1349
1348
  def Zones(self):
@@ -1471,7 +1470,7 @@ class CreateDBInstanceRequest(AbstractModel):
1471
1470
 
1472
1471
  @property
1473
1472
  def DbVersionId(self):
1474
- """数据库引擎版本,当前可选:8.0,5.7,10.1,10.0
1473
+ """数据库引擎版本,当前可选:8.0,5.7,10.1。
1475
1474
  :rtype: str
1476
1475
  """
1477
1476
  return self._DbVersionId
@@ -1579,6 +1578,17 @@ class CreateDBInstanceRequest(AbstractModel):
1579
1578
  def DcnSyncMode(self, DcnSyncMode):
1580
1579
  self._DcnSyncMode = DcnSyncMode
1581
1580
 
1581
+ @property
1582
+ def CpuType(self):
1583
+ """cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
1584
+ :rtype: str
1585
+ """
1586
+ return self._CpuType
1587
+
1588
+ @CpuType.setter
1589
+ def CpuType(self, CpuType):
1590
+ self._CpuType = CpuType
1591
+
1582
1592
 
1583
1593
  def _deserialize(self, params):
1584
1594
  self._Zones = params.get("Zones")
@@ -1612,6 +1622,7 @@ class CreateDBInstanceRequest(AbstractModel):
1612
1622
  self._DcnRegion = params.get("DcnRegion")
1613
1623
  self._DcnInstanceId = params.get("DcnInstanceId")
1614
1624
  self._DcnSyncMode = params.get("DcnSyncMode")
1625
+ self._CpuType = params.get("CpuType")
1615
1626
  memeber_set = set(params.keys())
1616
1627
  for name, value in vars(self).items():
1617
1628
  property_name = name[1:]
@@ -1633,7 +1644,6 @@ class CreateDBInstanceResponse(AbstractModel):
1633
1644
  查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
1634
1645
  :type DealName: str
1635
1646
  :param _InstanceIds: 订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。
1636
- 注意:此字段可能返回 null,表示取不到有效值。
1637
1647
  :type InstanceIds: list of str
1638
1648
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1639
1649
  :type RequestId: str
@@ -1657,7 +1667,6 @@ class CreateDBInstanceResponse(AbstractModel):
1657
1667
  @property
1658
1668
  def InstanceIds(self):
1659
1669
  """订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。
1660
- 注意:此字段可能返回 null,表示取不到有效值。
1661
1670
  :rtype: list of str
1662
1671
  """
1663
1672
  return self._InstanceIds
@@ -2186,7 +2195,7 @@ class CreateHourDBInstanceRequest(AbstractModel):
2186
2195
  :type VpcId: str
2187
2196
  :param _SubnetId: 统一子网ID,VpcId有值时需填写
2188
2197
  :type SubnetId: str
2189
- :param _DbVersionId: 数据库引擎版本,当前可选:8.0,5.7,10.1,10.0
2198
+ :param _DbVersionId: 数据库引擎版本,当前可选:8.0,5.7,10.1。
2190
2199
  :type DbVersionId: str
2191
2200
  :param _InstanceName: 自定义实例名称
2192
2201
  :type InstanceName: str
@@ -2210,6 +2219,8 @@ innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0
2210
2219
  :type RollbackTime: str
2211
2220
  :param _DcnSyncMode: DCN同步模式,0:异步, 1:强同步
2212
2221
  :type DcnSyncMode: int
2222
+ :param _CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
2223
+ :type CpuType: str
2213
2224
  """
2214
2225
  self._Zones = None
2215
2226
  self._NodeCount = None
@@ -2230,6 +2241,7 @@ innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0
2230
2241
  self._RollbackInstanceId = None
2231
2242
  self._RollbackTime = None
2232
2243
  self._DcnSyncMode = None
2244
+ self._CpuType = None
2233
2245
 
2234
2246
  @property
2235
2247
  def Zones(self):
@@ -2321,7 +2333,7 @@ innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0
2321
2333
 
2322
2334
  @property
2323
2335
  def DbVersionId(self):
2324
- """数据库引擎版本,当前可选:8.0,5.7,10.1,10.0
2336
+ """数据库引擎版本,当前可选:8.0,5.7,10.1。
2325
2337
  :rtype: str
2326
2338
  """
2327
2339
  return self._DbVersionId
@@ -2442,6 +2454,17 @@ innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0
2442
2454
  def DcnSyncMode(self, DcnSyncMode):
2443
2455
  self._DcnSyncMode = DcnSyncMode
2444
2456
 
2457
+ @property
2458
+ def CpuType(self):
2459
+ """cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
2460
+ :rtype: str
2461
+ """
2462
+ return self._CpuType
2463
+
2464
+ @CpuType.setter
2465
+ def CpuType(self, CpuType):
2466
+ self._CpuType = CpuType
2467
+
2445
2468
 
2446
2469
  def _deserialize(self, params):
2447
2470
  self._Zones = params.get("Zones")
@@ -2473,6 +2496,7 @@ innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0
2473
2496
  self._RollbackInstanceId = params.get("RollbackInstanceId")
2474
2497
  self._RollbackTime = params.get("RollbackTime")
2475
2498
  self._DcnSyncMode = params.get("DcnSyncMode")
2499
+ self._CpuType = params.get("CpuType")
2476
2500
  memeber_set = set(params.keys())
2477
2501
  for name, value in vars(self).items():
2478
2502
  property_name = name[1:]
@@ -2494,10 +2518,8 @@ class CreateHourDBInstanceResponse(AbstractModel):
2494
2518
  查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
2495
2519
  :type DealName: str
2496
2520
  :param _InstanceIds: 订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。
2497
- 注意:此字段可能返回 null,表示取不到有效值。
2498
2521
  :type InstanceIds: list of str
2499
2522
  :param _FlowId: 异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)。
2500
- 注意:此字段可能返回 null,表示取不到有效值。
2501
2523
  :type FlowId: int
2502
2524
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2503
2525
  :type RequestId: str
@@ -2522,7 +2544,6 @@ class CreateHourDBInstanceResponse(AbstractModel):
2522
2544
  @property
2523
2545
  def InstanceIds(self):
2524
2546
  """订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。
2525
- 注意:此字段可能返回 null,表示取不到有效值。
2526
2547
  :rtype: list of str
2527
2548
  """
2528
2549
  return self._InstanceIds
@@ -2534,7 +2555,6 @@ class CreateHourDBInstanceResponse(AbstractModel):
2534
2555
  @property
2535
2556
  def FlowId(self):
2536
2557
  """异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)。
2537
- 注意:此字段可能返回 null,表示取不到有效值。
2538
2558
  :rtype: int
2539
2559
  """
2540
2560
  return self._FlowId
@@ -2676,7 +2696,6 @@ class DBAccount(AbstractModel):
2676
2696
  :param _ReadOnly: 只读标记,0:否, 1:该账号的sql请求优先选择备机执行,备机不可用时选择主机执行,2:优先选择备机执行,备机不可用时操作失败。
2677
2697
  :type ReadOnly: int
2678
2698
  :param _DelayThresh: 该字段对只读账号有意义,表示选择主备延迟小于该值的备机
2679
- 注意:此字段可能返回 null,表示取不到有效值。
2680
2699
  :type DelayThresh: int
2681
2700
  :param _SlaveConst: 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
2682
2701
  :type SlaveConst: int
@@ -2762,7 +2781,6 @@ class DBAccount(AbstractModel):
2762
2781
  @property
2763
2782
  def DelayThresh(self):
2764
2783
  """该字段对只读账号有意义,表示选择主备延迟小于该值的备机
2765
- 注意:此字段可能返回 null,表示取不到有效值。
2766
2784
  :rtype: int
2767
2785
  """
2768
2786
  return self._DelayThresh
@@ -2950,13 +2968,10 @@ class DBInstance(AbstractModel):
2950
2968
  :param _Qps: 最大 Qps 值
2951
2969
  :type Qps: int
2952
2970
  :param _Paymode: 付费模式
2953
- 注意:此字段可能返回 null,表示取不到有效值。
2954
2971
  :type Paymode: str
2955
2972
  :param _Locker: 实例处于异步任务时的异步任务流程ID
2956
- 注意:此字段可能返回 null,表示取不到有效值。
2957
2973
  :type Locker: int
2958
2974
  :param _StatusDesc: 实例目前运行状态描述
2959
- 注意:此字段可能返回 null,表示取不到有效值。
2960
2975
  :type StatusDesc: str
2961
2976
  :param _WanStatus: 外网状态,0-未开通;1-已开通;2-关闭;3-开通中
2962
2977
  :type WanStatus: int
@@ -2969,43 +2984,30 @@ class DBInstance(AbstractModel):
2969
2984
  :param _Cpu: 实例CPU核数
2970
2985
  :type Cpu: int
2971
2986
  :param _Ipv6Flag: 实例IPv6标志
2972
- 注意:此字段可能返回 null,表示取不到有效值。
2973
2987
  :type Ipv6Flag: int
2974
2988
  :param _Vipv6: 内网IPv6
2975
- 注意:此字段可能返回 null,表示取不到有效值。
2976
2989
  :type Vipv6: str
2977
2990
  :param _WanVipv6: 外网IPv6
2978
- 注意:此字段可能返回 null,表示取不到有效值。
2979
2991
  :type WanVipv6: str
2980
2992
  :param _WanPortIpv6: 外网IPv6端口
2981
- 注意:此字段可能返回 null,表示取不到有效值。
2982
2993
  :type WanPortIpv6: int
2983
2994
  :param _WanStatusIpv6: 外网IPv6状态
2984
- 注意:此字段可能返回 null,表示取不到有效值。
2985
2995
  :type WanStatusIpv6: int
2986
2996
  :param _DbEngine: 数据库引擎
2987
- 注意:此字段可能返回 null,表示取不到有效值。
2988
2997
  :type DbEngine: str
2989
2998
  :param _DbVersion: 数据库版本
2990
- 注意:此字段可能返回 null,表示取不到有效值。
2991
2999
  :type DbVersion: str
2992
3000
  :param _DcnFlag: DCN标志,0-无,1-主实例,2-灾备实例
2993
- 注意:此字段可能返回 null,表示取不到有效值。
2994
3001
  :type DcnFlag: int
2995
3002
  :param _DcnStatus: DCN状态,0-无,1-创建中,2-同步中,3-已断开
2996
- 注意:此字段可能返回 null,表示取不到有效值。
2997
3003
  :type DcnStatus: int
2998
3004
  :param _DcnDstNum: DCN灾备实例数
2999
- 注意:此字段可能返回 null,表示取不到有效值。
3000
3005
  :type DcnDstNum: int
3001
3006
  :param _InstanceType: 1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
3002
- 注意:此字段可能返回 null,表示取不到有效值。
3003
3007
  :type InstanceType: int
3004
3008
  :param _ResourceTags: 实例标签信息
3005
- 注意:此字段可能返回 null,表示取不到有效值。
3006
3009
  :type ResourceTags: list of ResourceTag
3007
3010
  :param _DbVersionId: 数据库版本
3008
- 注意:此字段可能返回 null,表示取不到有效值。
3009
3011
  :type DbVersionId: str
3010
3012
  """
3011
3013
  self._InstanceId = None
@@ -3405,7 +3407,6 @@ class DBInstance(AbstractModel):
3405
3407
  @property
3406
3408
  def Paymode(self):
3407
3409
  """付费模式
3408
- 注意:此字段可能返回 null,表示取不到有效值。
3409
3410
  :rtype: str
3410
3411
  """
3411
3412
  return self._Paymode
@@ -3417,7 +3418,6 @@ class DBInstance(AbstractModel):
3417
3418
  @property
3418
3419
  def Locker(self):
3419
3420
  """实例处于异步任务时的异步任务流程ID
3420
- 注意:此字段可能返回 null,表示取不到有效值。
3421
3421
  :rtype: int
3422
3422
  """
3423
3423
  return self._Locker
@@ -3429,7 +3429,6 @@ class DBInstance(AbstractModel):
3429
3429
  @property
3430
3430
  def StatusDesc(self):
3431
3431
  """实例目前运行状态描述
3432
- 注意:此字段可能返回 null,表示取不到有效值。
3433
3432
  :rtype: str
3434
3433
  """
3435
3434
  return self._StatusDesc
@@ -3496,7 +3495,6 @@ class DBInstance(AbstractModel):
3496
3495
  @property
3497
3496
  def Ipv6Flag(self):
3498
3497
  """实例IPv6标志
3499
- 注意:此字段可能返回 null,表示取不到有效值。
3500
3498
  :rtype: int
3501
3499
  """
3502
3500
  return self._Ipv6Flag
@@ -3508,7 +3506,6 @@ class DBInstance(AbstractModel):
3508
3506
  @property
3509
3507
  def Vipv6(self):
3510
3508
  """内网IPv6
3511
- 注意:此字段可能返回 null,表示取不到有效值。
3512
3509
  :rtype: str
3513
3510
  """
3514
3511
  return self._Vipv6
@@ -3520,7 +3517,6 @@ class DBInstance(AbstractModel):
3520
3517
  @property
3521
3518
  def WanVipv6(self):
3522
3519
  """外网IPv6
3523
- 注意:此字段可能返回 null,表示取不到有效值。
3524
3520
  :rtype: str
3525
3521
  """
3526
3522
  return self._WanVipv6
@@ -3532,7 +3528,6 @@ class DBInstance(AbstractModel):
3532
3528
  @property
3533
3529
  def WanPortIpv6(self):
3534
3530
  """外网IPv6端口
3535
- 注意:此字段可能返回 null,表示取不到有效值。
3536
3531
  :rtype: int
3537
3532
  """
3538
3533
  return self._WanPortIpv6
@@ -3544,7 +3539,6 @@ class DBInstance(AbstractModel):
3544
3539
  @property
3545
3540
  def WanStatusIpv6(self):
3546
3541
  """外网IPv6状态
3547
- 注意:此字段可能返回 null,表示取不到有效值。
3548
3542
  :rtype: int
3549
3543
  """
3550
3544
  return self._WanStatusIpv6
@@ -3556,7 +3550,6 @@ class DBInstance(AbstractModel):
3556
3550
  @property
3557
3551
  def DbEngine(self):
3558
3552
  """数据库引擎
3559
- 注意:此字段可能返回 null,表示取不到有效值。
3560
3553
  :rtype: str
3561
3554
  """
3562
3555
  return self._DbEngine
@@ -3568,7 +3561,6 @@ class DBInstance(AbstractModel):
3568
3561
  @property
3569
3562
  def DbVersion(self):
3570
3563
  """数据库版本
3571
- 注意:此字段可能返回 null,表示取不到有效值。
3572
3564
  :rtype: str
3573
3565
  """
3574
3566
  return self._DbVersion
@@ -3580,7 +3572,6 @@ class DBInstance(AbstractModel):
3580
3572
  @property
3581
3573
  def DcnFlag(self):
3582
3574
  """DCN标志,0-无,1-主实例,2-灾备实例
3583
- 注意:此字段可能返回 null,表示取不到有效值。
3584
3575
  :rtype: int
3585
3576
  """
3586
3577
  return self._DcnFlag
@@ -3592,7 +3583,6 @@ class DBInstance(AbstractModel):
3592
3583
  @property
3593
3584
  def DcnStatus(self):
3594
3585
  """DCN状态,0-无,1-创建中,2-同步中,3-已断开
3595
- 注意:此字段可能返回 null,表示取不到有效值。
3596
3586
  :rtype: int
3597
3587
  """
3598
3588
  return self._DcnStatus
@@ -3604,7 +3594,6 @@ class DBInstance(AbstractModel):
3604
3594
  @property
3605
3595
  def DcnDstNum(self):
3606
3596
  """DCN灾备实例数
3607
- 注意:此字段可能返回 null,表示取不到有效值。
3608
3597
  :rtype: int
3609
3598
  """
3610
3599
  return self._DcnDstNum
@@ -3616,7 +3605,6 @@ class DBInstance(AbstractModel):
3616
3605
  @property
3617
3606
  def InstanceType(self):
3618
3607
  """1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
3619
- 注意:此字段可能返回 null,表示取不到有效值。
3620
3608
  :rtype: int
3621
3609
  """
3622
3610
  return self._InstanceType
@@ -3628,7 +3616,6 @@ class DBInstance(AbstractModel):
3628
3616
  @property
3629
3617
  def ResourceTags(self):
3630
3618
  """实例标签信息
3631
- 注意:此字段可能返回 null,表示取不到有效值。
3632
3619
  :rtype: list of ResourceTag
3633
3620
  """
3634
3621
  return self._ResourceTags
@@ -3640,7 +3627,6 @@ class DBInstance(AbstractModel):
3640
3627
  @property
3641
3628
  def DbVersionId(self):
3642
3629
  """数据库版本
3643
- 注意:此字段可能返回 null,表示取不到有效值。
3644
3630
  :rtype: str
3645
3631
  """
3646
3632
  return self._DbVersionId
@@ -3777,16 +3763,12 @@ class DCNReplicaConfig(AbstractModel):
3777
3763
  def __init__(self):
3778
3764
  r"""
3779
3765
  :param _RoReplicationMode: DCN 运行状态,START为正常运行,STOP为暂停
3780
- 注意:此字段可能返回 null,表示取不到有效值。
3781
3766
  :type RoReplicationMode: str
3782
3767
  :param _DelayReplicationType: 延迟复制的类型,DEFAULT为正常,DUE_TIME为指定时间
3783
- 注意:此字段可能返回 null,表示取不到有效值。
3784
3768
  :type DelayReplicationType: str
3785
3769
  :param _DueTime: 延迟复制的指定时间
3786
- 注意:此字段可能返回 null,表示取不到有效值。
3787
3770
  :type DueTime: str
3788
3771
  :param _ReplicationDelay: 延迟复制时的延迟秒数
3789
- 注意:此字段可能返回 null,表示取不到有效值。
3790
3772
  :type ReplicationDelay: int
3791
3773
  """
3792
3774
  self._RoReplicationMode = None
@@ -3797,7 +3779,6 @@ class DCNReplicaConfig(AbstractModel):
3797
3779
  @property
3798
3780
  def RoReplicationMode(self):
3799
3781
  """DCN 运行状态,START为正常运行,STOP为暂停
3800
- 注意:此字段可能返回 null,表示取不到有效值。
3801
3782
  :rtype: str
3802
3783
  """
3803
3784
  return self._RoReplicationMode
@@ -3809,7 +3790,6 @@ class DCNReplicaConfig(AbstractModel):
3809
3790
  @property
3810
3791
  def DelayReplicationType(self):
3811
3792
  """延迟复制的类型,DEFAULT为正常,DUE_TIME为指定时间
3812
- 注意:此字段可能返回 null,表示取不到有效值。
3813
3793
  :rtype: str
3814
3794
  """
3815
3795
  return self._DelayReplicationType
@@ -3821,7 +3801,6 @@ class DCNReplicaConfig(AbstractModel):
3821
3801
  @property
3822
3802
  def DueTime(self):
3823
3803
  """延迟复制的指定时间
3824
- 注意:此字段可能返回 null,表示取不到有效值。
3825
3804
  :rtype: str
3826
3805
  """
3827
3806
  return self._DueTime
@@ -3833,7 +3812,6 @@ class DCNReplicaConfig(AbstractModel):
3833
3812
  @property
3834
3813
  def ReplicationDelay(self):
3835
3814
  """延迟复制时的延迟秒数
3836
- 注意:此字段可能返回 null,表示取不到有效值。
3837
3815
  :rtype: int
3838
3816
  """
3839
3817
  return self._ReplicationDelay
@@ -3866,7 +3844,6 @@ class DCNReplicaStatus(AbstractModel):
3866
3844
  def __init__(self):
3867
3845
  r"""
3868
3846
  :param _Status: DCN 的运行状态,START为正常运行,STOP为暂停,
3869
- 注意:此字段可能返回 null,表示取不到有效值。
3870
3847
  :type Status: str
3871
3848
  :param _Delay: 当前延迟情况,取备实例的 master 节点的 delay 值
3872
3849
  :type Delay: int
@@ -3877,7 +3854,6 @@ class DCNReplicaStatus(AbstractModel):
3877
3854
  @property
3878
3855
  def Status(self):
3879
3856
  """DCN 的运行状态,START为正常运行,STOP为暂停,
3880
- 注意:此字段可能返回 null,表示取不到有效值。
3881
3857
  :rtype: str
3882
3858
  """
3883
3859
  return self._Status
@@ -5580,7 +5556,6 @@ class DescribeBackupTimeResponse(AbstractModel):
5580
5556
  :param _TotalCount: 返回的配置数量
5581
5557
  :type TotalCount: int
5582
5558
  :param _Items: 实例备份时间配置信息
5583
- 注意:此字段可能返回 null,表示取不到有效值。
5584
5559
  :type Items: list of DBBackupTimeConfig
5585
5560
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5586
5561
  :type RequestId: str
@@ -5603,7 +5578,6 @@ class DescribeBackupTimeResponse(AbstractModel):
5603
5578
  @property
5604
5579
  def Items(self):
5605
5580
  """实例备份时间配置信息
5606
- 注意:此字段可能返回 null,表示取不到有效值。
5607
5581
  :rtype: list of DBBackupTimeConfig
5608
5582
  """
5609
5583
  return self._Items
@@ -5946,7 +5920,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
5946
5920
  :param _IsEncryptSupported: 是否支持数据加密。1-支持;0-不支持
5947
5921
  :type IsEncryptSupported: int
5948
5922
  :param _Vip6: 内网IPv6
5949
- 注意:此字段可能返回 null,表示取不到有效值。
5950
5923
  :type Vip6: str
5951
5924
  :param _Cpu: 实例Cpu核数
5952
5925
  :type Cpu: int
@@ -5955,48 +5928,34 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
5955
5928
  :param _Qps: 最大QPS
5956
5929
  :type Qps: int
5957
5930
  :param _Ipv6Flag: 是否支持IPv6
5958
- 注意:此字段可能返回 null,表示取不到有效值。
5959
5931
  :type Ipv6Flag: int
5960
5932
  :param _WanVipv6: 外网IPv6地址,公网可访问
5961
- 注意:此字段可能返回 null,表示取不到有效值。
5962
5933
  :type WanVipv6: str
5963
5934
  :param _WanStatusIpv6: 外网状态,0-未开通;1-已开通;2-关闭;3-开通中;4-关闭中
5964
- 注意:此字段可能返回 null,表示取不到有效值。
5965
5935
  :type WanStatusIpv6: int
5966
5936
  :param _WanPortIpv6: 外网IPv6端口
5967
- 注意:此字段可能返回 null,表示取不到有效值。
5968
5937
  :type WanPortIpv6: int
5969
5938
  :param _DbEngine: 数据库引擎
5970
- 注意:此字段可能返回 null,表示取不到有效值。
5971
5939
  :type DbEngine: str
5972
5940
  :param _DbVersion: 数据库版本
5973
- 注意:此字段可能返回 null,表示取不到有效值。
5974
5941
  :type DbVersion: str
5975
5942
  :param _ResourceTags: 标签信息
5976
5943
  :type ResourceTags: list of ResourceTag
5977
5944
  :param _DcnFlag: DCN标志,0-无,1-主实例,2-灾备实例
5978
- 注意:此字段可能返回 null,表示取不到有效值。
5979
5945
  :type DcnFlag: int
5980
5946
  :param _DcnStatus: DCN状态,0-无,1-创建中,2-同步中,3-已断开
5981
- 注意:此字段可能返回 null,表示取不到有效值。
5982
5947
  :type DcnStatus: int
5983
5948
  :param _DcnDstNum: DCN灾备实例数
5984
- 注意:此字段可能返回 null,表示取不到有效值。
5985
5949
  :type DcnDstNum: int
5986
5950
  :param _InstanceType: 1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
5987
- 注意:此字段可能返回 null,表示取不到有效值。
5988
5951
  :type InstanceType: int
5989
5952
  :param _NodesInfo: 实例的各个DB节点信息
5990
- 注意:此字段可能返回 null,表示取不到有效值。
5991
5953
  :type NodesInfo: list of NodeInfo
5992
5954
  :param _IsMaxUserConnectionsSupported: 实例是否支持设置用户连接数限制,内核为10.1暂不支持。
5993
- 注意:此字段可能返回 null,表示取不到有效值。
5994
5955
  :type IsMaxUserConnectionsSupported: bool
5995
5956
  :param _DbVersionId: 对外显示的数据库版本
5996
- 注意:此字段可能返回 null,表示取不到有效值。
5997
5957
  :type DbVersionId: str
5998
5958
  :param _EncryptStatus: 加密状态, 0-未开启,1-已开启
5999
- 注意:此字段可能返回 null,表示取不到有效值。
6000
5959
  :type EncryptStatus: int
6001
5960
  :param _ReplicaConfig: DCN的配置信息
6002
5961
  注意:此字段可能返回 null,表示取不到有效值。
@@ -6005,10 +5964,8 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6005
5964
  注意:此字段可能返回 null,表示取不到有效值。
6006
5965
  :type ReplicaStatus: :class:`tencentcloud.mariadb.v20170312.models.DCNReplicaStatus`
6007
5966
  :param _ExclusterType: 独享集群类型,0:公有云, 1:金融围笼, 2:CDC集群
6008
- 注意:此字段可能返回 null,表示取不到有效值。
6009
5967
  :type ExclusterType: int
6010
5968
  :param _RsAccessStrategy: VPC就近访问
6011
- 注意:此字段可能返回 null,表示取不到有效值。
6012
5969
  :type RsAccessStrategy: int
6013
5970
  :param _ReservedNetResources: 尚未回收的网络资源
6014
5971
  :type ReservedNetResources: list of ReservedNetResource
@@ -6020,6 +5977,8 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6020
5977
  :type IsDcnSwitchSupported: int
6021
5978
  :param _ProxyVersion: proxy版本号
6022
5979
  :type ProxyVersion: str
5980
+ :param _CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
5981
+ :type CpuType: str
6023
5982
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6024
5983
  :type RequestId: str
6025
5984
  """
@@ -6083,6 +6042,7 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6083
6042
  self._IsDcnStrongSyncSupported = None
6084
6043
  self._IsDcnSwitchSupported = None
6085
6044
  self._ProxyVersion = None
6045
+ self._CpuType = None
6086
6046
  self._RequestId = None
6087
6047
 
6088
6048
  @property
@@ -6440,7 +6400,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6440
6400
  @property
6441
6401
  def Vip6(self):
6442
6402
  """内网IPv6
6443
- 注意:此字段可能返回 null,表示取不到有效值。
6444
6403
  :rtype: str
6445
6404
  """
6446
6405
  return self._Vip6
@@ -6485,7 +6444,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6485
6444
  @property
6486
6445
  def Ipv6Flag(self):
6487
6446
  """是否支持IPv6
6488
- 注意:此字段可能返回 null,表示取不到有效值。
6489
6447
  :rtype: int
6490
6448
  """
6491
6449
  return self._Ipv6Flag
@@ -6497,7 +6455,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6497
6455
  @property
6498
6456
  def WanVipv6(self):
6499
6457
  """外网IPv6地址,公网可访问
6500
- 注意:此字段可能返回 null,表示取不到有效值。
6501
6458
  :rtype: str
6502
6459
  """
6503
6460
  return self._WanVipv6
@@ -6509,7 +6466,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6509
6466
  @property
6510
6467
  def WanStatusIpv6(self):
6511
6468
  """外网状态,0-未开通;1-已开通;2-关闭;3-开通中;4-关闭中
6512
- 注意:此字段可能返回 null,表示取不到有效值。
6513
6469
  :rtype: int
6514
6470
  """
6515
6471
  return self._WanStatusIpv6
@@ -6521,7 +6477,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6521
6477
  @property
6522
6478
  def WanPortIpv6(self):
6523
6479
  """外网IPv6端口
6524
- 注意:此字段可能返回 null,表示取不到有效值。
6525
6480
  :rtype: int
6526
6481
  """
6527
6482
  return self._WanPortIpv6
@@ -6533,7 +6488,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6533
6488
  @property
6534
6489
  def DbEngine(self):
6535
6490
  """数据库引擎
6536
- 注意:此字段可能返回 null,表示取不到有效值。
6537
6491
  :rtype: str
6538
6492
  """
6539
6493
  return self._DbEngine
@@ -6545,7 +6499,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6545
6499
  @property
6546
6500
  def DbVersion(self):
6547
6501
  """数据库版本
6548
- 注意:此字段可能返回 null,表示取不到有效值。
6549
6502
  :rtype: str
6550
6503
  """
6551
6504
  return self._DbVersion
@@ -6568,7 +6521,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6568
6521
  @property
6569
6522
  def DcnFlag(self):
6570
6523
  """DCN标志,0-无,1-主实例,2-灾备实例
6571
- 注意:此字段可能返回 null,表示取不到有效值。
6572
6524
  :rtype: int
6573
6525
  """
6574
6526
  return self._DcnFlag
@@ -6580,7 +6532,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6580
6532
  @property
6581
6533
  def DcnStatus(self):
6582
6534
  """DCN状态,0-无,1-创建中,2-同步中,3-已断开
6583
- 注意:此字段可能返回 null,表示取不到有效值。
6584
6535
  :rtype: int
6585
6536
  """
6586
6537
  return self._DcnStatus
@@ -6592,7 +6543,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6592
6543
  @property
6593
6544
  def DcnDstNum(self):
6594
6545
  """DCN灾备实例数
6595
- 注意:此字段可能返回 null,表示取不到有效值。
6596
6546
  :rtype: int
6597
6547
  """
6598
6548
  return self._DcnDstNum
@@ -6604,7 +6554,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6604
6554
  @property
6605
6555
  def InstanceType(self):
6606
6556
  """1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
6607
- 注意:此字段可能返回 null,表示取不到有效值。
6608
6557
  :rtype: int
6609
6558
  """
6610
6559
  return self._InstanceType
@@ -6616,7 +6565,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6616
6565
  @property
6617
6566
  def NodesInfo(self):
6618
6567
  """实例的各个DB节点信息
6619
- 注意:此字段可能返回 null,表示取不到有效值。
6620
6568
  :rtype: list of NodeInfo
6621
6569
  """
6622
6570
  return self._NodesInfo
@@ -6628,7 +6576,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6628
6576
  @property
6629
6577
  def IsMaxUserConnectionsSupported(self):
6630
6578
  """实例是否支持设置用户连接数限制,内核为10.1暂不支持。
6631
- 注意:此字段可能返回 null,表示取不到有效值。
6632
6579
  :rtype: bool
6633
6580
  """
6634
6581
  return self._IsMaxUserConnectionsSupported
@@ -6640,7 +6587,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6640
6587
  @property
6641
6588
  def DbVersionId(self):
6642
6589
  """对外显示的数据库版本
6643
- 注意:此字段可能返回 null,表示取不到有效值。
6644
6590
  :rtype: str
6645
6591
  """
6646
6592
  return self._DbVersionId
@@ -6652,7 +6598,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6652
6598
  @property
6653
6599
  def EncryptStatus(self):
6654
6600
  """加密状态, 0-未开启,1-已开启
6655
- 注意:此字段可能返回 null,表示取不到有效值。
6656
6601
  :rtype: int
6657
6602
  """
6658
6603
  return self._EncryptStatus
@@ -6688,7 +6633,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6688
6633
  @property
6689
6634
  def ExclusterType(self):
6690
6635
  """独享集群类型,0:公有云, 1:金融围笼, 2:CDC集群
6691
- 注意:此字段可能返回 null,表示取不到有效值。
6692
6636
  :rtype: int
6693
6637
  """
6694
6638
  return self._ExclusterType
@@ -6700,7 +6644,6 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6700
6644
  @property
6701
6645
  def RsAccessStrategy(self):
6702
6646
  """VPC就近访问
6703
- 注意:此字段可能返回 null,表示取不到有效值。
6704
6647
  :rtype: int
6705
6648
  """
6706
6649
  return self._RsAccessStrategy
@@ -6764,6 +6707,17 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6764
6707
  def ProxyVersion(self, ProxyVersion):
6765
6708
  self._ProxyVersion = ProxyVersion
6766
6709
 
6710
+ @property
6711
+ def CpuType(self):
6712
+ """Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
6713
+ :rtype: str
6714
+ """
6715
+ return self._CpuType
6716
+
6717
+ @CpuType.setter
6718
+ def CpuType(self, CpuType):
6719
+ self._CpuType = CpuType
6720
+
6767
6721
  @property
6768
6722
  def RequestId(self):
6769
6723
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -6856,6 +6810,7 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
6856
6810
  self._IsDcnStrongSyncSupported = params.get("IsDcnStrongSyncSupported")
6857
6811
  self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
6858
6812
  self._ProxyVersion = params.get("ProxyVersion")
6813
+ self._CpuType = params.get("CpuType")
6859
6814
  self._RequestId = params.get("RequestId")
6860
6815
 
6861
6816
 
@@ -6864,6 +6819,36 @@ class DescribeDBInstanceSpecsRequest(AbstractModel):
6864
6819
 
6865
6820
  """
6866
6821
 
6822
+ def __init__(self):
6823
+ r"""
6824
+ :param _CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
6825
+ :type CpuType: str
6826
+ """
6827
+ self._CpuType = None
6828
+
6829
+ @property
6830
+ def CpuType(self):
6831
+ """Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
6832
+ :rtype: str
6833
+ """
6834
+ return self._CpuType
6835
+
6836
+ @CpuType.setter
6837
+ def CpuType(self, CpuType):
6838
+ self._CpuType = CpuType
6839
+
6840
+
6841
+ def _deserialize(self, params):
6842
+ self._CpuType = params.get("CpuType")
6843
+ memeber_set = set(params.keys())
6844
+ for name, value in vars(self).items():
6845
+ property_name = name[1:]
6846
+ if property_name in memeber_set:
6847
+ memeber_set.remove(property_name)
6848
+ if len(memeber_set) > 0:
6849
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6850
+
6851
+
6867
6852
 
6868
6853
  class DescribeDBInstanceSpecsResponse(AbstractModel):
6869
6854
  """DescribeDBInstanceSpecs返回参数结构体
@@ -7636,10 +7621,8 @@ class DescribeDBSecurityGroupsResponse(AbstractModel):
7636
7621
  :param _Groups: 安全组详情。
7637
7622
  :type Groups: list of SecurityGroup
7638
7623
  :param _VIP: 实例VIP。
7639
- 注意:此字段可能返回 null,表示取不到有效值。
7640
7624
  :type VIP: str
7641
7625
  :param _VPort: 实例端口。
7642
- 注意:此字段可能返回 null,表示取不到有效值。
7643
7626
  :type VPort: str
7644
7627
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7645
7628
  :type RequestId: str
@@ -7663,7 +7646,6 @@ class DescribeDBSecurityGroupsResponse(AbstractModel):
7663
7646
  @property
7664
7647
  def VIP(self):
7665
7648
  """实例VIP。
7666
- 注意:此字段可能返回 null,表示取不到有效值。
7667
7649
  :rtype: str
7668
7650
  """
7669
7651
  return self._VIP
@@ -7675,7 +7657,6 @@ class DescribeDBSecurityGroupsResponse(AbstractModel):
7675
7657
  @property
7676
7658
  def VPort(self):
7677
7659
  """实例端口。
7678
- 注意:此字段可能返回 null,表示取不到有效值。
7679
7660
  :rtype: str
7680
7661
  """
7681
7662
  return self._VPort
@@ -9219,6 +9200,8 @@ class DescribePriceRequest(AbstractModel):
9219
9200
  * pent:分
9220
9201
  * microPent:微分
9221
9202
  :type AmountUnit: str
9203
+ :param _CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
9204
+ :type CpuType: str
9222
9205
  """
9223
9206
  self._Zone = None
9224
9207
  self._NodeCount = None
@@ -9228,6 +9211,7 @@ class DescribePriceRequest(AbstractModel):
9228
9211
  self._Count = None
9229
9212
  self._Paymode = None
9230
9213
  self._AmountUnit = None
9214
+ self._CpuType = None
9231
9215
 
9232
9216
  @property
9233
9217
  def Zone(self):
@@ -9322,6 +9306,17 @@ class DescribePriceRequest(AbstractModel):
9322
9306
  def AmountUnit(self, AmountUnit):
9323
9307
  self._AmountUnit = AmountUnit
9324
9308
 
9309
+ @property
9310
+ def CpuType(self):
9311
+ """Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
9312
+ :rtype: str
9313
+ """
9314
+ return self._CpuType
9315
+
9316
+ @CpuType.setter
9317
+ def CpuType(self, CpuType):
9318
+ self._CpuType = CpuType
9319
+
9325
9320
 
9326
9321
  def _deserialize(self, params):
9327
9322
  self._Zone = params.get("Zone")
@@ -9332,6 +9327,7 @@ class DescribePriceRequest(AbstractModel):
9332
9327
  self._Count = params.get("Count")
9333
9328
  self._Paymode = params.get("Paymode")
9334
9329
  self._AmountUnit = params.get("AmountUnit")
9330
+ self._CpuType = params.get("CpuType")
9335
9331
  memeber_set = set(params.keys())
9336
9332
  for name, value in vars(self).items():
9337
9333
  property_name = name[1:]
@@ -10614,7 +10610,6 @@ class InstanceBackupFileItem(AbstractModel):
10614
10610
  :param _InstanceStatus: 实例状态
10615
10611
  :type InstanceStatus: int
10616
10612
  :param _ShardId: 分片ID
10617
- 注意:此字段可能返回 null,表示取不到有效值。
10618
10613
  :type ShardId: str
10619
10614
  :param _FilePath: 文件路径
10620
10615
  :type FilePath: str
@@ -10682,7 +10677,6 @@ class InstanceBackupFileItem(AbstractModel):
10682
10677
  @property
10683
10678
  def ShardId(self):
10684
10679
  """分片ID
10685
- 注意:此字段可能返回 null,表示取不到有效值。
10686
10680
  :rtype: str
10687
10681
  """
10688
10682
  return self._ShardId
@@ -10811,10 +10805,8 @@ class InstanceSpec(AbstractModel):
10811
10805
  def __init__(self):
10812
10806
  r"""
10813
10807
  :param _Machine: 设备型号
10814
- 注意:此字段可能返回 null,表示取不到有效值。
10815
10808
  :type Machine: str
10816
10809
  :param _SpecInfos: 该机型对应的可售卖规格列表
10817
- 注意:此字段可能返回 null,表示取不到有效值。
10818
10810
  :type SpecInfos: list of SpecConfigInfo
10819
10811
  """
10820
10812
  self._Machine = None
@@ -10823,7 +10815,6 @@ class InstanceSpec(AbstractModel):
10823
10815
  @property
10824
10816
  def Machine(self):
10825
10817
  """设备型号
10826
- 注意:此字段可能返回 null,表示取不到有效值。
10827
10818
  :rtype: str
10828
10819
  """
10829
10820
  return self._Machine
@@ -10835,7 +10826,6 @@ class InstanceSpec(AbstractModel):
10835
10826
  @property
10836
10827
  def SpecInfos(self):
10837
10828
  """该机型对应的可售卖规格列表
10838
- 注意:此字段可能返回 null,表示取不到有效值。
10839
10829
  :rtype: list of SpecConfigInfo
10840
10830
  """
10841
10831
  return self._SpecInfos
@@ -13231,9 +13221,12 @@ class NodeInfo(AbstractModel):
13231
13221
  :type NodeId: str
13232
13222
  :param _Role: DB节点角色,取值为master或者slave
13233
13223
  :type Role: str
13224
+ :param _Zone: 节点所在可用区
13225
+ :type Zone: str
13234
13226
  """
13235
13227
  self._NodeId = None
13236
13228
  self._Role = None
13229
+ self._Zone = None
13237
13230
 
13238
13231
  @property
13239
13232
  def NodeId(self):
@@ -13257,10 +13250,22 @@ class NodeInfo(AbstractModel):
13257
13250
  def Role(self, Role):
13258
13251
  self._Role = Role
13259
13252
 
13253
+ @property
13254
+ def Zone(self):
13255
+ """节点所在可用区
13256
+ :rtype: str
13257
+ """
13258
+ return self._Zone
13259
+
13260
+ @Zone.setter
13261
+ def Zone(self, Zone):
13262
+ self._Zone = Zone
13263
+
13260
13264
 
13261
13265
  def _deserialize(self, params):
13262
13266
  self._NodeId = params.get("NodeId")
13263
13267
  self._Role = params.get("Role")
13268
+ self._Zone = params.get("Zone")
13264
13269
  memeber_set = set(params.keys())
13265
13270
  for name, value in vars(self).items():
13266
13271
  property_name = name[1:]
@@ -13462,7 +13467,6 @@ class ParamDesc(AbstractModel):
13462
13467
  :param _Value: 当前参数值
13463
13468
  :type Value: str
13464
13469
  :param _SetValue: 设置过的值,参数生效后,该值和value一样。
13465
- 注意:此字段可能返回 null,表示取不到有效值。
13466
13470
  :type SetValue: str
13467
13471
  :param _Default: 系统默认值
13468
13472
  :type Default: str
@@ -13507,7 +13511,6 @@ true:需要重启
13507
13511
  @property
13508
13512
  def SetValue(self):
13509
13513
  """设置过的值,参数生效后,该值和value一样。
13510
- 注意:此字段可能返回 null,表示取不到有效值。
13511
13514
  :rtype: str
13512
13515
  """
13513
13516
  return self._SetValue
@@ -13716,12 +13719,15 @@ class RegionInfo(AbstractModel):
13716
13719
  :type ZoneList: list of ZonesInfo
13717
13720
  :param _AvailableChoice: 可选择的主可用区和从可用区
13718
13721
  :type AvailableChoice: list of ZoneChooseInfo
13722
+ :param _CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
13723
+ :type CpuType: str
13719
13724
  """
13720
13725
  self._Region = None
13721
13726
  self._RegionId = None
13722
13727
  self._RegionName = None
13723
13728
  self._ZoneList = None
13724
13729
  self._AvailableChoice = None
13730
+ self._CpuType = None
13725
13731
 
13726
13732
  @property
13727
13733
  def Region(self):
@@ -13778,6 +13784,17 @@ class RegionInfo(AbstractModel):
13778
13784
  def AvailableChoice(self, AvailableChoice):
13779
13785
  self._AvailableChoice = AvailableChoice
13780
13786
 
13787
+ @property
13788
+ def CpuType(self):
13789
+ """Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
13790
+ :rtype: str
13791
+ """
13792
+ return self._CpuType
13793
+
13794
+ @CpuType.setter
13795
+ def CpuType(self, CpuType):
13796
+ self._CpuType = CpuType
13797
+
13781
13798
 
13782
13799
  def _deserialize(self, params):
13783
13800
  self._Region = params.get("Region")
@@ -13795,6 +13812,7 @@ class RegionInfo(AbstractModel):
13795
13812
  obj = ZoneChooseInfo()
13796
13813
  obj._deserialize(item)
13797
13814
  self._AvailableChoice.append(obj)
13815
+ self._CpuType = params.get("CpuType")
13798
13816
  memeber_set = set(params.keys())
13799
13817
  for name, value in vars(self).items():
13800
13818
  property_name = name[1:]
@@ -14555,7 +14573,6 @@ class SlowLogData(AbstractModel):
14555
14573
  :param _User: 账号
14556
14574
  :type User: str
14557
14575
  :param _ExampleSql: 样例Sql
14558
- 注意:此字段可能返回 null,表示取不到有效值。
14559
14576
  :type ExampleSql: str
14560
14577
  :param _Host: 账户的域名
14561
14578
  :type Host: str
@@ -14770,7 +14787,6 @@ class SlowLogData(AbstractModel):
14770
14787
  @property
14771
14788
  def ExampleSql(self):
14772
14789
  """样例Sql
14773
- 注意:此字段可能返回 null,表示取不到有效值。
14774
14790
  :rtype: str
14775
14791
  """
14776
14792
  return self._ExampleSql
@@ -14986,11 +15002,21 @@ class SwitchDBInstanceHARequest(AbstractModel):
14986
15002
  r"""
14987
15003
  :param _InstanceId: 实例Id,形如 tdsql-ow728lmc
14988
15004
  :type InstanceId: str
14989
- :param _Zone: 切换的目标区域,会自动选择该可用区中延迟最低的节点
15005
+ :param _Zone: 指定可用区标识符,具体含义由zoneMode参数决定。
15006
+
15007
+ - 当zoneMode为target时表示目标可用区
15008
+
15009
+ - 当zoneMode为avoid时表示需避开的故障可用区
14990
15010
  :type Zone: str
15011
+ :param _ZoneMode: 可用区模式选择器,定义zone参数的语义类型。
15012
+ - 默认值:target
15013
+
15014
+ - 可选值:target, avoid
15015
+ :type ZoneMode: str
14991
15016
  """
14992
15017
  self._InstanceId = None
14993
15018
  self._Zone = None
15019
+ self._ZoneMode = None
14994
15020
 
14995
15021
  @property
14996
15022
  def InstanceId(self):
@@ -15005,7 +15031,11 @@ class SwitchDBInstanceHARequest(AbstractModel):
15005
15031
 
15006
15032
  @property
15007
15033
  def Zone(self):
15008
- """切换的目标区域,会自动选择该可用区中延迟最低的节点
15034
+ """指定可用区标识符,具体含义由zoneMode参数决定。
15035
+
15036
+ - 当zoneMode为target时表示目标可用区
15037
+
15038
+ - 当zoneMode为avoid时表示需避开的故障可用区
15009
15039
  :rtype: str
15010
15040
  """
15011
15041
  return self._Zone
@@ -15014,10 +15044,25 @@ class SwitchDBInstanceHARequest(AbstractModel):
15014
15044
  def Zone(self, Zone):
15015
15045
  self._Zone = Zone
15016
15046
 
15047
+ @property
15048
+ def ZoneMode(self):
15049
+ """可用区模式选择器,定义zone参数的语义类型。
15050
+ - 默认值:target
15051
+
15052
+ - 可选值:target, avoid
15053
+ :rtype: str
15054
+ """
15055
+ return self._ZoneMode
15056
+
15057
+ @ZoneMode.setter
15058
+ def ZoneMode(self, ZoneMode):
15059
+ self._ZoneMode = ZoneMode
15060
+
15017
15061
 
15018
15062
  def _deserialize(self, params):
15019
15063
  self._InstanceId = params.get("InstanceId")
15020
15064
  self._Zone = params.get("Zone")
15065
+ self._ZoneMode = params.get("ZoneMode")
15021
15066
  memeber_set = set(params.keys())
15022
15067
  for name, value in vars(self).items():
15023
15068
  property_name = name[1:]
@@ -15326,49 +15371,34 @@ class TmpInstance(AbstractModel):
15326
15371
  def __init__(self):
15327
15372
  r"""
15328
15373
  :param _AppId: 应用ID
15329
- 注意:此字段可能返回 null,表示取不到有效值。
15330
15374
  :type AppId: int
15331
15375
  :param _CreateTime: 创建时间
15332
- 注意:此字段可能返回 null,表示取不到有效值。
15333
15376
  :type CreateTime: str
15334
15377
  :param _InstanceRemark: 实例备注
15335
- 注意:此字段可能返回 null,表示取不到有效值。
15336
15378
  :type InstanceRemark: str
15337
15379
  :param _TempType: 0:非临时实例 ,1:无效临时实例, 2:回档成功的有效临时实例
15338
- 注意:此字段可能返回 null,表示取不到有效值。
15339
15380
  :type TempType: int
15340
15381
  :param _Status: 实例状态,0:待初始化,1:流程处理中,2:有效状态,-1:已隔离,-2:已下线
15341
- 注意:此字段可能返回 null,表示取不到有效值。
15342
15382
  :type Status: int
15343
15383
  :param _InstanceId: 实例 ID,形如:tdsql-ow728lmc。
15344
- 注意:此字段可能返回 null,表示取不到有效值。
15345
15384
  :type InstanceId: str
15346
15385
  :param _Vip: 实例虚IP
15347
- 注意:此字段可能返回 null,表示取不到有效值。
15348
15386
  :type Vip: str
15349
15387
  :param _Vport: 实例虚端口
15350
- 注意:此字段可能返回 null,表示取不到有效值。
15351
15388
  :type Vport: int
15352
15389
  :param _PeriodEndTime: 有效期结束时间
15353
- 注意:此字段可能返回 null,表示取不到有效值。
15354
15390
  :type PeriodEndTime: str
15355
15391
  :param _SrcInstanceId: 源实例 ID,形如:tdsql-ow728lmc。
15356
- 注意:此字段可能返回 null,表示取不到有效值。
15357
15392
  :type SrcInstanceId: str
15358
15393
  :param _StatusDesc: 实例状态描述
15359
- 注意:此字段可能返回 null,表示取不到有效值。
15360
15394
  :type StatusDesc: str
15361
15395
  :param _Region: 实例所在地域
15362
- 注意:此字段可能返回 null,表示取不到有效值。
15363
15396
  :type Region: str
15364
15397
  :param _Zone: 实例所在可用区
15365
- 注意:此字段可能返回 null,表示取不到有效值。
15366
15398
  :type Zone: str
15367
15399
  :param _Vipv6: 实例虚IPv6
15368
- 注意:此字段可能返回 null,表示取不到有效值。
15369
15400
  :type Vipv6: str
15370
15401
  :param _Ipv6Flag: 实例IPv6标志
15371
- 注意:此字段可能返回 null,表示取不到有效值。
15372
15402
  :type Ipv6Flag: int
15373
15403
  """
15374
15404
  self._AppId = None
@@ -15390,7 +15420,6 @@ class TmpInstance(AbstractModel):
15390
15420
  @property
15391
15421
  def AppId(self):
15392
15422
  """应用ID
15393
- 注意:此字段可能返回 null,表示取不到有效值。
15394
15423
  :rtype: int
15395
15424
  """
15396
15425
  return self._AppId
@@ -15402,7 +15431,6 @@ class TmpInstance(AbstractModel):
15402
15431
  @property
15403
15432
  def CreateTime(self):
15404
15433
  """创建时间
15405
- 注意:此字段可能返回 null,表示取不到有效值。
15406
15434
  :rtype: str
15407
15435
  """
15408
15436
  return self._CreateTime
@@ -15414,7 +15442,6 @@ class TmpInstance(AbstractModel):
15414
15442
  @property
15415
15443
  def InstanceRemark(self):
15416
15444
  """实例备注
15417
- 注意:此字段可能返回 null,表示取不到有效值。
15418
15445
  :rtype: str
15419
15446
  """
15420
15447
  return self._InstanceRemark
@@ -15426,7 +15453,6 @@ class TmpInstance(AbstractModel):
15426
15453
  @property
15427
15454
  def TempType(self):
15428
15455
  """0:非临时实例 ,1:无效临时实例, 2:回档成功的有效临时实例
15429
- 注意:此字段可能返回 null,表示取不到有效值。
15430
15456
  :rtype: int
15431
15457
  """
15432
15458
  return self._TempType
@@ -15438,7 +15464,6 @@ class TmpInstance(AbstractModel):
15438
15464
  @property
15439
15465
  def Status(self):
15440
15466
  """实例状态,0:待初始化,1:流程处理中,2:有效状态,-1:已隔离,-2:已下线
15441
- 注意:此字段可能返回 null,表示取不到有效值。
15442
15467
  :rtype: int
15443
15468
  """
15444
15469
  return self._Status
@@ -15450,7 +15475,6 @@ class TmpInstance(AbstractModel):
15450
15475
  @property
15451
15476
  def InstanceId(self):
15452
15477
  """实例 ID,形如:tdsql-ow728lmc。
15453
- 注意:此字段可能返回 null,表示取不到有效值。
15454
15478
  :rtype: str
15455
15479
  """
15456
15480
  return self._InstanceId
@@ -15462,7 +15486,6 @@ class TmpInstance(AbstractModel):
15462
15486
  @property
15463
15487
  def Vip(self):
15464
15488
  """实例虚IP
15465
- 注意:此字段可能返回 null,表示取不到有效值。
15466
15489
  :rtype: str
15467
15490
  """
15468
15491
  return self._Vip
@@ -15474,7 +15497,6 @@ class TmpInstance(AbstractModel):
15474
15497
  @property
15475
15498
  def Vport(self):
15476
15499
  """实例虚端口
15477
- 注意:此字段可能返回 null,表示取不到有效值。
15478
15500
  :rtype: int
15479
15501
  """
15480
15502
  return self._Vport
@@ -15486,7 +15508,6 @@ class TmpInstance(AbstractModel):
15486
15508
  @property
15487
15509
  def PeriodEndTime(self):
15488
15510
  """有效期结束时间
15489
- 注意:此字段可能返回 null,表示取不到有效值。
15490
15511
  :rtype: str
15491
15512
  """
15492
15513
  return self._PeriodEndTime
@@ -15498,7 +15519,6 @@ class TmpInstance(AbstractModel):
15498
15519
  @property
15499
15520
  def SrcInstanceId(self):
15500
15521
  """源实例 ID,形如:tdsql-ow728lmc。
15501
- 注意:此字段可能返回 null,表示取不到有效值。
15502
15522
  :rtype: str
15503
15523
  """
15504
15524
  return self._SrcInstanceId
@@ -15510,7 +15530,6 @@ class TmpInstance(AbstractModel):
15510
15530
  @property
15511
15531
  def StatusDesc(self):
15512
15532
  """实例状态描述
15513
- 注意:此字段可能返回 null,表示取不到有效值。
15514
15533
  :rtype: str
15515
15534
  """
15516
15535
  return self._StatusDesc
@@ -15522,7 +15541,6 @@ class TmpInstance(AbstractModel):
15522
15541
  @property
15523
15542
  def Region(self):
15524
15543
  """实例所在地域
15525
- 注意:此字段可能返回 null,表示取不到有效值。
15526
15544
  :rtype: str
15527
15545
  """
15528
15546
  return self._Region
@@ -15534,7 +15552,6 @@ class TmpInstance(AbstractModel):
15534
15552
  @property
15535
15553
  def Zone(self):
15536
15554
  """实例所在可用区
15537
- 注意:此字段可能返回 null,表示取不到有效值。
15538
15555
  :rtype: str
15539
15556
  """
15540
15557
  return self._Zone
@@ -15546,7 +15563,6 @@ class TmpInstance(AbstractModel):
15546
15563
  @property
15547
15564
  def Vipv6(self):
15548
15565
  """实例虚IPv6
15549
- 注意:此字段可能返回 null,表示取不到有效值。
15550
15566
  :rtype: str
15551
15567
  """
15552
15568
  return self._Vipv6
@@ -15558,7 +15574,6 @@ class TmpInstance(AbstractModel):
15558
15574
  @property
15559
15575
  def Ipv6Flag(self):
15560
15576
  """实例IPv6标志
15561
- 注意:此字段可能返回 null,表示取不到有效值。
15562
15577
  :rtype: int
15563
15578
  """
15564
15579
  return self._Ipv6Flag