tencentcloud-sdk-python 3.0.1298__py2.py3-none-any.whl → 3.0.1299__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 (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aca/v20210323/models.py +2 -2
  3. tencentcloud/autoscaling/v20180419/models.py +21 -0
  4. tencentcloud/bh/v20230418/models.py +4 -4
  5. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  6. tencentcloud/clb/v20180317/models.py +68 -0
  7. tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
  8. tencentcloud/cloudapp/v20220530/models.py +66 -17
  9. tencentcloud/cls/v20201016/models.py +22 -0
  10. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  11. tencentcloud/cynosdb/v20190107/models.py +113 -0
  12. tencentcloud/dc/v20180410/models.py +50 -121
  13. tencentcloud/drm/v20181115/models.py +17 -0
  14. tencentcloud/dts/v20211206/models.py +68 -2
  15. tencentcloud/emr/v20190103/models.py +136 -340
  16. tencentcloud/ess/v20201111/models.py +38 -0
  17. tencentcloud/essbasic/v20210526/models.py +38 -0
  18. tencentcloud/gaap/v20180529/gaap_client.py +9 -3
  19. tencentcloud/gwlb/v20240906/models.py +2 -2
  20. tencentcloud/hai/v20230812/errorcodes.py +6 -0
  21. tencentcloud/hai/v20230812/hai_client.py +23 -0
  22. tencentcloud/hai/v20230812/models.py +109 -0
  23. tencentcloud/keewidb/v20220308/models.py +1 -1
  24. tencentcloud/lcic/v20220817/models.py +2 -2
  25. tencentcloud/mongodb/v20180408/models.py +2 -44
  26. tencentcloud/mongodb/v20190725/models.py +2 -22
  27. tencentcloud/ocr/v20181119/models.py +14 -14
  28. tencentcloud/postgres/v20170312/models.py +233 -0
  29. tencentcloud/postgres/v20170312/postgres_client.py +46 -0
  30. tencentcloud/redis/v20180412/models.py +6 -6
  31. tencentcloud/redis/v20180412/redis_client.py +8 -8
  32. tencentcloud/scf/v20180416/models.py +44 -4
  33. tencentcloud/ssl/v20191205/models.py +64 -8
  34. tencentcloud/ssl/v20191205/ssl_client.py +8 -1
  35. tencentcloud/tcb/v20180608/models.py +205 -317
  36. tencentcloud/tcb/v20180608/tcb_client.py +1 -1
  37. tencentcloud/tione/v20211111/models.py +34 -0
  38. tencentcloud/trtc/v20190722/models.py +0 -8
  39. tencentcloud/vpc/v20170312/models.py +15 -6
  40. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1298'
17
+ __version__ = '3.0.1299'
@@ -4472,7 +4472,7 @@ class SmartDrugInfoResp(AbstractModel):
4472
4472
  :type DrugRoute: str
4473
4473
  :param _DrugBasicCode: 药品本位码
4474
4474
  :type DrugBasicCode: str
4475
- :param _OctTag: OCT标签
4475
+ :param _OctTag: OTC标签
4476
4476
  :type OctTag: str
4477
4477
  """
4478
4478
  self._DrugId = None
@@ -5019,7 +5019,7 @@ class SmartDrugInfoResp(AbstractModel):
5019
5019
 
5020
5020
  @property
5021
5021
  def OctTag(self):
5022
- """OCT标签
5022
+ """OTC标签
5023
5023
  :rtype: str
5024
5024
  """
5025
5025
  return self._OctTag
@@ -12275,10 +12275,16 @@ class RollingUpdateSettings(AbstractModel):
12275
12275
  :param _MaxSurge: 最大额外数量。设置该参数后,在滚动更新开始前根据启动配置创建一批按量计费的额外实例,滚动更新完成后销毁额外实例。
12276
12276
  该参数用于保证滚动更新过程中可用实例的数量,最大额外数量不能超过滚动更新单个批次的刷新实例数。回滚流程暂不支持该参数。
12277
12277
  :type MaxSurge: int
12278
+ :param _FailProcess: 失败处理策略。默认值为 AUTO_PAUSE,取值范围如下:
12279
+ <li>AUTO_PAUSE:刷新失败后暂停</li>
12280
+ <li>AUTO_ROLLBACK:刷新失败后回滚。回滚时每批次回滚一台实例,CheckInstanceTargetHealth 参数值与原刷新活动一致。MaxSurge参数引入的扩缩容流程失败无需回滚,会用取消动作代替回滚</li>
12281
+ <li>AUTO_CANCEL:刷新失败后取消</li>
12282
+ :type FailProcess: str
12278
12283
  """
12279
12284
  self._BatchNumber = None
12280
12285
  self._BatchPause = None
12281
12286
  self._MaxSurge = None
12287
+ self._FailProcess = None
12282
12288
 
12283
12289
  @property
12284
12290
  def BatchNumber(self):
@@ -12317,11 +12323,26 @@ class RollingUpdateSettings(AbstractModel):
12317
12323
  def MaxSurge(self, MaxSurge):
12318
12324
  self._MaxSurge = MaxSurge
12319
12325
 
12326
+ @property
12327
+ def FailProcess(self):
12328
+ """失败处理策略。默认值为 AUTO_PAUSE,取值范围如下:
12329
+ <li>AUTO_PAUSE:刷新失败后暂停</li>
12330
+ <li>AUTO_ROLLBACK:刷新失败后回滚。回滚时每批次回滚一台实例,CheckInstanceTargetHealth 参数值与原刷新活动一致。MaxSurge参数引入的扩缩容流程失败无需回滚,会用取消动作代替回滚</li>
12331
+ <li>AUTO_CANCEL:刷新失败后取消</li>
12332
+ :rtype: str
12333
+ """
12334
+ return self._FailProcess
12335
+
12336
+ @FailProcess.setter
12337
+ def FailProcess(self, FailProcess):
12338
+ self._FailProcess = FailProcess
12339
+
12320
12340
 
12321
12341
  def _deserialize(self, params):
12322
12342
  self._BatchNumber = params.get("BatchNumber")
12323
12343
  self._BatchPause = params.get("BatchPause")
12324
12344
  self._MaxSurge = params.get("MaxSurge")
12345
+ self._FailProcess = params.get("FailProcess")
12325
12346
  memeber_set = set(params.keys())
12326
12347
  for name, value in vars(self).items():
12327
12348
  property_name = name[1:]
@@ -3163,9 +3163,9 @@ class CreateUserRequest(AbstractModel):
3163
3163
  :type UserName: str
3164
3164
  :param _RealName: 用户姓名,最大长度20个字符,不能包含空白字符
3165
3165
  :type RealName: str
3166
- :param _Phone: 大陆手机号直接填写,如果是其他国家、地区号码, 按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
3166
+ :param _Phone: 按照"国家地区代码|手机号"的格式输入,如: "+86|xxxxxxxx"。手机号和邮箱参数至少传一项
3167
3167
  :type Phone: str
3168
- :param _Email: 电子邮件
3168
+ :param _Email: 电子邮件。手机号和邮箱参数至少传一项
3169
3169
  :type Email: str
3170
3170
  :param _ValidateFrom: 用户生效时间,如:"2021-09-22T00:00:00+00:00"
3171
3171
  生效、失效时间不填则用户长期有效
@@ -3217,7 +3217,7 @@ class CreateUserRequest(AbstractModel):
3217
3217
 
3218
3218
  @property
3219
3219
  def Phone(self):
3220
- """大陆手机号直接填写,如果是其他国家、地区号码, 按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
3220
+ """按照"国家地区代码|手机号"的格式输入,如: "+86|xxxxxxxx"。手机号和邮箱参数至少传一项
3221
3221
  :rtype: str
3222
3222
  """
3223
3223
  return self._Phone
@@ -3228,7 +3228,7 @@ class CreateUserRequest(AbstractModel):
3228
3228
 
3229
3229
  @property
3230
3230
  def Email(self):
3231
- """电子邮件
3231
+ """电子邮件。手机号和邮箱参数至少传一项
3232
3232
  :rtype: str
3233
3233
  """
3234
3234
  return self._Email
@@ -362,7 +362,7 @@ RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = 'ResourceInsufficient.RuleLimitExceeded
362
362
  # 文件系统过大,不支持快照
363
363
  RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = 'ResourceInsufficient.SnapshotSizeLimitExceeded'
364
364
 
365
- # 该子网下已无可用IP
365
+ # 该子网下IP数量不足
366
366
  RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = 'ResourceInsufficient.SubnetIpAllOccupied'
367
367
 
368
368
  # 该资源的标签个数达到最大限制。
@@ -4890,11 +4890,22 @@ class CreateTargetGroupRequest(AbstractModel):
4890
4890
  :type Port: int
4891
4891
  :param _TargetGroupInstances: 目标组绑定的后端服务器
4892
4892
  :type TargetGroupInstances: list of TargetGroupInstance
4893
+ :param _Tags: 标签。
4894
+ :type Tags: list of TagInfo
4895
+ :param _Weight: 后端服务默认权重。
4896
+ <ul>
4897
+ <li>取值范围[0, 100]</li>
4898
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4899
+ </ul>
4900
+
4901
+ :type Weight: int
4893
4902
  """
4894
4903
  self._TargetGroupName = None
4895
4904
  self._VpcId = None
4896
4905
  self._Port = None
4897
4906
  self._TargetGroupInstances = None
4907
+ self._Tags = None
4908
+ self._Weight = None
4898
4909
 
4899
4910
  @property
4900
4911
  def TargetGroupName(self):
@@ -4941,6 +4952,33 @@ class CreateTargetGroupRequest(AbstractModel):
4941
4952
  def TargetGroupInstances(self, TargetGroupInstances):
4942
4953
  self._TargetGroupInstances = TargetGroupInstances
4943
4954
 
4955
+ @property
4956
+ def Tags(self):
4957
+ """标签。
4958
+ :rtype: list of TagInfo
4959
+ """
4960
+ return self._Tags
4961
+
4962
+ @Tags.setter
4963
+ def Tags(self, Tags):
4964
+ self._Tags = Tags
4965
+
4966
+ @property
4967
+ def Weight(self):
4968
+ """后端服务默认权重。
4969
+ <ul>
4970
+ <li>取值范围[0, 100]</li>
4971
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4972
+ </ul>
4973
+
4974
+ :rtype: int
4975
+ """
4976
+ return self._Weight
4977
+
4978
+ @Weight.setter
4979
+ def Weight(self, Weight):
4980
+ self._Weight = Weight
4981
+
4944
4982
 
4945
4983
  def _deserialize(self, params):
4946
4984
  self._TargetGroupName = params.get("TargetGroupName")
@@ -4952,6 +4990,13 @@ class CreateTargetGroupRequest(AbstractModel):
4952
4990
  obj = TargetGroupInstance()
4953
4991
  obj._deserialize(item)
4954
4992
  self._TargetGroupInstances.append(obj)
4993
+ if params.get("Tags") is not None:
4994
+ self._Tags = []
4995
+ for item in params.get("Tags"):
4996
+ obj = TagInfo()
4997
+ obj._deserialize(item)
4998
+ self._Tags.append(obj)
4999
+ self._Weight = params.get("Weight")
4955
5000
  memeber_set = set(params.keys())
4956
5001
  for name, value in vars(self).items():
4957
5002
  property_name = name[1:]
@@ -16546,10 +16591,17 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16546
16591
  :type TargetGroupName: str
16547
16592
  :param _Port: 目标组的新默认端口。
16548
16593
  :type Port: int
16594
+ :param _Weight: 后端服务默认权重。
16595
+ <ul>
16596
+ <li>取值范围[0, 100]</li>
16597
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16598
+ </ul>
16599
+ :type Weight: int
16549
16600
  """
16550
16601
  self._TargetGroupId = None
16551
16602
  self._TargetGroupName = None
16552
16603
  self._Port = None
16604
+ self._Weight = None
16553
16605
 
16554
16606
  @property
16555
16607
  def TargetGroupId(self):
@@ -16584,11 +16636,27 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16584
16636
  def Port(self, Port):
16585
16637
  self._Port = Port
16586
16638
 
16639
+ @property
16640
+ def Weight(self):
16641
+ """后端服务默认权重。
16642
+ <ul>
16643
+ <li>取值范围[0, 100]</li>
16644
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16645
+ </ul>
16646
+ :rtype: int
16647
+ """
16648
+ return self._Weight
16649
+
16650
+ @Weight.setter
16651
+ def Weight(self, Weight):
16652
+ self._Weight = Weight
16653
+
16587
16654
 
16588
16655
  def _deserialize(self, params):
16589
16656
  self._TargetGroupId = params.get("TargetGroupId")
16590
16657
  self._TargetGroupName = params.get("TargetGroupName")
16591
16658
  self._Port = params.get("Port")
16659
+ self._Weight = params.get("Weight")
16592
16660
  memeber_set = set(params.keys())
16593
16661
  for name, value in vars(self).items():
16594
16662
  property_name = name[1:]
@@ -17,5 +17,8 @@
17
17
  # DBError
18
18
  INTERNALERROR_DBERROR = 'InternalError.DBError'
19
19
 
20
+ # 签名失败
21
+ INTERNALERROR_FAILTOSIGN = 'InternalError.FailToSign'
22
+
20
23
  # 找不到该License
21
24
  RESOURCENOTFOUND_LICENSENOTFOUNDERR = 'ResourceNotFound.LicenseNotFoundErr'
@@ -27,7 +27,7 @@ class License(AbstractModel):
27
27
  r"""
28
28
  :param _LicenseId: License ID
29
29
  :type LicenseId: str
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>
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><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table>
31
31
  :type LicenseMode: str
32
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
@@ -93,7 +93,7 @@ class License(AbstractModel):
93
93
 
94
94
  @property
95
95
  def LicenseMode(self):
96
- """软件授权模式。<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>
96
+ """软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table>
97
97
  :rtype: str
98
98
  """
99
99
  return self._LicenseMode
@@ -312,19 +312,24 @@ class SaleParam(AbstractModel):
312
312
  r"""
313
313
  :param _ParamKey: 售卖参数标识
314
314
  :type ParamKey: str
315
- :param _ParamValue: 售卖参数值
316
- :type ParamValue: str
317
315
  :param _ParamKeyName: 售卖参数的展示名称
318
316
  注意:此字段可能返回 null,表示取不到有效值。
319
317
  :type ParamKeyName: str
318
+ :param _ParamValue: 售卖参数值,当ParamType=Quant时,该值有可能为Null
319
+ 注意:此字段可能返回 null,表示取不到有效值。
320
+ :type ParamValue: str
320
321
  :param _ParamValueName: 售卖参数值的展示名称
321
322
  注意:此字段可能返回 null,表示取不到有效值。
322
323
  :type ParamValueName: str
324
+ :param _ParamType: 售卖参数的类型,目前支持枚举类Enum/数量类Quant
325
+ 注意:此字段可能返回 null,表示取不到有效值。
326
+ :type ParamType: str
323
327
  """
324
328
  self._ParamKey = None
325
- self._ParamValue = None
326
329
  self._ParamKeyName = None
330
+ self._ParamValue = None
327
331
  self._ParamValueName = None
332
+ self._ParamType = None
328
333
 
329
334
  @property
330
335
  def ParamKey(self):
@@ -337,17 +342,6 @@ class SaleParam(AbstractModel):
337
342
  def ParamKey(self, ParamKey):
338
343
  self._ParamKey = ParamKey
339
344
 
340
- @property
341
- def ParamValue(self):
342
- """售卖参数值
343
- :rtype: str
344
- """
345
- return self._ParamValue
346
-
347
- @ParamValue.setter
348
- def ParamValue(self, ParamValue):
349
- self._ParamValue = ParamValue
350
-
351
345
  @property
352
346
  def ParamKeyName(self):
353
347
  """售卖参数的展示名称
@@ -360,6 +354,18 @@ class SaleParam(AbstractModel):
360
354
  def ParamKeyName(self, ParamKeyName):
361
355
  self._ParamKeyName = ParamKeyName
362
356
 
357
+ @property
358
+ def ParamValue(self):
359
+ """售卖参数值,当ParamType=Quant时,该值有可能为Null
360
+ 注意:此字段可能返回 null,表示取不到有效值。
361
+ :rtype: str
362
+ """
363
+ return self._ParamValue
364
+
365
+ @ParamValue.setter
366
+ def ParamValue(self, ParamValue):
367
+ self._ParamValue = ParamValue
368
+
363
369
  @property
364
370
  def ParamValueName(self):
365
371
  """售卖参数值的展示名称
@@ -372,12 +378,25 @@ class SaleParam(AbstractModel):
372
378
  def ParamValueName(self, ParamValueName):
373
379
  self._ParamValueName = ParamValueName
374
380
 
381
+ @property
382
+ def ParamType(self):
383
+ """售卖参数的类型,目前支持枚举类Enum/数量类Quant
384
+ 注意:此字段可能返回 null,表示取不到有效值。
385
+ :rtype: str
386
+ """
387
+ return self._ParamType
388
+
389
+ @ParamType.setter
390
+ def ParamType(self, ParamType):
391
+ self._ParamType = ParamType
392
+
375
393
 
376
394
  def _deserialize(self, params):
377
395
  self._ParamKey = params.get("ParamKey")
378
- self._ParamValue = params.get("ParamValue")
379
396
  self._ParamKeyName = params.get("ParamKeyName")
397
+ self._ParamValue = params.get("ParamValue")
380
398
  self._ParamValueName = params.get("ParamValueName")
399
+ self._ParamType = params.get("ParamType")
381
400
  memeber_set = set(params.keys())
382
401
  for name, value in vars(self).items():
383
402
  property_name = name[1:]
@@ -403,10 +422,16 @@ class VerifyLicenseResponse(AbstractModel):
403
422
  r"""
404
423
  :param _License: 软件的详细授权信息。
405
424
  :type License: :class:`tencentcloud.cloudapp.v20220530.models.License`
425
+ :param _Timestamp: 当前请求服务端的时间戳,格式为RFC3339
426
+ :type Timestamp: str
427
+ :param _Signature: 对License字段对应的json数据的签名
428
+ :type Signature: str
406
429
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
407
430
  :type RequestId: str
408
431
  """
409
432
  self._License = None
433
+ self._Timestamp = None
434
+ self._Signature = None
410
435
  self._RequestId = None
411
436
 
412
437
  @property
@@ -420,6 +445,28 @@ class VerifyLicenseResponse(AbstractModel):
420
445
  def License(self, License):
421
446
  self._License = License
422
447
 
448
+ @property
449
+ def Timestamp(self):
450
+ """当前请求服务端的时间戳,格式为RFC3339
451
+ :rtype: str
452
+ """
453
+ return self._Timestamp
454
+
455
+ @Timestamp.setter
456
+ def Timestamp(self, Timestamp):
457
+ self._Timestamp = Timestamp
458
+
459
+ @property
460
+ def Signature(self):
461
+ """对License字段对应的json数据的签名
462
+ :rtype: str
463
+ """
464
+ return self._Signature
465
+
466
+ @Signature.setter
467
+ def Signature(self, Signature):
468
+ self._Signature = Signature
469
+
423
470
  @property
424
471
  def RequestId(self):
425
472
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -436,4 +483,6 @@ class VerifyLicenseResponse(AbstractModel):
436
483
  if params.get("License") is not None:
437
484
  self._License = License()
438
485
  self._License._deserialize(params.get("License"))
486
+ self._Timestamp = params.get("Timestamp")
487
+ self._Signature = params.get("Signature")
439
488
  self._RequestId = params.get("RequestId")
@@ -355,6 +355,9 @@ class AlarmInfo(AbstractModel):
355
355
  :param _AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
356
356
  注意:此字段可能返回 null,表示取不到有效值。
357
357
  :type AlarmLevel: int
358
+ :param _Classifications: 告警附加分类字段。
359
+ 注意:此字段可能返回 null,表示取不到有效值。
360
+ :type Classifications: list of AlarmClassification
358
361
  :param _MultiConditions: 多触发条件。与
359
362
  Condition互斥。
360
363
  注意:此字段可能返回 null,表示取不到有效值。
@@ -378,6 +381,7 @@ Condition互斥。
378
381
  self._GroupTriggerCondition = None
379
382
  self._MonitorObjectType = None
380
383
  self._AlarmLevel = None
384
+ self._Classifications = None
381
385
  self._MultiConditions = None
382
386
 
383
387
  @property
@@ -585,6 +589,18 @@ Condition互斥。
585
589
  def AlarmLevel(self, AlarmLevel):
586
590
  self._AlarmLevel = AlarmLevel
587
591
 
592
+ @property
593
+ def Classifications(self):
594
+ """告警附加分类字段。
595
+ 注意:此字段可能返回 null,表示取不到有效值。
596
+ :rtype: list of AlarmClassification
597
+ """
598
+ return self._Classifications
599
+
600
+ @Classifications.setter
601
+ def Classifications(self, Classifications):
602
+ self._Classifications = Classifications
603
+
588
604
  @property
589
605
  def MultiConditions(self):
590
606
  """多触发条件。与
@@ -632,6 +648,12 @@ Condition互斥。
632
648
  self._GroupTriggerCondition = params.get("GroupTriggerCondition")
633
649
  self._MonitorObjectType = params.get("MonitorObjectType")
634
650
  self._AlarmLevel = params.get("AlarmLevel")
651
+ if params.get("Classifications") is not None:
652
+ self._Classifications = []
653
+ for item in params.get("Classifications"):
654
+ obj = AlarmClassification()
655
+ obj._deserialize(item)
656
+ self._Classifications.append(obj)
635
657
  if params.get("MultiConditions") is not None:
636
658
  self._MultiConditions = []
637
659
  for item in params.get("MultiConditions"):
@@ -284,6 +284,9 @@ OPERATIONDENIED_INSTANCESTATUSLIMITERROR = 'OperationDenied.InstanceStatusLimitE
284
284
  # 账号余额不足。
285
285
  OPERATIONDENIED_INSUFFICIENTBALANCEERROR = 'OperationDenied.InsufficientBalanceError'
286
286
 
287
+ # 响应大小超限制:{{1}}, 请减少查询数量。
288
+ OPERATIONDENIED_LENGTHOVERLIMIT = 'OperationDenied.LengthOverLimit'
289
+
287
290
  # 您没有权限操作该资源(进行该操作)。
288
291
  OPERATIONDENIED_OPERATIONDENIEDERROR = 'OperationDenied.OperationDeniedError'
289
292
 
@@ -2836,6 +2836,8 @@ class BizTaskInfo(AbstractModel):
2836
2836
 
2837
2837
  注意:此字段可能返回 null,表示取不到有效值。
2838
2838
  :type InstanceCLSDeliveryInfos: list of InstanceCLSDeliveryInfo
2839
+ :param _TaskProgressInfo: 任务进度信息
2840
+ :type TaskProgressInfo: :class:`tencentcloud.cynosdb.v20190107.models.TaskProgressInfo`
2839
2841
  """
2840
2842
  self._ID = None
2841
2843
  self._AppId = None
@@ -2873,6 +2875,7 @@ class BizTaskInfo(AbstractModel):
2873
2875
  self._ModifyInstanceParamsData = None
2874
2876
  self._TaskMaintainInfo = None
2875
2877
  self._InstanceCLSDeliveryInfos = None
2878
+ self._TaskProgressInfo = None
2876
2879
 
2877
2880
  @property
2878
2881
  def ID(self):
@@ -3293,6 +3296,17 @@ class BizTaskInfo(AbstractModel):
3293
3296
  def InstanceCLSDeliveryInfos(self, InstanceCLSDeliveryInfos):
3294
3297
  self._InstanceCLSDeliveryInfos = InstanceCLSDeliveryInfos
3295
3298
 
3299
+ @property
3300
+ def TaskProgressInfo(self):
3301
+ """任务进度信息
3302
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.TaskProgressInfo`
3303
+ """
3304
+ return self._TaskProgressInfo
3305
+
3306
+ @TaskProgressInfo.setter
3307
+ def TaskProgressInfo(self, TaskProgressInfo):
3308
+ self._TaskProgressInfo = TaskProgressInfo
3309
+
3296
3310
 
3297
3311
  def _deserialize(self, params):
3298
3312
  self._ID = params.get("ID")
@@ -3359,6 +3373,9 @@ class BizTaskInfo(AbstractModel):
3359
3373
  obj = InstanceCLSDeliveryInfo()
3360
3374
  obj._deserialize(item)
3361
3375
  self._InstanceCLSDeliveryInfos.append(obj)
3376
+ if params.get("TaskProgressInfo") is not None:
3377
+ self._TaskProgressInfo = TaskProgressInfo()
3378
+ self._TaskProgressInfo._deserialize(params.get("TaskProgressInfo"))
3362
3379
  memeber_set = set(params.keys())
3363
3380
  for name, value in vars(self).items():
3364
3381
  property_name = name[1:]
@@ -17280,6 +17297,8 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
17280
17297
  :type OrderBy: str
17281
17298
  :param _OrderByType: 排序类型,可选值:asc,desc
17282
17299
  :type OrderByType: str
17300
+ :param _SqlText: sql语句
17301
+ :type SqlText: str
17283
17302
  """
17284
17303
  self._InstanceId = None
17285
17304
  self._StartTime = None
@@ -17291,6 +17310,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
17291
17310
  self._Database = None
17292
17311
  self._OrderBy = None
17293
17312
  self._OrderByType = None
17313
+ self._SqlText = None
17294
17314
 
17295
17315
  @property
17296
17316
  def InstanceId(self):
@@ -17402,6 +17422,17 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
17402
17422
  def OrderByType(self, OrderByType):
17403
17423
  self._OrderByType = OrderByType
17404
17424
 
17425
+ @property
17426
+ def SqlText(self):
17427
+ """sql语句
17428
+ :rtype: str
17429
+ """
17430
+ return self._SqlText
17431
+
17432
+ @SqlText.setter
17433
+ def SqlText(self, SqlText):
17434
+ self._SqlText = SqlText
17435
+
17405
17436
 
17406
17437
  def _deserialize(self, params):
17407
17438
  self._InstanceId = params.get("InstanceId")
@@ -17414,6 +17445,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
17414
17445
  self._Database = params.get("Database")
17415
17446
  self._OrderBy = params.get("OrderBy")
17416
17447
  self._OrderByType = params.get("OrderByType")
17448
+ self._SqlText = params.get("SqlText")
17417
17449
  memeber_set = set(params.keys())
17418
17450
  for name, value in vars(self).items():
17419
17451
  property_name = name[1:]
@@ -35005,6 +35037,8 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
35005
35037
  :type RollbackTables: list of RollbackTable
35006
35038
  :param _OriginalROInstanceList: 原ro实例信息
35007
35039
  :type OriginalROInstanceList: list of str
35040
+ :param _ProjectId: 项目id
35041
+ :type ProjectId: int
35008
35042
  """
35009
35043
  self._Zone = None
35010
35044
  self._OriginalClusterId = None
@@ -35032,6 +35066,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
35032
35066
  self._RollbackDatabases = None
35033
35067
  self._RollbackTables = None
35034
35068
  self._OriginalROInstanceList = None
35069
+ self._ProjectId = None
35035
35070
 
35036
35071
  @property
35037
35072
  def Zone(self):
@@ -35328,6 +35363,17 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
35328
35363
  def OriginalROInstanceList(self, OriginalROInstanceList):
35329
35364
  self._OriginalROInstanceList = OriginalROInstanceList
35330
35365
 
35366
+ @property
35367
+ def ProjectId(self):
35368
+ """项目id
35369
+ :rtype: int
35370
+ """
35371
+ return self._ProjectId
35372
+
35373
+ @ProjectId.setter
35374
+ def ProjectId(self, ProjectId):
35375
+ self._ProjectId = ProjectId
35376
+
35331
35377
 
35332
35378
  def _deserialize(self, params):
35333
35379
  self._Zone = params.get("Zone")
@@ -35381,6 +35427,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
35381
35427
  obj._deserialize(item)
35382
35428
  self._RollbackTables.append(obj)
35383
35429
  self._OriginalROInstanceList = params.get("OriginalROInstanceList")
35430
+ self._ProjectId = params.get("ProjectId")
35384
35431
  memeber_set = set(params.keys())
35385
35432
  for name, value in vars(self).items():
35386
35433
  property_name = name[1:]
@@ -38139,6 +38186,72 @@ class TaskMaintainInfo(AbstractModel):
38139
38186
 
38140
38187
 
38141
38188
 
38189
+ class TaskProgressInfo(AbstractModel):
38190
+ """任务进度查询
38191
+
38192
+ """
38193
+
38194
+ def __init__(self):
38195
+ r"""
38196
+ :param _CurrentStep: 当前步骤
38197
+ :type CurrentStep: str
38198
+ :param _CurrentStepProgress: 当前进度
38199
+ :type CurrentStepProgress: int
38200
+ :param _CurrentStepRemainingTime: 预估时间
38201
+ :type CurrentStepRemainingTime: str
38202
+ """
38203
+ self._CurrentStep = None
38204
+ self._CurrentStepProgress = None
38205
+ self._CurrentStepRemainingTime = None
38206
+
38207
+ @property
38208
+ def CurrentStep(self):
38209
+ """当前步骤
38210
+ :rtype: str
38211
+ """
38212
+ return self._CurrentStep
38213
+
38214
+ @CurrentStep.setter
38215
+ def CurrentStep(self, CurrentStep):
38216
+ self._CurrentStep = CurrentStep
38217
+
38218
+ @property
38219
+ def CurrentStepProgress(self):
38220
+ """当前进度
38221
+ :rtype: int
38222
+ """
38223
+ return self._CurrentStepProgress
38224
+
38225
+ @CurrentStepProgress.setter
38226
+ def CurrentStepProgress(self, CurrentStepProgress):
38227
+ self._CurrentStepProgress = CurrentStepProgress
38228
+
38229
+ @property
38230
+ def CurrentStepRemainingTime(self):
38231
+ """预估时间
38232
+ :rtype: str
38233
+ """
38234
+ return self._CurrentStepRemainingTime
38235
+
38236
+ @CurrentStepRemainingTime.setter
38237
+ def CurrentStepRemainingTime(self, CurrentStepRemainingTime):
38238
+ self._CurrentStepRemainingTime = CurrentStepRemainingTime
38239
+
38240
+
38241
+ def _deserialize(self, params):
38242
+ self._CurrentStep = params.get("CurrentStep")
38243
+ self._CurrentStepProgress = params.get("CurrentStepProgress")
38244
+ self._CurrentStepRemainingTime = params.get("CurrentStepRemainingTime")
38245
+ memeber_set = set(params.keys())
38246
+ for name, value in vars(self).items():
38247
+ property_name = name[1:]
38248
+ if property_name in memeber_set:
38249
+ memeber_set.remove(property_name)
38250
+ if len(memeber_set) > 0:
38251
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
38252
+
38253
+
38254
+
38142
38255
  class TemplateParamInfo(AbstractModel):
38143
38256
  """参数模板详情
38144
38257