tencentcloud-sdk-python-intl-en 3.0.1251__py2.py3-none-any.whl → 3.0.1253__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.
@@ -168,6 +168,7 @@ class TeoClient(AbstractClient):
168
168
 
169
169
  def CreateAliasDomain(self, request):
170
170
  """This API is used to create an alias domain name.
171
+ The feature is only supported by the enterprise plan and is currently in closed beta testing. If you need to use it, please [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service?from=connect-us).
171
172
 
172
173
  :param request: Request instance for CreateAliasDomain.
173
174
  :type request: :class:`tencentcloud.teo.v20220901.models.CreateAliasDomainRequest`
@@ -396,6 +397,31 @@ class TeoClient(AbstractClient):
396
397
  raise TencentCloudSDKException(type(e).__name__, str(e))
397
398
 
398
399
 
400
+ def CreateJustInTimeTranscodeTemplate(self, request):
401
+ """JIT transcoding already provides preset transcoding templates to meet most needs. If there are personalized transcoding requirements, you can create custom transcoding templates through this API, with up to 100 custom transcoding templates allowed.
402
+ This API is used to ensure the consistency of JIT transcoding effect, avoid video output exceptions caused by EO cache or M3U8 sharding template changes during the process, and templates cannot be modified after creation.
403
+ This API is used to learn about the detailed capacity of JIT transcoding. EdgeOne video instant processing function introduction (https://www.tencentcloud.comom/document/product/1552/111927?from_cn_redirect=1).
404
+
405
+ :param request: Request instance for CreateJustInTimeTranscodeTemplate.
406
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateJustInTimeTranscodeTemplateRequest`
407
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateJustInTimeTranscodeTemplateResponse`
408
+
409
+ """
410
+ try:
411
+ params = request._serialize()
412
+ headers = request.headers
413
+ body = self.call("CreateJustInTimeTranscodeTemplate", params, headers=headers)
414
+ response = json.loads(body)
415
+ model = models.CreateJustInTimeTranscodeTemplateResponse()
416
+ model._deserialize(response["Response"])
417
+ return model
418
+ except Exception as e:
419
+ if isinstance(e, TencentCloudSDKException):
420
+ raise
421
+ else:
422
+ raise TencentCloudSDKException(type(e).__name__, str(e))
423
+
424
+
399
425
  def CreateL4Proxy(self, request):
400
426
  """This API is used to create Layer 4 proxy instances.
401
427
 
@@ -488,6 +514,75 @@ class TeoClient(AbstractClient):
488
514
  raise TencentCloudSDKException(type(e).__name__, str(e))
489
515
 
490
516
 
517
+ def CreateMultiPathGateway(self, request):
518
+ """Create a multi-channel security acceleration gateway via this API, including Cloud Gateway (gateway created and managed by Tencent Cloud) and private gateway (gateway deployed by users). Query the status using DescribeMultiPathGateway, and creation is successful if the status is online.
519
+
520
+ :param request: Request instance for CreateMultiPathGateway.
521
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayRequest`
522
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayResponse`
523
+
524
+ """
525
+ try:
526
+ params = request._serialize()
527
+ headers = request.headers
528
+ body = self.call("CreateMultiPathGateway", params, headers=headers)
529
+ response = json.loads(body)
530
+ model = models.CreateMultiPathGatewayResponse()
531
+ model._deserialize(response["Response"])
532
+ return model
533
+ except Exception as e:
534
+ if isinstance(e, TencentCloudSDKException):
535
+ raise
536
+ else:
537
+ raise TencentCloudSDKException(type(e).__name__, str(e))
538
+
539
+
540
+ def CreateMultiPathGatewayLine(self, request):
541
+ """This API is used to create lines integrated with the multi-channel security acceleration gateway, including EdgeOne Layer-4 proxy and custom lines.
542
+
543
+ :param request: Request instance for CreateMultiPathGatewayLine.
544
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayLineRequest`
545
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayLineResponse`
546
+
547
+ """
548
+ try:
549
+ params = request._serialize()
550
+ headers = request.headers
551
+ body = self.call("CreateMultiPathGatewayLine", params, headers=headers)
552
+ response = json.loads(body)
553
+ model = models.CreateMultiPathGatewayLineResponse()
554
+ model._deserialize(response["Response"])
555
+ return model
556
+ except Exception as e:
557
+ if isinstance(e, TencentCloudSDKException):
558
+ raise
559
+ else:
560
+ raise TencentCloudSDKException(type(e).__name__, str(e))
561
+
562
+
563
+ def CreateMultiPathGatewaySecretKey(self, request):
564
+ """This API creates an access key for the multi-channel security acceleration gateway. Customers use the access key to sign requests for accessing the gateway. Each site can have only one key, which is applicable to all gateways under that site. Query the key via the DescribeMultiPathGatewaySecretKey API.
565
+
566
+ :param request: Request instance for CreateMultiPathGatewaySecretKey.
567
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewaySecretKeyRequest`
568
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewaySecretKeyResponse`
569
+
570
+ """
571
+ try:
572
+ params = request._serialize()
573
+ headers = request.headers
574
+ body = self.call("CreateMultiPathGatewaySecretKey", params, headers=headers)
575
+ response = json.loads(body)
576
+ model = models.CreateMultiPathGatewaySecretKeyResponse()
577
+ model._deserialize(response["Response"])
578
+ return model
579
+ except Exception as e:
580
+ if isinstance(e, TencentCloudSDKException):
581
+ raise
582
+ else:
583
+ raise TencentCloudSDKException(type(e).__name__, str(e))
584
+
585
+
491
586
  def CreateOriginGroup(self, request):
492
587
  """This API is used to create an origin group for easy management. The created origin server group can be used for **adding acceleration domain names** and **layer-4 proxy configuration**.
493
588
 
@@ -607,8 +702,15 @@ class TeoClient(AbstractClient):
607
702
 
608
703
 
609
704
  def CreateRealtimeLogDeliveryTask(self, request):
610
- """This API is used to create a real-time log delivery task. The following limits apply:
611
- An entity (a Layer 7 domain name or a Layer 4 proxy instance) under the combination of the same data delivery type (LogType) and data delivery area (Area) can be added to only one real-time log delivery task. It is recommended to first query the real-time log delivery task list by entity through the [DescribeRealtimeLogDeliveryTasks](https://intl.cloud.tencent.com/document/product/1552/104110?from_cn_redirect=1) API to check whether the entity has been added to another real-time log delivery task.
705
+ """This API is used to create a real-time log delivery task.
706
+ The following restrictions apply:
707
+
708
+ - When the log type (`LogType`) is site acceleration log (L7 access log) (`domain`), L4 proxy log (`application`), or Edge Function execution log (`function`), the same entity (L7 domain, L4 proxy instance, or Edge Function instance) can be added to only one of the following `TaskType` combinations within the same `LogType`-`Area` pair:
709
+ - One task delivering to Tencent Cloud CLS plus one task delivering to a custom HTTP(S) endpoint;
710
+ - One task delivering to Tencent Cloud CLS plus one task delivering to an AWS S3-compatible bucket.
711
+ - When the log type (`LogType`) is rate-limiting & CC attack protection log (`web-rateLiming`), managed rule log (`web-attack`), custom rule log (`web-rule`), or bot management log (`web-bot`), the same entity can be added to only one real-time log delivery task within the same `LogType`-`Area` pair.
712
+
713
+ Before creating a task, we recommend that you first call [DescribeRealtimeLogDeliveryTasks](https://intl.cloud.tencent.com/document/product/1552/104110?from_cn_redirect=1) to list existing tasks for the entity and verify whether it has already been added to another task.
612
714
 
613
715
  :param request: Request instance for CreateRealtimeLogDeliveryTask.
614
716
  :type request: :class:`tencentcloud.teo.v20220901.models.CreateRealtimeLogDeliveryTaskRequest`
@@ -631,7 +733,7 @@ class TeoClient(AbstractClient):
631
733
 
632
734
 
633
735
  def CreateRule(self, request):
634
- """This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [CreateL7AccRules](https://intl.cloud.tencent.com/document/product/1552/115822?from_cn_redirect=1).
736
+ """This interface is the old version of the rule engine creation interface. EdgeOne has fully upgraded the rule engine related interfaces on January 21, 2025. For details on the new version of the seven-layer acceleration rule creation interface, please refer to [CreateL7AccRules](https://intl.cloud.tencent.com/document/product/1552/115822?from_cn_redirect=1).<p style="color: red;">Note: Starting from January 21, 2025, the old version of the interface will stop updating and iteration. Subsequent new features will only be provided in the new version of the interface, and the original capabilities supported by the old version of the interface will not be affected. To avoid data field conflicts when using the old version of the interface, it is recommended that you migrate to the new version of the rule engine interface as soon as possible. </p>
635
737
 
636
738
  :param request: Request instance for CreateRule.
637
739
  :type request: :class:`tencentcloud.teo.v20220901.models.CreateRuleRequest`
@@ -653,6 +755,75 @@ class TeoClient(AbstractClient):
653
755
  raise TencentCloudSDKException(type(e).__name__, str(e))
654
756
 
655
757
 
758
+ def CreateSecurityAPIResource(self, request):
759
+ """This API is used to create an API resource.
760
+
761
+ :param request: Request instance for CreateSecurityAPIResource.
762
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIResourceRequest`
763
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIResourceResponse`
764
+
765
+ """
766
+ try:
767
+ params = request._serialize()
768
+ headers = request.headers
769
+ body = self.call("CreateSecurityAPIResource", params, headers=headers)
770
+ response = json.loads(body)
771
+ model = models.CreateSecurityAPIResourceResponse()
772
+ model._deserialize(response["Response"])
773
+ return model
774
+ except Exception as e:
775
+ if isinstance(e, TencentCloudSDKException):
776
+ raise
777
+ else:
778
+ raise TencentCloudSDKException(type(e).__name__, str(e))
779
+
780
+
781
+ def CreateSecurityAPIService(self, request):
782
+ """This API is used to create an API service.
783
+
784
+ :param request: Request instance for CreateSecurityAPIService.
785
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIServiceRequest`
786
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIServiceResponse`
787
+
788
+ """
789
+ try:
790
+ params = request._serialize()
791
+ headers = request.headers
792
+ body = self.call("CreateSecurityAPIService", params, headers=headers)
793
+ response = json.loads(body)
794
+ model = models.CreateSecurityAPIServiceResponse()
795
+ model._deserialize(response["Response"])
796
+ return model
797
+ except Exception as e:
798
+ if isinstance(e, TencentCloudSDKException):
799
+ raise
800
+ else:
801
+ raise TencentCloudSDKException(type(e).__name__, str(e))
802
+
803
+
804
+ def CreateSecurityClientAttester(self, request):
805
+ """This API is used to create client authentication options.
806
+
807
+ :param request: Request instance for CreateSecurityClientAttester.
808
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityClientAttesterRequest`
809
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityClientAttesterResponse`
810
+
811
+ """
812
+ try:
813
+ params = request._serialize()
814
+ headers = request.headers
815
+ body = self.call("CreateSecurityClientAttester", params, headers=headers)
816
+ response = json.loads(body)
817
+ model = models.CreateSecurityClientAttesterResponse()
818
+ model._deserialize(response["Response"])
819
+ return model
820
+ except Exception as e:
821
+ if isinstance(e, TencentCloudSDKException):
822
+ raise
823
+ else:
824
+ raise TencentCloudSDKException(type(e).__name__, str(e))
825
+
826
+
656
827
  def CreateSecurityIPGroup(self, request):
657
828
  """This API is used to create a security IP group.
658
829
 
@@ -676,6 +847,29 @@ class TeoClient(AbstractClient):
676
847
  raise TencentCloudSDKException(type(e).__name__, str(e))
677
848
 
678
849
 
850
+ def CreateSecurityJSInjectionRule(self, request):
851
+ """This API is used to create a JavaScript injection rule.
852
+
853
+ :param request: Request instance for CreateSecurityJSInjectionRule.
854
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityJSInjectionRuleRequest`
855
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityJSInjectionRuleResponse`
856
+
857
+ """
858
+ try:
859
+ params = request._serialize()
860
+ headers = request.headers
861
+ body = self.call("CreateSecurityJSInjectionRule", params, headers=headers)
862
+ response = json.loads(body)
863
+ model = models.CreateSecurityJSInjectionRuleResponse()
864
+ model._deserialize(response["Response"])
865
+ return model
866
+ except Exception as e:
867
+ if isinstance(e, TencentCloudSDKException):
868
+ raise
869
+ else:
870
+ raise TencentCloudSDKException(type(e).__name__, str(e))
871
+
872
+
679
873
  def CreateSharedCNAME(self, request):
680
874
  """This API is used to create a shared CNAME. It is now only available to beta users.
681
875
 
@@ -772,6 +966,7 @@ class TeoClient(AbstractClient):
772
966
 
773
967
  def DeleteAliasDomain(self, request):
774
968
  """This API is used to delete an alias domain name.
969
+ The feature is only supported by the enterprise plan and is currently in closed beta testing. If you need to use it, [Contact Us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service?from=connect-us).
775
970
 
776
971
  :param request: Request instance for DeleteAliasDomain.
777
972
  :type request: :class:`tencentcloud.teo.v20220901.models.DeleteAliasDomainRequest`
@@ -954,6 +1149,29 @@ class TeoClient(AbstractClient):
954
1149
  raise TencentCloudSDKException(type(e).__name__, str(e))
955
1150
 
956
1151
 
1152
+ def DeleteJustInTimeTranscodeTemplates(self, request):
1153
+ """This API is used to delete the appropriate just in time transcoding template based on the unique template identifier under the site ID.
1154
+
1155
+ :param request: Request instance for DeleteJustInTimeTranscodeTemplates.
1156
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteJustInTimeTranscodeTemplatesRequest`
1157
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteJustInTimeTranscodeTemplatesResponse`
1158
+
1159
+ """
1160
+ try:
1161
+ params = request._serialize()
1162
+ headers = request.headers
1163
+ body = self.call("DeleteJustInTimeTranscodeTemplates", params, headers=headers)
1164
+ response = json.loads(body)
1165
+ model = models.DeleteJustInTimeTranscodeTemplatesResponse()
1166
+ model._deserialize(response["Response"])
1167
+ return model
1168
+ except Exception as e:
1169
+ if isinstance(e, TencentCloudSDKException):
1170
+ raise
1171
+ else:
1172
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1173
+
1174
+
957
1175
  def DeleteL4Proxy(self, request):
958
1176
  """This API is used to delete a Layer 4 proxy instance.
959
1177
 
@@ -1046,6 +1264,52 @@ class TeoClient(AbstractClient):
1046
1264
  raise TencentCloudSDKException(type(e).__name__, str(e))
1047
1265
 
1048
1266
 
1267
+ def DeleteMultiPathGateway(self, request):
1268
+ """This API is used to delete a multi-channel security acceleration gateway, including private gateways and Cloud Gateways.
1269
+
1270
+ :param request: Request instance for DeleteMultiPathGateway.
1271
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayRequest`
1272
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayResponse`
1273
+
1274
+ """
1275
+ try:
1276
+ params = request._serialize()
1277
+ headers = request.headers
1278
+ body = self.call("DeleteMultiPathGateway", params, headers=headers)
1279
+ response = json.loads(body)
1280
+ model = models.DeleteMultiPathGatewayResponse()
1281
+ model._deserialize(response["Response"])
1282
+ return model
1283
+ except Exception as e:
1284
+ if isinstance(e, TencentCloudSDKException):
1285
+ raise
1286
+ else:
1287
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1288
+
1289
+
1290
+ def DeleteMultiPathGatewayLine(self, request):
1291
+ """This API is used to delete lines integrated with the multi-channel security acceleration gateway. Only custom lines support deletion.
1292
+
1293
+ :param request: Request instance for DeleteMultiPathGatewayLine.
1294
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayLineRequest`
1295
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayLineResponse`
1296
+
1297
+ """
1298
+ try:
1299
+ params = request._serialize()
1300
+ headers = request.headers
1301
+ body = self.call("DeleteMultiPathGatewayLine", params, headers=headers)
1302
+ response = json.loads(body)
1303
+ model = models.DeleteMultiPathGatewayLineResponse()
1304
+ model._deserialize(response["Response"])
1305
+ return model
1306
+ except Exception as e:
1307
+ if isinstance(e, TencentCloudSDKException):
1308
+ raise
1309
+ else:
1310
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1311
+
1312
+
1049
1313
  def DeleteOriginGroup(self, request):
1050
1314
  """This API is used to delete an origin group. Note that an origin group can not be deleted if it is referenced by services (e.g. L4 Proxy, domain name service, load balancing, rule engines).
1051
1315
 
@@ -1093,7 +1357,7 @@ class TeoClient(AbstractClient):
1093
1357
 
1094
1358
 
1095
1359
  def DeleteRules(self, request):
1096
- """This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [DeleteL7AccRules](https://intl.cloud.tencent.com/document/product/1552/115821?from_cn_redirect=1).
1360
+ """This interface is the old version of the rule engine deletion interface. EdgeOne has fully upgraded the rule engine related interfaces on January 21, 2025. For details on the new version of the seven-layer acceleration rule deletion interface, please refer to [DeleteL7AccRules](https://intl.cloud.tencent.com/document/product/1552/115821?from_cn_redirect=1).<0>Note: Starting from January 21, 2025, the earlier version API will no longer be updated. Subsequent new features will only be provided in the latest version interface. The original capabilities supported by the earlier version API will not be affected. To avoid field conflicts when using the earlier version API, it is recommended that you migrate to the new version rule engine API as soon as possible.</0>.
1097
1361
 
1098
1362
  :param request: Request instance for DeleteRules.
1099
1363
  :type request: :class:`tencentcloud.teo.v20220901.models.DeleteRulesRequest`
@@ -1115,6 +1379,75 @@ class TeoClient(AbstractClient):
1115
1379
  raise TencentCloudSDKException(type(e).__name__, str(e))
1116
1380
 
1117
1381
 
1382
+ def DeleteSecurityAPIResource(self, request):
1383
+ """This API is used to delete API resources.
1384
+
1385
+ :param request: Request instance for DeleteSecurityAPIResource.
1386
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIResourceRequest`
1387
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIResourceResponse`
1388
+
1389
+ """
1390
+ try:
1391
+ params = request._serialize()
1392
+ headers = request.headers
1393
+ body = self.call("DeleteSecurityAPIResource", params, headers=headers)
1394
+ response = json.loads(body)
1395
+ model = models.DeleteSecurityAPIResourceResponse()
1396
+ model._deserialize(response["Response"])
1397
+ return model
1398
+ except Exception as e:
1399
+ if isinstance(e, TencentCloudSDKException):
1400
+ raise
1401
+ else:
1402
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1403
+
1404
+
1405
+ def DeleteSecurityAPIService(self, request):
1406
+ """This API is used to delete the API service.
1407
+
1408
+ :param request: Request instance for DeleteSecurityAPIService.
1409
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIServiceRequest`
1410
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIServiceResponse`
1411
+
1412
+ """
1413
+ try:
1414
+ params = request._serialize()
1415
+ headers = request.headers
1416
+ body = self.call("DeleteSecurityAPIService", params, headers=headers)
1417
+ response = json.loads(body)
1418
+ model = models.DeleteSecurityAPIServiceResponse()
1419
+ model._deserialize(response["Response"])
1420
+ return model
1421
+ except Exception as e:
1422
+ if isinstance(e, TencentCloudSDKException):
1423
+ raise
1424
+ else:
1425
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1426
+
1427
+
1428
+ def DeleteSecurityClientAttester(self, request):
1429
+ """This API is used to delete client authentication options.
1430
+
1431
+ :param request: Request instance for DeleteSecurityClientAttester.
1432
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityClientAttesterRequest`
1433
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityClientAttesterResponse`
1434
+
1435
+ """
1436
+ try:
1437
+ params = request._serialize()
1438
+ headers = request.headers
1439
+ body = self.call("DeleteSecurityClientAttester", params, headers=headers)
1440
+ response = json.loads(body)
1441
+ model = models.DeleteSecurityClientAttesterResponse()
1442
+ model._deserialize(response["Response"])
1443
+ return model
1444
+ except Exception as e:
1445
+ if isinstance(e, TencentCloudSDKException):
1446
+ raise
1447
+ else:
1448
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1449
+
1450
+
1118
1451
  def DeleteSecurityIPGroup(self, request):
1119
1452
  """This API is used to delete a specified security IP group. Note that the security IP group cannot be deleted if it is referenced in a rule.
1120
1453
 
@@ -1138,6 +1471,29 @@ class TeoClient(AbstractClient):
1138
1471
  raise TencentCloudSDKException(type(e).__name__, str(e))
1139
1472
 
1140
1473
 
1474
+ def DeleteSecurityJSInjectionRule(self, request):
1475
+ """This API is used to delete JavaScript injection rules.
1476
+
1477
+ :param request: Request instance for DeleteSecurityJSInjectionRule.
1478
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityJSInjectionRuleRequest`
1479
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityJSInjectionRuleResponse`
1480
+
1481
+ """
1482
+ try:
1483
+ params = request._serialize()
1484
+ headers = request.headers
1485
+ body = self.call("DeleteSecurityJSInjectionRule", params, headers=headers)
1486
+ response = json.loads(body)
1487
+ model = models.DeleteSecurityJSInjectionRuleResponse()
1488
+ model._deserialize(response["Response"])
1489
+ return model
1490
+ except Exception as e:
1491
+ if isinstance(e, TencentCloudSDKException):
1492
+ raise
1493
+ else:
1494
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1495
+
1496
+
1141
1497
  def DeleteSharedCNAME(self, request):
1142
1498
  """This API is used to delete a shared CNAME. It is now only available to beta users.
1143
1499
 
@@ -1254,7 +1610,8 @@ class TeoClient(AbstractClient):
1254
1610
 
1255
1611
 
1256
1612
  def DescribeAliasDomains(self, request):
1257
- """This API is used to query the information of alias domain names.
1613
+ """This API is used to query the alias domain name information list.
1614
+ The feature is only supported in the enterprise plan and is currently in closed beta testing. If you need to use it, [Contact Us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service?from=connect-us).
1258
1615
 
1259
1616
  :param request: Request instance for DescribeAliasDomains.
1260
1617
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeAliasDomainsRequest`
@@ -1529,6 +1886,29 @@ class TeoClient(AbstractClient):
1529
1886
  raise TencentCloudSDKException(type(e).__name__, str(e))
1530
1887
 
1531
1888
 
1889
+ def DescribeDDoSProtection(self, request):
1890
+ """This API is used to search for site exclusive Anti-DDoS information.
1891
+
1892
+ :param request: Request instance for DescribeDDoSProtection.
1893
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeDDoSProtectionRequest`
1894
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeDDoSProtectionResponse`
1895
+
1896
+ """
1897
+ try:
1898
+ params = request._serialize()
1899
+ headers = request.headers
1900
+ body = self.call("DescribeDDoSProtection", params, headers=headers)
1901
+ response = json.loads(body)
1902
+ model = models.DescribeDDoSProtectionResponse()
1903
+ model._deserialize(response["Response"])
1904
+ return model
1905
+ except Exception as e:
1906
+ if isinstance(e, TencentCloudSDKException):
1907
+ raise
1908
+ else:
1909
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1910
+
1911
+
1532
1912
  def DescribeDefaultCertificates(self, request):
1533
1913
  """This API is used to query a list of default certificates.
1534
1914
 
@@ -1759,6 +2139,29 @@ class TeoClient(AbstractClient):
1759
2139
  raise TencentCloudSDKException(type(e).__name__, str(e))
1760
2140
 
1761
2141
 
2142
+ def DescribeJustInTimeTranscodeTemplates(self, request):
2143
+ """This API is used to search the transcoding template detail list according to the name, template type, or unique identifier of the just-in-time transcoding template. The returned results include all eligible custom templates and preset templates.
2144
+
2145
+ :param request: Request instance for DescribeJustInTimeTranscodeTemplates.
2146
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeJustInTimeTranscodeTemplatesRequest`
2147
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeJustInTimeTranscodeTemplatesResponse`
2148
+
2149
+ """
2150
+ try:
2151
+ params = request._serialize()
2152
+ headers = request.headers
2153
+ body = self.call("DescribeJustInTimeTranscodeTemplates", params, headers=headers)
2154
+ response = json.loads(body)
2155
+ model = models.DescribeJustInTimeTranscodeTemplatesResponse()
2156
+ model._deserialize(response["Response"])
2157
+ return model
2158
+ except Exception as e:
2159
+ if isinstance(e, TencentCloudSDKException):
2160
+ raise
2161
+ else:
2162
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2163
+
2164
+
1762
2165
  def DescribeL4Proxy(self, request):
1763
2166
  """This API is used to query a Layer 4 proxy instance list.
1764
2167
 
@@ -1828,20 +2231,135 @@ class TeoClient(AbstractClient):
1828
2231
  raise TencentCloudSDKException(type(e).__name__, str(e))
1829
2232
 
1830
2233
 
1831
- def DescribeL7AccSetting(self, request):
1832
- """This API is used to query the global configuration of [Site Acceleration](https://intl.cloud.tencent.com/document/product/1552/96193?from_cn_redirect=1).
2234
+ def DescribeL7AccSetting(self, request):
2235
+ """This API is used to query the global configuration of [Site Acceleration](https://intl.cloud.tencent.com/document/product/1552/96193?from_cn_redirect=1).
2236
+
2237
+ :param request: Request instance for DescribeL7AccSetting.
2238
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccSettingRequest`
2239
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccSettingResponse`
2240
+
2241
+ """
2242
+ try:
2243
+ params = request._serialize()
2244
+ headers = request.headers
2245
+ body = self.call("DescribeL7AccSetting", params, headers=headers)
2246
+ response = json.loads(body)
2247
+ model = models.DescribeL7AccSettingResponse()
2248
+ model._deserialize(response["Response"])
2249
+ return model
2250
+ except Exception as e:
2251
+ if isinstance(e, TencentCloudSDKException):
2252
+ raise
2253
+ else:
2254
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2255
+
2256
+
2257
+ def DescribeLoadBalancerList(self, request):
2258
+ """This API is used to query the LoadBalancer list. The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
2259
+
2260
+ :param request: Request instance for DescribeLoadBalancerList.
2261
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListRequest`
2262
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListResponse`
2263
+
2264
+ """
2265
+ try:
2266
+ params = request._serialize()
2267
+ headers = request.headers
2268
+ body = self.call("DescribeLoadBalancerList", params, headers=headers)
2269
+ response = json.loads(body)
2270
+ model = models.DescribeLoadBalancerListResponse()
2271
+ model._deserialize(response["Response"])
2272
+ return model
2273
+ except Exception as e:
2274
+ if isinstance(e, TencentCloudSDKException):
2275
+ raise
2276
+ else:
2277
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2278
+
2279
+
2280
+ def DescribeMultiPathGateway(self, request):
2281
+ """This API is used to query multi-channel security acceleration gateway details such as name, Gateway ID, IP, port and type.
2282
+
2283
+ :param request: Request instance for DescribeMultiPathGateway.
2284
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayRequest`
2285
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayResponse`
2286
+
2287
+ """
2288
+ try:
2289
+ params = request._serialize()
2290
+ headers = request.headers
2291
+ body = self.call("DescribeMultiPathGateway", params, headers=headers)
2292
+ response = json.loads(body)
2293
+ model = models.DescribeMultiPathGatewayResponse()
2294
+ model._deserialize(response["Response"])
2295
+ return model
2296
+ except Exception as e:
2297
+ if isinstance(e, TencentCloudSDKException):
2298
+ raise
2299
+ else:
2300
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2301
+
2302
+
2303
+ def DescribeMultiPathGatewayLine(self, request):
2304
+ """Use this API to query the lines integrated with the multi-channel security acceleration gateway, including direct connection lines, EdgeOne Layer-4 proxy lines, and custom lines.
2305
+
2306
+ :param request: Request instance for DescribeMultiPathGatewayLine.
2307
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayLineRequest`
2308
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayLineResponse`
2309
+
2310
+ """
2311
+ try:
2312
+ params = request._serialize()
2313
+ headers = request.headers
2314
+ body = self.call("DescribeMultiPathGatewayLine", params, headers=headers)
2315
+ response = json.loads(body)
2316
+ model = models.DescribeMultiPathGatewayLineResponse()
2317
+ model._deserialize(response["Response"])
2318
+ return model
2319
+ except Exception as e:
2320
+ if isinstance(e, TencentCloudSDKException):
2321
+ raise
2322
+ else:
2323
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2324
+
2325
+
2326
+ def DescribeMultiPathGatewayRegions(self, request):
2327
+ """This API is used to query the list of available regions for user-created multi-channel security acceleration gateways (Cloud Gateway).
2328
+
2329
+ :param request: Request instance for DescribeMultiPathGatewayRegions.
2330
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayRegionsRequest`
2331
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayRegionsResponse`
2332
+
2333
+ """
2334
+ try:
2335
+ params = request._serialize()
2336
+ headers = request.headers
2337
+ body = self.call("DescribeMultiPathGatewayRegions", params, headers=headers)
2338
+ response = json.loads(body)
2339
+ model = models.DescribeMultiPathGatewayRegionsResponse()
2340
+ model._deserialize(response["Response"])
2341
+ return model
2342
+ except Exception as e:
2343
+ if isinstance(e, TencentCloudSDKException):
2344
+ raise
2345
+ else:
2346
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2347
+
2348
+
2349
+ def DescribeMultiPathGatewaySecretKey(self, request):
2350
+ """This API is used to query keys for integrating multi-channel security acceleration gateways. Customers access multi-channel security acceleration gateways based on key signature.
1833
2351
 
1834
- :param request: Request instance for DescribeL7AccSetting.
1835
- :type request: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccSettingRequest`
1836
- :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccSettingResponse`
2352
+ :param request: Request instance for DescribeMultiPathGatewaySecretKey.
2353
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaySecretKeyRequest`
2354
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaySecretKeyResponse`
1837
2355
 
1838
2356
  """
1839
2357
  try:
1840
2358
  params = request._serialize()
1841
2359
  headers = request.headers
1842
- body = self.call("DescribeL7AccSetting", params, headers=headers)
2360
+ body = self.call("DescribeMultiPathGatewaySecretKey", params, headers=headers)
1843
2361
  response = json.loads(body)
1844
- model = models.DescribeL7AccSettingResponse()
2362
+ model = models.DescribeMultiPathGatewaySecretKeyResponse()
1845
2363
  model._deserialize(response["Response"])
1846
2364
  return model
1847
2365
  except Exception as e:
@@ -1851,20 +2369,20 @@ class TeoClient(AbstractClient):
1851
2369
  raise TencentCloudSDKException(type(e).__name__, str(e))
1852
2370
 
1853
2371
 
1854
- def DescribeLoadBalancerList(self, request):
1855
- """This API is used to query the LoadBalancer list. The load balancing feature is in beta test. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service).
2372
+ def DescribeMultiPathGateways(self, request):
2373
+ """Query the multi-channel security acceleration gateway list created by the user through this interface. Supports pagination.
1856
2374
 
1857
- :param request: Request instance for DescribeLoadBalancerList.
1858
- :type request: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListRequest`
1859
- :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListResponse`
2375
+ :param request: Request instance for DescribeMultiPathGateways.
2376
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaysRequest`
2377
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaysResponse`
1860
2378
 
1861
2379
  """
1862
2380
  try:
1863
2381
  params = request._serialize()
1864
2382
  headers = request.headers
1865
- body = self.call("DescribeLoadBalancerList", params, headers=headers)
2383
+ body = self.call("DescribeMultiPathGateways", params, headers=headers)
1866
2384
  response = json.loads(body)
1867
- model = models.DescribeLoadBalancerListResponse()
2385
+ model = models.DescribeMultiPathGatewaysResponse()
1868
2386
  model._deserialize(response["Response"])
1869
2387
  return model
1870
2388
  except Exception as e:
@@ -1944,7 +2462,9 @@ class TeoClient(AbstractClient):
1944
2462
 
1945
2463
 
1946
2464
  def DescribeOriginProtection(self, request):
1947
- """This API is used to query the origin protection configuration.
2465
+ """This API is used to query origin protection on an earlier version. EdgeOne comprehensively upgraded relevant APIs for origin protection on June 27, 2025. For details on the new version, see [DescribeOriginACL](https://intl.cloud.tencent.com/document/product/1552/120408?from_cn_redirect=1).
2466
+
2467
+ Note: Starting from June 27, 2025, the legacy version APIs will stop updating. New features will only be provided in the latest version APIs. To avoid data field conflicts when using legacy version APIs, it is recommended to migrate to the new version origin protection APIs as soon as possible.
1948
2468
 
1949
2469
  :param request: Request instance for DescribeOriginProtection.
1950
2470
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeOriginProtectionRequest`
@@ -1989,6 +2509,29 @@ class TeoClient(AbstractClient):
1989
2509
  raise TencentCloudSDKException(type(e).__name__, str(e))
1990
2510
 
1991
2511
 
2512
+ def DescribePlans(self, request):
2513
+ """This API is used to query package information list with pagination support.
2514
+
2515
+ :param request: Request instance for DescribePlans.
2516
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribePlansRequest`
2517
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribePlansResponse`
2518
+
2519
+ """
2520
+ try:
2521
+ params = request._serialize()
2522
+ headers = request.headers
2523
+ body = self.call("DescribePlans", params, headers=headers)
2524
+ response = json.loads(body)
2525
+ model = models.DescribePlansResponse()
2526
+ model._deserialize(response["Response"])
2527
+ return model
2528
+ except Exception as e:
2529
+ if isinstance(e, TencentCloudSDKException):
2530
+ raise
2531
+ else:
2532
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2533
+
2534
+
1992
2535
  def DescribePrefetchTasks(self, request):
1993
2536
  """DescribePrefetchTasks is used to query the submission history and execution progress of preheating tasks. This interface can be used to query the tasks submitted by the CreatePrefetchTasks interface.
1994
2537
 
@@ -2059,7 +2602,8 @@ class TeoClient(AbstractClient):
2059
2602
 
2060
2603
 
2061
2604
  def DescribeRules(self, request):
2062
- """This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [DescribeL7AccRules](https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1).
2605
+ """This API is on an earlier version to query engine rules. EdgeOne has comprehensively upgraded relevant APIs of the rule engine on January 21, 2025. For details about the new version API to query layer-7 acceleration rules, see DescribeL7AccRules(https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1).
2606
+ <p style="color: red;">Note: Starting from January 21, 2025, the old version of the interface will stop updating and iteration. Subsequent new features will only be provided in the new version of the interface, and the original capabilities supported by the old version of the interface will not be affected. To avoid data field conflicts when using the old version of the interface, it is recommended that you migrate to the new version of the rule engine interface as soon as possible. </p>
2063
2607
 
2064
2608
  :param request: Request instance for DescribeRules.
2065
2609
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeRulesRequest`
@@ -2104,8 +2648,77 @@ class TeoClient(AbstractClient):
2104
2648
  raise TencentCloudSDKException(type(e).__name__, str(e))
2105
2649
 
2106
2650
 
2651
+ def DescribeSecurityAPIResource(self, request):
2652
+ """This API is used to query API resources under a site.
2653
+
2654
+ :param request: Request instance for DescribeSecurityAPIResource.
2655
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIResourceRequest`
2656
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIResourceResponse`
2657
+
2658
+ """
2659
+ try:
2660
+ params = request._serialize()
2661
+ headers = request.headers
2662
+ body = self.call("DescribeSecurityAPIResource", params, headers=headers)
2663
+ response = json.loads(body)
2664
+ model = models.DescribeSecurityAPIResourceResponse()
2665
+ model._deserialize(response["Response"])
2666
+ return model
2667
+ except Exception as e:
2668
+ if isinstance(e, TencentCloudSDKException):
2669
+ raise
2670
+ else:
2671
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2672
+
2673
+
2674
+ def DescribeSecurityAPIService(self, request):
2675
+ """This API is used to query API services under a site.
2676
+
2677
+ :param request: Request instance for DescribeSecurityAPIService.
2678
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIServiceRequest`
2679
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIServiceResponse`
2680
+
2681
+ """
2682
+ try:
2683
+ params = request._serialize()
2684
+ headers = request.headers
2685
+ body = self.call("DescribeSecurityAPIService", params, headers=headers)
2686
+ response = json.loads(body)
2687
+ model = models.DescribeSecurityAPIServiceResponse()
2688
+ model._deserialize(response["Response"])
2689
+ return model
2690
+ except Exception as e:
2691
+ if isinstance(e, TencentCloudSDKException):
2692
+ raise
2693
+ else:
2694
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2695
+
2696
+
2697
+ def DescribeSecurityClientAttester(self, request):
2698
+ """This API is used to query client authentication option configuration.
2699
+
2700
+ :param request: Request instance for DescribeSecurityClientAttester.
2701
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityClientAttesterRequest`
2702
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityClientAttesterResponse`
2703
+
2704
+ """
2705
+ try:
2706
+ params = request._serialize()
2707
+ headers = request.headers
2708
+ body = self.call("DescribeSecurityClientAttester", params, headers=headers)
2709
+ response = json.loads(body)
2710
+ model = models.DescribeSecurityClientAttesterResponse()
2711
+ model._deserialize(response["Response"])
2712
+ return model
2713
+ except Exception as e:
2714
+ if isinstance(e, TencentCloudSDKException):
2715
+ raise
2716
+ else:
2717
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2718
+
2719
+
2107
2720
  def DescribeSecurityIPGroup(self, request):
2108
- """This API is used to query the configuration information of a security IP group, including the ID, name, and content of the security IP group.
2721
+ """This API is used to query the configuration information of a security IP group, including the ID, name and content of the security IP group. The query result of this API only returns up to 2000 IPs or CIDR blocks for each IP group. If there is a very large IP group exceeding 2000 IPs or CIDR blocks, call DescribeSecurityIPGroupContent to perform a paging query.
2109
2722
 
2110
2723
  :param request: Request instance for DescribeSecurityIPGroup.
2111
2724
  :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupRequest`
@@ -2127,6 +2740,29 @@ class TeoClient(AbstractClient):
2127
2740
  raise TencentCloudSDKException(type(e).__name__, str(e))
2128
2741
 
2129
2742
 
2743
+ def DescribeSecurityIPGroupContent(self, request):
2744
+ """This API is used to perform a paging query for the IP address list in a designated IP group. When the number of IP addresses in the group exceeds 2000, you can use this API to perform a paging query to obtain the complete IP address list.
2745
+
2746
+ :param request: Request instance for DescribeSecurityIPGroupContent.
2747
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupContentRequest`
2748
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupContentResponse`
2749
+
2750
+ """
2751
+ try:
2752
+ params = request._serialize()
2753
+ headers = request.headers
2754
+ body = self.call("DescribeSecurityIPGroupContent", params, headers=headers)
2755
+ response = json.loads(body)
2756
+ model = models.DescribeSecurityIPGroupContentResponse()
2757
+ model._deserialize(response["Response"])
2758
+ return model
2759
+ except Exception as e:
2760
+ if isinstance(e, TencentCloudSDKException):
2761
+ raise
2762
+ else:
2763
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2764
+
2765
+
2130
2766
  def DescribeSecurityIPGroupInfo(self, request):
2131
2767
  """The API is deprecated and will be discontinued on June 30, 2024. Please use the API [DescribeSecurityIPGroup
2132
2768
  ](https://intl.cloud.tencent.com/document/product/1552/105866?from_cn_redirect=1).
@@ -2153,6 +2789,29 @@ class TeoClient(AbstractClient):
2153
2789
  raise TencentCloudSDKException(type(e).__name__, str(e))
2154
2790
 
2155
2791
 
2792
+ def DescribeSecurityJSInjectionRule(self, request):
2793
+ """This API is used to query JavaScript injection rules.
2794
+
2795
+ :param request: Request instance for DescribeSecurityJSInjectionRule.
2796
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityJSInjectionRuleRequest`
2797
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityJSInjectionRuleResponse`
2798
+
2799
+ """
2800
+ try:
2801
+ params = request._serialize()
2802
+ headers = request.headers
2803
+ body = self.call("DescribeSecurityJSInjectionRule", params, headers=headers)
2804
+ response = json.loads(body)
2805
+ model = models.DescribeSecurityJSInjectionRuleResponse()
2806
+ model._deserialize(response["Response"])
2807
+ return model
2808
+ except Exception as e:
2809
+ if isinstance(e, TencentCloudSDKException):
2810
+ raise
2811
+ else:
2812
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2813
+
2814
+
2156
2815
  def DescribeSecurityPolicy(self, request):
2157
2816
  """This API is used to query the web and security protection configurations.
2158
2817
 
@@ -2529,13 +3188,11 @@ class TeoClient(AbstractClient):
2529
3188
 
2530
3189
 
2531
3190
  def EnableOriginACL(self, request):
2532
- """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.
2533
-
2534
- 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.
3191
+ """This API is used to enable origin protection for a site for the first time. Enabled, EdgeOne will use specific origin IP ranges to backhaul traffic for L7 acceleration domains/L4 proxy instances. The maximum allowed number of L7 acceleration domains per submission is 200, and the maximum allowed number of L4 proxy instances is 100. Mixing L7 acceleration domains and L4 proxy instances in a single submission is supported, with a total maximum of 200 instances. To enable more than 200 resources, first enable the maximum quantity via specified resources, then enable the remaining resources via the ModifyOriginACL API. Subsequent addition of L7 acceleration domains/L4 proxy instances should be configured via the ModifyOriginACL API.
2535
3192
 
2536
- Note:
2537
- - Calling this API is considered as agreeing to [Origin Protection Enablement Conditions of Use](https://www.tencentcloud.com/document/product/1145/70561?!longPreview).
2538
- - 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).
3193
+ Create and bind policy Query instance Reset instance access password.
3194
+ -Call this API to deem as consent to the origin protection enablement special agreement (https://intl.cloud.tencent.com/document/product/1552/120141?from_cn_redirect=1);.
3195
+ -The origin IP range may change irregularly. tencent cloud EdgeOne (EdgeOne) will trigger notifications via message Center, SMS, or email 14 days, 7 days, 3 days, and 1 day before the change. To ensure you receive the change notification for the origin IP range, please ensure you have selected EdgeOne product services in the [tencent cloud message Center console](https://console.cloud.tencent.com/message) and configured the correct message recipient. For the setting method, refer to [message Subscription Management](https://intl.cloud.tencent.com/document/product/567/43476?from_cn_redirect=1).
2539
3196
 
2540
3197
  :param request: Request instance for EnableOriginACL.
2541
3198
  :type request: :class:`tencentcloud.teo.v20220901.models.EnableOriginACLRequest`
@@ -2722,6 +3379,7 @@ class TeoClient(AbstractClient):
2722
3379
 
2723
3380
  def ModifyAliasDomain(self, request):
2724
3381
  """This API is used to modify an alias domain name.
3382
+ The feature is only supported in the enterprise plan and is currently in closed beta testing. If you need to use it, [contact us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service?from=connect-us).
2725
3383
 
2726
3384
  :param request: Request instance for ModifyAliasDomain.
2727
3385
  :type request: :class:`tencentcloud.teo.v20220901.models.ModifyAliasDomainRequest`
@@ -2745,6 +3403,7 @@ class TeoClient(AbstractClient):
2745
3403
 
2746
3404
  def ModifyAliasDomainStatus(self, request):
2747
3405
  """This API is used to modify the status of an alias domain name.
3406
+ The feature is only supported in the enterprise plan and is currently in closed beta testing. If you need to use it, [Contact Us](https://intl.cloud.tencent.com/online?from_cn_redirect=1-service?from=connect-us).
2748
3407
 
2749
3408
  :param request: Request instance for ModifyAliasDomainStatus.
2750
3409
  :type request: :class:`tencentcloud.teo.v20220901.models.ModifyAliasDomainStatusRequest`
@@ -2906,6 +3565,29 @@ class TeoClient(AbstractClient):
2906
3565
  raise TencentCloudSDKException(type(e).__name__, str(e))
2907
3566
 
2908
3567
 
3568
+ def ModifyDDoSProtection(self, request):
3569
+ """This API is used to modify site exclusive Anti-DDoS protection.
3570
+
3571
+ :param request: Request instance for ModifyDDoSProtection.
3572
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyDDoSProtectionRequest`
3573
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyDDoSProtectionResponse`
3574
+
3575
+ """
3576
+ try:
3577
+ params = request._serialize()
3578
+ headers = request.headers
3579
+ body = self.call("ModifyDDoSProtection", params, headers=headers)
3580
+ response = json.loads(body)
3581
+ model = models.ModifyDDoSProtectionResponse()
3582
+ model._deserialize(response["Response"])
3583
+ return model
3584
+ except Exception as e:
3585
+ if isinstance(e, TencentCloudSDKException):
3586
+ raise
3587
+ else:
3588
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3589
+
3590
+
2909
3591
  def ModifyDnsRecords(self, request):
2910
3592
  """This API is used to bulk modify DNS records.
2911
3593
 
@@ -3230,6 +3912,75 @@ class TeoClient(AbstractClient):
3230
3912
  raise TencentCloudSDKException(type(e).__name__, str(e))
3231
3913
 
3232
3914
 
3915
+ def ModifyMultiPathGateway(self, request):
3916
+ """This API is used to modify multi-channel security acceleration gateway information, such as name, gateway ID, IP and port.
3917
+
3918
+ :param request: Request instance for ModifyMultiPathGateway.
3919
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayRequest`
3920
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayResponse`
3921
+
3922
+ """
3923
+ try:
3924
+ params = request._serialize()
3925
+ headers = request.headers
3926
+ body = self.call("ModifyMultiPathGateway", params, headers=headers)
3927
+ response = json.loads(body)
3928
+ model = models.ModifyMultiPathGatewayResponse()
3929
+ model._deserialize(response["Response"])
3930
+ return model
3931
+ except Exception as e:
3932
+ if isinstance(e, TencentCloudSDKException):
3933
+ raise
3934
+ else:
3935
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3936
+
3937
+
3938
+ def ModifyMultiPathGatewayLine(self, request):
3939
+ """This API is used to modify the access lines of the multi-channel security acceleration gateway, including EdgeOne Layer-4 proxy lines and custom lines.
3940
+
3941
+ :param request: Request instance for ModifyMultiPathGatewayLine.
3942
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayLineRequest`
3943
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayLineResponse`
3944
+
3945
+ """
3946
+ try:
3947
+ params = request._serialize()
3948
+ headers = request.headers
3949
+ body = self.call("ModifyMultiPathGatewayLine", params, headers=headers)
3950
+ response = json.loads(body)
3951
+ model = models.ModifyMultiPathGatewayLineResponse()
3952
+ model._deserialize(response["Response"])
3953
+ return model
3954
+ except Exception as e:
3955
+ if isinstance(e, TencentCloudSDKException):
3956
+ raise
3957
+ else:
3958
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3959
+
3960
+
3961
+ def ModifyMultiPathGatewaySecretKey(self, request):
3962
+ """This API is used to modify the access key for the multi-channel security acceleration gateway.The access key is used by customers to sign requests for gateway access. The original key becomes invalid after modification.
3963
+
3964
+ :param request: Request instance for ModifyMultiPathGatewaySecretKey.
3965
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewaySecretKeyRequest`
3966
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewaySecretKeyResponse`
3967
+
3968
+ """
3969
+ try:
3970
+ params = request._serialize()
3971
+ headers = request.headers
3972
+ body = self.call("ModifyMultiPathGatewaySecretKey", params, headers=headers)
3973
+ response = json.loads(body)
3974
+ model = models.ModifyMultiPathGatewaySecretKeyResponse()
3975
+ model._deserialize(response["Response"])
3976
+ return model
3977
+ except Exception as e:
3978
+ if isinstance(e, TencentCloudSDKException):
3979
+ raise
3980
+ else:
3981
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3982
+
3983
+
3233
3984
  def ModifyOriginACL(self, request):
3234
3985
  """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.
3235
3986
 
@@ -3323,7 +4074,8 @@ class TeoClient(AbstractClient):
3323
4074
 
3324
4075
 
3325
4076
  def ModifyRule(self, request):
3326
- """This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [ModifyL7AccRule](https://intl.cloud.tencent.com/document/product/1552/115818?from_cn_redirect=1).
4077
+ """This API is on an earlier version. EdgeOne has comprehensively upgraded the relevant APIs of the rule engine on January 21, 2025. For details about the new version of the API for modifying layer-7 acceleration rules, see ModifyL7AccRule(https://intl.cloud.tencent.com/document/product/1552/115818?from_cn_redirect=1).
4078
+ <p style="color: red;">Note: Starting from January 21, 2025, the old version of the interface will stop updating and iteration. Subsequent new features will only be provided in the new version of the interface, and the original capabilities supported by the old version of the interface will not be affected. To avoid data field conflicts when using the old version of the interface, it is recommended that you migrate to the new version of the rule engine interface as soon as possible. </p>
3327
4079
 
3328
4080
  :param request: Request instance for ModifyRule.
3329
4081
  :type request: :class:`tencentcloud.teo.v20220901.models.ModifyRuleRequest`
@@ -3345,6 +4097,75 @@ class TeoClient(AbstractClient):
3345
4097
  raise TencentCloudSDKException(type(e).__name__, str(e))
3346
4098
 
3347
4099
 
4100
+ def ModifySecurityAPIResource(self, request):
4101
+ """This API is used to modify an API resource.
4102
+
4103
+ :param request: Request instance for ModifySecurityAPIResource.
4104
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIResourceRequest`
4105
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIResourceResponse`
4106
+
4107
+ """
4108
+ try:
4109
+ params = request._serialize()
4110
+ headers = request.headers
4111
+ body = self.call("ModifySecurityAPIResource", params, headers=headers)
4112
+ response = json.loads(body)
4113
+ model = models.ModifySecurityAPIResourceResponse()
4114
+ model._deserialize(response["Response"])
4115
+ return model
4116
+ except Exception as e:
4117
+ if isinstance(e, TencentCloudSDKException):
4118
+ raise
4119
+ else:
4120
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4121
+
4122
+
4123
+ def ModifySecurityAPIService(self, request):
4124
+ """This API is used to modify an API service.
4125
+
4126
+ :param request: Request instance for ModifySecurityAPIService.
4127
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIServiceRequest`
4128
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIServiceResponse`
4129
+
4130
+ """
4131
+ try:
4132
+ params = request._serialize()
4133
+ headers = request.headers
4134
+ body = self.call("ModifySecurityAPIService", params, headers=headers)
4135
+ response = json.loads(body)
4136
+ model = models.ModifySecurityAPIServiceResponse()
4137
+ model._deserialize(response["Response"])
4138
+ return model
4139
+ except Exception as e:
4140
+ if isinstance(e, TencentCloudSDKException):
4141
+ raise
4142
+ else:
4143
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4144
+
4145
+
4146
+ def ModifySecurityClientAttester(self, request):
4147
+ """This API is used to modify client authentication options.
4148
+
4149
+ :param request: Request instance for ModifySecurityClientAttester.
4150
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityClientAttesterRequest`
4151
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityClientAttesterResponse`
4152
+
4153
+ """
4154
+ try:
4155
+ params = request._serialize()
4156
+ headers = request.headers
4157
+ body = self.call("ModifySecurityClientAttester", params, headers=headers)
4158
+ response = json.loads(body)
4159
+ model = models.ModifySecurityClientAttesterResponse()
4160
+ model._deserialize(response["Response"])
4161
+ return model
4162
+ except Exception as e:
4163
+ if isinstance(e, TencentCloudSDKException):
4164
+ raise
4165
+ else:
4166
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4167
+
4168
+
3348
4169
  def ModifySecurityIPGroup(self, request):
3349
4170
  """This API is used to modify a security IP group.
3350
4171
 
@@ -3368,6 +4189,29 @@ class TeoClient(AbstractClient):
3368
4189
  raise TencentCloudSDKException(type(e).__name__, str(e))
3369
4190
 
3370
4191
 
4192
+ def ModifySecurityJSInjectionRule(self, request):
4193
+ """This API is used to modify JavaScript injection rules.
4194
+
4195
+ :param request: Request instance for ModifySecurityJSInjectionRule.
4196
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityJSInjectionRuleRequest`
4197
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityJSInjectionRuleResponse`
4198
+
4199
+ """
4200
+ try:
4201
+ params = request._serialize()
4202
+ headers = request.headers
4203
+ body = self.call("ModifySecurityJSInjectionRule", params, headers=headers)
4204
+ response = json.loads(body)
4205
+ model = models.ModifySecurityJSInjectionRuleResponse()
4206
+ model._deserialize(response["Response"])
4207
+ return model
4208
+ except Exception as e:
4209
+ if isinstance(e, TencentCloudSDKException):
4210
+ raise
4211
+ else:
4212
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4213
+
4214
+
3371
4215
  def ModifySecurityPolicy(self, request):
3372
4216
  """This API is used to modify the web and bot security configurations.
3373
4217
 
@@ -3483,6 +4327,29 @@ class TeoClient(AbstractClient):
3483
4327
  raise TencentCloudSDKException(type(e).__name__, str(e))
3484
4328
 
3485
4329
 
4330
+ def RefreshMultiPathGatewaySecretKey(self, request):
4331
+ """This API is used to refresh keys for multi-channel security acceleration gateways. Customers access multi-channel security acceleration gateways based on integration key signatures. Each site has only one access key, which applies to all gateways under that site. After refreshing the key, the original key becomes invalid.
4332
+
4333
+ :param request: Request instance for RefreshMultiPathGatewaySecretKey.
4334
+ :type request: :class:`tencentcloud.teo.v20220901.models.RefreshMultiPathGatewaySecretKeyRequest`
4335
+ :rtype: :class:`tencentcloud.teo.v20220901.models.RefreshMultiPathGatewaySecretKeyResponse`
4336
+
4337
+ """
4338
+ try:
4339
+ params = request._serialize()
4340
+ headers = request.headers
4341
+ body = self.call("RefreshMultiPathGatewaySecretKey", params, headers=headers)
4342
+ response = json.loads(body)
4343
+ model = models.RefreshMultiPathGatewaySecretKeyResponse()
4344
+ model._deserialize(response["Response"])
4345
+ return model
4346
+ except Exception as e:
4347
+ if isinstance(e, TencentCloudSDKException):
4348
+ raise
4349
+ else:
4350
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4351
+
4352
+
3486
4353
  def RenewPlan(self, request):
3487
4354
  """When your plan needs to be extended, you can use this interface to renew it. Plan renewal is only supported for the Personal, Basic, and Standard Editions.
3488
4355
  > For cost details, refer to [Plan Fees](https://intl.cloud.tencent.com/document/product/1552/94158?from_cn_redirect=1).