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

@@ -31943,6 +31943,18 @@ class RocketMQClusterInfo(AbstractModel):
31943
31943
  :type ZoneIds: list of int
31944
31944
  :param _IsFrozen: 是否已冻结
31945
31945
  :type IsFrozen: bool
31946
+ :param _AutoCreateTopicEnabled: 是否开启自动创建主题
31947
+ :type AutoCreateTopicEnabled: bool
31948
+ :param _AdminFeatureEnabled: 是否开启集群Admin能力
31949
+ :type AdminFeatureEnabled: bool
31950
+ :param _AdminAccessKey: Admin AK
31951
+ 注意:此字段可能返回 null,表示取不到有效值。
31952
+ :type AdminAccessKey: str
31953
+ :param _AdminSecretKey: Admin SK
31954
+ 注意:此字段可能返回 null,表示取不到有效值。
31955
+ :type AdminSecretKey: str
31956
+ :param _EnableDeletionProtection: 是否开启删除保护
31957
+ :type EnableDeletionProtection: bool
31946
31958
  """
31947
31959
  self._ClusterId = None
31948
31960
  self._ClusterName = None
@@ -31970,6 +31982,11 @@ class RocketMQClusterInfo(AbstractModel):
31970
31982
  self._ZoneId = None
31971
31983
  self._ZoneIds = None
31972
31984
  self._IsFrozen = None
31985
+ self._AutoCreateTopicEnabled = None
31986
+ self._AdminFeatureEnabled = None
31987
+ self._AdminAccessKey = None
31988
+ self._AdminSecretKey = None
31989
+ self._EnableDeletionProtection = None
31973
31990
 
31974
31991
  @property
31975
31992
  def ClusterId(self):
@@ -32276,6 +32293,63 @@ class RocketMQClusterInfo(AbstractModel):
32276
32293
  def IsFrozen(self, IsFrozen):
32277
32294
  self._IsFrozen = IsFrozen
32278
32295
 
32296
+ @property
32297
+ def AutoCreateTopicEnabled(self):
32298
+ """是否开启自动创建主题
32299
+ :rtype: bool
32300
+ """
32301
+ return self._AutoCreateTopicEnabled
32302
+
32303
+ @AutoCreateTopicEnabled.setter
32304
+ def AutoCreateTopicEnabled(self, AutoCreateTopicEnabled):
32305
+ self._AutoCreateTopicEnabled = AutoCreateTopicEnabled
32306
+
32307
+ @property
32308
+ def AdminFeatureEnabled(self):
32309
+ """是否开启集群Admin能力
32310
+ :rtype: bool
32311
+ """
32312
+ return self._AdminFeatureEnabled
32313
+
32314
+ @AdminFeatureEnabled.setter
32315
+ def AdminFeatureEnabled(self, AdminFeatureEnabled):
32316
+ self._AdminFeatureEnabled = AdminFeatureEnabled
32317
+
32318
+ @property
32319
+ def AdminAccessKey(self):
32320
+ """Admin AK
32321
+ 注意:此字段可能返回 null,表示取不到有效值。
32322
+ :rtype: str
32323
+ """
32324
+ return self._AdminAccessKey
32325
+
32326
+ @AdminAccessKey.setter
32327
+ def AdminAccessKey(self, AdminAccessKey):
32328
+ self._AdminAccessKey = AdminAccessKey
32329
+
32330
+ @property
32331
+ def AdminSecretKey(self):
32332
+ """Admin SK
32333
+ 注意:此字段可能返回 null,表示取不到有效值。
32334
+ :rtype: str
32335
+ """
32336
+ return self._AdminSecretKey
32337
+
32338
+ @AdminSecretKey.setter
32339
+ def AdminSecretKey(self, AdminSecretKey):
32340
+ self._AdminSecretKey = AdminSecretKey
32341
+
32342
+ @property
32343
+ def EnableDeletionProtection(self):
32344
+ """是否开启删除保护
32345
+ :rtype: bool
32346
+ """
32347
+ return self._EnableDeletionProtection
32348
+
32349
+ @EnableDeletionProtection.setter
32350
+ def EnableDeletionProtection(self, EnableDeletionProtection):
32351
+ self._EnableDeletionProtection = EnableDeletionProtection
32352
+
32279
32353
 
32280
32354
  def _deserialize(self, params):
32281
32355
  self._ClusterId = params.get("ClusterId")
@@ -32309,6 +32383,11 @@ class RocketMQClusterInfo(AbstractModel):
32309
32383
  self._ZoneId = params.get("ZoneId")
32310
32384
  self._ZoneIds = params.get("ZoneIds")
32311
32385
  self._IsFrozen = params.get("IsFrozen")
32386
+ self._AutoCreateTopicEnabled = params.get("AutoCreateTopicEnabled")
32387
+ self._AdminFeatureEnabled = params.get("AdminFeatureEnabled")
32388
+ self._AdminAccessKey = params.get("AdminAccessKey")
32389
+ self._AdminSecretKey = params.get("AdminSecretKey")
32390
+ self._EnableDeletionProtection = params.get("EnableDeletionProtection")
32312
32391
  memeber_set = set(params.keys())
32313
32392
  for name, value in vars(self).items():
32314
32393
  property_name = name[1:]
@@ -32712,6 +32791,8 @@ class RocketMQGroup(AbstractModel):
32712
32791
  :param _Namespace: 命名空间
32713
32792
  注意:此字段可能返回 null,表示取不到有效值。
32714
32793
  :type Namespace: str
32794
+ :param _SubscribeTopicNum: 订阅的主题个数
32795
+ :type SubscribeTopicNum: int
32715
32796
  """
32716
32797
  self._Name = None
32717
32798
  self._ConsumerNum = None
@@ -32730,6 +32811,7 @@ class RocketMQGroup(AbstractModel):
32730
32811
  self._RetryMaxTimes = None
32731
32812
  self._InstanceId = None
32732
32813
  self._Namespace = None
32814
+ self._SubscribeTopicNum = None
32733
32815
 
32734
32816
  @property
32735
32817
  def Name(self):
@@ -32755,6 +32837,8 @@ class RocketMQGroup(AbstractModel):
32755
32837
 
32756
32838
  @property
32757
32839
  def TPS(self):
32840
+ warnings.warn("parameter `TPS` is deprecated", DeprecationWarning)
32841
+
32758
32842
  """消费TPS
32759
32843
  :rtype: int
32760
32844
  """
@@ -32762,10 +32846,14 @@ class RocketMQGroup(AbstractModel):
32762
32846
 
32763
32847
  @TPS.setter
32764
32848
  def TPS(self, TPS):
32849
+ warnings.warn("parameter `TPS` is deprecated", DeprecationWarning)
32850
+
32765
32851
  self._TPS = TPS
32766
32852
 
32767
32853
  @property
32768
32854
  def TotalAccumulative(self):
32855
+ warnings.warn("parameter `TotalAccumulative` is deprecated", DeprecationWarning)
32856
+
32769
32857
  """总堆积数量
32770
32858
  :rtype: int
32771
32859
  """
@@ -32773,6 +32861,8 @@ class RocketMQGroup(AbstractModel):
32773
32861
 
32774
32862
  @TotalAccumulative.setter
32775
32863
  def TotalAccumulative(self, TotalAccumulative):
32864
+ warnings.warn("parameter `TotalAccumulative` is deprecated", DeprecationWarning)
32865
+
32776
32866
  self._TotalAccumulative = TotalAccumulative
32777
32867
 
32778
32868
  @property
@@ -32925,6 +33015,17 @@ class RocketMQGroup(AbstractModel):
32925
33015
  def Namespace(self, Namespace):
32926
33016
  self._Namespace = Namespace
32927
33017
 
33018
+ @property
33019
+ def SubscribeTopicNum(self):
33020
+ """订阅的主题个数
33021
+ :rtype: int
33022
+ """
33023
+ return self._SubscribeTopicNum
33024
+
33025
+ @SubscribeTopicNum.setter
33026
+ def SubscribeTopicNum(self, SubscribeTopicNum):
33027
+ self._SubscribeTopicNum = SubscribeTopicNum
33028
+
32928
33029
 
32929
33030
  def _deserialize(self, params):
32930
33031
  self._Name = params.get("Name")
@@ -32944,6 +33045,7 @@ class RocketMQGroup(AbstractModel):
32944
33045
  self._RetryMaxTimes = params.get("RetryMaxTimes")
32945
33046
  self._InstanceId = params.get("InstanceId")
32946
33047
  self._Namespace = params.get("Namespace")
33048
+ self._SubscribeTopicNum = params.get("SubscribeTopicNum")
32947
33049
  memeber_set = set(params.keys())
32948
33050
  for name, value in vars(self).items():
32949
33051
  property_name = name[1:]
@@ -53,9 +53,21 @@ INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = 'InvalidParameterValue.Inv
53
53
  # 工作空间实例ID格式不符合规范。
54
54
  INVALIDPARAMETERVALUE_INVALIDSPACEIDMALFORMED = 'InvalidParameterValue.InvalidSpaceIdMalformed'
55
55
 
56
+ # The length of job description should less than `%(max_size)s`.
57
+ INVALIDPARAMETERVALUE_JOBDESCRIPTIONTOOLONG = 'InvalidParameterValue.JobDescriptionTooLong'
58
+
59
+ # The length of job name should less than `%(max_size)s`.
60
+ INVALIDPARAMETERVALUE_JOBNAMETOOLONG = 'InvalidParameterValue.JobNameTooLong'
61
+
62
+ # Job `%(job_id)s` not found.
63
+ INVALIDPARAMETERVALUE_JOBNOTFOUND = 'InvalidParameterValue.JobNotFound'
64
+
56
65
  # 参数值数量超过限制。
57
66
  INVALIDPARAMETERVALUE_LIMITEXCEEDED = 'InvalidParameterValue.LimitExceeded'
58
67
 
68
+ # 参数值的格式不符合要求。
69
+ INVALIDPARAMETERVALUE_MALFORMED = 'InvalidParameterValue.Malformed'
70
+
59
71
  # 不支持该参数值。
60
72
  INVALIDPARAMETERVALUE_NOTSUPPORTED = 'InvalidParameterValue.NotSupported'
61
73
 
@@ -65,6 +77,9 @@ INVALIDPARAMETERVALUE_PARAMETERSNOTSUPPORTED = 'InvalidParameterValue.Parameters
65
77
  # 工作空间实例查找失败
66
78
  INVALIDPARAMETERVALUE_SPACEIDNOTFOUND = 'InvalidParameterValue.SpaceIdNotFound'
67
79
 
80
+ # Task dependencies unfeasible, please check.
81
+ INVALIDPARAMETERVALUE_TASKDEPENDENCIESUNFEASIBLE = 'InvalidParameterValue.TaskDependenciesUnfeasible'
82
+
68
83
  # 参数值过大。
69
84
  INVALIDPARAMETERVALUE_TOOLARGE = 'InvalidParameterValue.TooLarge'
70
85
 
@@ -86,6 +101,9 @@ LIMITEXCEEDED = 'LimitExceeded'
86
101
  # 队列数量达到上限。
87
102
  LIMITEXCEEDED_QUEUENUMLIMIT = 'LimitExceeded.QueueNumLimit'
88
103
 
104
+ # Task instance number `%(max_count)s` limit reached.
105
+ LIMITEXCEEDED_TASKINSTANCENUMLIMIT = 'LimitExceeded.TaskInstanceNumLimit'
106
+
89
107
  # 缺少参数错误。
90
108
  MISSINGPARAMETER = 'MissingParameter'
91
109
 
@@ -110,6 +128,9 @@ RESOURCENOTFOUND_CLUSTERID = 'ResourceNotFound.ClusterId'
110
128
  # 无法找到镜像ID。
111
129
  RESOURCENOTFOUND_IMAGEID = 'ResourceNotFound.ImageId'
112
130
 
131
+ # 指定的Job提交信息不存在。
132
+ RESOURCENOTFOUND_JOBSUBMITINFO = 'ResourceNotFound.JobSubmitInfo'
133
+
113
134
  # 无法找到本地挂载路径。
114
135
  RESOURCENOTFOUND_LOCALPATH = 'ResourceNotFound.LocalPath'
115
136
 
@@ -140,6 +161,9 @@ UNSUPPORTEDOPERATION_CLUSTERSTATUSNOTSUPPORT = 'UnsupportedOperation.ClusterStat
140
161
  # 类型节点不支持当前操作。
141
162
  UNSUPPORTEDOPERATION_INVALIDNODEROLE = 'UnsupportedOperation.InvalidNodeRole'
142
163
 
164
+ # Job state `%(job_state)s` not support operation `%(operation)s`.
165
+ UNSUPPORTEDOPERATION_JOBSTATENOTSUPPORT = 'UnsupportedOperation.JobStateNotSupport'
166
+
143
167
  # 节点状态不支持此操作。
144
168
  UNSUPPORTEDOPERATION_NODESTATUSNOTSUPPORT = 'UnsupportedOperation.NodeStatusNotSupport'
145
169