tencentcloud-sdk-python-intl-en 3.0.1229__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.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1229'
16
+ __version__ = '3.0.1230'
@@ -389,6 +389,9 @@ INVALIDPARAMETER_INVALIDCONDITIONS = 'InvalidParameter.InvalidConditions'
389
389
  # Invalid origin-pull configuration. When `OriginType` is `COS` or `AWS_S3`, the origin address must be an object storage domain name.
390
390
  INVALIDPARAMETER_INVALIDCOSDOMAIN = 'InvalidParameter.InvalidCosDomain'
391
391
 
392
+ # The domain name is illegal. check whether a non-existent domain name is passed in the input parameters.
393
+ INVALIDPARAMETER_INVALIDDOMAINS = 'InvalidParameter.InvalidDomains'
394
+
392
395
  # Invalid smart acceleration.
393
396
  INVALIDPARAMETER_INVALIDDYNAMICROUTINE = 'InvalidParameter.InvalidDynamicRoutine'
394
397
 
@@ -482,6 +485,9 @@ INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = 'InvalidParameter.InvalidPrivateAc
482
485
  # The value of `PrivateAccess` should be `on` or `off`.
483
486
  INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = 'InvalidParameter.InvalidPrivateAccessSwitch'
484
487
 
488
+ # The layer 4 proxy is illegal. check whether a non-existing proxy is passed in the input parameters.
489
+ INVALIDPARAMETER_INVALIDPROXIES = 'InvalidParameter.InvalidProxies'
490
+
485
491
  # The plan does not support QUIC.
486
492
  INVALIDPARAMETER_INVALIDQUICBILLING = 'InvalidParameter.InvalidQuicBilling'
487
493
 
@@ -1046,6 +1052,9 @@ OPERATIONDENIED_L4STATUSNOTINONLINE = 'OperationDenied.L4StatusNotInOnline'
1046
1052
  # The EdgeOne service cannot be disabled for the site: An accelerated domain name is being deployed.
1047
1053
  OPERATIONDENIED_L7HOSTINPROCESSSTATUS = 'OperationDenied.L7HostInProcessStatus'
1048
1054
 
1055
+ # The origin allowlist is already the latest version. no need to update.
1056
+ OPERATIONDENIED_LATESTVERSIONNOW = 'OperationDenied.LatestVersionNow'
1057
+
1049
1058
  # The affiliated Cloud Load Balancer is not in a running state. Operation is forbidden.
1050
1059
  OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = 'OperationDenied.LoadBalanceStatusNotInOnline'
1051
1060
 
@@ -1133,6 +1142,12 @@ OPERATIONDENIED_STATICIPAREACONFLICT = 'OperationDenied.StaticIpAreaConflict'
1133
1142
  # Disabling the origin-pull mutual authentication is not supported now. To disable it, please change the edge HTTPS certificate configuration to 'none'.
1134
1143
  OPERATIONDENIED_UNSUPPORTTOCLOSEUPSTREAMMTLS = 'OperationDenied.UnSupportToCloseUpstreamMTLS'
1135
1144
 
1145
+ # The package is not supported.
1146
+ OPERATIONDENIED_UNSUPPORTEDPLAN = 'OperationDenied.UnsupportedPlan'
1147
+
1148
+ # Please first update the IP allowlist.
1149
+ OPERATIONDENIED_UPDATEIPWHITELISTFIRST = 'OperationDenied.UpdateIPWhitelistFirst'
1150
+
1136
1151
  # To enable the origin-pull mutual authentication, please configure the edge HTTPS certificate first.
1137
1152
  OPERATIONDENIED_USEUPSTREAMMTLSNEEDOPENHTTPS = 'OperationDenied.UseUpstreamMTLSNeedOpenHttps'
1138
1153
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -118,6 +118,29 @@ class TeoClient(AbstractClient):
118
118
  raise TencentCloudSDKException(type(e).__name__, str(e))
119
119
 
120
120
 
121
+ def ConfirmOriginACLUpdate(self, request):
122
+ """This API is used to confirm that the latest origin ACLs have been updated to the origin server firewall when the origin ACLs change. After confirming the update to the latest version, related change notifications will stop pushing.
123
+
124
+ :param request: Request instance for ConfirmOriginACLUpdate.
125
+ :type request: :class:`tencentcloud.teo.v20220901.models.ConfirmOriginACLUpdateRequest`
126
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ConfirmOriginACLUpdateResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("ConfirmOriginACLUpdate", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.ConfirmOriginACLUpdateResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
121
144
  def CreateAccelerationDomain(self, request):
122
145
  """This API is used to create an acceleration domain name.
123
146
 
@@ -1805,6 +1828,29 @@ class TeoClient(AbstractClient):
1805
1828
  raise TencentCloudSDKException(type(e).__name__, str(e))
1806
1829
 
1807
1830
 
1831
+ def DescribeOriginACL(self, request):
1832
+ """This API is used to query the binding relationship between L7 acceleration domains/L4 proxy instances and origin ACLs under a site, as well as IP range details. If you want to periodically obtain the latest version of origin IP ranges through an automation script, you can poll this API at a low-frequency (recommended every three days). If the NextOriginACL field has a return value, synchronize the latest origin IP ranges to the origin server firewall configuration.
1833
+
1834
+ :param request: Request instance for DescribeOriginACL.
1835
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeOriginACLRequest`
1836
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeOriginACLResponse`
1837
+
1838
+ """
1839
+ try:
1840
+ params = request._serialize()
1841
+ headers = request.headers
1842
+ body = self.call("DescribeOriginACL", params, headers=headers)
1843
+ response = json.loads(body)
1844
+ model = models.DescribeOriginACLResponse()
1845
+ model._deserialize(response["Response"])
1846
+ return model
1847
+ except Exception as e:
1848
+ if isinstance(e, TencentCloudSDKException):
1849
+ raise
1850
+ else:
1851
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1852
+
1853
+
1808
1854
  def DescribeOriginGroup(self, request):
1809
1855
  """This API is used to obtain a list of origin groups.
1810
1856
 
@@ -2321,6 +2367,29 @@ class TeoClient(AbstractClient):
2321
2367
  raise TencentCloudSDKException(type(e).__name__, str(e))
2322
2368
 
2323
2369
 
2370
+ def DisableOriginACL(self, request):
2371
+ """This API is used to disable 'Origin Protection' of a site. Once disabled, resources related to it will no longer use only the origin ACLs provided by "origin protection" to request your origin, and stops sending update notifications on the origin ACLs.
2372
+
2373
+ :param request: Request instance for DisableOriginACL.
2374
+ :type request: :class:`tencentcloud.teo.v20220901.models.DisableOriginACLRequest`
2375
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DisableOriginACLResponse`
2376
+
2377
+ """
2378
+ try:
2379
+ params = request._serialize()
2380
+ headers = request.headers
2381
+ body = self.call("DisableOriginACL", params, headers=headers)
2382
+ response = json.loads(body)
2383
+ model = models.DisableOriginACLResponse()
2384
+ model._deserialize(response["Response"])
2385
+ return model
2386
+ except Exception as e:
2387
+ if isinstance(e, TencentCloudSDKException):
2388
+ raise
2389
+ else:
2390
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2391
+
2392
+
2324
2393
  def DownloadL4Logs(self, request):
2325
2394
  """This API is used to download L4 logs.
2326
2395
 
@@ -2367,6 +2436,35 @@ class TeoClient(AbstractClient):
2367
2436
  raise TencentCloudSDKException(type(e).__name__, str(e))
2368
2437
 
2369
2438
 
2439
+ def EnableOriginACL(self, request):
2440
+ """This API is used to enable 'Origin Protection' for Layer 4 or Layer 7 instances. The number of enabled instances has an upper limit: 200 for Layer 7 domains and 100 for Layer 4 proxy instances. The total number of instances cannot exceed 200, otherwise an error reminder will be triggered. You can first enable the maximum allowed number and use the ModifyOriginACL API to set the excess quantity.
2441
+
2442
+ This API is used to enable 'Origin Protection' for the site for the first time. Once enabled, EdgeOne will use specific origin IP ranges for L7 acceleration domains and L4 proxy instances. The maximum number of L7 acceleration domain that can be submitted in a single request is 200, and the maximum number of L4 proxy instance is 100. Mixed submissions of L7 acceleration domains and L4 proxy instances are supported, with a total maximum of 200 instances. If you need to enable more than 200 instances, you can first enable the maximum number by specifying the instances, and then enable the remaining instances through the API ModifyOriginACL. Any subsequent addition of L7 acceleration domains or L4 proxy instances should be configured through the API ModifyOriginACL.
2443
+
2444
+ Note:
2445
+ - Calling this API is considered as agreeing to [Origin Protection Enablement Conditions of Use](https://www.tencentcloud.com/document/product/1145/70561?!longPreview).
2446
+ - The origin IP ranges may change periodically. EdgeOne will notify you of changes to the origin IP ranges 14 days, 7 days, 3 days, and 1 day in advance through one or more methods such as internal messages, SMS, and email. To ensure you receive notifications about changes to the origin IP ranges, please make sure that you have selected the relevant product service notifications for the Edge Security Acceleration Platform (EO) in [Tencent Cloud Message Center](https://console.tencentcloud.com/message/subscription) and have configured the correct message recipients. For configuration details, please refer to Message [Subscription Management](https://www.tencentcloud.com/document/product/1233/60778).
2447
+
2448
+ :param request: Request instance for EnableOriginACL.
2449
+ :type request: :class:`tencentcloud.teo.v20220901.models.EnableOriginACLRequest`
2450
+ :rtype: :class:`tencentcloud.teo.v20220901.models.EnableOriginACLResponse`
2451
+
2452
+ """
2453
+ try:
2454
+ params = request._serialize()
2455
+ headers = request.headers
2456
+ body = self.call("EnableOriginACL", params, headers=headers)
2457
+ response = json.loads(body)
2458
+ model = models.EnableOriginACLResponse()
2459
+ model._deserialize(response["Response"])
2460
+ return model
2461
+ except Exception as e:
2462
+ if isinstance(e, TencentCloudSDKException):
2463
+ raise
2464
+ else:
2465
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2466
+
2467
+
2370
2468
  def ExportZoneConfig(self, request):
2371
2469
  """This API is used to export site configuration . The exported configuration is used for import via the API (ImportZoneConfig). This feature only supports the sites in the plans of the Standard Edition and the Enterprise Edition.
2372
2470
 
@@ -3040,6 +3138,29 @@ class TeoClient(AbstractClient):
3040
3138
  raise TencentCloudSDKException(type(e).__name__, str(e))
3041
3139
 
3042
3140
 
3141
+ def ModifyOriginACL(self, request):
3142
+ """This API is used to enable or disable specific origin ACLs for L7 acceleration domain names or L4 proxy instances. A single submission supports up to 200 L7 acceleration domain names or 100 L4 proxy instances. Hybrid submissions of L7 acceleration domain names and L4 proxy instances are supported, with a maximum total number of instances of 200. If changes are needed for exceeding 200 instances, submit them in batches via this API.
3143
+
3144
+ :param request: Request instance for ModifyOriginACL.
3145
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyOriginACLRequest`
3146
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyOriginACLResponse`
3147
+
3148
+ """
3149
+ try:
3150
+ params = request._serialize()
3151
+ headers = request.headers
3152
+ body = self.call("ModifyOriginACL", params, headers=headers)
3153
+ response = json.loads(body)
3154
+ model = models.ModifyOriginACLResponse()
3155
+ model._deserialize(response["Response"])
3156
+ return model
3157
+ except Exception as e:
3158
+ if isinstance(e, TencentCloudSDKException):
3159
+ raise
3160
+ else:
3161
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3162
+
3163
+
3043
3164
  def ModifyOriginGroup(self, request):
3044
3165
  """This API is used to modify the configuration of an origin group. The original configuration will be overwritten.
3045
3166
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1229
3
+ Version: 3.0.1230
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=bE_05wos8iq64UdvK1gm0R2PLsD8k0yyT8QVgi6FaBw,630
1
+ tencentcloud/__init__.py,sha256=2LgxM-zvycdXt7mMcJgH__x1P1Ts4vdjMR9JzYOeMGg,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
@@ -573,9 +573,9 @@ tencentcloud/teo/v20220106/errorcodes.py,sha256=rbR15SA5lWz2Bfvn2Qb_33J7jDVaoBB1
573
573
  tencentcloud/teo/v20220106/models.py,sha256=O7LYEZTTKjloNI2BuDHcaBdEpxjHezVYck_xkVhQse8,777923
574
574
  tencentcloud/teo/v20220106/teo_client.py,sha256=WqbKWMCSVc-Ey-oHXwtzs9bVefmD0B_Up0e1B5vC8OM,82907
575
575
  tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
576
- tencentcloud/teo/v20220901/errorcodes.py,sha256=1TLhna8MLSCt74G25lFKLjLNMgBQivezJy9DlXokTXE,60712
577
- tencentcloud/teo/v20220901/models.py,sha256=wd4MVmWSm3VynnoS8BbGEcDh_9MlblK1d16l5ruu47w,1627066
578
- tencentcloud/teo/v20220901/teo_client.py,sha256=zARs4NDLF3YBhZEcFtKD4PAKyGmw6Mp9Ue3UAmyuxwI,150139
576
+ tencentcloud/teo/v20220901/errorcodes.py,sha256=9Bgh2gbHNCC83kMVV99jT4bUf1goC6PvjiAALKsr1lM,61426
577
+ tencentcloud/teo/v20220901/models.py,sha256=u9rejqgMmcSRqX2pWsZ4mwHuyflzBtkD_7OxtuLOebE,1658816
578
+ tencentcloud/teo/v20220901/teo_client.py,sha256=w_jl3tLlOvHkrH5jByW5TBTx1WUzIPjQR_jszdGzhq8,157870
579
579
  tencentcloud/tiw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
580
580
  tencentcloud/tiw/v20190919/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
581
581
  tencentcloud/tiw/v20190919/errorcodes.py,sha256=SWlIppzLafoknDCajqvlAdh2a83rRm07aksn1EUGVAc,6361
@@ -663,7 +663,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
663
663
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
664
664
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
665
665
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
666
- tencentcloud_sdk_python_intl_en-3.0.1229.dist-info/METADATA,sha256=00xeq4g2jJCpZP8WGVjn5dgpG-6Bp83Pvl2W4fc11Bk,1628
667
- tencentcloud_sdk_python_intl_en-3.0.1229.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
668
- tencentcloud_sdk_python_intl_en-3.0.1229.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
669
- tencentcloud_sdk_python_intl_en-3.0.1229.dist-info/RECORD,,
666
+ tencentcloud_sdk_python_intl_en-3.0.1230.dist-info/METADATA,sha256=VTRLYbJIJp7XRScrJws-Lon3jxjo-crLv0tAVLYaEk4,1628
667
+ tencentcloud_sdk_python_intl_en-3.0.1230.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
668
+ tencentcloud_sdk_python_intl_en-3.0.1230.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
669
+ tencentcloud_sdk_python_intl_en-3.0.1230.dist-info/RECORD,,