tencentcloud-sdk-python 3.0.1342__py2.py3-none-any.whl → 3.0.1343__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 (43) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/bi/v20220105/models.py +68 -0
  3. tencentcloud/billing/v20180709/billing_client.py +3 -1
  4. tencentcloud/billing/v20180709/models.py +90 -210
  5. tencentcloud/cdwpg/v20201230/models.py +4 -4
  6. tencentcloud/cdz/v20221123/models.py +0 -4
  7. tencentcloud/cfg/v20210820/models.py +0 -192
  8. tencentcloud/clb/v20180317/clb_client.py +2 -2
  9. tencentcloud/cwp/v20180228/models.py +61 -18
  10. tencentcloud/dbbrain/v20210527/dbbrain_client.py +161 -0
  11. tencentcloud/dbbrain/v20210527/models.py +1743 -387
  12. tencentcloud/domain/v20180808/models.py +0 -2
  13. tencentcloud/dts/v20180330/models.py +0 -6
  14. tencentcloud/dts/v20211206/models.py +2 -210
  15. tencentcloud/ess/v20201111/models.py +69 -4
  16. tencentcloud/essbasic/v20210526/models.py +57 -2
  17. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  18. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
  19. tencentcloud/iotexplorer/v20190423/models.py +995 -65
  20. tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
  21. tencentcloud/iotvideo/v20211125/models.py +188 -0
  22. tencentcloud/lcic/v20220817/errorcodes.py +1 -1
  23. tencentcloud/lighthouse/v20200324/errorcodes.py +12 -9
  24. tencentcloud/lighthouse/v20200324/lighthouse_client.py +24 -17
  25. tencentcloud/lighthouse/v20200324/models.py +68 -36
  26. tencentcloud/lke/v20231130/models.py +2 -2
  27. tencentcloud/lkeap/v20240522/models.py +4 -8
  28. tencentcloud/mps/v20190612/models.py +170 -0
  29. tencentcloud/mqtt/v20240516/errorcodes.py +9 -0
  30. tencentcloud/organization/v20210331/errorcodes.py +3 -0
  31. tencentcloud/organization/v20210331/models.py +0 -82
  32. tencentcloud/tcb/v20180608/models.py +0 -4
  33. tencentcloud/teo/v20220901/models.py +955 -20
  34. tencentcloud/tione/v20211111/models.py +90 -0
  35. tencentcloud/vdb/v20230616/models.py +45 -0
  36. tencentcloud/vdb/v20230616/vdb_client.py +1 -1
  37. tencentcloud/vrs/v20200824/models.py +32 -0
  38. tencentcloud/wedata/v20210820/models.py +77 -0
  39. {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/METADATA +1 -1
  40. {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/RECORD +43 -43
  41. {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/LICENSE +0 -0
  42. {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/WHEEL +0 -0
  43. {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/top_level.txt +0 -0
@@ -616,7 +616,7 @@ class ClbClient(AbstractClient):
616
616
  本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
617
617
  <br/>限制说明:
618
618
 
619
- - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、孟买、东京、硅谷地域支持绑定 SCF。
619
+ - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。
620
620
  - 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
621
621
  - 传统型负载均衡不支持绑定 SCF。
622
622
  - 基础网络类型不支持绑定 SCF。
@@ -1957,7 +1957,7 @@ class ClbClient(AbstractClient):
1957
1957
  """RegisterFunctionTargets 接口用来将一个云函数绑定到负载均衡的7层转发规则,在此之前您需要先行创建相关的7层监听器(HTTP、HTTPS)和转发规则。
1958
1958
  本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。<br/>
1959
1959
  限制说明:
1960
- - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、孟买、东京、硅谷地域支持绑定 SCF。
1960
+ - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。
1961
1961
  - 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
1962
1962
  - 传统型负载均衡不支持绑定 SCF。
1963
1963
  - 基础网络类型不支持绑定 SCF。
@@ -40004,8 +40004,7 @@ class DescribeImportMachineInfoRequest(AbstractModel):
40004
40004
  :type ImportType: str
40005
40005
  :param _IsQueryProMachine: 该参数已作废.
40006
40006
  :type IsQueryProMachine: bool
40007
- :param _Filters: 过滤条件:
40008
- <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship:旗舰版 | ProtectedMachines:专业版+旗舰版) | BASIC_PROPOST_GENERAL_DISCOUNT:普惠版+专业版按量计费+基础版主机 | UnFlagship:专业版预付费+专业版后付费+基础版+普惠版</li>
40007
+ :param _Filters: 过滤条件:<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship:旗舰版 | ProtectedMachines:专业版+旗舰版) | BASIC_PROPOST_GENERAL_DISCOUNT:轻量版+专业版按量计费+基础版主机 | UnFlagship:专业版预付费+专业版后付费+基础版+轻量版</li>
40009
40008
  :type Filters: list of Filters
40010
40009
  """
40011
40010
  self._MachineList = None
@@ -40048,8 +40047,7 @@ class DescribeImportMachineInfoRequest(AbstractModel):
40048
40047
 
40049
40048
  @property
40050
40049
  def Filters(self):
40051
- """过滤条件:
40052
- <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship:旗舰版 | ProtectedMachines:专业版+旗舰版) | BASIC_PROPOST_GENERAL_DISCOUNT:普惠版+专业版按量计费+基础版主机 | UnFlagship:专业版预付费+专业版后付费+基础版+普惠版</li>
40050
+ """过滤条件:<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship:旗舰版 | ProtectedMachines:专业版+旗舰版) | BASIC_PROPOST_GENERAL_DISCOUNT:轻量版+专业版按量计费+基础版主机 | UnFlagship:专业版预付费+专业版后付费+基础版+轻量版</li>
40053
40051
  :rtype: list of Filters
40054
40052
  """
40055
40053
  return self._Filters
@@ -41036,7 +41034,7 @@ class DescribeLicenseGeneralResponse(AbstractModel):
41036
41034
  :type FlagshipVersionLicenseCnt: int
41037
41035
  :param _ProVersionLicenseCnt: 专业版总授权数(有效订单)
41038
41036
  :type ProVersionLicenseCnt: int
41039
- :param _CwpVersionLicenseCnt: 普惠版总授权数(有效订单的授权数)
41037
+ :param _CwpVersionLicenseCnt: 轻量版总授权数(有效订单的授权数)
41040
41038
  :type CwpVersionLicenseCnt: int
41041
41039
  :param _AvailableLHLicenseCnt: 可用惠普版授权数
41042
41040
  :type AvailableLHLicenseCnt: int
@@ -41217,7 +41215,7 @@ class DescribeLicenseGeneralResponse(AbstractModel):
41217
41215
 
41218
41216
  @property
41219
41217
  def CwpVersionLicenseCnt(self):
41220
- """普惠版总授权数(有效订单的授权数)
41218
+ """轻量版总授权数(有效订单的授权数)
41221
41219
  :rtype: int
41222
41220
  """
41223
41221
  return self._CwpVersionLicenseCnt
@@ -41614,7 +41612,7 @@ class DescribeLicenseWhiteConfigResponse(AbstractModel):
41614
41612
  :type FlagShip: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41615
41613
  :param _Professional: 专业版 配置信息
41616
41614
  :type Professional: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41617
- :param _PrattWhitney: 普惠版 配置信息
41615
+ :param _PrattWhitney: 轻量版 配置信息
41618
41616
  :type PrattWhitney: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41619
41617
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41620
41618
  :type RequestId: str
@@ -41648,7 +41646,7 @@ class DescribeLicenseWhiteConfigResponse(AbstractModel):
41648
41646
 
41649
41647
  @property
41650
41648
  def PrattWhitney(self):
41651
- """普惠版 配置信息
41649
+ """轻量版 配置信息
41652
41650
  :rtype: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41653
41651
  """
41654
41652
  return self._PrattWhitney
@@ -43502,7 +43500,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
43502
43500
  :type DeadlineMachineCnt: int
43503
43501
  :param _NotProtectMachineCnt: 未防护机器数
43504
43502
  :type NotProtectMachineCnt: int
43505
- :param _LHGeneralDiscountCnt: 已防护普惠版机器数(Lighthouse机器)
43503
+ :param _LHGeneralDiscountCnt: 已防护轻量机器数(Lighthouse机器)
43506
43504
  :type LHGeneralDiscountCnt: int
43507
43505
  :param _CompareYesterdayMachineCnt: 比较昨日新增的主机数
43508
43506
  :type CompareYesterdayMachineCnt: int
@@ -43733,7 +43731,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
43733
43731
 
43734
43732
  @property
43735
43733
  def LHGeneralDiscountCnt(self):
43736
- """已防护普惠版机器数(Lighthouse机器)
43734
+ """已防护轻量机器数(Lighthouse机器)
43737
43735
  :rtype: int
43738
43736
  """
43739
43737
  return self._LHGeneralDiscountCnt
@@ -43923,7 +43921,7 @@ class DescribeMachineInfoResponse(AbstractModel):
43923
43921
  :type ProVersionDeadline: str
43924
43922
  :param _HasAssetScan: 是否有资产扫描记录,0无,1有
43925
43923
  :type HasAssetScan: int
43926
- :param _ProtectType: 防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 普惠版
43924
+ :param _ProtectType: 防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 轻量版
43927
43925
  :type ProtectType: str
43928
43926
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
43929
43927
  :type RequestId: str
@@ -44172,7 +44170,7 @@ class DescribeMachineInfoResponse(AbstractModel):
44172
44170
 
44173
44171
  @property
44174
44172
  def ProtectType(self):
44175
- """防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 普惠版
44173
+ """防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 轻量版
44176
44174
  :rtype: str
44177
44175
  """
44178
44176
  return self._ProtectType
@@ -53012,7 +53010,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
53012
53010
  :type EndTime: str
53013
53011
  :param _ClickTimeout: 一键扫描超时时长,如:1800秒(s)
53014
53012
  :type ClickTimeout: int
53015
- :param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
53013
+ :param _Uuids: 为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机
53016
53014
  :type Uuids: list of str
53017
53015
  :param _ScanMethod: 0版本比对,2版本比对+poc
53018
53016
  :type ScanMethod: int
@@ -53133,7 +53131,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
53133
53131
 
53134
53132
  @property
53135
53133
  def Uuids(self):
53136
- """为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
53134
+ """为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机
53137
53135
  :rtype: list of str
53138
53136
  """
53139
53137
  return self._Uuids
@@ -56681,7 +56679,7 @@ class DescribeVersionStatisticsResponse(AbstractModel):
56681
56679
  :type ProVersionNum: int
56682
56680
  :param _UltimateVersionNum: 旗舰版数量
56683
56681
  :type UltimateVersionNum: int
56684
- :param _GeneralVersionNum: 普惠版数量
56682
+ :param _GeneralVersionNum: 轻量版数量
56685
56683
  :type GeneralVersionNum: int
56686
56684
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
56687
56685
  :type RequestId: str
@@ -56727,7 +56725,7 @@ class DescribeVersionStatisticsResponse(AbstractModel):
56727
56725
 
56728
56726
  @property
56729
56727
  def GeneralVersionNum(self):
56730
- """普惠版数量
56728
+ """轻量版数量
56731
56729
  :rtype: int
56732
56730
  """
56733
56731
  return self._GeneralVersionNum
@@ -73768,6 +73766,10 @@ class HostTagInfo(AbstractModel):
73768
73766
  :type InstanceID: str
73769
73767
  :param _MachineType: 主机类型
73770
73768
  :type MachineType: str
73769
+ :param _RegionName: 可用区名称
73770
+ :type RegionName: str
73771
+ :param _RegionId: 可用区ID
73772
+ :type RegionId: int
73771
73773
  """
73772
73774
  self._Quuid = None
73773
73775
  self._TagList = None
@@ -73782,6 +73784,8 @@ class HostTagInfo(AbstractModel):
73782
73784
  self._CloudTags = None
73783
73785
  self._InstanceID = None
73784
73786
  self._MachineType = None
73787
+ self._RegionName = None
73788
+ self._RegionId = None
73785
73789
 
73786
73790
  @property
73787
73791
  def Quuid(self):
@@ -73926,6 +73930,28 @@ class HostTagInfo(AbstractModel):
73926
73930
  def MachineType(self, MachineType):
73927
73931
  self._MachineType = MachineType
73928
73932
 
73933
+ @property
73934
+ def RegionName(self):
73935
+ """可用区名称
73936
+ :rtype: str
73937
+ """
73938
+ return self._RegionName
73939
+
73940
+ @RegionName.setter
73941
+ def RegionName(self, RegionName):
73942
+ self._RegionName = RegionName
73943
+
73944
+ @property
73945
+ def RegionId(self):
73946
+ """可用区ID
73947
+ :rtype: int
73948
+ """
73949
+ return self._RegionId
73950
+
73951
+ @RegionId.setter
73952
+ def RegionId(self, RegionId):
73953
+ self._RegionId = RegionId
73954
+
73929
73955
 
73930
73956
  def _deserialize(self, params):
73931
73957
  self._Quuid = params.get("Quuid")
@@ -73946,6 +73972,8 @@ class HostTagInfo(AbstractModel):
73946
73972
  self._CloudTags.append(obj)
73947
73973
  self._InstanceID = params.get("InstanceID")
73948
73974
  self._MachineType = params.get("MachineType")
73975
+ self._RegionName = params.get("RegionName")
73976
+ self._RegionId = params.get("RegionId")
73949
73977
  memeber_set = set(params.keys())
73950
73978
  for name, value in vars(self).items():
73951
73979
  property_name = name[1:]
@@ -90528,6 +90556,8 @@ class RansomDefenseRollbackTask(AbstractModel):
90528
90556
  :type RegionInfo: :class:`tencentcloud.cwp.v20180228.models.RegionInfo`
90529
90557
  :param _InstanceId: 主机示例ID
90530
90558
  :type InstanceId: str
90559
+ :param _MachineType: 主机类型
90560
+ :type MachineType: str
90531
90561
  """
90532
90562
  self._Id = None
90533
90563
  self._Uuid = None
@@ -90540,6 +90570,7 @@ class RansomDefenseRollbackTask(AbstractModel):
90540
90570
  self._ModifyTime = None
90541
90571
  self._RegionInfo = None
90542
90572
  self._InstanceId = None
90573
+ self._MachineType = None
90543
90574
 
90544
90575
  @property
90545
90576
  def Id(self):
@@ -90662,6 +90693,17 @@ class RansomDefenseRollbackTask(AbstractModel):
90662
90693
  def InstanceId(self, InstanceId):
90663
90694
  self._InstanceId = InstanceId
90664
90695
 
90696
+ @property
90697
+ def MachineType(self):
90698
+ """主机类型
90699
+ :rtype: str
90700
+ """
90701
+ return self._MachineType
90702
+
90703
+ @MachineType.setter
90704
+ def MachineType(self, MachineType):
90705
+ self._MachineType = MachineType
90706
+
90665
90707
 
90666
90708
  def _deserialize(self, params):
90667
90709
  self._Id = params.get("Id")
@@ -90677,6 +90719,7 @@ class RansomDefenseRollbackTask(AbstractModel):
90677
90719
  self._RegionInfo = RegionInfo()
90678
90720
  self._RegionInfo._deserialize(params.get("RegionInfo"))
90679
90721
  self._InstanceId = params.get("InstanceId")
90722
+ self._MachineType = params.get("MachineType")
90680
90723
  memeber_set = set(params.keys())
90681
90724
  for name, value in vars(self).items():
90682
90725
  property_name = name[1:]
@@ -96108,7 +96151,7 @@ class ScanVulSettingRequest(AbstractModel):
96108
96151
  :type EndTime: str
96109
96152
  :param _EnableScan: 是否开启扫描 1开启 0不开启
96110
96153
  :type EnableScan: int
96111
- :param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
96154
+ :param _Uuids: 为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机
96112
96155
  :type Uuids: list of str
96113
96156
  :param _ScanMethod: 0版本比对,2版本比对+poc
96114
96157
  :type ScanMethod: int
@@ -96214,7 +96257,7 @@ class ScanVulSettingRequest(AbstractModel):
96214
96257
 
96215
96258
  @property
96216
96259
  def Uuids(self):
96217
- """为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
96260
+ """为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机
96218
96261
  :rtype: list of str
96219
96262
  """
96220
96263
  return self._Uuids
@@ -49,6 +49,29 @@ class DbbrainClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CancelDBAutonomyAction(self, request):
53
+ """自治中心-终止自治任务(单次)
54
+
55
+ :param request: Request instance for CancelDBAutonomyAction.
56
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.CancelDBAutonomyActionRequest`
57
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.CancelDBAutonomyActionResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("CancelDBAutonomyAction", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.CancelDBAutonomyActionResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
52
75
  def CancelKillTask(self, request):
53
76
  """终止中断会话任务。
54
77
 
@@ -72,6 +95,29 @@ class DbbrainClient(AbstractClient):
72
95
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
96
 
74
97
 
98
+ def CancelRedisBigKeyAnalysisTasks(self, request):
99
+ """自治中心-终止自治任务(单次)
100
+
101
+ :param request: Request instance for CancelRedisBigKeyAnalysisTasks.
102
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.CancelRedisBigKeyAnalysisTasksRequest`
103
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.CancelRedisBigKeyAnalysisTasksResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("CancelRedisBigKeyAnalysisTasks", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.CancelRedisBigKeyAnalysisTasksResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
75
121
  def CloseAuditService(self, request):
76
122
  """不用审计日志时,关闭数据库审计
77
123
 
@@ -325,6 +371,29 @@ class DbbrainClient(AbstractClient):
325
371
  raise TencentCloudSDKException(type(e).__name__, str(e))
326
372
 
327
373
 
374
+ def CreateUserAutonomyProfile(self, request):
375
+ """自治中心-终止自治任务(单次);注意:接口需要加白名单。
376
+
377
+ :param request: Request instance for CreateUserAutonomyProfile.
378
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.CreateUserAutonomyProfileRequest`
379
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.CreateUserAutonomyProfileResponse`
380
+
381
+ """
382
+ try:
383
+ params = request._serialize()
384
+ headers = request.headers
385
+ body = self.call("CreateUserAutonomyProfile", params, headers=headers)
386
+ response = json.loads(body)
387
+ model = models.CreateUserAutonomyProfileResponse()
388
+ model._deserialize(response["Response"])
389
+ return model
390
+ except Exception as e:
391
+ if isinstance(e, TencentCloudSDKException):
392
+ raise
393
+ else:
394
+ raise TencentCloudSDKException(type(e).__name__, str(e))
395
+
396
+
328
397
  def DeleteAuditLogFile(self, request):
329
398
  """用于删除云数据库实例的审计日志文件。
330
399
 
@@ -555,6 +624,52 @@ class DbbrainClient(AbstractClient):
555
624
  raise TencentCloudSDKException(type(e).__name__, str(e))
556
625
 
557
626
 
627
+ def DescribeDBAutonomyActions(self, request):
628
+ """自治中心-终止自治任务(单次)
629
+
630
+ :param request: Request instance for DescribeDBAutonomyActions.
631
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBAutonomyActionsRequest`
632
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBAutonomyActionsResponse`
633
+
634
+ """
635
+ try:
636
+ params = request._serialize()
637
+ headers = request.headers
638
+ body = self.call("DescribeDBAutonomyActions", params, headers=headers)
639
+ response = json.loads(body)
640
+ model = models.DescribeDBAutonomyActionsResponse()
641
+ model._deserialize(response["Response"])
642
+ return model
643
+ except Exception as e:
644
+ if isinstance(e, TencentCloudSDKException):
645
+ raise
646
+ else:
647
+ raise TencentCloudSDKException(type(e).__name__, str(e))
648
+
649
+
650
+ def DescribeDBAutonomyEvents(self, request):
651
+ """自治中心-终止自治任务(单次)
652
+
653
+ :param request: Request instance for DescribeDBAutonomyEvents.
654
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBAutonomyEventsRequest`
655
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBAutonomyEventsResponse`
656
+
657
+ """
658
+ try:
659
+ params = request._serialize()
660
+ headers = request.headers
661
+ body = self.call("DescribeDBAutonomyEvents", params, headers=headers)
662
+ response = json.loads(body)
663
+ model = models.DescribeDBAutonomyEventsResponse()
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
+
558
673
  def DescribeDBDiagEvent(self, request):
559
674
  """获取实例异常诊断事件的详情信息。
560
675
 
@@ -1268,6 +1383,29 @@ class DbbrainClient(AbstractClient):
1268
1383
  raise TencentCloudSDKException(type(e).__name__, str(e))
1269
1384
 
1270
1385
 
1386
+ def DescribeUserAutonomyProfile(self, request):
1387
+ """自治中心-终止自治任务(单次);注意: 接口调用需要加白名单。
1388
+
1389
+ :param request: Request instance for DescribeUserAutonomyProfile.
1390
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeUserAutonomyProfileRequest`
1391
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeUserAutonomyProfileResponse`
1392
+
1393
+ """
1394
+ try:
1395
+ params = request._serialize()
1396
+ headers = request.headers
1397
+ body = self.call("DescribeUserAutonomyProfile", params, headers=headers)
1398
+ response = json.loads(body)
1399
+ model = models.DescribeUserAutonomyProfileResponse()
1400
+ model._deserialize(response["Response"])
1401
+ return model
1402
+ except Exception as e:
1403
+ if isinstance(e, TencentCloudSDKException):
1404
+ raise
1405
+ else:
1406
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1407
+
1408
+
1271
1409
  def DescribeUserSqlAdvice(self, request):
1272
1410
  """获取SQL优化建议。【产品用户回馈,此接口限免开放,后续将并入dbbrain专业版】
1273
1411
 
@@ -1406,6 +1544,29 @@ class DbbrainClient(AbstractClient):
1406
1544
  raise TencentCloudSDKException(type(e).__name__, str(e))
1407
1545
 
1408
1546
 
1547
+ def ModifyUserAutonomyProfile(self, request):
1548
+ """自治中心-终止自治任务(单次);注意:接口需要加白名单。
1549
+
1550
+ :param request: Request instance for ModifyUserAutonomyProfile.
1551
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.ModifyUserAutonomyProfileRequest`
1552
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.ModifyUserAutonomyProfileResponse`
1553
+
1554
+ """
1555
+ try:
1556
+ params = request._serialize()
1557
+ headers = request.headers
1558
+ body = self.call("ModifyUserAutonomyProfile", params, headers=headers)
1559
+ response = json.loads(body)
1560
+ model = models.ModifyUserAutonomyProfileResponse()
1561
+ model._deserialize(response["Response"])
1562
+ return model
1563
+ except Exception as e:
1564
+ if isinstance(e, TencentCloudSDKException):
1565
+ raise
1566
+ else:
1567
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1568
+
1569
+
1409
1570
  def OpenAuditService(self, request):
1410
1571
  """开启数据库审计服务
1411
1572