tencentcloud-sdk-python-intl-en 3.0.1228__py2.py3-none-any.whl → 3.0.1230__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.

@@ -1294,6 +1294,57 @@ Note: This field may return null, indicating that no valid values can be obtaine
1294
1294
 
1295
1295
 
1296
1296
 
1297
+ class Addresses(AbstractModel):
1298
+ """IP range details.
1299
+
1300
+ """
1301
+
1302
+ def __init__(self):
1303
+ r"""
1304
+ :param _IPv4: IPv4 subnet.
1305
+ :type IPv4: list of str
1306
+ :param _IPv6: IPv6 subnet.
1307
+ :type IPv6: list of str
1308
+ """
1309
+ self._IPv4 = None
1310
+ self._IPv6 = None
1311
+
1312
+ @property
1313
+ def IPv4(self):
1314
+ """IPv4 subnet.
1315
+ :rtype: list of str
1316
+ """
1317
+ return self._IPv4
1318
+
1319
+ @IPv4.setter
1320
+ def IPv4(self, IPv4):
1321
+ self._IPv4 = IPv4
1322
+
1323
+ @property
1324
+ def IPv6(self):
1325
+ """IPv6 subnet.
1326
+ :rtype: list of str
1327
+ """
1328
+ return self._IPv6
1329
+
1330
+ @IPv6.setter
1331
+ def IPv6(self, IPv6):
1332
+ self._IPv6 = IPv6
1333
+
1334
+
1335
+ def _deserialize(self, params):
1336
+ self._IPv4 = params.get("IPv4")
1337
+ self._IPv6 = params.get("IPv6")
1338
+ memeber_set = set(params.keys())
1339
+ for name, value in vars(self).items():
1340
+ property_name = name[1:]
1341
+ if property_name in memeber_set:
1342
+ memeber_set.remove(property_name)
1343
+ if len(memeber_set) > 0:
1344
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1345
+
1346
+
1347
+
1297
1348
  class AdvancedFilter(AbstractModel):
1298
1349
  """Key-value pair filters for conditional filtering queries and fuzzy queries, such as filtering ID, name, and status.
1299
1350
  If more than one filter exists, the logical relationship between these filters is `AND`.
@@ -6246,6 +6297,70 @@ class ConfigGroupVersionInfo(AbstractModel):
6246
6297
 
6247
6298
 
6248
6299
 
6300
+ class ConfirmOriginACLUpdateRequest(AbstractModel):
6301
+ """ConfirmOriginACLUpdate request structure.
6302
+
6303
+ """
6304
+
6305
+ def __init__(self):
6306
+ r"""
6307
+ :param _ZoneId: Specifies the site ID.
6308
+ :type ZoneId: str
6309
+ """
6310
+ self._ZoneId = None
6311
+
6312
+ @property
6313
+ def ZoneId(self):
6314
+ """Specifies the site ID.
6315
+ :rtype: str
6316
+ """
6317
+ return self._ZoneId
6318
+
6319
+ @ZoneId.setter
6320
+ def ZoneId(self, ZoneId):
6321
+ self._ZoneId = ZoneId
6322
+
6323
+
6324
+ def _deserialize(self, params):
6325
+ self._ZoneId = params.get("ZoneId")
6326
+ memeber_set = set(params.keys())
6327
+ for name, value in vars(self).items():
6328
+ property_name = name[1:]
6329
+ if property_name in memeber_set:
6330
+ memeber_set.remove(property_name)
6331
+ if len(memeber_set) > 0:
6332
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6333
+
6334
+
6335
+
6336
+ class ConfirmOriginACLUpdateResponse(AbstractModel):
6337
+ """ConfirmOriginACLUpdate response structure.
6338
+
6339
+ """
6340
+
6341
+ def __init__(self):
6342
+ r"""
6343
+ :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.
6344
+ :type RequestId: str
6345
+ """
6346
+ self._RequestId = None
6347
+
6348
+ @property
6349
+ def RequestId(self):
6350
+ """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.
6351
+ :rtype: str
6352
+ """
6353
+ return self._RequestId
6354
+
6355
+ @RequestId.setter
6356
+ def RequestId(self, RequestId):
6357
+ self._RequestId = RequestId
6358
+
6359
+
6360
+ def _deserialize(self, params):
6361
+ self._RequestId = params.get("RequestId")
6362
+
6363
+
6249
6364
  class ContentIdentifier(AbstractModel):
6250
6365
  """Content identifier. This feature is only available to the allowlist.
6251
6366
 
@@ -10432,6 +10547,101 @@ Note: This field may return·null, indicating that no valid values can be obtain
10432
10547
  self._RequestId = params.get("RequestId")
10433
10548
 
10434
10549
 
10550
+ class CurrentOriginACL(AbstractModel):
10551
+ """Currently effective origin ACLs.
10552
+
10553
+ """
10554
+
10555
+ def __init__(self):
10556
+ r"""
10557
+ :param _EntireAddresses: IP range details.
10558
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10559
+ :type EntireAddresses: :class:`tencentcloud.teo.v20220901.models.Addresses`
10560
+ :param _Version: Version number.
10561
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10562
+ :type Version: str
10563
+ :param _ActiveTime: Version effective time in UTC+8, following the date and time format of the ISO 8601 standard.
10564
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10565
+ :type ActiveTime: str
10566
+ :param _IsPlaned: This parameter is used to record whether "I've upgraded to the lastest verison" is completed before the origin ACLs version is effective. valid values:.
10567
+ - true: specifies that the version is effective and the update to the latest version is confirmed.
10568
+ - false: when the version takes effect, the confirmation of updating to the latest origin ACLs are not completed. The IP range is forcibly updated to the latest version in the backend. When this parameter returns false, please confirm in time whether your origin server firewall configuration has been updated to the latest version to avoid origin-pull failure.
10569
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10570
+ :type IsPlaned: str
10571
+ """
10572
+ self._EntireAddresses = None
10573
+ self._Version = None
10574
+ self._ActiveTime = None
10575
+ self._IsPlaned = None
10576
+
10577
+ @property
10578
+ def EntireAddresses(self):
10579
+ """IP range details.
10580
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10581
+ :rtype: :class:`tencentcloud.teo.v20220901.models.Addresses`
10582
+ """
10583
+ return self._EntireAddresses
10584
+
10585
+ @EntireAddresses.setter
10586
+ def EntireAddresses(self, EntireAddresses):
10587
+ self._EntireAddresses = EntireAddresses
10588
+
10589
+ @property
10590
+ def Version(self):
10591
+ """Version number.
10592
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10593
+ :rtype: str
10594
+ """
10595
+ return self._Version
10596
+
10597
+ @Version.setter
10598
+ def Version(self, Version):
10599
+ self._Version = Version
10600
+
10601
+ @property
10602
+ def ActiveTime(self):
10603
+ """Version effective time in UTC+8, following the date and time format of the ISO 8601 standard.
10604
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10605
+ :rtype: str
10606
+ """
10607
+ return self._ActiveTime
10608
+
10609
+ @ActiveTime.setter
10610
+ def ActiveTime(self, ActiveTime):
10611
+ self._ActiveTime = ActiveTime
10612
+
10613
+ @property
10614
+ def IsPlaned(self):
10615
+ """This parameter is used to record whether "I've upgraded to the lastest verison" is completed before the origin ACLs version is effective. valid values:.
10616
+ - true: specifies that the version is effective and the update to the latest version is confirmed.
10617
+ - false: when the version takes effect, the confirmation of updating to the latest origin ACLs are not completed. The IP range is forcibly updated to the latest version in the backend. When this parameter returns false, please confirm in time whether your origin server firewall configuration has been updated to the latest version to avoid origin-pull failure.
10618
+ Note: This field may return null, which indicates a failure to obtain a valid value.
10619
+ :rtype: str
10620
+ """
10621
+ return self._IsPlaned
10622
+
10623
+ @IsPlaned.setter
10624
+ def IsPlaned(self, IsPlaned):
10625
+ self._IsPlaned = IsPlaned
10626
+
10627
+
10628
+ def _deserialize(self, params):
10629
+ if params.get("EntireAddresses") is not None:
10630
+ self._EntireAddresses = Addresses()
10631
+ self._EntireAddresses._deserialize(params.get("EntireAddresses"))
10632
+ self._Version = params.get("Version")
10633
+ self._ActiveTime = params.get("ActiveTime")
10634
+ self._IsPlaned = params.get("IsPlaned")
10635
+ memeber_set = set(params.keys())
10636
+ for name, value in vars(self).items():
10637
+ property_name = name[1:]
10638
+ if property_name in memeber_set:
10639
+ memeber_set.remove(property_name)
10640
+ if len(memeber_set) > 0:
10641
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10642
+
10643
+
10644
+
10435
10645
  class CustomEndpoint(AbstractModel):
10436
10646
  """The configuration information of real-time log delivery to a custom HTTP(S) interface
10437
10647
 
@@ -14950,9 +15160,9 @@ class DescribeDDoSAttackDataRequest(AbstractModel):
14950
15160
 
14951
15161
  def __init__(self):
14952
15162
  r"""
14953
- :param _StartTime: Start time of the query period.
15163
+ :param _StartTime: The start time.
14954
15164
  :type StartTime: str
14955
- :param _EndTime: End time of the query period.
15165
+ :param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
14956
15166
  :type EndTime: str
14957
15167
  :param _MetricNames: Statistical metrics.
14958
15168
  <li>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li>
@@ -14960,15 +15170,15 @@ class DescribeDDoSAttackDataRequest(AbstractModel):
14960
15170
  <li>`ddos_attackBandwidth`: Time-series data of attack bandwidth;</li>
14961
15171
  <li>`ddos_attackPackageRate`: Time-series data of attack packet rate.</li>
14962
15172
  :type MetricNames: list of str
14963
- :param _ZoneIds: ZoneId set. This parameter is required.
15173
+ :param _ZoneIds: Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
14964
15174
  :type ZoneIds: list of str
14965
15175
  :param _PolicyIds: IDs of DDoS policies to be queried. All policies will be selected if this field is not specified.
14966
15176
  :type PolicyIds: list of int
14967
- :param _Interval: The query granularity. Values:
14968
- <li>`min`: 1 minute;</li>
14969
- <li>`5min`: 5 minutes;</li>
14970
- <li>`hour`: 1 hour;</li>
14971
- <li>`day`: 1 day</li>If this field is not specified, the granularity is determined based on the query period. <br>Period 1 hour: `min`; <br>1 hour < Period 2 days: `5min`; <br>2 days < Period 7 days: `hour`; <br>Period > 7 days: `day`.
15177
+ :param _Interval: Query period granularity. Valid values:
15178
+ <li>min: 1 minute;</li>
15179
+ <li>5min: 5 minutes;</li>
15180
+ <li>hour: 1 hour;</li>
15181
+ <li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
14972
15182
  :type Interval: str
14973
15183
  :param _Area: Geolocation scope. Values:
14974
15184
  <li>`overseas`: Regions outside the Chinese mainland</li>
@@ -14986,7 +15196,7 @@ class DescribeDDoSAttackDataRequest(AbstractModel):
14986
15196
 
14987
15197
  @property
14988
15198
  def StartTime(self):
14989
- """Start time of the query period.
15199
+ """The start time.
14990
15200
  :rtype: str
14991
15201
  """
14992
15202
  return self._StartTime
@@ -14997,7 +15207,7 @@ class DescribeDDoSAttackDataRequest(AbstractModel):
14997
15207
 
14998
15208
  @property
14999
15209
  def EndTime(self):
15000
- """End time of the query period.
15210
+ """The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
15001
15211
  :rtype: str
15002
15212
  """
15003
15213
  return self._EndTime
@@ -15023,7 +15233,7 @@ class DescribeDDoSAttackDataRequest(AbstractModel):
15023
15233
 
15024
15234
  @property
15025
15235
  def ZoneIds(self):
15026
- """ZoneId set. This parameter is required.
15236
+ """Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
15027
15237
  :rtype: list of str
15028
15238
  """
15029
15239
  return self._ZoneIds
@@ -15045,11 +15255,11 @@ class DescribeDDoSAttackDataRequest(AbstractModel):
15045
15255
 
15046
15256
  @property
15047
15257
  def Interval(self):
15048
- """The query granularity. Values:
15049
- <li>`min`: 1 minute;</li>
15050
- <li>`5min`: 5 minutes;</li>
15051
- <li>`hour`: 1 hour;</li>
15052
- <li>`day`: 1 day</li>If this field is not specified, the granularity is determined based on the query period. <br>Period 1 hour: `min`; <br>1 hour < Period 2 days: `5min`; <br>2 days < Period 7 days: `hour`; <br>Period > 7 days: `day`.
15258
+ """Query period granularity. Valid values:
15259
+ <li>min: 1 minute;</li>
15260
+ <li>5min: 5 minutes;</li>
15261
+ <li>hour: 1 hour;</li>
15262
+ <li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
15053
15263
  :rtype: str
15054
15264
  """
15055
15265
  return self._Interval
@@ -15163,13 +15373,13 @@ class DescribeDDoSAttackEventRequest(AbstractModel):
15163
15373
 
15164
15374
  def __init__(self):
15165
15375
  r"""
15166
- :param _StartTime: Start time. Time range: 30 days.
15376
+ :param _StartTime: The start time.
15167
15377
  :type StartTime: str
15168
- :param _EndTime: End time. Time range: 30 days.
15378
+ :param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
15169
15379
  :type EndTime: str
15170
15380
  :param _PolicyIds: List of DDoS policy IDs. All policies are selected if this field is not specified.
15171
15381
  :type PolicyIds: list of int
15172
- :param _ZoneIds: ZoneId set. This parameter is required.
15382
+ :param _ZoneIds: Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
15173
15383
  :type ZoneIds: list of str
15174
15384
  :param _Limit: Limit on paginated queries. Default value: 20. Maximum value: 1000.
15175
15385
  :type Limit: int
@@ -15204,7 +15414,7 @@ class DescribeDDoSAttackEventRequest(AbstractModel):
15204
15414
 
15205
15415
  @property
15206
15416
  def StartTime(self):
15207
- """Start time. Time range: 30 days.
15417
+ """The start time.
15208
15418
  :rtype: str
15209
15419
  """
15210
15420
  return self._StartTime
@@ -15215,7 +15425,7 @@ class DescribeDDoSAttackEventRequest(AbstractModel):
15215
15425
 
15216
15426
  @property
15217
15427
  def EndTime(self):
15218
- """End time. Time range: 30 days.
15428
+ """The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
15219
15429
  :rtype: str
15220
15430
  """
15221
15431
  return self._EndTime
@@ -15237,7 +15447,7 @@ class DescribeDDoSAttackEventRequest(AbstractModel):
15237
15447
 
15238
15448
  @property
15239
15449
  def ZoneIds(self):
15240
- """ZoneId set. This parameter is required.
15450
+ """Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
15241
15451
  :rtype: list of str
15242
15452
  """
15243
15453
  return self._ZoneIds
@@ -15415,7 +15625,7 @@ class DescribeDDoSAttackTopDataRequest(AbstractModel):
15415
15625
  r"""
15416
15626
  :param _StartTime: The start time.
15417
15627
  :type StartTime: str
15418
- :param _EndTime: The end time.
15628
+ :param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
15419
15629
  :type EndTime: str
15420
15630
  :param _MetricName: The statistical metric. Values:
15421
15631
  <li>`ddos_attackFlux_protocol`: Rank protocols by the attack traffic.</li>
@@ -15425,7 +15635,7 @@ class DescribeDDoSAttackTopDataRequest(AbstractModel):
15425
15635
  <li>`ddos_attackFlux_sip`: Rank attacker IPs by the number of attacks.</li>
15426
15636
  <li>`ddos_attackFlux_sregion`: Rank attacker regions by the number of attacks.</li>
15427
15637
  :type MetricName: str
15428
- :param _ZoneIds: Site ID set. This parameter is required.
15638
+ :param _ZoneIds: Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
15429
15639
  :type ZoneIds: list of str
15430
15640
  :param _PolicyIds: The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
15431
15641
  :type PolicyIds: list of int
@@ -15445,7 +15655,7 @@ class DescribeDDoSAttackTopDataRequest(AbstractModel):
15445
15655
  :type Limit: int
15446
15656
  :param _Area: Data storage region. Values:
15447
15657
  <li>`overseas`: Global (outside the Chinese mainland);</li>
15448
- <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the users location.
15658
+ <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user's location.
15449
15659
  :type Area: str
15450
15660
  """
15451
15661
  self._StartTime = None
@@ -15472,7 +15682,7 @@ class DescribeDDoSAttackTopDataRequest(AbstractModel):
15472
15682
 
15473
15683
  @property
15474
15684
  def EndTime(self):
15475
- """The end time.
15685
+ """The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
15476
15686
  :rtype: str
15477
15687
  """
15478
15688
  return self._EndTime
@@ -15500,7 +15710,7 @@ class DescribeDDoSAttackTopDataRequest(AbstractModel):
15500
15710
 
15501
15711
  @property
15502
15712
  def ZoneIds(self):
15503
- """Site ID set. This parameter is required.
15713
+ """Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
15504
15714
  :rtype: list of str
15505
15715
  """
15506
15716
  return self._ZoneIds
@@ -15574,7 +15784,7 @@ class DescribeDDoSAttackTopDataRequest(AbstractModel):
15574
15784
  def Area(self):
15575
15785
  """Data storage region. Values:
15576
15786
  <li>`overseas`: Global (outside the Chinese mainland);</li>
15577
- <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the users location.
15787
+ <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user's location.
15578
15788
  :rtype: str
15579
15789
  """
15580
15790
  return self._Area
@@ -17702,6 +17912,87 @@ class DescribeLoadBalancerListResponse(AbstractModel):
17702
17912
  self._RequestId = params.get("RequestId")
17703
17913
 
17704
17914
 
17915
+ class DescribeOriginACLRequest(AbstractModel):
17916
+ """DescribeOriginACL request structure.
17917
+
17918
+ """
17919
+
17920
+ def __init__(self):
17921
+ r"""
17922
+ :param _ZoneId: Specifies the site ID.
17923
+ :type ZoneId: str
17924
+ """
17925
+ self._ZoneId = None
17926
+
17927
+ @property
17928
+ def ZoneId(self):
17929
+ """Specifies the site ID.
17930
+ :rtype: str
17931
+ """
17932
+ return self._ZoneId
17933
+
17934
+ @ZoneId.setter
17935
+ def ZoneId(self, ZoneId):
17936
+ self._ZoneId = ZoneId
17937
+
17938
+
17939
+ def _deserialize(self, params):
17940
+ self._ZoneId = params.get("ZoneId")
17941
+ memeber_set = set(params.keys())
17942
+ for name, value in vars(self).items():
17943
+ property_name = name[1:]
17944
+ if property_name in memeber_set:
17945
+ memeber_set.remove(property_name)
17946
+ if len(memeber_set) > 0:
17947
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17948
+
17949
+
17950
+
17951
+ class DescribeOriginACLResponse(AbstractModel):
17952
+ """DescribeOriginACL response structure.
17953
+
17954
+ """
17955
+
17956
+ def __init__(self):
17957
+ r"""
17958
+ :param _OriginACLInfo: Describes the binding relationship between the l7 acceleration domain/l4 proxy instance and the origin server IP range.
17959
+ :type OriginACLInfo: :class:`tencentcloud.teo.v20220901.models.OriginACLInfo`
17960
+ :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.
17961
+ :type RequestId: str
17962
+ """
17963
+ self._OriginACLInfo = None
17964
+ self._RequestId = None
17965
+
17966
+ @property
17967
+ def OriginACLInfo(self):
17968
+ """Describes the binding relationship between the l7 acceleration domain/l4 proxy instance and the origin server IP range.
17969
+ :rtype: :class:`tencentcloud.teo.v20220901.models.OriginACLInfo`
17970
+ """
17971
+ return self._OriginACLInfo
17972
+
17973
+ @OriginACLInfo.setter
17974
+ def OriginACLInfo(self, OriginACLInfo):
17975
+ self._OriginACLInfo = OriginACLInfo
17976
+
17977
+ @property
17978
+ def RequestId(self):
17979
+ """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.
17980
+ :rtype: str
17981
+ """
17982
+ return self._RequestId
17983
+
17984
+ @RequestId.setter
17985
+ def RequestId(self, RequestId):
17986
+ self._RequestId = RequestId
17987
+
17988
+
17989
+ def _deserialize(self, params):
17990
+ if params.get("OriginACLInfo") is not None:
17991
+ self._OriginACLInfo = OriginACLInfo()
17992
+ self._OriginACLInfo._deserialize(params.get("OriginACLInfo"))
17993
+ self._RequestId = params.get("RequestId")
17994
+
17995
+
17705
17996
  class DescribeOriginGroupHealthStatusRequest(AbstractModel):
17706
17997
  """DescribeOriginGroupHealthStatus request structure.
17707
17998
 
@@ -19557,15 +19848,17 @@ class DescribeTimingL4DataRequest(AbstractModel):
19557
19848
  r"""
19558
19849
  :param _StartTime: The start time.
19559
19850
  :type StartTime: str
19560
- :param _EndTime: The end time.
19851
+ :param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
19561
19852
  :type EndTime: str
19562
- :param _MetricNames: Query indicator. Values:
19563
- <li>l4Flow_connections: Number of access connections;</li>
19564
- <li>l4Flow_flux: Total access traffic;</li>
19565
- <li>l4Flow_inFlux: Ingress access traffic;</li>
19566
- <li>l4Flow_outFlux: Egress access traffic. </li>
19853
+ :param _MetricNames: Metric list. Valid values:
19854
+ <Li>l4Flow_connections: number of concurrent connections;</li>
19855
+ <Li>l4Flow_flux: total traffic;</li>
19856
+ <Li>l4Flow_inFlux: inbound traffic;</li>
19857
+ <Li>l4Flow_outFlux: outbound traffic.</li>
19858
+ <Li>l4Flow_inBandwidth: inbound peak bandwidth.</li>
19859
+ <Li>l4Flow_outBandwidth: outbound peak bandwidth.</li>
19567
19860
  :type MetricNames: list of str
19568
- :param _ZoneIds: ZoneId set. This parameter is required.
19861
+ :param _ZoneIds: Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
19569
19862
  :type ZoneIds: list of str
19570
19863
  :param _ProxyIds: List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified.
19571
19864
  :type ProxyIds: list of str
@@ -19573,16 +19866,14 @@ class DescribeTimingL4DataRequest(AbstractModel):
19573
19866
  <li>`min`: 1 minute;</li>
19574
19867
  <li>`5min`: 5 minutes;</li>
19575
19868
  <li>`hour`: 1 hour;</li>
19576
- <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period 1 hour: `min`; <br>1 hour < Period 2 days: `5min`; <br>2 days < period 7 days: `hour`; <br>Period > 7 days: `day`.
19869
+ <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
19870
+
19577
19871
  :type Interval: str
19578
- :param _Filters: Filter criteria. The detailed Key values of filter criteria are as follows:
19579
- <li>ruleId: Filter by forwarding rule ID.</li>
19580
- <li>proxyId: Filter by L4 proxy instance ID.</li>
19872
+ :param _Filters: Filter criteria. The detailed key values of filter criteria are as follows:
19873
+ <li>ruleId: filter by forwarding rule ID.</li>
19874
+ <li>proxyId: filter by L4 proxy instance ID.</li>
19581
19875
  :type Filters: list of QueryCondition
19582
- :param _Area: Geolocation scope. Values:
19583
- <li>`overseas`: Regions outside the Chinese mainland</li>
19584
- <li>`mainland`: Chinese mainland</li>
19585
- <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
19876
+ :param _Area: Data ownership region. This parameter is deprecated. Please filter data by client region in Filters.country.
19586
19877
  :type Area: str
19587
19878
  """
19588
19879
  self._StartTime = None
@@ -19607,7 +19898,7 @@ class DescribeTimingL4DataRequest(AbstractModel):
19607
19898
 
19608
19899
  @property
19609
19900
  def EndTime(self):
19610
- """The end time.
19901
+ """The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
19611
19902
  :rtype: str
19612
19903
  """
19613
19904
  return self._EndTime
@@ -19618,11 +19909,13 @@ class DescribeTimingL4DataRequest(AbstractModel):
19618
19909
 
19619
19910
  @property
19620
19911
  def MetricNames(self):
19621
- """Query indicator. Values:
19622
- <li>l4Flow_connections: Number of access connections;</li>
19623
- <li>l4Flow_flux: Total access traffic;</li>
19624
- <li>l4Flow_inFlux: Ingress access traffic;</li>
19625
- <li>l4Flow_outFlux: Egress access traffic. </li>
19912
+ """Metric list. Valid values:
19913
+ <Li>l4Flow_connections: number of concurrent connections;</li>
19914
+ <Li>l4Flow_flux: total traffic;</li>
19915
+ <Li>l4Flow_inFlux: inbound traffic;</li>
19916
+ <Li>l4Flow_outFlux: outbound traffic.</li>
19917
+ <Li>l4Flow_inBandwidth: inbound peak bandwidth.</li>
19918
+ <Li>l4Flow_outBandwidth: outbound peak bandwidth.</li>
19626
19919
  :rtype: list of str
19627
19920
  """
19628
19921
  return self._MetricNames
@@ -19633,7 +19926,7 @@ class DescribeTimingL4DataRequest(AbstractModel):
19633
19926
 
19634
19927
  @property
19635
19928
  def ZoneIds(self):
19636
- """ZoneId set. This parameter is required.
19929
+ """Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
19637
19930
  :rtype: list of str
19638
19931
  """
19639
19932
  return self._ZoneIds
@@ -19659,7 +19952,8 @@ class DescribeTimingL4DataRequest(AbstractModel):
19659
19952
  <li>`min`: 1 minute;</li>
19660
19953
  <li>`5min`: 5 minutes;</li>
19661
19954
  <li>`hour`: 1 hour;</li>
19662
- <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period 1 hour: `min`; <br>1 hour < Period 2 days: `5min`; <br>2 days < period 7 days: `hour`; <br>Period > 7 days: `day`.
19955
+ <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
19956
+
19663
19957
  :rtype: str
19664
19958
  """
19665
19959
  return self._Interval
@@ -19670,9 +19964,9 @@ class DescribeTimingL4DataRequest(AbstractModel):
19670
19964
 
19671
19965
  @property
19672
19966
  def Filters(self):
19673
- """Filter criteria. The detailed Key values of filter criteria are as follows:
19674
- <li>ruleId: Filter by forwarding rule ID.</li>
19675
- <li>proxyId: Filter by L4 proxy instance ID.</li>
19967
+ """Filter criteria. The detailed key values of filter criteria are as follows:
19968
+ <li>ruleId: filter by forwarding rule ID.</li>
19969
+ <li>proxyId: filter by L4 proxy instance ID.</li>
19676
19970
  :rtype: list of QueryCondition
19677
19971
  """
19678
19972
  return self._Filters
@@ -19683,10 +19977,7 @@ class DescribeTimingL4DataRequest(AbstractModel):
19683
19977
 
19684
19978
  @property
19685
19979
  def Area(self):
19686
- """Geolocation scope. Values:
19687
- <li>`overseas`: Regions outside the Chinese mainland</li>
19688
- <li>`mainland`: Chinese mainland</li>
19689
- <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
19980
+ """Data ownership region. This parameter is deprecated. Please filter data by client region in Filters.country.
19690
19981
  :rtype: str
19691
19982
  """
19692
19983
  return self._Area
@@ -19794,7 +20085,7 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
19794
20085
  r"""
19795
20086
  :param _StartTime: The start time.
19796
20087
  :type StartTime: str
19797
- :param _EndTime: The end time.
20088
+ :param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
19798
20089
  :type EndTime: str
19799
20090
  :param _MetricNames: Metric list. Valid values:.
19800
20091
  <Li>l7Flow_outFlux: L7 EdgeOne response traffic. Unit: byte;</li>
@@ -19807,13 +20098,13 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
19807
20098
  <Li>l7Flow_avgResponseTime: Average L7 edge response time. Unit: ms (milliseconds);</li>
19808
20099
  <Li>l7Flow_avgFirstByteResponseTime: Average L7 edge first byte response time. Unit: ms.</li>
19809
20100
  :type MetricNames: list of str
19810
- :param _ZoneIds: Zone ID set. This parameter is required.
20101
+ :param _ZoneIds: Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
19811
20102
  :type ZoneIds: list of str
19812
20103
  :param _Interval: Query period granularity. Valid values:
19813
20104
  <li>min: 1 minute;</li>
19814
20105
  <li>5min: 5 minutes;</li>
19815
20106
  <li>hour: 1 hour;</li>
19816
- <li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
20107
+ <li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 1 hour, no more than 2 days, no more than 7 days, and over 7 days.
19817
20108
  :type Interval: str
19818
20109
  :param _Filters: Filter criteria. The detailed key values of filter criteria are as follows:
19819
20110
  <li>country: filter by country/region. The country/region follows the <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> standard. Example value: CN.</li>
@@ -19860,7 +20151,7 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
19860
20151
 
19861
20152
  @property
19862
20153
  def EndTime(self):
19863
- """The end time.
20154
+ """The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
19864
20155
  :rtype: str
19865
20156
  """
19866
20157
  return self._EndTime
@@ -19891,7 +20182,7 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
19891
20182
 
19892
20183
  @property
19893
20184
  def ZoneIds(self):
19894
- """Zone ID set. This parameter is required.
20185
+ """Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
19895
20186
  :rtype: list of str
19896
20187
  """
19897
20188
  return self._ZoneIds
@@ -19906,7 +20197,7 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
19906
20197
  <li>min: 1 minute;</li>
19907
20198
  <li>5min: 5 minutes;</li>
19908
20199
  <li>hour: 1 hour;</li>
19909
- <li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 2 hours, no more than 2 days, no more than 7 days, and over 7 days.
20200
+ <li>day: 1 day.</li>If this parameter is not filled in, the granularity will be automatically calculated based on the interval between the start time and end time. Specifically, data will be queried with a granularity of min, 5min, hour, and day respectively when the period is no more than 1 hour, no more than 2 days, no more than 7 days, and over 7 days.
19910
20201
  :rtype: str
19911
20202
  """
19912
20203
  return self._Interval
@@ -20284,7 +20575,7 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
20284
20575
  r"""
20285
20576
  :param _StartTime: The start time.
20286
20577
  :type StartTime: str
20287
- :param _EndTime: The end time.
20578
+ :param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
20288
20579
  :type EndTime: str
20289
20580
  :param _MetricName: Queried metric. Valid values:
20290
20581
  <li> l7Flow_outFlux_country: L7 EdgeOne response traffic aggregated by the country/region dimension;</li>
@@ -20312,7 +20603,7 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
20312
20603
  <li> l7Flow_request_ua_os: L7 request count aggregated by the operating system type dimension.</li>
20313
20604
  <li> l7Flow_request_ua: L7 request count aggregated by the User-Agent dimension.</li>
20314
20605
  :type MetricName: str
20315
- :param _ZoneIds: ZoneId set. This parameter is required.
20606
+ :param _ZoneIds: Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
20316
20607
  :type ZoneIds: list of str
20317
20608
  :param _Limit: Indicates the top N data to be queried. The maximum value is 1000. If this parameter is not input, the default value is 10, indicating querying the top 10 data.
20318
20609
  :type Limit: int
@@ -20368,7 +20659,7 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
20368
20659
 
20369
20660
  @property
20370
20661
  def EndTime(self):
20371
- """The end time.
20662
+ """The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days.
20372
20663
  :rtype: str
20373
20664
  """
20374
20665
  return self._EndTime
@@ -20414,7 +20705,7 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
20414
20705
 
20415
20706
  @property
20416
20707
  def ZoneIds(self):
20417
- """ZoneId set. This parameter is required.
20708
+ """Zone ID set. This parameter is required. A maximum of 100 zone IDs can be passed in. If you need to query data for all zones under the Tencent Cloud main account, please use "*" instead. To query account-level data, you need to have full resource permissions for all zones of this interface.
20418
20709
  :rtype: list of str
20419
20710
  """
20420
20711
  return self._ZoneIds
@@ -22036,6 +22327,70 @@ class DiffIPWhitelist(AbstractModel):
22036
22327
 
22037
22328
 
22038
22329
 
22330
+ class DisableOriginACLRequest(AbstractModel):
22331
+ """DisableOriginACL request structure.
22332
+
22333
+ """
22334
+
22335
+ def __init__(self):
22336
+ r"""
22337
+ :param _ZoneId: Specifies the site ID.
22338
+ :type ZoneId: str
22339
+ """
22340
+ self._ZoneId = None
22341
+
22342
+ @property
22343
+ def ZoneId(self):
22344
+ """Specifies the site ID.
22345
+ :rtype: str
22346
+ """
22347
+ return self._ZoneId
22348
+
22349
+ @ZoneId.setter
22350
+ def ZoneId(self, ZoneId):
22351
+ self._ZoneId = ZoneId
22352
+
22353
+
22354
+ def _deserialize(self, params):
22355
+ self._ZoneId = params.get("ZoneId")
22356
+ memeber_set = set(params.keys())
22357
+ for name, value in vars(self).items():
22358
+ property_name = name[1:]
22359
+ if property_name in memeber_set:
22360
+ memeber_set.remove(property_name)
22361
+ if len(memeber_set) > 0:
22362
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22363
+
22364
+
22365
+
22366
+ class DisableOriginACLResponse(AbstractModel):
22367
+ """DisableOriginACL response structure.
22368
+
22369
+ """
22370
+
22371
+ def __init__(self):
22372
+ r"""
22373
+ :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.
22374
+ :type RequestId: str
22375
+ """
22376
+ self._RequestId = None
22377
+
22378
+ @property
22379
+ def RequestId(self):
22380
+ """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.
22381
+ :rtype: str
22382
+ """
22383
+ return self._RequestId
22384
+
22385
+ @RequestId.setter
22386
+ def RequestId(self, RequestId):
22387
+ self._RequestId = RequestId
22388
+
22389
+
22390
+ def _deserialize(self, params):
22391
+ self._RequestId = params.get("RequestId")
22392
+
22393
+
22039
22394
  class DnsRecord(AbstractModel):
22040
22395
  """DNS record
22041
22396
 
@@ -22847,6 +23202,144 @@ class DropPageDetail(AbstractModel):
22847
23202
 
22848
23203
 
22849
23204
 
23205
+ class EnableOriginACLRequest(AbstractModel):
23206
+ """EnableOriginACL request structure.
23207
+
23208
+ """
23209
+
23210
+ def __init__(self):
23211
+ r"""
23212
+ :param _ZoneId: Specifies the site ID.
23213
+ :type ZoneId: str
23214
+ :param _L7EnableMode: The mode of configurating origin ACLs for L7 acceleration domains.
23215
+ - all: configurate origin ACLs for all L7 acceleration domains under the site.
23216
+ - specific: configurate origin ACLs for designated L7 acceleration domains under the site.
23217
+ When the parameter is empty, it defaults to specific.
23218
+
23219
+ :type L7EnableMode: str
23220
+ :param _L7Hosts: The list of L7 acceleration domains that require enabling the origin ACLs. This list must be empty when the request parameter L7EnableMode is set to 'all'. A maximum of 200 domains are supported at a time.
23221
+ :type L7Hosts: list of str
23222
+ :param _L4EnableMode: The mode of configurating origin ACLs for L4 proxy Instances.
23223
+ - all: configurate origin ACLs for all L4 proxy Instances under the site.
23224
+ - specific: configurate origin ACLs for designated L4 proxy Instances under the site.
23225
+ When the parameter is empty, it defaults to specific.
23226
+ :type L4EnableMode: str
23227
+ :param _L4ProxyIds: The list of L4 proxy Instances that require enabling origin ACLs. This list must be empty when the request parameter L4EnableMode is set to 'all'. A maximum of 100 instances are supported at a time.
23228
+ :type L4ProxyIds: list of str
23229
+ """
23230
+ self._ZoneId = None
23231
+ self._L7EnableMode = None
23232
+ self._L7Hosts = None
23233
+ self._L4EnableMode = None
23234
+ self._L4ProxyIds = None
23235
+
23236
+ @property
23237
+ def ZoneId(self):
23238
+ """Specifies the site ID.
23239
+ :rtype: str
23240
+ """
23241
+ return self._ZoneId
23242
+
23243
+ @ZoneId.setter
23244
+ def ZoneId(self, ZoneId):
23245
+ self._ZoneId = ZoneId
23246
+
23247
+ @property
23248
+ def L7EnableMode(self):
23249
+ """The mode of configurating origin ACLs for L7 acceleration domains.
23250
+ - all: configurate origin ACLs for all L7 acceleration domains under the site.
23251
+ - specific: configurate origin ACLs for designated L7 acceleration domains under the site.
23252
+ When the parameter is empty, it defaults to specific.
23253
+
23254
+ :rtype: str
23255
+ """
23256
+ return self._L7EnableMode
23257
+
23258
+ @L7EnableMode.setter
23259
+ def L7EnableMode(self, L7EnableMode):
23260
+ self._L7EnableMode = L7EnableMode
23261
+
23262
+ @property
23263
+ def L7Hosts(self):
23264
+ """The list of L7 acceleration domains that require enabling the origin ACLs. This list must be empty when the request parameter L7EnableMode is set to 'all'. A maximum of 200 domains are supported at a time.
23265
+ :rtype: list of str
23266
+ """
23267
+ return self._L7Hosts
23268
+
23269
+ @L7Hosts.setter
23270
+ def L7Hosts(self, L7Hosts):
23271
+ self._L7Hosts = L7Hosts
23272
+
23273
+ @property
23274
+ def L4EnableMode(self):
23275
+ """The mode of configurating origin ACLs for L4 proxy Instances.
23276
+ - all: configurate origin ACLs for all L4 proxy Instances under the site.
23277
+ - specific: configurate origin ACLs for designated L4 proxy Instances under the site.
23278
+ When the parameter is empty, it defaults to specific.
23279
+ :rtype: str
23280
+ """
23281
+ return self._L4EnableMode
23282
+
23283
+ @L4EnableMode.setter
23284
+ def L4EnableMode(self, L4EnableMode):
23285
+ self._L4EnableMode = L4EnableMode
23286
+
23287
+ @property
23288
+ def L4ProxyIds(self):
23289
+ """The list of L4 proxy Instances that require enabling origin ACLs. This list must be empty when the request parameter L4EnableMode is set to 'all'. A maximum of 100 instances are supported at a time.
23290
+ :rtype: list of str
23291
+ """
23292
+ return self._L4ProxyIds
23293
+
23294
+ @L4ProxyIds.setter
23295
+ def L4ProxyIds(self, L4ProxyIds):
23296
+ self._L4ProxyIds = L4ProxyIds
23297
+
23298
+
23299
+ def _deserialize(self, params):
23300
+ self._ZoneId = params.get("ZoneId")
23301
+ self._L7EnableMode = params.get("L7EnableMode")
23302
+ self._L7Hosts = params.get("L7Hosts")
23303
+ self._L4EnableMode = params.get("L4EnableMode")
23304
+ self._L4ProxyIds = params.get("L4ProxyIds")
23305
+ memeber_set = set(params.keys())
23306
+ for name, value in vars(self).items():
23307
+ property_name = name[1:]
23308
+ if property_name in memeber_set:
23309
+ memeber_set.remove(property_name)
23310
+ if len(memeber_set) > 0:
23311
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23312
+
23313
+
23314
+
23315
+ class EnableOriginACLResponse(AbstractModel):
23316
+ """EnableOriginACL response structure.
23317
+
23318
+ """
23319
+
23320
+ def __init__(self):
23321
+ r"""
23322
+ :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.
23323
+ :type RequestId: str
23324
+ """
23325
+ self._RequestId = None
23326
+
23327
+ @property
23328
+ def RequestId(self):
23329
+ """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.
23330
+ :rtype: str
23331
+ """
23332
+ return self._RequestId
23333
+
23334
+ @RequestId.setter
23335
+ def RequestId(self, RequestId):
23336
+ self._RequestId = RequestId
23337
+
23338
+
23339
+ def _deserialize(self, params):
23340
+ self._RequestId = params.get("RequestId")
23341
+
23342
+
22850
23343
  class EntityStatus(AbstractModel):
22851
23344
  """Status of domain names bound with this template.
22852
23345
 
@@ -31629,6 +32122,90 @@ class ModifyLoadBalancerResponse(AbstractModel):
31629
32122
  self._RequestId = params.get("RequestId")
31630
32123
 
31631
32124
 
32125
+ class ModifyOriginACLRequest(AbstractModel):
32126
+ """ModifyOriginACL request structure.
32127
+
32128
+ """
32129
+
32130
+ def __init__(self):
32131
+ r"""
32132
+ :param _ZoneId: Specifies the site ID.
32133
+ :type ZoneId: str
32134
+ :param _OriginACLEntities: Specifies the instance that needs to configurate origin ACLs.
32135
+ :type OriginACLEntities: list of OriginACLEntity
32136
+ """
32137
+ self._ZoneId = None
32138
+ self._OriginACLEntities = None
32139
+
32140
+ @property
32141
+ def ZoneId(self):
32142
+ """Specifies the site ID.
32143
+ :rtype: str
32144
+ """
32145
+ return self._ZoneId
32146
+
32147
+ @ZoneId.setter
32148
+ def ZoneId(self, ZoneId):
32149
+ self._ZoneId = ZoneId
32150
+
32151
+ @property
32152
+ def OriginACLEntities(self):
32153
+ """Specifies the instance that needs to configurate origin ACLs.
32154
+ :rtype: list of OriginACLEntity
32155
+ """
32156
+ return self._OriginACLEntities
32157
+
32158
+ @OriginACLEntities.setter
32159
+ def OriginACLEntities(self, OriginACLEntities):
32160
+ self._OriginACLEntities = OriginACLEntities
32161
+
32162
+
32163
+ def _deserialize(self, params):
32164
+ self._ZoneId = params.get("ZoneId")
32165
+ if params.get("OriginACLEntities") is not None:
32166
+ self._OriginACLEntities = []
32167
+ for item in params.get("OriginACLEntities"):
32168
+ obj = OriginACLEntity()
32169
+ obj._deserialize(item)
32170
+ self._OriginACLEntities.append(obj)
32171
+ memeber_set = set(params.keys())
32172
+ for name, value in vars(self).items():
32173
+ property_name = name[1:]
32174
+ if property_name in memeber_set:
32175
+ memeber_set.remove(property_name)
32176
+ if len(memeber_set) > 0:
32177
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
32178
+
32179
+
32180
+
32181
+ class ModifyOriginACLResponse(AbstractModel):
32182
+ """ModifyOriginACL response structure.
32183
+
32184
+ """
32185
+
32186
+ def __init__(self):
32187
+ r"""
32188
+ :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.
32189
+ :type RequestId: str
32190
+ """
32191
+ self._RequestId = None
32192
+
32193
+ @property
32194
+ def RequestId(self):
32195
+ """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.
32196
+ :rtype: str
32197
+ """
32198
+ return self._RequestId
32199
+
32200
+ @RequestId.setter
32201
+ def RequestId(self, RequestId):
32202
+ self._RequestId = RequestId
32203
+
32204
+
32205
+ def _deserialize(self, params):
32206
+ self._RequestId = params.get("RequestId")
32207
+
32208
+
31632
32209
  class ModifyOriginGroupRequest(AbstractModel):
31633
32210
  """ModifyOriginGroup request structure.
31634
32211
 
@@ -33518,6 +34095,125 @@ Note: When using MutualTLS as an input parameter in ModifyHostsCertificate, you
33518
34095
 
33519
34096
 
33520
34097
 
34098
+ class NextOriginACL(AbstractModel):
34099
+ """When origin ACLs are updated, this field will be returned with the next version of the IP range to take effect, including a comparison with the currently effective IP range.
34100
+
34101
+ """
34102
+
34103
+ def __init__(self):
34104
+ r"""
34105
+ :param _Version: Version number.
34106
+ :type Version: str
34107
+ :param _PlannedActiveTime: Version effective time, which adopts UTC+8 and follows the date and time format of the ISO 8601 standard.
34108
+ :type PlannedActiveTime: str
34109
+ :param _EntireAddresses: IP range details.
34110
+ :type EntireAddresses: :class:`tencentcloud.teo.v20220901.models.Addresses`
34111
+ :param _AddedAddresses: The latest origin IP range newly-added compared with the origin IP range in CurrentOrginACL.
34112
+ :type AddedAddresses: :class:`tencentcloud.teo.v20220901.models.Addresses`
34113
+ :param _RemovedAddresses: The latest origin IP range deleted compared with the origin IP range in CurrentOrginACL.
34114
+ :type RemovedAddresses: :class:`tencentcloud.teo.v20220901.models.Addresses`
34115
+ :param _NoChangeAddresses: The latest origin IP range is unchanged compared with the origin IP range in CurrentOrginACL.
34116
+ :type NoChangeAddresses: :class:`tencentcloud.teo.v20220901.models.Addresses`
34117
+ """
34118
+ self._Version = None
34119
+ self._PlannedActiveTime = None
34120
+ self._EntireAddresses = None
34121
+ self._AddedAddresses = None
34122
+ self._RemovedAddresses = None
34123
+ self._NoChangeAddresses = None
34124
+
34125
+ @property
34126
+ def Version(self):
34127
+ """Version number.
34128
+ :rtype: str
34129
+ """
34130
+ return self._Version
34131
+
34132
+ @Version.setter
34133
+ def Version(self, Version):
34134
+ self._Version = Version
34135
+
34136
+ @property
34137
+ def PlannedActiveTime(self):
34138
+ """Version effective time, which adopts UTC+8 and follows the date and time format of the ISO 8601 standard.
34139
+ :rtype: str
34140
+ """
34141
+ return self._PlannedActiveTime
34142
+
34143
+ @PlannedActiveTime.setter
34144
+ def PlannedActiveTime(self, PlannedActiveTime):
34145
+ self._PlannedActiveTime = PlannedActiveTime
34146
+
34147
+ @property
34148
+ def EntireAddresses(self):
34149
+ """IP range details.
34150
+ :rtype: :class:`tencentcloud.teo.v20220901.models.Addresses`
34151
+ """
34152
+ return self._EntireAddresses
34153
+
34154
+ @EntireAddresses.setter
34155
+ def EntireAddresses(self, EntireAddresses):
34156
+ self._EntireAddresses = EntireAddresses
34157
+
34158
+ @property
34159
+ def AddedAddresses(self):
34160
+ """The latest origin IP range newly-added compared with the origin IP range in CurrentOrginACL.
34161
+ :rtype: :class:`tencentcloud.teo.v20220901.models.Addresses`
34162
+ """
34163
+ return self._AddedAddresses
34164
+
34165
+ @AddedAddresses.setter
34166
+ def AddedAddresses(self, AddedAddresses):
34167
+ self._AddedAddresses = AddedAddresses
34168
+
34169
+ @property
34170
+ def RemovedAddresses(self):
34171
+ """The latest origin IP range deleted compared with the origin IP range in CurrentOrginACL.
34172
+ :rtype: :class:`tencentcloud.teo.v20220901.models.Addresses`
34173
+ """
34174
+ return self._RemovedAddresses
34175
+
34176
+ @RemovedAddresses.setter
34177
+ def RemovedAddresses(self, RemovedAddresses):
34178
+ self._RemovedAddresses = RemovedAddresses
34179
+
34180
+ @property
34181
+ def NoChangeAddresses(self):
34182
+ """The latest origin IP range is unchanged compared with the origin IP range in CurrentOrginACL.
34183
+ :rtype: :class:`tencentcloud.teo.v20220901.models.Addresses`
34184
+ """
34185
+ return self._NoChangeAddresses
34186
+
34187
+ @NoChangeAddresses.setter
34188
+ def NoChangeAddresses(self, NoChangeAddresses):
34189
+ self._NoChangeAddresses = NoChangeAddresses
34190
+
34191
+
34192
+ def _deserialize(self, params):
34193
+ self._Version = params.get("Version")
34194
+ self._PlannedActiveTime = params.get("PlannedActiveTime")
34195
+ if params.get("EntireAddresses") is not None:
34196
+ self._EntireAddresses = Addresses()
34197
+ self._EntireAddresses._deserialize(params.get("EntireAddresses"))
34198
+ if params.get("AddedAddresses") is not None:
34199
+ self._AddedAddresses = Addresses()
34200
+ self._AddedAddresses._deserialize(params.get("AddedAddresses"))
34201
+ if params.get("RemovedAddresses") is not None:
34202
+ self._RemovedAddresses = Addresses()
34203
+ self._RemovedAddresses._deserialize(params.get("RemovedAddresses"))
34204
+ if params.get("NoChangeAddresses") is not None:
34205
+ self._NoChangeAddresses = Addresses()
34206
+ self._NoChangeAddresses._deserialize(params.get("NoChangeAddresses"))
34207
+ memeber_set = set(params.keys())
34208
+ for name, value in vars(self).items():
34209
+ property_name = name[1:]
34210
+ if property_name in memeber_set:
34211
+ memeber_set.remove(property_name)
34212
+ if len(memeber_set) > 0:
34213
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
34214
+
34215
+
34216
+
33521
34217
  class NoCache(AbstractModel):
33522
34218
  """No-cache configuration
33523
34219
 
@@ -33873,6 +34569,194 @@ Note: This field may return `null`, indicating that no valid values can be obtai
33873
34569
 
33874
34570
 
33875
34571
 
34572
+ class OriginACLEntity(AbstractModel):
34573
+ """Instances that require configuration origin ACLs.
34574
+
34575
+ """
34576
+
34577
+ def __init__(self):
34578
+ r"""
34579
+ :param _Type: Instance type. Valid values:
34580
+ -l7: L7 acceleration domain;
34581
+ -l4: L4 proxy instance.
34582
+ :type Type: str
34583
+ :param _Instances: Instance detail. Valid values:
34584
+ -When Type = l7, please enter the L7 acceleration domain.
34585
+ -When Type = l4, please enter the L4 proxy instance ID.
34586
+ :type Instances: list of str
34587
+ :param _OperationMode: Operation mode. Valid values:.
34588
+ - enable: enabled L7/L4 instances.
34589
+ - disable: disable L7/L4 instances.
34590
+ :type OperationMode: str
34591
+ """
34592
+ self._Type = None
34593
+ self._Instances = None
34594
+ self._OperationMode = None
34595
+
34596
+ @property
34597
+ def Type(self):
34598
+ """Instance type. Valid values:
34599
+ -l7: L7 acceleration domain;
34600
+ -l4: L4 proxy instance.
34601
+ :rtype: str
34602
+ """
34603
+ return self._Type
34604
+
34605
+ @Type.setter
34606
+ def Type(self, Type):
34607
+ self._Type = Type
34608
+
34609
+ @property
34610
+ def Instances(self):
34611
+ """Instance detail. Valid values:
34612
+ -When Type = l7, please enter the L7 acceleration domain.
34613
+ -When Type = l4, please enter the L4 proxy instance ID.
34614
+ :rtype: list of str
34615
+ """
34616
+ return self._Instances
34617
+
34618
+ @Instances.setter
34619
+ def Instances(self, Instances):
34620
+ self._Instances = Instances
34621
+
34622
+ @property
34623
+ def OperationMode(self):
34624
+ """Operation mode. Valid values:.
34625
+ - enable: enabled L7/L4 instances.
34626
+ - disable: disable L7/L4 instances.
34627
+ :rtype: str
34628
+ """
34629
+ return self._OperationMode
34630
+
34631
+ @OperationMode.setter
34632
+ def OperationMode(self, OperationMode):
34633
+ self._OperationMode = OperationMode
34634
+
34635
+
34636
+ def _deserialize(self, params):
34637
+ self._Type = params.get("Type")
34638
+ self._Instances = params.get("Instances")
34639
+ self._OperationMode = params.get("OperationMode")
34640
+ memeber_set = set(params.keys())
34641
+ for name, value in vars(self).items():
34642
+ property_name = name[1:]
34643
+ if property_name in memeber_set:
34644
+ memeber_set.remove(property_name)
34645
+ if len(memeber_set) > 0:
34646
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
34647
+
34648
+
34649
+
34650
+ class OriginACLInfo(AbstractModel):
34651
+ """The binding relationship between L7 acceleration domains/L4 proxy instances and origin IP ranges, as well as origin IP range details.
34652
+
34653
+ """
34654
+
34655
+ def __init__(self):
34656
+ r"""
34657
+ :param _L7Hosts: The list of L7 accelerated domains that enable the origin ACLs. This field is empty when origin protection is not enabled.
34658
+ :type L7Hosts: list of str
34659
+ :param _L4ProxyIds: The list of L4 proxy instances that enable the origin ACLs. This field is empty when origin protection is not enabled.
34660
+ :type L4ProxyIds: list of str
34661
+ :param _CurrentOriginACL: Currently effective origin ACLs. This field is empty when origin protection is not enabled.
34662
+ Note: This field may return null, which indicates a failure to obtain a valid value.
34663
+ :type CurrentOriginACL: :class:`tencentcloud.teo.v20220901.models.CurrentOriginACL`
34664
+ :param _NextOriginACL: When the origin ACLs are updated, this field will be returned with the next version's origin IP range to take effect, including a comparison with the current origin IP range. This field is empty if not updated or origin protection is not enabled.
34665
+ Note: This field may return null, which indicates a failure to obtain a valid value.
34666
+ :type NextOriginACL: :class:`tencentcloud.teo.v20220901.models.NextOriginACL`
34667
+ :param _Status: Origin protection status. Vaild values:
34668
+ - online: in effect;
34669
+ - offline: disabled;
34670
+ - updating: configuration deployment in progress.
34671
+ :type Status: str
34672
+ """
34673
+ self._L7Hosts = None
34674
+ self._L4ProxyIds = None
34675
+ self._CurrentOriginACL = None
34676
+ self._NextOriginACL = None
34677
+ self._Status = None
34678
+
34679
+ @property
34680
+ def L7Hosts(self):
34681
+ """The list of L7 accelerated domains that enable the origin ACLs. This field is empty when origin protection is not enabled.
34682
+ :rtype: list of str
34683
+ """
34684
+ return self._L7Hosts
34685
+
34686
+ @L7Hosts.setter
34687
+ def L7Hosts(self, L7Hosts):
34688
+ self._L7Hosts = L7Hosts
34689
+
34690
+ @property
34691
+ def L4ProxyIds(self):
34692
+ """The list of L4 proxy instances that enable the origin ACLs. This field is empty when origin protection is not enabled.
34693
+ :rtype: list of str
34694
+ """
34695
+ return self._L4ProxyIds
34696
+
34697
+ @L4ProxyIds.setter
34698
+ def L4ProxyIds(self, L4ProxyIds):
34699
+ self._L4ProxyIds = L4ProxyIds
34700
+
34701
+ @property
34702
+ def CurrentOriginACL(self):
34703
+ """Currently effective origin ACLs. This field is empty when origin protection is not enabled.
34704
+ Note: This field may return null, which indicates a failure to obtain a valid value.
34705
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CurrentOriginACL`
34706
+ """
34707
+ return self._CurrentOriginACL
34708
+
34709
+ @CurrentOriginACL.setter
34710
+ def CurrentOriginACL(self, CurrentOriginACL):
34711
+ self._CurrentOriginACL = CurrentOriginACL
34712
+
34713
+ @property
34714
+ def NextOriginACL(self):
34715
+ """When the origin ACLs are updated, this field will be returned with the next version's origin IP range to take effect, including a comparison with the current origin IP range. This field is empty if not updated or origin protection is not enabled.
34716
+ Note: This field may return null, which indicates a failure to obtain a valid value.
34717
+ :rtype: :class:`tencentcloud.teo.v20220901.models.NextOriginACL`
34718
+ """
34719
+ return self._NextOriginACL
34720
+
34721
+ @NextOriginACL.setter
34722
+ def NextOriginACL(self, NextOriginACL):
34723
+ self._NextOriginACL = NextOriginACL
34724
+
34725
+ @property
34726
+ def Status(self):
34727
+ """Origin protection status. Vaild values:
34728
+ - online: in effect;
34729
+ - offline: disabled;
34730
+ - updating: configuration deployment in progress.
34731
+ :rtype: str
34732
+ """
34733
+ return self._Status
34734
+
34735
+ @Status.setter
34736
+ def Status(self, Status):
34737
+ self._Status = Status
34738
+
34739
+
34740
+ def _deserialize(self, params):
34741
+ self._L7Hosts = params.get("L7Hosts")
34742
+ self._L4ProxyIds = params.get("L4ProxyIds")
34743
+ if params.get("CurrentOriginACL") is not None:
34744
+ self._CurrentOriginACL = CurrentOriginACL()
34745
+ self._CurrentOriginACL._deserialize(params.get("CurrentOriginACL"))
34746
+ if params.get("NextOriginACL") is not None:
34747
+ self._NextOriginACL = NextOriginACL()
34748
+ self._NextOriginACL._deserialize(params.get("NextOriginACL"))
34749
+ self._Status = params.get("Status")
34750
+ memeber_set = set(params.keys())
34751
+ for name, value in vars(self).items():
34752
+ property_name = name[1:]
34753
+ if property_name in memeber_set:
34754
+ memeber_set.remove(property_name)
34755
+ if len(memeber_set) > 0:
34756
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
34757
+
34758
+
34759
+
33876
34760
  class OriginDetail(AbstractModel):
33877
34761
  """Details of the origin.
33878
34762