tencentcloud-sdk-python 3.0.972__py2.py3-none-any.whl → 3.0.973__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/cdwch/v20200915/cdwch_client.py +1 -1
- tencentcloud/cfs/v20190719/models.py +36 -0
- tencentcloud/csip/v20221121/csip_client.py +92 -0
- tencentcloud/csip/v20221121/models.py +2712 -904
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- tencentcloud/dbbrain/v20210527/models.py +165 -1
- tencentcloud/dts/v20211206/models.py +145 -2
- tencentcloud/ecm/v20190719/models.py +13 -1
- tencentcloud/ess/v20201111/ess_client.py +10 -7
- tencentcloud/ess/v20201111/models.py +48 -30
- tencentcloud/live/v20180801/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +125 -0
- tencentcloud/tiia/v20190529/models.py +2 -1
- tencentcloud/tiia/v20190529/tiia_client.py +9 -4
- tencentcloud/tione/v20211111/models.py +454 -34
- tencentcloud/tione/v20211111/tione_client.py +5 -3
- tencentcloud/tiw/v20190919/tiw_client.py +12 -4
- tencentcloud/tse/v20201207/models.py +223 -0
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +71 -11
- tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -464,7 +464,7 @@ class CdwchClient(AbstractClient):
|
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
def ModifyUserNewPrivilege(self, request):
|
|
467
|
-
"""
|
|
467
|
+
"""针对集群账号的权限做管控(新版)
|
|
468
468
|
|
|
469
469
|
:param request: Request instance for ModifyUserNewPrivilege.
|
|
470
470
|
:type request: :class:`tencentcloud.cdwch.v20200915.models.ModifyUserNewPrivilegeRequest`
|
|
@@ -2688,8 +2688,14 @@ class DescribeCfsFileSystemClientsRequest(AbstractModel):
|
|
|
2688
2688
|
r"""
|
|
2689
2689
|
:param _FileSystemId: 文件系统 ID。
|
|
2690
2690
|
:type FileSystemId: str
|
|
2691
|
+
:param _Offset: Offset 分页码
|
|
2692
|
+
:type Offset: int
|
|
2693
|
+
:param _Limit: Limit 页面大小
|
|
2694
|
+
:type Limit: int
|
|
2691
2695
|
"""
|
|
2692
2696
|
self._FileSystemId = None
|
|
2697
|
+
self._Offset = None
|
|
2698
|
+
self._Limit = None
|
|
2693
2699
|
|
|
2694
2700
|
@property
|
|
2695
2701
|
def FileSystemId(self):
|
|
@@ -2699,9 +2705,27 @@ class DescribeCfsFileSystemClientsRequest(AbstractModel):
|
|
|
2699
2705
|
def FileSystemId(self, FileSystemId):
|
|
2700
2706
|
self._FileSystemId = FileSystemId
|
|
2701
2707
|
|
|
2708
|
+
@property
|
|
2709
|
+
def Offset(self):
|
|
2710
|
+
return self._Offset
|
|
2711
|
+
|
|
2712
|
+
@Offset.setter
|
|
2713
|
+
def Offset(self, Offset):
|
|
2714
|
+
self._Offset = Offset
|
|
2715
|
+
|
|
2716
|
+
@property
|
|
2717
|
+
def Limit(self):
|
|
2718
|
+
return self._Limit
|
|
2719
|
+
|
|
2720
|
+
@Limit.setter
|
|
2721
|
+
def Limit(self, Limit):
|
|
2722
|
+
self._Limit = Limit
|
|
2723
|
+
|
|
2702
2724
|
|
|
2703
2725
|
def _deserialize(self, params):
|
|
2704
2726
|
self._FileSystemId = params.get("FileSystemId")
|
|
2727
|
+
self._Offset = params.get("Offset")
|
|
2728
|
+
self._Limit = params.get("Limit")
|
|
2705
2729
|
memeber_set = set(params.keys())
|
|
2706
2730
|
for name, value in vars(self).items():
|
|
2707
2731
|
property_name = name[1:]
|
|
@@ -2721,10 +2745,13 @@ class DescribeCfsFileSystemClientsResponse(AbstractModel):
|
|
|
2721
2745
|
r"""
|
|
2722
2746
|
:param _ClientList: 客户端列表
|
|
2723
2747
|
:type ClientList: list of FileSystemClient
|
|
2748
|
+
:param _TotalCount: 文件系统总数
|
|
2749
|
+
:type TotalCount: int
|
|
2724
2750
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2725
2751
|
:type RequestId: str
|
|
2726
2752
|
"""
|
|
2727
2753
|
self._ClientList = None
|
|
2754
|
+
self._TotalCount = None
|
|
2728
2755
|
self._RequestId = None
|
|
2729
2756
|
|
|
2730
2757
|
@property
|
|
@@ -2735,6 +2762,14 @@ class DescribeCfsFileSystemClientsResponse(AbstractModel):
|
|
|
2735
2762
|
def ClientList(self, ClientList):
|
|
2736
2763
|
self._ClientList = ClientList
|
|
2737
2764
|
|
|
2765
|
+
@property
|
|
2766
|
+
def TotalCount(self):
|
|
2767
|
+
return self._TotalCount
|
|
2768
|
+
|
|
2769
|
+
@TotalCount.setter
|
|
2770
|
+
def TotalCount(self, TotalCount):
|
|
2771
|
+
self._TotalCount = TotalCount
|
|
2772
|
+
|
|
2738
2773
|
@property
|
|
2739
2774
|
def RequestId(self):
|
|
2740
2775
|
return self._RequestId
|
|
@@ -2751,6 +2786,7 @@ class DescribeCfsFileSystemClientsResponse(AbstractModel):
|
|
|
2751
2786
|
obj = FileSystemClient()
|
|
2752
2787
|
obj._deserialize(item)
|
|
2753
2788
|
self._ClientList.append(obj)
|
|
2789
|
+
self._TotalCount = params.get("TotalCount")
|
|
2754
2790
|
self._RequestId = params.get("RequestId")
|
|
2755
2791
|
|
|
2756
2792
|
|
|
@@ -348,6 +348,52 @@ class CsipClient(AbstractClient):
|
|
|
348
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
349
|
|
|
350
350
|
|
|
351
|
+
def DescribeScanTaskList(self, request):
|
|
352
|
+
"""获取扫描任务列表
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for DescribeScanTaskList.
|
|
355
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeScanTaskListRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeScanTaskListResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("DescribeScanTaskList", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.DescribeScanTaskListResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
def DescribeSearchBugInfo(self, request):
|
|
375
|
+
"""立体防护中心查询漏洞信息
|
|
376
|
+
|
|
377
|
+
:param request: Request instance for DescribeSearchBugInfo.
|
|
378
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeSearchBugInfoRequest`
|
|
379
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeSearchBugInfoResponse`
|
|
380
|
+
|
|
381
|
+
"""
|
|
382
|
+
try:
|
|
383
|
+
params = request._serialize()
|
|
384
|
+
headers = request.headers
|
|
385
|
+
body = self.call("DescribeSearchBugInfo", params, headers=headers)
|
|
386
|
+
response = json.loads(body)
|
|
387
|
+
model = models.DescribeSearchBugInfoResponse()
|
|
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
|
+
|
|
351
397
|
def DescribeSubnetAssets(self, request):
|
|
352
398
|
"""获取子网列表
|
|
353
399
|
|
|
@@ -371,6 +417,52 @@ class CsipClient(AbstractClient):
|
|
|
371
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
418
|
|
|
373
419
|
|
|
420
|
+
def DescribeTaskLogList(self, request):
|
|
421
|
+
"""获取任务扫描报告列表
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for DescribeTaskLogList.
|
|
424
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogListRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogListResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("DescribeTaskLogList", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.DescribeTaskLogListResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
def DescribeTaskLogURL(self, request):
|
|
444
|
+
"""获取报告下载的临时链接
|
|
445
|
+
|
|
446
|
+
:param request: Request instance for DescribeTaskLogURL.
|
|
447
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogURLRequest`
|
|
448
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogURLResponse`
|
|
449
|
+
|
|
450
|
+
"""
|
|
451
|
+
try:
|
|
452
|
+
params = request._serialize()
|
|
453
|
+
headers = request.headers
|
|
454
|
+
body = self.call("DescribeTaskLogURL", params, headers=headers)
|
|
455
|
+
response = json.loads(body)
|
|
456
|
+
model = models.DescribeTaskLogURLResponse()
|
|
457
|
+
model._deserialize(response["Response"])
|
|
458
|
+
return model
|
|
459
|
+
except Exception as e:
|
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
|
461
|
+
raise
|
|
462
|
+
else:
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
|
+
|
|
465
|
+
|
|
374
466
|
def DescribeVpcAssets(self, request):
|
|
375
467
|
"""获取vpc列表
|
|
376
468
|
|