tencentcloud-sdk-python 3.0.1289__py2.py3-none-any.whl → 3.0.1290__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 (38) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdb/v20170320/cdb_client.py +22 -23
  3. tencentcloud/cdb/v20170320/errorcodes.py +3 -0
  4. tencentcloud/cdb/v20170320/models.py +120 -76
  5. tencentcloud/cdwdoris/v20211228/models.py +43 -0
  6. tencentcloud/chdfs/v20201112/models.py +15 -27
  7. tencentcloud/clb/v20180317/models.py +28 -4
  8. tencentcloud/cynosdb/v20190107/cynosdb_client.py +4 -4
  9. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  10. tencentcloud/cynosdb/v20190107/models.py +4 -4
  11. tencentcloud/dbbrain/v20210527/models.py +4 -4
  12. tencentcloud/dc/v20180410/models.py +114 -18
  13. tencentcloud/dts/v20211206/models.py +17 -17
  14. tencentcloud/ecm/v20190719/models.py +0 -8
  15. tencentcloud/ess/v20201111/models.py +62 -12
  16. tencentcloud/essbasic/v20210526/models.py +50 -0
  17. tencentcloud/facefusion/v20220927/models.py +2 -6
  18. tencentcloud/hunyuan/v20230901/models.py +38 -0
  19. tencentcloud/lcic/v20220817/models.py +4 -2
  20. tencentcloud/lighthouse/v20200324/lighthouse_client.py +11 -2
  21. tencentcloud/live/v20180801/models.py +0 -18
  22. tencentcloud/mongodb/v20190725/models.py +17 -4
  23. tencentcloud/ocr/v20181119/ocr_client.py +1 -1
  24. tencentcloud/redis/v20180412/models.py +2 -2
  25. tencentcloud/sqlserver/v20180328/models.py +256 -12
  26. tencentcloud/sqlserver/v20180328/sqlserver_client.py +2 -2
  27. tencentcloud/tdmq/v20200217/models.py +109 -0
  28. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  29. tencentcloud/trocket/v20230308/models.py +970 -51
  30. tencentcloud/trocket/v20230308/trocket_client.py +69 -0
  31. tencentcloud/tsf/v20180326/models.py +4 -4
  32. tencentcloud/tsf/v20180326/tsf_client.py +3 -1
  33. tencentcloud/vod/v20180717/models.py +48 -0
  34. {tencentcloud_sdk_python-3.0.1289.dist-info → tencentcloud_sdk_python-3.0.1290.dist-info}/METADATA +1 -1
  35. {tencentcloud_sdk_python-3.0.1289.dist-info → tencentcloud_sdk_python-3.0.1290.dist-info}/RECORD +38 -38
  36. {tencentcloud_sdk_python-3.0.1289.dist-info → tencentcloud_sdk_python-3.0.1290.dist-info}/LICENSE +0 -0
  37. {tencentcloud_sdk_python-3.0.1289.dist-info → tencentcloud_sdk_python-3.0.1290.dist-info}/WHEEL +0 -0
  38. {tencentcloud_sdk_python-3.0.1289.dist-info → tencentcloud_sdk_python-3.0.1290.dist-info}/top_level.txt +0 -0
@@ -12155,6 +12155,10 @@ class RecoverBackUpJobRequest(AbstractModel):
12155
12155
  :type RecoverScope: str
12156
12156
  :param _RecoverDatabase: 恢复库:如果是按库备份,则需要该字段,库之间用","分割
12157
12157
  :type RecoverDatabase: str
12158
+ :param _ReserveStoragePolicy: 1:恢复后,不保留降冷策略,数据变为热数据;
12159
+ 2:恢复后,沿用备份表的降冷策略;
12160
+ 0:默认值,该版本没有这个配置(2.1版本2.1.8之前;2.0版本2.0.16之前)
12161
+ :type ReserveStoragePolicy: int
12158
12162
  """
12159
12163
  self._InstanceId = None
12160
12164
  self._BackUpJobId = None
@@ -12168,6 +12172,7 @@ class RecoverBackUpJobRequest(AbstractModel):
12168
12172
  self._OperationType = None
12169
12173
  self._RecoverScope = None
12170
12174
  self._RecoverDatabase = None
12175
+ self._ReserveStoragePolicy = None
12171
12176
 
12172
12177
  @property
12173
12178
  def InstanceId(self):
@@ -12215,6 +12220,8 @@ class RecoverBackUpJobRequest(AbstractModel):
12215
12220
 
12216
12221
  @property
12217
12222
  def RecoverType(self):
12223
+ warnings.warn("parameter `RecoverType` is deprecated", DeprecationWarning)
12224
+
12218
12225
  """0默认 1cos恢复
12219
12226
  :rtype: int
12220
12227
  """
@@ -12222,10 +12229,14 @@ class RecoverBackUpJobRequest(AbstractModel):
12222
12229
 
12223
12230
  @RecoverType.setter
12224
12231
  def RecoverType(self, RecoverType):
12232
+ warnings.warn("parameter `RecoverType` is deprecated", DeprecationWarning)
12233
+
12225
12234
  self._RecoverType = RecoverType
12226
12235
 
12227
12236
  @property
12228
12237
  def CosSourceInfo(self):
12238
+ warnings.warn("parameter `CosSourceInfo` is deprecated", DeprecationWarning)
12239
+
12229
12240
  """CosSourceInfo对象
12230
12241
  :rtype: :class:`tencentcloud.cdwdoris.v20211228.models.CosSourceInfo`
12231
12242
  """
@@ -12233,10 +12244,14 @@ class RecoverBackUpJobRequest(AbstractModel):
12233
12244
 
12234
12245
  @CosSourceInfo.setter
12235
12246
  def CosSourceInfo(self, CosSourceInfo):
12247
+ warnings.warn("parameter `CosSourceInfo` is deprecated", DeprecationWarning)
12248
+
12236
12249
  self._CosSourceInfo = CosSourceInfo
12237
12250
 
12238
12251
  @property
12239
12252
  def ScheduleType(self):
12253
+ warnings.warn("parameter `ScheduleType` is deprecated", DeprecationWarning)
12254
+
12240
12255
  """0默认 1定期执行
12241
12256
  :rtype: int
12242
12257
  """
@@ -12244,10 +12259,14 @@ class RecoverBackUpJobRequest(AbstractModel):
12244
12259
 
12245
12260
  @ScheduleType.setter
12246
12261
  def ScheduleType(self, ScheduleType):
12262
+ warnings.warn("parameter `ScheduleType` is deprecated", DeprecationWarning)
12263
+
12247
12264
  self._ScheduleType = ScheduleType
12248
12265
 
12249
12266
  @property
12250
12267
  def NextTime(self):
12268
+ warnings.warn("parameter `NextTime` is deprecated", DeprecationWarning)
12269
+
12251
12270
  """年-月-日 时:分:秒
12252
12271
  :rtype: str
12253
12272
  """
@@ -12255,10 +12274,14 @@ class RecoverBackUpJobRequest(AbstractModel):
12255
12274
 
12256
12275
  @NextTime.setter
12257
12276
  def NextTime(self, NextTime):
12277
+ warnings.warn("parameter `NextTime` is deprecated", DeprecationWarning)
12278
+
12258
12279
  self._NextTime = NextTime
12259
12280
 
12260
12281
  @property
12261
12282
  def ScheduleName(self):
12283
+ warnings.warn("parameter `ScheduleName` is deprecated", DeprecationWarning)
12284
+
12262
12285
  """调度名称
12263
12286
  :rtype: str
12264
12287
  """
@@ -12266,10 +12289,14 @@ class RecoverBackUpJobRequest(AbstractModel):
12266
12289
 
12267
12290
  @ScheduleName.setter
12268
12291
  def ScheduleName(self, ScheduleName):
12292
+ warnings.warn("parameter `ScheduleName` is deprecated", DeprecationWarning)
12293
+
12269
12294
  self._ScheduleName = ScheduleName
12270
12295
 
12271
12296
  @property
12272
12297
  def OperationType(self):
12298
+ warnings.warn("parameter `OperationType` is deprecated", DeprecationWarning)
12299
+
12273
12300
  """create update
12274
12301
  :rtype: str
12275
12302
  """
@@ -12277,6 +12304,8 @@ class RecoverBackUpJobRequest(AbstractModel):
12277
12304
 
12278
12305
  @OperationType.setter
12279
12306
  def OperationType(self, OperationType):
12307
+ warnings.warn("parameter `OperationType` is deprecated", DeprecationWarning)
12308
+
12280
12309
  self._OperationType = OperationType
12281
12310
 
12282
12311
  @property
@@ -12301,6 +12330,19 @@ class RecoverBackUpJobRequest(AbstractModel):
12301
12330
  def RecoverDatabase(self, RecoverDatabase):
12302
12331
  self._RecoverDatabase = RecoverDatabase
12303
12332
 
12333
+ @property
12334
+ def ReserveStoragePolicy(self):
12335
+ """1:恢复后,不保留降冷策略,数据变为热数据;
12336
+ 2:恢复后,沿用备份表的降冷策略;
12337
+ 0:默认值,该版本没有这个配置(2.1版本2.1.8之前;2.0版本2.0.16之前)
12338
+ :rtype: int
12339
+ """
12340
+ return self._ReserveStoragePolicy
12341
+
12342
+ @ReserveStoragePolicy.setter
12343
+ def ReserveStoragePolicy(self, ReserveStoragePolicy):
12344
+ self._ReserveStoragePolicy = ReserveStoragePolicy
12345
+
12304
12346
 
12305
12347
  def _deserialize(self, params):
12306
12348
  self._InstanceId = params.get("InstanceId")
@@ -12317,6 +12359,7 @@ class RecoverBackUpJobRequest(AbstractModel):
12317
12359
  self._OperationType = params.get("OperationType")
12318
12360
  self._RecoverScope = params.get("RecoverScope")
12319
12361
  self._RecoverDatabase = params.get("RecoverDatabase")
12362
+ self._ReserveStoragePolicy = params.get("ReserveStoragePolicy")
12320
12363
  memeber_set = set(params.keys())
12321
12364
  for name, value in vars(self).items():
12322
12365
  property_name = name[1:]
@@ -545,12 +545,12 @@ class CreateFileSystemRequest(AbstractModel):
545
545
  r"""
546
546
  :param _FileSystemName: 文件系统名称
547
547
  :type FileSystemName: str
548
- :param _CapacityQuota: 文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍
549
- :type CapacityQuota: int
550
548
  :param _PosixAcl: 是否校验POSIX ACL
551
549
  :type PosixAcl: bool
552
550
  :param _Description: 文件系统描述,默认为空字符串
553
551
  :type Description: str
552
+ :param _CapacityQuota: 文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍
553
+ :type CapacityQuota: int
554
554
  :param _SuperUsers: 超级用户名列表,默认为空数组
555
555
  :type SuperUsers: list of str
556
556
  :param _RootInodeUser: 根目录Inode用户名,默认为hadoop
@@ -565,9 +565,9 @@ class CreateFileSystemRequest(AbstractModel):
565
565
  :type Tags: list of Tag
566
566
  """
567
567
  self._FileSystemName = None
568
- self._CapacityQuota = None
569
568
  self._PosixAcl = None
570
569
  self._Description = None
570
+ self._CapacityQuota = None
571
571
  self._SuperUsers = None
572
572
  self._RootInodeUser = None
573
573
  self._RootInodeGroup = None
@@ -586,17 +586,6 @@ class CreateFileSystemRequest(AbstractModel):
586
586
  def FileSystemName(self, FileSystemName):
587
587
  self._FileSystemName = FileSystemName
588
588
 
589
- @property
590
- def CapacityQuota(self):
591
- """文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍
592
- :rtype: int
593
- """
594
- return self._CapacityQuota
595
-
596
- @CapacityQuota.setter
597
- def CapacityQuota(self, CapacityQuota):
598
- self._CapacityQuota = CapacityQuota
599
-
600
589
  @property
601
590
  def PosixAcl(self):
602
591
  """是否校验POSIX ACL
@@ -619,6 +608,17 @@ class CreateFileSystemRequest(AbstractModel):
619
608
  def Description(self, Description):
620
609
  self._Description = Description
621
610
 
611
+ @property
612
+ def CapacityQuota(self):
613
+ """文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍
614
+ :rtype: int
615
+ """
616
+ return self._CapacityQuota
617
+
618
+ @CapacityQuota.setter
619
+ def CapacityQuota(self, CapacityQuota):
620
+ self._CapacityQuota = CapacityQuota
621
+
622
622
  @property
623
623
  def SuperUsers(self):
624
624
  """超级用户名列表,默认为空数组
@@ -688,9 +688,9 @@ class CreateFileSystemRequest(AbstractModel):
688
688
 
689
689
  def _deserialize(self, params):
690
690
  self._FileSystemName = params.get("FileSystemName")
691
- self._CapacityQuota = params.get("CapacityQuota")
692
691
  self._PosixAcl = params.get("PosixAcl")
693
692
  self._Description = params.get("Description")
693
+ self._CapacityQuota = params.get("CapacityQuota")
694
694
  self._SuperUsers = params.get("SuperUsers")
695
695
  self._RootInodeUser = params.get("RootInodeUser")
696
696
  self._RootInodeGroup = params.get("RootInodeGroup")
@@ -3566,22 +3566,16 @@ class Summary(AbstractModel):
3566
3566
  def __init__(self):
3567
3567
  r"""
3568
3568
  :param _CapacityUsed: 已使用容量(byte)
3569
- 注意:此字段可能返回 null,表示取不到有效值。
3570
3569
  :type CapacityUsed: int
3571
3570
  :param _StandardCapacityUsed: 已使用COS标准存储容量(byte)
3572
- 注意:此字段可能返回 null,表示取不到有效值。
3573
3571
  :type StandardCapacityUsed: int
3574
3572
  :param _DegradeCapacityUsed: 已使用COS低频存储容量(byte)
3575
- 注意:此字段可能返回 null,表示取不到有效值。
3576
3573
  :type DegradeCapacityUsed: int
3577
3574
  :param _ArchiveCapacityUsed: 已使用COS归档存储容量(byte)
3578
- 注意:此字段可能返回 null,表示取不到有效值。
3579
3575
  :type ArchiveCapacityUsed: int
3580
3576
  :param _DeepArchiveCapacityUsed: 已使用COS深度归档存储容量(byte)
3581
- 注意:此字段可能返回 null,表示取不到有效值。
3582
3577
  :type DeepArchiveCapacityUsed: int
3583
3578
  :param _IntelligentCapacityUsed: 已使用COS智能分层存储容量(byte)
3584
- 注意:此字段可能返回 null,表示取不到有效值。
3585
3579
  :type IntelligentCapacityUsed: int
3586
3580
  """
3587
3581
  self._CapacityUsed = None
@@ -3594,7 +3588,6 @@ class Summary(AbstractModel):
3594
3588
  @property
3595
3589
  def CapacityUsed(self):
3596
3590
  """已使用容量(byte)
3597
- 注意:此字段可能返回 null,表示取不到有效值。
3598
3591
  :rtype: int
3599
3592
  """
3600
3593
  return self._CapacityUsed
@@ -3606,7 +3599,6 @@ class Summary(AbstractModel):
3606
3599
  @property
3607
3600
  def StandardCapacityUsed(self):
3608
3601
  """已使用COS标准存储容量(byte)
3609
- 注意:此字段可能返回 null,表示取不到有效值。
3610
3602
  :rtype: int
3611
3603
  """
3612
3604
  return self._StandardCapacityUsed
@@ -3618,7 +3610,6 @@ class Summary(AbstractModel):
3618
3610
  @property
3619
3611
  def DegradeCapacityUsed(self):
3620
3612
  """已使用COS低频存储容量(byte)
3621
- 注意:此字段可能返回 null,表示取不到有效值。
3622
3613
  :rtype: int
3623
3614
  """
3624
3615
  return self._DegradeCapacityUsed
@@ -3630,7 +3621,6 @@ class Summary(AbstractModel):
3630
3621
  @property
3631
3622
  def ArchiveCapacityUsed(self):
3632
3623
  """已使用COS归档存储容量(byte)
3633
- 注意:此字段可能返回 null,表示取不到有效值。
3634
3624
  :rtype: int
3635
3625
  """
3636
3626
  return self._ArchiveCapacityUsed
@@ -3642,7 +3632,6 @@ class Summary(AbstractModel):
3642
3632
  @property
3643
3633
  def DeepArchiveCapacityUsed(self):
3644
3634
  """已使用COS深度归档存储容量(byte)
3645
- 注意:此字段可能返回 null,表示取不到有效值。
3646
3635
  :rtype: int
3647
3636
  """
3648
3637
  return self._DeepArchiveCapacityUsed
@@ -3654,7 +3643,6 @@ class Summary(AbstractModel):
3654
3643
  @property
3655
3644
  def IntelligentCapacityUsed(self):
3656
3645
  """已使用COS智能分层存储容量(byte)
3657
- 注意:此字段可能返回 null,表示取不到有效值。
3658
3646
  :rtype: int
3659
3647
  """
3660
3648
  return self._IntelligentCapacityUsed
@@ -3657,7 +3657,13 @@ class CreateListenerRequest(AbstractModel):
3657
3657
  :type ListenerNames: list of str
3658
3658
  :param _HealthCheck: 健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。
3659
3659
  :type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
3660
- :param _Certificate: 证书相关信息,此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。此参数和MultiCertInfo不能同时传入。
3660
+ :param _Certificate: 证书相关信息。参数限制如下:
3661
+ <li>
3662
+ 此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
3663
+ </li>
3664
+ <li>
3665
+ 创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。
3666
+ </li>
3661
3667
  :type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
3662
3668
  :param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。
3663
3669
  :type SessionExpireTime: int
@@ -3676,7 +3682,13 @@ class CreateListenerRequest(AbstractModel):
3676
3682
  :type EndPort: int
3677
3683
  :param _DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
3678
3684
  :type DeregisterTargetRst: bool
3679
- :param _MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书;此参数仅适用于未开启SNI特性的HTTPS监听器。此参数和Certificate不能同时传入。
3685
+ :param _MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:
3686
+ <li>
3687
+ 此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
3688
+ </li>
3689
+ <li>
3690
+ 创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。
3691
+ </li>
3680
3692
  :type MultiCertInfo: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
3681
3693
  :param _MaxConn: 监听器最大连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
3682
3694
  :type MaxConn: int
@@ -3773,7 +3785,13 @@ class CreateListenerRequest(AbstractModel):
3773
3785
 
3774
3786
  @property
3775
3787
  def Certificate(self):
3776
- """证书相关信息,此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。此参数和MultiCertInfo不能同时传入。
3788
+ """证书相关信息。参数限制如下:
3789
+ <li>
3790
+ 此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
3791
+ </li>
3792
+ <li>
3793
+ 创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。
3794
+ </li>
3777
3795
  :rtype: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
3778
3796
  """
3779
3797
  return self._Certificate
@@ -3873,7 +3891,13 @@ class CreateListenerRequest(AbstractModel):
3873
3891
 
3874
3892
  @property
3875
3893
  def MultiCertInfo(self):
3876
- """证书信息,支持同时传入不同算法类型的多本服务端证书;此参数仅适用于未开启SNI特性的HTTPS监听器。此参数和Certificate不能同时传入。
3894
+ """证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:
3895
+ <li>
3896
+ 此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
3897
+ </li>
3898
+ <li>
3899
+ 创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。
3900
+ </li>
3877
3901
  :rtype: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
3878
3902
  """
3879
3903
  return self._MultiCertInfo
@@ -27,7 +27,7 @@ class CynosdbClient(AbstractClient):
27
27
 
28
28
 
29
29
  def ActivateInstance(self, request):
30
- """本接口(ActivateInstance)用于恢复已隔离的实例访问。
30
+ """本接口(ActivateInstance)用于恢复已隔离的实例访问。
31
31
 
32
32
  :param request: Request instance for ActivateInstance.
33
33
  :type request: :class:`tencentcloud.cynosdb.v20190107.models.ActivateInstanceRequest`
@@ -211,7 +211,7 @@ class CynosdbClient(AbstractClient):
211
211
 
212
212
 
213
213
  def CloseProxyEndPoint(self, request):
214
- """关闭数据库代理连接地址
214
+ """本接口(CloseProxyEndPoint)用于关闭数据库代理连接地址。
215
215
 
216
216
  :param request: Request instance for CloseProxyEndPoint.
217
217
  :type request: :class:`tencentcloud.cynosdb.v20190107.models.CloseProxyEndPointRequest`
@@ -855,7 +855,7 @@ class CynosdbClient(AbstractClient):
855
855
 
856
856
 
857
857
  def DescribeAuditRuleWithInstanceIds(self, request):
858
- """获取实例的审计规则
858
+ """本接口(DescribeAuditRuleWithInstanceIds)用于获取实例的审计规则。
859
859
 
860
860
  :param request: Request instance for DescribeAuditRuleWithInstanceIds.
861
861
  :type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeAuditRuleWithInstanceIdsRequest`
@@ -1522,7 +1522,7 @@ class CynosdbClient(AbstractClient):
1522
1522
 
1523
1523
 
1524
1524
  def DescribeInstancesWithinSameCluster(self, request):
1525
- """本接口(DescribeInstancesWithinSameCluster)用于查询同一集群下实例列表
1525
+ """本接口(DescribeInstancesWithinSameCluster)用于查询同一集群下实例列表
1526
1526
 
1527
1527
  :param request: Request instance for DescribeInstancesWithinSameCluster.
1528
1528
  :type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstancesWithinSameClusterRequest`
@@ -284,6 +284,9 @@ OPERATIONDENIED_INSTANCESTATUSLIMITERROR = 'OperationDenied.InstanceStatusLimitE
284
284
  # 账号余额不足。
285
285
  OPERATIONDENIED_INSUFFICIENTBALANCEERROR = 'OperationDenied.InsufficientBalanceError'
286
286
 
287
+ # 暂停状态的serverless不允许修改多可用区。
288
+ OPERATIONDENIED_PAUSEDSLSNOTALLOWMODIFYSLAVE = 'OperationDenied.PausedSlsNotAllowModifySlave'
289
+
287
290
  # proxy节点支持的可创建的连接数量不匹配,可支持的创建连接数{{1}},当前连接数{{2}}
288
291
  OPERATIONDENIED_PROXYCONNECTCOUNTCHECKERROR = 'OperationDenied.ProxyConnectCountCheckError'
289
292
 
@@ -21066,7 +21066,7 @@ class ExportInstanceErrorLogsRequest(AbstractModel):
21066
21066
  :type FileType: str
21067
21067
  :param _OrderBy: 可选值Timestamp
21068
21068
  :type OrderBy: str
21069
- :param _OrderByType: ASC或DESC
21069
+ :param _OrderByType: 排序类型,ASC DESC
21070
21070
  :type OrderByType: str
21071
21071
  """
21072
21072
  self._InstanceId = None
@@ -21181,7 +21181,7 @@ class ExportInstanceErrorLogsRequest(AbstractModel):
21181
21181
 
21182
21182
  @property
21183
21183
  def OrderByType(self):
21184
- """ASC或DESC
21184
+ """排序类型,ASC DESC
21185
21185
  :rtype: str
21186
21186
  """
21187
21187
  return self._OrderByType
@@ -22541,7 +22541,7 @@ class InstanceAuditLogFilter(AbstractModel):
22541
22541
 
22542
22542
  等于、不等于: sqlType - SQL类型; errCode - 错误码; threadId - 线程ID;
22543
22543
 
22544
- 范围搜索(时间类型统一为微秒): execTime - 执行时间; lockWaitTime - 执行时间; ioWaitTime - IO等待时间; trxLivingTime - 事物持续时间; cpuTime - cpu时间; checkRows - 扫描行数; affectRows - 影响行数; sentRows - 返回行数。
22544
+ 范围搜索(时间类型统一为微秒): execTime - 执行时间; lockWaitTime - 执行时间; ioWaitTime - IO等待时间; trxLivingTime - 事务持续时间; cpuTime - cpu时间; checkRows - 扫描行数; affectRows - 影响行数; sentRows - 返回行数。
22545
22545
  :type Type: str
22546
22546
  :param _Compare: 过滤条件。支持以下条件:
22547
22547
  WINC-包含(分词维度),
@@ -22569,7 +22569,7 @@ RA - 范围。
22569
22569
 
22570
22570
  等于、不等于: sqlType - SQL类型; errCode - 错误码; threadId - 线程ID;
22571
22571
 
22572
- 范围搜索(时间类型统一为微秒): execTime - 执行时间; lockWaitTime - 执行时间; ioWaitTime - IO等待时间; trxLivingTime - 事物持续时间; cpuTime - cpu时间; checkRows - 扫描行数; affectRows - 影响行数; sentRows - 返回行数。
22572
+ 范围搜索(时间类型统一为微秒): execTime - 执行时间; lockWaitTime - 执行时间; ioWaitTime - IO等待时间; trxLivingTime - 事务持续时间; cpuTime - cpu时间; checkRows - 扫描行数; affectRows - 影响行数; sentRows - 返回行数。
22573
22573
  :rtype: str
22574
22574
  """
22575
22575
  return self._Type
@@ -4081,9 +4081,9 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4081
4081
 
4082
4082
  def __init__(self):
4083
4083
  r"""
4084
- :param _Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB
4084
+ :param _Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB, "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "postgres" - 云数据库 PostgreSQL
4085
4085
  :type Product: str
4086
- :param _NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"
4086
+ :param _NodeRequestType: 该字段规则如下: 当product为"dcdb"则输入"dcdb", 当product为"mariadb"则输入"mariadb", 当product为"mysql"则输入"mysql", 当product为"cynosdb"则输入"mysql", 当product为"postgres"则输入"postgres"。
4087
4087
  :type NodeRequestType: str
4088
4088
  :param _InstanceId: 实例 ID 。
4089
4089
  :type InstanceId: str
@@ -4100,7 +4100,7 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4100
4100
 
4101
4101
  @property
4102
4102
  def Product(self):
4103
- """服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB
4103
+ """服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB, "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "postgres" - 云数据库 PostgreSQL
4104
4104
  :rtype: str
4105
4105
  """
4106
4106
  return self._Product
@@ -4111,7 +4111,7 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4111
4111
 
4112
4112
  @property
4113
4113
  def NodeRequestType(self):
4114
- """与Product保持一致。如:"dcdb" ,"mariadb"
4114
+ """该字段规则如下: 当product为"dcdb"则输入"dcdb", 当product为"mariadb"则输入"mariadb", 当product为"mysql"则输入"mysql", 当product为"cynosdb"则输入"mysql", 当product为"postgres"则输入"postgres"。
4115
4115
  :rtype: str
4116
4116
  """
4117
4117
  return self._NodeRequestType
@@ -101,21 +101,18 @@ class AccessPoint(AbstractModel):
101
101
  :type LineOperator: list of str
102
102
  :param _RegionId: 接入点管理的大区ID。
103
103
  :type RegionId: str
104
- :param _AvailablePortType: 接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
105
- 注意:此字段可能返回 null,表示取不到有效值。
104
+ :param _AvailablePortType: 接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
106
105
  :type AvailablePortType: list of str
107
- :param _Coordinate: 接入点经纬度
108
- 注意:此字段可能返回 null,表示取不到有效值。
106
+ :param _Coordinate: 接入点经纬度。
109
107
  :type Coordinate: :class:`tencentcloud.dc.v20180410.models.Coordinate`
110
- :param _City: 接入点所在城市
111
- 注意:此字段可能返回 null,表示取不到有效值。
108
+ :param _City: 接入点所在城市。
112
109
  :type City: str
113
- :param _Area: 接入点地域名称
114
- 注意:此字段可能返回 null,表示取不到有效值。
110
+ :param _Area: 接入点地域名称。
115
111
  :type Area: str
116
112
  :param _AccessPointType: 接入点类型。VXLAN/QCPL/QCAR
117
- 注意:此字段可能返回 null,表示取不到有效值。
118
113
  :type AccessPointType: str
114
+ :param _AvailablePortInfo: 端口规格信息。
115
+ :type AvailablePortInfo: list of PortSpecification
119
116
  """
120
117
  self._AccessPointName = None
121
118
  self._AccessPointId = None
@@ -128,6 +125,7 @@ class AccessPoint(AbstractModel):
128
125
  self._City = None
129
126
  self._Area = None
130
127
  self._AccessPointType = None
128
+ self._AvailablePortInfo = None
131
129
 
132
130
  @property
133
131
  def AccessPointName(self):
@@ -197,8 +195,7 @@ class AccessPoint(AbstractModel):
197
195
 
198
196
  @property
199
197
  def AvailablePortType(self):
200
- """接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
201
- 注意:此字段可能返回 null,表示取不到有效值。
198
+ """接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
202
199
  :rtype: list of str
203
200
  """
204
201
  return self._AvailablePortType
@@ -209,8 +206,7 @@ class AccessPoint(AbstractModel):
209
206
 
210
207
  @property
211
208
  def Coordinate(self):
212
- """接入点经纬度
213
- 注意:此字段可能返回 null,表示取不到有效值。
209
+ """接入点经纬度。
214
210
  :rtype: :class:`tencentcloud.dc.v20180410.models.Coordinate`
215
211
  """
216
212
  return self._Coordinate
@@ -221,8 +217,7 @@ class AccessPoint(AbstractModel):
221
217
 
222
218
  @property
223
219
  def City(self):
224
- """接入点所在城市
225
- 注意:此字段可能返回 null,表示取不到有效值。
220
+ """接入点所在城市。
226
221
  :rtype: str
227
222
  """
228
223
  return self._City
@@ -233,8 +228,7 @@ class AccessPoint(AbstractModel):
233
228
 
234
229
  @property
235
230
  def Area(self):
236
- """接入点地域名称
237
- 注意:此字段可能返回 null,表示取不到有效值。
231
+ """接入点地域名称。
238
232
  :rtype: str
239
233
  """
240
234
  return self._Area
@@ -246,7 +240,6 @@ class AccessPoint(AbstractModel):
246
240
  @property
247
241
  def AccessPointType(self):
248
242
  """接入点类型。VXLAN/QCPL/QCAR
249
- 注意:此字段可能返回 null,表示取不到有效值。
250
243
  :rtype: str
251
244
  """
252
245
  return self._AccessPointType
@@ -255,6 +248,17 @@ class AccessPoint(AbstractModel):
255
248
  def AccessPointType(self, AccessPointType):
256
249
  self._AccessPointType = AccessPointType
257
250
 
251
+ @property
252
+ def AvailablePortInfo(self):
253
+ """端口规格信息。
254
+ :rtype: list of PortSpecification
255
+ """
256
+ return self._AvailablePortInfo
257
+
258
+ @AvailablePortInfo.setter
259
+ def AvailablePortInfo(self, AvailablePortInfo):
260
+ self._AvailablePortInfo = AvailablePortInfo
261
+
258
262
 
259
263
  def _deserialize(self, params):
260
264
  self._AccessPointName = params.get("AccessPointName")
@@ -270,6 +274,12 @@ class AccessPoint(AbstractModel):
270
274
  self._City = params.get("City")
271
275
  self._Area = params.get("Area")
272
276
  self._AccessPointType = params.get("AccessPointType")
277
+ if params.get("AvailablePortInfo") is not None:
278
+ self._AvailablePortInfo = []
279
+ for item in params.get("AvailablePortInfo"):
280
+ obj = PortSpecification()
281
+ obj._deserialize(item)
282
+ self._AvailablePortInfo.append(obj)
273
283
  memeber_set = set(params.keys())
274
284
  for name, value in vars(self).items():
275
285
  property_name = name[1:]
@@ -2031,10 +2041,13 @@ class DescribeAccessPointsRequest(AbstractModel):
2031
2041
  :type Offset: int
2032
2042
  :param _Limit: 返回数量,默认为20,最大值为100。
2033
2043
  :type Limit: int
2044
+ :param _Filters: 过滤参数,支持:access-point-id、isp
2045
+ :type Filters: list of Filter
2034
2046
  """
2035
2047
  self._RegionId = None
2036
2048
  self._Offset = None
2037
2049
  self._Limit = None
2050
+ self._Filters = None
2038
2051
 
2039
2052
  @property
2040
2053
  def RegionId(self):
@@ -2070,11 +2083,28 @@ class DescribeAccessPointsRequest(AbstractModel):
2070
2083
  def Limit(self, Limit):
2071
2084
  self._Limit = Limit
2072
2085
 
2086
+ @property
2087
+ def Filters(self):
2088
+ """过滤参数,支持:access-point-id、isp
2089
+ :rtype: list of Filter
2090
+ """
2091
+ return self._Filters
2092
+
2093
+ @Filters.setter
2094
+ def Filters(self, Filters):
2095
+ self._Filters = Filters
2096
+
2073
2097
 
2074
2098
  def _deserialize(self, params):
2075
2099
  self._RegionId = params.get("RegionId")
2076
2100
  self._Offset = params.get("Offset")
2077
2101
  self._Limit = params.get("Limit")
2102
+ if params.get("Filters") is not None:
2103
+ self._Filters = []
2104
+ for item in params.get("Filters"):
2105
+ obj = Filter()
2106
+ obj._deserialize(item)
2107
+ self._Filters.append(obj)
2078
2108
  memeber_set = set(params.keys())
2079
2109
  for name, value in vars(self).items():
2080
2110
  property_name = name[1:]
@@ -6265,6 +6295,72 @@ class NQAInfo(AbstractModel):
6265
6295
 
6266
6296
 
6267
6297
 
6298
+ class PortSpecification(AbstractModel):
6299
+ """端口规格
6300
+
6301
+ """
6302
+
6303
+ def __init__(self):
6304
+ r"""
6305
+ :param _InternationalName: 端口名称
6306
+ :type InternationalName: str
6307
+ :param _Specification: 端口规格(M)
6308
+ :type Specification: int
6309
+ :param _PortType: 端口类型:T-电口,X-光口
6310
+ :type PortType: str
6311
+ """
6312
+ self._InternationalName = None
6313
+ self._Specification = None
6314
+ self._PortType = None
6315
+
6316
+ @property
6317
+ def InternationalName(self):
6318
+ """端口名称
6319
+ :rtype: str
6320
+ """
6321
+ return self._InternationalName
6322
+
6323
+ @InternationalName.setter
6324
+ def InternationalName(self, InternationalName):
6325
+ self._InternationalName = InternationalName
6326
+
6327
+ @property
6328
+ def Specification(self):
6329
+ """端口规格(M)
6330
+ :rtype: int
6331
+ """
6332
+ return self._Specification
6333
+
6334
+ @Specification.setter
6335
+ def Specification(self, Specification):
6336
+ self._Specification = Specification
6337
+
6338
+ @property
6339
+ def PortType(self):
6340
+ """端口类型:T-电口,X-光口
6341
+ :rtype: str
6342
+ """
6343
+ return self._PortType
6344
+
6345
+ @PortType.setter
6346
+ def PortType(self, PortType):
6347
+ self._PortType = PortType
6348
+
6349
+
6350
+ def _deserialize(self, params):
6351
+ self._InternationalName = params.get("InternationalName")
6352
+ self._Specification = params.get("Specification")
6353
+ self._PortType = params.get("PortType")
6354
+ memeber_set = set(params.keys())
6355
+ for name, value in vars(self).items():
6356
+ property_name = name[1:]
6357
+ if property_name in memeber_set:
6358
+ memeber_set.remove(property_name)
6359
+ if len(memeber_set) > 0:
6360
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6361
+
6362
+
6363
+
6268
6364
  class RejectDirectConnectTunnelRequest(AbstractModel):
6269
6365
  """RejectDirectConnectTunnel请求参数结构体
6270
6366