tencentcloud-sdk-python 3.0.1438__py2.py3-none-any.whl → 3.0.1440__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (35) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +83 -0
  3. tencentcloud/cdb/v20170320/models.py +4 -4
  4. tencentcloud/cdwch/v20200915/models.py +19 -6
  5. tencentcloud/cfg/v20210820/models.py +20 -0
  6. tencentcloud/clb/v20180317/models.py +2 -2
  7. tencentcloud/cls/v20201016/models.py +38 -24
  8. tencentcloud/csip/v20221121/csip_client.py +23 -0
  9. tencentcloud/csip/v20221121/models.py +578 -4
  10. tencentcloud/emr/v20190103/models.py +15 -0
  11. tencentcloud/es/v20180416/errorcodes.py +3 -0
  12. tencentcloud/es/v20180416/models.py +225 -0
  13. tencentcloud/hunyuan/v20230901/models.py +2 -2
  14. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  15. tencentcloud/mna/v20210119/errorcodes.py +1 -1
  16. tencentcloud/mps/v20190612/models.py +24 -0
  17. tencentcloud/omics/v20221128/models.py +175 -0
  18. tencentcloud/sqlserver/v20180328/models.py +30 -0
  19. tencentcloud/ssl/v20191205/models.py +60 -0
  20. tencentcloud/sts/v20180813/sts_client.py +16 -4
  21. tencentcloud/tdmq/v20200217/models.py +119 -2
  22. tencentcloud/teo/v20220901/models.py +130 -0
  23. tencentcloud/thpc/v20230321/errorcodes.py +24 -0
  24. tencentcloud/thpc/v20230321/models.py +1398 -132
  25. tencentcloud/thpc/v20230321/thpc_client.py +138 -0
  26. tencentcloud/trocket/v20230308/models.py +90 -20
  27. tencentcloud/tsf/v20180326/errorcodes.py +15 -15
  28. tencentcloud/vdb/v20230616/models.py +15 -0
  29. tencentcloud/vod/v20180717/models.py +12 -4
  30. tencentcloud/wedata/v20210820/models.py +15 -15
  31. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/METADATA +1 -1
  32. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/RECORD +35 -35
  33. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/LICENSE +0 -0
  34. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/WHEEL +0 -0
  35. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/top_level.txt +0 -0
@@ -708,6 +708,10 @@ class CreateVolumeRequest(AbstractModel):
708
708
  :type Description: str
709
709
  :param _Capacity: 缓存卷大小(GB),Turbo系列需要指定。
710
710
  :type Capacity: int
711
+ :param _EnableAutoScaleUp: 是否开启默认扩容,仅turbo类型文件存储支持
712
+ :type EnableAutoScaleUp: bool
713
+ :param _MetaType: turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
714
+ :type MetaType: str
711
715
  """
712
716
  self._EnvironmentId = None
713
717
  self._Name = None
@@ -715,6 +719,8 @@ class CreateVolumeRequest(AbstractModel):
715
719
  self._Spec = None
716
720
  self._Description = None
717
721
  self._Capacity = None
722
+ self._EnableAutoScaleUp = None
723
+ self._MetaType = None
718
724
 
719
725
  @property
720
726
  def EnvironmentId(self):
@@ -788,6 +794,28 @@ class CreateVolumeRequest(AbstractModel):
788
794
  def Capacity(self, Capacity):
789
795
  self._Capacity = Capacity
790
796
 
797
+ @property
798
+ def EnableAutoScaleUp(self):
799
+ """是否开启默认扩容,仅turbo类型文件存储支持
800
+ :rtype: bool
801
+ """
802
+ return self._EnableAutoScaleUp
803
+
804
+ @EnableAutoScaleUp.setter
805
+ def EnableAutoScaleUp(self, EnableAutoScaleUp):
806
+ self._EnableAutoScaleUp = EnableAutoScaleUp
807
+
808
+ @property
809
+ def MetaType(self):
810
+ """turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
811
+ :rtype: str
812
+ """
813
+ return self._MetaType
814
+
815
+ @MetaType.setter
816
+ def MetaType(self, MetaType):
817
+ self._MetaType = MetaType
818
+
791
819
 
792
820
  def _deserialize(self, params):
793
821
  self._EnvironmentId = params.get("EnvironmentId")
@@ -796,6 +824,8 @@ class CreateVolumeRequest(AbstractModel):
796
824
  self._Spec = params.get("Spec")
797
825
  self._Description = params.get("Description")
798
826
  self._Capacity = params.get("Capacity")
827
+ self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
828
+ self._MetaType = params.get("MetaType")
799
829
  memeber_set = set(params.keys())
800
830
  for name, value in vars(self).items():
801
831
  property_name = name[1:]
@@ -5758,10 +5788,16 @@ class StorageOption(AbstractModel):
5758
5788
  - turbo标准型起售40TiB,即40960GiB;扩容步长20TiB,即20480 GiB。
5759
5789
  - turbo性能型起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。
5760
5790
  :type Capacity: int
5791
+ :param _EnableAutoScaleUp: 是否开启默认扩容,仅turbo类型文件存储支持
5792
+ :type EnableAutoScaleUp: bool
5793
+ :param _MetaType: turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
5794
+ :type MetaType: str
5761
5795
  """
5762
5796
  self._StorageType = None
5763
5797
  self._Zone = None
5764
5798
  self._Capacity = None
5799
+ self._EnableAutoScaleUp = None
5800
+ self._MetaType = None
5765
5801
 
5766
5802
  @property
5767
5803
  def StorageType(self):
@@ -5802,11 +5838,35 @@ class StorageOption(AbstractModel):
5802
5838
  def Capacity(self, Capacity):
5803
5839
  self._Capacity = Capacity
5804
5840
 
5841
+ @property
5842
+ def EnableAutoScaleUp(self):
5843
+ """是否开启默认扩容,仅turbo类型文件存储支持
5844
+ :rtype: bool
5845
+ """
5846
+ return self._EnableAutoScaleUp
5847
+
5848
+ @EnableAutoScaleUp.setter
5849
+ def EnableAutoScaleUp(self, EnableAutoScaleUp):
5850
+ self._EnableAutoScaleUp = EnableAutoScaleUp
5851
+
5852
+ @property
5853
+ def MetaType(self):
5854
+ """turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
5855
+ :rtype: str
5856
+ """
5857
+ return self._MetaType
5858
+
5859
+ @MetaType.setter
5860
+ def MetaType(self, MetaType):
5861
+ self._MetaType = MetaType
5862
+
5805
5863
 
5806
5864
  def _deserialize(self, params):
5807
5865
  self._StorageType = params.get("StorageType")
5808
5866
  self._Zone = params.get("Zone")
5809
5867
  self._Capacity = params.get("Capacity")
5868
+ self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
5869
+ self._MetaType = params.get("MetaType")
5810
5870
  memeber_set = set(params.keys())
5811
5871
  for name, value in vars(self).items():
5812
5872
  property_name = name[1:]
@@ -6279,6 +6339,12 @@ class Volume(AbstractModel):
6279
6339
  :type IsDefault: bool
6280
6340
  :param _Status: 状态。
6281
6341
  :type Status: str
6342
+ :param _AutoScaleUpRule: turbo自动扩容策略
6343
+ :type AutoScaleUpRule: :class:`tencentcloud.omics.v20221128.models.VolumeAutoScaleUpRule`
6344
+ :param _MetaType: turbo元数据属性
6345
+ :type MetaType: str
6346
+ :param _Zone: 可用区
6347
+ :type Zone: str
6282
6348
  """
6283
6349
  self._VolumeId = None
6284
6350
  self._Name = None
@@ -6292,6 +6358,9 @@ class Volume(AbstractModel):
6292
6358
  self._DefaultMountPath = None
6293
6359
  self._IsDefault = None
6294
6360
  self._Status = None
6361
+ self._AutoScaleUpRule = None
6362
+ self._MetaType = None
6363
+ self._Zone = None
6295
6364
 
6296
6365
  @property
6297
6366
  def VolumeId(self):
@@ -6431,6 +6500,39 @@ class Volume(AbstractModel):
6431
6500
  def Status(self, Status):
6432
6501
  self._Status = Status
6433
6502
 
6503
+ @property
6504
+ def AutoScaleUpRule(self):
6505
+ """turbo自动扩容策略
6506
+ :rtype: :class:`tencentcloud.omics.v20221128.models.VolumeAutoScaleUpRule`
6507
+ """
6508
+ return self._AutoScaleUpRule
6509
+
6510
+ @AutoScaleUpRule.setter
6511
+ def AutoScaleUpRule(self, AutoScaleUpRule):
6512
+ self._AutoScaleUpRule = AutoScaleUpRule
6513
+
6514
+ @property
6515
+ def MetaType(self):
6516
+ """turbo元数据属性
6517
+ :rtype: str
6518
+ """
6519
+ return self._MetaType
6520
+
6521
+ @MetaType.setter
6522
+ def MetaType(self, MetaType):
6523
+ self._MetaType = MetaType
6524
+
6525
+ @property
6526
+ def Zone(self):
6527
+ """可用区
6528
+ :rtype: str
6529
+ """
6530
+ return self._Zone
6531
+
6532
+ @Zone.setter
6533
+ def Zone(self, Zone):
6534
+ self._Zone = Zone
6535
+
6434
6536
 
6435
6537
  def _deserialize(self, params):
6436
6538
  self._VolumeId = params.get("VolumeId")
@@ -6445,6 +6547,79 @@ class Volume(AbstractModel):
6445
6547
  self._DefaultMountPath = params.get("DefaultMountPath")
6446
6548
  self._IsDefault = params.get("IsDefault")
6447
6549
  self._Status = params.get("Status")
6550
+ if params.get("AutoScaleUpRule") is not None:
6551
+ self._AutoScaleUpRule = VolumeAutoScaleUpRule()
6552
+ self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
6553
+ self._MetaType = params.get("MetaType")
6554
+ self._Zone = params.get("Zone")
6555
+ memeber_set = set(params.keys())
6556
+ for name, value in vars(self).items():
6557
+ property_name = name[1:]
6558
+ if property_name in memeber_set:
6559
+ memeber_set.remove(property_name)
6560
+ if len(memeber_set) > 0:
6561
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6562
+
6563
+
6564
+
6565
+ class VolumeAutoScaleUpRule(AbstractModel):
6566
+ """缓存卷自动扩容策略
6567
+
6568
+ """
6569
+
6570
+ def __init__(self):
6571
+ r"""
6572
+ :param _Status: 自动扩容策略开启,关闭
6573
+ 示例值:open,close
6574
+ :type Status: str
6575
+ :param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
6576
+ :type ScaleThreshold: int
6577
+ :param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[10-90]
6578
+ :type TargetThreshold: int
6579
+ """
6580
+ self._Status = None
6581
+ self._ScaleThreshold = None
6582
+ self._TargetThreshold = None
6583
+
6584
+ @property
6585
+ def Status(self):
6586
+ """自动扩容策略开启,关闭
6587
+ 示例值:open,close
6588
+ :rtype: str
6589
+ """
6590
+ return self._Status
6591
+
6592
+ @Status.setter
6593
+ def Status(self, Status):
6594
+ self._Status = Status
6595
+
6596
+ @property
6597
+ def ScaleThreshold(self):
6598
+ """集群用量占比,到达这个值后开始扩容,范围[10-90]
6599
+ :rtype: int
6600
+ """
6601
+ return self._ScaleThreshold
6602
+
6603
+ @ScaleThreshold.setter
6604
+ def ScaleThreshold(self, ScaleThreshold):
6605
+ self._ScaleThreshold = ScaleThreshold
6606
+
6607
+ @property
6608
+ def TargetThreshold(self):
6609
+ """扩容后使用量跟集群总量比例,范围[10-90]
6610
+ :rtype: int
6611
+ """
6612
+ return self._TargetThreshold
6613
+
6614
+ @TargetThreshold.setter
6615
+ def TargetThreshold(self, TargetThreshold):
6616
+ self._TargetThreshold = TargetThreshold
6617
+
6618
+
6619
+ def _deserialize(self, params):
6620
+ self._Status = params.get("Status")
6621
+ self._ScaleThreshold = params.get("ScaleThreshold")
6622
+ self._TargetThreshold = params.get("TargetThreshold")
6448
6623
  memeber_set = set(params.keys())
6449
6624
  for name, value in vars(self).items():
6450
6625
  property_name = name[1:]
@@ -12079,6 +12079,10 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12079
12079
  :type MultiDrReadableInfo: list of DrReadableInfo
12080
12080
  :param _IsDiskEncryptFlag: 是否开启磁盘加密,1-开启,0-未开启
12081
12081
  :type IsDiskEncryptFlag: int
12082
+ :param _IsSafetyLimited: 是否安全限制部分功能,0-没有限制,1-有限制。限制的功能有:修改可用区、迁移变配、DTS数据迁移等
12083
+ :type IsSafetyLimited: int
12084
+ :param _IsSupportSA: 是否支持创建SA权限账号,0-不支持,1-支持
12085
+ :type IsSupportSA: int
12082
12086
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12083
12087
  :type RequestId: str
12084
12088
  """
@@ -12097,6 +12101,8 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12097
12101
  self._XEventStatus = None
12098
12102
  self._MultiDrReadableInfo = None
12099
12103
  self._IsDiskEncryptFlag = None
12104
+ self._IsSafetyLimited = None
12105
+ self._IsSupportSA = None
12100
12106
  self._RequestId = None
12101
12107
 
12102
12108
  @property
@@ -12264,6 +12270,28 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12264
12270
  def IsDiskEncryptFlag(self, IsDiskEncryptFlag):
12265
12271
  self._IsDiskEncryptFlag = IsDiskEncryptFlag
12266
12272
 
12273
+ @property
12274
+ def IsSafetyLimited(self):
12275
+ """是否安全限制部分功能,0-没有限制,1-有限制。限制的功能有:修改可用区、迁移变配、DTS数据迁移等
12276
+ :rtype: int
12277
+ """
12278
+ return self._IsSafetyLimited
12279
+
12280
+ @IsSafetyLimited.setter
12281
+ def IsSafetyLimited(self, IsSafetyLimited):
12282
+ self._IsSafetyLimited = IsSafetyLimited
12283
+
12284
+ @property
12285
+ def IsSupportSA(self):
12286
+ """是否支持创建SA权限账号,0-不支持,1-支持
12287
+ :rtype: int
12288
+ """
12289
+ return self._IsSupportSA
12290
+
12291
+ @IsSupportSA.setter
12292
+ def IsSupportSA(self, IsSupportSA):
12293
+ self._IsSupportSA = IsSupportSA
12294
+
12267
12295
  @property
12268
12296
  def RequestId(self):
12269
12297
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -12308,6 +12336,8 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12308
12336
  obj._deserialize(item)
12309
12337
  self._MultiDrReadableInfo.append(obj)
12310
12338
  self._IsDiskEncryptFlag = params.get("IsDiskEncryptFlag")
12339
+ self._IsSafetyLimited = params.get("IsSafetyLimited")
12340
+ self._IsSupportSA = params.get("IsSupportSA")
12311
12341
  self._RequestId = params.get("RequestId")
12312
12342
 
12313
12343
 
@@ -14265,6 +14265,14 @@ class DescribeManagerDetailResponse(AbstractModel):
14265
14265
  :type ManagerId: int
14266
14266
  :param _StatusInfo: 审核状态详细信息
14267
14267
  :type StatusInfo: list of ManagerStatusInfo
14268
+ :param _ManagerIdType: 管理员证件类型,SFZ代表身份证,HZ代表护照
14269
+ :type ManagerIdType: str
14270
+ :param _ManagerIdNumber: 管理员证件号码
14271
+ :type ManagerIdNumber: str
14272
+ :param _ContactIdType: 联系人证件类型,SFZ代表身份证,HZ代表护照
14273
+ :type ContactIdType: str
14274
+ :param _ContactIdNumber: 联系人证件号码
14275
+ :type ContactIdNumber: str
14268
14276
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14269
14277
  :type RequestId: str
14270
14278
  """
@@ -14287,6 +14295,10 @@ class DescribeManagerDetailResponse(AbstractModel):
14287
14295
  self._CompanyId = None
14288
14296
  self._ManagerId = None
14289
14297
  self._StatusInfo = None
14298
+ self._ManagerIdType = None
14299
+ self._ManagerIdNumber = None
14300
+ self._ContactIdType = None
14301
+ self._ContactIdNumber = None
14290
14302
  self._RequestId = None
14291
14303
 
14292
14304
  @property
@@ -14504,6 +14516,50 @@ class DescribeManagerDetailResponse(AbstractModel):
14504
14516
  def StatusInfo(self, StatusInfo):
14505
14517
  self._StatusInfo = StatusInfo
14506
14518
 
14519
+ @property
14520
+ def ManagerIdType(self):
14521
+ """管理员证件类型,SFZ代表身份证,HZ代表护照
14522
+ :rtype: str
14523
+ """
14524
+ return self._ManagerIdType
14525
+
14526
+ @ManagerIdType.setter
14527
+ def ManagerIdType(self, ManagerIdType):
14528
+ self._ManagerIdType = ManagerIdType
14529
+
14530
+ @property
14531
+ def ManagerIdNumber(self):
14532
+ """管理员证件号码
14533
+ :rtype: str
14534
+ """
14535
+ return self._ManagerIdNumber
14536
+
14537
+ @ManagerIdNumber.setter
14538
+ def ManagerIdNumber(self, ManagerIdNumber):
14539
+ self._ManagerIdNumber = ManagerIdNumber
14540
+
14541
+ @property
14542
+ def ContactIdType(self):
14543
+ """联系人证件类型,SFZ代表身份证,HZ代表护照
14544
+ :rtype: str
14545
+ """
14546
+ return self._ContactIdType
14547
+
14548
+ @ContactIdType.setter
14549
+ def ContactIdType(self, ContactIdType):
14550
+ self._ContactIdType = ContactIdType
14551
+
14552
+ @property
14553
+ def ContactIdNumber(self):
14554
+ """联系人证件号码
14555
+ :rtype: str
14556
+ """
14557
+ return self._ContactIdNumber
14558
+
14559
+ @ContactIdNumber.setter
14560
+ def ContactIdNumber(self, ContactIdNumber):
14561
+ self._ContactIdNumber = ContactIdNumber
14562
+
14507
14563
  @property
14508
14564
  def RequestId(self):
14509
14565
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -14543,6 +14599,10 @@ class DescribeManagerDetailResponse(AbstractModel):
14543
14599
  obj = ManagerStatusInfo()
14544
14600
  obj._deserialize(item)
14545
14601
  self._StatusInfo.append(obj)
14602
+ self._ManagerIdType = params.get("ManagerIdType")
14603
+ self._ManagerIdNumber = params.get("ManagerIdNumber")
14604
+ self._ContactIdType = params.get("ContactIdType")
14605
+ self._ContactIdNumber = params.get("ContactIdNumber")
14546
14606
  self._RequestId = params.get("RequestId")
14547
14607
 
14548
14608
 
@@ -140,13 +140,25 @@ class StsClient(AbstractClient):
140
140
  def GetFederationToken(self, request):
141
141
  """**使用说明**
142
142
 
143
- 返回一组临时访问凭证,典型的应用场景是代理应用程序集中申请临时访问凭证,下发给企业网络内其他分布式终端应用,比如终端应用上传文件到COS场景,本接口仅支持永久密钥调用。
143
+ 1. 返回一组临时身份访问凭证,包含token和获取该身份的临时密钥;
144
+
145
+ 2. 当您需要将当前账号下的部分权限和资源临时委托给第三方(如合作伙伴、外包团队),且希望避免下发永久密钥时,调用此接口;
146
+ 3. 临时身份的权限为:当前调用账号的权限和输入参数 Policy 权限的交集;
147
+ 4. 此接口仅支持永久密钥调用。
148
+
149
+
150
+ **典型场景**
151
+
152
+ 1. 代理应用程序集中申请临时访问凭证,下发给企业网络内的其他分布式终端应用。例如:终端应用上传文件到COS。
153
+
154
+ 2. 将指定资源临时委托给第三方代理。例如:申请临时访问凭证,分发给企业外部团队,仅允许查看某个存储桶,有效期结束后权限自动回收。
155
+
144
156
 
145
157
  **最佳实践**
158
+ 1. 临时访问凭证在有效期内(Expiration)都可以使用,建议在有效期内重复使用,避免业务请求该接口频率达到上限被限频;
146
159
 
147
- 1. 临时访问凭据在有效期内都可以使用,建议在有效期内重复使用,以避免业务请求速率上升后被限频
148
- 2. 授予临时访问凭证权限的CAM策略,建议按权限最小化原则
149
- 3. 调用接口的永久密钥,建议不要使用主账号
160
+ 2. 授予临时访问凭证权限的CAM策略,建议严格遵循最小权限原则;
161
+ 3. 建议不要使用主账号永久密钥,对该接口进行调用。
150
162
 
151
163
  :param request: Request instance for GetFederationToken.
152
164
  :type request: :class:`tencentcloud.sts.v20180813.models.GetFederationTokenRequest`
@@ -16225,7 +16225,7 @@ class DescribeRocketMQGroupsRequest(AbstractModel):
16225
16225
  :type FilterTopic: str
16226
16226
  :param _FilterGroup: 按消费组名称查询消费组,支持模糊查询
16227
16227
  :type FilterGroup: str
16228
- :param _SortedBy: 按照指定字段排序,可选值为tps,accumulative
16228
+ :param _SortedBy: 按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
16229
16229
  :type SortedBy: str
16230
16230
  :param _SortOrder: 按升序或降序排列,可选值为asc,desc
16231
16231
  :type SortOrder: str
@@ -16313,7 +16313,7 @@ class DescribeRocketMQGroupsRequest(AbstractModel):
16313
16313
 
16314
16314
  @property
16315
16315
  def SortedBy(self):
16316
- """按照指定字段排序,可选值为tps,accumulative
16316
+ """按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
16317
16317
  :rtype: str
16318
16318
  """
16319
16319
  return self._SortedBy
@@ -31205,6 +31205,8 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31205
31205
  :type Topic: str
31206
31206
  :param _ResetTimestamp: 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位
31207
31207
  :type ResetTimestamp: int
31208
+ :param _RetryFlag: 重置的是否是retry topic
31209
+ :type RetryFlag: bool
31208
31210
  """
31209
31211
  self._ClusterId = None
31210
31212
  self._NamespaceId = None
@@ -31212,6 +31214,7 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31212
31214
  self._Type = None
31213
31215
  self._Topic = None
31214
31216
  self._ResetTimestamp = None
31217
+ self._RetryFlag = None
31215
31218
 
31216
31219
  @property
31217
31220
  def ClusterId(self):
@@ -31279,6 +31282,17 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31279
31282
  def ResetTimestamp(self, ResetTimestamp):
31280
31283
  self._ResetTimestamp = ResetTimestamp
31281
31284
 
31285
+ @property
31286
+ def RetryFlag(self):
31287
+ """重置的是否是retry topic
31288
+ :rtype: bool
31289
+ """
31290
+ return self._RetryFlag
31291
+
31292
+ @RetryFlag.setter
31293
+ def RetryFlag(self, RetryFlag):
31294
+ self._RetryFlag = RetryFlag
31295
+
31282
31296
 
31283
31297
  def _deserialize(self, params):
31284
31298
  self._ClusterId = params.get("ClusterId")
@@ -31287,6 +31301,7 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31287
31301
  self._Type = params.get("Type")
31288
31302
  self._Topic = params.get("Topic")
31289
31303
  self._ResetTimestamp = params.get("ResetTimestamp")
31304
+ self._RetryFlag = params.get("RetryFlag")
31290
31305
  memeber_set = set(params.keys())
31291
31306
  for name, value in vars(self).items():
31292
31307
  property_name = name[1:]
@@ -31943,6 +31958,18 @@ class RocketMQClusterInfo(AbstractModel):
31943
31958
  :type ZoneIds: list of int
31944
31959
  :param _IsFrozen: 是否已冻结
31945
31960
  :type IsFrozen: bool
31961
+ :param _AutoCreateTopicEnabled: 是否开启自动创建主题
31962
+ :type AutoCreateTopicEnabled: bool
31963
+ :param _AdminFeatureEnabled: 是否开启集群Admin能力
31964
+ :type AdminFeatureEnabled: bool
31965
+ :param _AdminAccessKey: Admin AK
31966
+ 注意:此字段可能返回 null,表示取不到有效值。
31967
+ :type AdminAccessKey: str
31968
+ :param _AdminSecretKey: Admin SK
31969
+ 注意:此字段可能返回 null,表示取不到有效值。
31970
+ :type AdminSecretKey: str
31971
+ :param _EnableDeletionProtection: 是否开启删除保护
31972
+ :type EnableDeletionProtection: bool
31946
31973
  """
31947
31974
  self._ClusterId = None
31948
31975
  self._ClusterName = None
@@ -31970,6 +31997,11 @@ class RocketMQClusterInfo(AbstractModel):
31970
31997
  self._ZoneId = None
31971
31998
  self._ZoneIds = None
31972
31999
  self._IsFrozen = None
32000
+ self._AutoCreateTopicEnabled = None
32001
+ self._AdminFeatureEnabled = None
32002
+ self._AdminAccessKey = None
32003
+ self._AdminSecretKey = None
32004
+ self._EnableDeletionProtection = None
31973
32005
 
31974
32006
  @property
31975
32007
  def ClusterId(self):
@@ -32276,6 +32308,63 @@ class RocketMQClusterInfo(AbstractModel):
32276
32308
  def IsFrozen(self, IsFrozen):
32277
32309
  self._IsFrozen = IsFrozen
32278
32310
 
32311
+ @property
32312
+ def AutoCreateTopicEnabled(self):
32313
+ """是否开启自动创建主题
32314
+ :rtype: bool
32315
+ """
32316
+ return self._AutoCreateTopicEnabled
32317
+
32318
+ @AutoCreateTopicEnabled.setter
32319
+ def AutoCreateTopicEnabled(self, AutoCreateTopicEnabled):
32320
+ self._AutoCreateTopicEnabled = AutoCreateTopicEnabled
32321
+
32322
+ @property
32323
+ def AdminFeatureEnabled(self):
32324
+ """是否开启集群Admin能力
32325
+ :rtype: bool
32326
+ """
32327
+ return self._AdminFeatureEnabled
32328
+
32329
+ @AdminFeatureEnabled.setter
32330
+ def AdminFeatureEnabled(self, AdminFeatureEnabled):
32331
+ self._AdminFeatureEnabled = AdminFeatureEnabled
32332
+
32333
+ @property
32334
+ def AdminAccessKey(self):
32335
+ """Admin AK
32336
+ 注意:此字段可能返回 null,表示取不到有效值。
32337
+ :rtype: str
32338
+ """
32339
+ return self._AdminAccessKey
32340
+
32341
+ @AdminAccessKey.setter
32342
+ def AdminAccessKey(self, AdminAccessKey):
32343
+ self._AdminAccessKey = AdminAccessKey
32344
+
32345
+ @property
32346
+ def AdminSecretKey(self):
32347
+ """Admin SK
32348
+ 注意:此字段可能返回 null,表示取不到有效值。
32349
+ :rtype: str
32350
+ """
32351
+ return self._AdminSecretKey
32352
+
32353
+ @AdminSecretKey.setter
32354
+ def AdminSecretKey(self, AdminSecretKey):
32355
+ self._AdminSecretKey = AdminSecretKey
32356
+
32357
+ @property
32358
+ def EnableDeletionProtection(self):
32359
+ """是否开启删除保护
32360
+ :rtype: bool
32361
+ """
32362
+ return self._EnableDeletionProtection
32363
+
32364
+ @EnableDeletionProtection.setter
32365
+ def EnableDeletionProtection(self, EnableDeletionProtection):
32366
+ self._EnableDeletionProtection = EnableDeletionProtection
32367
+
32279
32368
 
32280
32369
  def _deserialize(self, params):
32281
32370
  self._ClusterId = params.get("ClusterId")
@@ -32309,6 +32398,11 @@ class RocketMQClusterInfo(AbstractModel):
32309
32398
  self._ZoneId = params.get("ZoneId")
32310
32399
  self._ZoneIds = params.get("ZoneIds")
32311
32400
  self._IsFrozen = params.get("IsFrozen")
32401
+ self._AutoCreateTopicEnabled = params.get("AutoCreateTopicEnabled")
32402
+ self._AdminFeatureEnabled = params.get("AdminFeatureEnabled")
32403
+ self._AdminAccessKey = params.get("AdminAccessKey")
32404
+ self._AdminSecretKey = params.get("AdminSecretKey")
32405
+ self._EnableDeletionProtection = params.get("EnableDeletionProtection")
32312
32406
  memeber_set = set(params.keys())
32313
32407
  for name, value in vars(self).items():
32314
32408
  property_name = name[1:]
@@ -32712,6 +32806,8 @@ class RocketMQGroup(AbstractModel):
32712
32806
  :param _Namespace: 命名空间
32713
32807
  注意:此字段可能返回 null,表示取不到有效值。
32714
32808
  :type Namespace: str
32809
+ :param _SubscribeTopicNum: 订阅的主题个数
32810
+ :type SubscribeTopicNum: int
32715
32811
  """
32716
32812
  self._Name = None
32717
32813
  self._ConsumerNum = None
@@ -32730,6 +32826,7 @@ class RocketMQGroup(AbstractModel):
32730
32826
  self._RetryMaxTimes = None
32731
32827
  self._InstanceId = None
32732
32828
  self._Namespace = None
32829
+ self._SubscribeTopicNum = None
32733
32830
 
32734
32831
  @property
32735
32832
  def Name(self):
@@ -32755,6 +32852,8 @@ class RocketMQGroup(AbstractModel):
32755
32852
 
32756
32853
  @property
32757
32854
  def TPS(self):
32855
+ warnings.warn("parameter `TPS` is deprecated", DeprecationWarning)
32856
+
32758
32857
  """消费TPS
32759
32858
  :rtype: int
32760
32859
  """
@@ -32762,10 +32861,14 @@ class RocketMQGroup(AbstractModel):
32762
32861
 
32763
32862
  @TPS.setter
32764
32863
  def TPS(self, TPS):
32864
+ warnings.warn("parameter `TPS` is deprecated", DeprecationWarning)
32865
+
32765
32866
  self._TPS = TPS
32766
32867
 
32767
32868
  @property
32768
32869
  def TotalAccumulative(self):
32870
+ warnings.warn("parameter `TotalAccumulative` is deprecated", DeprecationWarning)
32871
+
32769
32872
  """总堆积数量
32770
32873
  :rtype: int
32771
32874
  """
@@ -32773,6 +32876,8 @@ class RocketMQGroup(AbstractModel):
32773
32876
 
32774
32877
  @TotalAccumulative.setter
32775
32878
  def TotalAccumulative(self, TotalAccumulative):
32879
+ warnings.warn("parameter `TotalAccumulative` is deprecated", DeprecationWarning)
32880
+
32776
32881
  self._TotalAccumulative = TotalAccumulative
32777
32882
 
32778
32883
  @property
@@ -32925,6 +33030,17 @@ class RocketMQGroup(AbstractModel):
32925
33030
  def Namespace(self, Namespace):
32926
33031
  self._Namespace = Namespace
32927
33032
 
33033
+ @property
33034
+ def SubscribeTopicNum(self):
33035
+ """订阅的主题个数
33036
+ :rtype: int
33037
+ """
33038
+ return self._SubscribeTopicNum
33039
+
33040
+ @SubscribeTopicNum.setter
33041
+ def SubscribeTopicNum(self, SubscribeTopicNum):
33042
+ self._SubscribeTopicNum = SubscribeTopicNum
33043
+
32928
33044
 
32929
33045
  def _deserialize(self, params):
32930
33046
  self._Name = params.get("Name")
@@ -32944,6 +33060,7 @@ class RocketMQGroup(AbstractModel):
32944
33060
  self._RetryMaxTimes = params.get("RetryMaxTimes")
32945
33061
  self._InstanceId = params.get("InstanceId")
32946
33062
  self._Namespace = params.get("Namespace")
33063
+ self._SubscribeTopicNum = params.get("SubscribeTopicNum")
32947
33064
  memeber_set = set(params.keys())
32948
33065
  for name, value in vars(self).items():
32949
33066
  property_name = name[1:]