tencentcloud-sdk-nodejs-intl-en 3.0.1074 → 3.0.1075

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1074",
3
+ "version": "3.0.1075",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1074";
1
+ const sdkVersion = "3.0.1075";
2
2
  module.exports = sdkVersion
@@ -36,6 +36,7 @@ const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
36
36
  const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
37
37
  const DescribeCustomerBillSummaryResponse = models.DescribeCustomerBillSummaryResponse;
38
38
  const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
39
+ const QueryPolicyProductListByCodeRequest = models.QueryPolicyProductListByCodeRequest;
39
40
  const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
40
41
  const QueryCreditByUinListRequest = models.QueryCreditByUinListRequest;
41
42
  const CreateAccountResponse = models.CreateAccountResponse;
@@ -67,6 +68,7 @@ const QueryCreditQuotaRequest = models.QueryCreditQuotaRequest;
67
68
  const AllocateCustomerCreditResponse = models.AllocateCustomerCreditResponse;
68
69
  const QueryVoucherListByUinVoucherItem = models.QueryVoucherListByUinVoucherItem;
69
70
  const AllocateCreditPoolResponse = models.AllocateCreditPoolResponse;
71
+ const QueryPolicyProductListByCodeResponse = models.QueryPolicyProductListByCodeResponse;
70
72
  const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
71
73
  const QueryDirectCustomersCreditData = models.QueryDirectCustomersCreditData;
72
74
  const GetCountryCodesRequest = models.GetCountryCodesRequest;
@@ -84,6 +86,7 @@ const SummaryDetails = models.SummaryDetails;
84
86
  const DescribeCustomerInfoData = models.DescribeCustomerInfoData;
85
87
  const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
86
88
  const ModifyClientRemarkRequest = models.ModifyClientRemarkRequest;
89
+ const PolicyProductList = models.PolicyProductList;
87
90
  const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
88
91
  const QueryCustomersCreditData = models.QueryCustomersCreditData;
89
92
  const DescribeCustomerBillSummaryRequest = models.DescribeCustomerBillSummaryRequest;
@@ -382,6 +385,17 @@ class IntlpartnersmgtClient extends AbstractClient {
382
385
  this.request("QueryAccountVerificationStatus", req, resp, cb);
383
386
  }
384
387
 
388
+ /**
389
+ * This API is used to query the product list information within the specified policy range. To call this API, contact your account manager to add it to the allowlist.
390
+ * @param {QueryPolicyProductListByCodeRequest} req
391
+ * @param {function(string, QueryPolicyProductListByCodeResponse):void} cb
392
+ * @public
393
+ */
394
+ QueryPolicyProductListByCode(req, cb) {
395
+ let resp = new QueryPolicyProductListByCodeResponse();
396
+ this.request("QueryPolicyProductListByCode", req, resp, cb);
397
+ }
398
+
385
399
  /**
386
400
  * This API is used to query all the credit allocation records of a single customer.
387
401
  * @param {QueryCreditAllocationHistoryRequest} req
@@ -860,6 +860,62 @@ class QueryCustomersCreditRequest extends AbstractModel {
860
860
  }
861
861
  }
862
862
 
863
+ /**
864
+ * QueryPolicyProductListByCode request structure.
865
+ * @class
866
+ */
867
+ class QueryPolicyProductListByCodeRequest extends AbstractModel {
868
+ constructor(){
869
+ super();
870
+
871
+ /**
872
+ * Policy code
873
+ * @type {string || null}
874
+ */
875
+ this.PolicyCode = null;
876
+
877
+ /**
878
+ * Product code
879
+ * @type {string || null}
880
+ */
881
+ this.ProductCode = null;
882
+
883
+ /**
884
+ * Product name
885
+ * @type {string || null}
886
+ */
887
+ this.ProductName = null;
888
+
889
+ /**
890
+ * Subproduct code
891
+ * @type {string || null}
892
+ */
893
+ this.SubProductCode = null;
894
+
895
+ /**
896
+ * Subproduct name
897
+ * @type {string || null}
898
+ */
899
+ this.SubProductName = null;
900
+
901
+ }
902
+
903
+ /**
904
+ * @private
905
+ */
906
+ deserialize(params) {
907
+ if (!params) {
908
+ return;
909
+ }
910
+ this.PolicyCode = 'PolicyCode' in params ? params.PolicyCode : null;
911
+ this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
912
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
913
+ this.SubProductCode = 'SubProductCode' in params ? params.SubProductCode : null;
914
+ this.SubProductName = 'SubProductName' in params ? params.SubProductName : null;
915
+
916
+ }
917
+ }
918
+
863
919
  /**
864
920
  * DescribeBillDetail request structure.
865
921
  * @class
@@ -2472,6 +2528,49 @@ class AllocateCreditPoolResponse extends AbstractModel {
2472
2528
  }
2473
2529
  }
2474
2530
 
2531
+ /**
2532
+ * QueryPolicyProductListByCode response structure.
2533
+ * @class
2534
+ */
2535
+ class QueryPolicyProductListByCodeResponse extends AbstractModel {
2536
+ constructor(){
2537
+ super();
2538
+
2539
+ /**
2540
+ * Policy product list
2541
+ * @type {Array.<PolicyProductList> || null}
2542
+ */
2543
+ this.ProductList = null;
2544
+
2545
+ /**
2546
+ * 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.
2547
+ * @type {string || null}
2548
+ */
2549
+ this.RequestId = null;
2550
+
2551
+ }
2552
+
2553
+ /**
2554
+ * @private
2555
+ */
2556
+ deserialize(params) {
2557
+ if (!params) {
2558
+ return;
2559
+ }
2560
+
2561
+ if (params.ProductList) {
2562
+ this.ProductList = new Array();
2563
+ for (let z in params.ProductList) {
2564
+ let obj = new PolicyProductList();
2565
+ obj.deserialize(params.ProductList[z]);
2566
+ this.ProductList.push(obj);
2567
+ }
2568
+ }
2569
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2570
+
2571
+ }
2572
+ }
2573
+
2475
2574
  /**
2476
2575
  * DescribeBillSummaryByProduct request structure.
2477
2576
  * @class
@@ -3485,6 +3584,104 @@ class ModifyClientRemarkRequest extends AbstractModel {
3485
3584
  }
3486
3585
  }
3487
3586
 
3587
+ /**
3588
+ *
3589
+ * @class
3590
+ */
3591
+ class PolicyProductList extends AbstractModel {
3592
+ constructor(){
3593
+ super();
3594
+
3595
+ /**
3596
+ * Policy code.
3597
+ * @type {string || null}
3598
+ */
3599
+ this.PolicyCode = null;
3600
+
3601
+ /**
3602
+ * Product code, if the return is *, any item under this level is included in the policy product scope.
3603
+ * @type {string || null}
3604
+ */
3605
+ this.ProductCode = null;
3606
+
3607
+ /**
3608
+ * Product name, if the return is *, any item under this level is included in the policy product scope.
3609
+ * @type {string || null}
3610
+ */
3611
+ this.ProductName = null;
3612
+
3613
+ /**
3614
+ * SubProduct code, if the return is *, any item under this level is included in the policy product scope.
3615
+ * @type {string || null}
3616
+ */
3617
+ this.SubProductCode = null;
3618
+
3619
+ /**
3620
+ * SubProduct name, if the return is *, any item under this level is included in the policy product scope.
3621
+ * @type {string || null}
3622
+ */
3623
+ this.SubProductName = null;
3624
+
3625
+ /**
3626
+ * Component type code, if the return is *, any item under this level is included in the policy product scope.
3627
+ * @type {string || null}
3628
+ */
3629
+ this.ComponentTypeCode = null;
3630
+
3631
+ /**
3632
+ * Component type name, if the return is *, any item under this level is included in the policy product scope.
3633
+ * @type {string || null}
3634
+ */
3635
+ this.ComponentTypeName = null;
3636
+
3637
+ /**
3638
+ * Component code, if the return is *, any item under this level is included in the policy product scope.
3639
+ * @type {string || null}
3640
+ */
3641
+ this.ComponentCode = null;
3642
+
3643
+ /**
3644
+ * Component name, if the return is *, any item under this level is included in the policy product scope.
3645
+ * @type {string || null}
3646
+ */
3647
+ this.ComponentName = null;
3648
+
3649
+ /**
3650
+ * Policy effective date.
3651
+ * @type {string || null}
3652
+ */
3653
+ this.StartDate = null;
3654
+
3655
+ /**
3656
+ * Policy expiration date.
3657
+ * @type {string || null}
3658
+ */
3659
+ this.EndDate = null;
3660
+
3661
+ }
3662
+
3663
+ /**
3664
+ * @private
3665
+ */
3666
+ deserialize(params) {
3667
+ if (!params) {
3668
+ return;
3669
+ }
3670
+ this.PolicyCode = 'PolicyCode' in params ? params.PolicyCode : null;
3671
+ this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
3672
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
3673
+ this.SubProductCode = 'SubProductCode' in params ? params.SubProductCode : null;
3674
+ this.SubProductName = 'SubProductName' in params ? params.SubProductName : null;
3675
+ this.ComponentTypeCode = 'ComponentTypeCode' in params ? params.ComponentTypeCode : null;
3676
+ this.ComponentTypeName = 'ComponentTypeName' in params ? params.ComponentTypeName : null;
3677
+ this.ComponentCode = 'ComponentCode' in params ? params.ComponentCode : null;
3678
+ this.ComponentName = 'ComponentName' in params ? params.ComponentName : null;
3679
+ this.StartDate = 'StartDate' in params ? params.StartDate : null;
3680
+ this.EndDate = 'EndDate' in params ? params.EndDate : null;
3681
+
3682
+ }
3683
+ }
3684
+
3488
3685
  /**
3489
3686
  * Payment mode details in the customer bill data totaled by payment mode
3490
3687
  * @class
@@ -3802,6 +3999,7 @@ module.exports = {
3802
3999
  DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
3803
4000
  DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
3804
4001
  QueryCustomersCreditRequest: QueryCustomersCreditRequest,
4002
+ QueryPolicyProductListByCodeRequest: QueryPolicyProductListByCodeRequest,
3805
4003
  DescribeBillDetailRequest: DescribeBillDetailRequest,
3806
4004
  QueryCreditByUinListRequest: QueryCreditByUinListRequest,
3807
4005
  CreateAccountResponse: CreateAccountResponse,
@@ -3833,6 +4031,7 @@ module.exports = {
3833
4031
  AllocateCustomerCreditResponse: AllocateCustomerCreditResponse,
3834
4032
  QueryVoucherListByUinVoucherItem: QueryVoucherListByUinVoucherItem,
3835
4033
  AllocateCreditPoolResponse: AllocateCreditPoolResponse,
4034
+ QueryPolicyProductListByCodeResponse: QueryPolicyProductListByCodeResponse,
3836
4035
  DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
3837
4036
  QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
3838
4037
  GetCountryCodesRequest: GetCountryCodesRequest,
@@ -3850,6 +4049,7 @@ module.exports = {
3850
4049
  DescribeCustomerInfoData: DescribeCustomerInfoData,
3851
4050
  DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
3852
4051
  ModifyClientRemarkRequest: ModifyClientRemarkRequest,
4052
+ PolicyProductList: PolicyProductList,
3853
4053
  PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
3854
4054
  QueryCustomersCreditData: QueryCustomersCreditData,
3855
4055
  DescribeCustomerBillSummaryRequest: DescribeCustomerBillSummaryRequest,
@@ -409,6 +409,84 @@ Note: This field may return `null`, indicating that no valid value can be obtain
409
409
  }
410
410
  }
411
411
 
412
+ /**
413
+ * Origin group record
414
+ * @class
415
+ */
416
+ class OriginRecord extends AbstractModel {
417
+ constructor(){
418
+ super();
419
+
420
+ /**
421
+ * The origin record value, which can be an IPv4/IPv6 address or a domain name.
422
+ * @type {string || null}
423
+ */
424
+ this.Record = null;
425
+
426
+ /**
427
+ * The origin type. Values:
428
+ <li>`IP_DOMAIN`: IPv4/IPv6 address or domain name</li>
429
+ <li>`COS`: COS bucket address</li>
430
+ <li>`AWS_S3`: AWS S3 bucket address
431
+ * @type {string || null}
432
+ */
433
+ this.Type = null;
434
+
435
+ /**
436
+ * The origin record ID.
437
+ * @type {string || null}
438
+ */
439
+ this.RecordId = null;
440
+
441
+ /**
442
+ * Weight of an origin. Range: 0-100. If it is not specified, a random weight is assigned. If `0` is passed in, there is no traffic scheduled to this origin.
443
+ Note: This field may return·null, indicating that no valid values can be obtained.
444
+ * @type {number || null}
445
+ */
446
+ this.Weight = null;
447
+
448
+ /**
449
+ * Whether to enable private authentication. It is valid when `OriginType=COS/AWS_S3`. Values:
450
+ <li>`true`: Yes.</li>
451
+ <li>`false`: No.</li>Default: `false`.
452
+
453
+ * @type {boolean || null}
454
+ */
455
+ this.Private = null;
456
+
457
+ /**
458
+ * Private authentication parameters. This field is valid when `Private=true`.
459
+ * @type {Array.<PrivateParameter> || null}
460
+ */
461
+ this.PrivateParameters = null;
462
+
463
+ }
464
+
465
+ /**
466
+ * @private
467
+ */
468
+ deserialize(params) {
469
+ if (!params) {
470
+ return;
471
+ }
472
+ this.Record = 'Record' in params ? params.Record : null;
473
+ this.Type = 'Type' in params ? params.Type : null;
474
+ this.RecordId = 'RecordId' in params ? params.RecordId : null;
475
+ this.Weight = 'Weight' in params ? params.Weight : null;
476
+ this.Private = 'Private' in params ? params.Private : null;
477
+
478
+ if (params.PrivateParameters) {
479
+ this.PrivateParameters = new Array();
480
+ for (let z in params.PrivateParameters) {
481
+ let obj = new PrivateParameter();
482
+ obj.deserialize(params.PrivateParameters[z]);
483
+ this.PrivateParameters.push(obj);
484
+ }
485
+ }
486
+
487
+ }
488
+ }
489
+
412
490
  /**
413
491
  * DescribeConfigGroupVersionDetail response structure.
414
492
  * @class
@@ -2346,29 +2424,29 @@ class DescribeTopL7AnalysisDataRequest extends AbstractModel {
2346
2424
  this.EndTime = null;
2347
2425
 
2348
2426
  /**
2349
- * The metrics queried. Valid values:
2350
- <li> l7Flow_outFlux_country: statistics of the L7 EdgeOne response traffic by country/region;</li>
2351
- <li> l7Flow_outFlux_province: statistics of the L7 EdgeOne response traffic by province within the Chinese mainland;</li>
2352
- <li> l7Flow_outFlux_statusCode: statistics of the L7 EdgeOne response traffic by status code;</li>
2353
- <li> l7Flow_outFlux_domain: statistics of the L7 EdgeOne response traffic by domain name;</li>
2354
- <li> l7Flow_outFlux_url: statistics of the L7 EdgeOne response traffic by URL path;</li>
2355
- <li> l7Flow_outFlux_resourceType: statistics of the L7 EdgeOne response traffic by resource type;</li>
2356
- <li> l7Flow_outFlux_sip: statistics of the L7 EdgeOne response traffic by client IP;</li>
2357
- <li> l7Flow_outFlux_referers: statistics of the L7 EdgeOne response traffic by Referer;</li>
2358
- <li> l7Flow_outFlux_ua_device: statistics of the L7 EdgeOne response traffic by device type;</li>
2359
- <li> l7Flow_outFlux_ua_browser: statistics of the L7 EdgeOne response traffic by browser type;</li>
2360
- <li> l7Flow_outFlux_us_os: statistics of the L7 EdgeOne response traffic by operating system type;</li>
2361
- <li> l7Flow_request_country: statistics of the L7 access request count by country/region;</li>
2362
- <li> l7Flow_request_province: statistics of the L7 access request count by province within the Chinese mainland;</li>
2363
- <li> l7Flow_request_statusCode: statistics of the L7 access request count by status code;</li>
2364
- <li> l7Flow_request_domain: statistics of the L7 access request count by domain name;</li>
2365
- <li> l7Flow_request_url: statistics of the L7 access request count by URL path;</li>
2366
- <li> l7Flow_request_resourceType: statistics of the L7 access request count by resource type;</li>
2367
- <li> l7Flow_request_sip: statistics of the L7 access request count by client IP;</li>
2368
- <li> l7Flow_request_referer: statistics of the L7 access request count by Referer;</li>
2369
- <li> l7Flow_request_ua_device: statistics of the L7 access request count by device type;</li>
2370
- <li> l7Flow_request_ua_browser: statistics of the L7 access request count by browser type;</li>
2371
- <li> l7Flow_request_us_os: statistics of the L7 access request count by operating system type.</li>
2427
+ * Queried metric. Valid values:
2428
+ <li> l7Flow_outFlux_country: L7 EdgeOne response traffic metric counted by the country/region dimension;</li>
2429
+ <li> l7Flow_outFlux_province: L7 EdgeOne response traffic metric counted by the dimension of provinces in Chinese mainland;</li>
2430
+ <li> l7Flow_outFlux_statusCode: L7 EdgeOne response traffic metric counted by the status code dimension;</li>
2431
+ <li> l7Flow_outFlux_domain: L7 EdgeOne response traffic metric counted by the domain name dimension;</li>
2432
+ <li> l7Flow_outFlux_url: L7 EdgeOne response traffic metric counted by the URL path dimension;</li>
2433
+ <li> l7Flow_outFlux_resourceType: L7 EdgeOne response traffic metric counted by the resource type dimension;</li>
2434
+ <li> l7Flow_outFlux_sip: L7 EdgeOne response traffic metric counted by the client IP dimension;</li>
2435
+ <li> l7Flow_outFlux_referers: L7 EdgeOne response traffic metric counted by the referer dimension;</li>
2436
+ <li> l7Flow_outFlux_ua_device: L7 EdgeOne response traffic metric counted by the device type dimension;</li>
2437
+ <li> l7Flow_outFlux_ua_browser: L7 EdgeOne response traffic metric counted by the browser type dimension;</li>
2438
+ <li> l7Flow_outFlux_ua_os: L7 EdgeOne response traffic metric counted by the operating system type dimension;</li>
2439
+ <li> l7Flow_request_country: L7 access request count metric counted by the country/region dimension;</li>
2440
+ <li> l7Flow_request_province: L7 access request count metric counted by the dimension of provinces in the Chinese mainland;</li>
2441
+ <li> l7Flow_request_statusCode: L7 access request count metric counted by the status code dimension;</li>
2442
+ <li> l7Flow_request_domain: L7 access request count metric counted by the domain name dimension;</li>
2443
+ <li> l7Flow_request_url: L7 access request count metrics counted by the URL path dimension;</li>
2444
+ <li> l7Flow_request_resourceType: L7 access request count metric counted by the resource type dimension;</li>
2445
+ <li> l7Flow_request_sip: L7 access request count metric counted by the client IP dimension;</li>
2446
+ <li> l7Flow_request_referer: L7 access request count metric counted by the referer dimension;</li>
2447
+ <li> l7Flow_request_ua_device: L7 access request count metric counted by the device type dimension;</li>
2448
+ <li> l7Flow_request_ua_browser: L7 access request count metric counted by the browser type dimension;</li>
2449
+ <li> l7Flow_request_ua_os: L7 access request count metric counted by the operating system type dimension.</li>
2372
2450
 
2373
2451
  * @type {string || null}
2374
2452
  */
@@ -6564,20 +6642,31 @@ Note: This field may return `null`, indicating that no valid value can be obtain
6564
6642
  }
6565
6643
 
6566
6644
  /**
6567
- * Offline cache feature status switch.
6645
+ * CreateL4ProxyRules request structure.
6568
6646
  * @class
6569
6647
  */
6570
- class OfflineCache extends AbstractModel {
6648
+ class CreateL4ProxyRulesRequest extends AbstractModel {
6571
6649
  constructor(){
6572
6650
  super();
6573
6651
 
6574
6652
  /**
6575
- * Whether offline cache is enabled. Valid values:
6576
- <li>`on`: Enable</li>
6577
- <li>`off`: Disable</li>
6653
+ * Zone ID.
6578
6654
  * @type {string || null}
6579
6655
  */
6580
- this.Switch = null;
6656
+ this.ZoneId = null;
6657
+
6658
+ /**
6659
+ * Layer 4 proxy instance ID.
6660
+ * @type {string || null}
6661
+ */
6662
+ this.ProxyId = null;
6663
+
6664
+ /**
6665
+ * List of forwarding rules. A single request supports up to 200 forwarding rules.
6666
+ Note: When L4ProxyRule is used here, Protocol, PortRange, OriginType, OriginValue, and OriginPortRange are required fields; ClientIPPassThroughMode, SessionPersist, SessionPersistTime, and RuleTag are optional fields; do not fill in RuleId and Status.
6667
+ * @type {Array.<L4ProxyRule> || null}
6668
+ */
6669
+ this.L4ProxyRules = null;
6581
6670
 
6582
6671
  }
6583
6672
 
@@ -6588,7 +6677,17 @@ class OfflineCache extends AbstractModel {
6588
6677
  if (!params) {
6589
6678
  return;
6590
6679
  }
6591
- this.Switch = 'Switch' in params ? params.Switch : null;
6680
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
6681
+ this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
6682
+
6683
+ if (params.L4ProxyRules) {
6684
+ this.L4ProxyRules = new Array();
6685
+ for (let z in params.L4ProxyRules) {
6686
+ let obj = new L4ProxyRule();
6687
+ obj.deserialize(params.L4ProxyRules[z]);
6688
+ this.L4ProxyRules.push(obj);
6689
+ }
6690
+ }
6592
6691
 
6593
6692
  }
6594
6693
  }
@@ -9388,55 +9487,48 @@ class DescribeZonesRequest extends AbstractModel {
9388
9487
  }
9389
9488
 
9390
9489
  /**
9391
- * Origin group record
9490
+ * DescribeZoneConfigImportResult response structure.
9392
9491
  * @class
9393
9492
  */
9394
- class OriginRecord extends AbstractModel {
9493
+ class DescribeZoneConfigImportResultResponse extends AbstractModel {
9395
9494
  constructor(){
9396
9495
  super();
9397
9496
 
9398
9497
  /**
9399
- * The origin record value, which can be an IPv4/IPv6 address or a domain name.
9498
+ * The status of this import task. Valid values: <li>success: It indicates the configuration was successfully imported;</li> <li>failure: It indicates the configuration import failed;</li> <li>doing: It indicates the configuration is being imported.</li>
9400
9499
  * @type {string || null}
9401
9500
  */
9402
- this.Record = null;
9501
+ this.Status = null;
9403
9502
 
9404
9503
  /**
9405
- * The origin type. Values:
9406
- <li>`IP_DOMAIN`: IPv4/IPv6 address or domain name</li>
9407
- <li>`COS`: COS bucket address</li>
9408
- <li>`AWS_S3`: AWS S3 bucket address
9504
+ * The status message of this import task. If the configuration item import fails, you can view the failure cause through this field.
9409
9505
  * @type {string || null}
9410
9506
  */
9411
- this.Type = null;
9507
+ this.Message = null;
9412
9508
 
9413
9509
  /**
9414
- * The origin record ID.
9510
+ * The configuration content of this import task.
9415
9511
  * @type {string || null}
9416
9512
  */
9417
- this.RecordId = null;
9513
+ this.Content = null;
9418
9514
 
9419
9515
  /**
9420
- * Weight of an origin. Range: 0-100. If it is not specified, a random weight is assigned. If `0` is passed in, there is no traffic scheduled to this origin.
9421
- Note: This field may return·null, indicating that no valid values can be obtained.
9422
- * @type {number || null}
9516
+ * The start time of this import task.
9517
+ * @type {string || null}
9423
9518
  */
9424
- this.Weight = null;
9519
+ this.ImportTime = null;
9425
9520
 
9426
9521
  /**
9427
- * Whether to enable private authentication. It is valid when `OriginType=COS/AWS_S3`. Values:
9428
- <li>`true`: Yes.</li>
9429
- <li>`false`: No.</li>Default: `false`.
9430
-
9431
- * @type {boolean || null}
9522
+ * The end time of this import task.
9523
+ * @type {string || null}
9432
9524
  */
9433
- this.Private = null;
9525
+ this.FinishTime = null;
9434
9526
 
9435
9527
  /**
9436
- * Private authentication parameters. This field is valid when `Private=true`.
9437
- * @type {Array.<PrivateParameter> || null}
9528
+ * 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.
9529
+ * @type {string || null}
9438
9530
  */
9439
- this.PrivateParameters = null;
9531
+ this.RequestId = null;
9440
9532
 
9441
9533
  }
9442
9534
 
@@ -9447,20 +9539,12 @@ Note: This field may return·null, indicating that no valid values can be obtain
9447
9539
  if (!params) {
9448
9540
  return;
9449
9541
  }
9450
- this.Record = 'Record' in params ? params.Record : null;
9451
- this.Type = 'Type' in params ? params.Type : null;
9452
- this.RecordId = 'RecordId' in params ? params.RecordId : null;
9453
- this.Weight = 'Weight' in params ? params.Weight : null;
9454
- this.Private = 'Private' in params ? params.Private : null;
9455
-
9456
- if (params.PrivateParameters) {
9457
- this.PrivateParameters = new Array();
9458
- for (let z in params.PrivateParameters) {
9459
- let obj = new PrivateParameter();
9460
- obj.deserialize(params.PrivateParameters[z]);
9461
- this.PrivateParameters.push(obj);
9462
- }
9463
- }
9542
+ this.Status = 'Status' in params ? params.Status : null;
9543
+ this.Message = 'Message' in params ? params.Message : null;
9544
+ this.Content = 'Content' in params ? params.Content : null;
9545
+ this.ImportTime = 'ImportTime' in params ? params.ImportTime : null;
9546
+ this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
9547
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
9464
9548
 
9465
9549
  }
9466
9550
  }
@@ -10815,25 +10899,25 @@ class RuleCondition extends AbstractModel {
10815
10899
  this.Operator = null;
10816
10900
 
10817
10901
  /**
10818
- * Match type. Valid values: <li> filename: File name; </li> <li> extension: File extension; </li> <li> host: Host name; </li> <li> full_url: The complete URL path under the current site, which must include the HTTP protocol, host, and path; </li> <li> url: Request for the URL path under the current site; </li><li> client_country: Client country/region;</li> <li> query_string: The query string of the URL requested under the current site; </li> <li> request_header: HTTP request header; </li><li> client_ip: Client IP address; </li><li> request_protocol: Request Protocol; </li><li> request_method: HTTP Request Methods. </li>
10902
+ * Matching type. Valid values: <li>filename: Filename;</li><li>extension: File suffix;</li><li>host: Host;</li><li>full_url: A complete URL path under the current site, including the HTTP protocol, the host, and the path;</li><li>url: The request for a URL path under the current site;</li><li>client_country: Client country/region;</li><li>query_string: The query string for a requested URL under the current site;</li><li>request_header: HTTP request header;</li><li>client_ip: Client IP;</li><li>request_protocol: Request protocol;</li><li>request_method: HTTP request method.</li>
10819
10903
  * @type {string || null}
10820
10904
  */
10821
10905
  this.Target = null;
10822
10906
 
10823
10907
  /**
10824
- * The parameter values for match types. It is allowed to pass an empty array only when the match type is query_string or request_header and the operator value is Exist or Does Not Exist. The corresponding match types include:
10825
- <li> File extension: Extensions like jpg, txt, etc.;</li>
10826
- <li> File name: For example, foo in foo.jpg;</li>
10827
- <li> All: All requests for domain names under the site; </li>
10828
- <li> HOST: The host under the current site, for example, www.maxx55.com;</li>
10829
- <li> URL Path: Request for the URL path under the current site, for example, /example;</li>
10830
- <li> URL Full: The complete URL request under the current site, which must include the HTTP protocol, host, and path, for example, https://www.maxx55.cn/example;</li>
10831
- <li> Client country/region: Country/region codes compliant with the ISO3166 standard;</li>
10832
- <li> Query string: The parameter values in the query string of the URL requested under the current site, for example, cn and 1 in lang=cn&version=1; </li>
10833
- <li> HTTP request header: The value of the HTTP request header field, for example, zh-CN,zh;q=0.9 in Accept-Language:zh-CN,zh;q=0.9; </li>
10834
- <li> Client IP: The client IP address carried by the current request, supporting IPv4, IPv6, and an IP range; </li>
10835
- <li> Request Protocol: The protocol of the current request, with possible values: HTTP, HTTPS; </li>
10836
- <li> HTTP Request Methods: The method of the current request, with possible values: GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, OPTIONS, PATCH, COPY, LOCK, MKCOL, MOVE, PROPFIND, PROPPATCH, UNLOCK. </li>
10908
+ * Parameter values for corresponding matching types. It is allowed to pass an empty array only when the matching type is query_string or request_header and the operator value is exist or not exist. Corresponding match types include:
10909
+ <li>extension: File suffix such as jpg or txt;</li>
10910
+ <li> filename: For example, foo in foo.jpg;</li>
10911
+ <li> all (any request under the site): all;</li>
10912
+ <li> host: The host under the current site. For example, www.maxx55.com;</li>
10913
+ <li> URL path: The request for a URL path under the current site. For example, /example;</li>
10914
+ <li> URL full: The request for a complete URL under the current site, including the HTTP protocol, the host, and the path. For example: https://www.maxx55.cn/example;</li>
10915
+ <li> client_country: Country/region identifier compliant with the ISO3166 standard;</li>
10916
+ <li> query_string: The parameter value in the query string of the requested URL under the current site. For example, cn and 1 in lang=cn&version=1;</li>
10917
+ <li> request_header: The value of the HTTP request header field. For example, zh-CN,zh;q=0.9 in Accept-Language:zh-CN,zh;q=0.9;</li>
10918
+ <li> client_ip: The client request IP carried in the current request, which supports IPv4/IPv6 and an IP range;</li>
10919
+ <li> request_protocol: The protocol of the current request. Valid values: HTTP and HTTPS;</li>
10920
+ <li> request_method: The method of the current request. Valid values: GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, OPTIONS, PATCH, COPY, LOCK, MKCOL, MOVE, PROPFIND, PROPPATCH, and UNLOCK. </li>
10837
10921
  * @type {Array.<string> || null}
10838
10922
  */
10839
10923
  this.Values = null;
@@ -12257,31 +12341,58 @@ class JITVideoProcess extends AbstractModel {
12257
12341
  }
12258
12342
 
12259
12343
  /**
12260
- * CreateL4ProxyRules request structure.
12344
+ * Offline cache feature status switch.
12261
12345
  * @class
12262
12346
  */
12263
- class CreateL4ProxyRulesRequest extends AbstractModel {
12347
+ class OfflineCache extends AbstractModel {
12264
12348
  constructor(){
12265
12349
  super();
12266
12350
 
12267
12351
  /**
12268
- * Zone ID.
12352
+ * Whether offline cache is enabled. Valid values:
12353
+ <li>`on`: Enable</li>
12354
+ <li>`off`: Disable</li>
12269
12355
  * @type {string || null}
12270
12356
  */
12271
- this.ZoneId = null;
12357
+ this.Switch = null;
12358
+
12359
+ }
12360
+
12361
+ /**
12362
+ * @private
12363
+ */
12364
+ deserialize(params) {
12365
+ if (!params) {
12366
+ return;
12367
+ }
12368
+ this.Switch = 'Switch' in params ? params.Switch : null;
12369
+
12370
+ }
12371
+ }
12372
+
12373
+ /**
12374
+ * Bot intelligence rules
12375
+ * @class
12376
+ */
12377
+ class IntelligenceRule extends AbstractModel {
12378
+ constructor(){
12379
+ super();
12272
12380
 
12273
12381
  /**
12274
- * Layer 4 proxy instance ID.
12382
+ * Switch. Values:
12383
+ <li>`on`: Enable</li>
12384
+ <li>`off`: Disable</li>
12385
+ Note: This field may return null, indicating that no valid values can be obtained.
12275
12386
  * @type {string || null}
12276
12387
  */
12277
- this.ProxyId = null;
12388
+ this.Switch = null;
12278
12389
 
12279
12390
  /**
12280
- * List of forwarding rules. A single request supports up to 200 forwarding rules.
12281
- Note: When L4ProxyRule is used here, Protocol, PortRange, OriginType, OriginValue, and OriginPortRange are required fields; ClientIPPassThroughMode, SessionPersist, SessionPersistTime, and RuleTag are optional fields; do not fill in RuleId and Status.
12282
- * @type {Array.<L4ProxyRule> || null}
12391
+ * Items in a bot intelligence rule
12392
+ Note: This field may return null, indicating that no valid values can be obtained.
12393
+ * @type {Array.<IntelligenceRuleItem> || null}
12283
12394
  */
12284
- this.L4ProxyRules = null;
12395
+ this.IntelligenceRuleItems = null;
12285
12396
 
12286
12397
  }
12287
12398
 
@@ -12292,15 +12403,14 @@ Note: When L4ProxyRule is used here, Protocol, PortRange, OriginType, OriginValu
12292
12403
  if (!params) {
12293
12404
  return;
12294
12405
  }
12295
- this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
12296
- this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
12406
+ this.Switch = 'Switch' in params ? params.Switch : null;
12297
12407
 
12298
- if (params.L4ProxyRules) {
12299
- this.L4ProxyRules = new Array();
12300
- for (let z in params.L4ProxyRules) {
12301
- let obj = new L4ProxyRule();
12302
- obj.deserialize(params.L4ProxyRules[z]);
12303
- this.L4ProxyRules.push(obj);
12408
+ if (params.IntelligenceRuleItems) {
12409
+ this.IntelligenceRuleItems = new Array();
12410
+ for (let z in params.IntelligenceRuleItems) {
12411
+ let obj = new IntelligenceRuleItem();
12412
+ obj.deserialize(params.IntelligenceRuleItems[z]);
12413
+ this.IntelligenceRuleItems.push(obj);
12304
12414
  }
12305
12415
  }
12306
12416
 
@@ -13016,6 +13126,41 @@ class CheckCnameStatusResponse extends AbstractModel {
13016
13126
  }
13017
13127
  }
13018
13128
 
13129
+ /**
13130
+ * ImportZoneConfig response structure.
13131
+ * @class
13132
+ */
13133
+ class ImportZoneConfigResponse extends AbstractModel {
13134
+ constructor(){
13135
+ super();
13136
+
13137
+ /**
13138
+ * It indicates the task ID of this import configuration. You can obtain the result of this import task through the site configuration import result query API (DescribeZoneConfigImportResult). Note: The import task ID is only retained for 7 days.
13139
+ * @type {string || null}
13140
+ */
13141
+ this.TaskId = null;
13142
+
13143
+ /**
13144
+ * 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.
13145
+ * @type {string || null}
13146
+ */
13147
+ this.RequestId = null;
13148
+
13149
+ }
13150
+
13151
+ /**
13152
+ * @private
13153
+ */
13154
+ deserialize(params) {
13155
+ if (!params) {
13156
+ return;
13157
+ }
13158
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
13159
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
13160
+
13161
+ }
13162
+ }
13163
+
13019
13164
  /**
13020
13165
  * The configuration information of real-time log delivery to a custom HTTP(S) interface
13021
13166
  * @class
@@ -17729,6 +17874,41 @@ Note: This field may return `null`, indicating that no valid value can be obtain
17729
17874
  }
17730
17875
  }
17731
17876
 
17877
+ /**
17878
+ * DescribeZoneConfigImportResult request structure.
17879
+ * @class
17880
+ */
17881
+ class DescribeZoneConfigImportResultRequest extends AbstractModel {
17882
+ constructor(){
17883
+ super();
17884
+
17885
+ /**
17886
+ * Zone ID.
17887
+ * @type {string || null}
17888
+ */
17889
+ this.ZoneId = null;
17890
+
17891
+ /**
17892
+ * It indicates the configuration import task ID for which the result needs to be queried. The import task ID is only retained for 7 days.
17893
+ * @type {string || null}
17894
+ */
17895
+ this.TaskId = null;
17896
+
17897
+ }
17898
+
17899
+ /**
17900
+ * @private
17901
+ */
17902
+ deserialize(params) {
17903
+ if (!params) {
17904
+ return;
17905
+ }
17906
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
17907
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
17908
+
17909
+ }
17910
+ }
17911
+
17732
17912
  /**
17733
17913
  * ModifyApplicationProxyRuleStatus request structure.
17734
17914
  * @class
@@ -19492,6 +19672,42 @@ class DescribeOriginGroupHealthStatusRequest extends AbstractModel {
19492
19672
  }
19493
19673
  }
19494
19674
 
19675
+ /**
19676
+ * ExportZoneConfig request structure.
19677
+ * @class
19678
+ */
19679
+ class ExportZoneConfigRequest extends AbstractModel {
19680
+ constructor(){
19681
+ super();
19682
+
19683
+ /**
19684
+ * Zone ID.
19685
+ * @type {string || null}
19686
+ */
19687
+ this.ZoneId = null;
19688
+
19689
+ /**
19690
+ * It indicates exporting the type list of configuration . If it is left blank, all types of configurations will be exported. Currently supported valid values:<li>L7AccelerationConfig: It indicates exporting the Layer-7 acceleration configuration, corresponding to the console's "Site Acceleration - Global Acceleration Configuration" and "Site Acceleration - Rule Engine".</li>
19691
+ Note: The types that will be supported for export in the future will increase with iterations. When exporting all types, pay attention to the export file size. It is recommended to specify the configuration types to be exported to control the request and response packet payload size.
19692
+ * @type {Array.<string> || null}
19693
+ */
19694
+ this.Types = null;
19695
+
19696
+ }
19697
+
19698
+ /**
19699
+ * @private
19700
+ */
19701
+ deserialize(params) {
19702
+ if (!params) {
19703
+ return;
19704
+ }
19705
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
19706
+ this.Types = 'Types' in params ? params.Types : null;
19707
+
19708
+ }
19709
+ }
19710
+
19495
19711
  /**
19496
19712
  * Details of Layer 4 proxy forwarding rules.
19497
19713
  * @class
@@ -20401,6 +20617,41 @@ class AliasDomain extends AbstractModel {
20401
20617
  }
20402
20618
  }
20403
20619
 
20620
+ /**
20621
+ * ImportZoneConfig request structure.
20622
+ * @class
20623
+ */
20624
+ class ImportZoneConfigRequest extends AbstractModel {
20625
+ constructor(){
20626
+ super();
20627
+
20628
+ /**
20629
+ * Zone ID.
20630
+ * @type {string || null}
20631
+ */
20632
+ this.ZoneId = null;
20633
+
20634
+ /**
20635
+ * The configuration content to be imported, which should be in the JSON format and be encoded in the UTF-8 mode. The configuration content can be obtained through the site configuration export API (ExportZoneConfig). You can individually import "Site Acceleration - Global Acceleration Configuration" or "Site Acceleration - Rule Engine" by passing in the corresponding fields. Refer to the example below for details.
20636
+ * @type {string || null}
20637
+ */
20638
+ this.Content = null;
20639
+
20640
+ }
20641
+
20642
+ /**
20643
+ * @private
20644
+ */
20645
+ deserialize(params) {
20646
+ if (!params) {
20647
+ return;
20648
+ }
20649
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
20650
+ this.Content = 'Content' in params ? params.Content : null;
20651
+
20652
+ }
20653
+ }
20654
+
20404
20655
  /**
20405
20656
  * IP blocklist/allowlist rule details
20406
20657
  * @class
@@ -22194,28 +22445,24 @@ class IntelligenceRuleItem extends AbstractModel {
22194
22445
  }
22195
22446
 
22196
22447
  /**
22197
- * Bot intelligence rules
22448
+ * ExportZoneConfig response structure.
22198
22449
  * @class
22199
22450
  */
22200
- class IntelligenceRule extends AbstractModel {
22451
+ class ExportZoneConfigResponse extends AbstractModel {
22201
22452
  constructor(){
22202
22453
  super();
22203
22454
 
22204
22455
  /**
22205
- * Switch. Values:
22206
- <li>`on`: Enable</li>
22207
- <li>`off`: Disable</li>
22208
- Note: This field may return null, indicating that no valid values can be obtained.
22456
+ * The specific content of the exported configuration, returned in the JSON format and encoded in the UTF-8 mode. Refer to the example below for the configuration content.
22209
22457
  * @type {string || null}
22210
22458
  */
22211
- this.Switch = null;
22459
+ this.Content = null;
22212
22460
 
22213
22461
  /**
22214
- * Items in a bot intelligence rule
22215
- Note: This field may return null, indicating that no valid values can be obtained.
22216
- * @type {Array.<IntelligenceRuleItem> || null}
22462
+ * 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.
22463
+ * @type {string || null}
22217
22464
  */
22218
- this.IntelligenceRuleItems = null;
22465
+ this.RequestId = null;
22219
22466
 
22220
22467
  }
22221
22468
 
@@ -22226,16 +22473,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
22226
22473
  if (!params) {
22227
22474
  return;
22228
22475
  }
22229
- this.Switch = 'Switch' in params ? params.Switch : null;
22230
-
22231
- if (params.IntelligenceRuleItems) {
22232
- this.IntelligenceRuleItems = new Array();
22233
- for (let z in params.IntelligenceRuleItems) {
22234
- let obj = new IntelligenceRuleItem();
22235
- obj.deserialize(params.IntelligenceRuleItems[z]);
22236
- this.IntelligenceRuleItems.push(obj);
22237
- }
22238
- }
22476
+ this.Content = 'Content' in params ? params.Content : null;
22477
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
22239
22478
 
22240
22479
  }
22241
22480
  }
@@ -23870,6 +24109,7 @@ module.exports = {
23870
24109
  DescribeOriginGroupResponse: DescribeOriginGroupResponse,
23871
24110
  DescribeSecurityIPGroupInfoResponse: DescribeSecurityIPGroupInfoResponse,
23872
24111
  SlowPostConfig: SlowPostConfig,
24112
+ OriginRecord: OriginRecord,
23873
24113
  DescribeConfigGroupVersionDetailResponse: DescribeConfigGroupVersionDetailResponse,
23874
24114
  OriginDetail: OriginDetail,
23875
24115
  RealtimeLogDeliveryTask: RealtimeLogDeliveryTask,
@@ -23974,7 +24214,7 @@ module.exports = {
23974
24214
  L4ProxyRemoteAuth: L4ProxyRemoteAuth,
23975
24215
  AlgDetectResult: AlgDetectResult,
23976
24216
  DefaultServerCertInfo: DefaultServerCertInfo,
23977
- OfflineCache: OfflineCache,
24217
+ CreateL4ProxyRulesRequest: CreateL4ProxyRulesRequest,
23978
24218
  DescribeDDoSAttackTopDataResponse: DescribeDDoSAttackTopDataResponse,
23979
24219
  LoadBalancer: LoadBalancer,
23980
24220
  DeleteRulesRequest: DeleteRulesRequest,
@@ -24023,7 +24263,7 @@ module.exports = {
24023
24263
  CnameStatus: CnameStatus,
24024
24264
  ServerCertInfo: ServerCertInfo,
24025
24265
  DescribeZonesRequest: DescribeZonesRequest,
24026
- OriginRecord: OriginRecord,
24266
+ DescribeZoneConfigImportResultResponse: DescribeZoneConfigImportResultResponse,
24027
24267
  Tag: Tag,
24028
24268
  ModifyFunctionRulePriorityRequest: ModifyFunctionRulePriorityRequest,
24029
24269
  DeleteSharedCNAMERequest: DeleteSharedCNAMERequest,
@@ -24075,7 +24315,8 @@ module.exports = {
24075
24315
  UpgradePlanResponse: UpgradePlanResponse,
24076
24316
  AclConfig: AclConfig,
24077
24317
  JITVideoProcess: JITVideoProcess,
24078
- CreateL4ProxyRulesRequest: CreateL4ProxyRulesRequest,
24318
+ OfflineCache: OfflineCache,
24319
+ IntelligenceRule: IntelligenceRule,
24079
24320
  CreateLoadBalancerResponse: CreateLoadBalancerResponse,
24080
24321
  CreateConfigGroupVersionRequest: CreateConfigGroupVersionRequest,
24081
24322
  AclUserRule: AclUserRule,
@@ -24089,6 +24330,7 @@ module.exports = {
24089
24330
  CreatePlanForZoneResponse: CreatePlanForZoneResponse,
24090
24331
  ModifyL4ProxyRulesStatusResponse: ModifyL4ProxyRulesStatusResponse,
24091
24332
  CheckCnameStatusResponse: CheckCnameStatusResponse,
24333
+ ImportZoneConfigResponse: ImportZoneConfigResponse,
24092
24334
  CustomEndpoint: CustomEndpoint,
24093
24335
  VerifyOwnershipRequest: VerifyOwnershipRequest,
24094
24336
  DeleteL4ProxyRequest: DeleteL4ProxyRequest,
@@ -24173,6 +24415,7 @@ module.exports = {
24173
24415
  DropPageConfig: DropPageConfig,
24174
24416
  DescribeSecurityIPGroupInfoRequest: DescribeSecurityIPGroupInfoRequest,
24175
24417
  PartialModule: PartialModule,
24418
+ DescribeZoneConfigImportResultRequest: DescribeZoneConfigImportResultRequest,
24176
24419
  ModifyApplicationProxyRuleStatusRequest: ModifyApplicationProxyRuleStatusRequest,
24177
24420
  AccelerateType: AccelerateType,
24178
24421
  DeliveryCondition: DeliveryCondition,
@@ -24203,6 +24446,7 @@ module.exports = {
24203
24446
  CreateLoadBalancerRequest: CreateLoadBalancerRequest,
24204
24447
  Https: Https,
24205
24448
  DescribeOriginGroupHealthStatusRequest: DescribeOriginGroupHealthStatusRequest,
24449
+ ExportZoneConfigRequest: ExportZoneConfigRequest,
24206
24450
  L4ProxyRule: L4ProxyRule,
24207
24451
  AdvancedFilter: AdvancedFilter,
24208
24452
  DescribeDDoSAttackDataResponse: DescribeDDoSAttackDataResponse,
@@ -24219,6 +24463,7 @@ module.exports = {
24219
24463
  AlgDetectSession: AlgDetectSession,
24220
24464
  OriginProtectionInfo: OriginProtectionInfo,
24221
24465
  AliasDomain: AliasDomain,
24466
+ ImportZoneConfigRequest: ImportZoneConfigRequest,
24222
24467
  IpTableRule: IpTableRule,
24223
24468
  ModifyFunctionRuleRequest: ModifyFunctionRuleRequest,
24224
24469
  IncreasePlanQuotaRequest: IncreasePlanQuotaRequest,
@@ -24253,7 +24498,7 @@ module.exports = {
24253
24498
  StandardDebug: StandardDebug,
24254
24499
  BindSecurityTemplateToEntityRequest: BindSecurityTemplateToEntityRequest,
24255
24500
  IntelligenceRuleItem: IntelligenceRuleItem,
24256
- IntelligenceRule: IntelligenceRule,
24501
+ ExportZoneConfigResponse: ExportZoneConfigResponse,
24257
24502
  PostMaxSize: PostMaxSize,
24258
24503
  DescribeBillingDataResponse: DescribeBillingDataResponse,
24259
24504
  Filter: Filter,
@@ -24,6 +24,7 @@ const DeleteL4ProxyRulesRequest = models.DeleteL4ProxyRulesRequest;
24
24
  const DescribeOriginGroupResponse = models.DescribeOriginGroupResponse;
25
25
  const DescribeSecurityIPGroupInfoResponse = models.DescribeSecurityIPGroupInfoResponse;
26
26
  const SlowPostConfig = models.SlowPostConfig;
27
+ const OriginRecord = models.OriginRecord;
27
28
  const DescribeConfigGroupVersionDetailResponse = models.DescribeConfigGroupVersionDetailResponse;
28
29
  const OriginDetail = models.OriginDetail;
29
30
  const RealtimeLogDeliveryTask = models.RealtimeLogDeliveryTask;
@@ -128,7 +129,7 @@ const DescribeSecurityTemplateBindingsRequest = models.DescribeSecurityTemplateB
128
129
  const L4ProxyRemoteAuth = models.L4ProxyRemoteAuth;
129
130
  const AlgDetectResult = models.AlgDetectResult;
130
131
  const DefaultServerCertInfo = models.DefaultServerCertInfo;
131
- const OfflineCache = models.OfflineCache;
132
+ const CreateL4ProxyRulesRequest = models.CreateL4ProxyRulesRequest;
132
133
  const DescribeDDoSAttackTopDataResponse = models.DescribeDDoSAttackTopDataResponse;
133
134
  const LoadBalancer = models.LoadBalancer;
134
135
  const DeleteRulesRequest = models.DeleteRulesRequest;
@@ -177,7 +178,7 @@ const DropPageDetail = models.DropPageDetail;
177
178
  const CnameStatus = models.CnameStatus;
178
179
  const ServerCertInfo = models.ServerCertInfo;
179
180
  const DescribeZonesRequest = models.DescribeZonesRequest;
180
- const OriginRecord = models.OriginRecord;
181
+ const DescribeZoneConfigImportResultResponse = models.DescribeZoneConfigImportResultResponse;
181
182
  const Tag = models.Tag;
182
183
  const ModifyFunctionRulePriorityRequest = models.ModifyFunctionRulePriorityRequest;
183
184
  const DeleteSharedCNAMERequest = models.DeleteSharedCNAMERequest;
@@ -229,7 +230,8 @@ const CacheConfig = models.CacheConfig;
229
230
  const UpgradePlanResponse = models.UpgradePlanResponse;
230
231
  const AclConfig = models.AclConfig;
231
232
  const JITVideoProcess = models.JITVideoProcess;
232
- const CreateL4ProxyRulesRequest = models.CreateL4ProxyRulesRequest;
233
+ const OfflineCache = models.OfflineCache;
234
+ const IntelligenceRule = models.IntelligenceRule;
233
235
  const CreateLoadBalancerResponse = models.CreateLoadBalancerResponse;
234
236
  const CreateConfigGroupVersionRequest = models.CreateConfigGroupVersionRequest;
235
237
  const AclUserRule = models.AclUserRule;
@@ -243,6 +245,7 @@ const TimingTypeValue = models.TimingTypeValue;
243
245
  const CreatePlanForZoneResponse = models.CreatePlanForZoneResponse;
244
246
  const ModifyL4ProxyRulesStatusResponse = models.ModifyL4ProxyRulesStatusResponse;
245
247
  const CheckCnameStatusResponse = models.CheckCnameStatusResponse;
248
+ const ImportZoneConfigResponse = models.ImportZoneConfigResponse;
246
249
  const CustomEndpoint = models.CustomEndpoint;
247
250
  const VerifyOwnershipRequest = models.VerifyOwnershipRequest;
248
251
  const DeleteL4ProxyRequest = models.DeleteL4ProxyRequest;
@@ -327,6 +330,7 @@ const RuleAndConditions = models.RuleAndConditions;
327
330
  const DropPageConfig = models.DropPageConfig;
328
331
  const DescribeSecurityIPGroupInfoRequest = models.DescribeSecurityIPGroupInfoRequest;
329
332
  const PartialModule = models.PartialModule;
333
+ const DescribeZoneConfigImportResultRequest = models.DescribeZoneConfigImportResultRequest;
330
334
  const ModifyApplicationProxyRuleStatusRequest = models.ModifyApplicationProxyRuleStatusRequest;
331
335
  const AccelerateType = models.AccelerateType;
332
336
  const DeliveryCondition = models.DeliveryCondition;
@@ -357,6 +361,7 @@ const DescribeTopL7CacheDataRequest = models.DescribeTopL7CacheDataRequest;
357
361
  const CreateLoadBalancerRequest = models.CreateLoadBalancerRequest;
358
362
  const Https = models.Https;
359
363
  const DescribeOriginGroupHealthStatusRequest = models.DescribeOriginGroupHealthStatusRequest;
364
+ const ExportZoneConfigRequest = models.ExportZoneConfigRequest;
360
365
  const L4ProxyRule = models.L4ProxyRule;
361
366
  const AdvancedFilter = models.AdvancedFilter;
362
367
  const DescribeDDoSAttackDataResponse = models.DescribeDDoSAttackDataResponse;
@@ -373,6 +378,7 @@ const ModifyZoneResponse = models.ModifyZoneResponse;
373
378
  const AlgDetectSession = models.AlgDetectSession;
374
379
  const OriginProtectionInfo = models.OriginProtectionInfo;
375
380
  const AliasDomain = models.AliasDomain;
381
+ const ImportZoneConfigRequest = models.ImportZoneConfigRequest;
376
382
  const IpTableRule = models.IpTableRule;
377
383
  const ModifyFunctionRuleRequest = models.ModifyFunctionRuleRequest;
378
384
  const IncreasePlanQuotaRequest = models.IncreasePlanQuotaRequest;
@@ -407,7 +413,7 @@ const AccelerateMainland = models.AccelerateMainland;
407
413
  const StandardDebug = models.StandardDebug;
408
414
  const BindSecurityTemplateToEntityRequest = models.BindSecurityTemplateToEntityRequest;
409
415
  const IntelligenceRuleItem = models.IntelligenceRuleItem;
410
- const IntelligenceRule = models.IntelligenceRule;
416
+ const ExportZoneConfigResponse = models.ExportZoneConfigResponse;
411
417
  const PostMaxSize = models.PostMaxSize;
412
418
  const DescribeBillingDataResponse = models.DescribeBillingDataResponse;
413
419
  const Filter = models.Filter;
@@ -483,6 +489,17 @@ A site can be deleted by using the [Delete Site](https://intl.cloud.tencent.com/
483
489
  this.request("DescribeOriginGroupHealthStatus", req, resp, cb);
484
490
  }
485
491
 
492
+ /**
493
+ * 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.
494
+ * @param {ExportZoneConfigRequest} req
495
+ * @param {function(string, ExportZoneConfigResponse):void} cb
496
+ * @public
497
+ */
498
+ ExportZoneConfig(req, cb) {
499
+ let resp = new ExportZoneConfigResponse();
500
+ this.request("ExportZoneConfig", req, resp, cb);
501
+ }
502
+
486
503
  /**
487
504
  * This API is used to delete an edge function. Once deleted, the function cannot be recovered, and associated trigger rules are also deleted.
488
505
  * @param {DeleteFunctionRequest} req
@@ -1680,6 +1697,17 @@ To use an external certificate, upload the certificate to [SSL Certificates Cons
1680
1697
  this.request("DescribeZoneSetting", req, resp, cb);
1681
1698
  }
1682
1699
 
1700
+ /**
1701
+ * This API is used to query the results of site configuration import via API (ImportZoneConfig). This feature only supports the sites in the plans of the Standard Edition and the Enterprise Edition.
1702
+ * @param {DescribeZoneConfigImportResultRequest} req
1703
+ * @param {function(string, DescribeZoneConfigImportResultResponse):void} cb
1704
+ * @public
1705
+ */
1706
+ DescribeZoneConfigImportResult(req, cb) {
1707
+ let resp = new DescribeZoneConfigImportResultResponse();
1708
+ this.request("DescribeZoneConfigImportResult", req, resp, cb);
1709
+ }
1710
+
1683
1711
  /**
1684
1712
  * 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.
1685
1713
  * @param {DeleteSecurityIPGroupRequest} req
@@ -1760,6 +1788,17 @@ This API is used to query the configuration information of an IP group, includin
1760
1788
  this.request("DescribeSecurityIPGroup", req, resp, cb);
1761
1789
  }
1762
1790
 
1791
+ /**
1792
+ * This API is used to quickly import site configuration files. After the import is initiated, the API will return the corresponding task ID (TaskId). Users need to use the site configuration import result query API (DescribeZoneConfigImportResult) to obtain the results of this import task. This feature only supports the sites in the plans of the Standard Edition and the Enterprise Edition.
1793
+ * @param {ImportZoneConfigRequest} req
1794
+ * @param {function(string, ImportZoneConfigResponse):void} cb
1795
+ * @public
1796
+ */
1797
+ ImportZoneConfig(req, cb) {
1798
+ let resp = new ImportZoneConfigResponse();
1799
+ this.request("ImportZoneConfig", req, resp, cb);
1800
+ }
1801
+
1763
1802
  /**
1764
1803
  * This API is used to modify a custom response page.
1765
1804
  * @param {ModifyCustomErrorPageRequest} req