tencentcloud-sdk-python 3.1.71__py2.py3-none-any.whl → 3.1.73__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 (49) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/billing/v20180709/models.py +79 -34
  3. tencentcloud/ccc/v20200210/models.py +90 -0
  4. tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
  5. tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
  6. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  7. tencentcloud/cynosdb/v20190107/models.py +214 -68
  8. tencentcloud/dlc/v20210125/errorcodes.py +6 -0
  9. tencentcloud/dlc/v20210125/models.py +37 -22
  10. tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  11. tencentcloud/dnspod/v20210323/dnspod_client_async.py +18 -0
  12. tencentcloud/dnspod/v20210323/models.py +255 -0
  13. tencentcloud/emr/v20190103/models.py +375 -564
  14. tencentcloud/ess/v20201111/models.py +10 -14
  15. tencentcloud/faceid/v20180301/models.py +8 -8
  16. tencentcloud/live/v20180801/live_client.py +4 -4
  17. tencentcloud/live/v20180801/live_client_async.py +4 -4
  18. tencentcloud/live/v20180801/models.py +147 -98
  19. tencentcloud/lke/v20231130/models.py +467 -88
  20. tencentcloud/monitor/v20230616/models.py +125 -16
  21. tencentcloud/mps/v20190612/errorcodes.py +36 -0
  22. tencentcloud/mps/v20190612/models.py +14060 -5728
  23. tencentcloud/mps/v20190612/mps_client.py +920 -0
  24. tencentcloud/mps/v20190612/mps_client_async.py +720 -0
  25. tencentcloud/ocr/v20181119/models.py +474 -6
  26. tencentcloud/ocr/v20181119/ocr_client.py +46 -0
  27. tencentcloud/ocr/v20181119/ocr_client_async.py +36 -0
  28. tencentcloud/redis/v20180412/models.py +225 -160
  29. tencentcloud/redis/v20180412/redis_client.py +23 -0
  30. tencentcloud/redis/v20180412/redis_client_async.py +18 -0
  31. tencentcloud/tcb/v20180608/models.py +0 -173
  32. tencentcloud/tcb/v20180608/tcb_client.py +0 -46
  33. tencentcloud/tcb/v20180608/tcb_client_async.py +0 -36
  34. tencentcloud/tcss/v20201101/models.py +297 -144
  35. tencentcloud/teo/v20220901/models.py +59 -2
  36. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  37. tencentcloud/tke/v20180525/models.py +1171 -269
  38. tencentcloud/tke/v20180525/tke_client.py +46 -0
  39. tencentcloud/tke/v20180525/tke_client_async.py +36 -0
  40. tencentcloud/trtc/v20190722/models.py +21 -6
  41. tencentcloud/vod/v20180717/models.py +10 -10
  42. tencentcloud/vpc/v20170312/models.py +572 -12
  43. tencentcloud/vpc/v20170312/vpc_client.py +92 -0
  44. tencentcloud/vpc/v20170312/vpc_client_async.py +72 -0
  45. {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.73.dist-info}/METADATA +1 -1
  46. {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.73.dist-info}/RECORD +49 -49
  47. {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.73.dist-info}/LICENSE +0 -0
  48. {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.73.dist-info}/WHEEL +0 -0
  49. {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.73.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.1.71'
17
+ __version__ = '3.1.73'
@@ -14266,40 +14266,46 @@ class CostDetail(AbstractModel):
14266
14266
 
14267
14267
  def __init__(self):
14268
14268
  r"""
14269
- :param _PayerUin: 支付者uin
14269
+ :param _PayerUin: <p>支付者uin</p>
14270
14270
  :type PayerUin: str
14271
- :param _BusinessCodeName: 产品名称
14271
+ :param _BusinessCodeName: <p>产品名称</p>
14272
14272
  :type BusinessCodeName: str
14273
- :param _ProductCodeName: 子产品名称
14273
+ :param _ProductCodeName: <p>子产品名称</p>
14274
14274
  :type ProductCodeName: str
14275
- :param _PayModeName: 计费模式名称
14275
+ :param _PayModeName: <p>计费模式名称</p>
14276
14276
  :type PayModeName: str
14277
- :param _ProjectName: 项目名称
14277
+ :param _ProjectName: <p>项目名称</p>
14278
14278
  :type ProjectName: str
14279
- :param _RegionName: 区域名称
14279
+ :param _RegionName: <p>区域名称</p>
14280
14280
  :type RegionName: str
14281
- :param _ZoneName: 地区名称
14281
+ :param _ZoneName: <p>地区名称</p>
14282
14282
  :type ZoneName: str
14283
- :param _ResourceId: 资源id
14283
+ :param _ResourceId: <p>资源id</p>
14284
14284
  :type ResourceId: str
14285
- :param _ResourceName: 资源名称
14285
+ :param _ResourceName: <p>资源名称</p>
14286
14286
  :type ResourceName: str
14287
- :param _ActionTypeName: 类型名称
14287
+ :param _ActionTypeName: <p>类型名称</p>
14288
14288
  :type ActionTypeName: str
14289
- :param _OrderId: 订单id
14289
+ :param _OrderId: <p>订单id</p>
14290
14290
  :type OrderId: str
14291
- :param _BillId: 交易id
14291
+ :param _BillId: <p>交易id</p>
14292
14292
  :type BillId: str
14293
- :param _FeeBeginTime: 费用开始时间
14293
+ :param _FeeBeginTime: <p>费用开始时间</p>
14294
14294
  :type FeeBeginTime: str
14295
- :param _FeeEndTime: 费用结束时间
14295
+ :param _FeeEndTime: <p>费用结束时间</p>
14296
14296
  :type FeeEndTime: str
14297
- :param _ComponentSet: 组件明细
14297
+ :param _ComponentSet: <p>组件明细</p>
14298
14298
  :type ComponentSet: list of CostComponentSet
14299
- :param _ProductCode: 子产品名称代码
14299
+ :param _ProductCode: <p>子产品名称代码</p>
14300
14300
  :type ProductCode: str
14301
- :param _Tags: 标签信息
14301
+ :param _Tags: <p>标签信息</p>
14302
14302
  :type Tags: list of BillTagInfo
14303
+ :param _OperateUin: <p>操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )</p>
14304
+ :type OperateUin: str
14305
+ :param _OwnerUin: <p>使用者UIN:实际使用资源的账号 ID</p>
14306
+ :type OwnerUin: str
14307
+ :param _PayTime: <p>扣费时间:结算扣费时间</p>
14308
+ :type PayTime: str
14303
14309
  """
14304
14310
  self._PayerUin = None
14305
14311
  self._BusinessCodeName = None
@@ -14318,10 +14324,13 @@ class CostDetail(AbstractModel):
14318
14324
  self._ComponentSet = None
14319
14325
  self._ProductCode = None
14320
14326
  self._Tags = None
14327
+ self._OperateUin = None
14328
+ self._OwnerUin = None
14329
+ self._PayTime = None
14321
14330
 
14322
14331
  @property
14323
14332
  def PayerUin(self):
14324
- r"""支付者uin
14333
+ r"""<p>支付者uin</p>
14325
14334
  :rtype: str
14326
14335
  """
14327
14336
  return self._PayerUin
@@ -14332,7 +14341,7 @@ class CostDetail(AbstractModel):
14332
14341
 
14333
14342
  @property
14334
14343
  def BusinessCodeName(self):
14335
- r"""产品名称
14344
+ r"""<p>产品名称</p>
14336
14345
  :rtype: str
14337
14346
  """
14338
14347
  return self._BusinessCodeName
@@ -14343,7 +14352,7 @@ class CostDetail(AbstractModel):
14343
14352
 
14344
14353
  @property
14345
14354
  def ProductCodeName(self):
14346
- r"""子产品名称
14355
+ r"""<p>子产品名称</p>
14347
14356
  :rtype: str
14348
14357
  """
14349
14358
  return self._ProductCodeName
@@ -14354,7 +14363,7 @@ class CostDetail(AbstractModel):
14354
14363
 
14355
14364
  @property
14356
14365
  def PayModeName(self):
14357
- r"""计费模式名称
14366
+ r"""<p>计费模式名称</p>
14358
14367
  :rtype: str
14359
14368
  """
14360
14369
  return self._PayModeName
@@ -14365,7 +14374,7 @@ class CostDetail(AbstractModel):
14365
14374
 
14366
14375
  @property
14367
14376
  def ProjectName(self):
14368
- r"""项目名称
14377
+ r"""<p>项目名称</p>
14369
14378
  :rtype: str
14370
14379
  """
14371
14380
  return self._ProjectName
@@ -14376,7 +14385,7 @@ class CostDetail(AbstractModel):
14376
14385
 
14377
14386
  @property
14378
14387
  def RegionName(self):
14379
- r"""区域名称
14388
+ r"""<p>区域名称</p>
14380
14389
  :rtype: str
14381
14390
  """
14382
14391
  return self._RegionName
@@ -14387,7 +14396,7 @@ class CostDetail(AbstractModel):
14387
14396
 
14388
14397
  @property
14389
14398
  def ZoneName(self):
14390
- r"""地区名称
14399
+ r"""<p>地区名称</p>
14391
14400
  :rtype: str
14392
14401
  """
14393
14402
  return self._ZoneName
@@ -14398,7 +14407,7 @@ class CostDetail(AbstractModel):
14398
14407
 
14399
14408
  @property
14400
14409
  def ResourceId(self):
14401
- r"""资源id
14410
+ r"""<p>资源id</p>
14402
14411
  :rtype: str
14403
14412
  """
14404
14413
  return self._ResourceId
@@ -14409,7 +14418,7 @@ class CostDetail(AbstractModel):
14409
14418
 
14410
14419
  @property
14411
14420
  def ResourceName(self):
14412
- r"""资源名称
14421
+ r"""<p>资源名称</p>
14413
14422
  :rtype: str
14414
14423
  """
14415
14424
  return self._ResourceName
@@ -14420,7 +14429,7 @@ class CostDetail(AbstractModel):
14420
14429
 
14421
14430
  @property
14422
14431
  def ActionTypeName(self):
14423
- r"""类型名称
14432
+ r"""<p>类型名称</p>
14424
14433
  :rtype: str
14425
14434
  """
14426
14435
  return self._ActionTypeName
@@ -14431,7 +14440,7 @@ class CostDetail(AbstractModel):
14431
14440
 
14432
14441
  @property
14433
14442
  def OrderId(self):
14434
- r"""订单id
14443
+ r"""<p>订单id</p>
14435
14444
  :rtype: str
14436
14445
  """
14437
14446
  return self._OrderId
@@ -14442,7 +14451,7 @@ class CostDetail(AbstractModel):
14442
14451
 
14443
14452
  @property
14444
14453
  def BillId(self):
14445
- r"""交易id
14454
+ r"""<p>交易id</p>
14446
14455
  :rtype: str
14447
14456
  """
14448
14457
  return self._BillId
@@ -14453,7 +14462,7 @@ class CostDetail(AbstractModel):
14453
14462
 
14454
14463
  @property
14455
14464
  def FeeBeginTime(self):
14456
- r"""费用开始时间
14465
+ r"""<p>费用开始时间</p>
14457
14466
  :rtype: str
14458
14467
  """
14459
14468
  return self._FeeBeginTime
@@ -14464,7 +14473,7 @@ class CostDetail(AbstractModel):
14464
14473
 
14465
14474
  @property
14466
14475
  def FeeEndTime(self):
14467
- r"""费用结束时间
14476
+ r"""<p>费用结束时间</p>
14468
14477
  :rtype: str
14469
14478
  """
14470
14479
  return self._FeeEndTime
@@ -14475,7 +14484,7 @@ class CostDetail(AbstractModel):
14475
14484
 
14476
14485
  @property
14477
14486
  def ComponentSet(self):
14478
- r"""组件明细
14487
+ r"""<p>组件明细</p>
14479
14488
  :rtype: list of CostComponentSet
14480
14489
  """
14481
14490
  return self._ComponentSet
@@ -14486,7 +14495,7 @@ class CostDetail(AbstractModel):
14486
14495
 
14487
14496
  @property
14488
14497
  def ProductCode(self):
14489
- r"""子产品名称代码
14498
+ r"""<p>子产品名称代码</p>
14490
14499
  :rtype: str
14491
14500
  """
14492
14501
  return self._ProductCode
@@ -14497,7 +14506,7 @@ class CostDetail(AbstractModel):
14497
14506
 
14498
14507
  @property
14499
14508
  def Tags(self):
14500
- r"""标签信息
14509
+ r"""<p>标签信息</p>
14501
14510
  :rtype: list of BillTagInfo
14502
14511
  """
14503
14512
  return self._Tags
@@ -14506,6 +14515,39 @@ class CostDetail(AbstractModel):
14506
14515
  def Tags(self, Tags):
14507
14516
  self._Tags = Tags
14508
14517
 
14518
+ @property
14519
+ def OperateUin(self):
14520
+ r"""<p>操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )</p>
14521
+ :rtype: str
14522
+ """
14523
+ return self._OperateUin
14524
+
14525
+ @OperateUin.setter
14526
+ def OperateUin(self, OperateUin):
14527
+ self._OperateUin = OperateUin
14528
+
14529
+ @property
14530
+ def OwnerUin(self):
14531
+ r"""<p>使用者UIN:实际使用资源的账号 ID</p>
14532
+ :rtype: str
14533
+ """
14534
+ return self._OwnerUin
14535
+
14536
+ @OwnerUin.setter
14537
+ def OwnerUin(self, OwnerUin):
14538
+ self._OwnerUin = OwnerUin
14539
+
14540
+ @property
14541
+ def PayTime(self):
14542
+ r"""<p>扣费时间:结算扣费时间</p>
14543
+ :rtype: str
14544
+ """
14545
+ return self._PayTime
14546
+
14547
+ @PayTime.setter
14548
+ def PayTime(self, PayTime):
14549
+ self._PayTime = PayTime
14550
+
14509
14551
 
14510
14552
  def _deserialize(self, params):
14511
14553
  self._PayerUin = params.get("PayerUin")
@@ -14535,6 +14577,9 @@ class CostDetail(AbstractModel):
14535
14577
  obj = BillTagInfo()
14536
14578
  obj._deserialize(item)
14537
14579
  self._Tags.append(obj)
14580
+ self._OperateUin = params.get("OperateUin")
14581
+ self._OwnerUin = params.get("OwnerUin")
14582
+ self._PayTime = params.get("PayTime")
14538
14583
  memeber_set = set(params.keys())
14539
14584
  for name, value in vars(self).items():
14540
14585
  property_name = name[1:]
@@ -5675,6 +5675,12 @@ class CreateOwnNumberApplyRequest(AbstractModel):
5675
5675
  :type MobileNddPrefix: str
5676
5676
  :param _LocalNumberTrimAC: 同市固话去掉区号
5677
5677
  :type LocalNumberTrimAC: bool
5678
+ :param _CalleeFormatPassthrough: 被叫格式透传 (完成透传用户输入,不做处理)
5679
+ :type CalleeFormatPassthrough: bool
5680
+ :param _CallerFormatPassthrough: 主叫格式透传 (完成透传用户输入,不做处理)
5681
+ :type CallerFormatPassthrough: bool
5682
+ :param _InternationalNumberPrefix: 国际长途前缀码
5683
+ :type InternationalNumberPrefix: str
5678
5684
  """
5679
5685
  self._SdkAppId = None
5680
5686
  self._SipTrunkId = None
@@ -5682,6 +5688,9 @@ class CreateOwnNumberApplyRequest(AbstractModel):
5682
5688
  self._Prefix = None
5683
5689
  self._MobileNddPrefix = None
5684
5690
  self._LocalNumberTrimAC = None
5691
+ self._CalleeFormatPassthrough = None
5692
+ self._CallerFormatPassthrough = None
5693
+ self._InternationalNumberPrefix = None
5685
5694
 
5686
5695
  @property
5687
5696
  def SdkAppId(self):
@@ -5749,6 +5758,39 @@ class CreateOwnNumberApplyRequest(AbstractModel):
5749
5758
  def LocalNumberTrimAC(self, LocalNumberTrimAC):
5750
5759
  self._LocalNumberTrimAC = LocalNumberTrimAC
5751
5760
 
5761
+ @property
5762
+ def CalleeFormatPassthrough(self):
5763
+ r"""被叫格式透传 (完成透传用户输入,不做处理)
5764
+ :rtype: bool
5765
+ """
5766
+ return self._CalleeFormatPassthrough
5767
+
5768
+ @CalleeFormatPassthrough.setter
5769
+ def CalleeFormatPassthrough(self, CalleeFormatPassthrough):
5770
+ self._CalleeFormatPassthrough = CalleeFormatPassthrough
5771
+
5772
+ @property
5773
+ def CallerFormatPassthrough(self):
5774
+ r"""主叫格式透传 (完成透传用户输入,不做处理)
5775
+ :rtype: bool
5776
+ """
5777
+ return self._CallerFormatPassthrough
5778
+
5779
+ @CallerFormatPassthrough.setter
5780
+ def CallerFormatPassthrough(self, CallerFormatPassthrough):
5781
+ self._CallerFormatPassthrough = CallerFormatPassthrough
5782
+
5783
+ @property
5784
+ def InternationalNumberPrefix(self):
5785
+ r"""国际长途前缀码
5786
+ :rtype: str
5787
+ """
5788
+ return self._InternationalNumberPrefix
5789
+
5790
+ @InternationalNumberPrefix.setter
5791
+ def InternationalNumberPrefix(self, InternationalNumberPrefix):
5792
+ self._InternationalNumberPrefix = InternationalNumberPrefix
5793
+
5752
5794
 
5753
5795
  def _deserialize(self, params):
5754
5796
  self._SdkAppId = params.get("SdkAppId")
@@ -5762,6 +5804,9 @@ class CreateOwnNumberApplyRequest(AbstractModel):
5762
5804
  self._Prefix = params.get("Prefix")
5763
5805
  self._MobileNddPrefix = params.get("MobileNddPrefix")
5764
5806
  self._LocalNumberTrimAC = params.get("LocalNumberTrimAC")
5807
+ self._CalleeFormatPassthrough = params.get("CalleeFormatPassthrough")
5808
+ self._CallerFormatPassthrough = params.get("CallerFormatPassthrough")
5809
+ self._InternationalNumberPrefix = params.get("InternationalNumberPrefix")
5765
5810
  memeber_set = set(params.keys())
5766
5811
  for name, value in vars(self).items():
5767
5812
  property_name = name[1:]
@@ -14755,6 +14800,12 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
14755
14800
  :type MobileNddPrefix: str
14756
14801
  :param _LocalNumberTrimAC: 同市固话去掉区号
14757
14802
  :type LocalNumberTrimAC: bool
14803
+ :param _CalleeFormatPassthrough: 被叫格式透传 (完成透传用户输入,不做处理)
14804
+ :type CalleeFormatPassthrough: bool
14805
+ :param _CallerFormatPassthrough: 主叫格式透传 (完成透传用户输入,不做处理)
14806
+ :type CallerFormatPassthrough: bool
14807
+ :param _InternationalNumberPrefix: 国际长途前缀码
14808
+ :type InternationalNumberPrefix: str
14758
14809
  """
14759
14810
  self._SdkAppId = None
14760
14811
  self._DetailList = None
@@ -14762,6 +14813,9 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
14762
14813
  self._Prefix = None
14763
14814
  self._MobileNddPrefix = None
14764
14815
  self._LocalNumberTrimAC = None
14816
+ self._CalleeFormatPassthrough = None
14817
+ self._CallerFormatPassthrough = None
14818
+ self._InternationalNumberPrefix = None
14765
14819
 
14766
14820
  @property
14767
14821
  def SdkAppId(self):
@@ -14829,6 +14883,39 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
14829
14883
  def LocalNumberTrimAC(self, LocalNumberTrimAC):
14830
14884
  self._LocalNumberTrimAC = LocalNumberTrimAC
14831
14885
 
14886
+ @property
14887
+ def CalleeFormatPassthrough(self):
14888
+ r"""被叫格式透传 (完成透传用户输入,不做处理)
14889
+ :rtype: bool
14890
+ """
14891
+ return self._CalleeFormatPassthrough
14892
+
14893
+ @CalleeFormatPassthrough.setter
14894
+ def CalleeFormatPassthrough(self, CalleeFormatPassthrough):
14895
+ self._CalleeFormatPassthrough = CalleeFormatPassthrough
14896
+
14897
+ @property
14898
+ def CallerFormatPassthrough(self):
14899
+ r"""主叫格式透传 (完成透传用户输入,不做处理)
14900
+ :rtype: bool
14901
+ """
14902
+ return self._CallerFormatPassthrough
14903
+
14904
+ @CallerFormatPassthrough.setter
14905
+ def CallerFormatPassthrough(self, CallerFormatPassthrough):
14906
+ self._CallerFormatPassthrough = CallerFormatPassthrough
14907
+
14908
+ @property
14909
+ def InternationalNumberPrefix(self):
14910
+ r"""国际长途前缀码
14911
+ :rtype: str
14912
+ """
14913
+ return self._InternationalNumberPrefix
14914
+
14915
+ @InternationalNumberPrefix.setter
14916
+ def InternationalNumberPrefix(self, InternationalNumberPrefix):
14917
+ self._InternationalNumberPrefix = InternationalNumberPrefix
14918
+
14832
14919
 
14833
14920
  def _deserialize(self, params):
14834
14921
  self._SdkAppId = params.get("SdkAppId")
@@ -14842,6 +14929,9 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
14842
14929
  self._Prefix = params.get("Prefix")
14843
14930
  self._MobileNddPrefix = params.get("MobileNddPrefix")
14844
14931
  self._LocalNumberTrimAC = params.get("LocalNumberTrimAC")
14932
+ self._CalleeFormatPassthrough = params.get("CalleeFormatPassthrough")
14933
+ self._CallerFormatPassthrough = params.get("CallerFormatPassthrough")
14934
+ self._InternationalNumberPrefix = params.get("InternationalNumberPrefix")
14845
14935
  memeber_set = set(params.keys())
14846
14936
  for name, value in vars(self).items():
14847
14937
  property_name = name[1:]
@@ -1981,6 +1981,29 @@ class CynosdbClient(AbstractClient):
1981
1981
  raise TencentCloudSDKException(type(e).__name__, str(e))
1982
1982
 
1983
1983
 
1984
+ def DescribeInstanceSpecsByOperationType(self, request):
1985
+ r"""根据操作类型查询实例规格
1986
+
1987
+ :param request: Request instance for DescribeInstanceSpecsByOperationType.
1988
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceSpecsByOperationTypeRequest`
1989
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceSpecsByOperationTypeResponse`
1990
+
1991
+ """
1992
+ try:
1993
+ params = request._serialize()
1994
+ headers = request.headers
1995
+ body = self.call("DescribeInstanceSpecsByOperationType", params, headers=headers)
1996
+ response = json.loads(body)
1997
+ model = models.DescribeInstanceSpecsByOperationTypeResponse()
1998
+ model._deserialize(response["Response"])
1999
+ return model
2000
+ except Exception as e:
2001
+ if isinstance(e, TencentCloudSDKException):
2002
+ raise
2003
+ else:
2004
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2005
+
2006
+
1984
2007
  def DescribeInstances(self, request):
1985
2008
  r"""本接口(DescribeInstances)用于查询实例列表。
1986
2009
 
@@ -1555,6 +1555,24 @@ class CynosdbClient(AbstractClient):
1555
1555
 
1556
1556
  return await self.call_and_deserialize(**kwargs)
1557
1557
 
1558
+ async def DescribeInstanceSpecsByOperationType(
1559
+ self,
1560
+ request: models.DescribeInstanceSpecsByOperationTypeRequest,
1561
+ opts: Dict = None,
1562
+ ) -> models.DescribeInstanceSpecsByOperationTypeResponse:
1563
+ """
1564
+ 根据操作类型查询实例规格
1565
+ """
1566
+
1567
+ kwargs = {}
1568
+ kwargs["action"] = "DescribeInstanceSpecsByOperationType"
1569
+ kwargs["params"] = request._serialize()
1570
+ kwargs["resp_cls"] = models.DescribeInstanceSpecsByOperationTypeResponse
1571
+ kwargs["headers"] = request.headers
1572
+ kwargs["opts"] = opts or {}
1573
+
1574
+ return await self.call_and_deserialize(**kwargs)
1575
+
1558
1576
  async def DescribeInstances(
1559
1577
  self,
1560
1578
  request: models.DescribeInstancesRequest,
@@ -302,6 +302,9 @@ OPERATIONDENIED_CLUSTERTASKCONFLICTERROR = 'OperationDenied.ClusterTaskConflictE
302
302
  # 创建任务失败。{{1}}
303
303
  OPERATIONDENIED_CREATETASKANDFLOWERROR = 'OperationDenied.CreateTaskAndFlowError'
304
304
 
305
+ # 实例内核版本不支持{{1}}
306
+ OPERATIONDENIED_CYNOSDBVERSIONNOTSUPPORTERROR = 'OperationDenied.CynosdbVersionNotSupportError'
307
+
305
308
  # 新存储架构多可用区部署功能暂未开放
306
309
  OPERATIONDENIED_DISABLENEWSTORAGEMULTIZONEDEPLOYMENTERROR = 'OperationDenied.DisableNewStorageMultiZoneDeploymentError'
307
310