tencentcloud-sdk-python 3.0.1343__py2.py3-none-any.whl → 3.0.1344__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 (38) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/billing/v20180709/models.py +0 -14
  3. tencentcloud/cdb/v20170320/cdb_client.py +23 -0
  4. tencentcloud/cdb/v20170320/models.py +117 -0
  5. tencentcloud/clb/v20180317/models.py +39 -10
  6. tencentcloud/cls/v20201016/models.py +17 -186
  7. tencentcloud/cynosdb/v20190107/models.py +2 -2
  8. tencentcloud/dbbrain/v20191016/models.py +0 -16
  9. tencentcloud/dbbrain/v20210527/models.py +0 -14
  10. tencentcloud/domain/v20180808/models.py +0 -8
  11. tencentcloud/ess/v20201111/models.py +4 -2
  12. tencentcloud/essbasic/v20210526/models.py +4 -2
  13. tencentcloud/fmu/v20191213/errorcodes.py +3 -0
  14. tencentcloud/fmu/v20191213/models.py +4 -4
  15. tencentcloud/goosefs/v20220519/models.py +0 -2
  16. tencentcloud/gwlb/v20240906/models.py +4 -4
  17. tencentcloud/hai/v20230812/errorcodes.py +1 -1
  18. tencentcloud/iotcloud/v20210408/models.py +2 -4
  19. tencentcloud/lighthouse/v20200324/models.py +12 -20
  20. tencentcloud/lke/v20231130/models.py +15 -0
  21. tencentcloud/lowcode/v20210108/models.py +0 -2
  22. tencentcloud/monitor/v20180724/models.py +251 -0
  23. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  24. tencentcloud/mps/v20190612/errorcodes.py +34 -0
  25. tencentcloud/mps/v20190612/models.py +4129 -429
  26. tencentcloud/mps/v20190612/mps_client.py +208 -0
  27. tencentcloud/redis/v20180412/models.py +64 -0
  28. tencentcloud/redis/v20180412/redis_client.py +23 -0
  29. tencentcloud/tcb/v20180608/models.py +109 -153
  30. tencentcloud/tcb/v20180608/tcb_client.py +23 -0
  31. tencentcloud/tdmq/v20200217/models.py +158 -282
  32. tencentcloud/wedata/v20210820/models.py +90 -0
  33. tencentcloud/weilingwith/v20230427/models.py +0 -964
  34. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/METADATA +1 -1
  35. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/RECORD +38 -38
  36. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/LICENSE +0 -0
  37. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/WHEEL +0 -0
  38. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.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.1343'
17
+ __version__ = '3.0.1344'
@@ -6108,10 +6108,8 @@ class BillComponent(AbstractModel):
6108
6108
  def __init__(self):
6109
6109
  r"""
6110
6110
  :param _ComponentCode: 组件类型编码
6111
- 注意:此字段可能返回 null,表示取不到有效值。
6112
6111
  :type ComponentCode: str
6113
6112
  :param _ComponentCodeName: 组件类型:用户购买的产品或服务对应的组件大类
6114
- 注意:此字段可能返回 null,表示取不到有效值。
6115
6113
  :type ComponentCodeName: str
6116
6114
  """
6117
6115
  self._ComponentCode = None
@@ -6120,7 +6118,6 @@ class BillComponent(AbstractModel):
6120
6118
  @property
6121
6119
  def ComponentCode(self):
6122
6120
  """组件类型编码
6123
- 注意:此字段可能返回 null,表示取不到有效值。
6124
6121
  :rtype: str
6125
6122
  """
6126
6123
  return self._ComponentCode
@@ -6132,7 +6129,6 @@ class BillComponent(AbstractModel):
6132
6129
  @property
6133
6130
  def ComponentCodeName(self):
6134
6131
  """组件类型:用户购买的产品或服务对应的组件大类
6135
- 注意:此字段可能返回 null,表示取不到有效值。
6136
6132
  :rtype: str
6137
6133
  """
6138
6134
  return self._ComponentCodeName
@@ -10704,16 +10700,12 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
10704
10700
  :param _Business: 产品消费详情
10705
10701
  :type Business: list of ConsumptionBusinessSummaryDataItem
10706
10702
  :param _CashPayAmount: 现金
10707
- 注意:此字段可能返回 null,表示取不到有效值。
10708
10703
  :type CashPayAmount: str
10709
10704
  :param _VoucherPayAmount: 代金券
10710
- 注意:此字段可能返回 null,表示取不到有效值。
10711
10705
  :type VoucherPayAmount: str
10712
10706
  :param _IncentivePayAmount: 赠送金
10713
- 注意:此字段可能返回 null,表示取不到有效值。
10714
10707
  :type IncentivePayAmount: str
10715
10708
  :param _TransferPayAmount: 分成金
10716
- 注意:此字段可能返回 null,表示取不到有效值。
10717
10709
  :type TransferPayAmount: str
10718
10710
  """
10719
10711
  self._RegionId = None
@@ -10784,7 +10776,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
10784
10776
  @property
10785
10777
  def CashPayAmount(self):
10786
10778
  """现金
10787
- 注意:此字段可能返回 null,表示取不到有效值。
10788
10779
  :rtype: str
10789
10780
  """
10790
10781
  return self._CashPayAmount
@@ -10796,7 +10787,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
10796
10787
  @property
10797
10788
  def VoucherPayAmount(self):
10798
10789
  """代金券
10799
- 注意:此字段可能返回 null,表示取不到有效值。
10800
10790
  :rtype: str
10801
10791
  """
10802
10792
  return self._VoucherPayAmount
@@ -10808,7 +10798,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
10808
10798
  @property
10809
10799
  def IncentivePayAmount(self):
10810
10800
  """赠送金
10811
- 注意:此字段可能返回 null,表示取不到有效值。
10812
10801
  :rtype: str
10813
10802
  """
10814
10803
  return self._IncentivePayAmount
@@ -10820,7 +10809,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
10820
10809
  @property
10821
10810
  def TransferPayAmount(self):
10822
10811
  """分成金
10823
- 注意:此字段可能返回 null,表示取不到有效值。
10824
10812
  :rtype: str
10825
10813
  """
10826
10814
  return self._TransferPayAmount
@@ -16616,7 +16604,6 @@ class DescribeBillDetailForOrganizationResponse(AbstractModel):
16616
16604
  注意:此字段可能返回 null,表示取不到有效值。
16617
16605
  :type Total: int
16618
16606
  :param _Context: 本次请求的上下文信息,可用于下一次请求的请求参数中,加快查询速度
16619
- 注意:此字段可能返回 null,表示取不到有效值。
16620
16607
  :type Context: str
16621
16608
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16622
16609
  :type RequestId: str
@@ -16652,7 +16639,6 @@ class DescribeBillDetailForOrganizationResponse(AbstractModel):
16652
16639
  @property
16653
16640
  def Context(self):
16654
16641
  """本次请求的上下文信息,可用于下一次请求的请求参数中,加快查询速度
16655
- 注意:此字段可能返回 null,表示取不到有效值。
16656
16642
  :rtype: str
16657
16643
  """
16658
16644
  return self._Context
@@ -1428,6 +1428,29 @@ class CdbClient(AbstractClient):
1428
1428
  raise TencentCloudSDKException(type(e).__name__, str(e))
1429
1429
 
1430
1430
 
1431
+ def DescribeCPUExpandStrategyInfo(self, request):
1432
+ """通过该 API 可以查询实例的 CPU 弹性扩容信息
1433
+
1434
+ :param request: Request instance for DescribeCPUExpandStrategyInfo.
1435
+ :type request: :class:`tencentcloud.cdb.v20170320.models.DescribeCPUExpandStrategyInfoRequest`
1436
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.DescribeCPUExpandStrategyInfoResponse`
1437
+
1438
+ """
1439
+ try:
1440
+ params = request._serialize()
1441
+ headers = request.headers
1442
+ body = self.call("DescribeCPUExpandStrategyInfo", params, headers=headers)
1443
+ response = json.loads(body)
1444
+ model = models.DescribeCPUExpandStrategyInfoResponse()
1445
+ model._deserialize(response["Response"])
1446
+ return model
1447
+ except Exception as e:
1448
+ if isinstance(e, TencentCloudSDKException):
1449
+ raise
1450
+ else:
1451
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1452
+
1453
+
1431
1454
  def DescribeCdbProxyInfo(self, request):
1432
1455
  """本接口(DescribeCdbProxyInfo)用于查询数据库代理详情信息。
1433
1456
 
@@ -14797,6 +14797,123 @@ class DescribeBinlogsResponse(AbstractModel):
14797
14797
  self._RequestId = params.get("RequestId")
14798
14798
 
14799
14799
 
14800
+ class DescribeCPUExpandStrategyInfoRequest(AbstractModel):
14801
+ """DescribeCPUExpandStrategyInfo请求参数结构体
14802
+
14803
+ """
14804
+
14805
+ def __init__(self):
14806
+ r"""
14807
+ :param _InstanceId: 实例 ID 。
14808
+ :type InstanceId: str
14809
+ """
14810
+ self._InstanceId = None
14811
+
14812
+ @property
14813
+ def InstanceId(self):
14814
+ """实例 ID 。
14815
+ :rtype: str
14816
+ """
14817
+ return self._InstanceId
14818
+
14819
+ @InstanceId.setter
14820
+ def InstanceId(self, InstanceId):
14821
+ self._InstanceId = InstanceId
14822
+
14823
+
14824
+ def _deserialize(self, params):
14825
+ self._InstanceId = params.get("InstanceId")
14826
+ memeber_set = set(params.keys())
14827
+ for name, value in vars(self).items():
14828
+ property_name = name[1:]
14829
+ if property_name in memeber_set:
14830
+ memeber_set.remove(property_name)
14831
+ if len(memeber_set) > 0:
14832
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14833
+
14834
+
14835
+
14836
+ class DescribeCPUExpandStrategyInfoResponse(AbstractModel):
14837
+ """DescribeCPUExpandStrategyInfo返回参数结构体
14838
+
14839
+ """
14840
+
14841
+ def __init__(self):
14842
+ r"""
14843
+ :param _Type: 策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略
14844
+ 注意:此字段可能返回 null,表示取不到有效值。
14845
+ :type Type: str
14846
+ :param _ExpandCpu: 手动扩容的 CPU 。Type为 manual 时有效。
14847
+ 注意:此字段可能返回 null,表示取不到有效值。
14848
+ :type ExpandCpu: int
14849
+ :param _AutoStrategy: 自动扩容策略。Type 为 auto 时有效
14850
+ 注意:此字段可能返回 null,表示取不到有效值。
14851
+ :type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
14852
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14853
+ :type RequestId: str
14854
+ """
14855
+ self._Type = None
14856
+ self._ExpandCpu = None
14857
+ self._AutoStrategy = None
14858
+ self._RequestId = None
14859
+
14860
+ @property
14861
+ def Type(self):
14862
+ """策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略
14863
+ 注意:此字段可能返回 null,表示取不到有效值。
14864
+ :rtype: str
14865
+ """
14866
+ return self._Type
14867
+
14868
+ @Type.setter
14869
+ def Type(self, Type):
14870
+ self._Type = Type
14871
+
14872
+ @property
14873
+ def ExpandCpu(self):
14874
+ """手动扩容的 CPU 。Type为 manual 时有效。
14875
+ 注意:此字段可能返回 null,表示取不到有效值。
14876
+ :rtype: int
14877
+ """
14878
+ return self._ExpandCpu
14879
+
14880
+ @ExpandCpu.setter
14881
+ def ExpandCpu(self, ExpandCpu):
14882
+ self._ExpandCpu = ExpandCpu
14883
+
14884
+ @property
14885
+ def AutoStrategy(self):
14886
+ """自动扩容策略。Type 为 auto 时有效
14887
+ 注意:此字段可能返回 null,表示取不到有效值。
14888
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
14889
+ """
14890
+ return self._AutoStrategy
14891
+
14892
+ @AutoStrategy.setter
14893
+ def AutoStrategy(self, AutoStrategy):
14894
+ self._AutoStrategy = AutoStrategy
14895
+
14896
+ @property
14897
+ def RequestId(self):
14898
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14899
+ :rtype: str
14900
+ """
14901
+ return self._RequestId
14902
+
14903
+ @RequestId.setter
14904
+ def RequestId(self, RequestId):
14905
+ self._RequestId = RequestId
14906
+
14907
+
14908
+ def _deserialize(self, params):
14909
+ self._Type = params.get("Type")
14910
+ self._ExpandCpu = params.get("ExpandCpu")
14911
+ if params.get("AutoStrategy") is not None:
14912
+ self._AutoStrategy = AutoStrategy()
14913
+ self._AutoStrategy._deserialize(params.get("AutoStrategy"))
14914
+ self._RequestId = params.get("RequestId")
14915
+
14916
+
14800
14917
  class DescribeCdbProxyInfoRequest(AbstractModel):
14801
14918
  """DescribeCdbProxyInfo请求参数结构体
14802
14919
 
@@ -5223,6 +5223,8 @@ class CreateTargetGroupRequest(AbstractModel):
5223
5223
  :type TargetGroupInstances: list of TargetGroupInstance
5224
5224
  :param _Type: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), 默认为v1(旧版目标组)。
5225
5225
  :type Type: str
5226
+ :param _Protocol: 目标组后端转发协议。v2新版目标组该项必填。目前支持tcp、udp。
5227
+ :type Protocol: str
5226
5228
  :param _Tags: 标签。
5227
5229
  :type Tags: list of TagInfo
5228
5230
  :param _Weight: 后端服务默认权重。
@@ -5238,6 +5240,7 @@ class CreateTargetGroupRequest(AbstractModel):
5238
5240
  self._Port = None
5239
5241
  self._TargetGroupInstances = None
5240
5242
  self._Type = None
5243
+ self._Protocol = None
5241
5244
  self._Tags = None
5242
5245
  self._Weight = None
5243
5246
 
@@ -5297,6 +5300,17 @@ class CreateTargetGroupRequest(AbstractModel):
5297
5300
  def Type(self, Type):
5298
5301
  self._Type = Type
5299
5302
 
5303
+ @property
5304
+ def Protocol(self):
5305
+ """目标组后端转发协议。v2新版目标组该项必填。目前支持tcp、udp。
5306
+ :rtype: str
5307
+ """
5308
+ return self._Protocol
5309
+
5310
+ @Protocol.setter
5311
+ def Protocol(self, Protocol):
5312
+ self._Protocol = Protocol
5313
+
5300
5314
  @property
5301
5315
  def Tags(self):
5302
5316
  """标签。
@@ -5336,6 +5350,7 @@ class CreateTargetGroupRequest(AbstractModel):
5336
5350
  obj._deserialize(item)
5337
5351
  self._TargetGroupInstances.append(obj)
5338
5352
  self._Type = params.get("Type")
5353
+ self._Protocol = params.get("Protocol")
5339
5354
  if params.get("Tags") is not None:
5340
5355
  self._Tags = []
5341
5356
  for item in params.get("Tags"):
@@ -5409,7 +5424,9 @@ class CreateTopicRequest(AbstractModel):
5409
5424
  :type PartitionCount: int
5410
5425
  :param _TopicType: 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
5411
5426
  :type TopicType: str
5412
- :param _Period: 日志集的保存周期,单位:天,默认30天,范围[1, 3600]。
5427
+ :param _Period: 存储时间,单位天
5428
+ - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
5429
+ - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
5413
5430
  :type Period: int
5414
5431
  :param _StorageType: 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。
5415
5432
  :type StorageType: str
@@ -5455,7 +5472,9 @@ class CreateTopicRequest(AbstractModel):
5455
5472
 
5456
5473
  @property
5457
5474
  def Period(self):
5458
- """日志集的保存周期,单位:天,默认30天,范围[1, 3600]。
5475
+ """存储时间,单位天
5476
+ - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
5477
+ - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
5459
5478
  :rtype: int
5460
5479
  """
5461
5480
  return self._Period
@@ -13422,7 +13441,12 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13422
13441
  :param _NumericalVpcId: 数值形式的私有网络 ID
13423
13442
  注意:此字段可能返回 null,表示取不到有效值。
13424
13443
  :type NumericalVpcId: int
13425
- :param _VipIsp: 负载均衡IP地址所属的运营商。取值范围(BGP、CMCC、CTCC、CUCC)
13444
+ :param _VipIsp: 负载均衡IP地址所属的运营商。
13445
+
13446
+ - BGP : BGP(多线)
13447
+ - CMCC:中国移动单线
13448
+ - CTCC:中国电信单线
13449
+ - CUCC:中国联通单线
13426
13450
  注意:此字段可能返回 null,表示取不到有效值。
13427
13451
  :type VipIsp: str
13428
13452
  :param _MasterZone: 主可用区
@@ -13852,7 +13876,12 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13852
13876
 
13853
13877
  @property
13854
13878
  def VipIsp(self):
13855
- """负载均衡IP地址所属的运营商。取值范围(BGP、CMCC、CTCC、CUCC)
13879
+ """负载均衡IP地址所属的运营商。
13880
+
13881
+ - BGP : BGP(多线)
13882
+ - CMCC:中国移动单线
13883
+ - CTCC:中国电信单线
13884
+ - CUCC:中国联通单线
13856
13885
  注意:此字段可能返回 null,表示取不到有效值。
13857
13886
  :rtype: str
13858
13887
  """
@@ -14377,7 +14406,7 @@ class LoadBalancerDetail(AbstractModel):
14377
14406
  :param _LoadBalancerName: 负载均衡实例的名称。
14378
14407
  :type LoadBalancerName: str
14379
14408
  :param _LoadBalancerType: 负载均衡实例的网络类型:
14380
- OPEN:公网属性,INTERNAL:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档。
14409
+ Public:公网属性,Private:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档。
14381
14410
  注意:此字段可能返回 null,表示取不到有效值。
14382
14411
  :type LoadBalancerType: str
14383
14412
  :param _Status: 负载均衡实例的状态,包括
@@ -14568,7 +14597,7 @@ OPEN:公网属性,INTERNAL:内网属性;对于内网属性的负载均
14568
14597
  @property
14569
14598
  def LoadBalancerType(self):
14570
14599
  """负载均衡实例的网络类型:
14571
- OPEN:公网属性,INTERNAL:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档。
14600
+ Public:公网属性,Private:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档。
14572
14601
  注意:此字段可能返回 null,表示取不到有效值。
14573
14602
  :rtype: str
14574
14603
  """
@@ -20317,11 +20346,11 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
20317
20346
  :type LoadBalancerId: str
20318
20347
  :param _LogSetId: 日志服务(CLS)的日志集 ID。
20319
20348
  <li>增加和更新日志主题时可调用 [DescribeLogsets](https://cloud.tencent.com/document/product/614/58624) 接口获取日志集 ID。</li>
20320
- <li>删除日志主题时,此参数填写为null即可。</li>
20349
+ <li>删除日志主题时,此参数填写为**空字符串**即可。</li>
20321
20350
  :type LogSetId: str
20322
20351
  :param _LogTopicId: 日志服务(CLS)的日志主题 ID。
20323
20352
  <li>增加和更新日志主题时可调用 [DescribeTopics](https://cloud.tencent.com/document/product/614/56454) 接口获取日志主题 ID。</li>
20324
- <li>删除日志主题时,此参数填写为null即可。</li>
20353
+ <li>删除日志主题时,此参数填写为**空字符串**即可。</li>
20325
20354
  :type LogTopicId: str
20326
20355
  :param _LogType: 日志类型:
20327
20356
  <li>ACCESS:访问日志</li>
@@ -20349,7 +20378,7 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
20349
20378
  def LogSetId(self):
20350
20379
  """日志服务(CLS)的日志集 ID。
20351
20380
  <li>增加和更新日志主题时可调用 [DescribeLogsets](https://cloud.tencent.com/document/product/614/58624) 接口获取日志集 ID。</li>
20352
- <li>删除日志主题时,此参数填写为null即可。</li>
20381
+ <li>删除日志主题时,此参数填写为**空字符串**即可。</li>
20353
20382
  :rtype: str
20354
20383
  """
20355
20384
  return self._LogSetId
@@ -20362,7 +20391,7 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
20362
20391
  def LogTopicId(self):
20363
20392
  """日志服务(CLS)的日志主题 ID。
20364
20393
  <li>增加和更新日志主题时可调用 [DescribeTopics](https://cloud.tencent.com/document/product/614/56454) 接口获取日志主题 ID。</li>
20365
- <li>删除日志主题时,此参数填写为null即可。</li>
20394
+ <li>删除日志主题时,此参数填写为**空字符串**即可。</li>
20366
20395
  :rtype: str
20367
20396
  """
20368
20397
  return self._LogTopicId