tencentcloud-sdk-python-intl-en 3.0.1086__py2.py3-none-any.whl → 3.0.1087__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-intl-en might be problematic. Click here for more details.

Files changed (35) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/car/v20220110/models.py +2 -2
  3. tencentcloud/cbs/v20170312/models.py +2 -2
  4. tencentcloud/cdc/__init__.py +0 -0
  5. tencentcloud/cdc/v20201214/__init__.py +0 -0
  6. tencentcloud/cdc/v20201214/cdc_client.py +486 -0
  7. tencentcloud/cdc/v20201214/errorcodes.py +78 -0
  8. tencentcloud/cdc/v20201214/models.py +6084 -0
  9. tencentcloud/ckafka/v20190819/models.py +2 -2
  10. tencentcloud/cloudaudit/v20190319/errorcodes.py +3 -0
  11. tencentcloud/cloudaudit/v20190319/models.py +2 -2
  12. tencentcloud/cls/v20201016/models.py +177 -0
  13. tencentcloud/cmq/v20190304/models.py +74 -74
  14. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  15. tencentcloud/eb/v20210416/models.py +47 -2
  16. tencentcloud/ecm/v20190719/models.py +2 -2
  17. tencentcloud/gme/v20180711/errorcodes.py +1 -1
  18. tencentcloud/gme/v20180711/models.py +2 -2
  19. tencentcloud/organization/v20210331/errorcodes.py +96 -0
  20. tencentcloud/organization/v20210331/models.py +2110 -269
  21. tencentcloud/organization/v20210331/organization_client.py +417 -3
  22. tencentcloud/sms/v20210111/errorcodes.py +4 -1
  23. tencentcloud/tat/v20201028/errorcodes.py +12 -0
  24. tencentcloud/tat/v20201028/models.py +38 -38
  25. tencentcloud/tdmq/v20200217/models.py +2 -2
  26. tencentcloud/tem/v20210701/models.py +2 -2
  27. tencentcloud/vod/v20180717/models.py +128 -11
  28. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  29. tencentcloud/waf/v20180125/models.py +1680 -720
  30. tencentcloud/waf/v20180125/waf_client.py +83 -45
  31. tencentcloud/wedata/v20210820/models.py +6 -6
  32. {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/METADATA +1 -1
  33. {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/RECORD +35 -30
  34. {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/WHEEL +0 -0
  35. {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/top_level.txt +0 -0
@@ -943,9 +943,7 @@ cdn-waf: web protection capability on CDN
943
943
  :type SniType: int
944
944
  :param _SniHost: When SniType=3, this parameter is required, indicating a custom SNI;
945
945
  :type SniHost: str
946
- :param _XFFReset: Whether to enable XFF reset
947
- 0: disable
948
- 1: enable
946
+ :param _XFFReset: Whether to enable XFF reset. 0: disable; 1: enable.
949
947
  :type XFFReset: int
950
948
  :param _Note: Domain name remarks
951
949
  :type Note: str
@@ -953,8 +951,22 @@ cdn-waf: web protection capability on CDN
953
951
  :type UpstreamHost: str
954
952
  :param _ProxyBuffer: Whether to enable caching. 0: disable; 1: enable.
955
953
  :type ProxyBuffer: int
956
- :param _ProbeStatus: 0: disable probe test; 1: enable probe test. The test is enabled by default.
954
+ :param _ProbeStatus: Whether to enable the test. 0: disable; 1: enable. The test is enabled by default.
957
955
  :type ProbeStatus: int
956
+ :param _GmType: Whether to enable SM. 0: do not enable SM; 1: add support for SM based on the existing TLS option; 2: enable SM and support only SM client access.
957
+ :type GmType: int
958
+ :param _GmCertType: SM certificate type. 0: no SM certificate is available; 1: the certificate is a self-owned SM certificate; 2: the certificate is a managed SM certificate.
959
+ :type GmCertType: int
960
+ :param _GmCert: When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
961
+ :type GmCert: str
962
+ :param _GmPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
963
+ :type GmPrivateKey: str
964
+ :param _GmEncCert: When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
965
+ :type GmEncCert: str
966
+ :param _GmEncPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
967
+ :type GmEncPrivateKey: str
968
+ :param _GmSSLId: When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
969
+ :type GmSSLId: str
958
970
  """
959
971
  self._Domain = None
960
972
  self._CertType = None
@@ -994,6 +1006,13 @@ cdn-waf: web protection capability on CDN
994
1006
  self._UpstreamHost = None
995
1007
  self._ProxyBuffer = None
996
1008
  self._ProbeStatus = None
1009
+ self._GmType = None
1010
+ self._GmCertType = None
1011
+ self._GmCert = None
1012
+ self._GmPrivateKey = None
1013
+ self._GmEncCert = None
1014
+ self._GmEncPrivateKey = None
1015
+ self._GmSSLId = None
997
1016
 
998
1017
  @property
999
1018
  def Domain(self):
@@ -1400,9 +1419,7 @@ cdn-waf: web protection capability on CDN
1400
1419
 
1401
1420
  @property
1402
1421
  def XFFReset(self):
1403
- """Whether to enable XFF reset
1404
- 0: disable
1405
- 1: enable
1422
+ """Whether to enable XFF reset. 0: disable; 1: enable.
1406
1423
  :rtype: int
1407
1424
  """
1408
1425
  return self._XFFReset
@@ -1446,7 +1463,7 @@ cdn-waf: web protection capability on CDN
1446
1463
 
1447
1464
  @property
1448
1465
  def ProbeStatus(self):
1449
- """0: disable probe test; 1: enable probe test. The test is enabled by default.
1466
+ """Whether to enable the test. 0: disable; 1: enable. The test is enabled by default.
1450
1467
  :rtype: int
1451
1468
  """
1452
1469
  return self._ProbeStatus
@@ -1455,6 +1472,83 @@ cdn-waf: web protection capability on CDN
1455
1472
  def ProbeStatus(self, ProbeStatus):
1456
1473
  self._ProbeStatus = ProbeStatus
1457
1474
 
1475
+ @property
1476
+ def GmType(self):
1477
+ """Whether to enable SM. 0: do not enable SM; 1: add support for SM based on the existing TLS option; 2: enable SM and support only SM client access.
1478
+ :rtype: int
1479
+ """
1480
+ return self._GmType
1481
+
1482
+ @GmType.setter
1483
+ def GmType(self, GmType):
1484
+ self._GmType = GmType
1485
+
1486
+ @property
1487
+ def GmCertType(self):
1488
+ """SM certificate type. 0: no SM certificate is available; 1: the certificate is a self-owned SM certificate; 2: the certificate is a managed SM certificate.
1489
+ :rtype: int
1490
+ """
1491
+ return self._GmCertType
1492
+
1493
+ @GmCertType.setter
1494
+ def GmCertType(self, GmCertType):
1495
+ self._GmCertType = GmCertType
1496
+
1497
+ @property
1498
+ def GmCert(self):
1499
+ """When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
1500
+ :rtype: str
1501
+ """
1502
+ return self._GmCert
1503
+
1504
+ @GmCert.setter
1505
+ def GmCert(self, GmCert):
1506
+ self._GmCert = GmCert
1507
+
1508
+ @property
1509
+ def GmPrivateKey(self):
1510
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
1511
+ :rtype: str
1512
+ """
1513
+ return self._GmPrivateKey
1514
+
1515
+ @GmPrivateKey.setter
1516
+ def GmPrivateKey(self, GmPrivateKey):
1517
+ self._GmPrivateKey = GmPrivateKey
1518
+
1519
+ @property
1520
+ def GmEncCert(self):
1521
+ """When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
1522
+ :rtype: str
1523
+ """
1524
+ return self._GmEncCert
1525
+
1526
+ @GmEncCert.setter
1527
+ def GmEncCert(self, GmEncCert):
1528
+ self._GmEncCert = GmEncCert
1529
+
1530
+ @property
1531
+ def GmEncPrivateKey(self):
1532
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
1533
+ :rtype: str
1534
+ """
1535
+ return self._GmEncPrivateKey
1536
+
1537
+ @GmEncPrivateKey.setter
1538
+ def GmEncPrivateKey(self, GmEncPrivateKey):
1539
+ self._GmEncPrivateKey = GmEncPrivateKey
1540
+
1541
+ @property
1542
+ def GmSSLId(self):
1543
+ """When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
1544
+ :rtype: str
1545
+ """
1546
+ return self._GmSSLId
1547
+
1548
+ @GmSSLId.setter
1549
+ def GmSSLId(self, GmSSLId):
1550
+ self._GmSSLId = GmSSLId
1551
+
1458
1552
 
1459
1553
  def _deserialize(self, params):
1460
1554
  self._Domain = params.get("Domain")
@@ -1500,6 +1594,13 @@ cdn-waf: web protection capability on CDN
1500
1594
  self._UpstreamHost = params.get("UpstreamHost")
1501
1595
  self._ProxyBuffer = params.get("ProxyBuffer")
1502
1596
  self._ProbeStatus = params.get("ProbeStatus")
1597
+ self._GmType = params.get("GmType")
1598
+ self._GmCertType = params.get("GmCertType")
1599
+ self._GmCert = params.get("GmCert")
1600
+ self._GmPrivateKey = params.get("GmPrivateKey")
1601
+ self._GmEncCert = params.get("GmEncCert")
1602
+ self._GmEncPrivateKey = params.get("GmEncPrivateKey")
1603
+ self._GmSSLId = params.get("GmSSLId")
1503
1604
  memeber_set = set(params.keys())
1504
1605
  for name, value in vars(self).items():
1505
1606
  property_name = name[1:]
@@ -1745,6 +1846,87 @@ Note: This field may return null, indicating that no valid values can be obtaine
1745
1846
 
1746
1847
 
1747
1848
 
1849
+ class AttackLogInfo(AbstractModel):
1850
+ """Attack Log Details
1851
+
1852
+ """
1853
+
1854
+ def __init__(self):
1855
+ r"""
1856
+ :param _Content: Details of Attack Logs
1857
+ :type Content: str
1858
+ :param _FileName: CLS Returned Content
1859
+ :type FileName: str
1860
+ :param _Source: CLS Returned Content
1861
+ :type Source: str
1862
+ :param _TimeStamp: CLS Returned Content
1863
+ :type TimeStamp: str
1864
+ """
1865
+ self._Content = None
1866
+ self._FileName = None
1867
+ self._Source = None
1868
+ self._TimeStamp = None
1869
+
1870
+ @property
1871
+ def Content(self):
1872
+ """Details of Attack Logs
1873
+ :rtype: str
1874
+ """
1875
+ return self._Content
1876
+
1877
+ @Content.setter
1878
+ def Content(self, Content):
1879
+ self._Content = Content
1880
+
1881
+ @property
1882
+ def FileName(self):
1883
+ """CLS Returned Content
1884
+ :rtype: str
1885
+ """
1886
+ return self._FileName
1887
+
1888
+ @FileName.setter
1889
+ def FileName(self, FileName):
1890
+ self._FileName = FileName
1891
+
1892
+ @property
1893
+ def Source(self):
1894
+ """CLS Returned Content
1895
+ :rtype: str
1896
+ """
1897
+ return self._Source
1898
+
1899
+ @Source.setter
1900
+ def Source(self, Source):
1901
+ self._Source = Source
1902
+
1903
+ @property
1904
+ def TimeStamp(self):
1905
+ """CLS Returned Content
1906
+ :rtype: str
1907
+ """
1908
+ return self._TimeStamp
1909
+
1910
+ @TimeStamp.setter
1911
+ def TimeStamp(self, TimeStamp):
1912
+ self._TimeStamp = TimeStamp
1913
+
1914
+
1915
+ def _deserialize(self, params):
1916
+ self._Content = params.get("Content")
1917
+ self._FileName = params.get("FileName")
1918
+ self._Source = params.get("Source")
1919
+ self._TimeStamp = params.get("TimeStamp")
1920
+ memeber_set = set(params.keys())
1921
+ for name, value in vars(self).items():
1922
+ property_name = name[1:]
1923
+ if property_name in memeber_set:
1924
+ memeber_set.remove(property_name)
1925
+ if len(memeber_set) > 0:
1926
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1927
+
1928
+
1929
+
1748
1930
  class BatchIpAccessControlData(AbstractModel):
1749
1931
  """Returned description of the multi-domain blocklist/allowlist
1750
1932
 
@@ -3114,117 +3296,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
3114
3296
 
3115
3297
 
3116
3298
 
3117
- class CacheUrlItem(AbstractModel):
3118
- """Tamper-proof URL Elements
3119
-
3120
- """
3121
-
3122
- def __init__(self):
3123
- r"""
3124
- :param _Id: Id
3125
- :type Id: str
3126
- :param _Name: Name
3127
- :type Name: str
3128
- :param _Domain: Domain name
3129
- :type Domain: str
3130
- :param _Uri: uri
3131
- :type Uri: str
3132
- :param _Protocol: Protocol
3133
- :type Protocol: str
3134
- :param _Status: Status
3135
- :type Status: str
3136
- """
3137
- self._Id = None
3138
- self._Name = None
3139
- self._Domain = None
3140
- self._Uri = None
3141
- self._Protocol = None
3142
- self._Status = None
3143
-
3144
- @property
3145
- def Id(self):
3146
- """Id
3147
- :rtype: str
3148
- """
3149
- return self._Id
3150
-
3151
- @Id.setter
3152
- def Id(self, Id):
3153
- self._Id = Id
3154
-
3155
- @property
3156
- def Name(self):
3157
- """Name
3158
- :rtype: str
3159
- """
3160
- return self._Name
3161
-
3162
- @Name.setter
3163
- def Name(self, Name):
3164
- self._Name = Name
3165
-
3166
- @property
3167
- def Domain(self):
3168
- """Domain name
3169
- :rtype: str
3170
- """
3171
- return self._Domain
3172
-
3173
- @Domain.setter
3174
- def Domain(self, Domain):
3175
- self._Domain = Domain
3176
-
3177
- @property
3178
- def Uri(self):
3179
- """uri
3180
- :rtype: str
3181
- """
3182
- return self._Uri
3183
-
3184
- @Uri.setter
3185
- def Uri(self, Uri):
3186
- self._Uri = Uri
3187
-
3188
- @property
3189
- def Protocol(self):
3190
- """Protocol
3191
- :rtype: str
3192
- """
3193
- return self._Protocol
3194
-
3195
- @Protocol.setter
3196
- def Protocol(self, Protocol):
3197
- self._Protocol = Protocol
3198
-
3199
- @property
3200
- def Status(self):
3201
- """Status
3202
- :rtype: str
3203
- """
3204
- return self._Status
3205
-
3206
- @Status.setter
3207
- def Status(self, Status):
3208
- self._Status = Status
3209
-
3210
-
3211
- def _deserialize(self, params):
3212
- self._Id = params.get("Id")
3213
- self._Name = params.get("Name")
3214
- self._Domain = params.get("Domain")
3215
- self._Uri = params.get("Uri")
3216
- self._Protocol = params.get("Protocol")
3217
- self._Status = params.get("Status")
3218
- memeber_set = set(params.keys())
3219
- for name, value in vars(self).items():
3220
- property_name = name[1:]
3221
- if property_name in memeber_set:
3222
- memeber_set.remove(property_name)
3223
- if len(memeber_set) > 0:
3224
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3225
-
3226
-
3227
-
3228
3299
  class CacheUrlItems(AbstractModel):
3229
3300
  """Tamper-proof URL Elements
3230
3301
 
@@ -3418,6 +3489,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
3418
3489
  :param _Note: Domain name remarks
3419
3490
  Note: This field may return null, indicating that no valid values can be obtained.
3420
3491
  :type Note: str
3492
+ :param _Labels: Domain name tag.
3493
+ Note: This field may return null, indicating that no valid values can be obtained.
3494
+ :type Labels: list of str
3421
3495
  """
3422
3496
  self._Domain = None
3423
3497
  self._DomainId = None
@@ -3433,6 +3507,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3433
3507
  self._CdcClusters = None
3434
3508
  self._CloudType = None
3435
3509
  self._Note = None
3510
+ self._Labels = None
3436
3511
 
3437
3512
  @property
3438
3513
  def Domain(self):
@@ -3597,6 +3672,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
3597
3672
  def Note(self, Note):
3598
3673
  self._Note = Note
3599
3674
 
3675
+ @property
3676
+ def Labels(self):
3677
+ """Domain name tag.
3678
+ Note: This field may return null, indicating that no valid values can be obtained.
3679
+ :rtype: list of str
3680
+ """
3681
+ return self._Labels
3682
+
3683
+ @Labels.setter
3684
+ def Labels(self, Labels):
3685
+ self._Labels = Labels
3686
+
3600
3687
 
3601
3688
  def _deserialize(self, params):
3602
3689
  self._Domain = params.get("Domain")
@@ -3618,6 +3705,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3618
3705
  self._CdcClusters = params.get("CdcClusters")
3619
3706
  self._CloudType = params.get("CloudType")
3620
3707
  self._Note = params.get("Note")
3708
+ self._Labels = params.get("Labels")
3621
3709
  memeber_set = set(params.keys())
3622
3710
  for name, value in vars(self).items():
3623
3711
  property_name = name[1:]
@@ -3687,6 +3775,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
3687
3775
  :type ApiStatus: int
3688
3776
  :param _ObjectFlowMode: Object access mode. 0: image mode; 1: cleaning mode; 2: examination mode. By default, the cleaning mode is used.Note: This field may return null, indicating that no valid values can be obtained.
3689
3777
  :type ObjectFlowMode: int
3778
+ :param _NumericalVpcId: VPC ID in numerical format
3779
+
3780
+ Note: This field may return null, indicating that no valid values can be obtained.
3781
+ :type NumericalVpcId: int
3690
3782
  """
3691
3783
  self._ObjectId = None
3692
3784
  self._InstanceId = None
@@ -3710,6 +3802,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3710
3802
  self._BotStatus = None
3711
3803
  self._ApiStatus = None
3712
3804
  self._ObjectFlowMode = None
3805
+ self._NumericalVpcId = None
3713
3806
 
3714
3807
  @property
3715
3808
  def ObjectId(self):
@@ -3961,6 +4054,19 @@ Note: This field may return null, indicating that no valid values can be obtaine
3961
4054
  def ObjectFlowMode(self, ObjectFlowMode):
3962
4055
  self._ObjectFlowMode = ObjectFlowMode
3963
4056
 
4057
+ @property
4058
+ def NumericalVpcId(self):
4059
+ """VPC ID in numerical format
4060
+
4061
+ Note: This field may return null, indicating that no valid values can be obtained.
4062
+ :rtype: int
4063
+ """
4064
+ return self._NumericalVpcId
4065
+
4066
+ @NumericalVpcId.setter
4067
+ def NumericalVpcId(self, NumericalVpcId):
4068
+ self._NumericalVpcId = NumericalVpcId
4069
+
3964
4070
 
3965
4071
  def _deserialize(self, params):
3966
4072
  self._ObjectId = params.get("ObjectId")
@@ -3985,6 +4091,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3985
4091
  self._BotStatus = params.get("BotStatus")
3986
4092
  self._ApiStatus = params.get("ApiStatus")
3987
4093
  self._ObjectFlowMode = params.get("ObjectFlowMode")
4094
+ self._NumericalVpcId = params.get("NumericalVpcId")
3988
4095
  memeber_set = set(params.keys())
3989
4096
  for name, value in vars(self).items():
3990
4097
  property_name = name[1:]
@@ -4832,6 +4939,8 @@ Global domain name, that is, global.
4832
4939
 
4833
4940
  @property
4834
4941
  def ValidTS(self):
4942
+ warnings.warn("parameter `ValidTS` is deprecated", DeprecationWarning)
4943
+
4835
4944
  """valid_ts indicates a valid date. Its value is a second-level timestamp, such as 1680570420, which indicates 2023-04-04 09:07:00.
4836
4945
  :rtype: int
4837
4946
  """
@@ -4839,6 +4948,8 @@ Global domain name, that is, global.
4839
4948
 
4840
4949
  @ValidTS.setter
4841
4950
  def ValidTS(self, ValidTS):
4951
+ warnings.warn("parameter `ValidTS` is deprecated", DeprecationWarning)
4952
+
4842
4953
  self._ValidTS = ValidTS
4843
4954
 
4844
4955
  @property
@@ -5745,13 +5856,13 @@ class DeleteIpAccessControlV2Request(AbstractModel):
5745
5856
  r"""
5746
5857
  :param _Domain: Domain name
5747
5858
  :type Domain: str
5748
- :param _RuleIds: Rule ID list, which supports deletion in batches.
5859
+ :param _RuleIds: Rule ID list. Batch deletion is supported. This parameter does not need to be specified when DeleteAll is true.
5749
5860
  :type RuleIds: list of int non-negative
5750
- :param _DeleteAll: Whether to delete all IP blocklists/allowlists under the corresponding domain. True indicates deleting all; false indicates only deleting a specified IP list.
5861
+ :param _DeleteAll: Whether to delete all IP blocklists/allowlists under the corresponding domain name. true: delete all lists; false: delete only the specified lists. Batch protection is not supported.
5751
5862
  :type DeleteAll: bool
5752
5863
  :param _SourceType: batch: indicates batch protection IP allowlists/blocklists.
5753
5864
  :type SourceType: str
5754
- :param _ActionType: IP allowlist/blocklist type. 40: IP allowlist; 42: IP blocklist.
5865
+ :param _ActionType: IP blocklist/allowlist type. 40: IP allowlist; 42: IP blocklist. This parameter should be passed in when DeleteAll is true.
5755
5866
  :type ActionType: int
5756
5867
  """
5757
5868
  self._Domain = None
@@ -5773,7 +5884,7 @@ class DeleteIpAccessControlV2Request(AbstractModel):
5773
5884
 
5774
5885
  @property
5775
5886
  def RuleIds(self):
5776
- """Rule ID list, which supports deletion in batches.
5887
+ """Rule ID list. Batch deletion is supported. This parameter does not need to be specified when DeleteAll is true.
5777
5888
  :rtype: list of int non-negative
5778
5889
  """
5779
5890
  return self._RuleIds
@@ -5784,7 +5895,7 @@ class DeleteIpAccessControlV2Request(AbstractModel):
5784
5895
 
5785
5896
  @property
5786
5897
  def DeleteAll(self):
5787
- """Whether to delete all IP blocklists/allowlists under the corresponding domain. True indicates deleting all; false indicates only deleting a specified IP list.
5898
+ """Whether to delete all IP blocklists/allowlists under the corresponding domain name. true: delete all lists; false: delete only the specified lists. Batch protection is not supported.
5788
5899
  :rtype: bool
5789
5900
  """
5790
5901
  return self._DeleteAll
@@ -5806,7 +5917,7 @@ class DeleteIpAccessControlV2Request(AbstractModel):
5806
5917
 
5807
5918
  @property
5808
5919
  def ActionType(self):
5809
- """IP allowlist/blocklist type. 40: IP allowlist; 42: IP blocklist.
5920
+ """IP blocklist/allowlist type. 40: IP allowlist; 42: IP blocklist. This parameter should be passed in when DeleteAll is true.
5810
5921
  :rtype: int
5811
5922
  """
5812
5923
  return self._ActionType
@@ -6263,49 +6374,62 @@ Note: This field may return null, indicating that no valid values can be obtaine
6263
6374
  self._RequestId = params.get("RequestId")
6264
6375
 
6265
6376
 
6266
- class DescribeAntiFakeUrlRequest(AbstractModel):
6267
- """DescribeAntiFakeUrl request structure.
6377
+ class DescribeAntiInfoLeakRulesStrategyItem(AbstractModel):
6378
+ """Specific rule elements within the rule elements returned by DescribeAntiInfoLeakRules
6268
6379
 
6269
6380
  """
6270
6381
 
6271
6382
  def __init__(self):
6272
6383
  r"""
6273
- :param _Domain: Domain name
6274
- :type Domain: str
6275
- :param _PageInfo: Page turning parameters
6276
- :type PageInfo: :class:`tencentcloud.waf.v20180125.models.PageInfo`
6384
+ :param _Field: Field
6385
+ :type Field: str
6386
+ :param _CompareFunc: Condition
6387
+ :type CompareFunc: str
6388
+ :param _Content: Content
6389
+ :type Content: str
6277
6390
  """
6278
- self._Domain = None
6279
- self._PageInfo = None
6391
+ self._Field = None
6392
+ self._CompareFunc = None
6393
+ self._Content = None
6280
6394
 
6281
6395
  @property
6282
- def Domain(self):
6283
- """Domain name
6396
+ def Field(self):
6397
+ """Field
6284
6398
  :rtype: str
6285
6399
  """
6286
- return self._Domain
6287
-
6288
- @Domain.setter
6289
- def Domain(self, Domain):
6290
- self._Domain = Domain
6400
+ return self._Field
6401
+
6402
+ @Field.setter
6403
+ def Field(self, Field):
6404
+ self._Field = Field
6405
+
6406
+ @property
6407
+ def CompareFunc(self):
6408
+ """Condition
6409
+ :rtype: str
6410
+ """
6411
+ return self._CompareFunc
6412
+
6413
+ @CompareFunc.setter
6414
+ def CompareFunc(self, CompareFunc):
6415
+ self._CompareFunc = CompareFunc
6291
6416
 
6292
6417
  @property
6293
- def PageInfo(self):
6294
- """Page turning parameters
6295
- :rtype: :class:`tencentcloud.waf.v20180125.models.PageInfo`
6418
+ def Content(self):
6419
+ """Content
6420
+ :rtype: str
6296
6421
  """
6297
- return self._PageInfo
6422
+ return self._Content
6298
6423
 
6299
- @PageInfo.setter
6300
- def PageInfo(self, PageInfo):
6301
- self._PageInfo = PageInfo
6424
+ @Content.setter
6425
+ def Content(self, Content):
6426
+ self._Content = Content
6302
6427
 
6303
6428
 
6304
6429
  def _deserialize(self, params):
6305
- self._Domain = params.get("Domain")
6306
- if params.get("PageInfo") is not None:
6307
- self._PageInfo = PageInfo()
6308
- self._PageInfo._deserialize(params.get("PageInfo"))
6430
+ self._Field = params.get("Field")
6431
+ self._CompareFunc = params.get("CompareFunc")
6432
+ self._Content = params.get("Content")
6309
6433
  memeber_set = set(params.keys())
6310
6434
  for name, value in vars(self).items():
6311
6435
  property_name = name[1:]
@@ -6316,71 +6440,8 @@ class DescribeAntiFakeUrlRequest(AbstractModel):
6316
6440
 
6317
6441
 
6318
6442
 
6319
- class DescribeAntiFakeUrlResponse(AbstractModel):
6320
- """DescribeAntiFakeUrl response structure.
6321
-
6322
- """
6323
-
6324
- def __init__(self):
6325
- r"""
6326
- :param _Total: Total number
6327
- :type Total: str
6328
- :param _List: Information
6329
- :type List: list of CacheUrlItem
6330
- :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6331
- :type RequestId: str
6332
- """
6333
- self._Total = None
6334
- self._List = None
6335
- self._RequestId = None
6336
-
6337
- @property
6338
- def Total(self):
6339
- """Total number
6340
- :rtype: str
6341
- """
6342
- return self._Total
6343
-
6344
- @Total.setter
6345
- def Total(self, Total):
6346
- self._Total = Total
6347
-
6348
- @property
6349
- def List(self):
6350
- """Information
6351
- :rtype: list of CacheUrlItem
6352
- """
6353
- return self._List
6354
-
6355
- @List.setter
6356
- def List(self, List):
6357
- self._List = List
6358
-
6359
- @property
6360
- def RequestId(self):
6361
- """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6362
- :rtype: str
6363
- """
6364
- return self._RequestId
6365
-
6366
- @RequestId.setter
6367
- def RequestId(self, RequestId):
6368
- self._RequestId = RequestId
6369
-
6370
-
6371
- def _deserialize(self, params):
6372
- self._Total = params.get("Total")
6373
- if params.get("List") is not None:
6374
- self._List = []
6375
- for item in params.get("List"):
6376
- obj = CacheUrlItem()
6377
- obj._deserialize(item)
6378
- self._List.append(obj)
6379
- self._RequestId = params.get("RequestId")
6380
-
6381
-
6382
- class DescribeAntiInfoLeakRulesRequest(AbstractModel):
6383
- """DescribeAntiInfoLeakRules request structure.
6443
+ class DescribeAntiInfoLeakageRulesRequest(AbstractModel):
6444
+ """DescribeAntiInfoLeakageRules request structure.
6384
6445
 
6385
6446
  """
6386
6447
 
@@ -6388,14 +6449,21 @@ class DescribeAntiInfoLeakRulesRequest(AbstractModel):
6388
6449
  r"""
6389
6450
  :param _Domain: Domain name
6390
6451
  :type Domain: str
6391
- :param _ActionType: Action type
6392
- :type ActionType: int
6393
- :param _PageInfo: Page turning
6394
- :type PageInfo: :class:`tencentcloud.waf.v20180125.models.PageInfo`
6452
+ :param _Offset: Page turning support, read offset
6453
+ :type Offset: int
6454
+ :param _Limit: Paging support, read length limit
6455
+ :type Limit: int
6456
+ :param _Order: Sort method, asc or desc
6457
+ :type Order: str
6458
+ :param _Filters: Filter. The following values are allowed:
6459
+ RuleId,Match_field,Name,Action,Status
6460
+ :type Filters: list of FiltersItemNew
6395
6461
  """
6396
6462
  self._Domain = None
6397
- self._ActionType = None
6398
- self._PageInfo = None
6463
+ self._Offset = None
6464
+ self._Limit = None
6465
+ self._Order = None
6466
+ self._Filters = None
6399
6467
 
6400
6468
  @property
6401
6469
  def Domain(self):
@@ -6409,34 +6477,62 @@ class DescribeAntiInfoLeakRulesRequest(AbstractModel):
6409
6477
  self._Domain = Domain
6410
6478
 
6411
6479
  @property
6412
- def ActionType(self):
6413
- """Action type
6480
+ def Offset(self):
6481
+ """Page turning support, read offset
6414
6482
  :rtype: int
6415
6483
  """
6416
- return self._ActionType
6484
+ return self._Offset
6417
6485
 
6418
- @ActionType.setter
6419
- def ActionType(self, ActionType):
6420
- self._ActionType = ActionType
6486
+ @Offset.setter
6487
+ def Offset(self, Offset):
6488
+ self._Offset = Offset
6421
6489
 
6422
6490
  @property
6423
- def PageInfo(self):
6424
- """Page turning
6425
- :rtype: :class:`tencentcloud.waf.v20180125.models.PageInfo`
6491
+ def Limit(self):
6492
+ """Paging support, read length limit
6493
+ :rtype: int
6426
6494
  """
6427
- return self._PageInfo
6495
+ return self._Limit
6428
6496
 
6429
- @PageInfo.setter
6430
- def PageInfo(self, PageInfo):
6431
- self._PageInfo = PageInfo
6497
+ @Limit.setter
6498
+ def Limit(self, Limit):
6499
+ self._Limit = Limit
6500
+
6501
+ @property
6502
+ def Order(self):
6503
+ """Sort method, asc or desc
6504
+ :rtype: str
6505
+ """
6506
+ return self._Order
6507
+
6508
+ @Order.setter
6509
+ def Order(self, Order):
6510
+ self._Order = Order
6511
+
6512
+ @property
6513
+ def Filters(self):
6514
+ """Filter. The following values are allowed:
6515
+ RuleId,Match_field,Name,Action,Status
6516
+ :rtype: list of FiltersItemNew
6517
+ """
6518
+ return self._Filters
6519
+
6520
+ @Filters.setter
6521
+ def Filters(self, Filters):
6522
+ self._Filters = Filters
6432
6523
 
6433
6524
 
6434
6525
  def _deserialize(self, params):
6435
6526
  self._Domain = params.get("Domain")
6436
- self._ActionType = params.get("ActionType")
6437
- if params.get("PageInfo") is not None:
6438
- self._PageInfo = PageInfo()
6439
- self._PageInfo._deserialize(params.get("PageInfo"))
6527
+ self._Offset = params.get("Offset")
6528
+ self._Limit = params.get("Limit")
6529
+ self._Order = params.get("Order")
6530
+ if params.get("Filters") is not None:
6531
+ self._Filters = []
6532
+ for item in params.get("Filters"):
6533
+ obj = FiltersItemNew()
6534
+ obj._deserialize(item)
6535
+ self._Filters.append(obj)
6440
6536
  memeber_set = set(params.keys())
6441
6537
  for name, value in vars(self).items():
6442
6538
  property_name = name[1:]
@@ -6447,39 +6543,39 @@ class DescribeAntiInfoLeakRulesRequest(AbstractModel):
6447
6543
 
6448
6544
 
6449
6545
 
6450
- class DescribeAntiInfoLeakRulesResponse(AbstractModel):
6451
- """DescribeAntiInfoLeakRules response structure.
6546
+ class DescribeAntiInfoLeakageRulesResponse(AbstractModel):
6547
+ """DescribeAntiInfoLeakageRules response structure.
6452
6548
 
6453
6549
  """
6454
6550
 
6455
6551
  def __init__(self):
6456
6552
  r"""
6457
- :param _TotalCount: Number of records
6458
- :type TotalCount: str
6553
+ :param _Total: Number of records
6554
+ :type Total: int
6459
6555
  :param _RuleList: List of rules
6460
- :type RuleList: list of DescribeAntiInfoLeakRulesRuleItem
6556
+ :type RuleList: list of DescribeAntiLeakageItem
6461
6557
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6462
6558
  :type RequestId: str
6463
6559
  """
6464
- self._TotalCount = None
6560
+ self._Total = None
6465
6561
  self._RuleList = None
6466
6562
  self._RequestId = None
6467
6563
 
6468
6564
  @property
6469
- def TotalCount(self):
6565
+ def Total(self):
6470
6566
  """Number of records
6471
- :rtype: str
6567
+ :rtype: int
6472
6568
  """
6473
- return self._TotalCount
6569
+ return self._Total
6474
6570
 
6475
- @TotalCount.setter
6476
- def TotalCount(self, TotalCount):
6477
- self._TotalCount = TotalCount
6571
+ @Total.setter
6572
+ def Total(self, Total):
6573
+ self._Total = Total
6478
6574
 
6479
6575
  @property
6480
6576
  def RuleList(self):
6481
6577
  """List of rules
6482
- :rtype: list of DescribeAntiInfoLeakRulesRuleItem
6578
+ :rtype: list of DescribeAntiLeakageItem
6483
6579
  """
6484
6580
  return self._RuleList
6485
6581
 
@@ -6500,47 +6596,58 @@ class DescribeAntiInfoLeakRulesResponse(AbstractModel):
6500
6596
 
6501
6597
 
6502
6598
  def _deserialize(self, params):
6503
- self._TotalCount = params.get("TotalCount")
6599
+ self._Total = params.get("Total")
6504
6600
  if params.get("RuleList") is not None:
6505
6601
  self._RuleList = []
6506
6602
  for item in params.get("RuleList"):
6507
- obj = DescribeAntiInfoLeakRulesRuleItem()
6603
+ obj = DescribeAntiLeakageItem()
6508
6604
  obj._deserialize(item)
6509
6605
  self._RuleList.append(obj)
6510
6606
  self._RequestId = params.get("RequestId")
6511
6607
 
6512
6608
 
6513
- class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6514
- """Rule list element returned by DescribeAntiInfoLeakRules
6609
+ class DescribeAntiLeakageItem(AbstractModel):
6610
+ """Output parameters
6515
6611
 
6516
6612
  """
6517
6613
 
6518
6614
  def __init__(self):
6519
6615
  r"""
6520
6616
  :param _RuleId: Rule ID
6521
- :type RuleId: str
6522
- :param _Name: Rule name
6617
+ :type RuleId: int
6618
+ :param _Name: Name
6523
6619
  :type Name: str
6524
- :param _Status: Rule status
6525
- :type Status: str
6526
- :param _ActionType: Rule Action Type
6527
- :type ActionType: str
6528
- :param _CreateTime: Rule creation time
6620
+ :param _Status: Status value
6621
+ :type Status: int
6622
+ :param _Action: Action
6623
+ :type Action: str
6624
+ :param _CreateTime: Creation time
6529
6625
  :type CreateTime: str
6530
- :param _Strategies: Detailed Rules
6626
+ :param _Strategies: Match condition
6627
+ Note: This field may return null, indicating that no valid values can be obtained.
6531
6628
  :type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
6629
+ :param _Uri: Matched URL
6630
+
6631
+ Note: This field may return null, indicating that no valid values can be obtained.
6632
+ :type Uri: str
6633
+ :param _ModifyTime: Modification time
6634
+
6635
+ Note: This field may return null, indicating that no valid values can be obtained.
6636
+ :type ModifyTime: str
6532
6637
  """
6533
6638
  self._RuleId = None
6534
6639
  self._Name = None
6535
6640
  self._Status = None
6536
- self._ActionType = None
6641
+ self._Action = None
6537
6642
  self._CreateTime = None
6538
6643
  self._Strategies = None
6644
+ self._Uri = None
6645
+ self._ModifyTime = None
6539
6646
 
6540
6647
  @property
6541
6648
  def RuleId(self):
6542
6649
  """Rule ID
6543
- :rtype: str
6650
+ :rtype: int
6544
6651
  """
6545
6652
  return self._RuleId
6546
6653
 
@@ -6550,7 +6657,7 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6550
6657
 
6551
6658
  @property
6552
6659
  def Name(self):
6553
- """Rule name
6660
+ """Name
6554
6661
  :rtype: str
6555
6662
  """
6556
6663
  return self._Name
@@ -6561,8 +6668,8 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6561
6668
 
6562
6669
  @property
6563
6670
  def Status(self):
6564
- """Rule status
6565
- :rtype: str
6671
+ """Status value
6672
+ :rtype: int
6566
6673
  """
6567
6674
  return self._Status
6568
6675
 
@@ -6571,19 +6678,19 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6571
6678
  self._Status = Status
6572
6679
 
6573
6680
  @property
6574
- def ActionType(self):
6575
- """Rule Action Type
6681
+ def Action(self):
6682
+ """Action
6576
6683
  :rtype: str
6577
6684
  """
6578
- return self._ActionType
6685
+ return self._Action
6579
6686
 
6580
- @ActionType.setter
6581
- def ActionType(self, ActionType):
6582
- self._ActionType = ActionType
6687
+ @Action.setter
6688
+ def Action(self, Action):
6689
+ self._Action = Action
6583
6690
 
6584
6691
  @property
6585
6692
  def CreateTime(self):
6586
- """Rule creation time
6693
+ """Creation time
6587
6694
  :rtype: str
6588
6695
  """
6589
6696
  return self._CreateTime
@@ -6594,7 +6701,8 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6594
6701
 
6595
6702
  @property
6596
6703
  def Strategies(self):
6597
- """Detailed Rules
6704
+ """Match condition
6705
+ Note: This field may return null, indicating that no valid values can be obtained.
6598
6706
  :rtype: list of DescribeAntiInfoLeakRulesStrategyItem
6599
6707
  """
6600
6708
  return self._Strategies
@@ -6603,12 +6711,38 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6603
6711
  def Strategies(self, Strategies):
6604
6712
  self._Strategies = Strategies
6605
6713
 
6714
+ @property
6715
+ def Uri(self):
6716
+ """Matched URL
6717
+
6718
+ Note: This field may return null, indicating that no valid values can be obtained.
6719
+ :rtype: str
6720
+ """
6721
+ return self._Uri
6722
+
6723
+ @Uri.setter
6724
+ def Uri(self, Uri):
6725
+ self._Uri = Uri
6726
+
6727
+ @property
6728
+ def ModifyTime(self):
6729
+ """Modification time
6730
+
6731
+ Note: This field may return null, indicating that no valid values can be obtained.
6732
+ :rtype: str
6733
+ """
6734
+ return self._ModifyTime
6735
+
6736
+ @ModifyTime.setter
6737
+ def ModifyTime(self, ModifyTime):
6738
+ self._ModifyTime = ModifyTime
6739
+
6606
6740
 
6607
6741
  def _deserialize(self, params):
6608
6742
  self._RuleId = params.get("RuleId")
6609
6743
  self._Name = params.get("Name")
6610
6744
  self._Status = params.get("Status")
6611
- self._ActionType = params.get("ActionType")
6745
+ self._Action = params.get("Action")
6612
6746
  self._CreateTime = params.get("CreateTime")
6613
6747
  if params.get("Strategies") is not None:
6614
6748
  self._Strategies = []
@@ -6616,6 +6750,8 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6616
6750
  obj = DescribeAntiInfoLeakRulesStrategyItem()
6617
6751
  obj._deserialize(item)
6618
6752
  self._Strategies.append(obj)
6753
+ self._Uri = params.get("Uri")
6754
+ self._ModifyTime = params.get("ModifyTime")
6619
6755
  memeber_set = set(params.keys())
6620
6756
  for name, value in vars(self).items():
6621
6757
  property_name = name[1:]
@@ -6626,100 +6762,69 @@ class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
6626
6762
 
6627
6763
 
6628
6764
 
6629
- class DescribeAntiInfoLeakRulesStrategyItem(AbstractModel):
6630
- """Specific rule elements within the rule elements returned by DescribeAntiInfoLeakRules
6765
+ class DescribeAttackOverviewRequest(AbstractModel):
6766
+ """DescribeAttackOverview request structure.
6631
6767
 
6632
6768
  """
6633
6769
 
6634
6770
  def __init__(self):
6635
6771
  r"""
6636
- :param _Field: Field
6637
- :type Field: str
6638
- :param _CompareFunc: Condition
6639
- :type CompareFunc: str
6640
- :param _Content: Content
6641
- :type Content: str
6772
+ :param _FromTime: Query start time
6773
+ :type FromTime: str
6774
+ :param _ToTime: Query end time
6775
+ :type ToTime: str
6776
+ :param _Appid: Customer app ID
6777
+ :type Appid: int
6778
+ :param _Domain: Queried domain
6779
+ :type Domain: str
6780
+ :param _Edition: Only two values are valid: sparta-waf, clb-waf. No filtering if not input.
6781
+ :type Edition: str
6782
+ :param _InstanceID: WAF instance ID. No filter will be carried out if it is not input.
6783
+ :type InstanceID: str
6642
6784
  """
6643
- self._Field = None
6644
- self._CompareFunc = None
6645
- self._Content = None
6785
+ self._FromTime = None
6786
+ self._ToTime = None
6787
+ self._Appid = None
6788
+ self._Domain = None
6789
+ self._Edition = None
6790
+ self._InstanceID = None
6646
6791
 
6647
6792
  @property
6648
- def Field(self):
6649
- """Field
6793
+ def FromTime(self):
6794
+ """Query start time
6650
6795
  :rtype: str
6651
6796
  """
6652
- return self._Field
6797
+ return self._FromTime
6653
6798
 
6654
- @Field.setter
6655
- def Field(self, Field):
6656
- self._Field = Field
6799
+ @FromTime.setter
6800
+ def FromTime(self, FromTime):
6801
+ self._FromTime = FromTime
6657
6802
 
6658
6803
  @property
6659
- def CompareFunc(self):
6660
- """Condition
6804
+ def ToTime(self):
6805
+ """Query end time
6661
6806
  :rtype: str
6662
6807
  """
6663
- return self._CompareFunc
6808
+ return self._ToTime
6664
6809
 
6665
- @CompareFunc.setter
6666
- def CompareFunc(self, CompareFunc):
6667
- self._CompareFunc = CompareFunc
6810
+ @ToTime.setter
6811
+ def ToTime(self, ToTime):
6812
+ self._ToTime = ToTime
6668
6813
 
6669
6814
  @property
6670
- def Content(self):
6671
- """Content
6672
- :rtype: str
6815
+ def Appid(self):
6816
+ """Customer app ID
6817
+ :rtype: int
6673
6818
  """
6674
- return self._Content
6675
-
6676
- @Content.setter
6677
- def Content(self, Content):
6678
- self._Content = Content
6679
-
6680
-
6681
- def _deserialize(self, params):
6682
- self._Field = params.get("Field")
6683
- self._CompareFunc = params.get("CompareFunc")
6684
- self._Content = params.get("Content")
6685
- memeber_set = set(params.keys())
6686
- for name, value in vars(self).items():
6687
- property_name = name[1:]
6688
- if property_name in memeber_set:
6689
- memeber_set.remove(property_name)
6690
- if len(memeber_set) > 0:
6691
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6692
-
6693
-
6694
-
6695
- class DescribeAntiInfoLeakageRulesRequest(AbstractModel):
6696
- """DescribeAntiInfoLeakageRules request structure.
6697
-
6698
- """
6819
+ return self._Appid
6699
6820
 
6700
- def __init__(self):
6701
- r"""
6702
- :param _Domain: Domain name
6703
- :type Domain: str
6704
- :param _Offset: Page turning support, read offset
6705
- :type Offset: int
6706
- :param _Limit: Paging support, read length limit
6707
- :type Limit: int
6708
- :param _Order: Sort method, asc or desc
6709
- :type Order: str
6710
- :param _Filters: Filter. The following values are allowed:
6711
- RuleId,Match_field,Name,Action,Status
6712
- :type Filters: list of FiltersItemNew
6713
- """
6714
- self._Domain = None
6715
- self._Offset = None
6716
- self._Limit = None
6717
- self._Order = None
6718
- self._Filters = None
6821
+ @Appid.setter
6822
+ def Appid(self, Appid):
6823
+ self._Appid = Appid
6719
6824
 
6720
6825
  @property
6721
6826
  def Domain(self):
6722
- """Domain name
6827
+ """Queried domain
6723
6828
  :rtype: str
6724
6829
  """
6725
6830
  return self._Domain
@@ -6729,62 +6834,35 @@ RuleId,Match_field,Name,Action,Status
6729
6834
  self._Domain = Domain
6730
6835
 
6731
6836
  @property
6732
- def Offset(self):
6733
- """Page turning support, read offset
6734
- :rtype: int
6735
- """
6736
- return self._Offset
6737
-
6738
- @Offset.setter
6739
- def Offset(self, Offset):
6740
- self._Offset = Offset
6741
-
6742
- @property
6743
- def Limit(self):
6744
- """Paging support, read length limit
6745
- :rtype: int
6746
- """
6747
- return self._Limit
6748
-
6749
- @Limit.setter
6750
- def Limit(self, Limit):
6751
- self._Limit = Limit
6752
-
6753
- @property
6754
- def Order(self):
6755
- """Sort method, asc or desc
6837
+ def Edition(self):
6838
+ """Only two values are valid: sparta-waf, clb-waf. No filtering if not input.
6756
6839
  :rtype: str
6757
6840
  """
6758
- return self._Order
6841
+ return self._Edition
6759
6842
 
6760
- @Order.setter
6761
- def Order(self, Order):
6762
- self._Order = Order
6843
+ @Edition.setter
6844
+ def Edition(self, Edition):
6845
+ self._Edition = Edition
6763
6846
 
6764
6847
  @property
6765
- def Filters(self):
6766
- """Filter. The following values are allowed:
6767
- RuleId,Match_field,Name,Action,Status
6768
- :rtype: list of FiltersItemNew
6848
+ def InstanceID(self):
6849
+ """WAF instance ID. No filter will be carried out if it is not input.
6850
+ :rtype: str
6769
6851
  """
6770
- return self._Filters
6771
-
6772
- @Filters.setter
6773
- def Filters(self, Filters):
6774
- self._Filters = Filters
6852
+ return self._InstanceID
6853
+
6854
+ @InstanceID.setter
6855
+ def InstanceID(self, InstanceID):
6856
+ self._InstanceID = InstanceID
6775
6857
 
6776
6858
 
6777
6859
  def _deserialize(self, params):
6860
+ self._FromTime = params.get("FromTime")
6861
+ self._ToTime = params.get("ToTime")
6862
+ self._Appid = params.get("Appid")
6778
6863
  self._Domain = params.get("Domain")
6779
- self._Offset = params.get("Offset")
6780
- self._Limit = params.get("Limit")
6781
- self._Order = params.get("Order")
6782
- if params.get("Filters") is not None:
6783
- self._Filters = []
6784
- for item in params.get("Filters"):
6785
- obj = FiltersItemNew()
6786
- obj._deserialize(item)
6787
- self._Filters.append(obj)
6864
+ self._Edition = params.get("Edition")
6865
+ self._InstanceID = params.get("InstanceID")
6788
6866
  memeber_set = set(params.keys())
6789
6867
  for name, value in vars(self).items():
6790
6868
  property_name = name[1:]
@@ -6795,223 +6873,215 @@ RuleId,Match_field,Name,Action,Status
6795
6873
 
6796
6874
 
6797
6875
 
6798
- class DescribeAntiInfoLeakageRulesResponse(AbstractModel):
6799
- """DescribeAntiInfoLeakageRules response structure.
6876
+ class DescribeAttackOverviewResponse(AbstractModel):
6877
+ """DescribeAttackOverview response structure.
6800
6878
 
6801
6879
  """
6802
6880
 
6803
6881
  def __init__(self):
6804
6882
  r"""
6805
- :param _Total: Number of records
6806
- :type Total: int
6807
- :param _RuleList: List of rules
6808
- :type RuleList: list of DescribeAntiLeakageItem
6883
+ :param _AccessCount: Total number of access requests
6884
+ :type AccessCount: int
6885
+ :param _AttackCount: Total web attacks
6886
+ :type AttackCount: int
6887
+ :param _ACLCount: Total number of access controls
6888
+ :type ACLCount: int
6889
+ :param _CCCount: Total CC attacks
6890
+ :type CCCount: int
6891
+ :param _BotCount: Total bot attack count
6892
+ :type BotCount: int
6893
+ :param _ApiAssetsCount: Total API assets
6894
+ :type ApiAssetsCount: int
6895
+ :param _ApiRiskEventCount: Number of API risk events
6896
+
6897
+ Note: This field may return null, indicating that no valid values can be obtained.
6898
+ :type ApiRiskEventCount: int
6899
+ :param _IPBlackCount: Total number of blocklisted IP addresses.
6900
+ Note: This field may return null, indicating that no valid values can be obtained.
6901
+ :type IPBlackCount: int
6902
+ :param _TamperCount: Total number of tamper-proof items
6903
+
6904
+ Note: This field may return null, indicating that no valid values can be obtained.
6905
+ :type TamperCount: int
6906
+ :param _LeakCount: Total number of information leaks
6907
+
6908
+ Note: This field may return null, indicating that no valid values can be obtained.
6909
+ :type LeakCount: int
6910
+ :param _ApiRiskEventCircleCount: Weekly proportion of API risk events.
6911
+
6912
+ Note: This field may return null, indicating that no valid values can be obtained.
6913
+ :type ApiRiskEventCircleCount: int
6809
6914
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6810
6915
  :type RequestId: str
6811
6916
  """
6812
- self._Total = None
6813
- self._RuleList = None
6917
+ self._AccessCount = None
6918
+ self._AttackCount = None
6919
+ self._ACLCount = None
6920
+ self._CCCount = None
6921
+ self._BotCount = None
6922
+ self._ApiAssetsCount = None
6923
+ self._ApiRiskEventCount = None
6924
+ self._IPBlackCount = None
6925
+ self._TamperCount = None
6926
+ self._LeakCount = None
6927
+ self._ApiRiskEventCircleCount = None
6814
6928
  self._RequestId = None
6815
6929
 
6816
6930
  @property
6817
- def Total(self):
6818
- """Number of records
6931
+ def AccessCount(self):
6932
+ """Total number of access requests
6819
6933
  :rtype: int
6820
6934
  """
6821
- return self._Total
6935
+ return self._AccessCount
6822
6936
 
6823
- @Total.setter
6824
- def Total(self, Total):
6825
- self._Total = Total
6937
+ @AccessCount.setter
6938
+ def AccessCount(self, AccessCount):
6939
+ self._AccessCount = AccessCount
6826
6940
 
6827
6941
  @property
6828
- def RuleList(self):
6829
- """List of rules
6830
- :rtype: list of DescribeAntiLeakageItem
6942
+ def AttackCount(self):
6943
+ """Total web attacks
6944
+ :rtype: int
6831
6945
  """
6832
- return self._RuleList
6946
+ return self._AttackCount
6833
6947
 
6834
- @RuleList.setter
6835
- def RuleList(self, RuleList):
6836
- self._RuleList = RuleList
6948
+ @AttackCount.setter
6949
+ def AttackCount(self, AttackCount):
6950
+ self._AttackCount = AttackCount
6837
6951
 
6838
6952
  @property
6839
- def RequestId(self):
6840
- """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6841
- :rtype: str
6953
+ def ACLCount(self):
6954
+ """Total number of access controls
6955
+ :rtype: int
6842
6956
  """
6843
- return self._RequestId
6844
-
6845
- @RequestId.setter
6846
- def RequestId(self, RequestId):
6847
- self._RequestId = RequestId
6848
-
6849
-
6850
- def _deserialize(self, params):
6851
- self._Total = params.get("Total")
6852
- if params.get("RuleList") is not None:
6853
- self._RuleList = []
6854
- for item in params.get("RuleList"):
6855
- obj = DescribeAntiLeakageItem()
6856
- obj._deserialize(item)
6857
- self._RuleList.append(obj)
6858
- self._RequestId = params.get("RequestId")
6859
-
6860
-
6861
- class DescribeAntiLeakageItem(AbstractModel):
6862
- """Output parameters
6863
-
6864
- """
6865
-
6866
- def __init__(self):
6867
- r"""
6868
- :param _RuleId: Rule ID
6869
- :type RuleId: int
6870
- :param _Name: Name
6871
- :type Name: str
6872
- :param _Status: Status value
6873
- :type Status: int
6874
- :param _Action: Action
6875
- :type Action: str
6876
- :param _CreateTime: Creation time
6877
- :type CreateTime: str
6878
- :param _Strategies: Match condition
6879
- Note: This field may return null, indicating that no valid values can be obtained.
6880
- :type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
6881
- :param _Uri: Matched URL
6882
-
6883
- Note: This field may return null, indicating that no valid values can be obtained.
6884
- :type Uri: str
6885
- :param _ModifyTime: Modification time
6957
+ return self._ACLCount
6886
6958
 
6887
- Note: This field may return null, indicating that no valid values can be obtained.
6888
- :type ModifyTime: str
6889
- """
6890
- self._RuleId = None
6891
- self._Name = None
6892
- self._Status = None
6893
- self._Action = None
6894
- self._CreateTime = None
6895
- self._Strategies = None
6896
- self._Uri = None
6897
- self._ModifyTime = None
6959
+ @ACLCount.setter
6960
+ def ACLCount(self, ACLCount):
6961
+ self._ACLCount = ACLCount
6898
6962
 
6899
6963
  @property
6900
- def RuleId(self):
6901
- """Rule ID
6964
+ def CCCount(self):
6965
+ """Total CC attacks
6902
6966
  :rtype: int
6903
6967
  """
6904
- return self._RuleId
6968
+ return self._CCCount
6905
6969
 
6906
- @RuleId.setter
6907
- def RuleId(self, RuleId):
6908
- self._RuleId = RuleId
6970
+ @CCCount.setter
6971
+ def CCCount(self, CCCount):
6972
+ self._CCCount = CCCount
6909
6973
 
6910
6974
  @property
6911
- def Name(self):
6912
- """Name
6913
- :rtype: str
6975
+ def BotCount(self):
6976
+ """Total bot attack count
6977
+ :rtype: int
6914
6978
  """
6915
- return self._Name
6979
+ return self._BotCount
6916
6980
 
6917
- @Name.setter
6918
- def Name(self, Name):
6919
- self._Name = Name
6981
+ @BotCount.setter
6982
+ def BotCount(self, BotCount):
6983
+ self._BotCount = BotCount
6920
6984
 
6921
6985
  @property
6922
- def Status(self):
6923
- """Status value
6986
+ def ApiAssetsCount(self):
6987
+ """Total API assets
6924
6988
  :rtype: int
6925
6989
  """
6926
- return self._Status
6990
+ return self._ApiAssetsCount
6927
6991
 
6928
- @Status.setter
6929
- def Status(self, Status):
6930
- self._Status = Status
6992
+ @ApiAssetsCount.setter
6993
+ def ApiAssetsCount(self, ApiAssetsCount):
6994
+ self._ApiAssetsCount = ApiAssetsCount
6931
6995
 
6932
6996
  @property
6933
- def Action(self):
6934
- """Action
6935
- :rtype: str
6997
+ def ApiRiskEventCount(self):
6998
+ """Number of API risk events
6999
+
7000
+ Note: This field may return null, indicating that no valid values can be obtained.
7001
+ :rtype: int
6936
7002
  """
6937
- return self._Action
7003
+ return self._ApiRiskEventCount
6938
7004
 
6939
- @Action.setter
6940
- def Action(self, Action):
6941
- self._Action = Action
7005
+ @ApiRiskEventCount.setter
7006
+ def ApiRiskEventCount(self, ApiRiskEventCount):
7007
+ self._ApiRiskEventCount = ApiRiskEventCount
6942
7008
 
6943
7009
  @property
6944
- def CreateTime(self):
6945
- """Creation time
6946
- :rtype: str
7010
+ def IPBlackCount(self):
7011
+ """Total number of blocklisted IP addresses.
7012
+ Note: This field may return null, indicating that no valid values can be obtained.
7013
+ :rtype: int
6947
7014
  """
6948
- return self._CreateTime
7015
+ return self._IPBlackCount
6949
7016
 
6950
- @CreateTime.setter
6951
- def CreateTime(self, CreateTime):
6952
- self._CreateTime = CreateTime
7017
+ @IPBlackCount.setter
7018
+ def IPBlackCount(self, IPBlackCount):
7019
+ self._IPBlackCount = IPBlackCount
6953
7020
 
6954
7021
  @property
6955
- def Strategies(self):
6956
- """Match condition
7022
+ def TamperCount(self):
7023
+ """Total number of tamper-proof items
7024
+
6957
7025
  Note: This field may return null, indicating that no valid values can be obtained.
6958
- :rtype: list of DescribeAntiInfoLeakRulesStrategyItem
7026
+ :rtype: int
6959
7027
  """
6960
- return self._Strategies
7028
+ return self._TamperCount
6961
7029
 
6962
- @Strategies.setter
6963
- def Strategies(self, Strategies):
6964
- self._Strategies = Strategies
7030
+ @TamperCount.setter
7031
+ def TamperCount(self, TamperCount):
7032
+ self._TamperCount = TamperCount
6965
7033
 
6966
7034
  @property
6967
- def Uri(self):
6968
- """Matched URL
7035
+ def LeakCount(self):
7036
+ """Total number of information leaks
6969
7037
 
6970
7038
  Note: This field may return null, indicating that no valid values can be obtained.
6971
- :rtype: str
7039
+ :rtype: int
6972
7040
  """
6973
- return self._Uri
7041
+ return self._LeakCount
6974
7042
 
6975
- @Uri.setter
6976
- def Uri(self, Uri):
6977
- self._Uri = Uri
7043
+ @LeakCount.setter
7044
+ def LeakCount(self, LeakCount):
7045
+ self._LeakCount = LeakCount
6978
7046
 
6979
7047
  @property
6980
- def ModifyTime(self):
6981
- """Modification time
7048
+ def ApiRiskEventCircleCount(self):
7049
+ """Weekly proportion of API risk events.
6982
7050
 
6983
7051
  Note: This field may return null, indicating that no valid values can be obtained.
7052
+ :rtype: int
7053
+ """
7054
+ return self._ApiRiskEventCircleCount
7055
+
7056
+ @ApiRiskEventCircleCount.setter
7057
+ def ApiRiskEventCircleCount(self, ApiRiskEventCircleCount):
7058
+ self._ApiRiskEventCircleCount = ApiRiskEventCircleCount
7059
+
7060
+ @property
7061
+ def RequestId(self):
7062
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6984
7063
  :rtype: str
6985
7064
  """
6986
- return self._ModifyTime
7065
+ return self._RequestId
6987
7066
 
6988
- @ModifyTime.setter
6989
- def ModifyTime(self, ModifyTime):
6990
- self._ModifyTime = ModifyTime
7067
+ @RequestId.setter
7068
+ def RequestId(self, RequestId):
7069
+ self._RequestId = RequestId
6991
7070
 
6992
7071
 
6993
7072
  def _deserialize(self, params):
6994
- self._RuleId = params.get("RuleId")
6995
- self._Name = params.get("Name")
6996
- self._Status = params.get("Status")
6997
- self._Action = params.get("Action")
6998
- self._CreateTime = params.get("CreateTime")
6999
- if params.get("Strategies") is not None:
7000
- self._Strategies = []
7001
- for item in params.get("Strategies"):
7002
- obj = DescribeAntiInfoLeakRulesStrategyItem()
7003
- obj._deserialize(item)
7004
- self._Strategies.append(obj)
7005
- self._Uri = params.get("Uri")
7006
- self._ModifyTime = params.get("ModifyTime")
7007
- memeber_set = set(params.keys())
7008
- for name, value in vars(self).items():
7009
- property_name = name[1:]
7010
- if property_name in memeber_set:
7011
- memeber_set.remove(property_name)
7012
- if len(memeber_set) > 0:
7013
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7014
-
7073
+ self._AccessCount = params.get("AccessCount")
7074
+ self._AttackCount = params.get("AttackCount")
7075
+ self._ACLCount = params.get("ACLCount")
7076
+ self._CCCount = params.get("CCCount")
7077
+ self._BotCount = params.get("BotCount")
7078
+ self._ApiAssetsCount = params.get("ApiAssetsCount")
7079
+ self._ApiRiskEventCount = params.get("ApiRiskEventCount")
7080
+ self._IPBlackCount = params.get("IPBlackCount")
7081
+ self._TamperCount = params.get("TamperCount")
7082
+ self._LeakCount = params.get("LeakCount")
7083
+ self._ApiRiskEventCircleCount = params.get("ApiRiskEventCircleCount")
7084
+ self._RequestId = params.get("RequestId")
7015
7085
 
7016
7086
 
7017
7087
  class DescribeAttackTypeRequest(AbstractModel):
@@ -7638,7 +7708,7 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
7638
7708
  r"""
7639
7709
  :param _Domain: Domain name
7640
7710
  :type Domain: str
7641
- :param _CertType: Certificate type. 0: no certificate, with only the HTTP listening port configured; 1: self-owned certificate; 2: managed certificate.
7711
+ :param _CertType: Certificate type. 0: Do not check international standard certificates; 1: The certificate is a self-owned certificate; 2: The certificate is a managed certificate.
7642
7712
  :type CertType: int
7643
7713
  :param _Certificate: When CertType is 1, this parameter is required, indicating the self-owned certificate chain
7644
7714
  :type Certificate: str
@@ -7646,12 +7716,30 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
7646
7716
  :type CertID: str
7647
7717
  :param _PrivateKey: When CertType=1, this parameter is required, indicating the private key of the self-owned certificate.
7648
7718
  :type PrivateKey: str
7719
+ :param _GmCertType: SM certificate type. 0: Do not check SM certificates; 1: The certificate is a self-owned SM certificate; 2: The certificate is a managed SM certificate.
7720
+ :type GmCertType: int
7721
+ :param _GmCert: When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
7722
+ :type GmCert: str
7723
+ :param _GmPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
7724
+ :type GmPrivateKey: str
7725
+ :param _GmEncCert: When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
7726
+ :type GmEncCert: str
7727
+ :param _GmEncPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
7728
+ :type GmEncPrivateKey: str
7729
+ :param _GmSSLId: When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
7730
+ :type GmSSLId: str
7649
7731
  """
7650
7732
  self._Domain = None
7651
7733
  self._CertType = None
7652
7734
  self._Certificate = None
7653
7735
  self._CertID = None
7654
7736
  self._PrivateKey = None
7737
+ self._GmCertType = None
7738
+ self._GmCert = None
7739
+ self._GmPrivateKey = None
7740
+ self._GmEncCert = None
7741
+ self._GmEncPrivateKey = None
7742
+ self._GmSSLId = None
7655
7743
 
7656
7744
  @property
7657
7745
  def Domain(self):
@@ -7666,47 +7754,113 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
7666
7754
 
7667
7755
  @property
7668
7756
  def CertType(self):
7669
- """Certificate type. 0: no certificate, with only the HTTP listening port configured; 1: self-owned certificate; 2: managed certificate.
7757
+ """Certificate type. 0: Do not check international standard certificates; 1: The certificate is a self-owned certificate; 2: The certificate is a managed certificate.
7758
+ :rtype: int
7759
+ """
7760
+ return self._CertType
7761
+
7762
+ @CertType.setter
7763
+ def CertType(self, CertType):
7764
+ self._CertType = CertType
7765
+
7766
+ @property
7767
+ def Certificate(self):
7768
+ """When CertType is 1, this parameter is required, indicating the self-owned certificate chain
7769
+ :rtype: str
7770
+ """
7771
+ return self._Certificate
7772
+
7773
+ @Certificate.setter
7774
+ def Certificate(self, Certificate):
7775
+ self._Certificate = Certificate
7776
+
7777
+ @property
7778
+ def CertID(self):
7779
+ """When CertType is 2, this parameter must be filled, indicating the certificate ID hosted on Tencent Cloud's SSL platform
7780
+ :rtype: str
7781
+ """
7782
+ return self._CertID
7783
+
7784
+ @CertID.setter
7785
+ def CertID(self, CertID):
7786
+ self._CertID = CertID
7787
+
7788
+ @property
7789
+ def PrivateKey(self):
7790
+ """When CertType=1, this parameter is required, indicating the private key of the self-owned certificate.
7791
+ :rtype: str
7792
+ """
7793
+ return self._PrivateKey
7794
+
7795
+ @PrivateKey.setter
7796
+ def PrivateKey(self, PrivateKey):
7797
+ self._PrivateKey = PrivateKey
7798
+
7799
+ @property
7800
+ def GmCertType(self):
7801
+ """SM certificate type. 0: Do not check SM certificates; 1: The certificate is a self-owned SM certificate; 2: The certificate is a managed SM certificate.
7670
7802
  :rtype: int
7671
7803
  """
7672
- return self._CertType
7804
+ return self._GmCertType
7805
+
7806
+ @GmCertType.setter
7807
+ def GmCertType(self, GmCertType):
7808
+ self._GmCertType = GmCertType
7809
+
7810
+ @property
7811
+ def GmCert(self):
7812
+ """When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
7813
+ :rtype: str
7814
+ """
7815
+ return self._GmCert
7816
+
7817
+ @GmCert.setter
7818
+ def GmCert(self, GmCert):
7819
+ self._GmCert = GmCert
7820
+
7821
+ @property
7822
+ def GmPrivateKey(self):
7823
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
7824
+ :rtype: str
7825
+ """
7826
+ return self._GmPrivateKey
7673
7827
 
7674
- @CertType.setter
7675
- def CertType(self, CertType):
7676
- self._CertType = CertType
7828
+ @GmPrivateKey.setter
7829
+ def GmPrivateKey(self, GmPrivateKey):
7830
+ self._GmPrivateKey = GmPrivateKey
7677
7831
 
7678
7832
  @property
7679
- def Certificate(self):
7680
- """When CertType is 1, this parameter is required, indicating the self-owned certificate chain
7833
+ def GmEncCert(self):
7834
+ """When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
7681
7835
  :rtype: str
7682
7836
  """
7683
- return self._Certificate
7837
+ return self._GmEncCert
7684
7838
 
7685
- @Certificate.setter
7686
- def Certificate(self, Certificate):
7687
- self._Certificate = Certificate
7839
+ @GmEncCert.setter
7840
+ def GmEncCert(self, GmEncCert):
7841
+ self._GmEncCert = GmEncCert
7688
7842
 
7689
7843
  @property
7690
- def CertID(self):
7691
- """When CertType is 2, this parameter must be filled, indicating the certificate ID hosted on Tencent Cloud's SSL platform
7844
+ def GmEncPrivateKey(self):
7845
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
7692
7846
  :rtype: str
7693
7847
  """
7694
- return self._CertID
7848
+ return self._GmEncPrivateKey
7695
7849
 
7696
- @CertID.setter
7697
- def CertID(self, CertID):
7698
- self._CertID = CertID
7850
+ @GmEncPrivateKey.setter
7851
+ def GmEncPrivateKey(self, GmEncPrivateKey):
7852
+ self._GmEncPrivateKey = GmEncPrivateKey
7699
7853
 
7700
7854
  @property
7701
- def PrivateKey(self):
7702
- """When CertType=1, this parameter is required, indicating the private key of the self-owned certificate.
7855
+ def GmSSLId(self):
7856
+ """When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
7703
7857
  :rtype: str
7704
7858
  """
7705
- return self._PrivateKey
7859
+ return self._GmSSLId
7706
7860
 
7707
- @PrivateKey.setter
7708
- def PrivateKey(self, PrivateKey):
7709
- self._PrivateKey = PrivateKey
7861
+ @GmSSLId.setter
7862
+ def GmSSLId(self, GmSSLId):
7863
+ self._GmSSLId = GmSSLId
7710
7864
 
7711
7865
 
7712
7866
  def _deserialize(self, params):
@@ -7715,6 +7869,12 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
7715
7869
  self._Certificate = params.get("Certificate")
7716
7870
  self._CertID = params.get("CertID")
7717
7871
  self._PrivateKey = params.get("PrivateKey")
7872
+ self._GmCertType = params.get("GmCertType")
7873
+ self._GmCert = params.get("GmCert")
7874
+ self._GmPrivateKey = params.get("GmPrivateKey")
7875
+ self._GmEncCert = params.get("GmEncCert")
7876
+ self._GmEncPrivateKey = params.get("GmEncPrivateKey")
7877
+ self._GmSSLId = params.get("GmSSLId")
7718
7878
  memeber_set = set(params.keys())
7719
7879
  for name, value in vars(self).items():
7720
7880
  property_name = name[1:]
@@ -9063,7 +9223,7 @@ class DescribeDomainsRequest(AbstractModel):
9063
9223
  :type Offset: int
9064
9224
  :param _Limit: Number of returned domains
9065
9225
  :type Limit: int
9066
- :param _Filters: Filter array
9226
+ :param _Filters: Filter array. The filter fields are as follows. Edition: instance version, which can be set to sparta-waf or clb-waf; Domain: domain name; DomainId: domain name ID; InstanceName: instance name; InstanceId: instance ID; FlowMode: traffic access mode, which supports only CLB WAF; FlowCheckMode: traffic inspection mode, which supports only CLB WAF; ClsStatus: log switch; Status: WAF switch; BotStatus: BOT switch; ApiStatus: API security switch; Engine: engine mode; UpstreamIP: origin server IP address, which supports only SaaS WAF; UpstreamDomain: origin server domain name, which supports only SaaS WAF; DomainState: domain name status, which supports only SaaS WAF; SgState: security group status, which supports only SaaS WAF; Label: group tag, which supports the filtering of only one tag at a time.
9067
9227
  :type Filters: list of FiltersItemNew
9068
9228
  """
9069
9229
  self._Offset = None
@@ -9094,7 +9254,7 @@ class DescribeDomainsRequest(AbstractModel):
9094
9254
 
9095
9255
  @property
9096
9256
  def Filters(self):
9097
- """Filter array
9257
+ """Filter array. The filter fields are as follows. Edition: instance version, which can be set to sparta-waf or clb-waf; Domain: domain name; DomainId: domain name ID; InstanceName: instance name; InstanceId: instance ID; FlowMode: traffic access mode, which supports only CLB WAF; FlowCheckMode: traffic inspection mode, which supports only CLB WAF; ClsStatus: log switch; Status: WAF switch; BotStatus: BOT switch; ApiStatus: API security switch; Engine: engine mode; UpstreamIP: origin server IP address, which supports only SaaS WAF; UpstreamDomain: origin server domain name, which supports only SaaS WAF; DomainState: domain name status, which supports only SaaS WAF; SgState: security group status, which supports only SaaS WAF; Label: group tag, which supports the filtering of only one tag at a time.
9098
9258
  :rtype: list of FiltersItemNew
9099
9259
  """
9100
9260
  return self._Filters
@@ -12019,14 +12179,14 @@ class DescribeUserClbWafRegionsRequest(AbstractModel):
12019
12179
 
12020
12180
  def __init__(self):
12021
12181
  r"""
12022
- :param _AlbType:
12182
+ :param _AlbType: Traffic source. The default value is clb if not specified. clb: Cloud Load Balancer; tsegw: cloud-native API gateway; scf: Serverless Cloud Function; apisix: other gateways on Tencent Cloud.
12023
12183
  :type AlbType: str
12024
12184
  """
12025
12185
  self._AlbType = None
12026
12186
 
12027
12187
  @property
12028
12188
  def AlbType(self):
12029
- """
12189
+ """Traffic source. The default value is clb if not specified. clb: Cloud Load Balancer; tsegw: cloud-native API gateway; scf: Serverless Cloud Function; apisix: other gateways on Tencent Cloud.
12030
12190
  :rtype: str
12031
12191
  """
12032
12192
  return self._AlbType
@@ -12595,6 +12755,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
12595
12755
  :param _AccessStatus: CLB WAF access status
12596
12756
  Note: This field may return null, indicating that no valid values can be obtained.
12597
12757
  :type AccessStatus: int
12758
+ :param _Labels: Domain name tag.
12759
+ Note: This field may return null, indicating that no valid values can be obtained.
12760
+ :type Labels: list of str
12598
12761
  """
12599
12762
  self._Domain = None
12600
12763
  self._DomainId = None
@@ -12631,6 +12794,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
12631
12794
  self._UpstreamDomainList = None
12632
12795
  self._SgID = None
12633
12796
  self._AccessStatus = None
12797
+ self._Labels = None
12634
12798
 
12635
12799
  @property
12636
12800
  def Domain(self):
@@ -13105,6 +13269,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
13105
13269
  def AccessStatus(self, AccessStatus):
13106
13270
  self._AccessStatus = AccessStatus
13107
13271
 
13272
+ @property
13273
+ def Labels(self):
13274
+ """Domain name tag.
13275
+ Note: This field may return null, indicating that no valid values can be obtained.
13276
+ :rtype: list of str
13277
+ """
13278
+ return self._Labels
13279
+
13280
+ @Labels.setter
13281
+ def Labels(self, Labels):
13282
+ self._Labels = Labels
13283
+
13108
13284
 
13109
13285
  def _deserialize(self, params):
13110
13286
  self._Domain = params.get("Domain")
@@ -13152,6 +13328,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
13152
13328
  self._UpstreamDomainList = params.get("UpstreamDomainList")
13153
13329
  self._SgID = params.get("SgID")
13154
13330
  self._AccessStatus = params.get("AccessStatus")
13331
+ self._Labels = params.get("Labels")
13155
13332
  memeber_set = set(params.keys())
13156
13333
  for name, value in vars(self).items():
13157
13334
  property_name = name[1:]
@@ -13564,6 +13741,30 @@ Note: This field may return null, indicating that no valid values can be obtaine
13564
13741
  :param _ProxyBuffer: Whether to enable caching. 0: disable; 1: enable.
13565
13742
  Note: This field may return null, indicating that no valid values can be obtained.
13566
13743
  :type ProxyBuffer: int
13744
+ :param _GmType: Whether to enable SM. 0: do not enable SM; 1: add support for SM based on the existing TLS option; 2: enable SM and support only SM client access.
13745
+ Note: This field may return null, indicating that no valid values can be obtained.
13746
+ :type GmType: int
13747
+ :param _GmCertType: SM certificate type. 0: no SM certificate is available; 1: the certificate is a self-owned SM certificate; 2: the certificate is a managed SM certificate.
13748
+ Note: This field may return null, indicating that no valid values can be obtained.
13749
+ :type GmCertType: int
13750
+ :param _GmCert: When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
13751
+ Note: This field may return null, indicating that no valid values can be obtained.
13752
+ :type GmCert: str
13753
+ :param _GmPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
13754
+ Note: This field may return null, indicating that no valid values can be obtained.
13755
+ :type GmPrivateKey: str
13756
+ :param _GmEncCert: When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
13757
+ Note: This field may return null, indicating that no valid values can be obtained.
13758
+ :type GmEncCert: str
13759
+ :param _GmEncPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
13760
+ Note: This field may return null, indicating that no valid values can be obtained.
13761
+ :type GmEncPrivateKey: str
13762
+ :param _GmSSLId: When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
13763
+ Note: This field may return null, indicating that no valid values can be obtained.
13764
+ :type GmSSLId: str
13765
+ :param _Labels: Domain name tag.
13766
+ Note: This field may return null, indicating that no valid values can be obtained.
13767
+ :type Labels: list of str
13567
13768
  """
13568
13769
  self._Domain = None
13569
13770
  self._DomainId = None
@@ -13607,6 +13808,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
13607
13808
  self._UpstreamHost = None
13608
13809
  self._Level = None
13609
13810
  self._ProxyBuffer = None
13811
+ self._GmType = None
13812
+ self._GmCertType = None
13813
+ self._GmCert = None
13814
+ self._GmPrivateKey = None
13815
+ self._GmEncCert = None
13816
+ self._GmEncPrivateKey = None
13817
+ self._GmSSLId = None
13818
+ self._Labels = None
13610
13819
 
13611
13820
  @property
13612
13821
  def Domain(self):
@@ -14136,6 +14345,102 @@ Note: This field may return null, indicating that no valid values can be obtaine
14136
14345
  def ProxyBuffer(self, ProxyBuffer):
14137
14346
  self._ProxyBuffer = ProxyBuffer
14138
14347
 
14348
+ @property
14349
+ def GmType(self):
14350
+ """Whether to enable SM. 0: do not enable SM; 1: add support for SM based on the existing TLS option; 2: enable SM and support only SM client access.
14351
+ Note: This field may return null, indicating that no valid values can be obtained.
14352
+ :rtype: int
14353
+ """
14354
+ return self._GmType
14355
+
14356
+ @GmType.setter
14357
+ def GmType(self, GmType):
14358
+ self._GmType = GmType
14359
+
14360
+ @property
14361
+ def GmCertType(self):
14362
+ """SM certificate type. 0: no SM certificate is available; 1: the certificate is a self-owned SM certificate; 2: the certificate is a managed SM certificate.
14363
+ Note: This field may return null, indicating that no valid values can be obtained.
14364
+ :rtype: int
14365
+ """
14366
+ return self._GmCertType
14367
+
14368
+ @GmCertType.setter
14369
+ def GmCertType(self, GmCertType):
14370
+ self._GmCertType = GmCertType
14371
+
14372
+ @property
14373
+ def GmCert(self):
14374
+ """When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
14375
+ Note: This field may return null, indicating that no valid values can be obtained.
14376
+ :rtype: str
14377
+ """
14378
+ return self._GmCert
14379
+
14380
+ @GmCert.setter
14381
+ def GmCert(self, GmCert):
14382
+ self._GmCert = GmCert
14383
+
14384
+ @property
14385
+ def GmPrivateKey(self):
14386
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
14387
+ Note: This field may return null, indicating that no valid values can be obtained.
14388
+ :rtype: str
14389
+ """
14390
+ return self._GmPrivateKey
14391
+
14392
+ @GmPrivateKey.setter
14393
+ def GmPrivateKey(self, GmPrivateKey):
14394
+ self._GmPrivateKey = GmPrivateKey
14395
+
14396
+ @property
14397
+ def GmEncCert(self):
14398
+ """When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
14399
+ Note: This field may return null, indicating that no valid values can be obtained.
14400
+ :rtype: str
14401
+ """
14402
+ return self._GmEncCert
14403
+
14404
+ @GmEncCert.setter
14405
+ def GmEncCert(self, GmEncCert):
14406
+ self._GmEncCert = GmEncCert
14407
+
14408
+ @property
14409
+ def GmEncPrivateKey(self):
14410
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
14411
+ Note: This field may return null, indicating that no valid values can be obtained.
14412
+ :rtype: str
14413
+ """
14414
+ return self._GmEncPrivateKey
14415
+
14416
+ @GmEncPrivateKey.setter
14417
+ def GmEncPrivateKey(self, GmEncPrivateKey):
14418
+ self._GmEncPrivateKey = GmEncPrivateKey
14419
+
14420
+ @property
14421
+ def GmSSLId(self):
14422
+ """When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
14423
+ Note: This field may return null, indicating that no valid values can be obtained.
14424
+ :rtype: str
14425
+ """
14426
+ return self._GmSSLId
14427
+
14428
+ @GmSSLId.setter
14429
+ def GmSSLId(self, GmSSLId):
14430
+ self._GmSSLId = GmSSLId
14431
+
14432
+ @property
14433
+ def Labels(self):
14434
+ """Domain name tag.
14435
+ Note: This field may return null, indicating that no valid values can be obtained.
14436
+ :rtype: list of str
14437
+ """
14438
+ return self._Labels
14439
+
14440
+ @Labels.setter
14441
+ def Labels(self, Labels):
14442
+ self._Labels = Labels
14443
+
14139
14444
 
14140
14445
  def _deserialize(self, params):
14141
14446
  self._Domain = params.get("Domain")
@@ -14185,6 +14490,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
14185
14490
  self._UpstreamHost = params.get("UpstreamHost")
14186
14491
  self._Level = params.get("Level")
14187
14492
  self._ProxyBuffer = params.get("ProxyBuffer")
14493
+ self._GmType = params.get("GmType")
14494
+ self._GmCertType = params.get("GmCertType")
14495
+ self._GmCert = params.get("GmCert")
14496
+ self._GmPrivateKey = params.get("GmPrivateKey")
14497
+ self._GmEncCert = params.get("GmEncCert")
14498
+ self._GmEncPrivateKey = params.get("GmEncPrivateKey")
14499
+ self._GmSSLId = params.get("GmSSLId")
14500
+ self._Labels = params.get("Labels")
14188
14501
  memeber_set = set(params.keys())
14189
14502
  for name, value in vars(self).items():
14190
14503
  property_name = name[1:]
@@ -14669,37 +14982,220 @@ class FreshAntiFakeUrlResponse(AbstractModel):
14669
14982
  self._RequestId = params.get("RequestId")
14670
14983
 
14671
14984
 
14672
- class GenerateDealsAndPayNewRequest(AbstractModel):
14673
- """GenerateDealsAndPayNew request structure.
14985
+ class GenerateDealsAndPayNewRequest(AbstractModel):
14986
+ """GenerateDealsAndPayNew request structure.
14987
+
14988
+ """
14989
+
14990
+ def __init__(self):
14991
+ r"""
14992
+ :param _Goods: Billing and ordering input parameters
14993
+ :type Goods: list of GoodNews
14994
+ """
14995
+ self._Goods = None
14996
+
14997
+ @property
14998
+ def Goods(self):
14999
+ """Billing and ordering input parameters
15000
+ :rtype: list of GoodNews
15001
+ """
15002
+ return self._Goods
15003
+
15004
+ @Goods.setter
15005
+ def Goods(self, Goods):
15006
+ self._Goods = Goods
15007
+
15008
+
15009
+ def _deserialize(self, params):
15010
+ if params.get("Goods") is not None:
15011
+ self._Goods = []
15012
+ for item in params.get("Goods"):
15013
+ obj = GoodNews()
15014
+ obj._deserialize(item)
15015
+ self._Goods.append(obj)
15016
+ memeber_set = set(params.keys())
15017
+ for name, value in vars(self).items():
15018
+ property_name = name[1:]
15019
+ if property_name in memeber_set:
15020
+ memeber_set.remove(property_name)
15021
+ if len(memeber_set) > 0:
15022
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15023
+
15024
+
15025
+
15026
+ class GenerateDealsAndPayNewResponse(AbstractModel):
15027
+ """GenerateDealsAndPayNew response structure.
15028
+
15029
+ """
15030
+
15031
+ def __init__(self):
15032
+ r"""
15033
+ :param _Data: Billing order response structure
15034
+
15035
+ Note: This field may return null, indicating that no valid values can be obtained.
15036
+ :type Data: :class:`tencentcloud.waf.v20180125.models.DealData`
15037
+ :param _Status: 1: Success, 0: Failure
15038
+ :type Status: int
15039
+ :param _ReturnMessage: Returned message
15040
+
15041
+ Note: This field may return null, indicating that no valid values can be obtained.
15042
+ :type ReturnMessage: str
15043
+ :param _InstanceId: Purchased instance ID
15044
+
15045
+ Note: This field may return null, indicating that no valid values can be obtained.
15046
+ :type InstanceId: str
15047
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
15048
+ :type RequestId: str
15049
+ """
15050
+ self._Data = None
15051
+ self._Status = None
15052
+ self._ReturnMessage = None
15053
+ self._InstanceId = None
15054
+ self._RequestId = None
15055
+
15056
+ @property
15057
+ def Data(self):
15058
+ """Billing order response structure
15059
+
15060
+ Note: This field may return null, indicating that no valid values can be obtained.
15061
+ :rtype: :class:`tencentcloud.waf.v20180125.models.DealData`
15062
+ """
15063
+ return self._Data
15064
+
15065
+ @Data.setter
15066
+ def Data(self, Data):
15067
+ self._Data = Data
15068
+
15069
+ @property
15070
+ def Status(self):
15071
+ """1: Success, 0: Failure
15072
+ :rtype: int
15073
+ """
15074
+ return self._Status
15075
+
15076
+ @Status.setter
15077
+ def Status(self, Status):
15078
+ self._Status = Status
15079
+
15080
+ @property
15081
+ def ReturnMessage(self):
15082
+ """Returned message
15083
+
15084
+ Note: This field may return null, indicating that no valid values can be obtained.
15085
+ :rtype: str
15086
+ """
15087
+ return self._ReturnMessage
15088
+
15089
+ @ReturnMessage.setter
15090
+ def ReturnMessage(self, ReturnMessage):
15091
+ self._ReturnMessage = ReturnMessage
15092
+
15093
+ @property
15094
+ def InstanceId(self):
15095
+ """Purchased instance ID
15096
+
15097
+ Note: This field may return null, indicating that no valid values can be obtained.
15098
+ :rtype: str
15099
+ """
15100
+ return self._InstanceId
15101
+
15102
+ @InstanceId.setter
15103
+ def InstanceId(self, InstanceId):
15104
+ self._InstanceId = InstanceId
15105
+
15106
+ @property
15107
+ def RequestId(self):
15108
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
15109
+ :rtype: str
15110
+ """
15111
+ return self._RequestId
15112
+
15113
+ @RequestId.setter
15114
+ def RequestId(self, RequestId):
15115
+ self._RequestId = RequestId
15116
+
15117
+
15118
+ def _deserialize(self, params):
15119
+ if params.get("Data") is not None:
15120
+ self._Data = DealData()
15121
+ self._Data._deserialize(params.get("Data"))
15122
+ self._Status = params.get("Status")
15123
+ self._ReturnMessage = params.get("ReturnMessage")
15124
+ self._InstanceId = params.get("InstanceId")
15125
+ self._RequestId = params.get("RequestId")
15126
+
15127
+
15128
+ class GetAttackHistogramRequest(AbstractModel):
15129
+ """GetAttackHistogram request structure.
15130
+
15131
+ """
15132
+
15133
+ def __init__(self):
15134
+ r"""
15135
+ :param _Domain: Queried domain: use all for all domains
15136
+ :type Domain: str
15137
+ :param _StartTime: Query start time
15138
+ :type StartTime: str
15139
+ :param _EndTime: Query end time
15140
+ :type EndTime: str
15141
+ :param _QueryString: Lucene syntax.
15142
+ :type QueryString: str
15143
+ """
15144
+ self._Domain = None
15145
+ self._StartTime = None
15146
+ self._EndTime = None
15147
+ self._QueryString = None
15148
+
15149
+ @property
15150
+ def Domain(self):
15151
+ """Queried domain: use all for all domains
15152
+ :rtype: str
15153
+ """
15154
+ return self._Domain
15155
+
15156
+ @Domain.setter
15157
+ def Domain(self, Domain):
15158
+ self._Domain = Domain
15159
+
15160
+ @property
15161
+ def StartTime(self):
15162
+ """Query start time
15163
+ :rtype: str
15164
+ """
15165
+ return self._StartTime
14674
15166
 
14675
- """
15167
+ @StartTime.setter
15168
+ def StartTime(self, StartTime):
15169
+ self._StartTime = StartTime
14676
15170
 
14677
- def __init__(self):
14678
- r"""
14679
- :param _Goods: Billing and ordering input parameters
14680
- :type Goods: list of GoodNews
15171
+ @property
15172
+ def EndTime(self):
15173
+ """Query end time
15174
+ :rtype: str
14681
15175
  """
14682
- self._Goods = None
15176
+ return self._EndTime
15177
+
15178
+ @EndTime.setter
15179
+ def EndTime(self, EndTime):
15180
+ self._EndTime = EndTime
14683
15181
 
14684
15182
  @property
14685
- def Goods(self):
14686
- """Billing and ordering input parameters
14687
- :rtype: list of GoodNews
15183
+ def QueryString(self):
15184
+ """Lucene syntax.
15185
+ :rtype: str
14688
15186
  """
14689
- return self._Goods
15187
+ return self._QueryString
14690
15188
 
14691
- @Goods.setter
14692
- def Goods(self, Goods):
14693
- self._Goods = Goods
15189
+ @QueryString.setter
15190
+ def QueryString(self, QueryString):
15191
+ self._QueryString = QueryString
14694
15192
 
14695
15193
 
14696
15194
  def _deserialize(self, params):
14697
- if params.get("Goods") is not None:
14698
- self._Goods = []
14699
- for item in params.get("Goods"):
14700
- obj = GoodNews()
14701
- obj._deserialize(item)
14702
- self._Goods.append(obj)
15195
+ self._Domain = params.get("Domain")
15196
+ self._StartTime = params.get("StartTime")
15197
+ self._EndTime = params.get("EndTime")
15198
+ self._QueryString = params.get("QueryString")
14703
15199
  memeber_set = set(params.keys())
14704
15200
  for name, value in vars(self).items():
14705
15201
  property_name = name[1:]
@@ -14710,42 +15206,31 @@ class GenerateDealsAndPayNewRequest(AbstractModel):
14710
15206
 
14711
15207
 
14712
15208
 
14713
- class GenerateDealsAndPayNewResponse(AbstractModel):
14714
- """GenerateDealsAndPayNew response structure.
15209
+ class GetAttackHistogramResponse(AbstractModel):
15210
+ """GetAttackHistogram response structure.
14715
15211
 
14716
15212
  """
14717
15213
 
14718
15214
  def __init__(self):
14719
15215
  r"""
14720
- :param _Data: Billing order response structure
14721
-
14722
- Note: This field may return null, indicating that no valid values can be obtained.
14723
- :type Data: :class:`tencentcloud.waf.v20180125.models.DealData`
14724
- :param _Status: 1: Success, 0: Failure
14725
- :type Status: int
14726
- :param _ReturnMessage: Returned message
14727
-
14728
- Note: This field may return null, indicating that no valid values can be obtained.
14729
- :type ReturnMessage: str
14730
- :param _InstanceId: Purchased instance ID
14731
-
14732
- Note: This field may return null, indicating that no valid values can be obtained.
14733
- :type InstanceId: str
15216
+ :param _Data: Statistics details
15217
+ :type Data: list of LogHistogramInfo
15218
+ :param _Period: Time period size
15219
+ :type Period: int
15220
+ :param _TotalCount: Number of entries counted
15221
+ :type TotalCount: int
14734
15222
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
14735
15223
  :type RequestId: str
14736
15224
  """
14737
15225
  self._Data = None
14738
- self._Status = None
14739
- self._ReturnMessage = None
14740
- self._InstanceId = None
15226
+ self._Period = None
15227
+ self._TotalCount = None
14741
15228
  self._RequestId = None
14742
15229
 
14743
15230
  @property
14744
15231
  def Data(self):
14745
- """Billing order response structure
14746
-
14747
- Note: This field may return null, indicating that no valid values can be obtained.
14748
- :rtype: :class:`tencentcloud.waf.v20180125.models.DealData`
15232
+ """Statistics details
15233
+ :rtype: list of LogHistogramInfo
14749
15234
  """
14750
15235
  return self._Data
14751
15236
 
@@ -14754,41 +15239,26 @@ Note: This field may return null, indicating that no valid values can be obtaine
14754
15239
  self._Data = Data
14755
15240
 
14756
15241
  @property
14757
- def Status(self):
14758
- """1: Success, 0: Failure
15242
+ def Period(self):
15243
+ """Time period size
14759
15244
  :rtype: int
14760
15245
  """
14761
- return self._Status
14762
-
14763
- @Status.setter
14764
- def Status(self, Status):
14765
- self._Status = Status
14766
-
14767
- @property
14768
- def ReturnMessage(self):
14769
- """Returned message
14770
-
14771
- Note: This field may return null, indicating that no valid values can be obtained.
14772
- :rtype: str
14773
- """
14774
- return self._ReturnMessage
15246
+ return self._Period
14775
15247
 
14776
- @ReturnMessage.setter
14777
- def ReturnMessage(self, ReturnMessage):
14778
- self._ReturnMessage = ReturnMessage
15248
+ @Period.setter
15249
+ def Period(self, Period):
15250
+ self._Period = Period
14779
15251
 
14780
15252
  @property
14781
- def InstanceId(self):
14782
- """Purchased instance ID
14783
-
14784
- Note: This field may return null, indicating that no valid values can be obtained.
14785
- :rtype: str
15253
+ def TotalCount(self):
15254
+ """Number of entries counted
15255
+ :rtype: int
14786
15256
  """
14787
- return self._InstanceId
15257
+ return self._TotalCount
14788
15258
 
14789
- @InstanceId.setter
14790
- def InstanceId(self, InstanceId):
14791
- self._InstanceId = InstanceId
15259
+ @TotalCount.setter
15260
+ def TotalCount(self, TotalCount):
15261
+ self._TotalCount = TotalCount
14792
15262
 
14793
15263
  @property
14794
15264
  def RequestId(self):
@@ -14804,11 +15274,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
14804
15274
 
14805
15275
  def _deserialize(self, params):
14806
15276
  if params.get("Data") is not None:
14807
- self._Data = DealData()
14808
- self._Data._deserialize(params.get("Data"))
14809
- self._Status = params.get("Status")
14810
- self._ReturnMessage = params.get("ReturnMessage")
14811
- self._InstanceId = params.get("InstanceId")
15277
+ self._Data = []
15278
+ for item in params.get("Data"):
15279
+ obj = LogHistogramInfo()
15280
+ obj._deserialize(item)
15281
+ self._Data.append(obj)
15282
+ self._Period = params.get("Period")
15283
+ self._TotalCount = params.get("TotalCount")
14812
15284
  self._RequestId = params.get("RequestId")
14813
15285
 
14814
15286
 
@@ -15243,6 +15715,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
15243
15715
 
15244
15716
  Note: This field may return null, indicating that no valid values can be obtained.
15245
15717
  :type ResourceId: str
15718
+ :param _MicroVersion: CLB WAF or SaaS WAF mode.
15719
+ Note: This field may return null, indicating that no valid values can be obtained.
15720
+ :type MicroVersion: str
15246
15721
  """
15247
15722
  self._TimeSpan = None
15248
15723
  self._TimeUnit = None
@@ -15256,6 +15731,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
15256
15731
  self._CurDeadline = None
15257
15732
  self._InstanceId = None
15258
15733
  self._ResourceId = None
15734
+ self._MicroVersion = None
15259
15735
 
15260
15736
  @property
15261
15737
  def TimeSpan(self):
@@ -15452,6 +15928,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
15452
15928
  def ResourceId(self, ResourceId):
15453
15929
  self._ResourceId = ResourceId
15454
15930
 
15931
+ @property
15932
+ def MicroVersion(self):
15933
+ """CLB WAF or SaaS WAF mode.
15934
+ Note: This field may return null, indicating that no valid values can be obtained.
15935
+ :rtype: str
15936
+ """
15937
+ return self._MicroVersion
15938
+
15939
+ @MicroVersion.setter
15940
+ def MicroVersion(self, MicroVersion):
15941
+ self._MicroVersion = MicroVersion
15942
+
15455
15943
 
15456
15944
  def _deserialize(self, params):
15457
15945
  self._TimeSpan = params.get("TimeSpan")
@@ -15466,6 +15954,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
15466
15954
  self._CurDeadline = params.get("CurDeadline")
15467
15955
  self._InstanceId = params.get("InstanceId")
15468
15956
  self._ResourceId = params.get("ResourceId")
15957
+ self._MicroVersion = params.get("MicroVersion")
15469
15958
  memeber_set = set(params.keys())
15470
15959
  for name, value in vars(self).items():
15471
15960
  property_name = name[1:]
@@ -18125,6 +18614,57 @@ Note: This field may return null, indicating that no valid values can be obtaine
18125
18614
 
18126
18615
 
18127
18616
 
18617
+ class LogHistogramInfo(AbstractModel):
18618
+ """Attack Log Statistical Details
18619
+
18620
+ """
18621
+
18622
+ def __init__(self):
18623
+ r"""
18624
+ :param _Count: Number of logs.
18625
+ :type Count: int
18626
+ :param _TimeStamp: Timestamp.
18627
+ :type TimeStamp: int
18628
+ """
18629
+ self._Count = None
18630
+ self._TimeStamp = None
18631
+
18632
+ @property
18633
+ def Count(self):
18634
+ """Number of logs.
18635
+ :rtype: int
18636
+ """
18637
+ return self._Count
18638
+
18639
+ @Count.setter
18640
+ def Count(self, Count):
18641
+ self._Count = Count
18642
+
18643
+ @property
18644
+ def TimeStamp(self):
18645
+ """Timestamp.
18646
+ :rtype: int
18647
+ """
18648
+ return self._TimeStamp
18649
+
18650
+ @TimeStamp.setter
18651
+ def TimeStamp(self, TimeStamp):
18652
+ self._TimeStamp = TimeStamp
18653
+
18654
+
18655
+ def _deserialize(self, params):
18656
+ self._Count = params.get("Count")
18657
+ self._TimeStamp = params.get("TimeStamp")
18658
+ memeber_set = set(params.keys())
18659
+ for name, value in vars(self).items():
18660
+ property_name = name[1:]
18661
+ if property_name in memeber_set:
18662
+ memeber_set.remove(property_name)
18663
+ if len(memeber_set) > 0:
18664
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18665
+
18666
+
18667
+
18128
18668
  class MajorEventsPkg(AbstractModel):
18129
18669
  """Key protection resource information
18130
18670
 
@@ -20397,6 +20937,100 @@ class ModifyDomainIpv6StatusResponse(AbstractModel):
20397
20937
  self._RequestId = params.get("RequestId")
20398
20938
 
20399
20939
 
20940
+ class ModifyDomainPostActionRequest(AbstractModel):
20941
+ """ModifyDomainPostAction request structure.
20942
+
20943
+ """
20944
+
20945
+ def __init__(self):
20946
+ r"""
20947
+ :param _Domain: www.tx.com
20948
+ :type Domain: str
20949
+ :param _PostCLSAction: 0- Disable shipping, 1- Enable shipping
20950
+ :type PostCLSAction: int
20951
+ :param _PostCKafkaAction: 0- Disable shipping, 1- Enable shipping
20952
+ :type PostCKafkaAction: int
20953
+ """
20954
+ self._Domain = None
20955
+ self._PostCLSAction = None
20956
+ self._PostCKafkaAction = None
20957
+
20958
+ @property
20959
+ def Domain(self):
20960
+ """www.tx.com
20961
+ :rtype: str
20962
+ """
20963
+ return self._Domain
20964
+
20965
+ @Domain.setter
20966
+ def Domain(self, Domain):
20967
+ self._Domain = Domain
20968
+
20969
+ @property
20970
+ def PostCLSAction(self):
20971
+ """0- Disable shipping, 1- Enable shipping
20972
+ :rtype: int
20973
+ """
20974
+ return self._PostCLSAction
20975
+
20976
+ @PostCLSAction.setter
20977
+ def PostCLSAction(self, PostCLSAction):
20978
+ self._PostCLSAction = PostCLSAction
20979
+
20980
+ @property
20981
+ def PostCKafkaAction(self):
20982
+ """0- Disable shipping, 1- Enable shipping
20983
+ :rtype: int
20984
+ """
20985
+ return self._PostCKafkaAction
20986
+
20987
+ @PostCKafkaAction.setter
20988
+ def PostCKafkaAction(self, PostCKafkaAction):
20989
+ self._PostCKafkaAction = PostCKafkaAction
20990
+
20991
+
20992
+ def _deserialize(self, params):
20993
+ self._Domain = params.get("Domain")
20994
+ self._PostCLSAction = params.get("PostCLSAction")
20995
+ self._PostCKafkaAction = params.get("PostCKafkaAction")
20996
+ memeber_set = set(params.keys())
20997
+ for name, value in vars(self).items():
20998
+ property_name = name[1:]
20999
+ if property_name in memeber_set:
21000
+ memeber_set.remove(property_name)
21001
+ if len(memeber_set) > 0:
21002
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21003
+
21004
+
21005
+
21006
+ class ModifyDomainPostActionResponse(AbstractModel):
21007
+ """ModifyDomainPostAction response structure.
21008
+
21009
+ """
21010
+
21011
+ def __init__(self):
21012
+ r"""
21013
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21014
+ :type RequestId: str
21015
+ """
21016
+ self._RequestId = None
21017
+
21018
+ @property
21019
+ def RequestId(self):
21020
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21021
+ :rtype: str
21022
+ """
21023
+ return self._RequestId
21024
+
21025
+ @RequestId.setter
21026
+ def RequestId(self, RequestId):
21027
+ self._RequestId = RequestId
21028
+
21029
+
21030
+ def _deserialize(self, params):
21031
+ self._RequestId = params.get("RequestId")
21032
+
21033
+
20400
21034
  class ModifyDomainsCLSStatusRequest(AbstractModel):
20401
21035
  """ModifyDomainsCLSStatus request structure.
20402
21036
 
@@ -21317,10 +21951,10 @@ Global domain name, that is, global.
21317
21951
  :type IpList: list of str
21318
21952
  :param _ActionType: 42: blocklist; 40: allowlist.
21319
21953
  :type ActionType: int
21320
- :param _ValidTS: valid_ts indicates a valid date. Its value is a second-level timestamp, such as 1680570420, which indicates 2023-04-04 09:07:00.
21321
- :type ValidTS: int
21322
21954
  :param _RuleId: Rule ID
21323
21955
  :type RuleId: int
21956
+ :param _ValidTS: valid_ts indicates a valid date. Its value is a second-level timestamp, such as 1680570420, which indicates 2023-04-04 09:07:00.
21957
+ :type ValidTS: int
21324
21958
  :param _InstanceId: Instance ID
21325
21959
  :type InstanceId: str
21326
21960
  :param _Edition: WAF instance type: sparta-waf for SaaS WAF, clb-waf for CLB WAF.
@@ -21337,8 +21971,8 @@ Global domain name, that is, global.
21337
21971
  self._Domain = None
21338
21972
  self._IpList = None
21339
21973
  self._ActionType = None
21340
- self._ValidTS = None
21341
21974
  self._RuleId = None
21975
+ self._ValidTS = None
21342
21976
  self._InstanceId = None
21343
21977
  self._Edition = None
21344
21978
  self._SourceType = None
@@ -21380,8 +22014,21 @@ Global domain name, that is, global.
21380
22014
  def ActionType(self, ActionType):
21381
22015
  self._ActionType = ActionType
21382
22016
 
22017
+ @property
22018
+ def RuleId(self):
22019
+ """Rule ID
22020
+ :rtype: int
22021
+ """
22022
+ return self._RuleId
22023
+
22024
+ @RuleId.setter
22025
+ def RuleId(self, RuleId):
22026
+ self._RuleId = RuleId
22027
+
21383
22028
  @property
21384
22029
  def ValidTS(self):
22030
+ warnings.warn("parameter `ValidTS` is deprecated", DeprecationWarning)
22031
+
21385
22032
  """valid_ts indicates a valid date. Its value is a second-level timestamp, such as 1680570420, which indicates 2023-04-04 09:07:00.
21386
22033
  :rtype: int
21387
22034
  """
@@ -21389,18 +22036,9 @@ Global domain name, that is, global.
21389
22036
 
21390
22037
  @ValidTS.setter
21391
22038
  def ValidTS(self, ValidTS):
21392
- self._ValidTS = ValidTS
21393
-
21394
- @property
21395
- def RuleId(self):
21396
- """Rule ID
21397
- :rtype: int
21398
- """
21399
- return self._RuleId
22039
+ warnings.warn("parameter `ValidTS` is deprecated", DeprecationWarning)
21400
22040
 
21401
- @RuleId.setter
21402
- def RuleId(self, RuleId):
21403
- self._RuleId = RuleId
22041
+ self._ValidTS = ValidTS
21404
22042
 
21405
22043
  @property
21406
22044
  def InstanceId(self):
@@ -21473,8 +22111,8 @@ Global domain name, that is, global.
21473
22111
  self._Domain = params.get("Domain")
21474
22112
  self._IpList = params.get("IpList")
21475
22113
  self._ActionType = params.get("ActionType")
21476
- self._ValidTS = params.get("ValidTS")
21477
22114
  self._RuleId = params.get("RuleId")
22115
+ self._ValidTS = params.get("ValidTS")
21478
22116
  self._InstanceId = params.get("InstanceId")
21479
22117
  self._Edition = params.get("Edition")
21480
22118
  self._SourceType = params.get("SourceType")
@@ -22121,8 +22759,22 @@ https: Use the HTTPS protocol for origin-pull.
22121
22759
  :type UpstreamHost: str
22122
22760
  :param _ProxyBuffer: Whether to enable caching. 0: disable; 1: enable.
22123
22761
  :type ProxyBuffer: int
22124
- :param _ProbeStatus: 0: Disable probe test; 1: Enable probe test. The probe test is enabled by default.
22762
+ :param _ProbeStatus: Whether to enable the test. 0: disable; 1: enable. The test is enabled by default.
22125
22763
  :type ProbeStatus: int
22764
+ :param _GmType: SM option. 0: do not enable SM; 1: add support for SM based on the existing TLS option; 2: enable SM and support only SM client access.
22765
+ :type GmType: int
22766
+ :param _GmCertType: SM certificate type. 0: no SM certificate is available; 1: the certificate is a self-owned SM certificate; 2: the certificate is a managed SM certificate.
22767
+ :type GmCertType: int
22768
+ :param _GmCert: When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
22769
+ :type GmCert: str
22770
+ :param _GmPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
22771
+ :type GmPrivateKey: str
22772
+ :param _GmEncCert: When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
22773
+ :type GmEncCert: str
22774
+ :param _GmEncPrivateKey: When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
22775
+ :type GmEncPrivateKey: str
22776
+ :param _GmSSLId: When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
22777
+ :type GmSSLId: str
22126
22778
  """
22127
22779
  self._Domain = None
22128
22780
  self._DomainId = None
@@ -22161,6 +22813,13 @@ https: Use the HTTPS protocol for origin-pull.
22161
22813
  self._UpstreamHost = None
22162
22814
  self._ProxyBuffer = None
22163
22815
  self._ProbeStatus = None
22816
+ self._GmType = None
22817
+ self._GmCertType = None
22818
+ self._GmCert = None
22819
+ self._GmPrivateKey = None
22820
+ self._GmEncCert = None
22821
+ self._GmEncPrivateKey = None
22822
+ self._GmSSLId = None
22164
22823
 
22165
22824
  @property
22166
22825
  def Domain(self):
@@ -22566,7 +23225,7 @@ https: Use the HTTPS protocol for origin-pull.
22566
23225
 
22567
23226
  @property
22568
23227
  def ProbeStatus(self):
22569
- """0: Disable probe test; 1: Enable probe test. The probe test is enabled by default.
23228
+ """Whether to enable the test. 0: disable; 1: enable. The test is enabled by default.
22570
23229
  :rtype: int
22571
23230
  """
22572
23231
  return self._ProbeStatus
@@ -22575,6 +23234,83 @@ https: Use the HTTPS protocol for origin-pull.
22575
23234
  def ProbeStatus(self, ProbeStatus):
22576
23235
  self._ProbeStatus = ProbeStatus
22577
23236
 
23237
+ @property
23238
+ def GmType(self):
23239
+ """SM option. 0: do not enable SM; 1: add support for SM based on the existing TLS option; 2: enable SM and support only SM client access.
23240
+ :rtype: int
23241
+ """
23242
+ return self._GmType
23243
+
23244
+ @GmType.setter
23245
+ def GmType(self, GmType):
23246
+ self._GmType = GmType
23247
+
23248
+ @property
23249
+ def GmCertType(self):
23250
+ """SM certificate type. 0: no SM certificate is available; 1: the certificate is a self-owned SM certificate; 2: the certificate is a managed SM certificate.
23251
+ :rtype: int
23252
+ """
23253
+ return self._GmCertType
23254
+
23255
+ @GmCertType.setter
23256
+ def GmCertType(self, GmCertType):
23257
+ self._GmCertType = GmCertType
23258
+
23259
+ @property
23260
+ def GmCert(self):
23261
+ """When GmCertType is 1, this parameter needs to be set, indicating the certificate chain of the self-owned SM certificate.
23262
+ :rtype: str
23263
+ """
23264
+ return self._GmCert
23265
+
23266
+ @GmCert.setter
23267
+ def GmCert(self, GmCert):
23268
+ self._GmCert = GmCert
23269
+
23270
+ @property
23271
+ def GmPrivateKey(self):
23272
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the self-owned SM certificate.
23273
+ :rtype: str
23274
+ """
23275
+ return self._GmPrivateKey
23276
+
23277
+ @GmPrivateKey.setter
23278
+ def GmPrivateKey(self, GmPrivateKey):
23279
+ self._GmPrivateKey = GmPrivateKey
23280
+
23281
+ @property
23282
+ def GmEncCert(self):
23283
+ """When GmCertType is 1, this parameter needs to be set, indicating the encryption certificate of the self-owned SM certificate.
23284
+ :rtype: str
23285
+ """
23286
+ return self._GmEncCert
23287
+
23288
+ @GmEncCert.setter
23289
+ def GmEncCert(self, GmEncCert):
23290
+ self._GmEncCert = GmEncCert
23291
+
23292
+ @property
23293
+ def GmEncPrivateKey(self):
23294
+ """When GmCertType is 1, this parameter needs to be set, indicating the private key of the encryption certificate for the self-owned SM certificate.
23295
+ :rtype: str
23296
+ """
23297
+ return self._GmEncPrivateKey
23298
+
23299
+ @GmEncPrivateKey.setter
23300
+ def GmEncPrivateKey(self, GmEncPrivateKey):
23301
+ self._GmEncPrivateKey = GmEncPrivateKey
23302
+
23303
+ @property
23304
+ def GmSSLId(self):
23305
+ """When GmCertType is 2, this parameter needs to be set, indicating the ID of the certificate managed by the Tencent Cloud SSL platform.
23306
+ :rtype: str
23307
+ """
23308
+ return self._GmSSLId
23309
+
23310
+ @GmSSLId.setter
23311
+ def GmSSLId(self, GmSSLId):
23312
+ self._GmSSLId = GmSSLId
23313
+
22578
23314
 
22579
23315
  def _deserialize(self, params):
22580
23316
  self._Domain = params.get("Domain")
@@ -22619,6 +23355,13 @@ https: Use the HTTPS protocol for origin-pull.
22619
23355
  self._UpstreamHost = params.get("UpstreamHost")
22620
23356
  self._ProxyBuffer = params.get("ProxyBuffer")
22621
23357
  self._ProbeStatus = params.get("ProbeStatus")
23358
+ self._GmType = params.get("GmType")
23359
+ self._GmCertType = params.get("GmCertType")
23360
+ self._GmCert = params.get("GmCert")
23361
+ self._GmPrivateKey = params.get("GmPrivateKey")
23362
+ self._GmEncCert = params.get("GmEncCert")
23363
+ self._GmEncPrivateKey = params.get("GmEncPrivateKey")
23364
+ self._GmSSLId = params.get("GmSSLId")
22622
23365
  memeber_set = set(params.keys())
22623
23366
  for name, value in vars(self).items():
22624
23367
  property_name = name[1:]
@@ -22933,57 +23676,6 @@ class ModifyWebshellStatusResponse(AbstractModel):
22933
23676
  self._RequestId = params.get("RequestId")
22934
23677
 
22935
23678
 
22936
- class PageInfo(AbstractModel):
22937
- """Common paging parameters
22938
-
22939
- """
22940
-
22941
- def __init__(self):
22942
- r"""
22943
- :param _PageNumber: Page number
22944
- :type PageNumber: str
22945
- :param _PageSize: Page Entry Quantity
22946
- :type PageSize: str
22947
- """
22948
- self._PageNumber = None
22949
- self._PageSize = None
22950
-
22951
- @property
22952
- def PageNumber(self):
22953
- """Page number
22954
- :rtype: str
22955
- """
22956
- return self._PageNumber
22957
-
22958
- @PageNumber.setter
22959
- def PageNumber(self, PageNumber):
22960
- self._PageNumber = PageNumber
22961
-
22962
- @property
22963
- def PageSize(self):
22964
- """Page Entry Quantity
22965
- :rtype: str
22966
- """
22967
- return self._PageSize
22968
-
22969
- @PageSize.setter
22970
- def PageSize(self, PageSize):
22971
- self._PageSize = PageSize
22972
-
22973
-
22974
- def _deserialize(self, params):
22975
- self._PageNumber = params.get("PageNumber")
22976
- self._PageSize = params.get("PageSize")
22977
- memeber_set = set(params.keys())
22978
- for name, value in vars(self).items():
22979
- property_name = name[1:]
22980
- if property_name in memeber_set:
22981
- memeber_set.remove(property_name)
22982
- if len(memeber_set) > 0:
22983
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22984
-
22985
-
22986
-
22987
23679
  class PeakPointsItem(AbstractModel):
22988
23680
  """PeakPoints array item
22989
23681
 
@@ -24078,6 +24770,255 @@ class ResponseCode(AbstractModel):
24078
24770
 
24079
24771
 
24080
24772
 
24773
+ class SearchAttackLogRequest(AbstractModel):
24774
+ """SearchAttackLog request structure.
24775
+
24776
+ """
24777
+
24778
+ def __init__(self):
24779
+ r"""
24780
+ :param _Domain: Queried domain: use all for all domains
24781
+ :type Domain: str
24782
+ :param _StartTime: Query start time
24783
+ :type StartTime: str
24784
+ :param _EndTime: Query end time
24785
+ :type EndTime: str
24786
+ :param _Context: API upgrade. Input an empty string for this field. Use the Page field for page turning.
24787
+ :type Context: str
24788
+ :param _QueryString: Lucene syntax.
24789
+ :type QueryString: str
24790
+ :param _Count: Number of queries: 10 by default, up to 100
24791
+ :type Count: int
24792
+ :param _Sort: desc by default. Value can be set to desc or asc.
24793
+ :type Sort: str
24794
+ :param _Page: Page number, starting from 0
24795
+ :type Page: int
24796
+ """
24797
+ self._Domain = None
24798
+ self._StartTime = None
24799
+ self._EndTime = None
24800
+ self._Context = None
24801
+ self._QueryString = None
24802
+ self._Count = None
24803
+ self._Sort = None
24804
+ self._Page = None
24805
+
24806
+ @property
24807
+ def Domain(self):
24808
+ """Queried domain: use all for all domains
24809
+ :rtype: str
24810
+ """
24811
+ return self._Domain
24812
+
24813
+ @Domain.setter
24814
+ def Domain(self, Domain):
24815
+ self._Domain = Domain
24816
+
24817
+ @property
24818
+ def StartTime(self):
24819
+ """Query start time
24820
+ :rtype: str
24821
+ """
24822
+ return self._StartTime
24823
+
24824
+ @StartTime.setter
24825
+ def StartTime(self, StartTime):
24826
+ self._StartTime = StartTime
24827
+
24828
+ @property
24829
+ def EndTime(self):
24830
+ """Query end time
24831
+ :rtype: str
24832
+ """
24833
+ return self._EndTime
24834
+
24835
+ @EndTime.setter
24836
+ def EndTime(self, EndTime):
24837
+ self._EndTime = EndTime
24838
+
24839
+ @property
24840
+ def Context(self):
24841
+ """API upgrade. Input an empty string for this field. Use the Page field for page turning.
24842
+ :rtype: str
24843
+ """
24844
+ return self._Context
24845
+
24846
+ @Context.setter
24847
+ def Context(self, Context):
24848
+ self._Context = Context
24849
+
24850
+ @property
24851
+ def QueryString(self):
24852
+ """Lucene syntax.
24853
+ :rtype: str
24854
+ """
24855
+ return self._QueryString
24856
+
24857
+ @QueryString.setter
24858
+ def QueryString(self, QueryString):
24859
+ self._QueryString = QueryString
24860
+
24861
+ @property
24862
+ def Count(self):
24863
+ """Number of queries: 10 by default, up to 100
24864
+ :rtype: int
24865
+ """
24866
+ return self._Count
24867
+
24868
+ @Count.setter
24869
+ def Count(self, Count):
24870
+ self._Count = Count
24871
+
24872
+ @property
24873
+ def Sort(self):
24874
+ """desc by default. Value can be set to desc or asc.
24875
+ :rtype: str
24876
+ """
24877
+ return self._Sort
24878
+
24879
+ @Sort.setter
24880
+ def Sort(self, Sort):
24881
+ self._Sort = Sort
24882
+
24883
+ @property
24884
+ def Page(self):
24885
+ """Page number, starting from 0
24886
+ :rtype: int
24887
+ """
24888
+ return self._Page
24889
+
24890
+ @Page.setter
24891
+ def Page(self, Page):
24892
+ self._Page = Page
24893
+
24894
+
24895
+ def _deserialize(self, params):
24896
+ self._Domain = params.get("Domain")
24897
+ self._StartTime = params.get("StartTime")
24898
+ self._EndTime = params.get("EndTime")
24899
+ self._Context = params.get("Context")
24900
+ self._QueryString = params.get("QueryString")
24901
+ self._Count = params.get("Count")
24902
+ self._Sort = params.get("Sort")
24903
+ self._Page = params.get("Page")
24904
+ memeber_set = set(params.keys())
24905
+ for name, value in vars(self).items():
24906
+ property_name = name[1:]
24907
+ if property_name in memeber_set:
24908
+ memeber_set.remove(property_name)
24909
+ if len(memeber_set) > 0:
24910
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
24911
+
24912
+
24913
+
24914
+ class SearchAttackLogResponse(AbstractModel):
24915
+ """SearchAttackLog response structure.
24916
+
24917
+ """
24918
+
24919
+ def __init__(self):
24920
+ r"""
24921
+ :param _Count: Number of attack logs returned
24922
+ :type Count: int
24923
+ :param _Context: API upgrade: this field is invalid, defaults to returning an empty string
24924
+ :type Context: str
24925
+ :param _Data: Attack log array entry content
24926
+ :type Data: list of AttackLogInfo
24927
+ :param _ListOver: CLS API returned content
24928
+ :type ListOver: bool
24929
+ :param _SqlFlag: CLS API returned content, indicating whether to enable the new version index
24930
+ :type SqlFlag: bool
24931
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
24932
+ :type RequestId: str
24933
+ """
24934
+ self._Count = None
24935
+ self._Context = None
24936
+ self._Data = None
24937
+ self._ListOver = None
24938
+ self._SqlFlag = None
24939
+ self._RequestId = None
24940
+
24941
+ @property
24942
+ def Count(self):
24943
+ """Number of attack logs returned
24944
+ :rtype: int
24945
+ """
24946
+ return self._Count
24947
+
24948
+ @Count.setter
24949
+ def Count(self, Count):
24950
+ self._Count = Count
24951
+
24952
+ @property
24953
+ def Context(self):
24954
+ """API upgrade: this field is invalid, defaults to returning an empty string
24955
+ :rtype: str
24956
+ """
24957
+ return self._Context
24958
+
24959
+ @Context.setter
24960
+ def Context(self, Context):
24961
+ self._Context = Context
24962
+
24963
+ @property
24964
+ def Data(self):
24965
+ """Attack log array entry content
24966
+ :rtype: list of AttackLogInfo
24967
+ """
24968
+ return self._Data
24969
+
24970
+ @Data.setter
24971
+ def Data(self, Data):
24972
+ self._Data = Data
24973
+
24974
+ @property
24975
+ def ListOver(self):
24976
+ """CLS API returned content
24977
+ :rtype: bool
24978
+ """
24979
+ return self._ListOver
24980
+
24981
+ @ListOver.setter
24982
+ def ListOver(self, ListOver):
24983
+ self._ListOver = ListOver
24984
+
24985
+ @property
24986
+ def SqlFlag(self):
24987
+ """CLS API returned content, indicating whether to enable the new version index
24988
+ :rtype: bool
24989
+ """
24990
+ return self._SqlFlag
24991
+
24992
+ @SqlFlag.setter
24993
+ def SqlFlag(self, SqlFlag):
24994
+ self._SqlFlag = SqlFlag
24995
+
24996
+ @property
24997
+ def RequestId(self):
24998
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
24999
+ :rtype: str
25000
+ """
25001
+ return self._RequestId
25002
+
25003
+ @RequestId.setter
25004
+ def RequestId(self, RequestId):
25005
+ self._RequestId = RequestId
25006
+
25007
+
25008
+ def _deserialize(self, params):
25009
+ self._Count = params.get("Count")
25010
+ self._Context = params.get("Context")
25011
+ if params.get("Data") is not None:
25012
+ self._Data = []
25013
+ for item in params.get("Data"):
25014
+ obj = AttackLogInfo()
25015
+ obj._deserialize(item)
25016
+ self._Data.append(obj)
25017
+ self._ListOver = params.get("ListOver")
25018
+ self._SqlFlag = params.get("SqlFlag")
25019
+ self._RequestId = params.get("RequestId")
25020
+
25021
+
24081
25022
  class SearchItem(AbstractModel):
24082
25023
  """Complex Conditions on Access List Query
24083
25024
 
@@ -24532,11 +25473,16 @@ Note: This field may return null, indicating that no valid values can be obtaine
24532
25473
 
24533
25474
  Note: This field may return null, indicating that no valid values can be obtained.
24534
25475
  :type Arg: str
25476
+ :param _CaseNotSensitive: 0: case-sensitive.
25477
+ 1: case-insensitive.
25478
+ Note: This field may return null, indicating that no valid values can be obtained.
25479
+ :type CaseNotSensitive: int
24535
25480
  """
24536
25481
  self._Field = None
24537
25482
  self._CompareFunc = None
24538
25483
  self._Content = None
24539
25484
  self._Arg = None
25485
+ self._CaseNotSensitive = None
24540
25486
 
24541
25487
  @property
24542
25488
  def Field(self):
@@ -24618,12 +25564,26 @@ Note: This field may return null, indicating that no valid values can be obtaine
24618
25564
  def Arg(self, Arg):
24619
25565
  self._Arg = Arg
24620
25566
 
25567
+ @property
25568
+ def CaseNotSensitive(self):
25569
+ """0: case-sensitive.
25570
+ 1: case-insensitive.
25571
+ Note: This field may return null, indicating that no valid values can be obtained.
25572
+ :rtype: int
25573
+ """
25574
+ return self._CaseNotSensitive
25575
+
25576
+ @CaseNotSensitive.setter
25577
+ def CaseNotSensitive(self, CaseNotSensitive):
25578
+ self._CaseNotSensitive = CaseNotSensitive
25579
+
24621
25580
 
24622
25581
  def _deserialize(self, params):
24623
25582
  self._Field = params.get("Field")
24624
25583
  self._CompareFunc = params.get("CompareFunc")
24625
25584
  self._Content = params.get("Content")
24626
25585
  self._Arg = params.get("Arg")
25586
+ self._CaseNotSensitive = params.get("CaseNotSensitive")
24627
25587
  memeber_set = set(params.keys())
24628
25588
  for name, value in vars(self).items():
24629
25589
  property_name = name[1:]