tencentcloud-sdk-python 3.0.1275__py2.py3-none-any.whl → 3.0.1276__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 (71) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +15 -0
  3. tencentcloud/batch/v20170312/models.py +48 -68
  4. tencentcloud/billing/v20180709/models.py +45 -0
  5. tencentcloud/cbs/v20170312/models.py +2 -2
  6. tencentcloud/cdb/v20170320/models.py +732 -48
  7. tencentcloud/cdwdoris/v20211228/models.py +2 -2
  8. tencentcloud/cfs/v20190719/models.py +30 -0
  9. tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
  10. tencentcloud/ckafka/v20190819/models.py +490 -324
  11. tencentcloud/cloudapp/v20220530/models.py +4 -4
  12. tencentcloud/cvm/v20170312/models.py +48 -68
  13. tencentcloud/cwp/v20180228/models.py +2 -2
  14. tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
  15. tencentcloud/cynosdb/v20190107/models.py +226 -4
  16. tencentcloud/dts/v20211206/models.py +30 -0
  17. tencentcloud/emr/v20190103/models.py +33 -16
  18. tencentcloud/ess/v20201111/models.py +242 -0
  19. tencentcloud/essbasic/v20210526/models.py +241 -6
  20. tencentcloud/faceid/v20180301/models.py +0 -2
  21. tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
  22. tencentcloud/hunyuan/v20230901/models.py +591 -0
  23. tencentcloud/ims/v20201229/models.py +4 -4
  24. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  25. tencentcloud/iotexplorer/v20190423/models.py +286 -6
  26. tencentcloud/ivld/v20210903/ivld_client.py +0 -1
  27. tencentcloud/ivld/v20210903/models.py +133 -15
  28. tencentcloud/lcic/v20220817/models.py +2 -8
  29. tencentcloud/live/v20180801/errorcodes.py +18 -0
  30. tencentcloud/live/v20180801/live_client.py +208 -0
  31. tencentcloud/live/v20180801/models.py +1649 -255
  32. tencentcloud/lke/v20231130/lke_client.py +161 -0
  33. tencentcloud/lke/v20231130/models.py +1517 -187
  34. tencentcloud/mps/v20190612/errorcodes.py +2 -173
  35. tencentcloud/mps/v20190612/models.py +377 -17
  36. tencentcloud/mrs/v20200910/models.py +0 -2652
  37. tencentcloud/ocr/v20181119/models.py +0 -273
  38. tencentcloud/ocr/v20181119/ocr_client.py +0 -23
  39. tencentcloud/organization/v20210331/models.py +2 -24
  40. tencentcloud/privatedns/v20201028/models.py +47 -0
  41. tencentcloud/rce/v20201103/models.py +2 -2
  42. tencentcloud/redis/v20180412/models.py +2 -2
  43. tencentcloud/scf/v20180416/models.py +2 -2
  44. tencentcloud/teo/v20220901/models.py +366 -18
  45. tencentcloud/teo/v20220901/teo_client.py +69 -0
  46. tencentcloud/tke/v20220501/models.py +200 -0
  47. tencentcloud/tmt/v20180321/tmt_client.py +1 -1
  48. tencentcloud/trocket/v20230308/models.py +24 -24
  49. tencentcloud/trtc/v20190722/models.py +230 -0
  50. tencentcloud/tsf/v20180326/models.py +2405 -334
  51. tencentcloud/tsf/v20180326/tsf_client.py +3 -0
  52. tencentcloud/tts/v20190823/models.py +2 -2
  53. tencentcloud/tts/v20190823/tts_client.py +1 -1
  54. tencentcloud/vclm/v20240523/models.py +156 -10
  55. tencentcloud/vclm/v20240523/vclm_client.py +23 -0
  56. tencentcloud/vcube/__init__.py +0 -0
  57. tencentcloud/vcube/v20220410/__init__.py +0 -0
  58. tencentcloud/vcube/v20220410/errorcodes.py +72 -0
  59. tencentcloud/vcube/v20220410/models.py +7325 -0
  60. tencentcloud/vcube/v20220410/vcube_client.py +808 -0
  61. tencentcloud/vdb/v20230616/models.py +45 -0
  62. tencentcloud/vod/v20180717/errorcodes.py +6 -0
  63. tencentcloud/vod/v20180717/models.py +62 -2
  64. tencentcloud/vod/v20180717/vod_client.py +2 -2
  65. tencentcloud/vpc/v20170312/models.py +272 -2
  66. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  67. {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/METADATA +1 -1
  68. {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/RECORD +71 -66
  69. {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/LICENSE +0 -0
  70. {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/WHEEL +0 -0
  71. {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,7 @@ class License(AbstractModel):
29
29
  :type LicenseId: str
30
30
  :param _LicenseMode: 软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr></tbody></table>
31
31
  :type LicenseMode: str
32
- :param _LicenseStatus: 软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Deactivated</td><td>授权已失效。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>
32
+ :param _LicenseStatus: 软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>
33
33
  :type LicenseStatus: str
34
34
  :param _ProviderId: 软件供应方 ID。
35
35
  :type ProviderId: int
@@ -54,7 +54,7 @@ class License(AbstractModel):
54
54
  :param _ActivationDate: 授权激活时间,如从未激活则返回 null。
55
55
  注意:此字段可能返回 null,表示取不到有效值。
56
56
  :type ActivationDate: str
57
- :param _ExpirationDate: 授权过期时间,如未过期或者是永久授权,则返回 null。
57
+ :param _ExpirationDate: 授权过期时间
58
58
  注意:此字段可能返回 null,表示取不到有效值。
59
59
  :type ExpirationDate: str
60
60
  :param _LifeSpanUnit: 授权时长单位,枚举值有Y年/M月/D日三种
@@ -101,7 +101,7 @@ class License(AbstractModel):
101
101
 
102
102
  @property
103
103
  def LicenseStatus(self):
104
- """软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Deactivated</td><td>授权已失效。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>
104
+ """软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>
105
105
  :rtype: str
106
106
  """
107
107
  return self._LicenseStatus
@@ -234,7 +234,7 @@ class License(AbstractModel):
234
234
 
235
235
  @property
236
236
  def ExpirationDate(self):
237
- """授权过期时间,如未过期或者是永久授权,则返回 null。
237
+ """授权过期时间
238
238
  注意:此字段可能返回 null,表示取不到有效值。
239
239
  :rtype: str
240
240
  """
@@ -3350,46 +3350,16 @@ class DataDisk(AbstractModel):
3350
3350
  r"""
3351
3351
  :param _DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
3352
3352
  :type DiskSize: int
3353
- :param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br />
3354
- <li>
3355
- LOCAL_BASIC:本地硬盘<br />
3356
- <li>
3357
- LOCAL_SSD:本地SSD硬盘<br />
3358
- <li>
3359
- LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br />
3360
- <li>
3361
- LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br />
3362
- <li>
3363
- CLOUD_BASIC:普通云硬盘<br />
3364
- <li>
3365
- CLOUD_PREMIUM:高性能云硬盘<br />
3366
- <li>
3367
- CLOUD_SSD:SSD云硬盘<br />
3368
- <li>
3369
- CLOUD_HSSD:增强型SSD云硬盘<br />
3370
- <li>
3371
- CLOUD_TSSD:极速型SSD云硬盘<br />
3372
- <li>
3373
- CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。
3374
- </li>
3375
- </li>
3376
- </li>
3377
- </li>
3378
- </li>
3379
- </li>
3380
- </li>
3381
- </li>
3382
- </li>
3383
- </li>
3353
+ :param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC:本地硬盘<br /> <li>LOCAL_SSD:本地SSD硬盘<br /><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br /><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br /><li>CLOUD_BASIC:普通云硬盘<br /><li> CLOUD_PREMIUM:高性能云硬盘<br /><li>CLOUD_SSD:SSD云硬盘<br /><li> CLOUD_HSSD:增强型SSD云硬盘<br /> <li>CLOUD_TSSD:极速型SSD云硬盘<br /><li>CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。</li></li></li> </li> </li></li></li></li></li></li>
3384
3354
  :type DiskType: str
3385
3355
  :param _DiskId: 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID,暂时不支持该参数。
3386
3356
  该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
3387
3357
  :type DiskId: str
3388
3358
  :param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
3389
- <li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
3359
+ <li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
3390
3360
  <li>
3391
- FALSE:子机销毁时,保留数据盘<br />
3392
- 默认取值:TRUE<br />
3361
+ false:子机销毁时,保留数据盘<br />
3362
+ 默认取值:true<br />
3393
3363
  该参数目前仅用于 `RunInstances` 接口。
3394
3364
  </li>
3395
3365
  注意:此字段可能返回 null,表示取不到有效值。
@@ -3422,6 +3392,10 @@ class DataDisk(AbstractModel):
3422
3392
  <b>注:内测中。</b>
3423
3393
  注意:此字段可能返回 null,表示取不到有效值。
3424
3394
  :type BurstPerformance: bool
3395
+ :param _DiskName: 磁盘名称,长度不超过128 个字符。
3396
+
3397
+ 该参数正在邀测中,暂未开放使用。
3398
+ :type DiskName: str
3425
3399
  """
3426
3400
  self._DiskSize = None
3427
3401
  self._DiskType = None
@@ -3433,6 +3407,7 @@ class DataDisk(AbstractModel):
3433
3407
  self._ThroughputPerformance = None
3434
3408
  self._CdcId = None
3435
3409
  self._BurstPerformance = None
3410
+ self._DiskName = None
3436
3411
 
3437
3412
  @property
3438
3413
  def DiskSize(self):
@@ -3447,37 +3422,7 @@ class DataDisk(AbstractModel):
3447
3422
 
3448
3423
  @property
3449
3424
  def DiskType(self):
3450
- """数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br />
3451
- <li>
3452
- LOCAL_BASIC:本地硬盘<br />
3453
- <li>
3454
- LOCAL_SSD:本地SSD硬盘<br />
3455
- <li>
3456
- LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br />
3457
- <li>
3458
- LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br />
3459
- <li>
3460
- CLOUD_BASIC:普通云硬盘<br />
3461
- <li>
3462
- CLOUD_PREMIUM:高性能云硬盘<br />
3463
- <li>
3464
- CLOUD_SSD:SSD云硬盘<br />
3465
- <li>
3466
- CLOUD_HSSD:增强型SSD云硬盘<br />
3467
- <li>
3468
- CLOUD_TSSD:极速型SSD云硬盘<br />
3469
- <li>
3470
- CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。
3471
- </li>
3472
- </li>
3473
- </li>
3474
- </li>
3475
- </li>
3476
- </li>
3477
- </li>
3478
- </li>
3479
- </li>
3480
- </li>
3425
+ """数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC:本地硬盘<br /> <li>LOCAL_SSD:本地SSD硬盘<br /><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br /><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br /><li>CLOUD_BASIC:普通云硬盘<br /><li> CLOUD_PREMIUM:高性能云硬盘<br /><li>CLOUD_SSD:SSD云硬盘<br /><li> CLOUD_HSSD:增强型SSD云硬盘<br /> <li>CLOUD_TSSD:极速型SSD云硬盘<br /><li>CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。</li></li></li> </li> </li></li></li></li></li></li>
3481
3426
  :rtype: str
3482
3427
  """
3483
3428
  return self._DiskType
@@ -3501,10 +3446,10 @@ class DataDisk(AbstractModel):
3501
3446
  @property
3502
3447
  def DeleteWithInstance(self):
3503
3448
  """数据盘是否随子机销毁。取值范围:
3504
- <li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
3449
+ <li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
3505
3450
  <li>
3506
- FALSE:子机销毁时,保留数据盘<br />
3507
- 默认取值:TRUE<br />
3451
+ false:子机销毁时,保留数据盘<br />
3452
+ 默认取值:true<br />
3508
3453
  该参数目前仅用于 `RunInstances` 接口。
3509
3454
  </li>
3510
3455
  注意:此字段可能返回 null,表示取不到有效值。
@@ -3598,6 +3543,19 @@ class DataDisk(AbstractModel):
3598
3543
  def BurstPerformance(self, BurstPerformance):
3599
3544
  self._BurstPerformance = BurstPerformance
3600
3545
 
3546
+ @property
3547
+ def DiskName(self):
3548
+ """磁盘名称,长度不超过128 个字符。
3549
+
3550
+ 该参数正在邀测中,暂未开放使用。
3551
+ :rtype: str
3552
+ """
3553
+ return self._DiskName
3554
+
3555
+ @DiskName.setter
3556
+ def DiskName(self, DiskName):
3557
+ self._DiskName = DiskName
3558
+
3601
3559
 
3602
3560
  def _deserialize(self, params):
3603
3561
  self._DiskSize = params.get("DiskSize")
@@ -3610,6 +3568,7 @@ class DataDisk(AbstractModel):
3610
3568
  self._ThroughputPerformance = params.get("ThroughputPerformance")
3611
3569
  self._CdcId = params.get("CdcId")
3612
3570
  self._BurstPerformance = params.get("BurstPerformance")
3571
+ self._DiskName = params.get("DiskName")
3613
3572
  memeber_set = set(params.keys())
3614
3573
  for name, value in vars(self).items():
3615
3574
  property_name = name[1:]
@@ -22066,11 +22025,17 @@ class SystemDisk(AbstractModel):
22066
22025
  :param _CdcId: 所属的独享集群ID。
22067
22026
  注意:此字段可能返回 null,表示取不到有效值。
22068
22027
  :type CdcId: str
22028
+ :param _DiskName: 磁盘名称,长度不超过128 个字符。
22029
+
22030
+ 该参数正在邀测中,暂未开放使用。
22031
+ 注意:此字段可能返回 null,表示取不到有效值。
22032
+ :type DiskName: str
22069
22033
  """
22070
22034
  self._DiskType = None
22071
22035
  self._DiskId = None
22072
22036
  self._DiskSize = None
22073
22037
  self._CdcId = None
22038
+ self._DiskName = None
22074
22039
 
22075
22040
  @property
22076
22041
  def DiskType(self):
@@ -22127,12 +22092,27 @@ class SystemDisk(AbstractModel):
22127
22092
  def CdcId(self, CdcId):
22128
22093
  self._CdcId = CdcId
22129
22094
 
22095
+ @property
22096
+ def DiskName(self):
22097
+ """磁盘名称,长度不超过128 个字符。
22098
+
22099
+ 该参数正在邀测中,暂未开放使用。
22100
+ 注意:此字段可能返回 null,表示取不到有效值。
22101
+ :rtype: str
22102
+ """
22103
+ return self._DiskName
22104
+
22105
+ @DiskName.setter
22106
+ def DiskName(self, DiskName):
22107
+ self._DiskName = DiskName
22108
+
22130
22109
 
22131
22110
  def _deserialize(self, params):
22132
22111
  self._DiskType = params.get("DiskType")
22133
22112
  self._DiskId = params.get("DiskId")
22134
22113
  self._DiskSize = params.get("DiskSize")
22135
22114
  self._CdcId = params.get("CdcId")
22115
+ self._DiskName = params.get("DiskName")
22136
22116
  memeber_set = set(params.keys())
22137
22117
  for name, value in vars(self).items():
22138
22118
  property_name = name[1:]
@@ -34577,7 +34577,7 @@ class DescribeBaselineListRequest(AbstractModel):
34577
34577
  :param _Filters: 过滤条件。
34578
34578
  <li>StrategyId- Uint64 - 基线策略id</li>
34579
34579
  <li>Status - Uint64 - 处理状态1已通过 0未通过</li>
34580
- <li>Level - Uint64[] - 处理状态1已通过 0未通过</li>BaselineName
34580
+ <li>Level - Uint64[] - 威胁等级</li>
34581
34581
  <li>BaselineName - String - 基线名称</li>
34582
34582
  <li>Quuid- String - 主机quuid</li>
34583
34583
  <li>Uuid- String - 主机uuid</li>
@@ -34614,7 +34614,7 @@ class DescribeBaselineListRequest(AbstractModel):
34614
34614
  """过滤条件。
34615
34615
  <li>StrategyId- Uint64 - 基线策略id</li>
34616
34616
  <li>Status - Uint64 - 处理状态1已通过 0未通过</li>
34617
- <li>Level - Uint64[] - 处理状态1已通过 0未通过</li>BaselineName
34617
+ <li>Level - Uint64[] - 威胁等级</li>
34618
34618
  <li>BaselineName - String - 基线名称</li>
34619
34619
  <li>Quuid- String - 主机quuid</li>
34620
34620
  <li>Uuid- String - 主机uuid</li>
@@ -1222,6 +1222,29 @@ class CynosdbClient(AbstractClient):
1222
1222
  raise TencentCloudSDKException(type(e).__name__, str(e))
1223
1223
 
1224
1224
 
1225
+ def DescribeClusterTransparentEncryptInfo(self, request):
1226
+ """查询集群透明加密信息
1227
+
1228
+ :param request: Request instance for DescribeClusterTransparentEncryptInfo.
1229
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterTransparentEncryptInfoRequest`
1230
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterTransparentEncryptInfoResponse`
1231
+
1232
+ """
1233
+ try:
1234
+ params = request._serialize()
1235
+ headers = request.headers
1236
+ body = self.call("DescribeClusterTransparentEncryptInfo", params, headers=headers)
1237
+ response = json.loads(body)
1238
+ model = models.DescribeClusterTransparentEncryptInfoResponse()
1239
+ model._deserialize(response["Response"])
1240
+ return model
1241
+ except Exception as e:
1242
+ if isinstance(e, TencentCloudSDKException):
1243
+ raise
1244
+ else:
1245
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1246
+
1247
+
1225
1248
  def DescribeClusters(self, request):
1226
1249
  """本接口(DescribeClusters)用于查询集群列表。
1227
1250
 
@@ -2855,6 +2878,29 @@ class CynosdbClient(AbstractClient):
2855
2878
  raise TencentCloudSDKException(type(e).__name__, str(e))
2856
2879
 
2857
2880
 
2881
+ def OpenClusterTransparentEncrypt(self, request):
2882
+ """开通集群透明加密
2883
+
2884
+ :param request: Request instance for OpenClusterTransparentEncrypt.
2885
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.OpenClusterTransparentEncryptRequest`
2886
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.OpenClusterTransparentEncryptResponse`
2887
+
2888
+ """
2889
+ try:
2890
+ params = request._serialize()
2891
+ headers = request.headers
2892
+ body = self.call("OpenClusterTransparentEncrypt", params, headers=headers)
2893
+ response = json.loads(body)
2894
+ model = models.OpenClusterTransparentEncryptResponse()
2895
+ model._deserialize(response["Response"])
2896
+ return model
2897
+ except Exception as e:
2898
+ if isinstance(e, TencentCloudSDKException):
2899
+ raise
2900
+ else:
2901
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2902
+
2903
+
2858
2904
  def OpenReadOnlyInstanceExclusiveAccess(self, request):
2859
2905
  """本接口(OpenReadOnlyInstanceExclusiveAccess)用于开通只读实例独有访问接入组。
2860
2906
 
@@ -15966,6 +15966,102 @@ class DescribeClusterPasswordComplexityResponse(AbstractModel):
15966
15966
  self._RequestId = params.get("RequestId")
15967
15967
 
15968
15968
 
15969
+ class DescribeClusterTransparentEncryptInfoRequest(AbstractModel):
15970
+ """DescribeClusterTransparentEncryptInfo请求参数结构体
15971
+
15972
+ """
15973
+
15974
+ def __init__(self):
15975
+ r"""
15976
+ :param _ClusterId: 集群id
15977
+ :type ClusterId: str
15978
+ """
15979
+ self._ClusterId = None
15980
+
15981
+ @property
15982
+ def ClusterId(self):
15983
+ """集群id
15984
+ :rtype: str
15985
+ """
15986
+ return self._ClusterId
15987
+
15988
+ @ClusterId.setter
15989
+ def ClusterId(self, ClusterId):
15990
+ self._ClusterId = ClusterId
15991
+
15992
+
15993
+ def _deserialize(self, params):
15994
+ self._ClusterId = params.get("ClusterId")
15995
+ memeber_set = set(params.keys())
15996
+ for name, value in vars(self).items():
15997
+ property_name = name[1:]
15998
+ if property_name in memeber_set:
15999
+ memeber_set.remove(property_name)
16000
+ if len(memeber_set) > 0:
16001
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16002
+
16003
+
16004
+
16005
+ class DescribeClusterTransparentEncryptInfoResponse(AbstractModel):
16006
+ """DescribeClusterTransparentEncryptInfo返回参数结构体
16007
+
16008
+ """
16009
+
16010
+ def __init__(self):
16011
+ r"""
16012
+ :param _KeyId: 加密秘钥id
16013
+ :type KeyId: str
16014
+ :param _KeyRegion: 加密秘钥地域
16015
+
16016
+ :type KeyRegion: str
16017
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16018
+ :type RequestId: str
16019
+ """
16020
+ self._KeyId = None
16021
+ self._KeyRegion = None
16022
+ self._RequestId = None
16023
+
16024
+ @property
16025
+ def KeyId(self):
16026
+ """加密秘钥id
16027
+ :rtype: str
16028
+ """
16029
+ return self._KeyId
16030
+
16031
+ @KeyId.setter
16032
+ def KeyId(self, KeyId):
16033
+ self._KeyId = KeyId
16034
+
16035
+ @property
16036
+ def KeyRegion(self):
16037
+ """加密秘钥地域
16038
+
16039
+ :rtype: str
16040
+ """
16041
+ return self._KeyRegion
16042
+
16043
+ @KeyRegion.setter
16044
+ def KeyRegion(self, KeyRegion):
16045
+ self._KeyRegion = KeyRegion
16046
+
16047
+ @property
16048
+ def RequestId(self):
16049
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16050
+ :rtype: str
16051
+ """
16052
+ return self._RequestId
16053
+
16054
+ @RequestId.setter
16055
+ def RequestId(self, RequestId):
16056
+ self._RequestId = RequestId
16057
+
16058
+
16059
+ def _deserialize(self, params):
16060
+ self._KeyId = params.get("KeyId")
16061
+ self._KeyRegion = params.get("KeyRegion")
16062
+ self._RequestId = params.get("RequestId")
16063
+
16064
+
15969
16065
  class DescribeClustersRequest(AbstractModel):
15970
16066
  """DescribeClusters请求参数结构体
15971
16067
 
@@ -23305,10 +23401,10 @@ class IsolateClusterResponse(AbstractModel):
23305
23401
 
23306
23402
  def __init__(self):
23307
23403
  r"""
23308
- :param _FlowId: 任务流ID
23404
+ :param _FlowId: 任务流ID(后付费或者serverless资源返回,如果需要同步任务状态,请使用DescribeFlow接口)
23309
23405
  注意:此字段可能返回 null,表示取不到有效值。
23310
23406
  :type FlowId: int
23311
- :param _DealNames: 退款订单号
23407
+ :param _DealNames: 退款订单号(预付费资源返回,如果需要同步订单状态,请使用计费产品的DescribeDealsByCond同步订单状态)
23312
23408
  注意:此字段可能返回 null,表示取不到有效值。
23313
23409
  :type DealNames: list of str
23314
23410
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -23320,7 +23416,7 @@ class IsolateClusterResponse(AbstractModel):
23320
23416
 
23321
23417
  @property
23322
23418
  def FlowId(self):
23323
- """任务流ID
23419
+ """任务流ID(后付费或者serverless资源返回,如果需要同步任务状态,请使用DescribeFlow接口)
23324
23420
  注意:此字段可能返回 null,表示取不到有效值。
23325
23421
  :rtype: int
23326
23422
  """
@@ -23332,7 +23428,7 @@ class IsolateClusterResponse(AbstractModel):
23332
23428
 
23333
23429
  @property
23334
23430
  def DealNames(self):
23335
- """退款订单号
23431
+ """退款订单号(预付费资源返回,如果需要同步订单状态,请使用计费产品的DescribeDealsByCond同步订单状态)
23336
23432
  注意:此字段可能返回 null,表示取不到有效值。
23337
23433
  :rtype: list of str
23338
23434
  """
@@ -29045,6 +29141,132 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
29045
29141
  self._RequestId = params.get("RequestId")
29046
29142
 
29047
29143
 
29144
+ class OpenClusterTransparentEncryptRequest(AbstractModel):
29145
+ """OpenClusterTransparentEncrypt请求参数结构体
29146
+
29147
+ """
29148
+
29149
+ def __init__(self):
29150
+ r"""
29151
+ :param _ClusterId: 集群id
29152
+ :type ClusterId: str
29153
+ :param _KeyType: 秘钥类型(cloud,custom)
29154
+ :type KeyType: str
29155
+ :param _KeyId: 秘钥Id
29156
+ :type KeyId: str
29157
+ :param _KeyRegion: 秘钥地域
29158
+ :type KeyRegion: str
29159
+ """
29160
+ self._ClusterId = None
29161
+ self._KeyType = None
29162
+ self._KeyId = None
29163
+ self._KeyRegion = None
29164
+
29165
+ @property
29166
+ def ClusterId(self):
29167
+ """集群id
29168
+ :rtype: str
29169
+ """
29170
+ return self._ClusterId
29171
+
29172
+ @ClusterId.setter
29173
+ def ClusterId(self, ClusterId):
29174
+ self._ClusterId = ClusterId
29175
+
29176
+ @property
29177
+ def KeyType(self):
29178
+ """秘钥类型(cloud,custom)
29179
+ :rtype: str
29180
+ """
29181
+ return self._KeyType
29182
+
29183
+ @KeyType.setter
29184
+ def KeyType(self, KeyType):
29185
+ self._KeyType = KeyType
29186
+
29187
+ @property
29188
+ def KeyId(self):
29189
+ """秘钥Id
29190
+ :rtype: str
29191
+ """
29192
+ return self._KeyId
29193
+
29194
+ @KeyId.setter
29195
+ def KeyId(self, KeyId):
29196
+ self._KeyId = KeyId
29197
+
29198
+ @property
29199
+ def KeyRegion(self):
29200
+ """秘钥地域
29201
+ :rtype: str
29202
+ """
29203
+ return self._KeyRegion
29204
+
29205
+ @KeyRegion.setter
29206
+ def KeyRegion(self, KeyRegion):
29207
+ self._KeyRegion = KeyRegion
29208
+
29209
+
29210
+ def _deserialize(self, params):
29211
+ self._ClusterId = params.get("ClusterId")
29212
+ self._KeyType = params.get("KeyType")
29213
+ self._KeyId = params.get("KeyId")
29214
+ self._KeyRegion = params.get("KeyRegion")
29215
+ memeber_set = set(params.keys())
29216
+ for name, value in vars(self).items():
29217
+ property_name = name[1:]
29218
+ if property_name in memeber_set:
29219
+ memeber_set.remove(property_name)
29220
+ if len(memeber_set) > 0:
29221
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
29222
+
29223
+
29224
+
29225
+ class OpenClusterTransparentEncryptResponse(AbstractModel):
29226
+ """OpenClusterTransparentEncrypt返回参数结构体
29227
+
29228
+ """
29229
+
29230
+ def __init__(self):
29231
+ r"""
29232
+ :param _TaskId: 异步任务id
29233
+
29234
+ :type TaskId: int
29235
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29236
+ :type RequestId: str
29237
+ """
29238
+ self._TaskId = None
29239
+ self._RequestId = None
29240
+
29241
+ @property
29242
+ def TaskId(self):
29243
+ """异步任务id
29244
+
29245
+ :rtype: int
29246
+ """
29247
+ return self._TaskId
29248
+
29249
+ @TaskId.setter
29250
+ def TaskId(self, TaskId):
29251
+ self._TaskId = TaskId
29252
+
29253
+ @property
29254
+ def RequestId(self):
29255
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29256
+ :rtype: str
29257
+ """
29258
+ return self._RequestId
29259
+
29260
+ @RequestId.setter
29261
+ def RequestId(self, RequestId):
29262
+ self._RequestId = RequestId
29263
+
29264
+
29265
+ def _deserialize(self, params):
29266
+ self._TaskId = params.get("TaskId")
29267
+ self._RequestId = params.get("RequestId")
29268
+
29269
+
29048
29270
  class OpenReadOnlyInstanceExclusiveAccessRequest(AbstractModel):
29049
29271
  """OpenReadOnlyInstanceExclusiveAccess请求参数结构体
29050
29272
 
@@ -16978,8 +16978,14 @@ class SubsErr(AbstractModel):
16978
16978
  r"""
16979
16979
  :param _Message: 报错信息
16980
16980
  :type Message: str
16981
+ :param _Reason: 报错原因
16982
+ :type Reason: str
16983
+ :param _Solution: 建议的修复方案
16984
+ :type Solution: str
16981
16985
  """
16982
16986
  self._Message = None
16987
+ self._Reason = None
16988
+ self._Solution = None
16983
16989
 
16984
16990
  @property
16985
16991
  def Message(self):
@@ -16992,9 +16998,33 @@ class SubsErr(AbstractModel):
16992
16998
  def Message(self, Message):
16993
16999
  self._Message = Message
16994
17000
 
17001
+ @property
17002
+ def Reason(self):
17003
+ """报错原因
17004
+ :rtype: str
17005
+ """
17006
+ return self._Reason
17007
+
17008
+ @Reason.setter
17009
+ def Reason(self, Reason):
17010
+ self._Reason = Reason
17011
+
17012
+ @property
17013
+ def Solution(self):
17014
+ """建议的修复方案
17015
+ :rtype: str
17016
+ """
17017
+ return self._Solution
17018
+
17019
+ @Solution.setter
17020
+ def Solution(self, Solution):
17021
+ self._Solution = Solution
17022
+
16995
17023
 
16996
17024
  def _deserialize(self, params):
16997
17025
  self._Message = params.get("Message")
17026
+ self._Reason = params.get("Reason")
17027
+ self._Solution = params.get("Solution")
16998
17028
  memeber_set = set(params.keys())
16999
17029
  for name, value in vars(self).items():
17000
17030
  property_name = name[1:]