tencentcloud-sdk-python 3.0.1218__py2.py3-none-any.whl → 3.0.1225__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ams/v20201229/models.py +24 -0
- tencentcloud/asr/v20190614/asr_client.py +96 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +618 -0
- tencentcloud/batch/v20170312/models.py +1 -1
- tencentcloud/bi/v20220105/models.py +25 -0
- tencentcloud/cdb/v20170320/cdb_client.py +46 -0
- tencentcloud/cdb/v20170320/models.py +280 -2
- tencentcloud/cdwdoris/v20211228/models.py +302 -2
- tencentcloud/cfg/v20210820/models.py +168 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +70 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +47 -1
- tencentcloud/clb/v20180317/models.py +146 -2
- tencentcloud/cls/v20201016/models.py +1 -2
- tencentcloud/controlcenter/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
- tencentcloud/controlcenter/v20230110/models.py +140 -0
- tencentcloud/csip/v20221121/models.py +385 -0
- tencentcloud/cvm/v20170312/models.py +7 -5
- tencentcloud/cwp/v20180228/models.py +1 -12
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +575 -9
- tencentcloud/dasb/v20191018/models.py +25 -0
- tencentcloud/dbbrain/v20210527/models.py +2 -2
- tencentcloud/dc/v20180410/dc_client.py +3 -4
- tencentcloud/dc/v20180410/models.py +78 -18
- tencentcloud/dcdb/v20180411/dcdb_client.py +23 -0
- tencentcloud/dcdb/v20180411/models.py +82 -0
- tencentcloud/dlc/v20210125/models.py +31 -1
- tencentcloud/dsgc/v20190723/models.py +50 -0
- tencentcloud/ecc/v20181213/ecc_client.py +1 -2
- tencentcloud/emr/v20190103/emr_client.py +24 -0
- tencentcloud/emr/v20190103/models.py +82 -0
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +144 -0
- tencentcloud/ess/v20201111/ess_client.py +4 -4
- tencentcloud/ess/v20201111/models.py +13 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +33 -15
- tencentcloud/facefusion/v20220927/errorcodes.py +15 -6
- tencentcloud/hunyuan/v20230901/errorcodes.py +21 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +52 -0
- tencentcloud/hunyuan/v20230901/models.py +362 -2
- tencentcloud/ims/v20201229/ims_client.py +2 -2
- tencentcloud/iotexplorer/v20190423/models.py +1 -1
- tencentcloud/iss/v20230517/models.py +28 -0
- tencentcloud/lke/v20231130/models.py +225 -3
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +82 -0
- tencentcloud/oceanus/v20190422/models.py +25 -0
- tencentcloud/ocr/v20181119/models.py +1 -2
- tencentcloud/ocr/v20181119/ocr_client.py +8 -2
- tencentcloud/organization/v20210331/errorcodes.py +6 -0
- tencentcloud/organization/v20210331/models.py +70 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/postgres/v20170312/errorcodes.py +15 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/scf/v20180416/models.py +48 -12
- tencentcloud/ses/v20201002/models.py +177 -0
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +21 -22
- tencentcloud/sms/v20190711/sms_client.py +28 -60
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +209 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/tcr/v20190924/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +130 -0
- tencentcloud/thpc/v20230321/models.py +1432 -82
- tencentcloud/thpc/v20230321/thpc_client.py +92 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tms/v20201229/errorcodes.py +0 -6
- tencentcloud/tms/v20201229/models.py +0 -70
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +3 -3
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +52 -0
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +34 -0
- tencentcloud/waf/v20180125/models.py +1 -1
- tencentcloud/wedata/v20210820/errorcodes.py +6 -0
- tencentcloud/wedata/v20210820/models.py +2905 -366
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/RECORD +98 -93
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/top_level.txt +0 -0
@@ -277,6 +277,69 @@ class AlertExtraInfo(AbstractModel):
|
|
277
277
|
:param _HitStrategy: 主机防护命中策略,是策略ID和策略名称的组合
|
278
278
|
注意:此字段可能返回 null,表示取不到有效值。
|
279
279
|
:type HitStrategy: str
|
280
|
+
:param _ProcessName: 进程名
|
281
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
282
|
+
:type ProcessName: str
|
283
|
+
:param _PID: PID
|
284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
285
|
+
:type PID: str
|
286
|
+
:param _PodName: 容器Pod名
|
287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
288
|
+
:type PodName: str
|
289
|
+
:param _PodID: 容器PodID
|
290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
291
|
+
:type PodID: str
|
292
|
+
:param _Response: Http响应
|
293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
294
|
+
:type Response: str
|
295
|
+
:param _SystemCall: 系统调用
|
296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
297
|
+
:type SystemCall: str
|
298
|
+
:param _Verb: 操作类型verb
|
299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
300
|
+
:type Verb: str
|
301
|
+
:param _LogID: 日志ID
|
302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
303
|
+
:type LogID: str
|
304
|
+
:param _Different: 变更内容
|
305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
306
|
+
:type Different: str
|
307
|
+
:param _EventType: 事件类型
|
308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
309
|
+
:type EventType: str
|
310
|
+
:param _Description: 事件描述
|
311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
312
|
+
:type Description: str
|
313
|
+
:param _TargetAddress: 目标地址(容器反弹shell)
|
314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
315
|
+
:type TargetAddress: str
|
316
|
+
:param _MaliciousRequestDomain: 恶意请求域名(容器恶意外联)
|
317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
318
|
+
:type MaliciousRequestDomain: str
|
319
|
+
:param _RuleType: 规则类型(容器K8sAPI异常请求)
|
320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
321
|
+
:type RuleType: str
|
322
|
+
:param _RequestURI: 请求资源(容器K8sAPI异常请求)
|
323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
324
|
+
:type RequestURI: str
|
325
|
+
:param _RequestUser: 发起请求用户(容器K8sAPI异常请求)
|
326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
327
|
+
:type RequestUser: str
|
328
|
+
:param _RequestObject: 请求对象(容器K8sAPI异常请求)
|
329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
330
|
+
:type RequestObject: str
|
331
|
+
:param _ResponseObject: 响应对象(容器K8sAPI异常请求)
|
332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
333
|
+
:type ResponseObject: str
|
334
|
+
:param _FileType: 文件类型(容器文件篡改)
|
335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
336
|
+
:type FileType: str
|
337
|
+
:param _TIType: 标签特征(容器恶意外联)
|
338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
339
|
+
:type TIType: str
|
340
|
+
:param _SourceIP: 来源IP(容器K8sAPI异常请求)
|
341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
342
|
+
:type SourceIP: str
|
280
343
|
"""
|
281
344
|
self._RelateEvent = None
|
282
345
|
self._LeakContent = None
|
@@ -347,6 +410,27 @@ class AlertExtraInfo(AbstractModel):
|
|
347
410
|
self._StrategyID = None
|
348
411
|
self._StrategyName = None
|
349
412
|
self._HitStrategy = None
|
413
|
+
self._ProcessName = None
|
414
|
+
self._PID = None
|
415
|
+
self._PodName = None
|
416
|
+
self._PodID = None
|
417
|
+
self._Response = None
|
418
|
+
self._SystemCall = None
|
419
|
+
self._Verb = None
|
420
|
+
self._LogID = None
|
421
|
+
self._Different = None
|
422
|
+
self._EventType = None
|
423
|
+
self._Description = None
|
424
|
+
self._TargetAddress = None
|
425
|
+
self._MaliciousRequestDomain = None
|
426
|
+
self._RuleType = None
|
427
|
+
self._RequestURI = None
|
428
|
+
self._RequestUser = None
|
429
|
+
self._RequestObject = None
|
430
|
+
self._ResponseObject = None
|
431
|
+
self._FileType = None
|
432
|
+
self._TIType = None
|
433
|
+
self._SourceIP = None
|
350
434
|
|
351
435
|
@property
|
352
436
|
def RelateEvent(self):
|
@@ -900,6 +984,174 @@ class AlertExtraInfo(AbstractModel):
|
|
900
984
|
def HitStrategy(self, HitStrategy):
|
901
985
|
self._HitStrategy = HitStrategy
|
902
986
|
|
987
|
+
@property
|
988
|
+
def ProcessName(self):
|
989
|
+
return self._ProcessName
|
990
|
+
|
991
|
+
@ProcessName.setter
|
992
|
+
def ProcessName(self, ProcessName):
|
993
|
+
self._ProcessName = ProcessName
|
994
|
+
|
995
|
+
@property
|
996
|
+
def PID(self):
|
997
|
+
return self._PID
|
998
|
+
|
999
|
+
@PID.setter
|
1000
|
+
def PID(self, PID):
|
1001
|
+
self._PID = PID
|
1002
|
+
|
1003
|
+
@property
|
1004
|
+
def PodName(self):
|
1005
|
+
return self._PodName
|
1006
|
+
|
1007
|
+
@PodName.setter
|
1008
|
+
def PodName(self, PodName):
|
1009
|
+
self._PodName = PodName
|
1010
|
+
|
1011
|
+
@property
|
1012
|
+
def PodID(self):
|
1013
|
+
return self._PodID
|
1014
|
+
|
1015
|
+
@PodID.setter
|
1016
|
+
def PodID(self, PodID):
|
1017
|
+
self._PodID = PodID
|
1018
|
+
|
1019
|
+
@property
|
1020
|
+
def Response(self):
|
1021
|
+
return self._Response
|
1022
|
+
|
1023
|
+
@Response.setter
|
1024
|
+
def Response(self, Response):
|
1025
|
+
self._Response = Response
|
1026
|
+
|
1027
|
+
@property
|
1028
|
+
def SystemCall(self):
|
1029
|
+
return self._SystemCall
|
1030
|
+
|
1031
|
+
@SystemCall.setter
|
1032
|
+
def SystemCall(self, SystemCall):
|
1033
|
+
self._SystemCall = SystemCall
|
1034
|
+
|
1035
|
+
@property
|
1036
|
+
def Verb(self):
|
1037
|
+
return self._Verb
|
1038
|
+
|
1039
|
+
@Verb.setter
|
1040
|
+
def Verb(self, Verb):
|
1041
|
+
self._Verb = Verb
|
1042
|
+
|
1043
|
+
@property
|
1044
|
+
def LogID(self):
|
1045
|
+
return self._LogID
|
1046
|
+
|
1047
|
+
@LogID.setter
|
1048
|
+
def LogID(self, LogID):
|
1049
|
+
self._LogID = LogID
|
1050
|
+
|
1051
|
+
@property
|
1052
|
+
def Different(self):
|
1053
|
+
return self._Different
|
1054
|
+
|
1055
|
+
@Different.setter
|
1056
|
+
def Different(self, Different):
|
1057
|
+
self._Different = Different
|
1058
|
+
|
1059
|
+
@property
|
1060
|
+
def EventType(self):
|
1061
|
+
return self._EventType
|
1062
|
+
|
1063
|
+
@EventType.setter
|
1064
|
+
def EventType(self, EventType):
|
1065
|
+
self._EventType = EventType
|
1066
|
+
|
1067
|
+
@property
|
1068
|
+
def Description(self):
|
1069
|
+
return self._Description
|
1070
|
+
|
1071
|
+
@Description.setter
|
1072
|
+
def Description(self, Description):
|
1073
|
+
self._Description = Description
|
1074
|
+
|
1075
|
+
@property
|
1076
|
+
def TargetAddress(self):
|
1077
|
+
return self._TargetAddress
|
1078
|
+
|
1079
|
+
@TargetAddress.setter
|
1080
|
+
def TargetAddress(self, TargetAddress):
|
1081
|
+
self._TargetAddress = TargetAddress
|
1082
|
+
|
1083
|
+
@property
|
1084
|
+
def MaliciousRequestDomain(self):
|
1085
|
+
return self._MaliciousRequestDomain
|
1086
|
+
|
1087
|
+
@MaliciousRequestDomain.setter
|
1088
|
+
def MaliciousRequestDomain(self, MaliciousRequestDomain):
|
1089
|
+
self._MaliciousRequestDomain = MaliciousRequestDomain
|
1090
|
+
|
1091
|
+
@property
|
1092
|
+
def RuleType(self):
|
1093
|
+
return self._RuleType
|
1094
|
+
|
1095
|
+
@RuleType.setter
|
1096
|
+
def RuleType(self, RuleType):
|
1097
|
+
self._RuleType = RuleType
|
1098
|
+
|
1099
|
+
@property
|
1100
|
+
def RequestURI(self):
|
1101
|
+
return self._RequestURI
|
1102
|
+
|
1103
|
+
@RequestURI.setter
|
1104
|
+
def RequestURI(self, RequestURI):
|
1105
|
+
self._RequestURI = RequestURI
|
1106
|
+
|
1107
|
+
@property
|
1108
|
+
def RequestUser(self):
|
1109
|
+
return self._RequestUser
|
1110
|
+
|
1111
|
+
@RequestUser.setter
|
1112
|
+
def RequestUser(self, RequestUser):
|
1113
|
+
self._RequestUser = RequestUser
|
1114
|
+
|
1115
|
+
@property
|
1116
|
+
def RequestObject(self):
|
1117
|
+
return self._RequestObject
|
1118
|
+
|
1119
|
+
@RequestObject.setter
|
1120
|
+
def RequestObject(self, RequestObject):
|
1121
|
+
self._RequestObject = RequestObject
|
1122
|
+
|
1123
|
+
@property
|
1124
|
+
def ResponseObject(self):
|
1125
|
+
return self._ResponseObject
|
1126
|
+
|
1127
|
+
@ResponseObject.setter
|
1128
|
+
def ResponseObject(self, ResponseObject):
|
1129
|
+
self._ResponseObject = ResponseObject
|
1130
|
+
|
1131
|
+
@property
|
1132
|
+
def FileType(self):
|
1133
|
+
return self._FileType
|
1134
|
+
|
1135
|
+
@FileType.setter
|
1136
|
+
def FileType(self, FileType):
|
1137
|
+
self._FileType = FileType
|
1138
|
+
|
1139
|
+
@property
|
1140
|
+
def TIType(self):
|
1141
|
+
return self._TIType
|
1142
|
+
|
1143
|
+
@TIType.setter
|
1144
|
+
def TIType(self, TIType):
|
1145
|
+
self._TIType = TIType
|
1146
|
+
|
1147
|
+
@property
|
1148
|
+
def SourceIP(self):
|
1149
|
+
return self._SourceIP
|
1150
|
+
|
1151
|
+
@SourceIP.setter
|
1152
|
+
def SourceIP(self, SourceIP):
|
1153
|
+
self._SourceIP = SourceIP
|
1154
|
+
|
903
1155
|
|
904
1156
|
def _deserialize(self, params):
|
905
1157
|
if params.get("RelateEvent") is not None:
|
@@ -978,6 +1230,27 @@ class AlertExtraInfo(AbstractModel):
|
|
978
1230
|
self._StrategyID = params.get("StrategyID")
|
979
1231
|
self._StrategyName = params.get("StrategyName")
|
980
1232
|
self._HitStrategy = params.get("HitStrategy")
|
1233
|
+
self._ProcessName = params.get("ProcessName")
|
1234
|
+
self._PID = params.get("PID")
|
1235
|
+
self._PodName = params.get("PodName")
|
1236
|
+
self._PodID = params.get("PodID")
|
1237
|
+
self._Response = params.get("Response")
|
1238
|
+
self._SystemCall = params.get("SystemCall")
|
1239
|
+
self._Verb = params.get("Verb")
|
1240
|
+
self._LogID = params.get("LogID")
|
1241
|
+
self._Different = params.get("Different")
|
1242
|
+
self._EventType = params.get("EventType")
|
1243
|
+
self._Description = params.get("Description")
|
1244
|
+
self._TargetAddress = params.get("TargetAddress")
|
1245
|
+
self._MaliciousRequestDomain = params.get("MaliciousRequestDomain")
|
1246
|
+
self._RuleType = params.get("RuleType")
|
1247
|
+
self._RequestURI = params.get("RequestURI")
|
1248
|
+
self._RequestUser = params.get("RequestUser")
|
1249
|
+
self._RequestObject = params.get("RequestObject")
|
1250
|
+
self._ResponseObject = params.get("ResponseObject")
|
1251
|
+
self._FileType = params.get("FileType")
|
1252
|
+
self._TIType = params.get("TIType")
|
1253
|
+
self._SourceIP = params.get("SourceIP")
|
981
1254
|
memeber_set = set(params.keys())
|
982
1255
|
for name, value in vars(self).items():
|
983
1256
|
property_name = name[1:]
|
@@ -1086,6 +1359,12 @@ CSIP:云安全中心
|
|
1086
1359
|
:param _RiskTreatment: 风险处置
|
1087
1360
|
注意:此字段可能返回 null,表示取不到有效值。
|
1088
1361
|
:type RiskTreatment: str
|
1362
|
+
:param _LogType: 日志类型
|
1363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1364
|
+
:type LogType: str
|
1365
|
+
:param _LogSearch: 语句检索
|
1366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1367
|
+
:type LogSearch: str
|
1089
1368
|
"""
|
1090
1369
|
self._ID = None
|
1091
1370
|
self._Name = None
|
@@ -1114,6 +1393,8 @@ CSIP:云安全中心
|
|
1114
1393
|
self._Action = None
|
1115
1394
|
self._RiskInvestigation = None
|
1116
1395
|
self._RiskTreatment = None
|
1396
|
+
self._LogType = None
|
1397
|
+
self._LogSearch = None
|
1117
1398
|
|
1118
1399
|
@property
|
1119
1400
|
def ID(self):
|
@@ -1331,6 +1612,22 @@ CSIP:云安全中心
|
|
1331
1612
|
def RiskTreatment(self, RiskTreatment):
|
1332
1613
|
self._RiskTreatment = RiskTreatment
|
1333
1614
|
|
1615
|
+
@property
|
1616
|
+
def LogType(self):
|
1617
|
+
return self._LogType
|
1618
|
+
|
1619
|
+
@LogType.setter
|
1620
|
+
def LogType(self, LogType):
|
1621
|
+
self._LogType = LogType
|
1622
|
+
|
1623
|
+
@property
|
1624
|
+
def LogSearch(self):
|
1625
|
+
return self._LogSearch
|
1626
|
+
|
1627
|
+
@LogSearch.setter
|
1628
|
+
def LogSearch(self, LogSearch):
|
1629
|
+
self._LogSearch = LogSearch
|
1630
|
+
|
1334
1631
|
|
1335
1632
|
def _deserialize(self, params):
|
1336
1633
|
self._ID = params.get("ID")
|
@@ -1366,6 +1663,8 @@ CSIP:云安全中心
|
|
1366
1663
|
self._Action = params.get("Action")
|
1367
1664
|
self._RiskInvestigation = params.get("RiskInvestigation")
|
1368
1665
|
self._RiskTreatment = params.get("RiskTreatment")
|
1666
|
+
self._LogType = params.get("LogType")
|
1667
|
+
self._LogSearch = params.get("LogSearch")
|
1369
1668
|
memeber_set = set(params.keys())
|
1370
1669
|
for name, value in vars(self).items():
|
1371
1670
|
property_name = name[1:]
|
@@ -4330,6 +4629,15 @@ class BugInfoDetail(AbstractModel):
|
|
4330
4629
|
class CVMAssetVO(AbstractModel):
|
4331
4630
|
"""主机资产信息
|
4332
4631
|
|
4632
|
+
主机防护状态枚举,左边是常量,右边是显示
|
4633
|
+
0:未安装
|
4634
|
+
1:基础版防护中
|
4635
|
+
2:普惠版防护中
|
4636
|
+
3:专业版防护中
|
4637
|
+
4:旗舰版防护中
|
4638
|
+
5:已离线
|
4639
|
+
6:已关机
|
4640
|
+
|
4333
4641
|
"""
|
4334
4642
|
|
4335
4643
|
def __init__(self):
|
@@ -4529,6 +4837,19 @@ class CVMAssetVO(AbstractModel):
|
|
4529
4837
|
:param _CloudType: 云资产类型:0:腾讯云,1:aws,2:azure
|
4530
4838
|
注意:此字段可能返回 null,表示取不到有效值。
|
4531
4839
|
:type CloudType: int
|
4840
|
+
:param _ProtectStatus: 主机防护状态枚举
|
4841
|
+
0:未安装
|
4842
|
+
1:基础版防护中
|
4843
|
+
2:普惠版防护中
|
4844
|
+
3:专业版防护中
|
4845
|
+
4:旗舰版防护中
|
4846
|
+
5:已离线
|
4847
|
+
6:已关机
|
4848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4849
|
+
:type ProtectStatus: int
|
4850
|
+
:param _OfflineTime: 最后离线时间
|
4851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4852
|
+
:type OfflineTime: str
|
4532
4853
|
"""
|
4533
4854
|
self._AssetId = None
|
4534
4855
|
self._AssetName = None
|
@@ -4595,6 +4916,8 @@ class CVMAssetVO(AbstractModel):
|
|
4595
4916
|
self._AgentCpuPer = None
|
4596
4917
|
self._RealAppid = None
|
4597
4918
|
self._CloudType = None
|
4919
|
+
self._ProtectStatus = None
|
4920
|
+
self._OfflineTime = None
|
4598
4921
|
|
4599
4922
|
@property
|
4600
4923
|
def AssetId(self):
|
@@ -5116,6 +5439,22 @@ class CVMAssetVO(AbstractModel):
|
|
5116
5439
|
def CloudType(self, CloudType):
|
5117
5440
|
self._CloudType = CloudType
|
5118
5441
|
|
5442
|
+
@property
|
5443
|
+
def ProtectStatus(self):
|
5444
|
+
return self._ProtectStatus
|
5445
|
+
|
5446
|
+
@ProtectStatus.setter
|
5447
|
+
def ProtectStatus(self, ProtectStatus):
|
5448
|
+
self._ProtectStatus = ProtectStatus
|
5449
|
+
|
5450
|
+
@property
|
5451
|
+
def OfflineTime(self):
|
5452
|
+
return self._OfflineTime
|
5453
|
+
|
5454
|
+
@OfflineTime.setter
|
5455
|
+
def OfflineTime(self, OfflineTime):
|
5456
|
+
self._OfflineTime = OfflineTime
|
5457
|
+
|
5119
5458
|
|
5120
5459
|
def _deserialize(self, params):
|
5121
5460
|
self._AssetId = params.get("AssetId")
|
@@ -5198,6 +5537,8 @@ class CVMAssetVO(AbstractModel):
|
|
5198
5537
|
self._AgentCpuPer = params.get("AgentCpuPer")
|
5199
5538
|
self._RealAppid = params.get("RealAppid")
|
5200
5539
|
self._CloudType = params.get("CloudType")
|
5540
|
+
self._ProtectStatus = params.get("ProtectStatus")
|
5541
|
+
self._OfflineTime = params.get("OfflineTime")
|
5201
5542
|
memeber_set = set(params.keys())
|
5202
5543
|
for name, value in vars(self).items():
|
5203
5544
|
property_name = name[1:]
|
@@ -7304,6 +7645,9 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7304
7645
|
:param _PublicPrivateAttr: 公网内网枚举
|
7305
7646
|
注意:此字段可能返回 null,表示取不到有效值。
|
7306
7647
|
:type PublicPrivateAttr: list of FilterDataObject
|
7648
|
+
:param _ProtectStatusList: 主机防护状态
|
7649
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7650
|
+
:type ProtectStatusList: list of FilterDataObject
|
7307
7651
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7308
7652
|
:type RequestId: str
|
7309
7653
|
"""
|
@@ -7320,6 +7664,7 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7320
7664
|
self._OsList = None
|
7321
7665
|
self._AssetMapInstanceTypeList = None
|
7322
7666
|
self._PublicPrivateAttr = None
|
7667
|
+
self._ProtectStatusList = None
|
7323
7668
|
self._RequestId = None
|
7324
7669
|
|
7325
7670
|
@property
|
@@ -7426,6 +7771,14 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7426
7771
|
def PublicPrivateAttr(self, PublicPrivateAttr):
|
7427
7772
|
self._PublicPrivateAttr = PublicPrivateAttr
|
7428
7773
|
|
7774
|
+
@property
|
7775
|
+
def ProtectStatusList(self):
|
7776
|
+
return self._ProtectStatusList
|
7777
|
+
|
7778
|
+
@ProtectStatusList.setter
|
7779
|
+
def ProtectStatusList(self, ProtectStatusList):
|
7780
|
+
self._ProtectStatusList = ProtectStatusList
|
7781
|
+
|
7429
7782
|
@property
|
7430
7783
|
def RequestId(self):
|
7431
7784
|
return self._RequestId
|
@@ -7509,6 +7862,12 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7509
7862
|
obj = FilterDataObject()
|
7510
7863
|
obj._deserialize(item)
|
7511
7864
|
self._PublicPrivateAttr.append(obj)
|
7865
|
+
if params.get("ProtectStatusList") is not None:
|
7866
|
+
self._ProtectStatusList = []
|
7867
|
+
for item in params.get("ProtectStatusList"):
|
7868
|
+
obj = FilterDataObject()
|
7869
|
+
obj._deserialize(item)
|
7870
|
+
self._ProtectStatusList.append(obj)
|
7512
7871
|
self._RequestId = params.get("RequestId")
|
7513
7872
|
|
7514
7873
|
|
@@ -15392,6 +15751,12 @@ class RoleInfo(AbstractModel):
|
|
15392
15751
|
:param _FromLogAnalysisData: 来源日志分析的信息字段
|
15393
15752
|
注意:此字段可能返回 null,表示取不到有效值。
|
15394
15753
|
:type FromLogAnalysisData: list of KeyValue
|
15754
|
+
:param _ContainerName: 容器名
|
15755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15756
|
+
:type ContainerName: str
|
15757
|
+
:param _ContainerID: 容器ID
|
15758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15759
|
+
:type ContainerID: str
|
15395
15760
|
"""
|
15396
15761
|
self._IP = None
|
15397
15762
|
self._HostIP = None
|
@@ -15414,6 +15779,8 @@ class RoleInfo(AbstractModel):
|
|
15414
15779
|
self._FileName = None
|
15415
15780
|
self._AssetType = None
|
15416
15781
|
self._FromLogAnalysisData = None
|
15782
|
+
self._ContainerName = None
|
15783
|
+
self._ContainerID = None
|
15417
15784
|
|
15418
15785
|
@property
|
15419
15786
|
def IP(self):
|
@@ -15583,6 +15950,22 @@ class RoleInfo(AbstractModel):
|
|
15583
15950
|
def FromLogAnalysisData(self, FromLogAnalysisData):
|
15584
15951
|
self._FromLogAnalysisData = FromLogAnalysisData
|
15585
15952
|
|
15953
|
+
@property
|
15954
|
+
def ContainerName(self):
|
15955
|
+
return self._ContainerName
|
15956
|
+
|
15957
|
+
@ContainerName.setter
|
15958
|
+
def ContainerName(self, ContainerName):
|
15959
|
+
self._ContainerName = ContainerName
|
15960
|
+
|
15961
|
+
@property
|
15962
|
+
def ContainerID(self):
|
15963
|
+
return self._ContainerID
|
15964
|
+
|
15965
|
+
@ContainerID.setter
|
15966
|
+
def ContainerID(self, ContainerID):
|
15967
|
+
self._ContainerID = ContainerID
|
15968
|
+
|
15586
15969
|
|
15587
15970
|
def _deserialize(self, params):
|
15588
15971
|
self._IP = params.get("IP")
|
@@ -15611,6 +15994,8 @@ class RoleInfo(AbstractModel):
|
|
15611
15994
|
obj = KeyValue()
|
15612
15995
|
obj._deserialize(item)
|
15613
15996
|
self._FromLogAnalysisData.append(obj)
|
15997
|
+
self._ContainerName = params.get("ContainerName")
|
15998
|
+
self._ContainerID = params.get("ContainerID")
|
15614
15999
|
memeber_set = set(params.keys())
|
15615
16000
|
for name, value in vars(self).items():
|
15616
16001
|
property_name = name[1:]
|
@@ -1212,7 +1212,7 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
1212
1212
|
r"""
|
1213
1213
|
:param _Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
|
1214
1214
|
:type Name: str
|
1215
|
-
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST
|
1215
|
+
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
|
1216
1216
|
:type Type: str
|
1217
1217
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
|
1218
1218
|
:type ClientToken: str
|
@@ -1269,7 +1269,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
1269
1269
|
r"""
|
1270
1270
|
:param _DisasterRecoverGroupId: 分散置放群组ID列表。
|
1271
1271
|
:type DisasterRecoverGroupId: str
|
1272
|
-
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST
|
1272
|
+
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
|
1273
1273
|
:type Type: str
|
1274
1274
|
:param _Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
|
1275
1275
|
:type Name: str
|
@@ -6745,7 +6745,10 @@ class DisasterRecoverGroup(AbstractModel):
|
|
6745
6745
|
:type DisasterRecoverGroupId: str
|
6746
6746
|
:param _Name: 分散置放群组名称,长度1-60个字符。
|
6747
6747
|
:type Name: str
|
6748
|
-
:param _Type: 分散置放群组类型,取值范围:<br
|
6748
|
+
:param _Type: 分散置放群组类型,取值范围:<br>
|
6749
|
+
<li>HOST:物理机<br></li>
|
6750
|
+
<li>SW:交换机<br></li>
|
6751
|
+
<li>RACK:机架</li>
|
6749
6752
|
:type Type: str
|
6750
6753
|
:param _CvmQuotaTotal: 分散置放群组内最大容纳云服务器数量。
|
6751
6754
|
:type CvmQuotaTotal: int
|
@@ -18170,7 +18173,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
18170
18173
|
:type VpcId: str
|
18171
18174
|
:param _SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](/document/api/215/15784) ,从接口返回中的`unSubnetId`字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
18172
18175
|
:type SubnetId: str
|
18173
|
-
:param _AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<
|
18176
|
+
:param _AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<li>true:表示用作公网网关</li><li>false:表示不作为公网网关</li>默认取值:false。
|
18174
18177
|
:type AsVpcGateway: bool
|
18175
18178
|
:param _PrivateIpAddresses: 私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。当前仅批量创建多台实例时支持传入相同子网的多个 IP。
|
18176
18179
|
:type PrivateIpAddresses: list of str
|
@@ -18297,7 +18300,6 @@ class ZoneInfo(AbstractModel):
|
|
18297
18300
|
<li> na-siliconvalley-2 </li>
|
18298
18301
|
<li> eu-frankfurt-1 </li>
|
18299
18302
|
<li> eu-frankfurt-2 </li>
|
18300
|
-
<li> na-toronto-1 </li>
|
18301
18303
|
<li> na-ashburn-1 </li>
|
18302
18304
|
<li> na-ashburn-2 </li>
|
18303
18305
|
<li> ap-nanjing-1 </li>
|
@@ -34466,18 +34466,7 @@ class DescribeHostLoginListRequest(AbstractModel):
|
|
34466
34466
|
:type Limit: int
|
34467
34467
|
:param _Offset: 偏移量,默认为0。
|
34468
34468
|
:type Offset: int
|
34469
|
-
:param _Filters:
|
34470
|
-
<li>Quuid - String - 是否必填:否 - 云服务器uuid</li>
|
34471
|
-
<li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li>
|
34472
|
-
<li>MachineName - String - 是否必填:否 - 主机别名</li>
|
34473
|
-
<li>Ip - String - 是否必填:否 - 主机ip</li>
|
34474
|
-
<li>InstanceID - String - 是否必填:否 - 主机实例ID</li>
|
34475
|
-
<li>SrcIp - String - 是否必填:否 - 来源ip筛选</li>
|
34476
|
-
<li>UserName - String - 是否必填:否 - 用户名筛选</li>
|
34477
|
-
<li>Status - int - 是否必填:否 - 状态筛选1:正常登录;5:已加白,14:已处理,15:已忽略</li>
|
34478
|
-
<li>LoginTimeBegin - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li>
|
34479
|
-
<li>LoginTimeEnd - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li>
|
34480
|
-
<li>RiskLevel - int - 是否必填:否 - 状态筛选0:高危;1:可疑</li>
|
34469
|
+
:param _Filters: 过滤条件。<li>Quuid - String - 是否必填:否 - 云服务器uuid</li><li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li><li>MachineName - String - 是否必填:否 - 主机别名</li><li>Ip - String - 是否必填:否 - 主机ip</li><li>InstanceID - String - 是否必填:否 - 主机实例ID</li><li>SrcIp - String - 是否必填:否 - 来源ip筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>Status - string - 是否必填:否 - 状态筛选1:正常登录;5:已加白,14:已处理,15:已忽略</li><li>LoginTimeBegin - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>LoginTimeEnd - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li><li>RiskLevel - string - 是否必填:否 - 状态筛选0:高危;1:可疑</li>
|
34481
34470
|
:type Filters: list of Filter
|
34482
34471
|
:param _Order: 排序方式:根据请求次数排序:asc-升序/desc-降序
|
34483
34472
|
:type Order: str
|
@@ -1452,6 +1452,29 @@ class CynosdbClient(AbstractClient):
|
|
1452
1452
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1453
1453
|
|
1454
1454
|
|
1455
|
+
def DescribeIsolatedInstances(self, request):
|
1456
|
+
"""本接口(DescribeIsolatedInstances)用于查询回收站实例列表。
|
1457
|
+
|
1458
|
+
:param request: Request instance for DescribeIsolatedInstances.
|
1459
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeIsolatedInstancesRequest`
|
1460
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeIsolatedInstancesResponse`
|
1461
|
+
|
1462
|
+
"""
|
1463
|
+
try:
|
1464
|
+
params = request._serialize()
|
1465
|
+
headers = request.headers
|
1466
|
+
body = self.call("DescribeIsolatedInstances", params, headers=headers)
|
1467
|
+
response = json.loads(body)
|
1468
|
+
model = models.DescribeIsolatedInstancesResponse()
|
1469
|
+
model._deserialize(response["Response"])
|
1470
|
+
return model
|
1471
|
+
except Exception as e:
|
1472
|
+
if isinstance(e, TencentCloudSDKException):
|
1473
|
+
raise
|
1474
|
+
else:
|
1475
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1476
|
+
|
1477
|
+
|
1455
1478
|
def DescribeMaintainPeriod(self, request):
|
1456
1479
|
"""查询实例维护时间窗
|
1457
1480
|
|
@@ -1753,6 +1776,29 @@ class CynosdbClient(AbstractClient):
|
|
1753
1776
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1754
1777
|
|
1755
1778
|
|
1779
|
+
def DescribeServerlessStrategy(self, request):
|
1780
|
+
"""查询serverless策略
|
1781
|
+
|
1782
|
+
:param request: Request instance for DescribeServerlessStrategy.
|
1783
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeServerlessStrategyRequest`
|
1784
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeServerlessStrategyResponse`
|
1785
|
+
|
1786
|
+
"""
|
1787
|
+
try:
|
1788
|
+
params = request._serialize()
|
1789
|
+
headers = request.headers
|
1790
|
+
body = self.call("DescribeServerlessStrategy", params, headers=headers)
|
1791
|
+
response = json.loads(body)
|
1792
|
+
model = models.DescribeServerlessStrategyResponse()
|
1793
|
+
model._deserialize(response["Response"])
|
1794
|
+
return model
|
1795
|
+
except Exception as e:
|
1796
|
+
if isinstance(e, TencentCloudSDKException):
|
1797
|
+
raise
|
1798
|
+
else:
|
1799
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1800
|
+
|
1801
|
+
|
1756
1802
|
def DescribeSupportProxyVersion(self, request):
|
1757
1803
|
"""查询支持的数据库代理版本
|
1758
1804
|
|
@@ -2650,6 +2696,29 @@ class CynosdbClient(AbstractClient):
|
|
2650
2696
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2651
2697
|
|
2652
2698
|
|
2699
|
+
def ModifyServerlessStrategy(self, request):
|
2700
|
+
"""修改serverless策略
|
2701
|
+
|
2702
|
+
:param request: Request instance for ModifyServerlessStrategy.
|
2703
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyServerlessStrategyRequest`
|
2704
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyServerlessStrategyResponse`
|
2705
|
+
|
2706
|
+
"""
|
2707
|
+
try:
|
2708
|
+
params = request._serialize()
|
2709
|
+
headers = request.headers
|
2710
|
+
body = self.call("ModifyServerlessStrategy", params, headers=headers)
|
2711
|
+
response = json.loads(body)
|
2712
|
+
model = models.ModifyServerlessStrategyResponse()
|
2713
|
+
model._deserialize(response["Response"])
|
2714
|
+
return model
|
2715
|
+
except Exception as e:
|
2716
|
+
if isinstance(e, TencentCloudSDKException):
|
2717
|
+
raise
|
2718
|
+
else:
|
2719
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2720
|
+
|
2721
|
+
|
2653
2722
|
def ModifyVipVport(self, request):
|
2654
2723
|
"""修改实例组ip,端口
|
2655
2724
|
|
@@ -83,6 +83,9 @@ FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = 'FailedOperation.QuerySpecBySpecCodeE
|
|
83
83
|
# 资源包退款失败
|
84
84
|
FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = 'FailedOperation.RefundSourcePackageError'
|
85
85
|
|
86
|
+
# 修改策略失败。
|
87
|
+
FAILEDOPERATION_SERVERLESSSETSTRATEGYERROR = 'FailedOperation.ServerlessSetStrategyError'
|
88
|
+
|
86
89
|
# 创建并支付订单失败,请稍后重试。如果持续不成功,请联系客服进行处理。
|
87
90
|
FAILEDOPERATION_TRADECREATEORDERERROR = 'FailedOperation.TradeCreateOrderError'
|
88
91
|
|