tencentcloud-sdk-python 3.0.1359__py2.py3-none-any.whl → 3.0.1361__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 (55) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +14 -44
  3. tencentcloud/bh/v20230418/bh_client.py +115 -0
  4. tencentcloud/bh/v20230418/models.py +1064 -131
  5. tencentcloud/cbs/v20170312/models.py +2 -2
  6. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  7. tencentcloud/cdb/v20170320/models.py +6 -6
  8. tencentcloud/cdwdoris/v20211228/models.py +30 -0
  9. tencentcloud/cdwpg/v20201230/models.py +22 -206
  10. tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
  11. tencentcloud/ckafka/v20190819/models.py +367 -0
  12. tencentcloud/cvm/v20170312/cvm_client.py +10 -7
  13. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  14. tencentcloud/cvm/v20170312/models.py +186 -174
  15. tencentcloud/cynosdb/v20190107/models.py +105 -0
  16. tencentcloud/dlc/v20210125/models.py +107 -564
  17. tencentcloud/dsgc/v20190723/models.py +30 -0
  18. tencentcloud/emr/v20190103/emr_client.py +23 -0
  19. tencentcloud/emr/v20190103/models.py +214 -0
  20. tencentcloud/ess/v20201111/models.py +256 -0
  21. tencentcloud/essbasic/v20210526/models.py +281 -13
  22. tencentcloud/gaap/v20180529/models.py +0 -166
  23. tencentcloud/gs/v20191118/errorcodes.py +24 -0
  24. tencentcloud/gs/v20191118/gs_client.py +138 -0
  25. tencentcloud/gs/v20191118/models.py +683 -21
  26. tencentcloud/gwlb/v20240906/gwlb_client.py +5 -7
  27. tencentcloud/gwlb/v20240906/models.py +72 -54
  28. tencentcloud/ioa/v20220601/ioa_client.py +46 -0
  29. tencentcloud/ioa/v20220601/models.py +358 -0
  30. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
  31. tencentcloud/iotexplorer/v20190423/models.py +600 -0
  32. tencentcloud/kms/v20190118/models.py +71 -0
  33. tencentcloud/lcic/v20220817/models.py +34 -0
  34. tencentcloud/lighthouse/v20200324/lighthouse_client.py +4 -1
  35. tencentcloud/lighthouse/v20200324/models.py +14 -10
  36. tencentcloud/monitor/v20180724/models.py +2 -2
  37. tencentcloud/monitor/v20180724/monitor_client.py +1 -1
  38. tencentcloud/mps/v20190612/models.py +12 -10
  39. tencentcloud/privatedns/v20201028/models.py +36 -6
  40. tencentcloud/tan/v20220420/tan_client.py +3 -1
  41. tencentcloud/tcb/v20180608/models.py +60 -0
  42. tencentcloud/tione/v20211111/errorcodes.py +3 -0
  43. tencentcloud/tione/v20211111/models.py +53 -0
  44. tencentcloud/trocket/v20230308/models.py +1398 -66
  45. tencentcloud/trocket/v20230308/trocket_client.py +214 -0
  46. tencentcloud/vclm/v20240523/models.py +2 -2
  47. tencentcloud/vpc/v20170312/models.py +263 -81
  48. tencentcloud/vpc/v20170312/vpc_client.py +25 -2
  49. tencentcloud/wedata/v20210820/models.py +2691 -4
  50. tencentcloud/wedata/v20210820/wedata_client.py +69 -0
  51. {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/METADATA +1 -1
  52. {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/RECORD +55 -55
  53. {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/LICENSE +0 -0
  54. {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/WHEEL +0 -0
  55. {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.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.1359'
17
+ __version__ = '3.0.1361'
@@ -1667,23 +1667,11 @@ class DataDisk(AbstractModel):
1667
1667
  :param _DiskId: 数据盘ID。
1668
1668
  该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
1669
1669
  :type DiskId: str
1670
- :param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
1671
- <li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
1672
- <li>
1673
- false:子机销毁时,保留数据盘<br />
1674
- 默认取值:true<br />
1675
- 该参数目前仅用于 `RunInstances` 接口。
1676
- </li>
1670
+ :param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
1677
1671
  :type DeleteWithInstance: bool
1678
1672
  :param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
1679
1673
  :type SnapshotId: str
1680
- :param _Encrypt: 数据盘是加密。取值范围:
1681
- <li>true:加密</li>
1682
- <li>
1683
- false:不加密<br />
1684
- 默认取值:false<br />
1685
- 该参数目前仅用于 `RunInstances` 接口。
1686
- </li>
1674
+ :param _Encrypt: 数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
1687
1675
  :type Encrypt: bool
1688
1676
  :param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
1689
1677
 
@@ -1750,13 +1738,7 @@ class DataDisk(AbstractModel):
1750
1738
 
1751
1739
  @property
1752
1740
  def DeleteWithInstance(self):
1753
- """数据盘是否随子机销毁。取值范围:
1754
- <li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
1755
- <li>
1756
- false:子机销毁时,保留数据盘<br />
1757
- 默认取值:true<br />
1758
- 该参数目前仅用于 `RunInstances` 接口。
1759
- </li>
1741
+ """数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
1760
1742
  :rtype: bool
1761
1743
  """
1762
1744
  return self._DeleteWithInstance
@@ -1778,13 +1760,7 @@ class DataDisk(AbstractModel):
1778
1760
 
1779
1761
  @property
1780
1762
  def Encrypt(self):
1781
- """数据盘是加密。取值范围:
1782
- <li>true:加密</li>
1783
- <li>
1784
- false:不加密<br />
1785
- 默认取值:false<br />
1786
- 该参数目前仅用于 `RunInstances` 接口。
1787
- </li>
1763
+ """数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
1788
1764
  :rtype: bool
1789
1765
  """
1790
1766
  return self._Encrypt
@@ -5835,7 +5811,7 @@ class InstanceTypeQuotaItem(AbstractModel):
5835
5811
  :type Zone: str
5836
5812
  :param _InstanceType: 实例机型。
5837
5813
  :type InstanceType: str
5838
- :param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li>`SPOTPAID`:表示竞价实例付费。
5814
+ :param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
5839
5815
  :type InstanceChargeType: str
5840
5816
  :param _NetworkCard: 网卡类型,例如:25代表25G网卡
5841
5817
  :type NetworkCard: int
@@ -5851,7 +5827,7 @@ class InstanceTypeQuotaItem(AbstractModel):
5851
5827
  :type TypeName: str
5852
5828
  :param _LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
5853
5829
  :type LocalDiskTypeList: list of LocalDiskType
5854
- :param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT:表示实例已售罄。
5830
+ :param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
5855
5831
  :type Status: str
5856
5832
  :param _Price: 实例的售卖价格。
5857
5833
  :type Price: :class:`tencentcloud.batch.v20170312.models.ItemPrice`
@@ -5876,10 +5852,7 @@ class InstanceTypeQuotaItem(AbstractModel):
5876
5852
  :param _Frequency: 实例的CPU主频信息
5877
5853
  :type Frequency: str
5878
5854
  :param _StatusCategory: 描述库存情况。取值范围:
5879
- <li> EnoughStock:表示对应库存非常充足</li>
5880
- <li>NormalStock:表示对应库存供应有保障</li>
5881
- <li> UnderStock:表示对应库存即将售罄</li>
5882
- <li>WithoutStock:表示对应库存已经售罄</li>
5855
+ <li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
5883
5856
  :type StatusCategory: str
5884
5857
  """
5885
5858
  self._Zone = None
@@ -5930,7 +5903,7 @@ class InstanceTypeQuotaItem(AbstractModel):
5930
5903
 
5931
5904
  @property
5932
5905
  def InstanceChargeType(self):
5933
- """实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li>`SPOTPAID`:表示竞价实例付费。
5906
+ """实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
5934
5907
  :rtype: str
5935
5908
  """
5936
5909
  return self._InstanceChargeType
@@ -6018,7 +5991,7 @@ class InstanceTypeQuotaItem(AbstractModel):
6018
5991
 
6019
5992
  @property
6020
5993
  def Status(self):
6021
- """实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT:表示实例已售罄。
5994
+ """实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
6022
5995
  :rtype: str
6023
5996
  """
6024
5997
  return self._Status
@@ -6151,10 +6124,7 @@ class InstanceTypeQuotaItem(AbstractModel):
6151
6124
  @property
6152
6125
  def StatusCategory(self):
6153
6126
  """描述库存情况。取值范围:
6154
- <li> EnoughStock:表示对应库存非常充足</li>
6155
- <li>NormalStock:表示对应库存供应有保障</li>
6156
- <li> UnderStock:表示对应库存即将售罄</li>
6157
- <li>WithoutStock:表示对应库存已经售罄</li>
6127
+ <li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
6158
6128
  :rtype: str
6159
6129
  """
6160
6130
  return self._StatusCategory
@@ -8397,9 +8367,9 @@ class StorageBlock(AbstractModel):
8397
8367
  r"""
8398
8368
  :param _Type: HDD本地存储类型,值为:LOCAL_PRO.
8399
8369
  :type Type: str
8400
- :param _MinSize: HDD本地存储的最小容量
8370
+ :param _MinSize: HDD本地存储的最小容量。单位:GiB。
8401
8371
  :type MinSize: int
8402
- :param _MaxSize: HDD本地存储的最大容量
8372
+ :param _MaxSize: HDD本地存储的最大容量。单位:GiB。
8403
8373
  :type MaxSize: int
8404
8374
  """
8405
8375
  self._Type = None
@@ -8419,7 +8389,7 @@ class StorageBlock(AbstractModel):
8419
8389
 
8420
8390
  @property
8421
8391
  def MinSize(self):
8422
- """HDD本地存储的最小容量
8392
+ """HDD本地存储的最小容量。单位:GiB。
8423
8393
  :rtype: int
8424
8394
  """
8425
8395
  return self._MinSize
@@ -8430,7 +8400,7 @@ class StorageBlock(AbstractModel):
8430
8400
 
8431
8401
  @property
8432
8402
  def MaxSize(self):
8433
- """HDD本地存储的最大容量
8403
+ """HDD本地存储的最大容量。单位:GiB。
8434
8404
  :rtype: int
8435
8405
  """
8436
8406
  return self._MaxSize
@@ -164,6 +164,29 @@ class BhClient(AbstractClient):
164
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
165
165
 
166
166
 
167
+ def CreateAccessWhiteListRule(self, request):
168
+ """添加访问白名单规则
169
+
170
+ :param request: Request instance for CreateAccessWhiteListRule.
171
+ :type request: :class:`tencentcloud.bh.v20230418.models.CreateAccessWhiteListRuleRequest`
172
+ :rtype: :class:`tencentcloud.bh.v20230418.models.CreateAccessWhiteListRuleResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("CreateAccessWhiteListRule", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.CreateAccessWhiteListRuleResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
167
190
  def CreateAcl(self, request):
168
191
  """新建访问权限
169
192
 
@@ -394,6 +417,29 @@ class BhClient(AbstractClient):
394
417
  raise TencentCloudSDKException(type(e).__name__, str(e))
395
418
 
396
419
 
420
+ def DeleteAccessWhiteListRules(self, request):
421
+ """删除访问白名单规则
422
+
423
+ :param request: Request instance for DeleteAccessWhiteListRules.
424
+ :type request: :class:`tencentcloud.bh.v20230418.models.DeleteAccessWhiteListRulesRequest`
425
+ :rtype: :class:`tencentcloud.bh.v20230418.models.DeleteAccessWhiteListRulesResponse`
426
+
427
+ """
428
+ try:
429
+ params = request._serialize()
430
+ headers = request.headers
431
+ body = self.call("DeleteAccessWhiteListRules", params, headers=headers)
432
+ response = json.loads(body)
433
+ model = models.DeleteAccessWhiteListRulesResponse()
434
+ model._deserialize(response["Response"])
435
+ return model
436
+ except Exception as e:
437
+ if isinstance(e, TencentCloudSDKException):
438
+ raise
439
+ else:
440
+ raise TencentCloudSDKException(type(e).__name__, str(e))
441
+
442
+
397
443
  def DeleteAcls(self, request):
398
444
  """删除访问权限
399
445
 
@@ -670,6 +716,29 @@ class BhClient(AbstractClient):
670
716
  raise TencentCloudSDKException(type(e).__name__, str(e))
671
717
 
672
718
 
719
+ def DescribeAccessWhiteListRules(self, request):
720
+ """查询访问白名单规则列表
721
+
722
+ :param request: Request instance for DescribeAccessWhiteListRules.
723
+ :type request: :class:`tencentcloud.bh.v20230418.models.DescribeAccessWhiteListRulesRequest`
724
+ :rtype: :class:`tencentcloud.bh.v20230418.models.DescribeAccessWhiteListRulesResponse`
725
+
726
+ """
727
+ try:
728
+ params = request._serialize()
729
+ headers = request.headers
730
+ body = self.call("DescribeAccessWhiteListRules", params, headers=headers)
731
+ response = json.loads(body)
732
+ model = models.DescribeAccessWhiteListRulesResponse()
733
+ model._deserialize(response["Response"])
734
+ return model
735
+ except Exception as e:
736
+ if isinstance(e, TencentCloudSDKException):
737
+ raise
738
+ else:
739
+ raise TencentCloudSDKException(type(e).__name__, str(e))
740
+
741
+
673
742
  def DescribeAcls(self, request):
674
743
  """查询访问权限列表
675
744
 
@@ -1583,6 +1652,52 @@ class BhClient(AbstractClient):
1583
1652
  model = models.SearchSessionCommandResponse()
1584
1653
  model._deserialize(response["Response"])
1585
1654
  return model
1655
+ except Exception as e:
1656
+ if isinstance(e, TencentCloudSDKException):
1657
+ raise
1658
+ else:
1659
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1660
+
1661
+
1662
+ def SearchSubtaskResultById(self, request):
1663
+ """查询运维子任务执行结果
1664
+
1665
+ :param request: Request instance for SearchSubtaskResultById.
1666
+ :type request: :class:`tencentcloud.bh.v20230418.models.SearchSubtaskResultByIdRequest`
1667
+ :rtype: :class:`tencentcloud.bh.v20230418.models.SearchSubtaskResultByIdResponse`
1668
+
1669
+ """
1670
+ try:
1671
+ params = request._serialize()
1672
+ headers = request.headers
1673
+ body = self.call("SearchSubtaskResultById", params, headers=headers)
1674
+ response = json.loads(body)
1675
+ model = models.SearchSubtaskResultByIdResponse()
1676
+ model._deserialize(response["Response"])
1677
+ return model
1678
+ except Exception as e:
1679
+ if isinstance(e, TencentCloudSDKException):
1680
+ raise
1681
+ else:
1682
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1683
+
1684
+
1685
+ def SearchTaskResult(self, request):
1686
+ """搜索运维任务执行结果
1687
+
1688
+ :param request: Request instance for SearchTaskResult.
1689
+ :type request: :class:`tencentcloud.bh.v20230418.models.SearchTaskResultRequest`
1690
+ :rtype: :class:`tencentcloud.bh.v20230418.models.SearchTaskResultResponse`
1691
+
1692
+ """
1693
+ try:
1694
+ params = request._serialize()
1695
+ headers = request.headers
1696
+ body = self.call("SearchTaskResult", params, headers=headers)
1697
+ response = json.loads(body)
1698
+ model = models.SearchTaskResultResponse()
1699
+ model._deserialize(response["Response"])
1700
+ return model
1586
1701
  except Exception as e:
1587
1702
  if isinstance(e, TencentCloudSDKException):
1588
1703
  raise