tencentcloud-sdk-python 3.0.1298__py2.py3-none-any.whl → 3.0.1300__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 (73) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aca/v20210323/models.py +2 -2
  3. tencentcloud/aiart/v20221229/aiart_client.py +55 -0
  4. tencentcloud/aiart/v20221229/models.py +367 -0
  5. tencentcloud/autoscaling/v20180419/models.py +21 -0
  6. tencentcloud/batch/v20170312/models.py +2 -2
  7. tencentcloud/bh/v20230418/models.py +4 -4
  8. tencentcloud/cdb/v20170320/models.py +27 -0
  9. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  10. tencentcloud/clb/v20180317/models.py +68 -0
  11. tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
  12. tencentcloud/cloudapp/v20220530/models.py +66 -17
  13. tencentcloud/cls/v20201016/models.py +22 -0
  14. tencentcloud/cmq/v20190304/cmq_client.py +0 -365
  15. tencentcloud/cmq/v20190304/models.py +324 -2473
  16. tencentcloud/config/v20220802/config_client.py +46 -0
  17. tencentcloud/config/v20220802/errorcodes.py +3 -0
  18. tencentcloud/config/v20220802/models.py +716 -26
  19. tencentcloud/csxg/v20230303/errorcodes.py +48 -0
  20. tencentcloud/cvm/v20170312/models.py +2 -2
  21. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  22. tencentcloud/cynosdb/v20190107/models.py +113 -0
  23. tencentcloud/dc/v20180410/models.py +50 -121
  24. tencentcloud/drm/v20181115/models.py +17 -0
  25. tencentcloud/dts/v20211206/models.py +68 -2
  26. tencentcloud/ecm/v20190719/models.py +0 -18
  27. tencentcloud/emr/v20190103/models.py +136 -340
  28. tencentcloud/ess/v20201111/ess_client.py +25 -4
  29. tencentcloud/ess/v20201111/models.py +44 -46
  30. tencentcloud/essbasic/v20210526/models.py +42 -18
  31. tencentcloud/gaap/v20180529/gaap_client.py +9 -3
  32. tencentcloud/gwlb/v20240906/models.py +2 -2
  33. tencentcloud/hai/v20230812/errorcodes.py +6 -0
  34. tencentcloud/hai/v20230812/hai_client.py +46 -0
  35. tencentcloud/hai/v20230812/models.py +435 -0
  36. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
  37. tencentcloud/iotexplorer/v20190423/models.py +1012 -36
  38. tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
  39. tencentcloud/iotvideo/v20211125/models.py +135 -0
  40. tencentcloud/keewidb/v20220308/models.py +1 -1
  41. tencentcloud/lcic/v20220817/models.py +2 -2
  42. tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
  43. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  44. tencentcloud/lkeap/v20240522/models.py +54 -16
  45. tencentcloud/mna/v20210119/models.py +0 -20
  46. tencentcloud/mongodb/v20180408/models.py +2 -44
  47. tencentcloud/mongodb/v20190725/models.py +2 -22
  48. tencentcloud/ocr/v20181119/models.py +14 -14
  49. tencentcloud/postgres/v20170312/models.py +233 -0
  50. tencentcloud/postgres/v20170312/postgres_client.py +46 -0
  51. tencentcloud/redis/v20180412/models.py +12 -8
  52. tencentcloud/redis/v20180412/redis_client.py +8 -8
  53. tencentcloud/scf/v20180416/models.py +44 -4
  54. tencentcloud/sms/v20190711/errorcodes.py +6 -0
  55. tencentcloud/sms/v20190711/models.py +81 -0
  56. tencentcloud/sms/v20210111/errorcodes.py +6 -0
  57. tencentcloud/sms/v20210111/models.py +81 -0
  58. tencentcloud/ssl/v20191205/models.py +64 -8
  59. tencentcloud/ssl/v20191205/ssl_client.py +8 -1
  60. tencentcloud/tcb/v20180608/models.py +207 -403
  61. tencentcloud/tcb/v20180608/tcb_client.py +1 -1
  62. tencentcloud/tione/v20211111/models.py +34 -0
  63. tencentcloud/trro/v20220325/models.py +15 -0
  64. tencentcloud/trtc/v20190722/models.py +0 -8
  65. tencentcloud/tse/v20201207/models.py +30 -0
  66. tencentcloud/vpc/v20170312/errorcodes.py +12 -0
  67. tencentcloud/vpc/v20170312/models.py +17 -18
  68. tencentcloud/wedata/v20210820/models.py +126 -0
  69. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/METADATA +1 -1
  70. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/RECORD +73 -73
  71. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/LICENSE +0 -0
  72. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/WHEEL +0 -0
  73. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/top_level.txt +0 -0
@@ -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"):