tencentcloud-sdk-nodejs-intl-en 3.0.628 → 3.0.630
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/antiddos/v20200309/antiddos_client.js +15 -2
- package/tencentcloud/antiddos/v20200309/models.js +326 -16
- package/tencentcloud/cdn/v20180606/cdn_client.js +1 -0
- package/tencentcloud/cdn/v20180606/models.js +58 -5
- package/tencentcloud/ckafka/v20190819/models.js +8 -0
- package/tencentcloud/common/sdk_version.js +1 -1
package/package.json
CHANGED
|
@@ -68,6 +68,7 @@ const BoundIpInfo = models.BoundIpInfo;
|
|
|
68
68
|
const DisassociateDDoSEipAddressResponse = models.DisassociateDDoSEipAddressResponse;
|
|
69
69
|
const DescribeBgpBizTrendRequest = models.DescribeBgpBizTrendRequest;
|
|
70
70
|
const DeleteCCThresholdPolicyResponse = models.DeleteCCThresholdPolicyResponse;
|
|
71
|
+
const DescribeBizHttpStatusRequest = models.DescribeBizHttpStatusRequest;
|
|
71
72
|
const SourceServer = models.SourceServer;
|
|
72
73
|
const ModifyDomainUsrNameResponse = models.ModifyDomainUsrNameResponse;
|
|
73
74
|
const ModifyCcBlackWhiteIpListResponse = models.ModifyCcBlackWhiteIpListResponse;
|
|
@@ -84,6 +85,7 @@ const ModifyPacketFilterConfigResponse = models.ModifyPacketFilterConfigResponse
|
|
|
84
85
|
const DescribeListDDoSGeoIPBlockConfigRequest = models.DescribeListDDoSGeoIPBlockConfigRequest;
|
|
85
86
|
const DescribeOverviewDDoSEventListResponse = models.DescribeOverviewDDoSEventListResponse;
|
|
86
87
|
const CreateCcGeoIPBlockConfigResponse = models.CreateCcGeoIPBlockConfigResponse;
|
|
88
|
+
const HttpStatusMap = models.HttpStatusMap;
|
|
87
89
|
const Layer7Rule = models.Layer7Rule;
|
|
88
90
|
const L4RuleSource = models.L4RuleSource;
|
|
89
91
|
const DeleteCcGeoIPBlockConfigRequest = models.DeleteCcGeoIPBlockConfigRequest;
|
|
@@ -98,7 +100,7 @@ const DeleteCCLevelPolicyResponse = models.DeleteCCLevelPolicyResponse;
|
|
|
98
100
|
const ModifyPacketFilterConfigRequest = models.ModifyPacketFilterConfigRequest;
|
|
99
101
|
const DescribeBlackWhiteIpListRequest = models.DescribeBlackWhiteIpListRequest;
|
|
100
102
|
const CreateCcGeoIPBlockConfigRequest = models.CreateCcGeoIPBlockConfigRequest;
|
|
101
|
-
const
|
|
103
|
+
const DescribeBizHttpStatusResponse = models.DescribeBizHttpStatusResponse;
|
|
102
104
|
const CreateDDoSSpeedLimitConfigResponse = models.CreateDDoSSpeedLimitConfigResponse;
|
|
103
105
|
const DescribeNewL7RulesErrHealthResponse = models.DescribeNewL7RulesErrHealthResponse;
|
|
104
106
|
const DeletePacketFilterConfigRequest = models.DeletePacketFilterConfigRequest;
|
|
@@ -157,6 +159,7 @@ const PacketFilterConfig = models.PacketFilterConfig;
|
|
|
157
159
|
const DefaultAlarmThreshold = models.DefaultAlarmThreshold;
|
|
158
160
|
const ForwardListener = models.ForwardListener;
|
|
159
161
|
const BGPInstanceSpecification = models.BGPInstanceSpecification;
|
|
162
|
+
const ModifyDomainUsrNameRequest = models.ModifyDomainUsrNameRequest;
|
|
160
163
|
const CCLevelPolicy = models.CCLevelPolicy;
|
|
161
164
|
const CreateWaterPrintKeyRequest = models.CreateWaterPrintKeyRequest;
|
|
162
165
|
const WaterPrintRelation = models.WaterPrintRelation;
|
|
@@ -739,8 +742,18 @@ class AntiddosClient extends AbstractClient {
|
|
|
739
742
|
}
|
|
740
743
|
|
|
741
744
|
/**
|
|
742
|
-
* This API is used to get
|
|
745
|
+
* This API is used to get the statistics on the status codes of business traffic.
|
|
746
|
+
* @param {DescribeBizHttpStatusRequest} req
|
|
747
|
+
* @param {function(string, DescribeBizHttpStatusResponse):void} cb
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
DescribeBizHttpStatus(req, cb) {
|
|
751
|
+
let resp = new DescribeBizHttpStatusResponse();
|
|
752
|
+
this.request("DescribeBizHttpStatus", req, resp, cb);
|
|
753
|
+
}
|
|
743
754
|
|
|
755
|
+
/**
|
|
756
|
+
* This API is used to get the list of Anti-DDoS Pro instances.
|
|
744
757
|
* @param {DescribeListBGPInstancesRequest} req
|
|
745
758
|
* @param {function(string, DescribeListBGPInstancesResponse):void} cb
|
|
746
759
|
* @public
|
|
@@ -967,7 +967,7 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
967
967
|
this.FilterInstanceIdList = null;
|
|
968
968
|
|
|
969
969
|
/**
|
|
970
|
-
*
|
|
970
|
+
* Enterprise edition. Values: `1` (the Convoy package included), `2` (the Convoy package not included)
|
|
971
971
|
* @type {number || null}
|
|
972
972
|
*/
|
|
973
973
|
this.FilterEnterpriseFlag = null;
|
|
@@ -990,6 +990,24 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
990
990
|
*/
|
|
991
991
|
this.FilterTag = null;
|
|
992
992
|
|
|
993
|
+
/**
|
|
994
|
+
* Filters out trial instances. Values: `1` (emergency protection instances), `2` (PLG instances)
|
|
995
|
+
* @type {number || null}
|
|
996
|
+
*/
|
|
997
|
+
this.FilterTrialFlag = null;
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Filters out Convoy instances
|
|
1001
|
+
* @type {number || null}
|
|
1002
|
+
*/
|
|
1003
|
+
this.FilterConvoy = null;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Whether to exclude the advanced information (such as `InstanceList[0].Usage`). Values: `true` (exclude), `false` (do not exclude). The default value is `false`.
|
|
1007
|
+
* @type {boolean || null}
|
|
1008
|
+
*/
|
|
1009
|
+
this.ExcludeAdvancedInfo = null;
|
|
1010
|
+
|
|
993
1011
|
}
|
|
994
1012
|
|
|
995
1013
|
/**
|
|
@@ -1018,6 +1036,9 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
1018
1036
|
obj.deserialize(params.FilterTag)
|
|
1019
1037
|
this.FilterTag = obj;
|
|
1020
1038
|
}
|
|
1039
|
+
this.FilterTrialFlag = 'FilterTrialFlag' in params ? params.FilterTrialFlag : null;
|
|
1040
|
+
this.FilterConvoy = 'FilterConvoy' in params ? params.FilterConvoy : null;
|
|
1041
|
+
this.ExcludeAdvancedInfo = 'ExcludeAdvancedInfo' in params ? params.ExcludeAdvancedInfo : null;
|
|
1021
1042
|
|
|
1022
1043
|
}
|
|
1023
1044
|
}
|
|
@@ -2077,7 +2098,7 @@ class DescribeListBGPIPInstancesRequest extends AbstractModel {
|
|
|
2077
2098
|
this.FilterDamDDoSStatus = null;
|
|
2078
2099
|
|
|
2079
2100
|
/**
|
|
2080
|
-
* Filters by status of bound resources. `idle
|
|
2101
|
+
* Filters by the status of bound resources. Values: `idle` (normal), `attacking` (being attacked), `blocking` (being blocked), `trial` (in trial)
|
|
2081
2102
|
* @type {string || null}
|
|
2082
2103
|
*/
|
|
2083
2104
|
this.FilterStatus = null;
|
|
@@ -2106,6 +2127,12 @@ class DescribeListBGPIPInstancesRequest extends AbstractModel {
|
|
|
2106
2127
|
*/
|
|
2107
2128
|
this.FilterPackType = null;
|
|
2108
2129
|
|
|
2130
|
+
/**
|
|
2131
|
+
* Filters out Convoy instances
|
|
2132
|
+
* @type {number || null}
|
|
2133
|
+
*/
|
|
2134
|
+
this.FilterConvoy = null;
|
|
2135
|
+
|
|
2109
2136
|
}
|
|
2110
2137
|
|
|
2111
2138
|
/**
|
|
@@ -2135,6 +2162,7 @@ class DescribeListBGPIPInstancesRequest extends AbstractModel {
|
|
|
2135
2162
|
this.FilterTag = obj;
|
|
2136
2163
|
}
|
|
2137
2164
|
this.FilterPackType = 'FilterPackType' in params ? params.FilterPackType : null;
|
|
2165
|
+
this.FilterConvoy = 'FilterConvoy' in params ? params.FilterConvoy : null;
|
|
2138
2166
|
|
|
2139
2167
|
}
|
|
2140
2168
|
}
|
|
@@ -2605,6 +2633,91 @@ class DeleteCCThresholdPolicyResponse extends AbstractModel {
|
|
|
2605
2633
|
}
|
|
2606
2634
|
}
|
|
2607
2635
|
|
|
2636
|
+
/**
|
|
2637
|
+
* DescribeBizHttpStatus request structure.
|
|
2638
|
+
* @class
|
|
2639
|
+
*/
|
|
2640
|
+
class DescribeBizHttpStatusRequest extends AbstractModel {
|
|
2641
|
+
constructor(){
|
|
2642
|
+
super();
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* Statistical mode. Value: `sum`.
|
|
2646
|
+
* @type {string || null}
|
|
2647
|
+
*/
|
|
2648
|
+
this.Statistics = null;
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
|
|
2652
|
+
* @type {string || null}
|
|
2653
|
+
*/
|
|
2654
|
+
this.Business = null;
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* Statistical period in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, and `86400`.
|
|
2658
|
+
* @type {number || null}
|
|
2659
|
+
*/
|
|
2660
|
+
this.Period = null;
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* Statistics start time, such as `2020-02-01 12:04:12`
|
|
2664
|
+
* @type {string || null}
|
|
2665
|
+
*/
|
|
2666
|
+
this.StartTime = null;
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* Statistics end time, such as `2020-02-03 18:03:23`
|
|
2670
|
+
* @type {string || null}
|
|
2671
|
+
*/
|
|
2672
|
+
this.EndTime = null;
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* The resource ID.
|
|
2676
|
+
* @type {string || null}
|
|
2677
|
+
*/
|
|
2678
|
+
this.Id = null;
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* Specific domain name query
|
|
2682
|
+
* @type {string || null}
|
|
2683
|
+
*/
|
|
2684
|
+
this.Domain = null;
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS`
|
|
2688
|
+
* @type {Array.<ProtocolPort> || null}
|
|
2689
|
+
*/
|
|
2690
|
+
this.ProtoInfo = null;
|
|
2691
|
+
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
/**
|
|
2695
|
+
* @private
|
|
2696
|
+
*/
|
|
2697
|
+
deserialize(params) {
|
|
2698
|
+
if (!params) {
|
|
2699
|
+
return;
|
|
2700
|
+
}
|
|
2701
|
+
this.Statistics = 'Statistics' in params ? params.Statistics : null;
|
|
2702
|
+
this.Business = 'Business' in params ? params.Business : null;
|
|
2703
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
2704
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2705
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2706
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
2707
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
2708
|
+
|
|
2709
|
+
if (params.ProtoInfo) {
|
|
2710
|
+
this.ProtoInfo = new Array();
|
|
2711
|
+
for (let z in params.ProtoInfo) {
|
|
2712
|
+
let obj = new ProtocolPort();
|
|
2713
|
+
obj.deserialize(params.ProtoInfo[z]);
|
|
2714
|
+
this.ProtoInfo.push(obj);
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2608
2721
|
/**
|
|
2609
2722
|
* Real server details
|
|
2610
2723
|
* @class
|
|
@@ -3274,6 +3387,97 @@ class CreateCcGeoIPBlockConfigResponse extends AbstractModel {
|
|
|
3274
3387
|
}
|
|
3275
3388
|
}
|
|
3276
3389
|
|
|
3390
|
+
/**
|
|
3391
|
+
* Aggregated data on the HTTP status codes of business traffic
|
|
3392
|
+
* @class
|
|
3393
|
+
*/
|
|
3394
|
+
class HttpStatusMap extends AbstractModel {
|
|
3395
|
+
constructor(){
|
|
3396
|
+
super();
|
|
3397
|
+
|
|
3398
|
+
/**
|
|
3399
|
+
* HTTP 2xx Forwarding status code
|
|
3400
|
+
* @type {Array.<number> || null}
|
|
3401
|
+
*/
|
|
3402
|
+
this.SourceHttp2xx = null;
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* HTTP 5xx Status code
|
|
3406
|
+
* @type {Array.<number> || null}
|
|
3407
|
+
*/
|
|
3408
|
+
this.Http5xx = null;
|
|
3409
|
+
|
|
3410
|
+
/**
|
|
3411
|
+
* HTTP 5xx Forwarding status code
|
|
3412
|
+
* @type {Array.<number> || null}
|
|
3413
|
+
*/
|
|
3414
|
+
this.SourceHttp5xx = null;
|
|
3415
|
+
|
|
3416
|
+
/**
|
|
3417
|
+
* HTTP 404 Forwarding status code
|
|
3418
|
+
* @type {Array.<number> || null}
|
|
3419
|
+
*/
|
|
3420
|
+
this.SourceHttp404 = null;
|
|
3421
|
+
|
|
3422
|
+
/**
|
|
3423
|
+
* HTTP 4xx Status code
|
|
3424
|
+
* @type {Array.<number> || null}
|
|
3425
|
+
*/
|
|
3426
|
+
this.Http4xx = null;
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* HTTP 4xx Forwarding status code
|
|
3430
|
+
* @type {Array.<number> || null}
|
|
3431
|
+
*/
|
|
3432
|
+
this.SourceHttp4xx = null;
|
|
3433
|
+
|
|
3434
|
+
/**
|
|
3435
|
+
* HTTP 2xx Status code
|
|
3436
|
+
* @type {Array.<number> || null}
|
|
3437
|
+
*/
|
|
3438
|
+
this.Http2xx = null;
|
|
3439
|
+
|
|
3440
|
+
/**
|
|
3441
|
+
* HTTP 404 Status code
|
|
3442
|
+
* @type {Array.<number> || null}
|
|
3443
|
+
*/
|
|
3444
|
+
this.Http404 = null;
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
* HTTP 3xx Forwarding status code
|
|
3448
|
+
* @type {Array.<number> || null}
|
|
3449
|
+
*/
|
|
3450
|
+
this.SourceHttp3xx = null;
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* HTTP 3xx Status code
|
|
3454
|
+
* @type {Array.<number> || null}
|
|
3455
|
+
*/
|
|
3456
|
+
this.Http3xx = null;
|
|
3457
|
+
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
/**
|
|
3461
|
+
* @private
|
|
3462
|
+
*/
|
|
3463
|
+
deserialize(params) {
|
|
3464
|
+
if (!params) {
|
|
3465
|
+
return;
|
|
3466
|
+
}
|
|
3467
|
+
this.SourceHttp2xx = 'SourceHttp2xx' in params ? params.SourceHttp2xx : null;
|
|
3468
|
+
this.Http5xx = 'Http5xx' in params ? params.Http5xx : null;
|
|
3469
|
+
this.SourceHttp5xx = 'SourceHttp5xx' in params ? params.SourceHttp5xx : null;
|
|
3470
|
+
this.SourceHttp404 = 'SourceHttp404' in params ? params.SourceHttp404 : null;
|
|
3471
|
+
this.Http4xx = 'Http4xx' in params ? params.Http4xx : null;
|
|
3472
|
+
this.SourceHttp4xx = 'SourceHttp4xx' in params ? params.SourceHttp4xx : null;
|
|
3473
|
+
this.Http2xx = 'Http2xx' in params ? params.Http2xx : null;
|
|
3474
|
+
this.Http404 = 'Http404' in params ? params.Http404 : null;
|
|
3475
|
+
this.SourceHttp3xx = 'SourceHttp3xx' in params ? params.SourceHttp3xx : null;
|
|
3476
|
+
this.Http3xx = 'Http3xx' in params ? params.Http3xx : null;
|
|
3477
|
+
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3277
3481
|
/**
|
|
3278
3482
|
* Layer-7 forwarding rule
|
|
3279
3483
|
* @class
|
|
@@ -3863,7 +4067,7 @@ class CreateCcGeoIPBlockConfigRequest extends AbstractModel {
|
|
|
3863
4067
|
this.Protocol = null;
|
|
3864
4068
|
|
|
3865
4069
|
/**
|
|
3866
|
-
*
|
|
4070
|
+
* CC regional blocking configuration
|
|
3867
4071
|
* @type {CcGeoIPBlockConfig || null}
|
|
3868
4072
|
*/
|
|
3869
4073
|
this.CcGeoIPBlockConfig = null;
|
|
@@ -3892,24 +4096,24 @@ class CreateCcGeoIPBlockConfigRequest extends AbstractModel {
|
|
|
3892
4096
|
}
|
|
3893
4097
|
|
|
3894
4098
|
/**
|
|
3895
|
-
*
|
|
4099
|
+
* DescribeBizHttpStatus response structure.
|
|
3896
4100
|
* @class
|
|
3897
4101
|
*/
|
|
3898
|
-
class
|
|
4102
|
+
class DescribeBizHttpStatusResponse extends AbstractModel {
|
|
3899
4103
|
constructor(){
|
|
3900
4104
|
super();
|
|
3901
4105
|
|
|
3902
4106
|
/**
|
|
3903
|
-
*
|
|
3904
|
-
* @type {
|
|
4107
|
+
* Statistics on the HTTP status codes of business traffic
|
|
4108
|
+
* @type {HttpStatusMap || null}
|
|
3905
4109
|
*/
|
|
3906
|
-
this.
|
|
4110
|
+
this.HttpStatusMap = null;
|
|
3907
4111
|
|
|
3908
4112
|
/**
|
|
3909
|
-
*
|
|
4113
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3910
4114
|
* @type {string || null}
|
|
3911
4115
|
*/
|
|
3912
|
-
this.
|
|
4116
|
+
this.RequestId = null;
|
|
3913
4117
|
|
|
3914
4118
|
}
|
|
3915
4119
|
|
|
@@ -3920,8 +4124,13 @@ class ModifyDomainUsrNameRequest extends AbstractModel {
|
|
|
3920
4124
|
if (!params) {
|
|
3921
4125
|
return;
|
|
3922
4126
|
}
|
|
3923
|
-
|
|
3924
|
-
|
|
4127
|
+
|
|
4128
|
+
if (params.HttpStatusMap) {
|
|
4129
|
+
let obj = new HttpStatusMap();
|
|
4130
|
+
obj.deserialize(params.HttpStatusMap)
|
|
4131
|
+
this.HttpStatusMap = obj;
|
|
4132
|
+
}
|
|
4133
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3925
4134
|
|
|
3926
4135
|
}
|
|
3927
4136
|
}
|
|
@@ -4205,7 +4414,7 @@ class DescribePendingRiskInfoResponse extends AbstractModel {
|
|
|
4205
4414
|
super();
|
|
4206
4415
|
|
|
4207
4416
|
/**
|
|
4208
|
-
* Whether the user is a paid user
|
|
4417
|
+
* Whether the user is a paid user. Values: `true`, `false`.
|
|
4209
4418
|
* @type {boolean || null}
|
|
4210
4419
|
*/
|
|
4211
4420
|
this.IsPaidUsr = null;
|
|
@@ -4535,6 +4744,27 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4535
4744
|
*/
|
|
4536
4745
|
this.InstanceVersion = null;
|
|
4537
4746
|
|
|
4747
|
+
/**
|
|
4748
|
+
* Convoy instance ID
|
|
4749
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4750
|
+
* @type {string || null}
|
|
4751
|
+
*/
|
|
4752
|
+
this.ConvoyId = null;
|
|
4753
|
+
|
|
4754
|
+
/**
|
|
4755
|
+
* Pay-as-you-go bandwidth
|
|
4756
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4757
|
+
* @type {number || null}
|
|
4758
|
+
*/
|
|
4759
|
+
this.ElasticBandwidth = null;
|
|
4760
|
+
|
|
4761
|
+
/**
|
|
4762
|
+
* Whether it’s the IP broadcasted by EdgeOne. Values: `1` (yes), `0` (no)
|
|
4763
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4764
|
+
* @type {number || null}
|
|
4765
|
+
*/
|
|
4766
|
+
this.EOFlag = null;
|
|
4767
|
+
|
|
4538
4768
|
}
|
|
4539
4769
|
|
|
4540
4770
|
/**
|
|
@@ -4620,6 +4850,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4620
4850
|
this.AnycastOutPackRelation = obj;
|
|
4621
4851
|
}
|
|
4622
4852
|
this.InstanceVersion = 'InstanceVersion' in params ? params.InstanceVersion : null;
|
|
4853
|
+
this.ConvoyId = 'ConvoyId' in params ? params.ConvoyId : null;
|
|
4854
|
+
this.ElasticBandwidth = 'ElasticBandwidth' in params ? params.ElasticBandwidth : null;
|
|
4855
|
+
this.EOFlag = 'EOFlag' in params ? params.EOFlag : null;
|
|
4623
4856
|
|
|
4624
4857
|
}
|
|
4625
4858
|
}
|
|
@@ -7327,6 +7560,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7327
7560
|
}
|
|
7328
7561
|
}
|
|
7329
7562
|
|
|
7563
|
+
/**
|
|
7564
|
+
* ModifyDomainUsrName request structure.
|
|
7565
|
+
* @class
|
|
7566
|
+
*/
|
|
7567
|
+
class ModifyDomainUsrNameRequest extends AbstractModel {
|
|
7568
|
+
constructor(){
|
|
7569
|
+
super();
|
|
7570
|
+
|
|
7571
|
+
/**
|
|
7572
|
+
* User CNAME
|
|
7573
|
+
* @type {string || null}
|
|
7574
|
+
*/
|
|
7575
|
+
this.DomainName = null;
|
|
7576
|
+
|
|
7577
|
+
/**
|
|
7578
|
+
* Domain name
|
|
7579
|
+
* @type {string || null}
|
|
7580
|
+
*/
|
|
7581
|
+
this.DomainUserName = null;
|
|
7582
|
+
|
|
7583
|
+
}
|
|
7584
|
+
|
|
7585
|
+
/**
|
|
7586
|
+
* @private
|
|
7587
|
+
*/
|
|
7588
|
+
deserialize(params) {
|
|
7589
|
+
if (!params) {
|
|
7590
|
+
return;
|
|
7591
|
+
}
|
|
7592
|
+
this.DomainName = 'DomainName' in params ? params.DomainName : null;
|
|
7593
|
+
this.DomainUserName = 'DomainUserName' in params ? params.DomainUserName : null;
|
|
7594
|
+
|
|
7595
|
+
}
|
|
7596
|
+
}
|
|
7597
|
+
|
|
7330
7598
|
/**
|
|
7331
7599
|
* The level-defining policy of CC attacks
|
|
7332
7600
|
* @class
|
|
@@ -7482,7 +7750,8 @@ class InsL7Rules extends AbstractModel {
|
|
|
7482
7750
|
super();
|
|
7483
7751
|
|
|
7484
7752
|
/**
|
|
7485
|
-
*
|
|
7753
|
+
* Rules can only be modified when the status is `0`, `2`, or `8`.
|
|
7754
|
+
Rule status. Values: `0` (Normal), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Failed to be deleted), `6` (Pending add), `7` (Pending delete), `8` (Pending certificate upload), `9` (Associated resource not exist), `10` (Pending modify), `11` (Being modified).
|
|
7486
7755
|
* @type {number || null}
|
|
7487
7756
|
*/
|
|
7488
7757
|
this.Status = null;
|
|
@@ -8078,6 +8347,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
8078
8347
|
*/
|
|
8079
8348
|
this.ErrCode = null;
|
|
8080
8349
|
|
|
8350
|
+
/**
|
|
8351
|
+
* Version
|
|
8352
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8353
|
+
* @type {number || null}
|
|
8354
|
+
*/
|
|
8355
|
+
this.Version = null;
|
|
8356
|
+
|
|
8081
8357
|
}
|
|
8082
8358
|
|
|
8083
8359
|
/**
|
|
@@ -8121,6 +8397,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
8121
8397
|
this.VirtualPort = 'VirtualPort' in params ? params.VirtualPort : null;
|
|
8122
8398
|
this.RewriteHttps = 'RewriteHttps' in params ? params.RewriteHttps : null;
|
|
8123
8399
|
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
8400
|
+
this.Version = 'Version' in params ? params.Version : null;
|
|
8124
8401
|
|
|
8125
8402
|
}
|
|
8126
8403
|
}
|
|
@@ -8251,6 +8528,12 @@ class SwitchWaterPrintConfigRequest extends AbstractModel {
|
|
|
8251
8528
|
*/
|
|
8252
8529
|
this.OpenStatus = null;
|
|
8253
8530
|
|
|
8531
|
+
/**
|
|
8532
|
+
* Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required)
|
|
8533
|
+
* @type {number || null}
|
|
8534
|
+
*/
|
|
8535
|
+
this.CloudSdkProxy = null;
|
|
8536
|
+
|
|
8254
8537
|
}
|
|
8255
8538
|
|
|
8256
8539
|
/**
|
|
@@ -8262,6 +8545,7 @@ class SwitchWaterPrintConfigRequest extends AbstractModel {
|
|
|
8262
8545
|
}
|
|
8263
8546
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
8264
8547
|
this.OpenStatus = 'OpenStatus' in params ? params.OpenStatus : null;
|
|
8548
|
+
this.CloudSdkProxy = 'CloudSdkProxy' in params ? params.CloudSdkProxy : null;
|
|
8265
8549
|
|
|
8266
8550
|
}
|
|
8267
8551
|
}
|
|
@@ -8493,6 +8777,13 @@ class WaterPrintConfig extends AbstractModel {
|
|
|
8493
8777
|
*/
|
|
8494
8778
|
this.Verify = null;
|
|
8495
8779
|
|
|
8780
|
+
/**
|
|
8781
|
+
* Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required)
|
|
8782
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8783
|
+
* @type {number || null}
|
|
8784
|
+
*/
|
|
8785
|
+
this.CloudSdkProxy = null;
|
|
8786
|
+
|
|
8496
8787
|
}
|
|
8497
8788
|
|
|
8498
8789
|
/**
|
|
@@ -8523,6 +8814,7 @@ class WaterPrintConfig extends AbstractModel {
|
|
|
8523
8814
|
}
|
|
8524
8815
|
}
|
|
8525
8816
|
this.Verify = 'Verify' in params ? params.Verify : null;
|
|
8817
|
+
this.CloudSdkProxy = 'CloudSdkProxy' in params ? params.CloudSdkProxy : null;
|
|
8526
8818
|
|
|
8527
8819
|
}
|
|
8528
8820
|
}
|
|
@@ -9293,6 +9585,19 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
9293
9585
|
*/
|
|
9294
9586
|
this.VitalityVersion = null;
|
|
9295
9587
|
|
|
9588
|
+
/**
|
|
9589
|
+
* Network line
|
|
9590
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9591
|
+
* @type {number || null}
|
|
9592
|
+
*/
|
|
9593
|
+
this.Line = null;
|
|
9594
|
+
|
|
9595
|
+
/**
|
|
9596
|
+
* Whether to enable elastic bandwidth
|
|
9597
|
+
* @type {number || null}
|
|
9598
|
+
*/
|
|
9599
|
+
this.ElasticServiceBandwidth = null;
|
|
9600
|
+
|
|
9296
9601
|
}
|
|
9297
9602
|
|
|
9298
9603
|
/**
|
|
@@ -9359,6 +9664,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
9359
9664
|
}
|
|
9360
9665
|
this.IpCountNewFlag = 'IpCountNewFlag' in params ? params.IpCountNewFlag : null;
|
|
9361
9666
|
this.VitalityVersion = 'VitalityVersion' in params ? params.VitalityVersion : null;
|
|
9667
|
+
this.Line = 'Line' in params ? params.Line : null;
|
|
9668
|
+
this.ElasticServiceBandwidth = 'ElasticServiceBandwidth' in params ? params.ElasticServiceBandwidth : null;
|
|
9362
9669
|
|
|
9363
9670
|
}
|
|
9364
9671
|
}
|
|
@@ -9483,7 +9790,7 @@ class DescribeBizTrendRequest extends AbstractModel {
|
|
|
9483
9790
|
this.Business = null;
|
|
9484
9791
|
|
|
9485
9792
|
/**
|
|
9486
|
-
* Sampling interval. Valid values: `300`, `1800`, `3600`, `21600`, `86400`
|
|
9793
|
+
* Sampling interval in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, `86400`
|
|
9487
9794
|
* @type {number || null}
|
|
9488
9795
|
*/
|
|
9489
9796
|
this.Period = null;
|
|
@@ -10914,6 +11221,7 @@ module.exports = {
|
|
|
10914
11221
|
DisassociateDDoSEipAddressResponse: DisassociateDDoSEipAddressResponse,
|
|
10915
11222
|
DescribeBgpBizTrendRequest: DescribeBgpBizTrendRequest,
|
|
10916
11223
|
DeleteCCThresholdPolicyResponse: DeleteCCThresholdPolicyResponse,
|
|
11224
|
+
DescribeBizHttpStatusRequest: DescribeBizHttpStatusRequest,
|
|
10917
11225
|
SourceServer: SourceServer,
|
|
10918
11226
|
ModifyDomainUsrNameResponse: ModifyDomainUsrNameResponse,
|
|
10919
11227
|
ModifyCcBlackWhiteIpListResponse: ModifyCcBlackWhiteIpListResponse,
|
|
@@ -10930,6 +11238,7 @@ module.exports = {
|
|
|
10930
11238
|
DescribeListDDoSGeoIPBlockConfigRequest: DescribeListDDoSGeoIPBlockConfigRequest,
|
|
10931
11239
|
DescribeOverviewDDoSEventListResponse: DescribeOverviewDDoSEventListResponse,
|
|
10932
11240
|
CreateCcGeoIPBlockConfigResponse: CreateCcGeoIPBlockConfigResponse,
|
|
11241
|
+
HttpStatusMap: HttpStatusMap,
|
|
10933
11242
|
Layer7Rule: Layer7Rule,
|
|
10934
11243
|
L4RuleSource: L4RuleSource,
|
|
10935
11244
|
DeleteCcGeoIPBlockConfigRequest: DeleteCcGeoIPBlockConfigRequest,
|
|
@@ -10944,7 +11253,7 @@ module.exports = {
|
|
|
10944
11253
|
ModifyPacketFilterConfigRequest: ModifyPacketFilterConfigRequest,
|
|
10945
11254
|
DescribeBlackWhiteIpListRequest: DescribeBlackWhiteIpListRequest,
|
|
10946
11255
|
CreateCcGeoIPBlockConfigRequest: CreateCcGeoIPBlockConfigRequest,
|
|
10947
|
-
|
|
11256
|
+
DescribeBizHttpStatusResponse: DescribeBizHttpStatusResponse,
|
|
10948
11257
|
CreateDDoSSpeedLimitConfigResponse: CreateDDoSSpeedLimitConfigResponse,
|
|
10949
11258
|
DescribeNewL7RulesErrHealthResponse: DescribeNewL7RulesErrHealthResponse,
|
|
10950
11259
|
DeletePacketFilterConfigRequest: DeletePacketFilterConfigRequest,
|
|
@@ -11003,6 +11312,7 @@ module.exports = {
|
|
|
11003
11312
|
DefaultAlarmThreshold: DefaultAlarmThreshold,
|
|
11004
11313
|
ForwardListener: ForwardListener,
|
|
11005
11314
|
BGPInstanceSpecification: BGPInstanceSpecification,
|
|
11315
|
+
ModifyDomainUsrNameRequest: ModifyDomainUsrNameRequest,
|
|
11006
11316
|
CCLevelPolicy: CCLevelPolicy,
|
|
11007
11317
|
CreateWaterPrintKeyRequest: CreateWaterPrintKeyRequest,
|
|
11008
11318
|
WaterPrintRelation: WaterPrintRelation,
|
|
@@ -232,6 +232,7 @@ const AdvancedScdnAclGroup = models.AdvancedScdnAclGroup;
|
|
|
232
232
|
const VideoSeek = models.VideoSeek;
|
|
233
233
|
const Compatibility = models.Compatibility;
|
|
234
234
|
const ManageClsTopicDomainsResponse = models.ManageClsTopicDomainsResponse;
|
|
235
|
+
const HttpsBilling = models.HttpsBilling;
|
|
235
236
|
const ScdnAclGroup = models.ScdnAclGroup;
|
|
236
237
|
const ScdnWafRule = models.ScdnWafRule;
|
|
237
238
|
const ClsSearchLogs = models.ClsSearchLogs;
|
|
@@ -5123,6 +5123,12 @@ After switching to global acceleration, configurations of the domain name will b
|
|
|
5123
5123
|
*/
|
|
5124
5124
|
this.QnPrivateAccess = null;
|
|
5125
5125
|
|
|
5126
|
+
/**
|
|
5127
|
+
* HTTPS service
|
|
5128
|
+
* @type {HttpsBilling || null}
|
|
5129
|
+
*/
|
|
5130
|
+
this.HttpsBilling = null;
|
|
5131
|
+
|
|
5126
5132
|
}
|
|
5127
5133
|
|
|
5128
5134
|
/**
|
|
@@ -5390,6 +5396,12 @@ After switching to global acceleration, configurations of the domain name will b
|
|
|
5390
5396
|
this.QnPrivateAccess = obj;
|
|
5391
5397
|
}
|
|
5392
5398
|
|
|
5399
|
+
if (params.HttpsBilling) {
|
|
5400
|
+
let obj = new HttpsBilling();
|
|
5401
|
+
obj.deserialize(params.HttpsBilling)
|
|
5402
|
+
this.HttpsBilling = obj;
|
|
5403
|
+
}
|
|
5404
|
+
|
|
5393
5405
|
}
|
|
5394
5406
|
}
|
|
5395
5407
|
|
|
@@ -7743,6 +7755,13 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7743
7755
|
*/
|
|
7744
7756
|
this.QnPrivateAccess = null;
|
|
7745
7757
|
|
|
7758
|
+
/**
|
|
7759
|
+
* HTTPS service
|
|
7760
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7761
|
+
* @type {HttpsBilling || null}
|
|
7762
|
+
*/
|
|
7763
|
+
this.HttpsBilling = null;
|
|
7764
|
+
|
|
7746
7765
|
}
|
|
7747
7766
|
|
|
7748
7767
|
/**
|
|
@@ -8068,6 +8087,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8068
8087
|
this.QnPrivateAccess = obj;
|
|
8069
8088
|
}
|
|
8070
8089
|
|
|
8090
|
+
if (params.HttpsBilling) {
|
|
8091
|
+
let obj = new HttpsBilling();
|
|
8092
|
+
obj.deserialize(params.HttpsBilling)
|
|
8093
|
+
this.HttpsBilling = obj;
|
|
8094
|
+
}
|
|
8095
|
+
|
|
8071
8096
|
}
|
|
8072
8097
|
}
|
|
8073
8098
|
|
|
@@ -13344,8 +13369,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
13344
13369
|
this.Reorder = null;
|
|
13345
13370
|
|
|
13346
13371
|
/**
|
|
13347
|
-
*
|
|
13348
|
-
Note: This field may return
|
|
13372
|
+
* Includes/excludes query parameters. Valid values: `includeAll`, `excludeAll`, `includeCustom`, `excludeCustom`
|
|
13373
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13349
13374
|
* @type {string || null}
|
|
13350
13375
|
*/
|
|
13351
13376
|
this.Action = null;
|
|
@@ -14026,6 +14051,34 @@ class ManageClsTopicDomainsResponse extends AbstractModel {
|
|
|
14026
14051
|
}
|
|
14027
14052
|
}
|
|
14028
14053
|
|
|
14054
|
+
/**
|
|
14055
|
+
* When it’s not enabled, HTTPS requests are blocked.
|
|
14056
|
+
* @class
|
|
14057
|
+
*/
|
|
14058
|
+
class HttpsBilling extends AbstractModel {
|
|
14059
|
+
constructor(){
|
|
14060
|
+
super();
|
|
14061
|
+
|
|
14062
|
+
/**
|
|
14063
|
+
* HTTPS Service
|
|
14064
|
+
* @type {string || null}
|
|
14065
|
+
*/
|
|
14066
|
+
this.Switch = null;
|
|
14067
|
+
|
|
14068
|
+
}
|
|
14069
|
+
|
|
14070
|
+
/**
|
|
14071
|
+
* @private
|
|
14072
|
+
*/
|
|
14073
|
+
deserialize(params) {
|
|
14074
|
+
if (!params) {
|
|
14075
|
+
return;
|
|
14076
|
+
}
|
|
14077
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
14078
|
+
|
|
14079
|
+
}
|
|
14080
|
+
}
|
|
14081
|
+
|
|
14029
14082
|
/**
|
|
14030
14083
|
* SCDN precise access control configuration
|
|
14031
14084
|
* @class
|
|
@@ -14274,9 +14327,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
14274
14327
|
this.FilterRules = null;
|
|
14275
14328
|
|
|
14276
14329
|
/**
|
|
14277
|
-
*
|
|
14278
|
-
|
|
14279
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
14330
|
+
* [Unavailable soon] The code returned when the IP blocklist/allowlist verification fails.
|
|
14331
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14280
14332
|
* @type {number || null}
|
|
14281
14333
|
*/
|
|
14282
14334
|
this.ReturnCode = null;
|
|
@@ -15628,6 +15680,7 @@ module.exports = {
|
|
|
15628
15680
|
VideoSeek: VideoSeek,
|
|
15629
15681
|
Compatibility: Compatibility,
|
|
15630
15682
|
ManageClsTopicDomainsResponse: ManageClsTopicDomainsResponse,
|
|
15683
|
+
HttpsBilling: HttpsBilling,
|
|
15631
15684
|
ScdnAclGroup: ScdnAclGroup,
|
|
15632
15685
|
ScdnWafRule: ScdnWafRule,
|
|
15633
15686
|
ClsSearchLogs: ClsSearchLogs,
|
|
@@ -7698,6 +7698,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
7698
7698
|
*/
|
|
7699
7699
|
this.Timestamp = null;
|
|
7700
7700
|
|
|
7701
|
+
/**
|
|
7702
|
+
* Message headers
|
|
7703
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7704
|
+
* @type {string || null}
|
|
7705
|
+
*/
|
|
7706
|
+
this.Headers = null;
|
|
7707
|
+
|
|
7701
7708
|
}
|
|
7702
7709
|
|
|
7703
7710
|
/**
|
|
@@ -7713,6 +7720,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
7713
7720
|
this.Key = 'Key' in params ? params.Key : null;
|
|
7714
7721
|
this.Value = 'Value' in params ? params.Value : null;
|
|
7715
7722
|
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
7723
|
+
this.Headers = 'Headers' in params ? params.Headers : null;
|
|
7716
7724
|
|
|
7717
7725
|
}
|
|
7718
7726
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.630";
|
|
2
2
|
module.exports = sdkVersion
|