tencentcloud-sdk-python 3.0.1437__py2.py3-none-any.whl → 3.0.1439__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.

Files changed (42) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +15 -0
  3. tencentcloud/cdn/v20180606/models.py +8 -0
  4. tencentcloud/cfw/v20190904/cfw_client.py +0 -75
  5. tencentcloud/cfw/v20190904/models.py +107 -702
  6. tencentcloud/ciam/v20220331/errorcodes.py +1 -1
  7. tencentcloud/cls/v20201016/models.py +38 -24
  8. tencentcloud/cwp/v20180228/cwp_client.py +2 -2
  9. tencentcloud/cwp/v20180228/models.py +8 -8
  10. tencentcloud/dlc/v20210125/models.py +120 -15
  11. tencentcloud/es/v20180416/errorcodes.py +3 -0
  12. tencentcloud/es/v20180416/models.py +225 -0
  13. tencentcloud/ess/v20201111/ess_client.py +0 -3
  14. tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
  15. tencentcloud/essbasic/v20210526/models.py +4 -0
  16. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  17. tencentcloud/iotexplorer/v20190423/models.py +204 -4
  18. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  19. tencentcloud/mna/v20210119/errorcodes.py +1 -1
  20. tencentcloud/ocr/v20181119/models.py +2 -2
  21. tencentcloud/sqlserver/v20180328/models.py +6 -6
  22. tencentcloud/sqlserver/v20180328/sqlserver_client.py +2 -2
  23. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  24. tencentcloud/ssl/v20191205/models.py +60 -0
  25. tencentcloud/sts/v20180813/sts_client.py +16 -4
  26. tencentcloud/tdmq/v20200217/models.py +102 -0
  27. tencentcloud/teo/v20220901/models.py +14 -94
  28. tencentcloud/teo/v20220901/teo_client.py +8 -2
  29. tencentcloud/thpc/v20230321/errorcodes.py +24 -0
  30. tencentcloud/thpc/v20230321/models.py +1398 -132
  31. tencentcloud/thpc/v20230321/thpc_client.py +138 -0
  32. tencentcloud/trocket/v20230308/models.py +70 -0
  33. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  34. tencentcloud/tsf/v20180326/models.py +1211 -0
  35. tencentcloud/tsf/v20180326/tsf_client.py +69 -0
  36. tencentcloud/vod/v20180717/models.py +12 -4
  37. tencentcloud/wedata/v20210820/models.py +285 -19
  38. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/METADATA +1 -1
  39. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/RECORD +42 -42
  40. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/LICENSE +0 -0
  41. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/WHEEL +0 -0
  42. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/top_level.txt +0 -0
@@ -3514,201 +3514,6 @@ class CreateDatabaseWhiteListRulesResponse(AbstractModel):
3514
3514
  self._RequestId = params.get("RequestId")
3515
3515
 
3516
3516
 
3517
- class CreateIdsWhiteRuleRequest(AbstractModel):
3518
- """CreateIdsWhiteRule请求参数结构体
3519
-
3520
- """
3521
-
3522
- def __init__(self):
3523
- r"""
3524
- :param _IdsRuleId: 入侵防御规则ID
3525
- :type IdsRuleId: str
3526
- :param _WhiteRuleType: 白名单类型:
3527
- src 针对源放通
3528
- dst 针对目的放通
3529
- srcdst 针对源和目的放通
3530
- :type WhiteRuleType: str
3531
- :param _FwType: 白名单生效防火墙范围:
3532
- 1 边界防火墙
3533
- 2 nat防火墙
3534
- 4 vpc防火墙
3535
- 7 = 1+2+4 所有防火墙
3536
- :type FwType: int
3537
- :param _SrcIp: 源IP
3538
- :type SrcIp: str
3539
- :param _DstIp: 目的IP
3540
- :type DstIp: str
3541
- """
3542
- self._IdsRuleId = None
3543
- self._WhiteRuleType = None
3544
- self._FwType = None
3545
- self._SrcIp = None
3546
- self._DstIp = None
3547
-
3548
- @property
3549
- def IdsRuleId(self):
3550
- """入侵防御规则ID
3551
- :rtype: str
3552
- """
3553
- return self._IdsRuleId
3554
-
3555
- @IdsRuleId.setter
3556
- def IdsRuleId(self, IdsRuleId):
3557
- self._IdsRuleId = IdsRuleId
3558
-
3559
- @property
3560
- def WhiteRuleType(self):
3561
- """白名单类型:
3562
- src 针对源放通
3563
- dst 针对目的放通
3564
- srcdst 针对源和目的放通
3565
- :rtype: str
3566
- """
3567
- return self._WhiteRuleType
3568
-
3569
- @WhiteRuleType.setter
3570
- def WhiteRuleType(self, WhiteRuleType):
3571
- self._WhiteRuleType = WhiteRuleType
3572
-
3573
- @property
3574
- def FwType(self):
3575
- """白名单生效防火墙范围:
3576
- 1 边界防火墙
3577
- 2 nat防火墙
3578
- 4 vpc防火墙
3579
- 7 = 1+2+4 所有防火墙
3580
- :rtype: int
3581
- """
3582
- return self._FwType
3583
-
3584
- @FwType.setter
3585
- def FwType(self, FwType):
3586
- self._FwType = FwType
3587
-
3588
- @property
3589
- def SrcIp(self):
3590
- """源IP
3591
- :rtype: str
3592
- """
3593
- return self._SrcIp
3594
-
3595
- @SrcIp.setter
3596
- def SrcIp(self, SrcIp):
3597
- self._SrcIp = SrcIp
3598
-
3599
- @property
3600
- def DstIp(self):
3601
- """目的IP
3602
- :rtype: str
3603
- """
3604
- return self._DstIp
3605
-
3606
- @DstIp.setter
3607
- def DstIp(self, DstIp):
3608
- self._DstIp = DstIp
3609
-
3610
-
3611
- def _deserialize(self, params):
3612
- self._IdsRuleId = params.get("IdsRuleId")
3613
- self._WhiteRuleType = params.get("WhiteRuleType")
3614
- self._FwType = params.get("FwType")
3615
- self._SrcIp = params.get("SrcIp")
3616
- self._DstIp = params.get("DstIp")
3617
- memeber_set = set(params.keys())
3618
- for name, value in vars(self).items():
3619
- property_name = name[1:]
3620
- if property_name in memeber_set:
3621
- memeber_set.remove(property_name)
3622
- if len(memeber_set) > 0:
3623
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3624
-
3625
-
3626
-
3627
- class CreateIdsWhiteRuleResponse(AbstractModel):
3628
- """CreateIdsWhiteRule返回参数结构体
3629
-
3630
- """
3631
-
3632
- def __init__(self):
3633
- r"""
3634
- :param _ReturnCode: 返回状态码:
3635
- 0 成功
3636
- 非0 失败
3637
- :type ReturnCode: int
3638
- :param _ReturnMsg: 返回信息:
3639
- success 成功
3640
- 其他
3641
- :type ReturnMsg: str
3642
- :param _Status: 返回状态码:
3643
- 0 处置成功
3644
- -1 通用错误,不用处理
3645
- :type Status: int
3646
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3647
- :type RequestId: str
3648
- """
3649
- self._ReturnCode = None
3650
- self._ReturnMsg = None
3651
- self._Status = None
3652
- self._RequestId = None
3653
-
3654
- @property
3655
- def ReturnCode(self):
3656
- """返回状态码:
3657
- 0 成功
3658
- 非0 失败
3659
- :rtype: int
3660
- """
3661
- return self._ReturnCode
3662
-
3663
- @ReturnCode.setter
3664
- def ReturnCode(self, ReturnCode):
3665
- self._ReturnCode = ReturnCode
3666
-
3667
- @property
3668
- def ReturnMsg(self):
3669
- """返回信息:
3670
- success 成功
3671
- 其他
3672
- :rtype: str
3673
- """
3674
- return self._ReturnMsg
3675
-
3676
- @ReturnMsg.setter
3677
- def ReturnMsg(self, ReturnMsg):
3678
- self._ReturnMsg = ReturnMsg
3679
-
3680
- @property
3681
- def Status(self):
3682
- """返回状态码:
3683
- 0 处置成功
3684
- -1 通用错误,不用处理
3685
- :rtype: int
3686
- """
3687
- return self._Status
3688
-
3689
- @Status.setter
3690
- def Status(self, Status):
3691
- self._Status = Status
3692
-
3693
- @property
3694
- def RequestId(self):
3695
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3696
- :rtype: str
3697
- """
3698
- return self._RequestId
3699
-
3700
- @RequestId.setter
3701
- def RequestId(self, RequestId):
3702
- self._RequestId = RequestId
3703
-
3704
-
3705
- def _deserialize(self, params):
3706
- self._ReturnCode = params.get("ReturnCode")
3707
- self._ReturnMsg = params.get("ReturnMsg")
3708
- self._Status = params.get("Status")
3709
- self._RequestId = params.get("RequestId")
3710
-
3711
-
3712
3517
  class CreateNatFwInstanceRequest(AbstractModel):
3713
3518
  """CreateNatFwInstance请求参数结构体
3714
3519
 
@@ -5833,129 +5638,6 @@ class DeleteBlockIgnoreRuleNewResponse(AbstractModel):
5833
5638
  self._RequestId = params.get("RequestId")
5834
5639
 
5835
5640
 
5836
- class DeleteIdsWhiteRuleRequest(AbstractModel):
5837
- """DeleteIdsWhiteRule请求参数结构体
5838
-
5839
- """
5840
-
5841
- def __init__(self):
5842
- r"""
5843
- :param _Id: 入侵防御白名单id
5844
- 参考DescribeIdsWhiteRule接口返回的Id字段
5845
- :type Id: int
5846
- """
5847
- self._Id = None
5848
-
5849
- @property
5850
- def Id(self):
5851
- """入侵防御白名单id
5852
- 参考DescribeIdsWhiteRule接口返回的Id字段
5853
- :rtype: int
5854
- """
5855
- return self._Id
5856
-
5857
- @Id.setter
5858
- def Id(self, Id):
5859
- self._Id = Id
5860
-
5861
-
5862
- def _deserialize(self, params):
5863
- self._Id = params.get("Id")
5864
- memeber_set = set(params.keys())
5865
- for name, value in vars(self).items():
5866
- property_name = name[1:]
5867
- if property_name in memeber_set:
5868
- memeber_set.remove(property_name)
5869
- if len(memeber_set) > 0:
5870
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5871
-
5872
-
5873
-
5874
- class DeleteIdsWhiteRuleResponse(AbstractModel):
5875
- """DeleteIdsWhiteRule返回参数结构体
5876
-
5877
- """
5878
-
5879
- def __init__(self):
5880
- r"""
5881
- :param _ReturnCode: 返回状态码:
5882
- 0 成功
5883
- 非0 失败
5884
- :type ReturnCode: int
5885
- :param _ReturnMsg: 返回信息:
5886
- success 成功
5887
- 其他
5888
- :type ReturnMsg: str
5889
- :param _Status: 返回状态码:
5890
- 0 处置成功
5891
- -1 通用错误,不用处理
5892
- :type Status: int
5893
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5894
- :type RequestId: str
5895
- """
5896
- self._ReturnCode = None
5897
- self._ReturnMsg = None
5898
- self._Status = None
5899
- self._RequestId = None
5900
-
5901
- @property
5902
- def ReturnCode(self):
5903
- """返回状态码:
5904
- 0 成功
5905
- 非0 失败
5906
- :rtype: int
5907
- """
5908
- return self._ReturnCode
5909
-
5910
- @ReturnCode.setter
5911
- def ReturnCode(self, ReturnCode):
5912
- self._ReturnCode = ReturnCode
5913
-
5914
- @property
5915
- def ReturnMsg(self):
5916
- """返回信息:
5917
- success 成功
5918
- 其他
5919
- :rtype: str
5920
- """
5921
- return self._ReturnMsg
5922
-
5923
- @ReturnMsg.setter
5924
- def ReturnMsg(self, ReturnMsg):
5925
- self._ReturnMsg = ReturnMsg
5926
-
5927
- @property
5928
- def Status(self):
5929
- """返回状态码:
5930
- 0 处置成功
5931
- -1 通用错误,不用处理
5932
- :rtype: int
5933
- """
5934
- return self._Status
5935
-
5936
- @Status.setter
5937
- def Status(self, Status):
5938
- self._Status = Status
5939
-
5940
- @property
5941
- def RequestId(self):
5942
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5943
- :rtype: str
5944
- """
5945
- return self._RequestId
5946
-
5947
- @RequestId.setter
5948
- def RequestId(self, RequestId):
5949
- self._RequestId = RequestId
5950
-
5951
-
5952
- def _deserialize(self, params):
5953
- self._ReturnCode = params.get("ReturnCode")
5954
- self._ReturnMsg = params.get("ReturnMsg")
5955
- self._Status = params.get("Status")
5956
- self._RequestId = params.get("RequestId")
5957
-
5958
-
5959
5641
  class DeleteNatFwInstanceRequest(AbstractModel):
5960
5642
  """DeleteNatFwInstance请求参数结构体
5961
5643
 
@@ -10253,165 +9935,7 @@ class DescribeFwSyncStatusResponse(AbstractModel):
10253
9935
 
10254
9936
  @SyncStatus.setter
10255
9937
  def SyncStatus(self, SyncStatus):
10256
- self._SyncStatus = SyncStatus
10257
-
10258
- @property
10259
- def RequestId(self):
10260
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10261
- :rtype: str
10262
- """
10263
- return self._RequestId
10264
-
10265
- @RequestId.setter
10266
- def RequestId(self, RequestId):
10267
- self._RequestId = RequestId
10268
-
10269
-
10270
- def _deserialize(self, params):
10271
- self._SyncStatus = params.get("SyncStatus")
10272
- self._RequestId = params.get("RequestId")
10273
-
10274
-
10275
- class DescribeGuideScanInfoRequest(AbstractModel):
10276
- """DescribeGuideScanInfo请求参数结构体
10277
-
10278
- """
10279
-
10280
-
10281
- class DescribeGuideScanInfoResponse(AbstractModel):
10282
- """DescribeGuideScanInfo返回参数结构体
10283
-
10284
- """
10285
-
10286
- def __init__(self):
10287
- r"""
10288
- :param _Data: 扫描信息
10289
- :type Data: :class:`tencentcloud.cfw.v20190904.models.ScanInfo`
10290
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10291
- :type RequestId: str
10292
- """
10293
- self._Data = None
10294
- self._RequestId = None
10295
-
10296
- @property
10297
- def Data(self):
10298
- """扫描信息
10299
- :rtype: :class:`tencentcloud.cfw.v20190904.models.ScanInfo`
10300
- """
10301
- return self._Data
10302
-
10303
- @Data.setter
10304
- def Data(self, Data):
10305
- self._Data = Data
10306
-
10307
- @property
10308
- def RequestId(self):
10309
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10310
- :rtype: str
10311
- """
10312
- return self._RequestId
10313
-
10314
- @RequestId.setter
10315
- def RequestId(self, RequestId):
10316
- self._RequestId = RequestId
10317
-
10318
-
10319
- def _deserialize(self, params):
10320
- if params.get("Data") is not None:
10321
- self._Data = ScanInfo()
10322
- self._Data._deserialize(params.get("Data"))
10323
- self._RequestId = params.get("RequestId")
10324
-
10325
-
10326
- class DescribeIPStatusListRequest(AbstractModel):
10327
- """DescribeIPStatusList请求参数结构体
10328
-
10329
- """
10330
-
10331
- def __init__(self):
10332
- r"""
10333
- :param _IPList: 资产Id
10334
- :type IPList: list of str
10335
- """
10336
- self._IPList = None
10337
-
10338
- @property
10339
- def IPList(self):
10340
- """资产Id
10341
- :rtype: list of str
10342
- """
10343
- return self._IPList
10344
-
10345
- @IPList.setter
10346
- def IPList(self, IPList):
10347
- self._IPList = IPList
10348
-
10349
-
10350
- def _deserialize(self, params):
10351
- self._IPList = params.get("IPList")
10352
- memeber_set = set(params.keys())
10353
- for name, value in vars(self).items():
10354
- property_name = name[1:]
10355
- if property_name in memeber_set:
10356
- memeber_set.remove(property_name)
10357
- if len(memeber_set) > 0:
10358
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10359
-
10360
-
10361
-
10362
- class DescribeIPStatusListResponse(AbstractModel):
10363
- """DescribeIPStatusList返回参数结构体
10364
-
10365
- """
10366
-
10367
- def __init__(self):
10368
- r"""
10369
- :param _StatusList: IP状态信息
10370
- :type StatusList: list of IPDefendStatus
10371
- :param _ReturnCode: 状态码
10372
- :type ReturnCode: int
10373
- :param _ReturnMsg: 状态信息
10374
- :type ReturnMsg: str
10375
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10376
- :type RequestId: str
10377
- """
10378
- self._StatusList = None
10379
- self._ReturnCode = None
10380
- self._ReturnMsg = None
10381
- self._RequestId = None
10382
-
10383
- @property
10384
- def StatusList(self):
10385
- """IP状态信息
10386
- :rtype: list of IPDefendStatus
10387
- """
10388
- return self._StatusList
10389
-
10390
- @StatusList.setter
10391
- def StatusList(self, StatusList):
10392
- self._StatusList = StatusList
10393
-
10394
- @property
10395
- def ReturnCode(self):
10396
- """状态码
10397
- :rtype: int
10398
- """
10399
- return self._ReturnCode
10400
-
10401
- @ReturnCode.setter
10402
- def ReturnCode(self, ReturnCode):
10403
- self._ReturnCode = ReturnCode
10404
-
10405
- @property
10406
- def ReturnMsg(self):
10407
- """状态信息
10408
- :rtype: str
10409
- """
10410
- return self._ReturnMsg
10411
-
10412
- @ReturnMsg.setter
10413
- def ReturnMsg(self, ReturnMsg):
10414
- self._ReturnMsg = ReturnMsg
9938
+ self._SyncStatus = SyncStatus
10415
9939
 
10416
9940
  @property
10417
9941
  def RequestId(self):
@@ -10426,108 +9950,87 @@ class DescribeIPStatusListResponse(AbstractModel):
10426
9950
 
10427
9951
 
10428
9952
  def _deserialize(self, params):
10429
- if params.get("StatusList") is not None:
10430
- self._StatusList = []
10431
- for item in params.get("StatusList"):
10432
- obj = IPDefendStatus()
10433
- obj._deserialize(item)
10434
- self._StatusList.append(obj)
10435
- self._ReturnCode = params.get("ReturnCode")
10436
- self._ReturnMsg = params.get("ReturnMsg")
9953
+ self._SyncStatus = params.get("SyncStatus")
10437
9954
  self._RequestId = params.get("RequestId")
10438
9955
 
10439
9956
 
10440
- class DescribeIdsWhiteRuleRequest(AbstractModel):
10441
- """DescribeIdsWhiteRule请求参数结构体
9957
+ class DescribeGuideScanInfoRequest(AbstractModel):
9958
+ """DescribeGuideScanInfo请求参数结构体
9959
+
9960
+ """
9961
+
9962
+
9963
+ class DescribeGuideScanInfoResponse(AbstractModel):
9964
+ """DescribeGuideScanInfo返回参数结构体
10442
9965
 
10443
9966
  """
10444
9967
 
10445
9968
  def __init__(self):
10446
9969
  r"""
10447
- :param _Limit: 每页条数
10448
- :type Limit: int
10449
- :param _Offset: 偏移值
10450
- :type Offset: int
10451
- :param _Filters: 过滤条件组合
10452
- :type Filters: list of CommonFilter
10453
- :param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
10454
- :type Order: str
10455
- :param _By: 排序所用到的字段
10456
- :type By: str
9970
+ :param _Data: 扫描信息
9971
+ :type Data: :class:`tencentcloud.cfw.v20190904.models.ScanInfo`
9972
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9973
+ :type RequestId: str
10457
9974
  """
10458
- self._Limit = None
10459
- self._Offset = None
10460
- self._Filters = None
10461
- self._Order = None
10462
- self._By = None
9975
+ self._Data = None
9976
+ self._RequestId = None
10463
9977
 
10464
9978
  @property
10465
- def Limit(self):
10466
- """每页条数
10467
- :rtype: int
9979
+ def Data(self):
9980
+ """扫描信息
9981
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.ScanInfo`
10468
9982
  """
10469
- return self._Limit
9983
+ return self._Data
10470
9984
 
10471
- @Limit.setter
10472
- def Limit(self, Limit):
10473
- self._Limit = Limit
9985
+ @Data.setter
9986
+ def Data(self, Data):
9987
+ self._Data = Data
10474
9988
 
10475
9989
  @property
10476
- def Offset(self):
10477
- """偏移值
10478
- :rtype: int
9990
+ def RequestId(self):
9991
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9992
+ :rtype: str
10479
9993
  """
10480
- return self._Offset
9994
+ return self._RequestId
10481
9995
 
10482
- @Offset.setter
10483
- def Offset(self, Offset):
10484
- self._Offset = Offset
9996
+ @RequestId.setter
9997
+ def RequestId(self, RequestId):
9998
+ self._RequestId = RequestId
10485
9999
 
10486
- @property
10487
- def Filters(self):
10488
- """过滤条件组合
10489
- :rtype: list of CommonFilter
10490
- """
10491
- return self._Filters
10492
10000
 
10493
- @Filters.setter
10494
- def Filters(self, Filters):
10495
- self._Filters = Filters
10001
+ def _deserialize(self, params):
10002
+ if params.get("Data") is not None:
10003
+ self._Data = ScanInfo()
10004
+ self._Data._deserialize(params.get("Data"))
10005
+ self._RequestId = params.get("RequestId")
10496
10006
 
10497
- @property
10498
- def Order(self):
10499
- """desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
10500
- :rtype: str
10501
- """
10502
- return self._Order
10503
10007
 
10504
- @Order.setter
10505
- def Order(self, Order):
10506
- self._Order = Order
10008
+ class DescribeIPStatusListRequest(AbstractModel):
10009
+ """DescribeIPStatusList请求参数结构体
10010
+
10011
+ """
10012
+
10013
+ def __init__(self):
10014
+ r"""
10015
+ :param _IPList: 资产Id
10016
+ :type IPList: list of str
10017
+ """
10018
+ self._IPList = None
10507
10019
 
10508
10020
  @property
10509
- def By(self):
10510
- """排序所用到的字段
10511
- :rtype: str
10021
+ def IPList(self):
10022
+ """资产Id
10023
+ :rtype: list of str
10512
10024
  """
10513
- return self._By
10025
+ return self._IPList
10514
10026
 
10515
- @By.setter
10516
- def By(self, By):
10517
- self._By = By
10027
+ @IPList.setter
10028
+ def IPList(self, IPList):
10029
+ self._IPList = IPList
10518
10030
 
10519
10031
 
10520
10032
  def _deserialize(self, params):
10521
- self._Limit = params.get("Limit")
10522
- self._Offset = params.get("Offset")
10523
- if params.get("Filters") is not None:
10524
- self._Filters = []
10525
- for item in params.get("Filters"):
10526
- obj = CommonFilter()
10527
- obj._deserialize(item)
10528
- self._Filters.append(obj)
10529
- self._Order = params.get("Order")
10530
- self._By = params.get("By")
10033
+ self._IPList = params.get("IPList")
10531
10034
  memeber_set = set(params.keys())
10532
10035
  for name, value in vars(self).items():
10533
10036
  property_name = name[1:]
@@ -10538,55 +10041,41 @@ class DescribeIdsWhiteRuleRequest(AbstractModel):
10538
10041
 
10539
10042
 
10540
10043
 
10541
- class DescribeIdsWhiteRuleResponse(AbstractModel):
10542
- """DescribeIdsWhiteRule返回参数结构体
10044
+ class DescribeIPStatusListResponse(AbstractModel):
10045
+ """DescribeIPStatusList返回参数结构体
10543
10046
 
10544
10047
  """
10545
10048
 
10546
10049
  def __init__(self):
10547
10050
  r"""
10548
- :param _Total: 总条数
10549
- :type Total: int
10550
- :param _Data: 规则详情
10551
- :type Data: list of IdsWhiteInfo
10552
- :param _ReturnCode: 返回状态码 0 成功 非0不成功
10051
+ :param _StatusList: IP状态信息
10052
+ :type StatusList: list of IPDefendStatus
10053
+ :param _ReturnCode: 状态码
10553
10054
  :type ReturnCode: int
10554
- :param _ReturnMsg: 返回信息 success 成功 其他 不成功
10055
+ :param _ReturnMsg: 状态信息
10555
10056
  :type ReturnMsg: str
10556
10057
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10557
10058
  :type RequestId: str
10558
10059
  """
10559
- self._Total = None
10560
- self._Data = None
10060
+ self._StatusList = None
10561
10061
  self._ReturnCode = None
10562
10062
  self._ReturnMsg = None
10563
10063
  self._RequestId = None
10564
10064
 
10565
10065
  @property
10566
- def Total(self):
10567
- """总条数
10568
- :rtype: int
10569
- """
10570
- return self._Total
10571
-
10572
- @Total.setter
10573
- def Total(self, Total):
10574
- self._Total = Total
10575
-
10576
- @property
10577
- def Data(self):
10578
- """规则详情
10579
- :rtype: list of IdsWhiteInfo
10066
+ def StatusList(self):
10067
+ """IP状态信息
10068
+ :rtype: list of IPDefendStatus
10580
10069
  """
10581
- return self._Data
10070
+ return self._StatusList
10582
10071
 
10583
- @Data.setter
10584
- def Data(self, Data):
10585
- self._Data = Data
10072
+ @StatusList.setter
10073
+ def StatusList(self, StatusList):
10074
+ self._StatusList = StatusList
10586
10075
 
10587
10076
  @property
10588
10077
  def ReturnCode(self):
10589
- """返回状态码 0 成功 非0不成功
10078
+ """状态码
10590
10079
  :rtype: int
10591
10080
  """
10592
10081
  return self._ReturnCode
@@ -10597,7 +10086,7 @@ class DescribeIdsWhiteRuleResponse(AbstractModel):
10597
10086
 
10598
10087
  @property
10599
10088
  def ReturnMsg(self):
10600
- """返回信息 success 成功 其他 不成功
10089
+ """状态信息
10601
10090
  :rtype: str
10602
10091
  """
10603
10092
  return self._ReturnMsg
@@ -10619,13 +10108,12 @@ class DescribeIdsWhiteRuleResponse(AbstractModel):
10619
10108
 
10620
10109
 
10621
10110
  def _deserialize(self, params):
10622
- self._Total = params.get("Total")
10623
- if params.get("Data") is not None:
10624
- self._Data = []
10625
- for item in params.get("Data"):
10626
- obj = IdsWhiteInfo()
10111
+ if params.get("StatusList") is not None:
10112
+ self._StatusList = []
10113
+ for item in params.get("StatusList"):
10114
+ obj = IPDefendStatus()
10627
10115
  obj._deserialize(item)
10628
- self._Data.append(obj)
10116
+ self._StatusList.append(obj)
10629
10117
  self._ReturnCode = params.get("ReturnCode")
10630
10118
  self._ReturnMsg = params.get("ReturnMsg")
10631
10119
  self._RequestId = params.get("RequestId")
@@ -16090,117 +15578,6 @@ class IPDefendStatus(AbstractModel):
16090
15578
 
16091
15579
 
16092
15580
 
16093
- class IdsWhiteInfo(AbstractModel):
16094
- """入侵防御规则白名单详情
16095
-
16096
- """
16097
-
16098
- def __init__(self):
16099
- r"""
16100
- :param _Id: 白名单唯一ID
16101
- :type Id: int
16102
- :param _SrcIp: 源IP
16103
- :type SrcIp: str
16104
- :param _DstIp: 目的IP
16105
- :type DstIp: str
16106
- :param _WhiteRuleType: 规则类型
16107
- :type WhiteRuleType: str
16108
- :param _FwType: 白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙
16109
- :type FwType: int
16110
- :param _RuleId: 入侵防御规则ID
16111
- :type RuleId: str
16112
- """
16113
- self._Id = None
16114
- self._SrcIp = None
16115
- self._DstIp = None
16116
- self._WhiteRuleType = None
16117
- self._FwType = None
16118
- self._RuleId = None
16119
-
16120
- @property
16121
- def Id(self):
16122
- """白名单唯一ID
16123
- :rtype: int
16124
- """
16125
- return self._Id
16126
-
16127
- @Id.setter
16128
- def Id(self, Id):
16129
- self._Id = Id
16130
-
16131
- @property
16132
- def SrcIp(self):
16133
- """源IP
16134
- :rtype: str
16135
- """
16136
- return self._SrcIp
16137
-
16138
- @SrcIp.setter
16139
- def SrcIp(self, SrcIp):
16140
- self._SrcIp = SrcIp
16141
-
16142
- @property
16143
- def DstIp(self):
16144
- """目的IP
16145
- :rtype: str
16146
- """
16147
- return self._DstIp
16148
-
16149
- @DstIp.setter
16150
- def DstIp(self, DstIp):
16151
- self._DstIp = DstIp
16152
-
16153
- @property
16154
- def WhiteRuleType(self):
16155
- """规则类型
16156
- :rtype: str
16157
- """
16158
- return self._WhiteRuleType
16159
-
16160
- @WhiteRuleType.setter
16161
- def WhiteRuleType(self, WhiteRuleType):
16162
- self._WhiteRuleType = WhiteRuleType
16163
-
16164
- @property
16165
- def FwType(self):
16166
- """白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙
16167
- :rtype: int
16168
- """
16169
- return self._FwType
16170
-
16171
- @FwType.setter
16172
- def FwType(self, FwType):
16173
- self._FwType = FwType
16174
-
16175
- @property
16176
- def RuleId(self):
16177
- """入侵防御规则ID
16178
- :rtype: str
16179
- """
16180
- return self._RuleId
16181
-
16182
- @RuleId.setter
16183
- def RuleId(self, RuleId):
16184
- self._RuleId = RuleId
16185
-
16186
-
16187
- def _deserialize(self, params):
16188
- self._Id = params.get("Id")
16189
- self._SrcIp = params.get("SrcIp")
16190
- self._DstIp = params.get("DstIp")
16191
- self._WhiteRuleType = params.get("WhiteRuleType")
16192
- self._FwType = params.get("FwType")
16193
- self._RuleId = params.get("RuleId")
16194
- memeber_set = set(params.keys())
16195
- for name, value in vars(self).items():
16196
- property_name = name[1:]
16197
- if property_name in memeber_set:
16198
- memeber_set.remove(property_name)
16199
- if len(memeber_set) > 0:
16200
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16201
-
16202
-
16203
-
16204
15581
  class InstanceInfo(AbstractModel):
16205
15582
  """实例详情结果
16206
15583
 
@@ -17262,8 +16639,7 @@ class ModifyAddressTemplateRequest(AbstractModel):
17262
16639
  :param _IpString: Type为1,ip模板eg:1.1.1.1,2.2.2.2;
17263
16640
  Type为5,域名模板eg:www.qq.com,www.tencent.com
17264
16641
  :type IpString: str
17265
- :param _Type: 1 ip模板
17266
- 5 域名模板
16642
+ :param _Type: 1 ip模板 5 域名模板
17267
16643
  :type Type: int
17268
16644
  :param _ProtocolType: 协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。
17269
16645
  :type ProtocolType: str
@@ -17322,8 +16698,7 @@ Type为5,域名模板eg:www.qq.com,www.tencent.com
17322
16698
 
17323
16699
  @property
17324
16700
  def Type(self):
17325
- """1 ip模板
17326
- 5 域名模板
16701
+ """1 ip模板 5 域名模板
17327
16702
  :rtype: int
17328
16703
  """
17329
16704
  return self._Type
@@ -17372,11 +16747,14 @@ class ModifyAddressTemplateResponse(AbstractModel):
17372
16747
  :type Status: int
17373
16748
  :param _Uuid: 唯一Id
17374
16749
  :type Uuid: str
16750
+ :param _RuleLimitNum: 规则数上限配置
16751
+ :type RuleLimitNum: int
17375
16752
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17376
16753
  :type RequestId: str
17377
16754
  """
17378
16755
  self._Status = None
17379
16756
  self._Uuid = None
16757
+ self._RuleLimitNum = None
17380
16758
  self._RequestId = None
17381
16759
 
17382
16760
  @property
@@ -17401,6 +16779,17 @@ class ModifyAddressTemplateResponse(AbstractModel):
17401
16779
  def Uuid(self, Uuid):
17402
16780
  self._Uuid = Uuid
17403
16781
 
16782
+ @property
16783
+ def RuleLimitNum(self):
16784
+ """规则数上限配置
16785
+ :rtype: int
16786
+ """
16787
+ return self._RuleLimitNum
16788
+
16789
+ @RuleLimitNum.setter
16790
+ def RuleLimitNum(self, RuleLimitNum):
16791
+ self._RuleLimitNum = RuleLimitNum
16792
+
17404
16793
  @property
17405
16794
  def RequestId(self):
17406
16795
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -17416,6 +16805,7 @@ class ModifyAddressTemplateResponse(AbstractModel):
17416
16805
  def _deserialize(self, params):
17417
16806
  self._Status = params.get("Status")
17418
16807
  self._Uuid = params.get("Uuid")
16808
+ self._RuleLimitNum = params.get("RuleLimitNum")
17419
16809
  self._RequestId = params.get("RequestId")
17420
16810
 
17421
16811
 
@@ -17618,10 +17008,13 @@ class ModifyAllRuleStatusResponse(AbstractModel):
17618
17008
  r"""
17619
17009
  :param _Status: 0: 修改成功, 其他: 修改失败
17620
17010
  :type Status: int
17011
+ :param _RuleLimitNum: 规则限制数量
17012
+ :type RuleLimitNum: int
17621
17013
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17622
17014
  :type RequestId: str
17623
17015
  """
17624
17016
  self._Status = None
17017
+ self._RuleLimitNum = None
17625
17018
  self._RequestId = None
17626
17019
 
17627
17020
  @property
@@ -17635,6 +17028,17 @@ class ModifyAllRuleStatusResponse(AbstractModel):
17635
17028
  def Status(self, Status):
17636
17029
  self._Status = Status
17637
17030
 
17031
+ @property
17032
+ def RuleLimitNum(self):
17033
+ """规则限制数量
17034
+ :rtype: int
17035
+ """
17036
+ return self._RuleLimitNum
17037
+
17038
+ @RuleLimitNum.setter
17039
+ def RuleLimitNum(self, RuleLimitNum):
17040
+ self._RuleLimitNum = RuleLimitNum
17041
+
17638
17042
  @property
17639
17043
  def RequestId(self):
17640
17044
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -17649,6 +17053,7 @@ class ModifyAllRuleStatusResponse(AbstractModel):
17649
17053
 
17650
17054
  def _deserialize(self, params):
17651
17055
  self._Status = params.get("Status")
17056
+ self._RuleLimitNum = params.get("RuleLimitNum")
17652
17057
  self._RequestId = params.get("RequestId")
17653
17058
 
17654
17059