tencentcloud-sdk-python 3.0.1116__py2.py3-none-any.whl → 3.0.1119__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +3 -4
- tencentcloud/bi/v20220105/models.py +36 -0
- tencentcloud/billing/v20180709/models.py +334 -17
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/errorcodes.py +9 -0
- tencentcloud/ccc/v20200210/models.py +620 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdwpg/v20201230/models.py +12 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +300 -13
- tencentcloud/clb/v20180317/models.py +0 -1
- tencentcloud/cloudstudio/v20230508/models.py +52 -4
- tencentcloud/cls/v20201016/cls_client.py +4 -3
- tencentcloud/cls/v20201016/models.py +53 -53
- tencentcloud/csip/v20221121/models.py +10 -9
- tencentcloud/cwp/v20180228/cwp_client.py +6 -2
- tencentcloud/cwp/v20180228/models.py +166 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +375 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +161 -0
- tencentcloud/dsgc/v20190723/models.py +24 -0
- tencentcloud/dts/v20211206/models.py +67 -2
- tencentcloud/es/v20180416/models.py +163 -5
- tencentcloud/ess/v20201111/ess_client.py +3 -1
- tencentcloud/ess/v20201111/models.py +51 -34
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
- tencentcloud/essbasic/v20210526/models.py +26 -7
- tencentcloud/faceid/v20180301/models.py +13 -0
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +529 -0
- tencentcloud/iotexplorer/v20190423/models.py +3400 -271
- tencentcloud/lcic/v20220817/models.py +90 -0
- tencentcloud/mps/v20190612/models.py +69 -25
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +443 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +124 -0
- tencentcloud/pts/v20210728/pts_client.py +92 -0
- tencentcloud/tione/v20211111/models.py +130 -2
- tencentcloud/tms/v20201229/tms_client.py +1 -1
- tencentcloud/tts/v20190823/models.py +13 -0
- tencentcloud/vod/v20180717/models.py +12 -17
- tencentcloud/wedata/v20210820/models.py +516 -21
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/top_level.txt +0 -0
|
@@ -19015,55 +19015,55 @@ class SearchLogRequest(AbstractModel):
|
|
|
19015
19015
|
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
|
|
19016
19016
|
使用*或空字符串可查询所有日志
|
|
19017
19017
|
:type Query: str
|
|
19018
|
+
:param _SyntaxRule: 检索语法规则,默认值为0,推荐使用1 (CQL语法)。
|
|
19019
|
+
0:Lucene语法,1:CQL语法。
|
|
19020
|
+
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
|
19021
|
+
:type SyntaxRule: int
|
|
19018
19022
|
:param _TopicId: - 要检索分析的日志主题ID,仅能指定一个日志主题。
|
|
19019
19023
|
- 如需同时检索多个日志主题,请使用Topics参数。
|
|
19020
19024
|
:type TopicId: str
|
|
19025
|
+
:param _Topics: - 要检索分析的日志主题列表,最大支持20个日志主题。
|
|
19026
|
+
- 检索单个日志主题时请使用TopicId。
|
|
19027
|
+
- 不能同时使用TopicId和Topics。
|
|
19028
|
+
:type Topics: list of MultiTopicSearchInformation
|
|
19021
19029
|
:param _Limit: 表示单次查询返回的原始日志条数,默认为100,最大值为1000,获取后续日志需使用Context参数
|
|
19022
19030
|
注意:
|
|
19023
19031
|
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
19024
19032
|
* SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
19025
19033
|
:type Limit: int
|
|
19034
|
+
:param _Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
19035
|
+
注意:
|
|
19036
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
19037
|
+
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
19038
|
+
:type Sort: str
|
|
19026
19039
|
:param _Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
|
19027
19040
|
注意:
|
|
19028
19041
|
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
19029
19042
|
* 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
|
|
19030
19043
|
* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
19031
19044
|
:type Context: str
|
|
19032
|
-
:param _Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
19033
|
-
注意:
|
|
19034
|
-
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
19035
|
-
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
19036
|
-
:type Sort: str
|
|
19037
|
-
:param _UseNewAnalysis: 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
|
|
19038
|
-
为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
|
|
19039
|
-
两种返回方式在编码格式上有少量区别,建议使用true
|
|
19040
|
-
:type UseNewAnalysis: bool
|
|
19041
19045
|
:param _SamplingRate: 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。
|
|
19042
19046
|
0:自动采样;
|
|
19043
19047
|
0~1:按指定采样率采样,例如0.02;
|
|
19044
19048
|
1:不采样,即精确分析
|
|
19045
19049
|
默认值为1
|
|
19046
19050
|
:type SamplingRate: float
|
|
19047
|
-
:param
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
:type
|
|
19051
|
-
:param _Topics: - 要检索分析的日志主题列表,最大支持20个日志主题。
|
|
19052
|
-
- 检索单个日志主题时请使用TopicId。
|
|
19053
|
-
- 不能同时使用TopicId和Topics。
|
|
19054
|
-
:type Topics: list of MultiTopicSearchInformation
|
|
19051
|
+
:param _UseNewAnalysis: 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
|
|
19052
|
+
为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
|
|
19053
|
+
两种返回方式在编码格式上有少量区别,建议使用true
|
|
19054
|
+
:type UseNewAnalysis: bool
|
|
19055
19055
|
"""
|
|
19056
19056
|
self._From = None
|
|
19057
19057
|
self._To = None
|
|
19058
19058
|
self._Query = None
|
|
19059
|
+
self._SyntaxRule = None
|
|
19059
19060
|
self._TopicId = None
|
|
19061
|
+
self._Topics = None
|
|
19060
19062
|
self._Limit = None
|
|
19061
|
-
self._Context = None
|
|
19062
19063
|
self._Sort = None
|
|
19063
|
-
self.
|
|
19064
|
+
self._Context = None
|
|
19064
19065
|
self._SamplingRate = None
|
|
19065
|
-
self.
|
|
19066
|
-
self._Topics = None
|
|
19066
|
+
self._UseNewAnalysis = None
|
|
19067
19067
|
|
|
19068
19068
|
@property
|
|
19069
19069
|
def From(self):
|
|
@@ -19089,6 +19089,14 @@ class SearchLogRequest(AbstractModel):
|
|
|
19089
19089
|
def Query(self, Query):
|
|
19090
19090
|
self._Query = Query
|
|
19091
19091
|
|
|
19092
|
+
@property
|
|
19093
|
+
def SyntaxRule(self):
|
|
19094
|
+
return self._SyntaxRule
|
|
19095
|
+
|
|
19096
|
+
@SyntaxRule.setter
|
|
19097
|
+
def SyntaxRule(self, SyntaxRule):
|
|
19098
|
+
self._SyntaxRule = SyntaxRule
|
|
19099
|
+
|
|
19092
19100
|
@property
|
|
19093
19101
|
def TopicId(self):
|
|
19094
19102
|
return self._TopicId
|
|
@@ -19097,6 +19105,14 @@ class SearchLogRequest(AbstractModel):
|
|
|
19097
19105
|
def TopicId(self, TopicId):
|
|
19098
19106
|
self._TopicId = TopicId
|
|
19099
19107
|
|
|
19108
|
+
@property
|
|
19109
|
+
def Topics(self):
|
|
19110
|
+
return self._Topics
|
|
19111
|
+
|
|
19112
|
+
@Topics.setter
|
|
19113
|
+
def Topics(self, Topics):
|
|
19114
|
+
self._Topics = Topics
|
|
19115
|
+
|
|
19100
19116
|
@property
|
|
19101
19117
|
def Limit(self):
|
|
19102
19118
|
return self._Limit
|
|
@@ -19105,14 +19121,6 @@ class SearchLogRequest(AbstractModel):
|
|
|
19105
19121
|
def Limit(self, Limit):
|
|
19106
19122
|
self._Limit = Limit
|
|
19107
19123
|
|
|
19108
|
-
@property
|
|
19109
|
-
def Context(self):
|
|
19110
|
-
return self._Context
|
|
19111
|
-
|
|
19112
|
-
@Context.setter
|
|
19113
|
-
def Context(self, Context):
|
|
19114
|
-
self._Context = Context
|
|
19115
|
-
|
|
19116
19124
|
@property
|
|
19117
19125
|
def Sort(self):
|
|
19118
19126
|
return self._Sort
|
|
@@ -19122,12 +19130,12 @@ class SearchLogRequest(AbstractModel):
|
|
|
19122
19130
|
self._Sort = Sort
|
|
19123
19131
|
|
|
19124
19132
|
@property
|
|
19125
|
-
def
|
|
19126
|
-
return self.
|
|
19133
|
+
def Context(self):
|
|
19134
|
+
return self._Context
|
|
19127
19135
|
|
|
19128
|
-
@
|
|
19129
|
-
def
|
|
19130
|
-
self.
|
|
19136
|
+
@Context.setter
|
|
19137
|
+
def Context(self, Context):
|
|
19138
|
+
self._Context = Context
|
|
19131
19139
|
|
|
19132
19140
|
@property
|
|
19133
19141
|
def SamplingRate(self):
|
|
@@ -19138,39 +19146,31 @@ class SearchLogRequest(AbstractModel):
|
|
|
19138
19146
|
self._SamplingRate = SamplingRate
|
|
19139
19147
|
|
|
19140
19148
|
@property
|
|
19141
|
-
def
|
|
19142
|
-
return self.
|
|
19143
|
-
|
|
19144
|
-
@SyntaxRule.setter
|
|
19145
|
-
def SyntaxRule(self, SyntaxRule):
|
|
19146
|
-
self._SyntaxRule = SyntaxRule
|
|
19147
|
-
|
|
19148
|
-
@property
|
|
19149
|
-
def Topics(self):
|
|
19150
|
-
return self._Topics
|
|
19149
|
+
def UseNewAnalysis(self):
|
|
19150
|
+
return self._UseNewAnalysis
|
|
19151
19151
|
|
|
19152
|
-
@
|
|
19153
|
-
def
|
|
19154
|
-
self.
|
|
19152
|
+
@UseNewAnalysis.setter
|
|
19153
|
+
def UseNewAnalysis(self, UseNewAnalysis):
|
|
19154
|
+
self._UseNewAnalysis = UseNewAnalysis
|
|
19155
19155
|
|
|
19156
19156
|
|
|
19157
19157
|
def _deserialize(self, params):
|
|
19158
19158
|
self._From = params.get("From")
|
|
19159
19159
|
self._To = params.get("To")
|
|
19160
19160
|
self._Query = params.get("Query")
|
|
19161
|
-
self._TopicId = params.get("TopicId")
|
|
19162
|
-
self._Limit = params.get("Limit")
|
|
19163
|
-
self._Context = params.get("Context")
|
|
19164
|
-
self._Sort = params.get("Sort")
|
|
19165
|
-
self._UseNewAnalysis = params.get("UseNewAnalysis")
|
|
19166
|
-
self._SamplingRate = params.get("SamplingRate")
|
|
19167
19161
|
self._SyntaxRule = params.get("SyntaxRule")
|
|
19162
|
+
self._TopicId = params.get("TopicId")
|
|
19168
19163
|
if params.get("Topics") is not None:
|
|
19169
19164
|
self._Topics = []
|
|
19170
19165
|
for item in params.get("Topics"):
|
|
19171
19166
|
obj = MultiTopicSearchInformation()
|
|
19172
19167
|
obj._deserialize(item)
|
|
19173
19168
|
self._Topics.append(obj)
|
|
19169
|
+
self._Limit = params.get("Limit")
|
|
19170
|
+
self._Sort = params.get("Sort")
|
|
19171
|
+
self._Context = params.get("Context")
|
|
19172
|
+
self._SamplingRate = params.get("SamplingRate")
|
|
19173
|
+
self._UseNewAnalysis = params.get("UseNewAnalysis")
|
|
19174
19174
|
memeber_set = set(params.keys())
|
|
19175
19175
|
for name, value in vars(self).items():
|
|
19176
19176
|
property_name = name[1:]
|
|
@@ -1024,7 +1024,7 @@ class AssetViewCFGRisk(AbstractModel):
|
|
|
1024
1024
|
:type InstanceType: str
|
|
1025
1025
|
:param _AffectAsset: 影响资产
|
|
1026
1026
|
:type AffectAsset: str
|
|
1027
|
-
:param _Level:
|
|
1027
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
1028
1028
|
:type Level: str
|
|
1029
1029
|
:param _FirstTime: 首次识别时间
|
|
1030
1030
|
:type FirstTime: str
|
|
@@ -1277,7 +1277,7 @@ class AssetViewPortRisk(AbstractModel):
|
|
|
1277
1277
|
:type Port: int
|
|
1278
1278
|
:param _AffectAsset: 影响资产
|
|
1279
1279
|
:type AffectAsset: str
|
|
1280
|
-
:param _Level:
|
|
1280
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
1281
1281
|
:type Level: str
|
|
1282
1282
|
:param _InstanceType: 资产类型
|
|
1283
1283
|
:type InstanceType: str
|
|
@@ -1526,7 +1526,8 @@ class AssetViewVULRisk(AbstractModel):
|
|
|
1526
1526
|
r"""
|
|
1527
1527
|
:param _AffectAsset: 影响资产
|
|
1528
1528
|
:type AffectAsset: str
|
|
1529
|
-
:param _Level:
|
|
1529
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
1530
|
+
|
|
1530
1531
|
:type Level: str
|
|
1531
1532
|
:param _InstanceType: 资产类型
|
|
1532
1533
|
:type InstanceType: str
|
|
@@ -1946,7 +1947,7 @@ class AssetViewWeakPassRisk(AbstractModel):
|
|
|
1946
1947
|
r"""
|
|
1947
1948
|
:param _AffectAsset: 影响资产
|
|
1948
1949
|
:type AffectAsset: str
|
|
1949
|
-
:param _Level:
|
|
1950
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
1950
1951
|
:type Level: str
|
|
1951
1952
|
:param _InstanceType: 资产类型
|
|
1952
1953
|
:type InstanceType: str
|
|
@@ -11597,7 +11598,7 @@ class PortViewPortRisk(AbstractModel):
|
|
|
11597
11598
|
r"""
|
|
11598
11599
|
:param _NoHandleCount: 影响资产
|
|
11599
11600
|
:type NoHandleCount: int
|
|
11600
|
-
:param _Level:
|
|
11601
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
11601
11602
|
:type Level: str
|
|
11602
11603
|
:param _Protocol: 协议
|
|
11603
11604
|
:type Protocol: str
|
|
@@ -12726,7 +12727,7 @@ class ServerRisk(AbstractModel):
|
|
|
12726
12727
|
:type InstanceName: str
|
|
12727
12728
|
:param _InstanceType: 资产类型
|
|
12728
12729
|
:type InstanceType: str
|
|
12729
|
-
:param _Level: 风险等级
|
|
12730
|
+
:param _Level: 风险等级 low:低危 high:高危 middle:中危 info:提示 extreme:严重
|
|
12730
12731
|
:type Level: str
|
|
12731
12732
|
:param _Protocol: 协议
|
|
12732
12733
|
:type Protocol: str
|
|
@@ -14292,7 +14293,7 @@ class VULRiskAdvanceCFGList(AbstractModel):
|
|
|
14292
14293
|
:type RiskId: str
|
|
14293
14294
|
:param _VULName: 漏洞名称
|
|
14294
14295
|
:type VULName: str
|
|
14295
|
-
:param _RiskLevel:
|
|
14296
|
+
:param _RiskLevel: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
14296
14297
|
:type RiskLevel: str
|
|
14297
14298
|
:param _CheckFrom: 识别来源
|
|
14298
14299
|
:type CheckFrom: str
|
|
@@ -14571,7 +14572,7 @@ class VULViewVULRisk(AbstractModel):
|
|
|
14571
14572
|
:type Port: str
|
|
14572
14573
|
:param _NoHandleCount: 影响资产
|
|
14573
14574
|
:type NoHandleCount: int
|
|
14574
|
-
:param _Level:
|
|
14575
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
14575
14576
|
:type Level: str
|
|
14576
14577
|
:param _Component: 组件
|
|
14577
14578
|
:type Component: str
|
|
@@ -15092,7 +15093,7 @@ class WebsiteRisk(AbstractModel):
|
|
|
15092
15093
|
r"""
|
|
15093
15094
|
:param _AffectAsset: 影响资产
|
|
15094
15095
|
:type AffectAsset: str
|
|
15095
|
-
:param _Level:
|
|
15096
|
+
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
|
15096
15097
|
:type Level: str
|
|
15097
15098
|
:param _RecentTime: 最近识别时间
|
|
15098
15099
|
:type RecentTime: str
|
|
@@ -697,7 +697,9 @@ class CwpClient(AbstractClient):
|
|
|
697
697
|
|
|
698
698
|
|
|
699
699
|
def DeleteAttackLogs(self, request):
|
|
700
|
-
"""
|
|
700
|
+
"""ModifyEventAttackStatus 接口替代
|
|
701
|
+
|
|
702
|
+
删除网络攻击日志
|
|
701
703
|
|
|
702
704
|
:param request: Request instance for DeleteAttackLogs.
|
|
703
705
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsRequest`
|
|
@@ -8887,7 +8889,9 @@ class CwpClient(AbstractClient):
|
|
|
8887
8889
|
|
|
8888
8890
|
|
|
8889
8891
|
def ExportAttackLogs(self, request):
|
|
8890
|
-
"""
|
|
8892
|
+
"""ExportAttackEvents接口替代
|
|
8893
|
+
|
|
8894
|
+
导出网络攻击日志
|
|
8891
8895
|
|
|
8892
8896
|
:param request: Request instance for ExportAttackLogs.
|
|
8893
8897
|
:type request: :class:`tencentcloud.cwp.v20180228.models.ExportAttackLogsRequest`
|
|
@@ -7782,10 +7782,14 @@ class BaselineCategory(AbstractModel):
|
|
|
7782
7782
|
:type CategoryName: str
|
|
7783
7783
|
:param _ParentCategoryId: 父分类ID,如果为0则没有父分类
|
|
7784
7784
|
:type ParentCategoryId: int
|
|
7785
|
+
:param _ItemCount: 子分类下检测项总数
|
|
7786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7787
|
+
:type ItemCount: int
|
|
7785
7788
|
"""
|
|
7786
7789
|
self._CategoryId = None
|
|
7787
7790
|
self._CategoryName = None
|
|
7788
7791
|
self._ParentCategoryId = None
|
|
7792
|
+
self._ItemCount = None
|
|
7789
7793
|
|
|
7790
7794
|
@property
|
|
7791
7795
|
def CategoryId(self):
|
|
@@ -7811,11 +7815,20 @@ class BaselineCategory(AbstractModel):
|
|
|
7811
7815
|
def ParentCategoryId(self, ParentCategoryId):
|
|
7812
7816
|
self._ParentCategoryId = ParentCategoryId
|
|
7813
7817
|
|
|
7818
|
+
@property
|
|
7819
|
+
def ItemCount(self):
|
|
7820
|
+
return self._ItemCount
|
|
7821
|
+
|
|
7822
|
+
@ItemCount.setter
|
|
7823
|
+
def ItemCount(self, ItemCount):
|
|
7824
|
+
self._ItemCount = ItemCount
|
|
7825
|
+
|
|
7814
7826
|
|
|
7815
7827
|
def _deserialize(self, params):
|
|
7816
7828
|
self._CategoryId = params.get("CategoryId")
|
|
7817
7829
|
self._CategoryName = params.get("CategoryName")
|
|
7818
7830
|
self._ParentCategoryId = params.get("ParentCategoryId")
|
|
7831
|
+
self._ItemCount = params.get("ItemCount")
|
|
7819
7832
|
memeber_set = set(params.keys())
|
|
7820
7833
|
for name, value in vars(self).items():
|
|
7821
7834
|
property_name = name[1:]
|
|
@@ -9503,6 +9516,80 @@ class BaselineItemInfo(AbstractModel):
|
|
|
9503
9516
|
|
|
9504
9517
|
|
|
9505
9518
|
|
|
9519
|
+
class BaselineItemsCategory(AbstractModel):
|
|
9520
|
+
"""基线检测项分类树状结构
|
|
9521
|
+
|
|
9522
|
+
"""
|
|
9523
|
+
|
|
9524
|
+
def __init__(self):
|
|
9525
|
+
r"""
|
|
9526
|
+
:param _ParentCategoryId: 基线检测项父分类id
|
|
9527
|
+
:type ParentCategoryId: int
|
|
9528
|
+
:param _ParentCategoryName: 基线检测项父分类名称
|
|
9529
|
+
:type ParentCategoryName: str
|
|
9530
|
+
:param _CategoryCount: 基线检测项子分类数目
|
|
9531
|
+
:type CategoryCount: int
|
|
9532
|
+
:param _CategoryLists: 基线检测项子分类列表
|
|
9533
|
+
:type CategoryLists: list of BaselineCategory
|
|
9534
|
+
"""
|
|
9535
|
+
self._ParentCategoryId = None
|
|
9536
|
+
self._ParentCategoryName = None
|
|
9537
|
+
self._CategoryCount = None
|
|
9538
|
+
self._CategoryLists = None
|
|
9539
|
+
|
|
9540
|
+
@property
|
|
9541
|
+
def ParentCategoryId(self):
|
|
9542
|
+
return self._ParentCategoryId
|
|
9543
|
+
|
|
9544
|
+
@ParentCategoryId.setter
|
|
9545
|
+
def ParentCategoryId(self, ParentCategoryId):
|
|
9546
|
+
self._ParentCategoryId = ParentCategoryId
|
|
9547
|
+
|
|
9548
|
+
@property
|
|
9549
|
+
def ParentCategoryName(self):
|
|
9550
|
+
return self._ParentCategoryName
|
|
9551
|
+
|
|
9552
|
+
@ParentCategoryName.setter
|
|
9553
|
+
def ParentCategoryName(self, ParentCategoryName):
|
|
9554
|
+
self._ParentCategoryName = ParentCategoryName
|
|
9555
|
+
|
|
9556
|
+
@property
|
|
9557
|
+
def CategoryCount(self):
|
|
9558
|
+
return self._CategoryCount
|
|
9559
|
+
|
|
9560
|
+
@CategoryCount.setter
|
|
9561
|
+
def CategoryCount(self, CategoryCount):
|
|
9562
|
+
self._CategoryCount = CategoryCount
|
|
9563
|
+
|
|
9564
|
+
@property
|
|
9565
|
+
def CategoryLists(self):
|
|
9566
|
+
return self._CategoryLists
|
|
9567
|
+
|
|
9568
|
+
@CategoryLists.setter
|
|
9569
|
+
def CategoryLists(self, CategoryLists):
|
|
9570
|
+
self._CategoryLists = CategoryLists
|
|
9571
|
+
|
|
9572
|
+
|
|
9573
|
+
def _deserialize(self, params):
|
|
9574
|
+
self._ParentCategoryId = params.get("ParentCategoryId")
|
|
9575
|
+
self._ParentCategoryName = params.get("ParentCategoryName")
|
|
9576
|
+
self._CategoryCount = params.get("CategoryCount")
|
|
9577
|
+
if params.get("CategoryLists") is not None:
|
|
9578
|
+
self._CategoryLists = []
|
|
9579
|
+
for item in params.get("CategoryLists"):
|
|
9580
|
+
obj = BaselineCategory()
|
|
9581
|
+
obj._deserialize(item)
|
|
9582
|
+
self._CategoryLists.append(obj)
|
|
9583
|
+
memeber_set = set(params.keys())
|
|
9584
|
+
for name, value in vars(self).items():
|
|
9585
|
+
property_name = name[1:]
|
|
9586
|
+
if property_name in memeber_set:
|
|
9587
|
+
memeber_set.remove(property_name)
|
|
9588
|
+
if len(memeber_set) > 0:
|
|
9589
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9590
|
+
|
|
9591
|
+
|
|
9592
|
+
|
|
9506
9593
|
class BaselinePolicy(AbstractModel):
|
|
9507
9594
|
"""基线策略信息
|
|
9508
9595
|
|
|
@@ -16018,10 +16105,13 @@ class CreateSearchTemplateResponse(AbstractModel):
|
|
|
16018
16105
|
r"""
|
|
16019
16106
|
:param _Status: 0:成功,非0:失败
|
|
16020
16107
|
:type Status: int
|
|
16108
|
+
:param _Message: 失败原因
|
|
16109
|
+
:type Message: str
|
|
16021
16110
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16022
16111
|
:type RequestId: str
|
|
16023
16112
|
"""
|
|
16024
16113
|
self._Status = None
|
|
16114
|
+
self._Message = None
|
|
16025
16115
|
self._RequestId = None
|
|
16026
16116
|
|
|
16027
16117
|
@property
|
|
@@ -16032,6 +16122,14 @@ class CreateSearchTemplateResponse(AbstractModel):
|
|
|
16032
16122
|
def Status(self, Status):
|
|
16033
16123
|
self._Status = Status
|
|
16034
16124
|
|
|
16125
|
+
@property
|
|
16126
|
+
def Message(self):
|
|
16127
|
+
return self._Message
|
|
16128
|
+
|
|
16129
|
+
@Message.setter
|
|
16130
|
+
def Message(self, Message):
|
|
16131
|
+
self._Message = Message
|
|
16132
|
+
|
|
16035
16133
|
@property
|
|
16036
16134
|
def RequestId(self):
|
|
16037
16135
|
return self._RequestId
|
|
@@ -16043,6 +16141,7 @@ class CreateSearchTemplateResponse(AbstractModel):
|
|
|
16043
16141
|
|
|
16044
16142
|
def _deserialize(self, params):
|
|
16045
16143
|
self._Status = params.get("Status")
|
|
16144
|
+
self._Message = params.get("Message")
|
|
16046
16145
|
self._RequestId = params.get("RequestId")
|
|
16047
16146
|
|
|
16048
16147
|
|
|
@@ -29009,11 +29108,15 @@ class DescribeBaselineItemInfoResponse(AbstractModel):
|
|
|
29009
29108
|
:type List: list of BaselineItemInfo
|
|
29010
29109
|
:param _Total: 总条目数
|
|
29011
29110
|
:type Total: int
|
|
29111
|
+
:param _CategoryList: 基线分类列表
|
|
29112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
29113
|
+
:type CategoryList: list of BaselineItemsCategory
|
|
29012
29114
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29013
29115
|
:type RequestId: str
|
|
29014
29116
|
"""
|
|
29015
29117
|
self._List = None
|
|
29016
29118
|
self._Total = None
|
|
29119
|
+
self._CategoryList = None
|
|
29017
29120
|
self._RequestId = None
|
|
29018
29121
|
|
|
29019
29122
|
@property
|
|
@@ -29032,6 +29135,14 @@ class DescribeBaselineItemInfoResponse(AbstractModel):
|
|
|
29032
29135
|
def Total(self, Total):
|
|
29033
29136
|
self._Total = Total
|
|
29034
29137
|
|
|
29138
|
+
@property
|
|
29139
|
+
def CategoryList(self):
|
|
29140
|
+
return self._CategoryList
|
|
29141
|
+
|
|
29142
|
+
@CategoryList.setter
|
|
29143
|
+
def CategoryList(self, CategoryList):
|
|
29144
|
+
self._CategoryList = CategoryList
|
|
29145
|
+
|
|
29035
29146
|
@property
|
|
29036
29147
|
def RequestId(self):
|
|
29037
29148
|
return self._RequestId
|
|
@@ -29049,6 +29160,12 @@ class DescribeBaselineItemInfoResponse(AbstractModel):
|
|
|
29049
29160
|
obj._deserialize(item)
|
|
29050
29161
|
self._List.append(obj)
|
|
29051
29162
|
self._Total = params.get("Total")
|
|
29163
|
+
if params.get("CategoryList") is not None:
|
|
29164
|
+
self._CategoryList = []
|
|
29165
|
+
for item in params.get("CategoryList"):
|
|
29166
|
+
obj = BaselineItemsCategory()
|
|
29167
|
+
obj._deserialize(item)
|
|
29168
|
+
self._CategoryList.append(obj)
|
|
29052
29169
|
self._RequestId = params.get("RequestId")
|
|
29053
29170
|
|
|
29054
29171
|
|
|
@@ -64187,9 +64304,13 @@ class Item(AbstractModel):
|
|
|
64187
64304
|
:type ItemId: int
|
|
64188
64305
|
:param _ItemName: 名称
|
|
64189
64306
|
:type ItemName: str
|
|
64307
|
+
:param _CustomItemValues: 自定义阈值
|
|
64308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64309
|
+
:type CustomItemValues: list of int non-negative
|
|
64190
64310
|
"""
|
|
64191
64311
|
self._ItemId = None
|
|
64192
64312
|
self._ItemName = None
|
|
64313
|
+
self._CustomItemValues = None
|
|
64193
64314
|
|
|
64194
64315
|
@property
|
|
64195
64316
|
def ItemId(self):
|
|
@@ -64207,10 +64328,19 @@ class Item(AbstractModel):
|
|
|
64207
64328
|
def ItemName(self, ItemName):
|
|
64208
64329
|
self._ItemName = ItemName
|
|
64209
64330
|
|
|
64331
|
+
@property
|
|
64332
|
+
def CustomItemValues(self):
|
|
64333
|
+
return self._CustomItemValues
|
|
64334
|
+
|
|
64335
|
+
@CustomItemValues.setter
|
|
64336
|
+
def CustomItemValues(self, CustomItemValues):
|
|
64337
|
+
self._CustomItemValues = CustomItemValues
|
|
64338
|
+
|
|
64210
64339
|
|
|
64211
64340
|
def _deserialize(self, params):
|
|
64212
64341
|
self._ItemId = params.get("ItemId")
|
|
64213
64342
|
self._ItemName = params.get("ItemName")
|
|
64343
|
+
self._CustomItemValues = params.get("CustomItemValues")
|
|
64214
64344
|
memeber_set = set(params.keys())
|
|
64215
64345
|
for name, value in vars(self).items():
|
|
64216
64346
|
property_name = name[1:]
|
|
@@ -69123,10 +69253,19 @@ class ModifyBaselineRuleRequest(AbstractModel):
|
|
|
69123
69253
|
:type SelectAll: int
|
|
69124
69254
|
:param _Filters: <li>ItemName - string - 是否必填:否 - 项名称</li>
|
|
69125
69255
|
:type Filters: list of Filter
|
|
69256
|
+
:param _IdType: 0:检测项,1:检测项分类
|
|
69257
|
+
:type IdType: int
|
|
69258
|
+
:param _ExcludeIds: 需要排除的检测项id
|
|
69259
|
+
:type ExcludeIds: list of int non-negative
|
|
69260
|
+
:param _CategoryIds: 勾选的检测项分类
|
|
69261
|
+
:type CategoryIds: list of int non-negative
|
|
69126
69262
|
"""
|
|
69127
69263
|
self._Data = None
|
|
69128
69264
|
self._SelectAll = None
|
|
69129
69265
|
self._Filters = None
|
|
69266
|
+
self._IdType = None
|
|
69267
|
+
self._ExcludeIds = None
|
|
69268
|
+
self._CategoryIds = None
|
|
69130
69269
|
|
|
69131
69270
|
@property
|
|
69132
69271
|
def Data(self):
|
|
@@ -69152,6 +69291,30 @@ class ModifyBaselineRuleRequest(AbstractModel):
|
|
|
69152
69291
|
def Filters(self, Filters):
|
|
69153
69292
|
self._Filters = Filters
|
|
69154
69293
|
|
|
69294
|
+
@property
|
|
69295
|
+
def IdType(self):
|
|
69296
|
+
return self._IdType
|
|
69297
|
+
|
|
69298
|
+
@IdType.setter
|
|
69299
|
+
def IdType(self, IdType):
|
|
69300
|
+
self._IdType = IdType
|
|
69301
|
+
|
|
69302
|
+
@property
|
|
69303
|
+
def ExcludeIds(self):
|
|
69304
|
+
return self._ExcludeIds
|
|
69305
|
+
|
|
69306
|
+
@ExcludeIds.setter
|
|
69307
|
+
def ExcludeIds(self, ExcludeIds):
|
|
69308
|
+
self._ExcludeIds = ExcludeIds
|
|
69309
|
+
|
|
69310
|
+
@property
|
|
69311
|
+
def CategoryIds(self):
|
|
69312
|
+
return self._CategoryIds
|
|
69313
|
+
|
|
69314
|
+
@CategoryIds.setter
|
|
69315
|
+
def CategoryIds(self, CategoryIds):
|
|
69316
|
+
self._CategoryIds = CategoryIds
|
|
69317
|
+
|
|
69155
69318
|
|
|
69156
69319
|
def _deserialize(self, params):
|
|
69157
69320
|
if params.get("Data") is not None:
|
|
@@ -69164,6 +69327,9 @@ class ModifyBaselineRuleRequest(AbstractModel):
|
|
|
69164
69327
|
obj = Filter()
|
|
69165
69328
|
obj._deserialize(item)
|
|
69166
69329
|
self._Filters.append(obj)
|
|
69330
|
+
self._IdType = params.get("IdType")
|
|
69331
|
+
self._ExcludeIds = params.get("ExcludeIds")
|
|
69332
|
+
self._CategoryIds = params.get("CategoryIds")
|
|
69167
69333
|
memeber_set = set(params.keys())
|
|
69168
69334
|
for name, value in vars(self).items():
|
|
69169
69335
|
property_name = name[1:]
|
|
@@ -2832,6 +2832,29 @@ class CynosdbClient(AbstractClient):
|
|
|
2832
2832
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2833
2833
|
|
|
2834
2834
|
|
|
2835
|
+
def RollbackToNewCluster(self, request):
|
|
2836
|
+
"""回档到新集群
|
|
2837
|
+
|
|
2838
|
+
:param request: Request instance for RollbackToNewCluster.
|
|
2839
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.RollbackToNewClusterRequest`
|
|
2840
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.RollbackToNewClusterResponse`
|
|
2841
|
+
|
|
2842
|
+
"""
|
|
2843
|
+
try:
|
|
2844
|
+
params = request._serialize()
|
|
2845
|
+
headers = request.headers
|
|
2846
|
+
body = self.call("RollbackToNewCluster", params, headers=headers)
|
|
2847
|
+
response = json.loads(body)
|
|
2848
|
+
model = models.RollbackToNewClusterResponse()
|
|
2849
|
+
model._deserialize(response["Response"])
|
|
2850
|
+
return model
|
|
2851
|
+
except Exception as e:
|
|
2852
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2853
|
+
raise
|
|
2854
|
+
else:
|
|
2855
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2856
|
+
|
|
2857
|
+
|
|
2835
2858
|
def SearchClusterDatabases(self, request):
|
|
2836
2859
|
"""本接口(SearchClusterDatabases)搜索集群数据库列表
|
|
2837
2860
|
|