tencentcloud-sdk-nodejs-intl-en 3.0.744 → 3.0.746
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 +1 -1
- package/tencentcloud/clb/v20180317/clb_client.js +17 -8
- package/tencentcloud/clb/v20180317/models.js +23 -25
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/redis/v20180412/models.js +36 -13
- package/tencentcloud/redis/v20180412/redis_client.js +3 -3
- package/tencentcloud/teo/v20220901/models.js +379 -170
- package/tencentcloud/teo/v20220901/teo_client.js +20 -4
package/package.json
CHANGED
|
@@ -666,7 +666,6 @@ This is an async API. After it is returned successfully, you can call the API `D
|
|
|
666
666
|
|
|
667
667
|
/**
|
|
668
668
|
* This API is used to query the list of CLB instances in a region.
|
|
669
|
-
|
|
670
669
|
* @param {DescribeLoadBalancersRequest} req
|
|
671
670
|
* @param {function(string, DescribeLoadBalancersResponse):void} cb
|
|
672
671
|
* @public
|
|
@@ -1051,17 +1050,27 @@ This is an async API. After it is returned successfully, you can check the task
|
|
|
1051
1050
|
/**
|
|
1052
1051
|
* This API is used to create a clone of the source CLB instance with the same forwarding rules and binding relations. Note that this API is asynchronous, which means that changes to the source CLB after invocation of the API are not included in the clone.
|
|
1053
1052
|
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
Monthly
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1053
|
+
Limits:
|
|
1054
|
+
Instance attribute restrictions
|
|
1055
|
+
Only pay-as-you-go instances can be cloned. Monthly-subscribed instances cannot be cloned.
|
|
1056
|
+
CLB instances without any billable items cannot be cloned.
|
|
1057
|
+
Classic CLB instances and CLB u200dinstances created for Anti-DDoS service cannot be cloned.
|
|
1058
|
+
Classic network-based instances cannot be cloned.
|
|
1059
|
+
IPv6 instances, IPv6 NAT64 instances, and instances bound with both IPv4 and IPv6 cannot be cloned.
|
|
1060
|
+
The following settings will not be cloned: **Custom configuration**, **Redirection configurations**, and **Allow Traffic by Default** in security groups.
|
|
1061
|
+
Before cloning an instance, make sure all certificates used on the instance are valid. Cloning will fail if there are any expired certificates.
|
|
1062
|
+
Listener restrictions
|
|
1063
|
+
Instances with QUIC listeners or port range listeners cannot be cloned.
|
|
1064
|
+
Private network CLB instances with TCP_SSL listeners cannot be cloned.
|
|
1065
|
+
Instances with layer-7 listeners that have no forwarding rules cannot be cloned.
|
|
1066
|
+
u200dInstances u200dwith more than 50 listeners cannot be cloned.
|
|
1067
|
+
Backend service restrictions
|
|
1068
|
+
Instances with target groups and SCF cloud functions as the backend services cannot be cloned.
|
|
1060
1069
|
|
|
1061
1070
|
Notes:
|
|
1062
1071
|
If you are using a BGP bandwidth package, you need to pass the package ID.
|
|
1063
1072
|
To create a dedicated cluster-based CLB by cloning the source CLB, you need to pass the cluster ID. Otherwise, a normal CLB is created.
|
|
1064
|
-
This API is only available for beta users.
|
|
1073
|
+
This API is only available for beta users. To try it out, [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).
|
|
1065
1074
|
* @param {CloneLoadBalancerRequest} req
|
|
1066
1075
|
* @param {function(string, CloneLoadBalancerResponse):void} cb
|
|
1067
1076
|
* @public
|
|
@@ -476,7 +476,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
|
|
|
476
476
|
this.ProjectId = null;
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
|
-
* IP version.
|
|
479
|
+
* It's only applicable to public network CLB instances. IP version. Values: `IPV4`, `IPV6` and `IPv6FullChain` (case-insensitive). Default: `IPV4`. Note: `IPV6` indicates IPv6 NAT64, while `IPv6FullChain` indicates IPv6.
|
|
480
480
|
* @type {string || null}
|
|
481
481
|
*/
|
|
482
482
|
this.AddressIPVersion = null;
|
|
@@ -507,7 +507,7 @@ Note: By default, the traffic goes to the primary AZ. The secondary AZs only car
|
|
|
507
507
|
this.InternetAccessible = null;
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
|
-
*
|
|
510
|
+
* It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
|
|
511
511
|
* @type {string || null}
|
|
512
512
|
*/
|
|
513
513
|
this.VipIsp = null;
|
|
@@ -539,9 +539,8 @@ Note: If the specified VIP is occupied or is not within the IP range of the spec
|
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
541
|
* Creates an LCU-supported instance.
|
|
542
|
-
<ul><li>To create an LCU-supported instance,
|
|
543
|
-
<ul><li>
|
|
544
|
-
<li>If you have enabled Super Large LCU-supported instances, `SLA` corresponds to the Super Large 4 specification. Super Large LCU-supported specification is in beta now. To join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). </li></ul></li><li>It’s not required for a shared CLB instance. </li></ul>
|
|
542
|
+
<ul><li>To create an LCU-supported instance, this parameter must be set to `SLA`, which indicates the Super Large 1 specification.
|
|
543
|
+
<ul><li>If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). </li></ul></li><li>It’s not required for a shared CLB instance. </li></ul>
|
|
545
544
|
* @type {string || null}
|
|
546
545
|
*/
|
|
547
546
|
this.SlaType = null;
|
|
@@ -832,7 +831,7 @@ Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use
|
|
|
832
831
|
this.InternetAccessible = null;
|
|
833
832
|
|
|
834
833
|
/**
|
|
835
|
-
*
|
|
834
|
+
* It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
|
|
836
835
|
* @type {string || null}
|
|
837
836
|
*/
|
|
838
837
|
this.VipIsp = null;
|
|
@@ -3629,9 +3628,8 @@ class SlaUpdateParam extends AbstractModel {
|
|
|
3629
3628
|
this.LoadBalancerId = null;
|
|
3630
3629
|
|
|
3631
3630
|
/**
|
|
3632
|
-
*
|
|
3633
|
-
|
|
3634
|
-
<li>If you enable ultra-large LCU-supported instances, SLA corresponds to the Super Large 4 specification. Ultra-large LCU-supported instances are in beta testing, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application.</li></ul>
|
|
3631
|
+
* u200dTo upgrade the instance to an LCU-support instance, set it to `SLA`. `SLA` indicates Super Large 1.
|
|
3632
|
+
If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
|
|
3635
3633
|
* @type {string || null}
|
|
3636
3634
|
*/
|
|
3637
3635
|
this.SlaType = null;
|
|
@@ -4467,13 +4465,13 @@ class ModifyListenerRequest extends AbstractModel {
|
|
|
4467
4465
|
this.SessionExpireTime = null;
|
|
4468
4466
|
|
|
4469
4467
|
/**
|
|
4470
|
-
* Health check parameter
|
|
4468
|
+
* Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
|
|
4471
4469
|
* @type {HealthCheck || null}
|
|
4472
4470
|
*/
|
|
4473
4471
|
this.HealthCheck = null;
|
|
4474
4472
|
|
|
4475
4473
|
/**
|
|
4476
|
-
* Certificate information. This parameter is only applicable to HTTPS/TCP_SSL listeners. `Certificate` and `MultiCertInfo` cannot be specified
|
|
4474
|
+
* Certificate information. This parameter is only applicable to HTTPS/TCP_SSL/QUIC listeners. `Certificate` and `MultiCertInfo` cannot be both specified.
|
|
4477
4475
|
* @type {CertificateInput || null}
|
|
4478
4476
|
*/
|
|
4479
4477
|
this.Certificate = null;
|
|
@@ -4742,8 +4740,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4742
4740
|
this.HttpCheckPath = null;
|
|
4743
4741
|
|
|
4744
4742
|
/**
|
|
4745
|
-
*
|
|
4746
|
-
Note:
|
|
4743
|
+
* Health check domain name. It is only applicable to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners. For HTTP health checks of TCP listeners, this parameter is required.
|
|
4744
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
4747
4745
|
* @type {string || null}
|
|
4748
4746
|
*/
|
|
4749
4747
|
this.HttpCheckDomain = null;
|
|
@@ -4784,22 +4782,22 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4784
4782
|
this.RecvContext = null;
|
|
4785
4783
|
|
|
4786
4784
|
/**
|
|
4787
|
-
*
|
|
4788
|
-
Note:
|
|
4785
|
+
* u200dHealth check protocol. Values: `TCP`, `HTTP`, `HTTPS`, `GRPC`, `PING`, and `CUSTOM`. UDP listeners support `PING`/`CUSTOM`. TCP listener support `TCP`/`HTTP`/`CUSTOM`. TCP_SSL and QUIC listeners support `TCP`/`HTTP`. HTTP rules support `HTTP`/`GRPC. HTTPS rules support `HTTP`/`HTTPS`/`GRPC`.
|
|
4786
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
4789
4787
|
* @type {string || null}
|
|
4790
4788
|
*/
|
|
4791
4789
|
this.CheckType = null;
|
|
4792
4790
|
|
|
4793
4791
|
/**
|
|
4794
|
-
*
|
|
4795
|
-
Note:
|
|
4792
|
+
* HTTP version. HTTP version of the backend service. Values: `HTTP/1.0`, HTTP/1.1`. It is only applicable to TCP listeners, and is required when `CheckType`=`HTTP`.
|
|
4793
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
4796
4794
|
* @type {string || null}
|
|
4797
4795
|
*/
|
|
4798
4796
|
this.HttpVersion = null;
|
|
4799
4797
|
|
|
4800
4798
|
/**
|
|
4801
|
-
* Specifies the type of
|
|
4802
|
-
Note:
|
|
4799
|
+
* Specifies the type of health check source IP. `0` (default): CLB VIP. `1`: 100.64 IP range.
|
|
4800
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
4803
4801
|
* @type {number || null}
|
|
4804
4802
|
*/
|
|
4805
4803
|
this.SourceIpType = null;
|
|
@@ -5798,7 +5796,7 @@ class DescribeListenersRequest extends AbstractModel {
|
|
|
5798
5796
|
this.ListenerIds = null;
|
|
5799
5797
|
|
|
5800
5798
|
/**
|
|
5801
|
-
* Type of the listener protocols to be queried.
|
|
5799
|
+
* Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`.
|
|
5802
5800
|
* @type {string || null}
|
|
5803
5801
|
*/
|
|
5804
5802
|
this.Protocol = null;
|
|
@@ -7520,7 +7518,7 @@ class CreateListenerRequest extends AbstractModel {
|
|
|
7520
7518
|
this.ListenerNames = null;
|
|
7521
7519
|
|
|
7522
7520
|
/**
|
|
7523
|
-
* Health check parameter
|
|
7521
|
+
* Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
|
|
7524
7522
|
* @type {HealthCheck || null}
|
|
7525
7523
|
*/
|
|
7526
7524
|
this.HealthCheck = null;
|
|
@@ -7538,8 +7536,8 @@ class CreateListenerRequest extends AbstractModel {
|
|
|
7538
7536
|
this.SessionExpireTime = null;
|
|
7539
7537
|
|
|
7540
7538
|
/**
|
|
7541
|
-
*
|
|
7542
|
-
|
|
7539
|
+
* Listener forwarding mode. u200dValues: `WRR` (weighted round robin) and `LEAST_CONN` (least connections).
|
|
7540
|
+
Default value: `WRR`. This parameter is only applicable to TCP, UDP, TCP_SSL and QUIC listeners.
|
|
7543
7541
|
* @type {string || null}
|
|
7544
7542
|
*/
|
|
7545
7543
|
this.Scheduler = null;
|
|
@@ -7881,7 +7879,7 @@ OPEN: public network; INTERNAL: private network.
|
|
|
7881
7879
|
this.LoadBalancerName = null;
|
|
7882
7880
|
|
|
7883
7881
|
/**
|
|
7884
|
-
*
|
|
7882
|
+
* The domain name that Tencent Cloud assigned for the CLB instance.
|
|
7885
7883
|
* @type {string || null}
|
|
7886
7884
|
*/
|
|
7887
7885
|
this.Domain = null;
|
|
@@ -9776,7 +9774,7 @@ They represent weighted round robin, least connections, and IP hash, respectivel
|
|
|
9776
9774
|
this.Scheduler = null;
|
|
9777
9775
|
|
|
9778
9776
|
/**
|
|
9779
|
-
* Forwarding protocol between the CLB instance and
|
|
9777
|
+
* Forwarding protocol between the CLB instance and backend service. Values: `HTTP`, `HTTPS`, `GRPC` and `TRPC` (only for internal usage). It defaults to `HTTP`.
|
|
9780
9778
|
* @type {string || null}
|
|
9781
9779
|
*/
|
|
9782
9780
|
this.ForwardType = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.746";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -2067,19 +2067,26 @@ class UpgradeInstanceVersionRequest extends AbstractModel {
|
|
|
2067
2067
|
super();
|
|
2068
2068
|
|
|
2069
2069
|
/**
|
|
2070
|
-
* Target instance type after the change, which is the same as the `
|
|
2070
|
+
* Target instance type after the change, which is the same as the `TypeId` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
|
|
2071
|
+
- For Redis 4.0 or later, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
|
|
2072
|
+
- Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
|
|
2073
|
+
- The architecture of Redis 2.8 cannot be upgraded.
|
|
2074
|
+
- Cluster architecture cannot be downgraded to standard architecture.
|
|
2075
|
+
|
|
2071
2076
|
* @type {string || null}
|
|
2072
2077
|
*/
|
|
2073
2078
|
this.TargetInstanceType = null;
|
|
2074
2079
|
|
|
2075
2080
|
/**
|
|
2076
|
-
* Switch
|
|
2081
|
+
* Switch time. Valid values:
|
|
2082
|
+
- `1`: Switch in the maintenance time.
|
|
2083
|
+
- `2` (default value): Switch now.
|
|
2077
2084
|
* @type {number || null}
|
|
2078
2085
|
*/
|
|
2079
2086
|
this.SwitchOption = null;
|
|
2080
2087
|
|
|
2081
2088
|
/**
|
|
2082
|
-
*
|
|
2089
|
+
* ID of the specified instance, such as `crs-xjhsdj****`. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it in the instance list.
|
|
2083
2090
|
* @type {string || null}
|
|
2084
2091
|
*/
|
|
2085
2092
|
this.InstanceId = null;
|
|
@@ -3743,17 +3750,28 @@ class ChangeMasterInstanceRequest extends AbstractModel {
|
|
|
3743
3750
|
super();
|
|
3744
3751
|
|
|
3745
3752
|
/**
|
|
3746
|
-
* Replication group ID
|
|
3753
|
+
* Replication group ID, such as `crs-rpl-m3zt****`. It is the unique identifier automatically assigned by the system when creating a replication group. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication list.
|
|
3754
|
+
|
|
3747
3755
|
* @type {string || null}
|
|
3748
3756
|
*/
|
|
3749
3757
|
this.GroupId = null;
|
|
3750
3758
|
|
|
3751
3759
|
/**
|
|
3752
|
-
*
|
|
3760
|
+
* ID of the read-only instance to be promoted to the master instance, such as `crs-xjhsdj****`. Log in to the the [TencentDB for Redis console](https://console.cloud.tencent.com/redis), and copy it in the instance list.
|
|
3761
|
+
|
|
3762
|
+
|
|
3753
3763
|
* @type {string || null}
|
|
3754
3764
|
*/
|
|
3755
3765
|
this.InstanceId = null;
|
|
3756
3766
|
|
|
3767
|
+
/**
|
|
3768
|
+
* Whether to promote the read-only instance to the master instance forcibly. Valid values:
|
|
3769
|
+
- `true`: Yes
|
|
3770
|
+
- `false`: No
|
|
3771
|
+
* @type {boolean || null}
|
|
3772
|
+
*/
|
|
3773
|
+
this.ForceSwitch = null;
|
|
3774
|
+
|
|
3757
3775
|
}
|
|
3758
3776
|
|
|
3759
3777
|
/**
|
|
@@ -3765,6 +3783,7 @@ class ChangeMasterInstanceRequest extends AbstractModel {
|
|
|
3765
3783
|
}
|
|
3766
3784
|
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
3767
3785
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3786
|
+
this.ForceSwitch = 'ForceSwitch' in params ? params.ForceSwitch : null;
|
|
3768
3787
|
|
|
3769
3788
|
}
|
|
3770
3789
|
}
|
|
@@ -5647,13 +5666,13 @@ class DescribeReplicationGroupRequest extends AbstractModel {
|
|
|
5647
5666
|
this.Offset = null;
|
|
5648
5667
|
|
|
5649
5668
|
/**
|
|
5650
|
-
*
|
|
5669
|
+
* ID of the specified replication group, such as `crs-rpl-m3zt****`. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication group list.
|
|
5651
5670
|
* @type {string || null}
|
|
5652
5671
|
*/
|
|
5653
5672
|
this.GroupId = null;
|
|
5654
5673
|
|
|
5655
5674
|
/**
|
|
5656
|
-
*
|
|
5675
|
+
* Keyword for fuzzy query, which can be a replication group ID or name. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get u200dthem in the global replication group list.
|
|
5657
5676
|
* @type {string || null}
|
|
5658
5677
|
*/
|
|
5659
5678
|
this.SearchKey = null;
|
|
@@ -7428,7 +7447,12 @@ class DescribeTaskInfoResponse extends AbstractModel {
|
|
|
7428
7447
|
super();
|
|
7429
7448
|
|
|
7430
7449
|
/**
|
|
7431
|
-
* Task status.
|
|
7450
|
+
* Task status. Valid values:
|
|
7451
|
+
- `preparing`: To be run
|
|
7452
|
+
- `running`: Running
|
|
7453
|
+
- `succeed`: Succeedu200ded
|
|
7454
|
+
- `failed`: Failed
|
|
7455
|
+
- `Error`: Error occurred while running
|
|
7432
7456
|
* @type {string || null}
|
|
7433
7457
|
*/
|
|
7434
7458
|
this.Status = null;
|
|
@@ -7440,7 +7464,7 @@ class DescribeTaskInfoResponse extends AbstractModel {
|
|
|
7440
7464
|
this.StartTime = null;
|
|
7441
7465
|
|
|
7442
7466
|
/**
|
|
7443
|
-
* Task type
|
|
7467
|
+
* Task type, including `Create`, `Configure`, u200d`Disable Instance`, `Clear Instance`, `Reset Password`, `Upgrade Version`, `Back up Instance`, `Modify Network`, `Migrate to New AZ` and `Promote to Master`.
|
|
7444
7468
|
* @type {string || null}
|
|
7445
7469
|
*/
|
|
7446
7470
|
this.TaskType = null;
|
|
@@ -7452,7 +7476,7 @@ class DescribeTaskInfoResponse extends AbstractModel {
|
|
|
7452
7476
|
this.InstanceId = null;
|
|
7453
7477
|
|
|
7454
7478
|
/**
|
|
7455
|
-
*
|
|
7479
|
+
* Message returned by task execution, which will be au200dn error message when execution fails or be empty when the status is `running `or `succeed-`.
|
|
7456
7480
|
* @type {string || null}
|
|
7457
7481
|
*/
|
|
7458
7482
|
this.TaskMessage = null;
|
|
@@ -7611,7 +7635,7 @@ class Groups extends AbstractModel {
|
|
|
7611
7635
|
this.AppId = null;
|
|
7612
7636
|
|
|
7613
7637
|
/**
|
|
7614
|
-
* Region ID
|
|
7638
|
+
* Region ID. Valid values:
|
|
7615
7639
|
- `1`: Guangzhou
|
|
7616
7640
|
- `4`: Shanghai
|
|
7617
7641
|
- `5`: Hong Kong (China)
|
|
@@ -7628,7 +7652,6 @@ class Groups extends AbstractModel {
|
|
|
7628
7652
|
- `21`: India
|
|
7629
7653
|
- `22`: Virginia (East US)
|
|
7630
7654
|
- `23`: Thailand
|
|
7631
|
-
- `24`: Russia
|
|
7632
7655
|
- `25`: Japan
|
|
7633
7656
|
* @type {number || null}
|
|
7634
7657
|
*/
|
|
@@ -11636,7 +11659,7 @@ class Instances extends AbstractModel {
|
|
|
11636
11659
|
|
|
11637
11660
|
/**
|
|
11638
11661
|
* Instance disk size
|
|
11639
|
-
Note:
|
|
11662
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
11640
11663
|
* @type {number || null}
|
|
11641
11664
|
*/
|
|
11642
11665
|
this.DiskSize = null;
|
|
@@ -329,7 +329,7 @@ class RedisClient extends AbstractClient {
|
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
* This API is used to upgrade
|
|
332
|
+
* This API is used to upgrade the instance to a later version or u200dto upgrade the current standard architecture to the cluster architecture.
|
|
333
333
|
* @param {UpgradeInstanceVersionRequest} req
|
|
334
334
|
* @param {function(string, UpgradeInstanceVersionResponse):void} cb
|
|
335
335
|
* @public
|
|
@@ -351,7 +351,7 @@ class RedisClient extends AbstractClient {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
|
-
* This API is used to
|
|
354
|
+
* This API is used to get the execution of a specified task.
|
|
355
355
|
* @param {DescribeTaskInfoRequest} req
|
|
356
356
|
* @param {function(string, DescribeTaskInfoResponse):void} cb
|
|
357
357
|
* @public
|
|
@@ -1121,7 +1121,7 @@ class RedisClient extends AbstractClient {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
1123
1123
|
/**
|
|
1124
|
-
* This API is used to
|
|
1124
|
+
* This API is used to set a read-only instance in a replication group as a master instance.
|
|
1125
1125
|
* @param {ChangeMasterInstanceRequest} req
|
|
1126
1126
|
* @param {function(string, ChangeMasterInstanceResponse):void} cb
|
|
1127
1127
|
* @public
|
|
@@ -272,6 +272,49 @@ class ExceptUserRuleCondition extends AbstractModel {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
/**
|
|
276
|
+
* CheckCnameStatus response structure.
|
|
277
|
+
* @class
|
|
278
|
+
*/
|
|
279
|
+
class CheckCnameStatusResponse extends AbstractModel {
|
|
280
|
+
constructor(){
|
|
281
|
+
super();
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* List of CNAME statuses.
|
|
285
|
+
* @type {Array.<CnameStatus> || null}
|
|
286
|
+
*/
|
|
287
|
+
this.CnameStatus = null;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
291
|
+
* @type {string || null}
|
|
292
|
+
*/
|
|
293
|
+
this.RequestId = null;
|
|
294
|
+
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @private
|
|
299
|
+
*/
|
|
300
|
+
deserialize(params) {
|
|
301
|
+
if (!params) {
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (params.CnameStatus) {
|
|
306
|
+
this.CnameStatus = new Array();
|
|
307
|
+
for (let z in params.CnameStatus) {
|
|
308
|
+
let obj = new CnameStatus();
|
|
309
|
+
obj.deserialize(params.CnameStatus[z]);
|
|
310
|
+
this.CnameStatus.push(obj);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
314
|
+
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
275
318
|
/**
|
|
276
319
|
* DescribeOriginGroup response structure.
|
|
277
320
|
* @class
|
|
@@ -1769,7 +1812,7 @@ It is disabled if this parameter is not specified.
|
|
|
1769
1812
|
this.ImageOptimize = null;
|
|
1770
1813
|
|
|
1771
1814
|
/**
|
|
1772
|
-
*
|
|
1815
|
+
* Standard debugging configuration.
|
|
1773
1816
|
* @type {StandardDebug || null}
|
|
1774
1817
|
*/
|
|
1775
1818
|
this.StandardDebug = null;
|
|
@@ -1908,6 +1951,51 @@ It is disabled if this parameter is not specified.
|
|
|
1908
1951
|
}
|
|
1909
1952
|
}
|
|
1910
1953
|
|
|
1954
|
+
/**
|
|
1955
|
+
* Parameter of the action for the HTTP request/response header of a rule engine condition.
|
|
1956
|
+
* @class
|
|
1957
|
+
*/
|
|
1958
|
+
class RuleRewriteActionParams extends AbstractModel {
|
|
1959
|
+
constructor(){
|
|
1960
|
+
super();
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* Feature parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name, which has three values:
|
|
1964
|
+
<li>add: Add the HTTP header.</li>
|
|
1965
|
+
<li>set: Rewrite the HTTP header.</li>
|
|
1966
|
+
<li>del: Delete the HTTP header.</li>
|
|
1967
|
+
* @type {string || null}
|
|
1968
|
+
*/
|
|
1969
|
+
this.Action = null;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Parameter name
|
|
1973
|
+
* @type {string || null}
|
|
1974
|
+
*/
|
|
1975
|
+
this.Name = null;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Parameter value
|
|
1979
|
+
* @type {Array.<string> || null}
|
|
1980
|
+
*/
|
|
1981
|
+
this.Values = null;
|
|
1982
|
+
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* @private
|
|
1987
|
+
*/
|
|
1988
|
+
deserialize(params) {
|
|
1989
|
+
if (!params) {
|
|
1990
|
+
return;
|
|
1991
|
+
}
|
|
1992
|
+
this.Action = 'Action' in params ? params.Action : null;
|
|
1993
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1994
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
1995
|
+
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1911
1999
|
/**
|
|
1912
2000
|
* CreateApplicationProxy response structure.
|
|
1913
2001
|
* @class
|
|
@@ -2304,11 +2392,12 @@ class OriginInfo extends AbstractModel {
|
|
|
2304
2392
|
super();
|
|
2305
2393
|
|
|
2306
2394
|
/**
|
|
2307
|
-
* The origin type. Values:
|
|
2395
|
+
* The origin type. Values:
|
|
2308
2396
|
<li>`IP_DOMAIN`: IPv4/IPv6 address or domain name</li>
|
|
2309
|
-
<li>`COS`: COS bucket address</li>
|
|
2310
|
-
<li>`ORIGIN_GROUP`: Origin group</li>
|
|
2311
|
-
<li>`AWS_S3`: AWS S3 bucket address</li>
|
|
2397
|
+
<li>`COS`: COS bucket address </li>
|
|
2398
|
+
<li>`ORIGIN_GROUP`: Origin group </li>
|
|
2399
|
+
<li>`AWS_S3`: AWS S3 bucket address </li>
|
|
2400
|
+
<li>`SPACE`: EdgeOne Shield Space </li>
|
|
2312
2401
|
* @type {string || null}
|
|
2313
2402
|
*/
|
|
2314
2403
|
this.OriginType = null;
|
|
@@ -2641,15 +2730,15 @@ class ModifyZoneRequest extends AbstractModel {
|
|
|
2641
2730
|
this.ZoneId = null;
|
|
2642
2731
|
|
|
2643
2732
|
/**
|
|
2644
|
-
*
|
|
2645
|
-
<li
|
|
2646
|
-
<li
|
|
2733
|
+
* Access mode of the site. Values:
|
|
2734
|
+
<li> `full`: Access through a name server.</li>
|
|
2735
|
+
<li> `partial`: Access through a CNAME u200drecord. A site using domainless access can only switch to CNAME access. </li>The original configuration applies if this field is not specified.
|
|
2647
2736
|
* @type {string || null}
|
|
2648
2737
|
*/
|
|
2649
2738
|
this.Type = null;
|
|
2650
2739
|
|
|
2651
2740
|
/**
|
|
2652
|
-
* The custom name servers.
|
|
2741
|
+
* The custom name servers. The original configuration applies if this field is not specified. It is not allowed to pass this field when a site is connected without using a domain name.
|
|
2653
2742
|
* @type {VanityNameServers || null}
|
|
2654
2743
|
*/
|
|
2655
2744
|
this.VanityNameServers = null;
|
|
@@ -2660,6 +2749,21 @@ class ModifyZoneRequest extends AbstractModel {
|
|
|
2660
2749
|
*/
|
|
2661
2750
|
this.AliasZoneName = null;
|
|
2662
2751
|
|
|
2752
|
+
/**
|
|
2753
|
+
* The region where the site requests access. Values:
|
|
2754
|
+
<li> `global`: Global coverage</li>
|
|
2755
|
+
<li> `mainland`: Chinese mainland</li>
|
|
2756
|
+
<li> `overseas`: Outside the Chinese mainland </li>It is not allowed to pass this field when a site is connected without using a domain name.
|
|
2757
|
+
* @type {string || null}
|
|
2758
|
+
*/
|
|
2759
|
+
this.Area = null;
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* Name of the site. This field takes effect only when the site switches from domainless access to CNAME access.
|
|
2763
|
+
* @type {string || null}
|
|
2764
|
+
*/
|
|
2765
|
+
this.ZoneName = null;
|
|
2766
|
+
|
|
2663
2767
|
}
|
|
2664
2768
|
|
|
2665
2769
|
/**
|
|
@@ -2678,6 +2782,8 @@ class ModifyZoneRequest extends AbstractModel {
|
|
|
2678
2782
|
this.VanityNameServers = obj;
|
|
2679
2783
|
}
|
|
2680
2784
|
this.AliasZoneName = 'AliasZoneName' in params ? params.AliasZoneName : null;
|
|
2785
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
2786
|
+
this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
|
|
2681
2787
|
|
|
2682
2788
|
}
|
|
2683
2789
|
}
|
|
@@ -3723,8 +3829,8 @@ class ModifyHostsCertificateRequest extends AbstractModel {
|
|
|
3723
3829
|
|
|
3724
3830
|
/**
|
|
3725
3831
|
* Whether the certificate is managed by EdgeOne. Values:
|
|
3726
|
-
<li>`apply`: Managed by EdgeOne
|
|
3727
|
-
<li>`none`: Not managed by EdgeOne
|
|
3832
|
+
<li>`apply`: Managed by EdgeOne.</li>
|
|
3833
|
+
<li>`none`: Not managed by EdgeOne.</li>If not specified, this field uses the default value `none`.
|
|
3728
3834
|
* @type {string || null}
|
|
3729
3835
|
*/
|
|
3730
3836
|
this.ApplyType = null;
|
|
@@ -3830,6 +3936,13 @@ Note that each rule can have up to 20 ports.
|
|
|
3830
3936
|
*/
|
|
3831
3937
|
this.SessionPersist = null;
|
|
3832
3938
|
|
|
3939
|
+
/**
|
|
3940
|
+
* Duration for the persistent session. The value takes effect only when `SessionPersist = true`.
|
|
3941
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
3942
|
+
* @type {number || null}
|
|
3943
|
+
*/
|
|
3944
|
+
this.SessionPersistTime = null;
|
|
3945
|
+
|
|
3833
3946
|
/**
|
|
3834
3947
|
* The origin port, which can be:
|
|
3835
3948
|
<li>A single port, such as 80</li>
|
|
@@ -3855,6 +3968,7 @@ Note that each rule can have up to 20 ports.
|
|
|
3855
3968
|
this.Status = 'Status' in params ? params.Status : null;
|
|
3856
3969
|
this.ForwardClientIp = 'ForwardClientIp' in params ? params.ForwardClientIp : null;
|
|
3857
3970
|
this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
|
|
3971
|
+
this.SessionPersistTime = 'SessionPersistTime' in params ? params.SessionPersistTime : null;
|
|
3858
3972
|
this.OriginPort = 'OriginPort' in params ? params.OriginPort : null;
|
|
3859
3973
|
|
|
3860
3974
|
}
|
|
@@ -4045,9 +4159,10 @@ class Zone extends AbstractModel {
|
|
|
4045
4159
|
this.Status = null;
|
|
4046
4160
|
|
|
4047
4161
|
/**
|
|
4048
|
-
*
|
|
4049
|
-
<li
|
|
4050
|
-
<li
|
|
4162
|
+
* Access mode of the site. Values:
|
|
4163
|
+
<li> `full`: Access through a name server.</li>
|
|
4164
|
+
<li> `partial`: Access through a CNAME record.</li>
|
|
4165
|
+
<li> `noDomainAccess`: Access without using a domain name </li>
|
|
4051
4166
|
* @type {string || null}
|
|
4052
4167
|
*/
|
|
4053
4168
|
this.Type = null;
|
|
@@ -4782,90 +4897,32 @@ class DescribeRulesRequest extends AbstractModel {
|
|
|
4782
4897
|
}
|
|
4783
4898
|
|
|
4784
4899
|
/**
|
|
4785
|
-
*
|
|
4900
|
+
* DescribeContentQuota response structure.
|
|
4786
4901
|
* @class
|
|
4787
4902
|
*/
|
|
4788
|
-
class
|
|
4903
|
+
class DescribeContentQuotaResponse extends AbstractModel {
|
|
4789
4904
|
constructor(){
|
|
4790
4905
|
super();
|
|
4791
4906
|
|
|
4792
4907
|
/**
|
|
4793
|
-
*
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
this.ZoneId = null;
|
|
4797
|
-
|
|
4798
|
-
/**
|
|
4799
|
-
* The proxy ID.
|
|
4800
|
-
* @type {string || null}
|
|
4801
|
-
*/
|
|
4802
|
-
this.ProxyId = null;
|
|
4803
|
-
|
|
4804
|
-
/**
|
|
4805
|
-
* The rule ID.
|
|
4806
|
-
* @type {string || null}
|
|
4807
|
-
*/
|
|
4808
|
-
this.RuleId = null;
|
|
4809
|
-
|
|
4810
|
-
/**
|
|
4811
|
-
* The origin type. Values:
|
|
4812
|
-
<li>`custom`: Specified origins</li>
|
|
4813
|
-
<li>`origins`: Origin group</li></li>The original configuration will apply if this field is not specified.
|
|
4814
|
-
* @type {string || null}
|
|
4815
|
-
*/
|
|
4816
|
-
this.OriginType = null;
|
|
4817
|
-
|
|
4818
|
-
/**
|
|
4819
|
-
* The access port, which can be:
|
|
4820
|
-
<li>A single port, such as 80</li>
|
|
4821
|
-
<li>A port range, such as 81-90</li>
|
|
4822
|
-
* @type {Array.<string> || null}
|
|
4823
|
-
*/
|
|
4824
|
-
this.Port = null;
|
|
4825
|
-
|
|
4826
|
-
/**
|
|
4827
|
-
* The protocol. Values:
|
|
4828
|
-
<li>`TCP`: TCP protocol</li>
|
|
4829
|
-
<li>`UDP`: UDP protocol</li>The original configuration will apply if this field is not specified.
|
|
4830
|
-
* @type {string || null}
|
|
4831
|
-
*/
|
|
4832
|
-
this.Proto = null;
|
|
4833
|
-
|
|
4834
|
-
/**
|
|
4835
|
-
* Origin server information:
|
|
4836
|
-
<li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
|
|
4837
|
-
<li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
|
|
4838
|
-
|
|
4839
|
-
The original configuration will apply if this field is not specified.
|
|
4840
|
-
* @type {Array.<string> || null}
|
|
4841
|
-
*/
|
|
4842
|
-
this.OriginValue = null;
|
|
4843
|
-
|
|
4844
|
-
/**
|
|
4845
|
-
* Passes the client IP. Values:
|
|
4846
|
-
<li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
|
|
4847
|
-
<li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
|
|
4848
|
-
<li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
|
|
4849
|
-
<li>`OFF`: Not pass the client IP.</li>If not specified, this field uses the default value OFF.
|
|
4850
|
-
* @type {string || null}
|
|
4908
|
+
* Purging quotas.
|
|
4909
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4910
|
+
* @type {Array.<Quota> || null}
|
|
4851
4911
|
*/
|
|
4852
|
-
this.
|
|
4912
|
+
this.PurgeQuota = null;
|
|
4853
4913
|
|
|
4854
4914
|
/**
|
|
4855
|
-
*
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
* @type {boolean || null}
|
|
4915
|
+
* Pre-warming quotas.
|
|
4916
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4917
|
+
* @type {Array.<Quota> || null}
|
|
4859
4918
|
*/
|
|
4860
|
-
this.
|
|
4919
|
+
this.PrefetchQuota = null;
|
|
4861
4920
|
|
|
4862
4921
|
/**
|
|
4863
|
-
* The
|
|
4864
|
-
<li>A single port, such as 80</li>
|
|
4865
|
-
<li>A port range, such as 81-82</li>
|
|
4922
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4866
4923
|
* @type {string || null}
|
|
4867
4924
|
*/
|
|
4868
|
-
this.
|
|
4925
|
+
this.RequestId = null;
|
|
4869
4926
|
|
|
4870
4927
|
}
|
|
4871
4928
|
|
|
@@ -4876,16 +4933,25 @@ The original configuration will apply if this field is not specified.
|
|
|
4876
4933
|
if (!params) {
|
|
4877
4934
|
return;
|
|
4878
4935
|
}
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4936
|
+
|
|
4937
|
+
if (params.PurgeQuota) {
|
|
4938
|
+
this.PurgeQuota = new Array();
|
|
4939
|
+
for (let z in params.PurgeQuota) {
|
|
4940
|
+
let obj = new Quota();
|
|
4941
|
+
obj.deserialize(params.PurgeQuota[z]);
|
|
4942
|
+
this.PurgeQuota.push(obj);
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
if (params.PrefetchQuota) {
|
|
4947
|
+
this.PrefetchQuota = new Array();
|
|
4948
|
+
for (let z in params.PrefetchQuota) {
|
|
4949
|
+
let obj = new Quota();
|
|
4950
|
+
obj.deserialize(params.PrefetchQuota[z]);
|
|
4951
|
+
this.PrefetchQuota.push(obj);
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4889
4955
|
|
|
4890
4956
|
}
|
|
4891
4957
|
}
|
|
@@ -6295,7 +6361,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6295
6361
|
this.AccelerateMainland = null;
|
|
6296
6362
|
|
|
6297
6363
|
/**
|
|
6298
|
-
*
|
|
6364
|
+
* Standard debugging configuration.
|
|
6365
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
6299
6366
|
* @type {StandardDebug || null}
|
|
6300
6367
|
*/
|
|
6301
6368
|
this.StandardDebug = null;
|
|
@@ -7708,8 +7775,9 @@ class CreateZoneRequest extends AbstractModel {
|
|
|
7708
7775
|
|
|
7709
7776
|
/**
|
|
7710
7777
|
* The access mode. Values:
|
|
7711
|
-
<li
|
|
7712
|
-
<li
|
|
7778
|
+
<li> `full`: Access through a name server.</li>
|
|
7779
|
+
<li> `partial`: Access through a CNAME. Before using this access mode, first verify your site with the site verification API (IdentifyZone).<li>`noDomainAccess`: Access without using a domain name. If this value is passed, only the Tags field needs to be set. </li>
|
|
7780
|
+
If not specified, this field uses the default value `full`.
|
|
7713
7781
|
* @type {string || null}
|
|
7714
7782
|
*/
|
|
7715
7783
|
this.Type = null;
|
|
@@ -8334,6 +8402,12 @@ class CreateApplicationProxyRuleRequest extends AbstractModel {
|
|
|
8334
8402
|
*/
|
|
8335
8403
|
this.SessionPersist = null;
|
|
8336
8404
|
|
|
8405
|
+
/**
|
|
8406
|
+
* Duration for the persistent session. The value takes effect only when `SessionPersist = true`.
|
|
8407
|
+
* @type {number || null}
|
|
8408
|
+
*/
|
|
8409
|
+
this.SessionPersistTime = null;
|
|
8410
|
+
|
|
8337
8411
|
/**
|
|
8338
8412
|
* The origin port, which can be:
|
|
8339
8413
|
<li>A single port, such as 80</li>
|
|
@@ -8359,6 +8433,7 @@ class CreateApplicationProxyRuleRequest extends AbstractModel {
|
|
|
8359
8433
|
this.OriginValue = 'OriginValue' in params ? params.OriginValue : null;
|
|
8360
8434
|
this.ForwardClientIp = 'ForwardClientIp' in params ? params.ForwardClientIp : null;
|
|
8361
8435
|
this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
|
|
8436
|
+
this.SessionPersistTime = 'SessionPersistTime' in params ? params.SessionPersistTime : null;
|
|
8362
8437
|
this.OriginPort = 'OriginPort' in params ? params.OriginPort : null;
|
|
8363
8438
|
|
|
8364
8439
|
}
|
|
@@ -8391,8 +8466,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
8391
8466
|
/**
|
|
8392
8467
|
* Whether to enable force cache. Values:
|
|
8393
8468
|
<li>`on`: Enable</li>
|
|
8394
|
-
<li>`off`: Disable</li>
|
|
8395
|
-
Note:
|
|
8469
|
+
<li>`off`: Disable </li>
|
|
8470
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
8396
8471
|
* @type {string || null}
|
|
8397
8472
|
*/
|
|
8398
8473
|
this.IgnoreCacheControl = null;
|
|
@@ -10823,6 +10898,32 @@ class Sv extends AbstractModel {
|
|
|
10823
10898
|
*/
|
|
10824
10899
|
this.Value = null;
|
|
10825
10900
|
|
|
10901
|
+
/**
|
|
10902
|
+
* Quota for a resource. Values:
|
|
10903
|
+
<li>`zone`: Quota for sites</li>
|
|
10904
|
+
<li>`custom-rule`: Quota for custom rules</li>
|
|
10905
|
+
<li>`rate-limiting-rule`: Quota for rate limiting rules</li>
|
|
10906
|
+
<li>`l4-proxy-instance`: Quota for L4 proxy instances </li>
|
|
10907
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
10908
|
+
* @type {string || null}
|
|
10909
|
+
*/
|
|
10910
|
+
this.Pack = null;
|
|
10911
|
+
|
|
10912
|
+
/**
|
|
10913
|
+
* ID of the L4 proxy instance.
|
|
10914
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
10915
|
+
* @type {string || null}
|
|
10916
|
+
*/
|
|
10917
|
+
this.InstanceId = null;
|
|
10918
|
+
|
|
10919
|
+
/**
|
|
10920
|
+
* The protection specification.
|
|
10921
|
+
Values: <li> `cm_30G`: 30 Gbps base protection bandwidth in **Chinese mainland** service area</li><li> `cm_60G`: 60 Gbps base protection bandwidth in **Chinese mainland** service area</li><li> `cm_100G`: 100 Gbps base protection bandwidth in **Chinese mainland** service area</li><li> `anycast_300G`: 300 Gbps Anycast-based protection in **Global (MLC)** service area</li><li> `anycast_unlimited`: Unlimited Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> `cm_30G_anycast_300G`: 30 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> `cm_30G_anycast_unlimited`: 30 Gbps base protection bandwidth in **Chinese mainland** service area and unlimited Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_60G_anycast_300G`: 60 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_60G_anycast_unlimited`: 60 Gbps base protection bandwidth in **Chinese mainland** service area and unlimited Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> `cm_100G_anycast_300G`: 100 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_100G_anycast_unlimited`: 100 Gbps base protection bandwidth in **Chinese mainland** service area and unlimited Anycast-based protection bandwidth in **Global (MLC)** service area </li>
|
|
10922
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
10923
|
+
* @type {string || null}
|
|
10924
|
+
*/
|
|
10925
|
+
this.ProtectionSpecs = null;
|
|
10926
|
+
|
|
10826
10927
|
}
|
|
10827
10928
|
|
|
10828
10929
|
/**
|
|
@@ -10834,6 +10935,9 @@ class Sv extends AbstractModel {
|
|
|
10834
10935
|
}
|
|
10835
10936
|
this.Key = 'Key' in params ? params.Key : null;
|
|
10836
10937
|
this.Value = 'Value' in params ? params.Value : null;
|
|
10938
|
+
this.Pack = 'Pack' in params ? params.Pack : null;
|
|
10939
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
10940
|
+
this.ProtectionSpecs = 'ProtectionSpecs' in params ? params.ProtectionSpecs : null;
|
|
10837
10941
|
|
|
10838
10942
|
}
|
|
10839
10943
|
}
|
|
@@ -12957,33 +13061,96 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
12957
13061
|
}
|
|
12958
13062
|
|
|
12959
13063
|
/**
|
|
12960
|
-
*
|
|
13064
|
+
* ModifyApplicationProxyRule request structure.
|
|
12961
13065
|
* @class
|
|
12962
13066
|
*/
|
|
12963
|
-
class
|
|
13067
|
+
class ModifyApplicationProxyRuleRequest extends AbstractModel {
|
|
12964
13068
|
constructor(){
|
|
12965
13069
|
super();
|
|
12966
13070
|
|
|
12967
13071
|
/**
|
|
12968
|
-
*
|
|
12969
|
-
<li>add: Add the HTTP header.</li>
|
|
12970
|
-
<li>set: Rewrite the HTTP header.</li>
|
|
12971
|
-
<li>del: Delete the HTTP header.</li>
|
|
13072
|
+
* The site ID.
|
|
12972
13073
|
* @type {string || null}
|
|
12973
13074
|
*/
|
|
12974
|
-
this.
|
|
13075
|
+
this.ZoneId = null;
|
|
12975
13076
|
|
|
12976
13077
|
/**
|
|
12977
|
-
*
|
|
13078
|
+
* The proxy ID.
|
|
12978
13079
|
* @type {string || null}
|
|
12979
13080
|
*/
|
|
12980
|
-
this.
|
|
13081
|
+
this.ProxyId = null;
|
|
12981
13082
|
|
|
12982
13083
|
/**
|
|
12983
|
-
*
|
|
13084
|
+
* The rule ID.
|
|
13085
|
+
* @type {string || null}
|
|
13086
|
+
*/
|
|
13087
|
+
this.RuleId = null;
|
|
13088
|
+
|
|
13089
|
+
/**
|
|
13090
|
+
* The origin type. Values:
|
|
13091
|
+
<li>`custom`: Specified origins</li>
|
|
13092
|
+
<li>`origins`: Origin group</li></li>The original configuration will apply if this field is not specified.
|
|
13093
|
+
* @type {string || null}
|
|
13094
|
+
*/
|
|
13095
|
+
this.OriginType = null;
|
|
13096
|
+
|
|
13097
|
+
/**
|
|
13098
|
+
* The access port, which can be:
|
|
13099
|
+
<li>A single port, such as 80</li>
|
|
13100
|
+
<li>A port range, such as 81-90</li>
|
|
12984
13101
|
* @type {Array.<string> || null}
|
|
12985
13102
|
*/
|
|
12986
|
-
this.
|
|
13103
|
+
this.Port = null;
|
|
13104
|
+
|
|
13105
|
+
/**
|
|
13106
|
+
* The protocol. Values:
|
|
13107
|
+
<li>`TCP`: TCP protocol</li>
|
|
13108
|
+
<li>`UDP`: UDP protocol</li>The original configuration will apply if this field is not specified.
|
|
13109
|
+
* @type {string || null}
|
|
13110
|
+
*/
|
|
13111
|
+
this.Proto = null;
|
|
13112
|
+
|
|
13113
|
+
/**
|
|
13114
|
+
* Origin server information:
|
|
13115
|
+
<li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
|
|
13116
|
+
<li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
|
|
13117
|
+
|
|
13118
|
+
The original configuration will apply if this field is not specified.
|
|
13119
|
+
* @type {Array.<string> || null}
|
|
13120
|
+
*/
|
|
13121
|
+
this.OriginValue = null;
|
|
13122
|
+
|
|
13123
|
+
/**
|
|
13124
|
+
* Passes the client IP. Values:
|
|
13125
|
+
<li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
|
|
13126
|
+
<li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
|
|
13127
|
+
<li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
|
|
13128
|
+
<li>`OFF`: Not pass the client IP.</li>If not specified, this field uses the default value OFF.
|
|
13129
|
+
* @type {string || null}
|
|
13130
|
+
*/
|
|
13131
|
+
this.ForwardClientIp = null;
|
|
13132
|
+
|
|
13133
|
+
/**
|
|
13134
|
+
* Whether to enable session persistence. Values:
|
|
13135
|
+
<li>`true`: Enable</li>
|
|
13136
|
+
<li>`false`: Disable</li>If it is left empty, the default value `false` is used.
|
|
13137
|
+
* @type {boolean || null}
|
|
13138
|
+
*/
|
|
13139
|
+
this.SessionPersist = null;
|
|
13140
|
+
|
|
13141
|
+
/**
|
|
13142
|
+
* Duration for the persistent session. The value takes effect only when `SessionPersist = true`.
|
|
13143
|
+
* @type {number || null}
|
|
13144
|
+
*/
|
|
13145
|
+
this.SessionPersistTime = null;
|
|
13146
|
+
|
|
13147
|
+
/**
|
|
13148
|
+
* The origin port, which can be:
|
|
13149
|
+
<li>A single port, such as 80</li>
|
|
13150
|
+
<li>A port range, such as 81-82</li>
|
|
13151
|
+
* @type {string || null}
|
|
13152
|
+
*/
|
|
13153
|
+
this.OriginPort = null;
|
|
12987
13154
|
|
|
12988
13155
|
}
|
|
12989
13156
|
|
|
@@ -12994,9 +13161,17 @@ class RuleRewriteActionParams extends AbstractModel {
|
|
|
12994
13161
|
if (!params) {
|
|
12995
13162
|
return;
|
|
12996
13163
|
}
|
|
12997
|
-
this.
|
|
12998
|
-
this.
|
|
12999
|
-
this.
|
|
13164
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
13165
|
+
this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
|
|
13166
|
+
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
13167
|
+
this.OriginType = 'OriginType' in params ? params.OriginType : null;
|
|
13168
|
+
this.Port = 'Port' in params ? params.Port : null;
|
|
13169
|
+
this.Proto = 'Proto' in params ? params.Proto : null;
|
|
13170
|
+
this.OriginValue = 'OriginValue' in params ? params.OriginValue : null;
|
|
13171
|
+
this.ForwardClientIp = 'ForwardClientIp' in params ? params.ForwardClientIp : null;
|
|
13172
|
+
this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
|
|
13173
|
+
this.SessionPersistTime = 'SessionPersistTime' in params ? params.SessionPersistTime : null;
|
|
13174
|
+
this.OriginPort = 'OriginPort' in params ? params.OriginPort : null;
|
|
13000
13175
|
|
|
13001
13176
|
}
|
|
13002
13177
|
}
|
|
@@ -13206,6 +13381,41 @@ class RewriteAction extends AbstractModel {
|
|
|
13206
13381
|
}
|
|
13207
13382
|
}
|
|
13208
13383
|
|
|
13384
|
+
/**
|
|
13385
|
+
* CheckCnameStatus request structure.
|
|
13386
|
+
* @class
|
|
13387
|
+
*/
|
|
13388
|
+
class CheckCnameStatusRequest extends AbstractModel {
|
|
13389
|
+
constructor(){
|
|
13390
|
+
super();
|
|
13391
|
+
|
|
13392
|
+
/**
|
|
13393
|
+
* ID of the site.
|
|
13394
|
+
* @type {string || null}
|
|
13395
|
+
*/
|
|
13396
|
+
this.ZoneId = null;
|
|
13397
|
+
|
|
13398
|
+
/**
|
|
13399
|
+
* List of domain names.
|
|
13400
|
+
* @type {Array.<string> || null}
|
|
13401
|
+
*/
|
|
13402
|
+
this.RecordNames = null;
|
|
13403
|
+
|
|
13404
|
+
}
|
|
13405
|
+
|
|
13406
|
+
/**
|
|
13407
|
+
* @private
|
|
13408
|
+
*/
|
|
13409
|
+
deserialize(params) {
|
|
13410
|
+
if (!params) {
|
|
13411
|
+
return;
|
|
13412
|
+
}
|
|
13413
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
13414
|
+
this.RecordNames = 'RecordNames' in params ? params.RecordNames : null;
|
|
13415
|
+
|
|
13416
|
+
}
|
|
13417
|
+
}
|
|
13418
|
+
|
|
13209
13419
|
/**
|
|
13210
13420
|
* DeleteAliasDomain request structure.
|
|
13211
13421
|
* @class
|
|
@@ -13242,32 +13452,34 @@ class DeleteAliasDomainRequest extends AbstractModel {
|
|
|
13242
13452
|
}
|
|
13243
13453
|
|
|
13244
13454
|
/**
|
|
13245
|
-
*
|
|
13455
|
+
* CNAME status
|
|
13246
13456
|
* @class
|
|
13247
13457
|
*/
|
|
13248
|
-
class
|
|
13458
|
+
class CnameStatus extends AbstractModel {
|
|
13249
13459
|
constructor(){
|
|
13250
13460
|
super();
|
|
13251
13461
|
|
|
13252
13462
|
/**
|
|
13253
|
-
*
|
|
13254
|
-
|
|
13255
|
-
* @type {Array.<Quota> || null}
|
|
13463
|
+
* The domain name.
|
|
13464
|
+
* @type {string || null}
|
|
13256
13465
|
*/
|
|
13257
|
-
this.
|
|
13466
|
+
this.RecordName = null;
|
|
13258
13467
|
|
|
13259
13468
|
/**
|
|
13260
|
-
*
|
|
13261
|
-
Note:
|
|
13262
|
-
* @type {
|
|
13469
|
+
* The CNAME address.
|
|
13470
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
13471
|
+
* @type {string || null}
|
|
13263
13472
|
*/
|
|
13264
|
-
this.
|
|
13473
|
+
this.Cname = null;
|
|
13265
13474
|
|
|
13266
13475
|
/**
|
|
13267
|
-
* The
|
|
13476
|
+
* The CNAME status. Values:
|
|
13477
|
+
<li>`active`: Activated</li>
|
|
13478
|
+
<li>`moved`: Not activated </li>
|
|
13479
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
13268
13480
|
* @type {string || null}
|
|
13269
13481
|
*/
|
|
13270
|
-
this.
|
|
13482
|
+
this.Status = null;
|
|
13271
13483
|
|
|
13272
13484
|
}
|
|
13273
13485
|
|
|
@@ -13278,25 +13490,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
13278
13490
|
if (!params) {
|
|
13279
13491
|
return;
|
|
13280
13492
|
}
|
|
13281
|
-
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
for (let z in params.PurgeQuota) {
|
|
13285
|
-
let obj = new Quota();
|
|
13286
|
-
obj.deserialize(params.PurgeQuota[z]);
|
|
13287
|
-
this.PurgeQuota.push(obj);
|
|
13288
|
-
}
|
|
13289
|
-
}
|
|
13290
|
-
|
|
13291
|
-
if (params.PrefetchQuota) {
|
|
13292
|
-
this.PrefetchQuota = new Array();
|
|
13293
|
-
for (let z in params.PrefetchQuota) {
|
|
13294
|
-
let obj = new Quota();
|
|
13295
|
-
obj.deserialize(params.PrefetchQuota[z]);
|
|
13296
|
-
this.PrefetchQuota.push(obj);
|
|
13297
|
-
}
|
|
13298
|
-
}
|
|
13299
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
13493
|
+
this.RecordName = 'RecordName' in params ? params.RecordName : null;
|
|
13494
|
+
this.Cname = 'Cname' in params ? params.Cname : null;
|
|
13495
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
13300
13496
|
|
|
13301
13497
|
}
|
|
13302
13498
|
}
|
|
@@ -13381,7 +13577,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
13381
13577
|
}
|
|
13382
13578
|
|
|
13383
13579
|
/**
|
|
13384
|
-
*
|
|
13580
|
+
* Standard debugging
|
|
13385
13581
|
* @class
|
|
13386
13582
|
*/
|
|
13387
13583
|
class StandardDebug extends AbstractModel {
|
|
@@ -13389,19 +13585,21 @@ class StandardDebug extends AbstractModel {
|
|
|
13389
13585
|
super();
|
|
13390
13586
|
|
|
13391
13587
|
/**
|
|
13392
|
-
*
|
|
13588
|
+
* Whether to enable standard debugging. Values:
|
|
13589
|
+
<li>`on`: Enable</li>
|
|
13590
|
+
<li>`off`: Disable </li>
|
|
13393
13591
|
* @type {string || null}
|
|
13394
13592
|
*/
|
|
13395
13593
|
this.Switch = null;
|
|
13396
13594
|
|
|
13397
13595
|
/**
|
|
13398
|
-
*
|
|
13596
|
+
* The client IP to allow. It can be an IPv4/IPv6 address or a CIDR block. If not specified, it means to allow any client IP
|
|
13399
13597
|
* @type {Array.<string> || null}
|
|
13400
13598
|
*/
|
|
13401
13599
|
this.AllowClientIPList = null;
|
|
13402
13600
|
|
|
13403
13601
|
/**
|
|
13404
|
-
*
|
|
13602
|
+
* The time when the standard debugging setting expires. If it is exceeded, this feature u200dbecomes invalid.
|
|
13405
13603
|
* @type {string || null}
|
|
13406
13604
|
*/
|
|
13407
13605
|
this.ExpireTime = null;
|
|
@@ -13472,35 +13670,24 @@ class CreatePurgeTaskRequest extends AbstractModel {
|
|
|
13472
13670
|
this.ZoneId = null;
|
|
13473
13671
|
|
|
13474
13672
|
/**
|
|
13475
|
-
*
|
|
13476
|
-
<li>`purge_url`: Purge by URL
|
|
13477
|
-
<li>`purge_prefix`: Purge by directory
|
|
13478
|
-
<li>`purge_host`: Purge by hostname
|
|
13479
|
-
<li>`purge_all`:
|
|
13480
|
-
<li>`purge_cache_tag`: Purge by cache
|
|
13673
|
+
* Type of cache purging. Values:
|
|
13674
|
+
<li>`purge_url`: Purge by the URL</li>
|
|
13675
|
+
<li>`purge_prefix`: Purge by the directory</li>
|
|
13676
|
+
<li>`purge_host`: Purge by the hostname</li>
|
|
13677
|
+
<li>`purge_all`: Purge all caches</li>
|
|
13678
|
+
<li>`purge_cache_tag`: Purge by the cache-tag </li>For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1).
|
|
13481
13679
|
* @type {string || null}
|
|
13482
13680
|
*/
|
|
13483
13681
|
this.Type = null;
|
|
13484
13682
|
|
|
13485
13683
|
/**
|
|
13486
|
-
*
|
|
13684
|
+
* Configures how resources under the directory are purged when `Type = purge_prefix`. Values: <li>`invalidate`: Only resources updated under the directory are purged.</li><li>`delete`: All resources under the directory are purged regardless of whether they are updated. </li>Default value: `invalidate`.
|
|
13487
13685
|
* @type {string || null}
|
|
13488
13686
|
*/
|
|
13489
13687
|
this.Method = null;
|
|
13490
13688
|
|
|
13491
13689
|
/**
|
|
13492
|
-
*
|
|
13493
|
-
1. When `Type = purge_host`:
|
|
13494
|
-
Enter the hostname, such as www.example.com and foo.bar.example.com.
|
|
13495
|
-
2. When `Type = purge_prefix`:
|
|
13496
|
-
Enter the prefix, such as http://www.example.com/example/.
|
|
13497
|
-
3. When `Type = purge_url`:
|
|
13498
|
-
Enter the URL, such as https://www.example.com/example.jpg.
|
|
13499
|
-
4. When `Type = purge_all`:
|
|
13500
|
-
`Targets` can be left empty.
|
|
13501
|
-
5. When `Type = purge_cache_tag`:
|
|
13502
|
-
Enter the cache tag, such as tag1.
|
|
13503
|
-
Note: The number of submitted tasks is limited by the quota of the plan. For details, see [Billing Overview](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1).
|
|
13690
|
+
* List of cached resources to purge. The format for input depends on the type of cache purging. See examples below for details. <li>By default, non-ASCII characters u200dare escaped based on RFC3986.</li><li>The maximum number of tasks per purging request is determined by the EdgeOne plan. See [Billing Overview (New)](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1). </li>
|
|
13504
13691
|
* @type {Array.<string> || null}
|
|
13505
13692
|
*/
|
|
13506
13693
|
this.Targets = null;
|
|
@@ -13608,6 +13795,23 @@ class Resource extends AbstractModel {
|
|
|
13608
13795
|
*/
|
|
13609
13796
|
this.Area = null;
|
|
13610
13797
|
|
|
13798
|
+
/**
|
|
13799
|
+
* The resource type. Values:
|
|
13800
|
+
<li>`plan`: Plan resources</li>
|
|
13801
|
+
<li>`pay-as-you-go`: Pay-as-you-go resources </li>
|
|
13802
|
+
<li>`value-added`: Value-added resources </li>
|
|
13803
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
13804
|
+
* @type {string || null}
|
|
13805
|
+
*/
|
|
13806
|
+
this.Group = null;
|
|
13807
|
+
|
|
13808
|
+
/**
|
|
13809
|
+
* The sites that are associated with the current resources.
|
|
13810
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
13811
|
+
* @type {number || null}
|
|
13812
|
+
*/
|
|
13813
|
+
this.ZoneNumber = null;
|
|
13814
|
+
|
|
13611
13815
|
}
|
|
13612
13816
|
|
|
13613
13817
|
/**
|
|
@@ -13635,6 +13839,8 @@ class Resource extends AbstractModel {
|
|
|
13635
13839
|
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
13636
13840
|
this.PlanId = 'PlanId' in params ? params.PlanId : null;
|
|
13637
13841
|
this.Area = 'Area' in params ? params.Area : null;
|
|
13842
|
+
this.Group = 'Group' in params ? params.Group : null;
|
|
13843
|
+
this.ZoneNumber = 'ZoneNumber' in params ? params.ZoneNumber : null;
|
|
13638
13844
|
|
|
13639
13845
|
}
|
|
13640
13846
|
}
|
|
@@ -15282,6 +15488,7 @@ module.exports = {
|
|
|
15282
15488
|
Compression: Compression,
|
|
15283
15489
|
DeleteRulesRequest: DeleteRulesRequest,
|
|
15284
15490
|
ExceptUserRuleCondition: ExceptUserRuleCondition,
|
|
15491
|
+
CheckCnameStatusResponse: CheckCnameStatusResponse,
|
|
15285
15492
|
DescribeOriginGroupResponse: DescribeOriginGroupResponse,
|
|
15286
15493
|
DescribeTopL7CacheDataRequest: DescribeTopL7CacheDataRequest,
|
|
15287
15494
|
DeleteApplicationProxyResponse: DeleteApplicationProxyResponse,
|
|
@@ -15306,6 +15513,7 @@ module.exports = {
|
|
|
15306
15513
|
Waf: Waf,
|
|
15307
15514
|
ModifyApplicationProxyRuleStatusResponse: ModifyApplicationProxyRuleStatusResponse,
|
|
15308
15515
|
ModifyZoneSettingRequest: ModifyZoneSettingRequest,
|
|
15516
|
+
RuleRewriteActionParams: RuleRewriteActionParams,
|
|
15309
15517
|
CreateApplicationProxyResponse: CreateApplicationProxyResponse,
|
|
15310
15518
|
BotUserRule: BotUserRule,
|
|
15311
15519
|
ModifyOriginGroupResponse: ModifyOriginGroupResponse,
|
|
@@ -15356,7 +15564,7 @@ module.exports = {
|
|
|
15356
15564
|
Ipv6: Ipv6,
|
|
15357
15565
|
ModifyAccelerationDomainRequest: ModifyAccelerationDomainRequest,
|
|
15358
15566
|
DescribeRulesRequest: DescribeRulesRequest,
|
|
15359
|
-
|
|
15567
|
+
DescribeContentQuotaResponse: DescribeContentQuotaResponse,
|
|
15360
15568
|
TopDataRecord: TopDataRecord,
|
|
15361
15569
|
AclConfig: AclConfig,
|
|
15362
15570
|
ModifyZoneSettingResponse: ModifyZoneSettingResponse,
|
|
@@ -15497,15 +15705,16 @@ module.exports = {
|
|
|
15497
15705
|
QueryCondition: QueryCondition,
|
|
15498
15706
|
IdentifyZoneRequest: IdentifyZoneRequest,
|
|
15499
15707
|
CacheConfig: CacheConfig,
|
|
15500
|
-
|
|
15708
|
+
ModifyApplicationProxyRuleRequest: ModifyApplicationProxyRuleRequest,
|
|
15501
15709
|
ModifyAccelerationDomainResponse: ModifyAccelerationDomainResponse,
|
|
15502
15710
|
FailReason: FailReason,
|
|
15503
15711
|
DescribeRulesSettingRequest: DescribeRulesSettingRequest,
|
|
15504
15712
|
DescribeZonesResponse: DescribeZonesResponse,
|
|
15505
15713
|
ModifyAliasDomainResponse: ModifyAliasDomainResponse,
|
|
15506
15714
|
RewriteAction: RewriteAction,
|
|
15715
|
+
CheckCnameStatusRequest: CheckCnameStatusRequest,
|
|
15507
15716
|
DeleteAliasDomainRequest: DeleteAliasDomainRequest,
|
|
15508
|
-
|
|
15717
|
+
CnameStatus: CnameStatus,
|
|
15509
15718
|
DeleteAccelerationDomainsResponse: DeleteAccelerationDomainsResponse,
|
|
15510
15719
|
DescribeTopL7AnalysisDataResponse: DescribeTopL7AnalysisDataResponse,
|
|
15511
15720
|
StandardDebug: StandardDebug,
|
|
@@ -21,6 +21,7 @@ const DownloadL7LogsRequest = models.DownloadL7LogsRequest;
|
|
|
21
21
|
const Compression = models.Compression;
|
|
22
22
|
const DeleteRulesRequest = models.DeleteRulesRequest;
|
|
23
23
|
const ExceptUserRuleCondition = models.ExceptUserRuleCondition;
|
|
24
|
+
const CheckCnameStatusResponse = models.CheckCnameStatusResponse;
|
|
24
25
|
const DescribeOriginGroupResponse = models.DescribeOriginGroupResponse;
|
|
25
26
|
const DescribeTopL7CacheDataRequest = models.DescribeTopL7CacheDataRequest;
|
|
26
27
|
const DeleteApplicationProxyResponse = models.DeleteApplicationProxyResponse;
|
|
@@ -45,6 +46,7 @@ const ModifySecurityPolicyRequest = models.ModifySecurityPolicyRequest;
|
|
|
45
46
|
const Waf = models.Waf;
|
|
46
47
|
const ModifyApplicationProxyRuleStatusResponse = models.ModifyApplicationProxyRuleStatusResponse;
|
|
47
48
|
const ModifyZoneSettingRequest = models.ModifyZoneSettingRequest;
|
|
49
|
+
const RuleRewriteActionParams = models.RuleRewriteActionParams;
|
|
48
50
|
const CreateApplicationProxyResponse = models.CreateApplicationProxyResponse;
|
|
49
51
|
const BotUserRule = models.BotUserRule;
|
|
50
52
|
const ModifyOriginGroupResponse = models.ModifyOriginGroupResponse;
|
|
@@ -95,7 +97,7 @@ const Quic = models.Quic;
|
|
|
95
97
|
const Ipv6 = models.Ipv6;
|
|
96
98
|
const ModifyAccelerationDomainRequest = models.ModifyAccelerationDomainRequest;
|
|
97
99
|
const DescribeRulesRequest = models.DescribeRulesRequest;
|
|
98
|
-
const
|
|
100
|
+
const DescribeContentQuotaResponse = models.DescribeContentQuotaResponse;
|
|
99
101
|
const TopDataRecord = models.TopDataRecord;
|
|
100
102
|
const AclConfig = models.AclConfig;
|
|
101
103
|
const ModifyZoneSettingResponse = models.ModifyZoneSettingResponse;
|
|
@@ -236,15 +238,16 @@ const DeleteRulesResponse = models.DeleteRulesResponse;
|
|
|
236
238
|
const QueryCondition = models.QueryCondition;
|
|
237
239
|
const IdentifyZoneRequest = models.IdentifyZoneRequest;
|
|
238
240
|
const CacheConfig = models.CacheConfig;
|
|
239
|
-
const
|
|
241
|
+
const ModifyApplicationProxyRuleRequest = models.ModifyApplicationProxyRuleRequest;
|
|
240
242
|
const ModifyAccelerationDomainResponse = models.ModifyAccelerationDomainResponse;
|
|
241
243
|
const FailReason = models.FailReason;
|
|
242
244
|
const DescribeRulesSettingRequest = models.DescribeRulesSettingRequest;
|
|
243
245
|
const DescribeZonesResponse = models.DescribeZonesResponse;
|
|
244
246
|
const ModifyAliasDomainResponse = models.ModifyAliasDomainResponse;
|
|
245
247
|
const RewriteAction = models.RewriteAction;
|
|
248
|
+
const CheckCnameStatusRequest = models.CheckCnameStatusRequest;
|
|
246
249
|
const DeleteAliasDomainRequest = models.DeleteAliasDomainRequest;
|
|
247
|
-
const
|
|
250
|
+
const CnameStatus = models.CnameStatus;
|
|
248
251
|
const DeleteAccelerationDomainsResponse = models.DeleteAccelerationDomainsResponse;
|
|
249
252
|
const DescribeTopL7AnalysisDataResponse = models.DescribeTopL7AnalysisDataResponse;
|
|
250
253
|
const StandardDebug = models.StandardDebug;
|
|
@@ -323,7 +326,9 @@ class TeoClient extends AbstractClient {
|
|
|
323
326
|
}
|
|
324
327
|
|
|
325
328
|
/**
|
|
326
|
-
*
|
|
329
|
+
* When there are resources updated on the origin with the TTL remaining valid, users cannot access the latest resources. In this case, you can purge the cache using this API. There are two methods: <li>Delete: This method deletes the node cache without verification and retrieves u200dthe latest resources from the origin when receiving a request.</li><li>Invalidate: This method marks the node cache as invalid and sends a request with the If-None-Match and If-Modified-Since headers to the origin. If the origin responses with 200, the latest resources are retrieved to be cached on the node. If a 304 response is returned, the latest resources are not cached on the node.
|
|
330
|
+
|
|
331
|
+
</li>For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1). </li>
|
|
327
332
|
* @param {CreatePurgeTaskRequest} req
|
|
328
333
|
* @param {function(string, CreatePurgeTaskResponse):void} cb
|
|
329
334
|
* @public
|
|
@@ -718,6 +723,17 @@ class TeoClient extends AbstractClient {
|
|
|
718
723
|
this.request("DeleteApplicationProxyRule", req, resp, cb);
|
|
719
724
|
}
|
|
720
725
|
|
|
726
|
+
/**
|
|
727
|
+
* This API is used to query the CNAME status of a domain name.
|
|
728
|
+
* @param {CheckCnameStatusRequest} req
|
|
729
|
+
* @param {function(string, CheckCnameStatusResponse):void} cb
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
CheckCnameStatus(req, cb) {
|
|
733
|
+
let resp = new CheckCnameStatusResponse();
|
|
734
|
+
this.request("CheckCnameStatus", req, resp, cb);
|
|
735
|
+
}
|
|
736
|
+
|
|
721
737
|
/**
|
|
722
738
|
* This API is used to batch delete rules from the rule engine.
|
|
723
739
|
* @param {DeleteRulesRequest} req
|