tencentcloud-sdk-python 3.1.78__py2.py3-none-any.whl → 3.1.80__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/ags/v20250920/models.py +55 -0
- tencentcloud/aiart/v20221229/models.py +8 -8
- tencentcloud/cdwdoris/v20211228/models.py +134 -8
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
- tencentcloud/cfw/v20190904/models.py +910 -18
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cls/v20201016/cls_client_async.py +1 -1
- tencentcloud/cls/v20201016/models.py +4 -4
- tencentcloud/config/v20220802/models.py +21 -6
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/dts/v20211206/dts_client.py +46 -0
- tencentcloud/dts/v20211206/dts_client_async.py +36 -0
- tencentcloud/dts/v20211206/models.py +763 -219
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +522 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -2
- tencentcloud/ess/v20201111/ess_client_async.py +2 -2
- tencentcloud/ess/v20201111/models.py +198 -624
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +166 -472
- tencentcloud/faceid/v20180301/models.py +9 -23
- tencentcloud/goosefs/v20220519/models.py +6 -6
- tencentcloud/iss/v20230517/models.py +141 -66
- tencentcloud/live/v20180801/errorcodes.py +3 -0
- tencentcloud/live/v20180801/live_client.py +69 -0
- tencentcloud/live/v20180801/live_client_async.py +54 -0
- tencentcloud/live/v20180801/models.py +153 -0
- tencentcloud/mongodb/v20190725/models.py +56 -120
- tencentcloud/mps/v20190612/models.py +311 -784
- tencentcloud/mps/v20190612/mps_client.py +47 -1
- tencentcloud/mps/v20190612/mps_client_async.py +37 -1
- tencentcloud/mrs/v20200910/models.py +123 -30
- tencentcloud/nlp/v20190408/nlp_client.py +9 -3
- tencentcloud/nlp/v20190408/nlp_client_async.py +6 -0
- tencentcloud/oceanus/v20190422/models.py +177 -130
- tencentcloud/sms/v20190711/errorcodes.py +1 -1
- tencentcloud/sms/v20210111/errorcodes.py +1 -1
- tencentcloud/tcb/v20180608/models.py +117 -82
- tencentcloud/tcbr/v20220217/models.py +203 -0
- tencentcloud/tcbr/v20220217/tcbr_client.py +46 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +36 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +98 -50
- tencentcloud/tdmysql/v20211122/models.py +412 -0
- tencentcloud/tdmysql/v20211122/tdmysql_client.py +23 -0
- tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +18 -0
- tencentcloud/teo/v20220901/models.py +1 -53
- tencentcloud/trtc/v20190722/errorcodes.py +6 -0
- tencentcloud/trtc/v20190722/models.py +538 -0
- tencentcloud/trtc/v20190722/trtc_client.py +46 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +36 -0
- tencentcloud/vclm/v20240523/models.py +6386 -1561
- tencentcloud/vclm/v20240523/vclm_client.py +414 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +324 -0
- tencentcloud/vod/v20180717/models.py +30 -0
- tencentcloud/vpc/v20170312/models.py +109 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- {tencentcloud_sdk_python-3.1.78.dist-info → tencentcloud_sdk_python-3.1.80.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.78.dist-info → tencentcloud_sdk_python-3.1.80.dist-info}/RECORD +67 -67
- {tencentcloud_sdk_python-3.1.78.dist-info → tencentcloud_sdk_python-3.1.80.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.78.dist-info → tencentcloud_sdk_python-3.1.80.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.78.dist-info → tencentcloud_sdk_python-3.1.80.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -2216,8 +2216,11 @@ class LogConfiguration(AbstractModel):
|
|
|
2216
2216
|
r"""
|
|
2217
2217
|
:param _CLSConfig: <p>日志推送CLS的配置。</p>
|
|
2218
2218
|
:type CLSConfig: :class:`tencentcloud.ags.v20250920.models.CLSConfig`
|
|
2219
|
+
:param _LogSources: <p>日志源配置</p>
|
|
2220
|
+
:type LogSources: :class:`tencentcloud.ags.v20250920.models.LogSources`
|
|
2219
2221
|
"""
|
|
2220
2222
|
self._CLSConfig = None
|
|
2223
|
+
self._LogSources = None
|
|
2221
2224
|
|
|
2222
2225
|
@property
|
|
2223
2226
|
def CLSConfig(self):
|
|
@@ -2230,11 +2233,63 @@ class LogConfiguration(AbstractModel):
|
|
|
2230
2233
|
def CLSConfig(self, CLSConfig):
|
|
2231
2234
|
self._CLSConfig = CLSConfig
|
|
2232
2235
|
|
|
2236
|
+
@property
|
|
2237
|
+
def LogSources(self):
|
|
2238
|
+
r"""<p>日志源配置</p>
|
|
2239
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.LogSources`
|
|
2240
|
+
"""
|
|
2241
|
+
return self._LogSources
|
|
2242
|
+
|
|
2243
|
+
@LogSources.setter
|
|
2244
|
+
def LogSources(self, LogSources):
|
|
2245
|
+
self._LogSources = LogSources
|
|
2246
|
+
|
|
2233
2247
|
|
|
2234
2248
|
def _deserialize(self, params):
|
|
2235
2249
|
if params.get("CLSConfig") is not None:
|
|
2236
2250
|
self._CLSConfig = CLSConfig()
|
|
2237
2251
|
self._CLSConfig._deserialize(params.get("CLSConfig"))
|
|
2252
|
+
if params.get("LogSources") is not None:
|
|
2253
|
+
self._LogSources = LogSources()
|
|
2254
|
+
self._LogSources._deserialize(params.get("LogSources"))
|
|
2255
|
+
memeber_set = set(params.keys())
|
|
2256
|
+
for name, value in vars(self).items():
|
|
2257
|
+
property_name = name[1:]
|
|
2258
|
+
if property_name in memeber_set:
|
|
2259
|
+
memeber_set.remove(property_name)
|
|
2260
|
+
if len(memeber_set) > 0:
|
|
2261
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
class LogSources(AbstractModel):
|
|
2266
|
+
r"""日志源配置
|
|
2267
|
+
|
|
2268
|
+
"""
|
|
2269
|
+
|
|
2270
|
+
def __init__(self):
|
|
2271
|
+
r"""
|
|
2272
|
+
:param _Files: <p>需要采集的日志文件路径,必须是 /logs/ 目录下的文件,不支持子目录,最大支持 10 个文件。</p>
|
|
2273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2274
|
+
:type Files: list of str
|
|
2275
|
+
"""
|
|
2276
|
+
self._Files = None
|
|
2277
|
+
|
|
2278
|
+
@property
|
|
2279
|
+
def Files(self):
|
|
2280
|
+
r"""<p>需要采集的日志文件路径,必须是 /logs/ 目录下的文件,不支持子目录,最大支持 10 个文件。</p>
|
|
2281
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2282
|
+
:rtype: list of str
|
|
2283
|
+
"""
|
|
2284
|
+
return self._Files
|
|
2285
|
+
|
|
2286
|
+
@Files.setter
|
|
2287
|
+
def Files(self, Files):
|
|
2288
|
+
self._Files = Files
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
def _deserialize(self, params):
|
|
2292
|
+
self._Files = params.get("Files")
|
|
2238
2293
|
memeber_set = set(params.keys())
|
|
2239
2294
|
for name, value in vars(self).items():
|
|
2240
2295
|
property_name = name[1:]
|
|
@@ -1399,16 +1399,16 @@ class LogoRect(AbstractModel):
|
|
|
1399
1399
|
|
|
1400
1400
|
def __init__(self):
|
|
1401
1401
|
r"""
|
|
1402
|
-
:param _X:
|
|
1402
|
+
:param _X: <p>左上角X坐标</p>
|
|
1403
1403
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1404
1404
|
:type X: int
|
|
1405
|
-
:param _Y:
|
|
1405
|
+
:param _Y: <p>左上角Y坐标</p>
|
|
1406
1406
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1407
1407
|
:type Y: int
|
|
1408
|
-
:param _Width:
|
|
1408
|
+
:param _Width: <p>方框宽度<br>单位为 px</p>
|
|
1409
1409
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1410
1410
|
:type Width: int
|
|
1411
|
-
:param _Height:
|
|
1411
|
+
:param _Height: <p>方框高度<br>单位为 px</p>
|
|
1412
1412
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1413
1413
|
:type Height: int
|
|
1414
1414
|
"""
|
|
@@ -1419,7 +1419,7 @@ class LogoRect(AbstractModel):
|
|
|
1419
1419
|
|
|
1420
1420
|
@property
|
|
1421
1421
|
def X(self):
|
|
1422
|
-
r"""
|
|
1422
|
+
r"""<p>左上角X坐标</p>
|
|
1423
1423
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1424
1424
|
:rtype: int
|
|
1425
1425
|
"""
|
|
@@ -1431,7 +1431,7 @@ class LogoRect(AbstractModel):
|
|
|
1431
1431
|
|
|
1432
1432
|
@property
|
|
1433
1433
|
def Y(self):
|
|
1434
|
-
r"""
|
|
1434
|
+
r"""<p>左上角Y坐标</p>
|
|
1435
1435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1436
1436
|
:rtype: int
|
|
1437
1437
|
"""
|
|
@@ -1443,7 +1443,7 @@ class LogoRect(AbstractModel):
|
|
|
1443
1443
|
|
|
1444
1444
|
@property
|
|
1445
1445
|
def Width(self):
|
|
1446
|
-
r"""
|
|
1446
|
+
r"""<p>方框宽度<br>单位为 px</p>
|
|
1447
1447
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1448
1448
|
:rtype: int
|
|
1449
1449
|
"""
|
|
@@ -1455,7 +1455,7 @@ class LogoRect(AbstractModel):
|
|
|
1455
1455
|
|
|
1456
1456
|
@property
|
|
1457
1457
|
def Height(self):
|
|
1458
|
-
r"""
|
|
1458
|
+
r"""<p>方框高度<br>单位为 px</p>
|
|
1459
1459
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1460
1460
|
:rtype: int
|
|
1461
1461
|
"""
|
|
@@ -305,6 +305,8 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
305
305
|
:type Encryption: str
|
|
306
306
|
:param _EncryptionEnabled: 是否开通加密存储:0-未开通,1-已开通
|
|
307
307
|
:type EncryptionEnabled: bool
|
|
308
|
+
:param _ScheduleId: 任务调度id
|
|
309
|
+
:type ScheduleId: int
|
|
308
310
|
"""
|
|
309
311
|
self._JobId = None
|
|
310
312
|
self._Snapshot = None
|
|
@@ -335,6 +337,7 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
335
337
|
self._BucketEncryption = None
|
|
336
338
|
self._Encryption = None
|
|
337
339
|
self._EncryptionEnabled = None
|
|
340
|
+
self._ScheduleId = None
|
|
338
341
|
|
|
339
342
|
@property
|
|
340
343
|
def JobId(self):
|
|
@@ -655,6 +658,17 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
655
658
|
def EncryptionEnabled(self, EncryptionEnabled):
|
|
656
659
|
self._EncryptionEnabled = EncryptionEnabled
|
|
657
660
|
|
|
661
|
+
@property
|
|
662
|
+
def ScheduleId(self):
|
|
663
|
+
r"""任务调度id
|
|
664
|
+
:rtype: int
|
|
665
|
+
"""
|
|
666
|
+
return self._ScheduleId
|
|
667
|
+
|
|
668
|
+
@ScheduleId.setter
|
|
669
|
+
def ScheduleId(self, ScheduleId):
|
|
670
|
+
self._ScheduleId = ScheduleId
|
|
671
|
+
|
|
658
672
|
|
|
659
673
|
def _deserialize(self, params):
|
|
660
674
|
self._JobId = params.get("JobId")
|
|
@@ -694,6 +708,7 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
694
708
|
self._BucketEncryption._deserialize(params.get("BucketEncryption"))
|
|
695
709
|
self._Encryption = params.get("Encryption")
|
|
696
710
|
self._EncryptionEnabled = params.get("EncryptionEnabled")
|
|
711
|
+
self._ScheduleId = params.get("ScheduleId")
|
|
697
712
|
memeber_set = set(params.keys())
|
|
698
713
|
for name, value in vars(self).items():
|
|
699
714
|
property_name = name[1:]
|
|
@@ -4007,12 +4022,15 @@ class DescribeAreaRegionResponse(AbstractModel):
|
|
|
4007
4022
|
:type FrontEndRules: list of FrontEndRule
|
|
4008
4023
|
:param _AvailableWhiteListNames: 返回可用的白名单名称
|
|
4009
4024
|
:type AvailableWhiteListNames: list of str
|
|
4025
|
+
:param _IsolationDays: 隔离天数
|
|
4026
|
+
:type IsolationDays: int
|
|
4010
4027
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4011
4028
|
:type RequestId: str
|
|
4012
4029
|
"""
|
|
4013
4030
|
self._Items = None
|
|
4014
4031
|
self._FrontEndRules = None
|
|
4015
4032
|
self._AvailableWhiteListNames = None
|
|
4033
|
+
self._IsolationDays = None
|
|
4016
4034
|
self._RequestId = None
|
|
4017
4035
|
|
|
4018
4036
|
@property
|
|
@@ -4048,6 +4066,17 @@ class DescribeAreaRegionResponse(AbstractModel):
|
|
|
4048
4066
|
def AvailableWhiteListNames(self, AvailableWhiteListNames):
|
|
4049
4067
|
self._AvailableWhiteListNames = AvailableWhiteListNames
|
|
4050
4068
|
|
|
4069
|
+
@property
|
|
4070
|
+
def IsolationDays(self):
|
|
4071
|
+
r"""隔离天数
|
|
4072
|
+
:rtype: int
|
|
4073
|
+
"""
|
|
4074
|
+
return self._IsolationDays
|
|
4075
|
+
|
|
4076
|
+
@IsolationDays.setter
|
|
4077
|
+
def IsolationDays(self, IsolationDays):
|
|
4078
|
+
self._IsolationDays = IsolationDays
|
|
4079
|
+
|
|
4051
4080
|
@property
|
|
4052
4081
|
def RequestId(self):
|
|
4053
4082
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4074,6 +4103,7 @@ class DescribeAreaRegionResponse(AbstractModel):
|
|
|
4074
4103
|
obj._deserialize(item)
|
|
4075
4104
|
self._FrontEndRules.append(obj)
|
|
4076
4105
|
self._AvailableWhiteListNames = params.get("AvailableWhiteListNames")
|
|
4106
|
+
self._IsolationDays = params.get("IsolationDays")
|
|
4077
4107
|
self._RequestId = params.get("RequestId")
|
|
4078
4108
|
|
|
4079
4109
|
|
|
@@ -4475,9 +4505,12 @@ class DescribeBackUpSchedulesRequest(AbstractModel):
|
|
|
4475
4505
|
:type ApplicationType: int
|
|
4476
4506
|
:param _EncryptionFilters: 0-未加密;1-已加密
|
|
4477
4507
|
:type EncryptionFilters: list of int
|
|
4508
|
+
:param _ScheduleId: 调度任务id过滤
|
|
4509
|
+
:type ScheduleId: int
|
|
4478
4510
|
"""
|
|
4479
4511
|
self._ApplicationType = None
|
|
4480
4512
|
self._EncryptionFilters = None
|
|
4513
|
+
self._ScheduleId = None
|
|
4481
4514
|
|
|
4482
4515
|
@property
|
|
4483
4516
|
def ApplicationType(self):
|
|
@@ -4504,10 +4537,22 @@ class DescribeBackUpSchedulesRequest(AbstractModel):
|
|
|
4504
4537
|
def EncryptionFilters(self, EncryptionFilters):
|
|
4505
4538
|
self._EncryptionFilters = EncryptionFilters
|
|
4506
4539
|
|
|
4540
|
+
@property
|
|
4541
|
+
def ScheduleId(self):
|
|
4542
|
+
r"""调度任务id过滤
|
|
4543
|
+
:rtype: int
|
|
4544
|
+
"""
|
|
4545
|
+
return self._ScheduleId
|
|
4546
|
+
|
|
4547
|
+
@ScheduleId.setter
|
|
4548
|
+
def ScheduleId(self, ScheduleId):
|
|
4549
|
+
self._ScheduleId = ScheduleId
|
|
4550
|
+
|
|
4507
4551
|
|
|
4508
4552
|
def _deserialize(self, params):
|
|
4509
4553
|
self._ApplicationType = params.get("ApplicationType")
|
|
4510
4554
|
self._EncryptionFilters = params.get("EncryptionFilters")
|
|
4555
|
+
self._ScheduleId = params.get("ScheduleId")
|
|
4511
4556
|
memeber_set = set(params.keys())
|
|
4512
4557
|
for name, value in vars(self).items():
|
|
4513
4558
|
property_name = name[1:]
|
|
@@ -5189,6 +5234,8 @@ class DescribeClusterConfigsResponse(AbstractModel):
|
|
|
5189
5234
|
:type HasCN: bool
|
|
5190
5235
|
:param _ExistingJarConfList: 实例已经存在的jar包列表
|
|
5191
5236
|
:type ExistingJarConfList: list of ClusterConfigsInfoFromEMR
|
|
5237
|
+
:param _IPDBFileSizeLimit: ipdb的文件大小 byte
|
|
5238
|
+
:type IPDBFileSizeLimit: str
|
|
5192
5239
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5193
5240
|
:type RequestId: str
|
|
5194
5241
|
"""
|
|
@@ -5197,6 +5244,7 @@ class DescribeClusterConfigsResponse(AbstractModel):
|
|
|
5197
5244
|
self._ErrorMsg = None
|
|
5198
5245
|
self._HasCN = None
|
|
5199
5246
|
self._ExistingJarConfList = None
|
|
5247
|
+
self._IPDBFileSizeLimit = None
|
|
5200
5248
|
self._RequestId = None
|
|
5201
5249
|
|
|
5202
5250
|
@property
|
|
@@ -5254,6 +5302,17 @@ class DescribeClusterConfigsResponse(AbstractModel):
|
|
|
5254
5302
|
def ExistingJarConfList(self, ExistingJarConfList):
|
|
5255
5303
|
self._ExistingJarConfList = ExistingJarConfList
|
|
5256
5304
|
|
|
5305
|
+
@property
|
|
5306
|
+
def IPDBFileSizeLimit(self):
|
|
5307
|
+
r"""ipdb的文件大小 byte
|
|
5308
|
+
:rtype: str
|
|
5309
|
+
"""
|
|
5310
|
+
return self._IPDBFileSizeLimit
|
|
5311
|
+
|
|
5312
|
+
@IPDBFileSizeLimit.setter
|
|
5313
|
+
def IPDBFileSizeLimit(self, IPDBFileSizeLimit):
|
|
5314
|
+
self._IPDBFileSizeLimit = IPDBFileSizeLimit
|
|
5315
|
+
|
|
5257
5316
|
@property
|
|
5258
5317
|
def RequestId(self):
|
|
5259
5318
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5282,6 +5341,7 @@ class DescribeClusterConfigsResponse(AbstractModel):
|
|
|
5282
5341
|
obj = ClusterConfigsInfoFromEMR()
|
|
5283
5342
|
obj._deserialize(item)
|
|
5284
5343
|
self._ExistingJarConfList.append(obj)
|
|
5344
|
+
self._IPDBFileSizeLimit = params.get("IPDBFileSizeLimit")
|
|
5285
5345
|
self._RequestId = params.get("RequestId")
|
|
5286
5346
|
|
|
5287
5347
|
|
|
@@ -9017,14 +9077,14 @@ class DescribeWorkloadGroupRequest(AbstractModel):
|
|
|
9017
9077
|
|
|
9018
9078
|
def __init__(self):
|
|
9019
9079
|
r"""
|
|
9020
|
-
:param _InstanceId:
|
|
9080
|
+
:param _InstanceId: <p>集群id</p>
|
|
9021
9081
|
:type InstanceId: str
|
|
9022
9082
|
"""
|
|
9023
9083
|
self._InstanceId = None
|
|
9024
9084
|
|
|
9025
9085
|
@property
|
|
9026
9086
|
def InstanceId(self):
|
|
9027
|
-
r"""
|
|
9087
|
+
r"""<p>集群id</p>
|
|
9028
9088
|
:rtype: str
|
|
9029
9089
|
"""
|
|
9030
9090
|
return self._InstanceId
|
|
@@ -9053,23 +9113,26 @@ class DescribeWorkloadGroupResponse(AbstractModel):
|
|
|
9053
9113
|
|
|
9054
9114
|
def __init__(self):
|
|
9055
9115
|
r"""
|
|
9056
|
-
:param _WorkloadGroups:
|
|
9116
|
+
:param _WorkloadGroups: <p>资源组信息</p>
|
|
9057
9117
|
:type WorkloadGroups: list of WorkloadGroupConfig
|
|
9058
|
-
:param _Status:
|
|
9118
|
+
:param _Status: <p>是否开启资源组:开启-open、关闭-close</p>
|
|
9059
9119
|
:type Status: str
|
|
9060
|
-
:param _ErrorMsg:
|
|
9120
|
+
:param _ErrorMsg: <p>错误信息</p>
|
|
9061
9121
|
:type ErrorMsg: str
|
|
9122
|
+
:param _MonitorStatus: <p>是否开启监控,0:未开启,1:开启</p>
|
|
9123
|
+
:type MonitorStatus: int
|
|
9062
9124
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9063
9125
|
:type RequestId: str
|
|
9064
9126
|
"""
|
|
9065
9127
|
self._WorkloadGroups = None
|
|
9066
9128
|
self._Status = None
|
|
9067
9129
|
self._ErrorMsg = None
|
|
9130
|
+
self._MonitorStatus = None
|
|
9068
9131
|
self._RequestId = None
|
|
9069
9132
|
|
|
9070
9133
|
@property
|
|
9071
9134
|
def WorkloadGroups(self):
|
|
9072
|
-
r"""
|
|
9135
|
+
r"""<p>资源组信息</p>
|
|
9073
9136
|
:rtype: list of WorkloadGroupConfig
|
|
9074
9137
|
"""
|
|
9075
9138
|
return self._WorkloadGroups
|
|
@@ -9080,7 +9143,7 @@ class DescribeWorkloadGroupResponse(AbstractModel):
|
|
|
9080
9143
|
|
|
9081
9144
|
@property
|
|
9082
9145
|
def Status(self):
|
|
9083
|
-
r"""
|
|
9146
|
+
r"""<p>是否开启资源组:开启-open、关闭-close</p>
|
|
9084
9147
|
:rtype: str
|
|
9085
9148
|
"""
|
|
9086
9149
|
return self._Status
|
|
@@ -9091,7 +9154,7 @@ class DescribeWorkloadGroupResponse(AbstractModel):
|
|
|
9091
9154
|
|
|
9092
9155
|
@property
|
|
9093
9156
|
def ErrorMsg(self):
|
|
9094
|
-
r"""
|
|
9157
|
+
r"""<p>错误信息</p>
|
|
9095
9158
|
:rtype: str
|
|
9096
9159
|
"""
|
|
9097
9160
|
return self._ErrorMsg
|
|
@@ -9100,6 +9163,17 @@ class DescribeWorkloadGroupResponse(AbstractModel):
|
|
|
9100
9163
|
def ErrorMsg(self, ErrorMsg):
|
|
9101
9164
|
self._ErrorMsg = ErrorMsg
|
|
9102
9165
|
|
|
9166
|
+
@property
|
|
9167
|
+
def MonitorStatus(self):
|
|
9168
|
+
r"""<p>是否开启监控,0:未开启,1:开启</p>
|
|
9169
|
+
:rtype: int
|
|
9170
|
+
"""
|
|
9171
|
+
return self._MonitorStatus
|
|
9172
|
+
|
|
9173
|
+
@MonitorStatus.setter
|
|
9174
|
+
def MonitorStatus(self, MonitorStatus):
|
|
9175
|
+
self._MonitorStatus = MonitorStatus
|
|
9176
|
+
|
|
9103
9177
|
@property
|
|
9104
9178
|
def RequestId(self):
|
|
9105
9179
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9121,6 +9195,7 @@ class DescribeWorkloadGroupResponse(AbstractModel):
|
|
|
9121
9195
|
self._WorkloadGroups.append(obj)
|
|
9122
9196
|
self._Status = params.get("Status")
|
|
9123
9197
|
self._ErrorMsg = params.get("ErrorMsg")
|
|
9198
|
+
self._MonitorStatus = params.get("MonitorStatus")
|
|
9124
9199
|
self._RequestId = params.get("RequestId")
|
|
9125
9200
|
|
|
9126
9201
|
|
|
@@ -9701,6 +9776,10 @@ Changing 变更中
|
|
|
9701
9776
|
:type SlaveInstances: list of str
|
|
9702
9777
|
:param _SyncerIp: ccr服务部署节点ip
|
|
9703
9778
|
:type SyncerIp: str
|
|
9779
|
+
:param _EnableSqlConv: 是否支持sql convertor
|
|
9780
|
+
:type EnableSqlConv: int
|
|
9781
|
+
:param _TimeZone: 集群时区,默认+08:00
|
|
9782
|
+
:type TimeZone: str
|
|
9704
9783
|
"""
|
|
9705
9784
|
self._InstanceId = None
|
|
9706
9785
|
self._InstanceName = None
|
|
@@ -9763,6 +9842,8 @@ Changing 变更中
|
|
|
9763
9842
|
self._MasterInstance = None
|
|
9764
9843
|
self._SlaveInstances = None
|
|
9765
9844
|
self._SyncerIp = None
|
|
9845
|
+
self._EnableSqlConv = None
|
|
9846
|
+
self._TimeZone = None
|
|
9766
9847
|
|
|
9767
9848
|
@property
|
|
9768
9849
|
def InstanceId(self):
|
|
@@ -10448,6 +10529,28 @@ Changing 变更中
|
|
|
10448
10529
|
def SyncerIp(self, SyncerIp):
|
|
10449
10530
|
self._SyncerIp = SyncerIp
|
|
10450
10531
|
|
|
10532
|
+
@property
|
|
10533
|
+
def EnableSqlConv(self):
|
|
10534
|
+
r"""是否支持sql convertor
|
|
10535
|
+
:rtype: int
|
|
10536
|
+
"""
|
|
10537
|
+
return self._EnableSqlConv
|
|
10538
|
+
|
|
10539
|
+
@EnableSqlConv.setter
|
|
10540
|
+
def EnableSqlConv(self, EnableSqlConv):
|
|
10541
|
+
self._EnableSqlConv = EnableSqlConv
|
|
10542
|
+
|
|
10543
|
+
@property
|
|
10544
|
+
def TimeZone(self):
|
|
10545
|
+
r"""集群时区,默认+08:00
|
|
10546
|
+
:rtype: str
|
|
10547
|
+
"""
|
|
10548
|
+
return self._TimeZone
|
|
10549
|
+
|
|
10550
|
+
@TimeZone.setter
|
|
10551
|
+
def TimeZone(self, TimeZone):
|
|
10552
|
+
self._TimeZone = TimeZone
|
|
10553
|
+
|
|
10451
10554
|
|
|
10452
10555
|
def _deserialize(self, params):
|
|
10453
10556
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -10524,6 +10627,8 @@ Changing 变更中
|
|
|
10524
10627
|
self._MasterInstance = params.get("MasterInstance")
|
|
10525
10628
|
self._SlaveInstances = params.get("SlaveInstances")
|
|
10526
10629
|
self._SyncerIp = params.get("SyncerIp")
|
|
10630
|
+
self._EnableSqlConv = params.get("EnableSqlConv")
|
|
10631
|
+
self._TimeZone = params.get("TimeZone")
|
|
10527
10632
|
memeber_set = set(params.keys())
|
|
10528
10633
|
for name, value in vars(self).items():
|
|
10529
10634
|
property_name = name[1:]
|
|
@@ -15880,10 +15985,16 @@ class SnapshotRemainPolicy(AbstractModel):
|
|
|
15880
15985
|
:type RemainDays: int
|
|
15881
15986
|
:param _RemainLatestNum: 保留最新快照的数量
|
|
15882
15987
|
:type RemainLatestNum: int
|
|
15988
|
+
:param _RemainDaysUnit: 天数单位
|
|
15989
|
+
0:天
|
|
15990
|
+
1:季度
|
|
15991
|
+
2:年
|
|
15992
|
+
:type RemainDaysUnit: int
|
|
15883
15993
|
"""
|
|
15884
15994
|
self._Type = None
|
|
15885
15995
|
self._RemainDays = None
|
|
15886
15996
|
self._RemainLatestNum = None
|
|
15997
|
+
self._RemainDaysUnit = None
|
|
15887
15998
|
|
|
15888
15999
|
@property
|
|
15889
16000
|
def Type(self):
|
|
@@ -15918,11 +16029,26 @@ class SnapshotRemainPolicy(AbstractModel):
|
|
|
15918
16029
|
def RemainLatestNum(self, RemainLatestNum):
|
|
15919
16030
|
self._RemainLatestNum = RemainLatestNum
|
|
15920
16031
|
|
|
16032
|
+
@property
|
|
16033
|
+
def RemainDaysUnit(self):
|
|
16034
|
+
r"""天数单位
|
|
16035
|
+
0:天
|
|
16036
|
+
1:季度
|
|
16037
|
+
2:年
|
|
16038
|
+
:rtype: int
|
|
16039
|
+
"""
|
|
16040
|
+
return self._RemainDaysUnit
|
|
16041
|
+
|
|
16042
|
+
@RemainDaysUnit.setter
|
|
16043
|
+
def RemainDaysUnit(self, RemainDaysUnit):
|
|
16044
|
+
self._RemainDaysUnit = RemainDaysUnit
|
|
16045
|
+
|
|
15921
16046
|
|
|
15922
16047
|
def _deserialize(self, params):
|
|
15923
16048
|
self._Type = params.get("Type")
|
|
15924
16049
|
self._RemainDays = params.get("RemainDays")
|
|
15925
16050
|
self._RemainLatestNum = params.get("RemainLatestNum")
|
|
16051
|
+
self._RemainDaysUnit = params.get("RemainDaysUnit")
|
|
15926
16052
|
memeber_set = set(params.keys())
|
|
15927
16053
|
for name, value in vars(self).items():
|
|
15928
16054
|
property_name = name[1:]
|
|
@@ -1293,6 +1293,29 @@ class CfwClient(AbstractClient):
|
|
|
1293
1293
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1294
1294
|
|
|
1295
1295
|
|
|
1296
|
+
def DescribeNDRAssetIdentificationList(self, request):
|
|
1297
|
+
r"""DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
|
|
1298
|
+
|
|
1299
|
+
:param request: Request instance for DescribeNDRAssetIdentificationList.
|
|
1300
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationListRequest`
|
|
1301
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationListResponse`
|
|
1302
|
+
|
|
1303
|
+
"""
|
|
1304
|
+
try:
|
|
1305
|
+
params = request._serialize()
|
|
1306
|
+
headers = request.headers
|
|
1307
|
+
body = self.call("DescribeNDRAssetIdentificationList", params, headers=headers)
|
|
1308
|
+
response = json.loads(body)
|
|
1309
|
+
model = models.DescribeNDRAssetIdentificationListResponse()
|
|
1310
|
+
model._deserialize(response["Response"])
|
|
1311
|
+
return model
|
|
1312
|
+
except Exception as e:
|
|
1313
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1314
|
+
raise
|
|
1315
|
+
else:
|
|
1316
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1317
|
+
|
|
1318
|
+
|
|
1296
1319
|
def DescribeNatAcRule(self, request):
|
|
1297
1320
|
r"""查询NAT访问控制列表
|
|
1298
1321
|
|
|
@@ -1017,6 +1017,24 @@ class CfwClient(AbstractClient):
|
|
|
1017
1017
|
|
|
1018
1018
|
return await self.call_and_deserialize(**kwargs)
|
|
1019
1019
|
|
|
1020
|
+
async def DescribeNDRAssetIdentificationList(
|
|
1021
|
+
self,
|
|
1022
|
+
request: models.DescribeNDRAssetIdentificationListRequest,
|
|
1023
|
+
opts: Dict = None,
|
|
1024
|
+
) -> models.DescribeNDRAssetIdentificationListResponse:
|
|
1025
|
+
"""
|
|
1026
|
+
DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
|
|
1027
|
+
"""
|
|
1028
|
+
|
|
1029
|
+
kwargs = {}
|
|
1030
|
+
kwargs["action"] = "DescribeNDRAssetIdentificationList"
|
|
1031
|
+
kwargs["params"] = request._serialize()
|
|
1032
|
+
kwargs["resp_cls"] = models.DescribeNDRAssetIdentificationListResponse
|
|
1033
|
+
kwargs["headers"] = request.headers
|
|
1034
|
+
kwargs["opts"] = opts or {}
|
|
1035
|
+
|
|
1036
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1037
|
+
|
|
1020
1038
|
async def DescribeNatAcRule(
|
|
1021
1039
|
self,
|
|
1022
1040
|
request: models.DescribeNatAcRuleRequest,
|