tencentcloud-sdk-python 3.0.1377__py2.py3-none-any.whl → 3.0.1379__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 (51) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +34 -4
  3. tencentcloud/autoscaling/v20180419/models.py +45 -16
  4. tencentcloud/batch/v20170312/batch_client.py +3 -3
  5. tencentcloud/batch/v20170312/models.py +230 -168
  6. tencentcloud/billing/v20180709/billing_client.py +322 -0
  7. tencentcloud/billing/v20180709/errorcodes.py +9 -0
  8. tencentcloud/billing/v20180709/models.py +4894 -2542
  9. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  10. tencentcloud/cbs/v20170312/models.py +18 -18
  11. tencentcloud/clb/v20180317/clb_client.py +7 -7
  12. tencentcloud/clb/v20180317/models.py +51 -41
  13. tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  14. tencentcloud/dbbrain/v20210527/models.py +368 -0
  15. tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  16. tencentcloud/dnspod/v20210323/models.py +503 -0
  17. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  18. tencentcloud/domain/v20180808/models.py +68 -44
  19. tencentcloud/hunyuan/v20230901/models.py +260 -0
  20. tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
  21. tencentcloud/lighthouse/v20200324/models.py +2 -2
  22. tencentcloud/lke/v20231130/models.py +192 -2
  23. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  24. tencentcloud/mps/v20190612/models.py +211 -2
  25. tencentcloud/postgres/v20170312/models.py +12 -4
  26. tencentcloud/tag/v20180813/models.py +8 -8
  27. tencentcloud/tcb/v20180608/models.py +34 -4
  28. tencentcloud/tdmq/v20200217/errorcodes.py +27 -0
  29. tencentcloud/teo/v20220901/models.py +0 -20
  30. tencentcloud/thpc/v20211109/models.py +2 -2
  31. tencentcloud/thpc/v20220401/models.py +4 -4
  32. tencentcloud/thpc/v20230321/errorcodes.py +9 -0
  33. tencentcloud/thpc/v20230321/models.py +85 -8
  34. tencentcloud/thpc/v20230321/thpc_client.py +23 -0
  35. tencentcloud/tione/v20211111/models.py +274 -0
  36. tencentcloud/tke/v20180525/models.py +10 -0
  37. tencentcloud/tmt/v20180321/errorcodes.py +3 -0
  38. tencentcloud/tmt/v20180321/models.py +296 -1
  39. tencentcloud/tmt/v20180321/tmt_client.py +28 -0
  40. tencentcloud/trtc/v20190722/models.py +15 -0
  41. tencentcloud/vod/v20180717/models.py +2 -2
  42. tencentcloud/vpc/v20170312/models.py +24 -18
  43. tencentcloud/waf/v20180125/models.py +15 -0
  44. tencentcloud/wedata/v20210820/errorcodes.py +9 -0
  45. tencentcloud/wedata/v20210820/models.py +1078 -0
  46. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  47. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/METADATA +1 -1
  48. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/RECORD +51 -51
  49. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/LICENSE +0 -0
  50. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/WHEEL +0 -0
  51. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/top_level.txt +0 -0
@@ -162,7 +162,7 @@ class CbsClient(AbstractClient):
162
162
  """本接口(CopySnapshotCrossRegions)用于快照跨地域复制。
163
163
 
164
164
  * 本接口为异步接口,当跨地域复制的请求下发成功后会返回一个新的快照ID,此时快照未立即复制到目标地域,可请求目标地域的[DescribeSnapshots](/document/product/362/15647)接口查询新快照的状态,判断是否复制完成。如果快照的状态为“NORMAL”,表示快照复制完成。
165
- * 本接口实现的快照跨地域复制操作将产生跨地域流量,预计2022年第三季度会针对此功能进行商业化计费;请留意后续站内信公告,避免产生预期外扣费。
165
+ * 本接口实现的快照跨地域复制操作将产生跨地域流量,预计2025年第三季度会针对此功能进行商业化计费;请留意后续站内信公告,避免产生预期外扣费。
166
166
 
167
167
  :param request: Request instance for CopySnapshotCrossRegions.
168
168
  :type request: :class:`tencentcloud.cbs.v20170312.models.CopySnapshotCrossRegionsRequest`
@@ -384,9 +384,9 @@ class ApplySnapshotRequest(AbstractModel):
384
384
  :type SnapshotId: str
385
385
  :param _DiskId: 快照原云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。
386
386
  :type DiskId: str
387
- :param _AutoStopInstance: 回滚前是否执行自动关机
387
+ :param _AutoStopInstance: 回滚前是否执行自动关机,仅支持回滚快照至已挂载的云硬盘时传入。
388
388
  :type AutoStopInstance: bool
389
- :param _AutoStartInstance: 回滚完成后是否自动开机
389
+ :param _AutoStartInstance: 回滚完成后是否自动开机,仅支持回滚快照至已挂载的云硬盘时传入。该参数传入时,需要同时传入AutoStopInstance参数。
390
390
  :type AutoStartInstance: bool
391
391
  """
392
392
  self._SnapshotId = None
@@ -418,7 +418,7 @@ class ApplySnapshotRequest(AbstractModel):
418
418
 
419
419
  @property
420
420
  def AutoStopInstance(self):
421
- """回滚前是否执行自动关机
421
+ """回滚前是否执行自动关机,仅支持回滚快照至已挂载的云硬盘时传入。
422
422
  :rtype: bool
423
423
  """
424
424
  return self._AutoStopInstance
@@ -429,7 +429,7 @@ class ApplySnapshotRequest(AbstractModel):
429
429
 
430
430
  @property
431
431
  def AutoStartInstance(self):
432
- """回滚完成后是否自动开机
432
+ """回滚完成后是否自动开机,仅支持回滚快照至已挂载的云硬盘时传入。该参数传入时,需要同时传入AutoStopInstance参数。
433
433
  :rtype: bool
434
434
  """
435
435
  return self._AutoStartInstance
@@ -2836,14 +2836,14 @@ class DescribeDiskAssociatedAutoSnapshotPolicyRequest(AbstractModel):
2836
2836
 
2837
2837
  def __init__(self):
2838
2838
  r"""
2839
- :param _DiskId: 要查询的云硬盘ID
2839
+ :param _DiskId: 要查询的云硬盘ID,通过[DescribeDisks](https://tcloud4api.woa.com/document/product/362/15601?!preview&!document=1)接口查询。
2840
2840
  :type DiskId: str
2841
2841
  """
2842
2842
  self._DiskId = None
2843
2843
 
2844
2844
  @property
2845
2845
  def DiskId(self):
2846
- """要查询的云硬盘ID
2846
+ """要查询的云硬盘ID,通过[DescribeDisks](https://tcloud4api.woa.com/document/product/362/15601?!preview&!document=1)接口查询。
2847
2847
  :rtype: str
2848
2848
  """
2849
2849
  return self._DiskId
@@ -4630,7 +4630,7 @@ class Disk(AbstractModel):
4630
4630
  :type Shareable: bool
4631
4631
  :param _CreateTime: 云硬盘的创建时间。
4632
4632
  :type CreateTime: str
4633
- :param _DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
4633
+ :param _DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过[DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647)接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
4634
4634
  :type DeleteSnapshot: int
4635
4635
  :param _DiskBackupQuota: 云硬盘备份点配额。表示最大可以保留的备份点数量。
4636
4636
  :type DiskBackupQuota: int
@@ -5085,7 +5085,7 @@ class Disk(AbstractModel):
5085
5085
 
5086
5086
  @property
5087
5087
  def DeleteSnapshot(self):
5088
- """销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
5088
+ """销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过[DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647)接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
5089
5089
  :rtype: int
5090
5090
  """
5091
5091
  return self._DeleteSnapshot
@@ -6872,9 +6872,9 @@ class ModifyDiskBackupQuotaRequest(AbstractModel):
6872
6872
 
6873
6873
  def __init__(self):
6874
6874
  r"""
6875
- :param _DiskId: 云硬盘ID
6875
+ :param _DiskId: 云硬盘ID。可通过[DescribeDisks](/document/product/362/16315)接口查询。
6876
6876
  :type DiskId: str
6877
- :param _DiskBackupQuota: 调整之后的云硬盘备份点配额。
6877
+ :param _DiskBackupQuota: 调整之后的云硬盘备份点配额。取值范围为1 ~ 1024。
6878
6878
  :type DiskBackupQuota: int
6879
6879
  """
6880
6880
  self._DiskId = None
@@ -6882,7 +6882,7 @@ class ModifyDiskBackupQuotaRequest(AbstractModel):
6882
6882
 
6883
6883
  @property
6884
6884
  def DiskId(self):
6885
- """云硬盘ID
6885
+ """云硬盘ID。可通过[DescribeDisks](/document/product/362/16315)接口查询。
6886
6886
  :rtype: str
6887
6887
  """
6888
6888
  return self._DiskId
@@ -6893,7 +6893,7 @@ class ModifyDiskBackupQuotaRequest(AbstractModel):
6893
6893
 
6894
6894
  @property
6895
6895
  def DiskBackupQuota(self):
6896
- """调整之后的云硬盘备份点配额。
6896
+ """调整之后的云硬盘备份点配额。取值范围为1 ~ 1024。
6897
6897
  :rtype: int
6898
6898
  """
6899
6899
  return self._DiskBackupQuota
@@ -6951,9 +6951,9 @@ class ModifyDiskExtraPerformanceRequest(AbstractModel):
6951
6951
 
6952
6952
  def __init__(self):
6953
6953
  r"""
6954
- :param _ThroughputPerformance: 额外购买的云硬盘性能值,单位MB/s。
6954
+ :param _ThroughputPerformance: 额外购买的云硬盘性能值,单位MiB/s。
6955
6955
  :type ThroughputPerformance: int
6956
- :param _DiskId: 需要创建快照的云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。
6956
+ :param _DiskId: 需要购买额外性能值的云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。仅大小超过460GiB的增强型SSD(CLOUD_HSSD)和极速型SSD(CLOUD_TSSD)云硬盘才支持购买额外性能。
6957
6957
  :type DiskId: str
6958
6958
  """
6959
6959
  self._ThroughputPerformance = None
@@ -6961,7 +6961,7 @@ class ModifyDiskExtraPerformanceRequest(AbstractModel):
6961
6961
 
6962
6962
  @property
6963
6963
  def ThroughputPerformance(self):
6964
- """额外购买的云硬盘性能值,单位MB/s。
6964
+ """额外购买的云硬盘性能值,单位MiB/s。
6965
6965
  :rtype: int
6966
6966
  """
6967
6967
  return self._ThroughputPerformance
@@ -6972,7 +6972,7 @@ class ModifyDiskExtraPerformanceRequest(AbstractModel):
6972
6972
 
6973
6973
  @property
6974
6974
  def DiskId(self):
6975
- """需要创建快照的云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。
6975
+ """需要购买额外性能值的云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。仅大小超过460GiB的增强型SSD(CLOUD_HSSD)和极速型SSD(CLOUD_TSSD)云硬盘才支持购买额外性能。
6976
6976
  :rtype: str
6977
6977
  """
6978
6978
  return self._DiskId
@@ -7226,7 +7226,7 @@ class ModifySnapshotAttributeRequest(AbstractModel):
7226
7226
  :type IsPermanent: bool
7227
7227
  :param _SnapshotName: 新的快照名称。最长为60个字符。
7228
7228
  :type SnapshotName: str
7229
- :param _Deadline: 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。
7229
+ :param _Deadline: 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。注:该参数仅在参数IsPermanent为False时生效。
7230
7230
  :type Deadline: str
7231
7231
  """
7232
7232
  self._SnapshotId = None
@@ -7269,7 +7269,7 @@ class ModifySnapshotAttributeRequest(AbstractModel):
7269
7269
 
7270
7270
  @property
7271
7271
  def Deadline(self):
7272
- """快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。
7272
+ """快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。注:该参数仅在参数IsPermanent为False时生效。
7273
7273
  :rtype: str
7274
7274
  """
7275
7275
  return self._Deadline
@@ -651,7 +651,7 @@ class ClbClient(AbstractClient):
651
651
 
652
652
  def DeregisterTargetGroupInstances(self, request):
653
653
  """从目标组中解绑服务器。
654
- 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
654
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
655
655
 
656
656
  :param request: Request instance for DeregisterTargetGroupInstances.
657
657
  :type request: :class:`tencentcloud.clb.v20180317.models.DeregisterTargetGroupInstancesRequest`
@@ -1721,7 +1721,7 @@ class ClbClient(AbstractClient):
1721
1721
 
1722
1722
  def ModifyLoadBalancerAttributes(self, request):
1723
1723
  """修改负载均衡实例的属性。支持修改负载均衡实例的名称、设置负载均衡的跨域属性。
1724
- 注意:非带宽上移用户的 CLB 实例必须加入带宽包才可以设置跨域属性。
1724
+ 注意:非带宽上移用户的 CLB 实例必须加入带宽包才可以设置跨域属性。修改网络计费模式请到控制台操作。
1725
1725
  本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1726
1726
 
1727
1727
  :param request: Request instance for ModifyLoadBalancerAttributes.
@@ -1768,10 +1768,10 @@ class ClbClient(AbstractClient):
1768
1768
 
1769
1769
 
1770
1770
  def ModifyLoadBalancerSla(self, request):
1771
- """本接口(ModifyLoadBalancerSla)用于将按量计费模式的共享型实例升级为性能容量型实例。<br/>
1771
+ """本接口(ModifyLoadBalancerSla)用于调整按量计费模式实例的性能容量型规格,如共享型升级性能容量型,性能容量型实例规格调整。<br/>
1772
1772
  限制条件:
1773
- - 本接口只支持升级按量计费的CLB实例,包年包月的CLB实例升级请通过控制台进行升级。
1774
- - 升级为性能容量型实例后,不支持再回退到共享型实例。
1773
+ - 本接口只支持调整按量计费的CLB实例,包年包月的CLB实例升级请通过控制台进行调整。
1774
+ - 共享型升级为性能容量型实例后,不支持再回退到共享型实例。
1775
1775
  - 传统型负载均衡实例不支持升级为性能容量型实例。
1776
1776
 
1777
1777
  :param request: Request instance for ModifyLoadBalancerSla.
@@ -1938,7 +1938,7 @@ class ClbClient(AbstractClient):
1938
1938
 
1939
1939
  def ModifyTargetWeight(self, request):
1940
1940
  """ModifyTargetWeight 接口用于修改负载均衡绑定的后端服务的转发权重。
1941
- 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
1941
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1942
1942
 
1943
1943
  :param request: Request instance for ModifyTargetWeight.
1944
1944
  :type request: :class:`tencentcloud.clb.v20180317.models.ModifyTargetWeightRequest`
@@ -2164,7 +2164,7 @@ class ClbClient(AbstractClient):
2164
2164
 
2165
2165
  def SetLoadBalancerStartStatus(self, request):
2166
2166
  """启停负载均衡实例或者监听器。
2167
- 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
2167
+ 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
2168
2168
  该功能正在内测中,如需使用,请通过[工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1)。
2169
2169
 
2170
2170
  :param request: Request instance for SetLoadBalancerStartStatus.
@@ -3998,13 +3998,16 @@ class CreateListenerRequest(AbstractModel):
3998
3998
  :type MaxCps: int
3999
3999
  :param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-1980。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
4000
4000
  :type IdleConnectTimeout: int
4001
- :param _SnatEnable: 是否开启SNAT,True(开启)、False(关闭)
4001
+ :param _SnatEnable: 是否开启SNAT,True(开启)、False(关闭)。
4002
+ 默认为关闭。
4002
4003
  :type SnatEnable: bool
4003
4004
  :param _FullEndPorts: 全端口段监听器的结束端口,端口范围:2 - 65535
4004
4005
  :type FullEndPorts: list of int
4005
- :param _H2cSwitch: 内网http监听器开启h2c开关,True(开启)、False(关闭)
4006
+ :param _H2cSwitch: 内网http监听器开启h2c开关,True(开启)、False(关闭)。
4007
+ 默认为关闭。
4006
4008
  :type H2cSwitch: bool
4007
- :param _SslCloseSwitch: TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关。True(关闭)、False(开启)
4009
+ :param _SslCloseSwitch: TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关。True(关闭)、False(开启).
4010
+ 默认为关闭。
4008
4011
  :type SslCloseSwitch: bool
4009
4012
  :param _DataCompressMode: 数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)
4010
4013
  :type DataCompressMode: str
@@ -4240,7 +4243,8 @@ class CreateListenerRequest(AbstractModel):
4240
4243
 
4241
4244
  @property
4242
4245
  def SnatEnable(self):
4243
- """是否开启SNAT,True(开启)、False(关闭)
4246
+ """是否开启SNAT,True(开启)、False(关闭)。
4247
+ 默认为关闭。
4244
4248
  :rtype: bool
4245
4249
  """
4246
4250
  return self._SnatEnable
@@ -4262,7 +4266,8 @@ class CreateListenerRequest(AbstractModel):
4262
4266
 
4263
4267
  @property
4264
4268
  def H2cSwitch(self):
4265
- """内网http监听器开启h2c开关,True(开启)、False(关闭)
4269
+ """内网http监听器开启h2c开关,True(开启)、False(关闭)。
4270
+ 默认为关闭。
4266
4271
  :rtype: bool
4267
4272
  """
4268
4273
  return self._H2cSwitch
@@ -4273,7 +4278,8 @@ class CreateListenerRequest(AbstractModel):
4273
4278
 
4274
4279
  @property
4275
4280
  def SslCloseSwitch(self):
4276
- """TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关。True(关闭)、False(开启)
4281
+ """TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关。True(关闭)、False(开启).
4282
+ 默认为关闭。
4277
4283
  :rtype: bool
4278
4284
  """
4279
4285
  return self._SslCloseSwitch
@@ -5917,7 +5923,7 @@ class DeleteLoadBalancerRequest(AbstractModel):
5917
5923
 
5918
5924
  def __init__(self):
5919
5925
  r"""
5920
- :param _LoadBalancerIds: 要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取数组大小最大支持20。
5926
+ :param _LoadBalancerIds: 要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取,数组大小最大支持20。
5921
5927
  :type LoadBalancerIds: list of str
5922
5928
  :param _ForceDelete: 是否强制删除clb。True表示强制删除,False表示不是强制删除,需要做拦截校验。
5923
5929
  默认为 False
@@ -5928,7 +5934,7 @@ class DeleteLoadBalancerRequest(AbstractModel):
5928
5934
 
5929
5935
  @property
5930
5936
  def LoadBalancerIds(self):
5931
- """要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取数组大小最大支持20。
5937
+ """要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取,数组大小最大支持20。
5932
5938
  :rtype: list of str
5933
5939
  """
5934
5940
  return self._LoadBalancerIds
@@ -6195,11 +6201,11 @@ class DeleteRuleRequest(AbstractModel):
6195
6201
  :type LoadBalancerId: str
6196
6202
  :param _ListenerId: 负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6197
6203
  :type ListenerId: str
6198
- :param _LocationIds: 要删除的转发规则的ID组成的数组,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6204
+ :param _LocationIds: 要删除的转发规则的ID组成的数组,可以通过 [DescribeLoadBalancersDetail](https://cloud.tencent.com/document/api/214/46916) 接口查询。
6199
6205
  :type LocationIds: list of str
6200
- :param _Domain: 要删除的转发规则的域名,如果是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6206
+ :param _Domain: 要删除的转发规则的域名,如果是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeLoadBalancersDetail](https://cloud.tencent.com/document/api/214/46916) 接口查询。
6201
6207
  :type Domain: str
6202
- :param _Url: 要删除的转发规则的转发路径,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6208
+ :param _Url: 要删除的转发规则的转发路径,可以通过 [DescribeLoadBalancersDetail](https://cloud.tencent.com/document/api/214/46916) 接口查询。
6203
6209
  :type Url: str
6204
6210
  :param _NewDefaultServerDomain: 监听器下必须配置一个默认域名,当需要删除默认域名时,可以指定另一个域名作为新的默认域名,如果新的默认域名是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6205
6211
  :type NewDefaultServerDomain: str
@@ -6235,7 +6241,7 @@ class DeleteRuleRequest(AbstractModel):
6235
6241
 
6236
6242
  @property
6237
6243
  def LocationIds(self):
6238
- """要删除的转发规则的ID组成的数组,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6244
+ """要删除的转发规则的ID组成的数组,可以通过 [DescribeLoadBalancersDetail](https://cloud.tencent.com/document/api/214/46916) 接口查询。
6239
6245
  :rtype: list of str
6240
6246
  """
6241
6247
  return self._LocationIds
@@ -6246,7 +6252,7 @@ class DeleteRuleRequest(AbstractModel):
6246
6252
 
6247
6253
  @property
6248
6254
  def Domain(self):
6249
- """要删除的转发规则的域名,如果是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6255
+ """要删除的转发规则的域名,如果是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeLoadBalancersDetail](https://cloud.tencent.com/document/api/214/46916) 接口查询。
6250
6256
  :rtype: str
6251
6257
  """
6252
6258
  return self._Domain
@@ -6257,7 +6263,7 @@ class DeleteRuleRequest(AbstractModel):
6257
6263
 
6258
6264
  @property
6259
6265
  def Url(self):
6260
- """要删除的转发规则的转发路径,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
6266
+ """要删除的转发规则的转发路径,可以通过 [DescribeLoadBalancersDetail](https://cloud.tencent.com/document/api/214/46916) 接口查询。
6261
6267
  :rtype: str
6262
6268
  """
6263
6269
  return self._Url
@@ -6330,14 +6336,14 @@ class DeleteTargetGroupsRequest(AbstractModel):
6330
6336
 
6331
6337
  def __init__(self):
6332
6338
  r"""
6333
- :param _TargetGroupIds: 目标组的ID数组。
6339
+ :param _TargetGroupIds: 目标组的ID数组,单次最多支持删除20个。
6334
6340
  :type TargetGroupIds: list of str
6335
6341
  """
6336
6342
  self._TargetGroupIds = None
6337
6343
 
6338
6344
  @property
6339
6345
  def TargetGroupIds(self):
6340
- """目标组的ID数组。
6346
+ """目标组的ID数组,单次最多支持删除20个。
6341
6347
  :rtype: list of str
6342
6348
  """
6343
6349
  return self._TargetGroupIds
@@ -6541,7 +6547,7 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
6541
6547
  :param _TargetGroupId: 目标组ID。
6542
6548
  :type TargetGroupId: str
6543
6549
  :param _TargetGroupInstances: 待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
6544
-
6550
+ 在这个接口 Port 参数为必填项。
6545
6551
  :type TargetGroupInstances: list of TargetGroupInstance
6546
6552
  """
6547
6553
  self._TargetGroupId = None
@@ -6561,7 +6567,7 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
6561
6567
  @property
6562
6568
  def TargetGroupInstances(self):
6563
6569
  """待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
6564
-
6570
+ 在这个接口 Port 参数为必填项。
6565
6571
  :rtype: list of TargetGroupInstance
6566
6572
  """
6567
6573
  return self._TargetGroupInstances
@@ -8328,7 +8334,7 @@ class DescribeIdleLoadBalancersRequest(AbstractModel):
8328
8334
  :type Offset: int
8329
8335
  :param _Limit: 返回负载均衡实例的数量,默认为20,最大值为100。
8330
8336
  :type Limit: int
8331
- :param _LoadBalancerRegion: 负载均衡所在地域。
8337
+ :param _LoadBalancerRegion: 负载均衡所在地域,可以通过 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询获取。
8332
8338
  :type LoadBalancerRegion: str
8333
8339
  """
8334
8340
  self._Offset = None
@@ -8359,7 +8365,7 @@ class DescribeIdleLoadBalancersRequest(AbstractModel):
8359
8365
 
8360
8366
  @property
8361
8367
  def LoadBalancerRegion(self):
8362
- """负载均衡所在地域。
8368
+ """负载均衡所在地域,可以通过 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询获取。
8363
8369
  :rtype: str
8364
8370
  """
8365
8371
  return self._LoadBalancerRegion
@@ -12115,14 +12121,14 @@ class InquiryPriceRefundLoadBalancerRequest(AbstractModel):
12115
12121
 
12116
12122
  def __init__(self):
12117
12123
  r"""
12118
- :param _LoadBalancerId: 负载均衡实例ID
12124
+ :param _LoadBalancerId: 负载均衡实例ID。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
12119
12125
  :type LoadBalancerId: str
12120
12126
  """
12121
12127
  self._LoadBalancerId = None
12122
12128
 
12123
12129
  @property
12124
12130
  def LoadBalancerId(self):
12125
- """负载均衡实例ID
12131
+ """负载均衡实例ID。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
12126
12132
  :rtype: str
12127
12133
  """
12128
12134
  return self._LoadBalancerId
@@ -16473,6 +16479,7 @@ class ModifyListenerRequest(AbstractModel):
16473
16479
  :type KeepaliveEnable: int
16474
16480
  :param _DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
16475
16481
  True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
16482
+ 不传则表示不修改。
16476
16483
  :type DeregisterTargetRst: bool
16477
16484
  :param _SessionType: 会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。
16478
16485
  使用场景:适用于TCP/UDP/TCP_SSL/QUIC监听器。
@@ -16489,6 +16496,7 @@ True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
16489
16496
  :param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~1980。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
16490
16497
  :type IdleConnectTimeout: int
16491
16498
  :param _SnatEnable: 是否开启SNAT, True 表示开启 SNAT,False 表示不开启 SNAT。
16499
+ 不传则表示不修改。
16492
16500
  :type SnatEnable: bool
16493
16501
  :param _DataCompressMode: 数据压缩模式
16494
16502
  :type DataCompressMode: str
@@ -16630,6 +16638,7 @@ True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
16630
16638
  def DeregisterTargetRst(self):
16631
16639
  """解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
16632
16640
  True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
16641
+ 不传则表示不修改。
16633
16642
  :rtype: bool
16634
16643
  """
16635
16644
  return self._DeregisterTargetRst
@@ -16700,6 +16709,7 @@ True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
16700
16709
  @property
16701
16710
  def SnatEnable(self):
16702
16711
  """是否开启SNAT, True 表示开启 SNAT,False 表示不开启 SNAT。
16712
+ 不传则表示不修改。
16703
16713
  :rtype: bool
16704
16714
  """
16705
16715
  return self._SnatEnable
@@ -17934,23 +17944,23 @@ class ModifyTargetWeightRequest(AbstractModel):
17934
17944
  :type LoadBalancerId: str
17935
17945
  :param _ListenerId: 负载均衡监听器ID。
17936
17946
  :type ListenerId: str
17947
+ :param _Targets: 要修改权重的后端服务列表。
17948
+ :type Targets: list of Target
17937
17949
  :param _LocationId: 转发规则的ID,当绑定机器到七层转发规则时,必须提供此参数或Domain+Url两者之一。
17938
17950
  :type LocationId: str
17939
17951
  :param _Domain: 目标规则的域名,提供LocationId参数时本参数不生效。
17940
17952
  :type Domain: str
17941
17953
  :param _Url: 目标规则的URL,提供LocationId参数时本参数不生效。
17942
17954
  :type Url: str
17943
- :param _Targets: 要修改权重的后端服务列表。
17944
- :type Targets: list of Target
17945
17955
  :param _Weight: 后端服务新的转发权重,取值范围:0~100,默认值10。如果设置了 Targets.Weight 参数,则此参数不生效。
17946
17956
  :type Weight: int
17947
17957
  """
17948
17958
  self._LoadBalancerId = None
17949
17959
  self._ListenerId = None
17960
+ self._Targets = None
17950
17961
  self._LocationId = None
17951
17962
  self._Domain = None
17952
17963
  self._Url = None
17953
- self._Targets = None
17954
17964
  self._Weight = None
17955
17965
 
17956
17966
  @property
@@ -17975,6 +17985,17 @@ class ModifyTargetWeightRequest(AbstractModel):
17975
17985
  def ListenerId(self, ListenerId):
17976
17986
  self._ListenerId = ListenerId
17977
17987
 
17988
+ @property
17989
+ def Targets(self):
17990
+ """要修改权重的后端服务列表。
17991
+ :rtype: list of Target
17992
+ """
17993
+ return self._Targets
17994
+
17995
+ @Targets.setter
17996
+ def Targets(self, Targets):
17997
+ self._Targets = Targets
17998
+
17978
17999
  @property
17979
18000
  def LocationId(self):
17980
18001
  """转发规则的ID,当绑定机器到七层转发规则时,必须提供此参数或Domain+Url两者之一。
@@ -18008,17 +18029,6 @@ class ModifyTargetWeightRequest(AbstractModel):
18008
18029
  def Url(self, Url):
18009
18030
  self._Url = Url
18010
18031
 
18011
- @property
18012
- def Targets(self):
18013
- """要修改权重的后端服务列表。
18014
- :rtype: list of Target
18015
- """
18016
- return self._Targets
18017
-
18018
- @Targets.setter
18019
- def Targets(self, Targets):
18020
- self._Targets = Targets
18021
-
18022
18032
  @property
18023
18033
  def Weight(self):
18024
18034
  """后端服务新的转发权重,取值范围:0~100,默认值10。如果设置了 Targets.Weight 参数,则此参数不生效。
@@ -18034,15 +18044,15 @@ class ModifyTargetWeightRequest(AbstractModel):
18034
18044
  def _deserialize(self, params):
18035
18045
  self._LoadBalancerId = params.get("LoadBalancerId")
18036
18046
  self._ListenerId = params.get("ListenerId")
18037
- self._LocationId = params.get("LocationId")
18038
- self._Domain = params.get("Domain")
18039
- self._Url = params.get("Url")
18040
18047
  if params.get("Targets") is not None:
18041
18048
  self._Targets = []
18042
18049
  for item in params.get("Targets"):
18043
18050
  obj = Target()
18044
18051
  obj._deserialize(item)
18045
18052
  self._Targets.append(obj)
18053
+ self._LocationId = params.get("LocationId")
18054
+ self._Domain = params.get("Domain")
18055
+ self._Url = params.get("Url")
18046
18056
  self._Weight = params.get("Weight")
18047
18057
  memeber_set = set(params.keys())
18048
18058
  for name, value in vars(self).items():
@@ -20767,7 +20777,7 @@ class SetLoadBalancerStartStatusRequest(AbstractModel):
20767
20777
  r"""
20768
20778
  :param _OperationType: 操作类型。Start:启动实例,Stop:停止实例。
20769
20779
  :type OperationType: str
20770
- :param _LoadBalancerId: 负载均衡实例ID
20780
+ :param _LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
20771
20781
  :type LoadBalancerId: str
20772
20782
  :param _ListenerIds: 监听器ID。如果该字段为空,则表示操作负载均衡实例,如果不为空,则表示操作监听器。
20773
20783
  :type ListenerIds: list of str
@@ -20789,7 +20799,7 @@ class SetLoadBalancerStartStatusRequest(AbstractModel):
20789
20799
 
20790
20800
  @property
20791
20801
  def LoadBalancerId(self):
20792
- """负载均衡实例ID
20802
+ """负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
20793
20803
  :rtype: str
20794
20804
  """
20795
20805
  return self._LoadBalancerId
@@ -72,6 +72,29 @@ class DbbrainClient(AbstractClient):
72
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
73
 
74
74
 
75
+ def CancelDBAutonomyEvent(self, request):
76
+ """自治中心-终止自治事件
77
+
78
+ :param request: Request instance for CancelDBAutonomyEvent.
79
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.CancelDBAutonomyEventRequest`
80
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.CancelDBAutonomyEventResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("CancelDBAutonomyEvent", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.CancelDBAutonomyEventResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
75
98
  def CancelKillTask(self, request):
76
99
  """终止中断会话任务。
77
100
 
@@ -624,6 +647,29 @@ class DbbrainClient(AbstractClient):
624
647
  raise TencentCloudSDKException(type(e).__name__, str(e))
625
648
 
626
649
 
650
+ def DescribeDBAutonomyAction(self, request):
651
+ """自治中心-查询自治事件任务详情。
652
+
653
+ :param request: Request instance for DescribeDBAutonomyAction.
654
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBAutonomyActionRequest`
655
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBAutonomyActionResponse`
656
+
657
+ """
658
+ try:
659
+ params = request._serialize()
660
+ headers = request.headers
661
+ body = self.call("DescribeDBAutonomyAction", params, headers=headers)
662
+ response = json.loads(body)
663
+ model = models.DescribeDBAutonomyActionResponse()
664
+ model._deserialize(response["Response"])
665
+ return model
666
+ except Exception as e:
667
+ if isinstance(e, TencentCloudSDKException):
668
+ raise
669
+ else:
670
+ raise TencentCloudSDKException(type(e).__name__, str(e))
671
+
672
+
627
673
  def DescribeDBAutonomyActions(self, request):
628
674
  """自治中心-终止自治任务(单次)
629
675