@alicloud/ddoscoo20200101 2.4.3 → 2.4.4
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/dist/client.d.ts +284 -45
- package/dist/client.js +22 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +288 -53
package/dist/client.d.ts
CHANGED
|
@@ -178,14 +178,6 @@ export declare class AssociateWebCertRequest extends $tea.Model {
|
|
|
178
178
|
*/
|
|
179
179
|
domain?: string;
|
|
180
180
|
key?: string;
|
|
181
|
-
/**
|
|
182
|
-
* @remarks
|
|
183
|
-
* The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
|
|
184
|
-
*
|
|
185
|
-
* @example
|
|
186
|
-
* default
|
|
187
|
-
*/
|
|
188
|
-
resourceGroupId?: string;
|
|
189
181
|
static names(): {
|
|
190
182
|
[key: string]: string;
|
|
191
183
|
};
|
|
@@ -1564,11 +1556,11 @@ export declare class CreateDomainResourceRequest extends $tea.Model {
|
|
|
1564
1556
|
* @remarks
|
|
1565
1557
|
* The address type of the origin server. Valid values:
|
|
1566
1558
|
*
|
|
1567
|
-
* * **0**: IP address
|
|
1559
|
+
* * **0**: IP address.
|
|
1568
1560
|
*
|
|
1569
|
-
* * **1**: domain name
|
|
1561
|
+
* * **1**: domain name.
|
|
1570
1562
|
*
|
|
1571
|
-
* This parameter is suitable for scenarios
|
|
1563
|
+
* This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.
|
|
1572
1564
|
*
|
|
1573
1565
|
* This parameter is required.
|
|
1574
1566
|
*
|
|
@@ -1704,7 +1696,7 @@ export declare class CreatePortRequest extends $tea.Model {
|
|
|
1704
1696
|
frontendPort?: string;
|
|
1705
1697
|
/**
|
|
1706
1698
|
* @remarks
|
|
1707
|
-
* The type of the protocol. Valid values:
|
|
1699
|
+
* The type of the forwarding protocol. Valid values:
|
|
1708
1700
|
*
|
|
1709
1701
|
* * **tcp**
|
|
1710
1702
|
* * **udp**
|
|
@@ -2839,7 +2831,7 @@ export declare class DeleteSceneDefensePolicyRequest extends $tea.Model {
|
|
|
2839
2831
|
export declare class DeleteSceneDefensePolicyResponseBody extends $tea.Model {
|
|
2840
2832
|
/**
|
|
2841
2833
|
* @remarks
|
|
2842
|
-
* The ID
|
|
2834
|
+
* The request ID.
|
|
2843
2835
|
*
|
|
2844
2836
|
* @example
|
|
2845
2837
|
* F65DF043-E0EB-4796-9467-23DDCDF92C1D
|
|
@@ -2849,8 +2841,8 @@ export declare class DeleteSceneDefensePolicyResponseBody extends $tea.Model {
|
|
|
2849
2841
|
* @remarks
|
|
2850
2842
|
* Indicates whether the request was successful. Valid values:
|
|
2851
2843
|
*
|
|
2852
|
-
* * **true
|
|
2853
|
-
* * **false
|
|
2844
|
+
* * **true**
|
|
2845
|
+
* * **false**
|
|
2854
2846
|
*
|
|
2855
2847
|
* @example
|
|
2856
2848
|
* true
|
|
@@ -5534,7 +5526,7 @@ export declare class DescribeDomainResourceRequest extends $tea.Model {
|
|
|
5534
5526
|
instanceIds?: string[];
|
|
5535
5527
|
/**
|
|
5536
5528
|
* @remarks
|
|
5537
|
-
* The
|
|
5529
|
+
* The page number. Default value: **1**.
|
|
5538
5530
|
*
|
|
5539
5531
|
* @example
|
|
5540
5532
|
* 1
|
|
@@ -5542,9 +5534,7 @@ export declare class DescribeDomainResourceRequest extends $tea.Model {
|
|
|
5542
5534
|
pageNumber?: number;
|
|
5543
5535
|
/**
|
|
5544
5536
|
* @remarks
|
|
5545
|
-
* The number of entries
|
|
5546
|
-
*
|
|
5547
|
-
* This parameter is required.
|
|
5537
|
+
* The number of entries per page.
|
|
5548
5538
|
*
|
|
5549
5539
|
* @example
|
|
5550
5540
|
* 10
|
|
@@ -6875,7 +6865,7 @@ export declare class DescribeHealthCheckListResponseBody extends $tea.Model {
|
|
|
6875
6865
|
healthCheckList?: DescribeHealthCheckListResponseBodyHealthCheckList[];
|
|
6876
6866
|
/**
|
|
6877
6867
|
* @remarks
|
|
6878
|
-
* The ID
|
|
6868
|
+
* The request ID.
|
|
6879
6869
|
*
|
|
6880
6870
|
* @example
|
|
6881
6871
|
* 83B4AF42-E8EE-4DC9-BD73-87B7733A36F9
|
|
@@ -7630,6 +7620,7 @@ export declare class DescribeL7RsPolicyResponseBody extends $tea.Model {
|
|
|
7630
7620
|
* 9E7F6B2C-03F2-462F-9076-B782CF0DD502
|
|
7631
7621
|
*/
|
|
7632
7622
|
requestId?: string;
|
|
7623
|
+
rsAttrRwTimeoutMax?: number;
|
|
7633
7624
|
/**
|
|
7634
7625
|
* @remarks
|
|
7635
7626
|
* The back-to-origin retry switch. Valid values:
|
|
@@ -8116,7 +8107,7 @@ export declare class DescribeNetworkRulesRequest extends $tea.Model {
|
|
|
8116
8107
|
export declare class DescribeNetworkRulesResponseBody extends $tea.Model {
|
|
8117
8108
|
/**
|
|
8118
8109
|
* @remarks
|
|
8119
|
-
* The details of
|
|
8110
|
+
* The details of the port forwarding rule.
|
|
8120
8111
|
*/
|
|
8121
8112
|
networkRules?: DescribeNetworkRulesResponseBodyNetworkRules[];
|
|
8122
8113
|
/**
|
|
@@ -8327,9 +8318,7 @@ export declare class DescribePortRequest extends $tea.Model {
|
|
|
8327
8318
|
instanceId?: string;
|
|
8328
8319
|
/**
|
|
8329
8320
|
* @remarks
|
|
8330
|
-
* The
|
|
8331
|
-
*
|
|
8332
|
-
* This parameter is required.
|
|
8321
|
+
* The page number. For example, if you want to obtain results on the first page, set the value to **1**.
|
|
8333
8322
|
*
|
|
8334
8323
|
* @example
|
|
8335
8324
|
* 1
|
|
@@ -8337,9 +8326,7 @@ export declare class DescribePortRequest extends $tea.Model {
|
|
|
8337
8326
|
pageNumber?: number;
|
|
8338
8327
|
/**
|
|
8339
8328
|
* @remarks
|
|
8340
|
-
* The number of entries
|
|
8341
|
-
*
|
|
8342
|
-
* This parameter is required.
|
|
8329
|
+
* The number of entries per page.
|
|
8343
8330
|
*
|
|
8344
8331
|
* @example
|
|
8345
8332
|
* 10
|
|
@@ -11774,39 +11761,63 @@ export declare class DescribeWebReportTopIpResponse extends $tea.Model {
|
|
|
11774
11761
|
}
|
|
11775
11762
|
export declare class DescribeWebRulesRequest extends $tea.Model {
|
|
11776
11763
|
/**
|
|
11764
|
+
* @remarks
|
|
11765
|
+
* The CNAME address to query.
|
|
11766
|
+
*
|
|
11777
11767
|
* @example
|
|
11778
11768
|
* kzmk7b8tt351****.aliyunddos1014****
|
|
11779
11769
|
*/
|
|
11780
11770
|
cname?: string;
|
|
11781
11771
|
/**
|
|
11772
|
+
* @remarks
|
|
11773
|
+
* The domain name of the website to query.
|
|
11774
|
+
*
|
|
11775
|
+
* > The domain must have been configured with website business forwarding rules. You can call [DescribeDomains](~~DescribeDomains~~) to query all domains that have been configured with website business forwarding rules.
|
|
11776
|
+
*
|
|
11782
11777
|
* @example
|
|
11783
11778
|
* example.com
|
|
11784
11779
|
*/
|
|
11785
11780
|
domain?: string;
|
|
11786
11781
|
/**
|
|
11782
|
+
* @remarks
|
|
11783
|
+
* The list of DDoS protection instance IDs to query.
|
|
11784
|
+
*
|
|
11787
11785
|
* @example
|
|
11788
11786
|
* ddoscoo-cn-mp91j1ao****
|
|
11789
11787
|
*/
|
|
11790
11788
|
instanceIds?: string[];
|
|
11791
11789
|
/**
|
|
11790
|
+
* @remarks
|
|
11791
|
+
* When paginating, set the page number of the current page. The default value is 1.
|
|
11792
|
+
*
|
|
11792
11793
|
* @example
|
|
11793
11794
|
* 1
|
|
11794
11795
|
*/
|
|
11795
11796
|
pageNumber?: number;
|
|
11796
11797
|
/**
|
|
11797
11798
|
* @remarks
|
|
11798
|
-
*
|
|
11799
|
+
* When paginating, set the number of forwarding rules per page. The range of values is: 1~10.
|
|
11799
11800
|
*
|
|
11800
11801
|
* @example
|
|
11801
11802
|
* 10
|
|
11802
11803
|
*/
|
|
11803
11804
|
pageSize?: number;
|
|
11804
11805
|
/**
|
|
11806
|
+
* @remarks
|
|
11807
|
+
* The query matching pattern. Values:
|
|
11808
|
+
* - **fuzzy** (default): Indicates fuzzy query.
|
|
11809
|
+
* - **exact**: Indicates exact query.
|
|
11810
|
+
*
|
|
11805
11811
|
* @example
|
|
11806
11812
|
* exact
|
|
11807
11813
|
*/
|
|
11808
11814
|
queryDomainPattern?: string;
|
|
11809
11815
|
/**
|
|
11816
|
+
* @remarks
|
|
11817
|
+
* The resource group ID of the DDoS protection instance in the resource management service.
|
|
11818
|
+
*
|
|
11819
|
+
* Not setting this parameter indicates the default resource group.
|
|
11820
|
+
*
|
|
11810
11821
|
* @example
|
|
11811
11822
|
* rg-acfm2pz25js****
|
|
11812
11823
|
*/
|
|
@@ -11823,15 +11834,25 @@ export declare class DescribeWebRulesRequest extends $tea.Model {
|
|
|
11823
11834
|
}
|
|
11824
11835
|
export declare class DescribeWebRulesResponseBody extends $tea.Model {
|
|
11825
11836
|
/**
|
|
11837
|
+
* @remarks
|
|
11838
|
+
* The ID of the request.
|
|
11839
|
+
*
|
|
11826
11840
|
* @example
|
|
11827
11841
|
* 0F5B72DD-96F4-423A-B12B-A5151DD746B8
|
|
11828
11842
|
*/
|
|
11829
11843
|
requestId?: string;
|
|
11830
11844
|
/**
|
|
11845
|
+
* @remarks
|
|
11846
|
+
* The total number of queried website business forwarding rules.
|
|
11847
|
+
*
|
|
11831
11848
|
* @example
|
|
11832
11849
|
* 1
|
|
11833
11850
|
*/
|
|
11834
11851
|
totalCount?: number;
|
|
11852
|
+
/**
|
|
11853
|
+
* @remarks
|
|
11854
|
+
* The configurations of the forwarding rule.
|
|
11855
|
+
*/
|
|
11835
11856
|
webRules?: DescribeWebRulesResponseBodyWebRules[];
|
|
11836
11857
|
static names(): {
|
|
11837
11858
|
[key: string]: string;
|
|
@@ -13730,9 +13751,34 @@ export declare class ModifyInstanceRemarkResponse extends $tea.Model {
|
|
|
13730
13751
|
export declare class ModifyNetworkRuleAttributeRequest extends $tea.Model {
|
|
13731
13752
|
/**
|
|
13732
13753
|
* @remarks
|
|
13733
|
-
* The
|
|
13754
|
+
* The detailed settings of the port forwarding rule. This parameter is a JSON string and contains the following fields. The detailed settings of a TCP port forwarding rule contain the following fields.
|
|
13755
|
+
*
|
|
13756
|
+
* * **PersistenceTimeout**: the timeout period of session persistence. This field is required and of the integer type. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.
|
|
13757
|
+
* * **Synproxy**: specifies whether to enable the false source feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.
|
|
13758
|
+
* * **NodataConn**: specifies whether to enable the empty connection feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.
|
|
13759
|
+
* * **Sla**: the settings of the speed limit for destination feature. This field is required and of the struct type. For more information, see the following description about Sla.
|
|
13760
|
+
* * **Slimit**: the settings of the rate limit for source feature. This field is required and of the struct type. For more information, see the following description about Slimit.
|
|
13761
|
+
* * **PayloadLen**: the settings of the packet length limit feature. This field is required and of the struct type. For more information, see the following description about PayloadLen.
|
|
13762
|
+
*
|
|
13763
|
+
* Sla contains the following fields:
|
|
13764
|
+
*
|
|
13765
|
+
* * **Cps**: the destination rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 100 to 100000.
|
|
13766
|
+
* * **Maxconn**: the destination rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1000 to 1000000.
|
|
13767
|
+
* * **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.
|
|
13768
|
+
* * **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.
|
|
13769
|
+
*
|
|
13770
|
+
* Slimit contains the following fields:
|
|
13734
13771
|
*
|
|
13735
|
-
* * **
|
|
13772
|
+
* * **Cps**: the source rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.
|
|
13773
|
+
* * **Maxconn**: the source rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.
|
|
13774
|
+
* * **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.
|
|
13775
|
+
* * **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.
|
|
13776
|
+
* * **CpsMode**: specifies whether to enable the source rate limit on new connections. This field is required and of the integer type. Valid values: 1 and 2. The value 1 indicates the source rate limit is enabled. The value 2 indicates that the system determines whether to enable the source rate limit.
|
|
13777
|
+
*
|
|
13778
|
+
* PayloadLen contains the following fields:
|
|
13779
|
+
*
|
|
13780
|
+
* * **Min**: the minimum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 2000.
|
|
13781
|
+
* * **Max**: the maximum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 6000.
|
|
13736
13782
|
*
|
|
13737
13783
|
* This parameter is required.
|
|
13738
13784
|
*
|
|
@@ -13788,7 +13834,7 @@ export declare class ModifyNetworkRuleAttributeRequest extends $tea.Model {
|
|
|
13788
13834
|
export declare class ModifyNetworkRuleAttributeResponseBody extends $tea.Model {
|
|
13789
13835
|
/**
|
|
13790
13836
|
* @remarks
|
|
13791
|
-
* The ID
|
|
13837
|
+
* The request ID.
|
|
13792
13838
|
*
|
|
13793
13839
|
* @example
|
|
13794
13840
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -13911,7 +13957,7 @@ export declare class ModifyPortRequest extends $tea.Model {
|
|
|
13911
13957
|
frontendPort?: string;
|
|
13912
13958
|
/**
|
|
13913
13959
|
* @remarks
|
|
13914
|
-
* The type of the protocol. Valid values:
|
|
13960
|
+
* The type of the forwarding protocol. Valid values:
|
|
13915
13961
|
*
|
|
13916
13962
|
* * **tcp**
|
|
13917
13963
|
* * **udp**
|
|
@@ -14040,7 +14086,7 @@ export declare class ModifyPortAutoCcStatusRequest extends $tea.Model {
|
|
|
14040
14086
|
export declare class ModifyPortAutoCcStatusResponseBody extends $tea.Model {
|
|
14041
14087
|
/**
|
|
14042
14088
|
* @remarks
|
|
14043
|
-
* The ID
|
|
14089
|
+
* The request ID.
|
|
14044
14090
|
*
|
|
14045
14091
|
* @example
|
|
14046
14092
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -17742,7 +17788,7 @@ export declare class DescribeHealthCheckListResponseBodyHealthCheckListHealthChe
|
|
|
17742
17788
|
* @remarks
|
|
17743
17789
|
* The domain name.
|
|
17744
17790
|
*
|
|
17745
|
-
* >
|
|
17791
|
+
* > This parameter is returned only when the Layer 7 health check configuration is queried.
|
|
17746
17792
|
*
|
|
17747
17793
|
* @example
|
|
17748
17794
|
* www.aliyun.com
|
|
@@ -17803,7 +17849,7 @@ export declare class DescribeHealthCheckListResponseBodyHealthCheckListHealthChe
|
|
|
17803
17849
|
* @remarks
|
|
17804
17850
|
* The check path.
|
|
17805
17851
|
*
|
|
17806
|
-
* >
|
|
17852
|
+
* > This parameter is returned only when the Layer 7 health check configuration is queried.
|
|
17807
17853
|
*
|
|
17808
17854
|
* @example
|
|
17809
17855
|
* /abc
|
|
@@ -20591,6 +20637,13 @@ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailConditi
|
|
|
20591
20637
|
* 192.0.XX.XX
|
|
20592
20638
|
*/
|
|
20593
20639
|
content?: string;
|
|
20640
|
+
/**
|
|
20641
|
+
* @remarks
|
|
20642
|
+
* The match content when the match method is Equals to One of Multiple Values.
|
|
20643
|
+
*
|
|
20644
|
+
* @example
|
|
20645
|
+
* ["2","3","ad"]
|
|
20646
|
+
*/
|
|
20594
20647
|
contentList?: string;
|
|
20595
20648
|
/**
|
|
20596
20649
|
* @remarks
|
|
@@ -21404,16 +21457,31 @@ export declare class DescribeWebReportTopIpResponseBodyDataList extends $tea.Mod
|
|
|
21404
21457
|
}
|
|
21405
21458
|
export declare class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
21406
21459
|
/**
|
|
21460
|
+
* @remarks
|
|
21461
|
+
* The ID of the SM certificate.
|
|
21462
|
+
*
|
|
21407
21463
|
* @example
|
|
21408
21464
|
* 725****
|
|
21409
21465
|
*/
|
|
21410
21466
|
certId?: string;
|
|
21411
21467
|
/**
|
|
21468
|
+
* @remarks
|
|
21469
|
+
* Indicates whether Enable SM Certificate-based Verification is turned on.
|
|
21470
|
+
*
|
|
21471
|
+
* * 0: no
|
|
21472
|
+
* * 1: yes
|
|
21473
|
+
*
|
|
21412
21474
|
* @example
|
|
21413
21475
|
* 1
|
|
21414
21476
|
*/
|
|
21415
21477
|
gmEnable?: number;
|
|
21416
21478
|
/**
|
|
21479
|
+
* @remarks
|
|
21480
|
+
* Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.
|
|
21481
|
+
*
|
|
21482
|
+
* * 0: no
|
|
21483
|
+
* * 1: yes
|
|
21484
|
+
*
|
|
21417
21485
|
* @example
|
|
21418
21486
|
* 1
|
|
21419
21487
|
*/
|
|
@@ -21429,8 +21497,20 @@ export declare class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Mod
|
|
|
21429
21497
|
});
|
|
21430
21498
|
}
|
|
21431
21499
|
export declare class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea.Model {
|
|
21500
|
+
/**
|
|
21501
|
+
* @remarks
|
|
21502
|
+
* The ports.
|
|
21503
|
+
*/
|
|
21432
21504
|
proxyPorts?: string[];
|
|
21433
21505
|
/**
|
|
21506
|
+
* @remarks
|
|
21507
|
+
* The type of the protocol. Valid values:
|
|
21508
|
+
*
|
|
21509
|
+
* * **http**
|
|
21510
|
+
* * **https**
|
|
21511
|
+
* * **websocket**
|
|
21512
|
+
* * **websockets**
|
|
21513
|
+
*
|
|
21434
21514
|
* @example
|
|
21435
21515
|
* https
|
|
21436
21516
|
*/
|
|
@@ -21447,11 +21527,20 @@ export declare class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea
|
|
|
21447
21527
|
}
|
|
21448
21528
|
export declare class DescribeWebRulesResponseBodyWebRulesRealServers extends $tea.Model {
|
|
21449
21529
|
/**
|
|
21530
|
+
* @remarks
|
|
21531
|
+
* The address of the origin server.
|
|
21532
|
+
*
|
|
21450
21533
|
* @example
|
|
21451
21534
|
* 192.0.XX.XX
|
|
21452
21535
|
*/
|
|
21453
21536
|
realServer?: string;
|
|
21454
21537
|
/**
|
|
21538
|
+
* @remarks
|
|
21539
|
+
* The type of the origin server address. Valid values:
|
|
21540
|
+
*
|
|
21541
|
+
* * **0**: IP address
|
|
21542
|
+
* * **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.
|
|
21543
|
+
*
|
|
21455
21544
|
* @example
|
|
21456
21545
|
* 0
|
|
21457
21546
|
*/
|
|
@@ -21467,97 +21556,239 @@ export declare class DescribeWebRulesResponseBodyWebRulesRealServers extends $te
|
|
|
21467
21556
|
});
|
|
21468
21557
|
}
|
|
21469
21558
|
export declare class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
21559
|
+
/**
|
|
21560
|
+
* @remarks
|
|
21561
|
+
* The IP addresses in the blacklist for the domain name.
|
|
21562
|
+
*/
|
|
21470
21563
|
blackList?: string[];
|
|
21471
21564
|
/**
|
|
21565
|
+
* @remarks
|
|
21566
|
+
* Indicates whether the Frequency Control policy is enabled. Valid values:
|
|
21567
|
+
*
|
|
21568
|
+
* * **true**
|
|
21569
|
+
* * **false**
|
|
21570
|
+
*
|
|
21472
21571
|
* @example
|
|
21473
21572
|
* true
|
|
21474
21573
|
*/
|
|
21475
21574
|
ccEnabled?: boolean;
|
|
21476
21575
|
/**
|
|
21576
|
+
* @remarks
|
|
21577
|
+
* Indicates whether the Custom Rule switch of the Frequency Control policy is turned on. Valid values:
|
|
21578
|
+
*
|
|
21579
|
+
* * **true**
|
|
21580
|
+
* * **false**
|
|
21581
|
+
*
|
|
21477
21582
|
* @example
|
|
21478
21583
|
* false
|
|
21479
21584
|
*/
|
|
21480
21585
|
ccRuleEnabled?: boolean;
|
|
21481
21586
|
/**
|
|
21587
|
+
* @remarks
|
|
21588
|
+
* The mode of the Frequency Control policy. Valid values:
|
|
21589
|
+
*
|
|
21590
|
+
* * **default**: the Normal mode
|
|
21591
|
+
* * **gf_under_attack**: the Emergency mode
|
|
21592
|
+
* * **gf_sos_verify**: the Strict mode
|
|
21593
|
+
* * **gf_sos_verify**: the Super Strict mode
|
|
21594
|
+
*
|
|
21482
21595
|
* @example
|
|
21483
21596
|
* default
|
|
21484
21597
|
*/
|
|
21485
21598
|
ccTemplate?: string;
|
|
21486
21599
|
/**
|
|
21600
|
+
* @remarks
|
|
21601
|
+
* The name of the SSL certificate.
|
|
21602
|
+
*
|
|
21487
21603
|
* @example
|
|
21488
21604
|
* testcert
|
|
21489
21605
|
*/
|
|
21490
21606
|
certName?: string;
|
|
21607
|
+
/**
|
|
21608
|
+
* @remarks
|
|
21609
|
+
* The region where the certificate is used. Valid values:
|
|
21610
|
+
*
|
|
21611
|
+
* * cn-hangzhou (default): the Chinese mainland
|
|
21612
|
+
* * ap-southeast-1: outside the Chinese mainland
|
|
21613
|
+
*
|
|
21614
|
+
* @example
|
|
21615
|
+
* cn-hangzhou
|
|
21616
|
+
*/
|
|
21491
21617
|
certRegion?: string;
|
|
21492
21618
|
/**
|
|
21619
|
+
* @remarks
|
|
21620
|
+
* The CNAME provided by the Anti-DDoS Pro or Anti-DDoS Premium instance to which the domain name is added.
|
|
21621
|
+
*
|
|
21493
21622
|
* @example
|
|
21494
21623
|
* kzmk7b8tt351****.aliyunddos1014****
|
|
21495
21624
|
*/
|
|
21496
21625
|
cname?: string;
|
|
21626
|
+
/**
|
|
21627
|
+
* @remarks
|
|
21628
|
+
* The custom cipher suites.
|
|
21629
|
+
*/
|
|
21497
21630
|
customCiphers?: string[];
|
|
21498
21631
|
/**
|
|
21632
|
+
* @remarks
|
|
21633
|
+
* The domain name of the website.
|
|
21634
|
+
*
|
|
21499
21635
|
* @example
|
|
21500
21636
|
* example.com
|
|
21501
21637
|
*/
|
|
21502
21638
|
domain?: string;
|
|
21639
|
+
/**
|
|
21640
|
+
* @remarks
|
|
21641
|
+
* The SM certificate settings.
|
|
21642
|
+
*/
|
|
21503
21643
|
gmCert?: DescribeWebRulesResponseBodyWebRulesGmCert;
|
|
21504
21644
|
/**
|
|
21645
|
+
* @remarks
|
|
21646
|
+
* Indicates whether Enable HTTP/2 is turned on. Valid values:
|
|
21647
|
+
*
|
|
21648
|
+
* * **true**
|
|
21649
|
+
* * **false**
|
|
21650
|
+
*
|
|
21505
21651
|
* @example
|
|
21506
21652
|
* true
|
|
21507
21653
|
*/
|
|
21508
21654
|
http2Enable?: boolean;
|
|
21509
21655
|
/**
|
|
21656
|
+
* @remarks
|
|
21657
|
+
* Indicates whether Enable HTTPS Redirection was turned on. Valid values:
|
|
21658
|
+
*
|
|
21659
|
+
* * **true**
|
|
21660
|
+
* * **false**
|
|
21661
|
+
*
|
|
21510
21662
|
* @example
|
|
21511
21663
|
* true
|
|
21512
21664
|
*/
|
|
21513
21665
|
http2HttpsEnable?: boolean;
|
|
21514
21666
|
/**
|
|
21667
|
+
* @remarks
|
|
21668
|
+
* Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:
|
|
21669
|
+
*
|
|
21670
|
+
* * **true**
|
|
21671
|
+
* * **false**
|
|
21672
|
+
*
|
|
21515
21673
|
* @example
|
|
21516
21674
|
* true
|
|
21517
21675
|
*/
|
|
21518
21676
|
https2HttpEnable?: boolean;
|
|
21519
21677
|
/**
|
|
21678
|
+
* @remarks
|
|
21679
|
+
* Indicates whether the Online Certificate Status Protocol (OCSP) feature is enabled. Valid values:
|
|
21680
|
+
*
|
|
21681
|
+
* * **true**
|
|
21682
|
+
* * **false**
|
|
21683
|
+
*
|
|
21520
21684
|
* @example
|
|
21521
21685
|
* false
|
|
21522
21686
|
*/
|
|
21523
21687
|
ocspEnabled?: boolean;
|
|
21524
21688
|
/**
|
|
21689
|
+
* @remarks
|
|
21690
|
+
* The load balancing algorithm for back-to-origin traffic. Valid values:
|
|
21691
|
+
*
|
|
21692
|
+
* * **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.
|
|
21693
|
+
* * **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.
|
|
21694
|
+
* * **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.
|
|
21695
|
+
*
|
|
21525
21696
|
* @example
|
|
21526
21697
|
* ip_hash
|
|
21527
21698
|
*/
|
|
21528
21699
|
policyMode?: string;
|
|
21529
21700
|
/**
|
|
21701
|
+
* @remarks
|
|
21702
|
+
* Indicates whether the forwarding rule is enabled. Valid values:
|
|
21703
|
+
*
|
|
21704
|
+
* * **true**
|
|
21705
|
+
* * **false**
|
|
21706
|
+
*
|
|
21530
21707
|
* @example
|
|
21531
21708
|
* true
|
|
21532
21709
|
*/
|
|
21533
21710
|
proxyEnabled?: boolean;
|
|
21711
|
+
/**
|
|
21712
|
+
* @remarks
|
|
21713
|
+
* The details of the protocol type and port number.
|
|
21714
|
+
*/
|
|
21534
21715
|
proxyTypes?: DescribeWebRulesResponseBodyWebRulesProxyTypes[];
|
|
21535
21716
|
/**
|
|
21717
|
+
* @remarks
|
|
21718
|
+
* The reason why the domain name is invalid. Valid values:
|
|
21719
|
+
*
|
|
21720
|
+
* * **1**: No Content Provider (ICP) filing is completed for the domain name.
|
|
21721
|
+
* * **2**: The business for which you registered the domain name does not meet regulatory requirements.
|
|
21722
|
+
*
|
|
21723
|
+
* If the two reasons are both involved, the value **2** is returned.
|
|
21724
|
+
*
|
|
21536
21725
|
* @example
|
|
21537
21726
|
* 1
|
|
21538
21727
|
*/
|
|
21539
21728
|
punishReason?: number;
|
|
21540
21729
|
/**
|
|
21730
|
+
* @remarks
|
|
21731
|
+
* Indicates whether the domain name is invalid. Valid values:
|
|
21732
|
+
*
|
|
21733
|
+
* * **true**: You can view the specific reasons from the **PunishReason** parameter.
|
|
21734
|
+
* * **false**
|
|
21735
|
+
*
|
|
21541
21736
|
* @example
|
|
21542
21737
|
* true
|
|
21543
21738
|
*/
|
|
21544
21739
|
punishStatus?: boolean;
|
|
21740
|
+
/**
|
|
21741
|
+
* @remarks
|
|
21742
|
+
* The details of the origin server address.
|
|
21743
|
+
*/
|
|
21545
21744
|
realServers?: DescribeWebRulesResponseBodyWebRulesRealServers[];
|
|
21546
21745
|
/**
|
|
21746
|
+
* @remarks
|
|
21747
|
+
* Indicates whether TLS 1.3 is supported. Valid values:
|
|
21748
|
+
*
|
|
21749
|
+
* * **true**
|
|
21750
|
+
* * **false**
|
|
21751
|
+
*
|
|
21547
21752
|
* @example
|
|
21548
21753
|
* false
|
|
21549
21754
|
*/
|
|
21550
21755
|
ssl13Enabled?: boolean;
|
|
21551
21756
|
/**
|
|
21757
|
+
* @remarks
|
|
21758
|
+
* The type of the cipher suite. Valid values:
|
|
21759
|
+
*
|
|
21760
|
+
* * **default**: custom cipher suites
|
|
21761
|
+
* * **all**: all cipher suites, which contain strong and weak cipher suites
|
|
21762
|
+
* * **strong**: strong cipher suites
|
|
21763
|
+
*
|
|
21552
21764
|
* @example
|
|
21553
21765
|
* default
|
|
21554
21766
|
*/
|
|
21555
21767
|
sslCiphers?: string;
|
|
21556
21768
|
/**
|
|
21769
|
+
* @remarks
|
|
21770
|
+
* The version of the Transport Layer Security (TLS) protocol. Valid values:
|
|
21771
|
+
*
|
|
21772
|
+
* * **tls1.0**: TLS 1.0 or later
|
|
21773
|
+
* * **tls1.1**: TLS 1.1 or later
|
|
21774
|
+
* * **tls1.2**: TLS 1.2 or later
|
|
21775
|
+
*
|
|
21557
21776
|
* @example
|
|
21558
21777
|
* tls1.1
|
|
21559
21778
|
*/
|
|
21560
21779
|
sslProtocols?: string;
|
|
21780
|
+
/**
|
|
21781
|
+
* @remarks
|
|
21782
|
+
* The name of the certificate uploaded by the user to the certificate center.
|
|
21783
|
+
*
|
|
21784
|
+
* @example
|
|
21785
|
+
* test
|
|
21786
|
+
*/
|
|
21787
|
+
userCertName?: string;
|
|
21788
|
+
/**
|
|
21789
|
+
* @remarks
|
|
21790
|
+
* The IP addresses in the whitelist for the domain name.
|
|
21791
|
+
*/
|
|
21561
21792
|
whiteList?: string[];
|
|
21562
21793
|
static names(): {
|
|
21563
21794
|
[key: string]: string;
|
|
@@ -23921,9 +24152,13 @@ export default class Client extends OpenApi {
|
|
|
23921
24152
|
*/
|
|
23922
24153
|
describeWebReportTopIp(request: DescribeWebReportTopIpRequest): Promise<DescribeWebReportTopIpResponse>;
|
|
23923
24154
|
/**
|
|
23924
|
-
*
|
|
23925
|
-
*
|
|
23926
|
-
*
|
|
24155
|
+
* Query Configuration of Website Business Forwarding Rules.
|
|
24156
|
+
*
|
|
24157
|
+
* @remarks
|
|
24158
|
+
* This interface is used for paginated querying of the configurations of website business forwarding rules you have created, such as forwarding protocol types, source server addresses, HTTPS configurations, IP blacklist configurations, and more.
|
|
24159
|
+
* Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
|
|
24160
|
+
* ### QPS Limit
|
|
24161
|
+
* The per-user QPS limit for this interface is 50 times/second. Exceeding this limit will result in API calls being throttled, which may impact your business; please use it reasonably.
|
|
23927
24162
|
*
|
|
23928
24163
|
* @param request - DescribeWebRulesRequest
|
|
23929
24164
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23931,9 +24166,13 @@ export default class Client extends OpenApi {
|
|
|
23931
24166
|
*/
|
|
23932
24167
|
describeWebRulesWithOptions(request: DescribeWebRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebRulesResponse>;
|
|
23933
24168
|
/**
|
|
23934
|
-
*
|
|
23935
|
-
*
|
|
23936
|
-
*
|
|
24169
|
+
* Query Configuration of Website Business Forwarding Rules.
|
|
24170
|
+
*
|
|
24171
|
+
* @remarks
|
|
24172
|
+
* This interface is used for paginated querying of the configurations of website business forwarding rules you have created, such as forwarding protocol types, source server addresses, HTTPS configurations, IP blacklist configurations, and more.
|
|
24173
|
+
* Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
|
|
24174
|
+
* ### QPS Limit
|
|
24175
|
+
* The per-user QPS limit for this interface is 50 times/second. Exceeding this limit will result in API calls being throttled, which may impact your business; please use it reasonably.
|
|
23937
24176
|
*
|
|
23938
24177
|
* @param request - DescribeWebRulesRequest
|
|
23939
24178
|
* @returns DescribeWebRulesResponse
|
|
@@ -24357,7 +24596,7 @@ export default class Client extends OpenApi {
|
|
|
24357
24596
|
*/
|
|
24358
24597
|
modifyInstanceRemark(request: ModifyInstanceRemarkRequest): Promise<ModifyInstanceRemarkResponse>;
|
|
24359
24598
|
/**
|
|
24360
|
-
* Modifies the session persistence settings of a port forwarding rule.
|
|
24599
|
+
* Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
|
|
24361
24600
|
*
|
|
24362
24601
|
* @param request - ModifyNetworkRuleAttributeRequest
|
|
24363
24602
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24365,7 +24604,7 @@ export default class Client extends OpenApi {
|
|
|
24365
24604
|
*/
|
|
24366
24605
|
modifyNetworkRuleAttributeWithOptions(request: ModifyNetworkRuleAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkRuleAttributeResponse>;
|
|
24367
24606
|
/**
|
|
24368
|
-
* Modifies the session persistence settings of a port forwarding rule.
|
|
24607
|
+
* Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
|
|
24369
24608
|
*
|
|
24370
24609
|
* @param request - ModifyNetworkRuleAttributeRequest
|
|
24371
24610
|
* @returns ModifyNetworkRuleAttributeResponse
|
|
@@ -24678,7 +24917,7 @@ export default class Client extends OpenApi {
|
|
|
24678
24917
|
*/
|
|
24679
24918
|
modifyWebIpSetSwitch(request: ModifyWebIpSetSwitchRequest): Promise<ModifyWebIpSetSwitchResponse>;
|
|
24680
24919
|
/**
|
|
24681
|
-
*
|
|
24920
|
+
* Creates or modifies an accurate access control rule of a website.
|
|
24682
24921
|
*
|
|
24683
24922
|
* @param request - ModifyWebPreciseAccessRuleRequest
|
|
24684
24923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24686,7 +24925,7 @@ export default class Client extends OpenApi {
|
|
|
24686
24925
|
*/
|
|
24687
24926
|
modifyWebPreciseAccessRuleWithOptions(request: ModifyWebPreciseAccessRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWebPreciseAccessRuleResponse>;
|
|
24688
24927
|
/**
|
|
24689
|
-
*
|
|
24928
|
+
* Creates or modifies an accurate access control rule of a website.
|
|
24690
24929
|
*
|
|
24691
24930
|
* @param request - ModifyWebPreciseAccessRuleRequest
|
|
24692
24931
|
* @returns ModifyWebPreciseAccessRuleResponse
|