@alicloud/ddoscoo20200101 2.4.2 → 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 +370 -82
- package/dist/client.js +52 -31
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +392 -90
package/src/client.ts
CHANGED
|
@@ -211,8 +211,24 @@ export class AddAutoCcWhitelistResponse extends $tea.Model {
|
|
|
211
211
|
export class AssociateWebCertRequest extends $tea.Model {
|
|
212
212
|
cert?: string;
|
|
213
213
|
certId?: number;
|
|
214
|
+
/**
|
|
215
|
+
* @remarks
|
|
216
|
+
* The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.
|
|
217
|
+
*
|
|
218
|
+
* > You can specify only one of this parameter and the CertId parameter.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* 9430680-cn-hangzhou
|
|
222
|
+
*/
|
|
214
223
|
certIdentifier?: string;
|
|
215
224
|
certName?: string;
|
|
225
|
+
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* The region of the certificate. Valid values: **cn-hangzhou** and **ap-southeast-1**. Default value: **cn-hangzhou**.
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* cn-hangzhou
|
|
231
|
+
*/
|
|
216
232
|
certRegion?: string;
|
|
217
233
|
/**
|
|
218
234
|
* @remarks
|
|
@@ -220,14 +236,6 @@ export class AssociateWebCertRequest extends $tea.Model {
|
|
|
220
236
|
*/
|
|
221
237
|
domain?: string;
|
|
222
238
|
key?: string;
|
|
223
|
-
/**
|
|
224
|
-
* @remarks
|
|
225
|
-
* 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.
|
|
226
|
-
*
|
|
227
|
-
* @example
|
|
228
|
-
* default
|
|
229
|
-
*/
|
|
230
|
-
resourceGroupId?: string;
|
|
231
239
|
static names(): { [key: string]: string } {
|
|
232
240
|
return {
|
|
233
241
|
cert: 'Cert',
|
|
@@ -237,7 +245,6 @@ export class AssociateWebCertRequest extends $tea.Model {
|
|
|
237
245
|
certRegion: 'CertRegion',
|
|
238
246
|
domain: 'Domain',
|
|
239
247
|
key: 'Key',
|
|
240
|
-
resourceGroupId: 'ResourceGroupId',
|
|
241
248
|
};
|
|
242
249
|
}
|
|
243
250
|
|
|
@@ -250,7 +257,6 @@ export class AssociateWebCertRequest extends $tea.Model {
|
|
|
250
257
|
certRegion: 'string',
|
|
251
258
|
domain: 'string',
|
|
252
259
|
key: 'string',
|
|
253
|
-
resourceGroupId: 'string',
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
|
|
@@ -262,7 +268,7 @@ export class AssociateWebCertRequest extends $tea.Model {
|
|
|
262
268
|
export class AssociateWebCertResponseBody extends $tea.Model {
|
|
263
269
|
/**
|
|
264
270
|
* @remarks
|
|
265
|
-
* The ID
|
|
271
|
+
* The request ID.
|
|
266
272
|
*
|
|
267
273
|
* @example
|
|
268
274
|
* 40F11005-A75C-4644-95F2-52A4E7D43E91
|
|
@@ -2034,11 +2040,11 @@ export class CreateDomainResourceRequest extends $tea.Model {
|
|
|
2034
2040
|
* @remarks
|
|
2035
2041
|
* The address type of the origin server. Valid values:
|
|
2036
2042
|
*
|
|
2037
|
-
* * **0**: IP address
|
|
2043
|
+
* * **0**: IP address.
|
|
2038
2044
|
*
|
|
2039
|
-
* * **1**: domain name
|
|
2045
|
+
* * **1**: domain name.
|
|
2040
2046
|
*
|
|
2041
|
-
* This parameter is suitable for scenarios
|
|
2047
|
+
* 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.
|
|
2042
2048
|
*
|
|
2043
2049
|
* This parameter is required.
|
|
2044
2050
|
*
|
|
@@ -2161,7 +2167,7 @@ export class CreateNetworkRulesRequest extends $tea.Model {
|
|
|
2161
2167
|
export class CreateNetworkRulesResponseBody extends $tea.Model {
|
|
2162
2168
|
/**
|
|
2163
2169
|
* @remarks
|
|
2164
|
-
* The ID
|
|
2170
|
+
* The request ID.
|
|
2165
2171
|
*
|
|
2166
2172
|
* @example
|
|
2167
2173
|
* ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD
|
|
@@ -2230,7 +2236,7 @@ export class CreatePortRequest extends $tea.Model {
|
|
|
2230
2236
|
frontendPort?: string;
|
|
2231
2237
|
/**
|
|
2232
2238
|
* @remarks
|
|
2233
|
-
* The type of the protocol. Valid values:
|
|
2239
|
+
* The type of the forwarding protocol. Valid values:
|
|
2234
2240
|
*
|
|
2235
2241
|
* * **tcp**
|
|
2236
2242
|
* * **udp**
|
|
@@ -2253,6 +2259,7 @@ export class CreatePortRequest extends $tea.Model {
|
|
|
2253
2259
|
* ddoscoo-cn-st21zbyq****
|
|
2254
2260
|
*/
|
|
2255
2261
|
instanceId?: string;
|
|
2262
|
+
proxyEnable?: number;
|
|
2256
2263
|
/**
|
|
2257
2264
|
* @remarks
|
|
2258
2265
|
* An array that consists of the IP addresses of origin servers.
|
|
@@ -2266,6 +2273,7 @@ export class CreatePortRequest extends $tea.Model {
|
|
|
2266
2273
|
frontendPort: 'FrontendPort',
|
|
2267
2274
|
frontendProtocol: 'FrontendProtocol',
|
|
2268
2275
|
instanceId: 'InstanceId',
|
|
2276
|
+
proxyEnable: 'ProxyEnable',
|
|
2269
2277
|
realServers: 'RealServers',
|
|
2270
2278
|
};
|
|
2271
2279
|
}
|
|
@@ -2276,6 +2284,7 @@ export class CreatePortRequest extends $tea.Model {
|
|
|
2276
2284
|
frontendPort: 'string',
|
|
2277
2285
|
frontendProtocol: 'string',
|
|
2278
2286
|
instanceId: 'string',
|
|
2287
|
+
proxyEnable: 'number',
|
|
2279
2288
|
realServers: { 'type': 'array', 'itemType': 'string' },
|
|
2280
2289
|
};
|
|
2281
2290
|
}
|
|
@@ -3725,7 +3734,7 @@ export class DeleteSceneDefensePolicyRequest extends $tea.Model {
|
|
|
3725
3734
|
export class DeleteSceneDefensePolicyResponseBody extends $tea.Model {
|
|
3726
3735
|
/**
|
|
3727
3736
|
* @remarks
|
|
3728
|
-
* The ID
|
|
3737
|
+
* The request ID.
|
|
3729
3738
|
*
|
|
3730
3739
|
* @example
|
|
3731
3740
|
* F65DF043-E0EB-4796-9467-23DDCDF92C1D
|
|
@@ -3735,8 +3744,8 @@ export class DeleteSceneDefensePolicyResponseBody extends $tea.Model {
|
|
|
3735
3744
|
* @remarks
|
|
3736
3745
|
* Indicates whether the request was successful. Valid values:
|
|
3737
3746
|
*
|
|
3738
|
-
* * **true
|
|
3739
|
-
* * **false
|
|
3747
|
+
* * **true**
|
|
3748
|
+
* * **false**
|
|
3740
3749
|
*
|
|
3741
3750
|
* @example
|
|
3742
3751
|
* true
|
|
@@ -4068,7 +4077,7 @@ export class DeleteWebCCRuleRequest extends $tea.Model {
|
|
|
4068
4077
|
export class DeleteWebCCRuleResponseBody extends $tea.Model {
|
|
4069
4078
|
/**
|
|
4070
4079
|
* @remarks
|
|
4071
|
-
* The ID
|
|
4080
|
+
* The request ID.
|
|
4072
4081
|
*
|
|
4073
4082
|
* @example
|
|
4074
4083
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -5127,7 +5136,7 @@ export class DescribeAutoCcWhitelistResponse extends $tea.Model {
|
|
|
5127
5136
|
export class DescribeBackSourceCidrRequest extends $tea.Model {
|
|
5128
5137
|
/**
|
|
5129
5138
|
* @remarks
|
|
5130
|
-
* The IP version of the back-to-origin CIDR
|
|
5139
|
+
* The IP version of the back-to-origin CIDR blocks.
|
|
5131
5140
|
*
|
|
5132
5141
|
* * **Ipv4**
|
|
5133
5142
|
* * **Ipv6**
|
|
@@ -7340,7 +7349,7 @@ export class DescribeDomainResourceRequest extends $tea.Model {
|
|
|
7340
7349
|
instanceIds?: string[];
|
|
7341
7350
|
/**
|
|
7342
7351
|
* @remarks
|
|
7343
|
-
* The
|
|
7352
|
+
* The page number. Default value: **1**.
|
|
7344
7353
|
*
|
|
7345
7354
|
* @example
|
|
7346
7355
|
* 1
|
|
@@ -7348,9 +7357,7 @@ export class DescribeDomainResourceRequest extends $tea.Model {
|
|
|
7348
7357
|
pageNumber?: number;
|
|
7349
7358
|
/**
|
|
7350
7359
|
* @remarks
|
|
7351
|
-
* The number of entries
|
|
7352
|
-
*
|
|
7353
|
-
* This parameter is required.
|
|
7360
|
+
* The number of entries per page.
|
|
7354
7361
|
*
|
|
7355
7362
|
* @example
|
|
7356
7363
|
* 10
|
|
@@ -9134,7 +9141,7 @@ export class DescribeHealthCheckListResponseBody extends $tea.Model {
|
|
|
9134
9141
|
healthCheckList?: DescribeHealthCheckListResponseBodyHealthCheckList[];
|
|
9135
9142
|
/**
|
|
9136
9143
|
* @remarks
|
|
9137
|
-
* The ID
|
|
9144
|
+
* The request ID.
|
|
9138
9145
|
*
|
|
9139
9146
|
* @example
|
|
9140
9147
|
* 83B4AF42-E8EE-4DC9-BD73-87B7733A36F9
|
|
@@ -9302,12 +9309,12 @@ export class DescribeInstanceDetailsRequest extends $tea.Model {
|
|
|
9302
9309
|
export class DescribeInstanceDetailsResponseBody extends $tea.Model {
|
|
9303
9310
|
/**
|
|
9304
9311
|
* @remarks
|
|
9305
|
-
* The IP address and ISP line information about the instance.
|
|
9312
|
+
* The IP address and ISP line information about the Anti-DDoS Proxy instance.
|
|
9306
9313
|
*/
|
|
9307
9314
|
instanceDetails?: DescribeInstanceDetailsResponseBodyInstanceDetails[];
|
|
9308
9315
|
/**
|
|
9309
9316
|
* @remarks
|
|
9310
|
-
* The ID
|
|
9317
|
+
* The request ID.
|
|
9311
9318
|
*
|
|
9312
9319
|
* @example
|
|
9313
9320
|
* 3C814429-21A5-4673-827E-FDD19DC75681
|
|
@@ -10156,6 +10163,7 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
|
|
|
10156
10163
|
* 9E7F6B2C-03F2-462F-9076-B782CF0DD502
|
|
10157
10164
|
*/
|
|
10158
10165
|
requestId?: string;
|
|
10166
|
+
rsAttrRwTimeoutMax?: number;
|
|
10159
10167
|
/**
|
|
10160
10168
|
* @remarks
|
|
10161
10169
|
* The back-to-origin retry switch. Valid values:
|
|
@@ -10172,6 +10180,7 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
|
|
|
10172
10180
|
attributes: 'Attributes',
|
|
10173
10181
|
proxyMode: 'ProxyMode',
|
|
10174
10182
|
requestId: 'RequestId',
|
|
10183
|
+
rsAttrRwTimeoutMax: 'RsAttrRwTimeoutMax',
|
|
10175
10184
|
upstreamRetry: 'UpstreamRetry',
|
|
10176
10185
|
};
|
|
10177
10186
|
}
|
|
@@ -10181,6 +10190,7 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
|
|
|
10181
10190
|
attributes: { 'type': 'array', 'itemType': DescribeL7RsPolicyResponseBodyAttributes },
|
|
10182
10191
|
proxyMode: 'string',
|
|
10183
10192
|
requestId: 'string',
|
|
10193
|
+
rsAttrRwTimeoutMax: 'number',
|
|
10184
10194
|
upstreamRetry: 'number',
|
|
10185
10195
|
};
|
|
10186
10196
|
}
|
|
@@ -10818,7 +10828,7 @@ export class DescribeNetworkRulesRequest extends $tea.Model {
|
|
|
10818
10828
|
export class DescribeNetworkRulesResponseBody extends $tea.Model {
|
|
10819
10829
|
/**
|
|
10820
10830
|
* @remarks
|
|
10821
|
-
* The details of
|
|
10831
|
+
* The details of the port forwarding rule.
|
|
10822
10832
|
*/
|
|
10823
10833
|
networkRules?: DescribeNetworkRulesResponseBodyNetworkRules[];
|
|
10824
10834
|
/**
|
|
@@ -11088,9 +11098,7 @@ export class DescribePortRequest extends $tea.Model {
|
|
|
11088
11098
|
instanceId?: string;
|
|
11089
11099
|
/**
|
|
11090
11100
|
* @remarks
|
|
11091
|
-
* The
|
|
11092
|
-
*
|
|
11093
|
-
* This parameter is required.
|
|
11101
|
+
* The page number. For example, if you want to obtain results on the first page, set the value to **1**.
|
|
11094
11102
|
*
|
|
11095
11103
|
* @example
|
|
11096
11104
|
* 1
|
|
@@ -11098,9 +11106,7 @@ export class DescribePortRequest extends $tea.Model {
|
|
|
11098
11106
|
pageNumber?: number;
|
|
11099
11107
|
/**
|
|
11100
11108
|
* @remarks
|
|
11101
|
-
* The number of entries
|
|
11102
|
-
*
|
|
11103
|
-
* This parameter is required.
|
|
11109
|
+
* The number of entries per page.
|
|
11104
11110
|
*
|
|
11105
11111
|
* @example
|
|
11106
11112
|
* 10
|
|
@@ -14897,7 +14903,7 @@ export class DescribeWebCCRulesRequest extends $tea.Model {
|
|
|
14897
14903
|
export class DescribeWebCCRulesResponseBody extends $tea.Model {
|
|
14898
14904
|
/**
|
|
14899
14905
|
* @remarks
|
|
14900
|
-
* The ID
|
|
14906
|
+
* The request ID.
|
|
14901
14907
|
*
|
|
14902
14908
|
* @example
|
|
14903
14909
|
* EAED912D-909E-45F0-AF74-AC0CCDCAE314
|
|
@@ -14905,7 +14911,7 @@ export class DescribeWebCCRulesResponseBody extends $tea.Model {
|
|
|
14905
14911
|
requestId?: string;
|
|
14906
14912
|
/**
|
|
14907
14913
|
* @remarks
|
|
14908
|
-
* The total number of
|
|
14914
|
+
* The total number of custom frequency control rules.
|
|
14909
14915
|
*
|
|
14910
14916
|
* @example
|
|
14911
14917
|
* 1
|
|
@@ -14913,7 +14919,7 @@ export class DescribeWebCCRulesResponseBody extends $tea.Model {
|
|
|
14913
14919
|
totalCount?: number;
|
|
14914
14920
|
/**
|
|
14915
14921
|
* @remarks
|
|
14916
|
-
*
|
|
14922
|
+
* The custom frequency control rule.
|
|
14917
14923
|
*/
|
|
14918
14924
|
webCCRules?: DescribeWebCCRulesResponseBodyWebCCRules[];
|
|
14919
14925
|
static names(): { [key: string]: string } {
|
|
@@ -15732,39 +15738,63 @@ export class DescribeWebReportTopIpResponse extends $tea.Model {
|
|
|
15732
15738
|
|
|
15733
15739
|
export class DescribeWebRulesRequest extends $tea.Model {
|
|
15734
15740
|
/**
|
|
15741
|
+
* @remarks
|
|
15742
|
+
* The CNAME address to query.
|
|
15743
|
+
*
|
|
15735
15744
|
* @example
|
|
15736
15745
|
* kzmk7b8tt351****.aliyunddos1014****
|
|
15737
15746
|
*/
|
|
15738
15747
|
cname?: string;
|
|
15739
15748
|
/**
|
|
15749
|
+
* @remarks
|
|
15750
|
+
* The domain name of the website to query.
|
|
15751
|
+
*
|
|
15752
|
+
* > 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.
|
|
15753
|
+
*
|
|
15740
15754
|
* @example
|
|
15741
15755
|
* example.com
|
|
15742
15756
|
*/
|
|
15743
15757
|
domain?: string;
|
|
15744
15758
|
/**
|
|
15759
|
+
* @remarks
|
|
15760
|
+
* The list of DDoS protection instance IDs to query.
|
|
15761
|
+
*
|
|
15745
15762
|
* @example
|
|
15746
15763
|
* ddoscoo-cn-mp91j1ao****
|
|
15747
15764
|
*/
|
|
15748
15765
|
instanceIds?: string[];
|
|
15749
15766
|
/**
|
|
15767
|
+
* @remarks
|
|
15768
|
+
* When paginating, set the page number of the current page. The default value is 1.
|
|
15769
|
+
*
|
|
15750
15770
|
* @example
|
|
15751
15771
|
* 1
|
|
15752
15772
|
*/
|
|
15753
15773
|
pageNumber?: number;
|
|
15754
15774
|
/**
|
|
15755
15775
|
* @remarks
|
|
15756
|
-
*
|
|
15776
|
+
* When paginating, set the number of forwarding rules per page. The range of values is: 1~10.
|
|
15757
15777
|
*
|
|
15758
15778
|
* @example
|
|
15759
15779
|
* 10
|
|
15760
15780
|
*/
|
|
15761
15781
|
pageSize?: number;
|
|
15762
15782
|
/**
|
|
15783
|
+
* @remarks
|
|
15784
|
+
* The query matching pattern. Values:
|
|
15785
|
+
* - **fuzzy** (default): Indicates fuzzy query.
|
|
15786
|
+
* - **exact**: Indicates exact query.
|
|
15787
|
+
*
|
|
15763
15788
|
* @example
|
|
15764
15789
|
* exact
|
|
15765
15790
|
*/
|
|
15766
15791
|
queryDomainPattern?: string;
|
|
15767
15792
|
/**
|
|
15793
|
+
* @remarks
|
|
15794
|
+
* The resource group ID of the DDoS protection instance in the resource management service.
|
|
15795
|
+
*
|
|
15796
|
+
* Not setting this parameter indicates the default resource group.
|
|
15797
|
+
*
|
|
15768
15798
|
* @example
|
|
15769
15799
|
* rg-acfm2pz25js****
|
|
15770
15800
|
*/
|
|
@@ -15800,15 +15830,25 @@ export class DescribeWebRulesRequest extends $tea.Model {
|
|
|
15800
15830
|
|
|
15801
15831
|
export class DescribeWebRulesResponseBody extends $tea.Model {
|
|
15802
15832
|
/**
|
|
15833
|
+
* @remarks
|
|
15834
|
+
* The ID of the request.
|
|
15835
|
+
*
|
|
15803
15836
|
* @example
|
|
15804
15837
|
* 0F5B72DD-96F4-423A-B12B-A5151DD746B8
|
|
15805
15838
|
*/
|
|
15806
15839
|
requestId?: string;
|
|
15807
15840
|
/**
|
|
15841
|
+
* @remarks
|
|
15842
|
+
* The total number of queried website business forwarding rules.
|
|
15843
|
+
*
|
|
15808
15844
|
* @example
|
|
15809
15845
|
* 1
|
|
15810
15846
|
*/
|
|
15811
15847
|
totalCount?: number;
|
|
15848
|
+
/**
|
|
15849
|
+
* @remarks
|
|
15850
|
+
* The configurations of the forwarding rule.
|
|
15851
|
+
*/
|
|
15812
15852
|
webRules?: DescribeWebRulesResponseBodyWebRules[];
|
|
15813
15853
|
static names(): { [key: string]: string } {
|
|
15814
15854
|
return {
|
|
@@ -16200,7 +16240,7 @@ export class DisableWebCCRequest extends $tea.Model {
|
|
|
16200
16240
|
export class DisableWebCCResponseBody extends $tea.Model {
|
|
16201
16241
|
/**
|
|
16202
16242
|
* @remarks
|
|
16203
|
-
* The ID
|
|
16243
|
+
* The request ID.
|
|
16204
16244
|
*
|
|
16205
16245
|
* @example
|
|
16206
16246
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -16291,7 +16331,7 @@ export class DisableWebCCRuleRequest extends $tea.Model {
|
|
|
16291
16331
|
export class DisableWebCCRuleResponseBody extends $tea.Model {
|
|
16292
16332
|
/**
|
|
16293
16333
|
* @remarks
|
|
16294
|
-
* The ID
|
|
16334
|
+
* The request ID.
|
|
16295
16335
|
*
|
|
16296
16336
|
* @example
|
|
16297
16337
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -16897,7 +16937,7 @@ export class EnableWebCCRuleRequest extends $tea.Model {
|
|
|
16897
16937
|
export class EnableWebCCRuleResponseBody extends $tea.Model {
|
|
16898
16938
|
/**
|
|
16899
16939
|
* @remarks
|
|
16900
|
-
* The ID
|
|
16940
|
+
* The request ID.
|
|
16901
16941
|
*
|
|
16902
16942
|
* @example
|
|
16903
16943
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -18378,9 +18418,34 @@ export class ModifyInstanceRemarkResponse extends $tea.Model {
|
|
|
18378
18418
|
export class ModifyNetworkRuleAttributeRequest extends $tea.Model {
|
|
18379
18419
|
/**
|
|
18380
18420
|
* @remarks
|
|
18381
|
-
* The
|
|
18421
|
+
* 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.
|
|
18422
|
+
*
|
|
18423
|
+
* * **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.
|
|
18424
|
+
* * **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.
|
|
18425
|
+
* * **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.
|
|
18426
|
+
* * **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.
|
|
18427
|
+
* * **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.
|
|
18428
|
+
* * **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.
|
|
18382
18429
|
*
|
|
18383
|
-
*
|
|
18430
|
+
* Sla contains the following fields:
|
|
18431
|
+
*
|
|
18432
|
+
* * **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.
|
|
18433
|
+
* * **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.
|
|
18434
|
+
* * **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.
|
|
18435
|
+
* * **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.
|
|
18436
|
+
*
|
|
18437
|
+
* Slimit contains the following fields:
|
|
18438
|
+
*
|
|
18439
|
+
* * **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.
|
|
18440
|
+
* * **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.
|
|
18441
|
+
* * **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.
|
|
18442
|
+
* * **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.
|
|
18443
|
+
* * **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.
|
|
18444
|
+
*
|
|
18445
|
+
* PayloadLen contains the following fields:
|
|
18446
|
+
*
|
|
18447
|
+
* * **Min**: the minimum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 2000.
|
|
18448
|
+
* * **Max**: the maximum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 6000.
|
|
18384
18449
|
*
|
|
18385
18450
|
* This parameter is required.
|
|
18386
18451
|
*
|
|
@@ -18449,7 +18514,7 @@ export class ModifyNetworkRuleAttributeRequest extends $tea.Model {
|
|
|
18449
18514
|
export class ModifyNetworkRuleAttributeResponseBody extends $tea.Model {
|
|
18450
18515
|
/**
|
|
18451
18516
|
* @remarks
|
|
18452
|
-
* The ID
|
|
18517
|
+
* The request ID.
|
|
18453
18518
|
*
|
|
18454
18519
|
* @example
|
|
18455
18520
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -18613,7 +18678,7 @@ export class ModifyPortRequest extends $tea.Model {
|
|
|
18613
18678
|
frontendPort?: string;
|
|
18614
18679
|
/**
|
|
18615
18680
|
* @remarks
|
|
18616
|
-
* The type of the protocol. Valid values:
|
|
18681
|
+
* The type of the forwarding protocol. Valid values:
|
|
18617
18682
|
*
|
|
18618
18683
|
* * **tcp**
|
|
18619
18684
|
* * **udp**
|
|
@@ -18636,6 +18701,7 @@ export class ModifyPortRequest extends $tea.Model {
|
|
|
18636
18701
|
* ddoscoo-cn-st21zbyq****
|
|
18637
18702
|
*/
|
|
18638
18703
|
instanceId?: string;
|
|
18704
|
+
proxyEnable?: number;
|
|
18639
18705
|
/**
|
|
18640
18706
|
* @remarks
|
|
18641
18707
|
* An array that consists of the IP addresses of origin servers.
|
|
@@ -18649,6 +18715,7 @@ export class ModifyPortRequest extends $tea.Model {
|
|
|
18649
18715
|
frontendPort: 'FrontendPort',
|
|
18650
18716
|
frontendProtocol: 'FrontendProtocol',
|
|
18651
18717
|
instanceId: 'InstanceId',
|
|
18718
|
+
proxyEnable: 'ProxyEnable',
|
|
18652
18719
|
realServers: 'RealServers',
|
|
18653
18720
|
};
|
|
18654
18721
|
}
|
|
@@ -18659,6 +18726,7 @@ export class ModifyPortRequest extends $tea.Model {
|
|
|
18659
18726
|
frontendPort: 'string',
|
|
18660
18727
|
frontendProtocol: 'string',
|
|
18661
18728
|
instanceId: 'string',
|
|
18729
|
+
proxyEnable: 'number',
|
|
18662
18730
|
realServers: { 'type': 'array', 'itemType': 'string' },
|
|
18663
18731
|
};
|
|
18664
18732
|
}
|
|
@@ -18783,7 +18851,7 @@ export class ModifyPortAutoCcStatusRequest extends $tea.Model {
|
|
|
18783
18851
|
export class ModifyPortAutoCcStatusResponseBody extends $tea.Model {
|
|
18784
18852
|
/**
|
|
18785
18853
|
* @remarks
|
|
18786
|
-
* The ID
|
|
18854
|
+
* The request ID.
|
|
18787
18855
|
*
|
|
18788
18856
|
* @example
|
|
18789
18857
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -19434,7 +19502,7 @@ export class ModifyWebAIProtectModeRequest extends $tea.Model {
|
|
|
19434
19502
|
export class ModifyWebAIProtectModeResponseBody extends $tea.Model {
|
|
19435
19503
|
/**
|
|
19436
19504
|
* @remarks
|
|
19437
|
-
* The ID
|
|
19505
|
+
* The request ID.
|
|
19438
19506
|
*
|
|
19439
19507
|
* @example
|
|
19440
19508
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -20795,7 +20863,7 @@ export class ModifyWebPreciseAccessSwitchRequest extends $tea.Model {
|
|
|
20795
20863
|
export class ModifyWebPreciseAccessSwitchResponseBody extends $tea.Model {
|
|
20796
20864
|
/**
|
|
20797
20865
|
* @remarks
|
|
20798
|
-
* The ID
|
|
20866
|
+
* The request ID.
|
|
20799
20867
|
*
|
|
20800
20868
|
* @example
|
|
20801
20869
|
* 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
|
|
@@ -23564,7 +23632,7 @@ export class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck exten
|
|
|
23564
23632
|
* @remarks
|
|
23565
23633
|
* The domain name.
|
|
23566
23634
|
*
|
|
23567
|
-
* >
|
|
23635
|
+
* > This parameter is returned only when the Layer 7 health check configuration is queried.
|
|
23568
23636
|
*
|
|
23569
23637
|
* @example
|
|
23570
23638
|
* www.aliyun.com
|
|
@@ -23625,7 +23693,7 @@ export class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck exten
|
|
|
23625
23693
|
* @remarks
|
|
23626
23694
|
* The check path.
|
|
23627
23695
|
*
|
|
23628
|
-
* >
|
|
23696
|
+
* > This parameter is returned only when the Layer 7 health check configuration is queried.
|
|
23629
23697
|
*
|
|
23630
23698
|
* @example
|
|
23631
23699
|
* /abc
|
|
@@ -23827,6 +23895,13 @@ export class DescribeHealthCheckStatusResponseBodyHealthCheckStatus extends $tea
|
|
|
23827
23895
|
}
|
|
23828
23896
|
|
|
23829
23897
|
export class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends $tea.Model {
|
|
23898
|
+
/**
|
|
23899
|
+
* @remarks
|
|
23900
|
+
* Indicates whether a custom certificate is configured.
|
|
23901
|
+
*
|
|
23902
|
+
* @example
|
|
23903
|
+
* true
|
|
23904
|
+
*/
|
|
23830
23905
|
certConfigured?: boolean;
|
|
23831
23906
|
/**
|
|
23832
23907
|
* @remarks
|
|
@@ -23836,6 +23911,13 @@ export class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends
|
|
|
23836
23911
|
* 203.117.XX.XX
|
|
23837
23912
|
*/
|
|
23838
23913
|
eip?: string;
|
|
23914
|
+
/**
|
|
23915
|
+
* @remarks
|
|
23916
|
+
* The type of the instance.
|
|
23917
|
+
*
|
|
23918
|
+
* @example
|
|
23919
|
+
* default
|
|
23920
|
+
*/
|
|
23839
23921
|
functionVersion?: string;
|
|
23840
23922
|
/**
|
|
23841
23923
|
* @remarks
|
|
@@ -23859,6 +23941,13 @@ export class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends
|
|
|
23859
23941
|
* Ipv4
|
|
23860
23942
|
*/
|
|
23861
23943
|
ipVersion?: string;
|
|
23944
|
+
/**
|
|
23945
|
+
* @remarks
|
|
23946
|
+
* Indicates whether the TLS 1.3 version is supported.
|
|
23947
|
+
*
|
|
23948
|
+
* @example
|
|
23949
|
+
* false
|
|
23950
|
+
*/
|
|
23862
23951
|
ssl13Enabled?: boolean;
|
|
23863
23952
|
/**
|
|
23864
23953
|
* @remarks
|
|
@@ -23874,6 +23963,13 @@ export class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends
|
|
|
23874
23963
|
* normal
|
|
23875
23964
|
*/
|
|
23876
23965
|
status?: string;
|
|
23966
|
+
/**
|
|
23967
|
+
* @remarks
|
|
23968
|
+
* The Transport Layer Security (TLS) version that is configured.
|
|
23969
|
+
*
|
|
23970
|
+
* @example
|
|
23971
|
+
* tls1.2
|
|
23972
|
+
*/
|
|
23877
23973
|
tlsVersion?: string;
|
|
23878
23974
|
static names(): { [key: string]: string } {
|
|
23879
23975
|
return {
|
|
@@ -23909,7 +24005,7 @@ export class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends
|
|
|
23909
24005
|
export class DescribeInstanceDetailsResponseBodyInstanceDetails extends $tea.Model {
|
|
23910
24006
|
/**
|
|
23911
24007
|
* @remarks
|
|
23912
|
-
* The information about the
|
|
24008
|
+
* The IP address information about the Anti-DDoS Proxy instance.
|
|
23913
24009
|
*/
|
|
23914
24010
|
eipInfos?: DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos[];
|
|
23915
24011
|
/**
|
|
@@ -25421,6 +25517,7 @@ export class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.Model {
|
|
|
25421
25517
|
* true
|
|
25422
25518
|
*/
|
|
25423
25519
|
isAutoCreate?: boolean;
|
|
25520
|
+
payloadRuleEnable?: number;
|
|
25424
25521
|
/**
|
|
25425
25522
|
* @remarks
|
|
25426
25523
|
* The forwarding protocol. Valid values:
|
|
@@ -25432,6 +25529,8 @@ export class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.Model {
|
|
|
25432
25529
|
* tcp
|
|
25433
25530
|
*/
|
|
25434
25531
|
protocol?: string;
|
|
25532
|
+
proxyEnable?: number;
|
|
25533
|
+
proxyStatus?: string;
|
|
25435
25534
|
/**
|
|
25436
25535
|
* @remarks
|
|
25437
25536
|
* The IP addresses of origin servers.
|
|
@@ -25451,7 +25550,10 @@ export class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.Model {
|
|
|
25451
25550
|
frontendPort: 'FrontendPort',
|
|
25452
25551
|
instanceId: 'InstanceId',
|
|
25453
25552
|
isAutoCreate: 'IsAutoCreate',
|
|
25553
|
+
payloadRuleEnable: 'PayloadRuleEnable',
|
|
25454
25554
|
protocol: 'Protocol',
|
|
25555
|
+
proxyEnable: 'ProxyEnable',
|
|
25556
|
+
proxyStatus: 'ProxyStatus',
|
|
25455
25557
|
realServers: 'RealServers',
|
|
25456
25558
|
remark: 'Remark',
|
|
25457
25559
|
};
|
|
@@ -25463,7 +25565,10 @@ export class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.Model {
|
|
|
25463
25565
|
frontendPort: 'number',
|
|
25464
25566
|
instanceId: 'string',
|
|
25465
25567
|
isAutoCreate: 'boolean',
|
|
25568
|
+
payloadRuleEnable: 'number',
|
|
25466
25569
|
protocol: 'string',
|
|
25570
|
+
proxyEnable: 'number',
|
|
25571
|
+
proxyStatus: 'string',
|
|
25467
25572
|
realServers: { 'type': 'array', 'itemType': 'string' },
|
|
25468
25573
|
remark: 'string',
|
|
25469
25574
|
};
|
|
@@ -27079,10 +27184,10 @@ export class DescribeWebAreaBlockConfigsResponseBodyAreaBlockConfigs extends $te
|
|
|
27079
27184
|
export class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model {
|
|
27080
27185
|
/**
|
|
27081
27186
|
* @remarks
|
|
27082
|
-
* The
|
|
27187
|
+
* The action triggered if the rule is matched. Valid values:
|
|
27083
27188
|
*
|
|
27084
|
-
* * **close**:
|
|
27085
|
-
* * **captcha**:
|
|
27189
|
+
* * **close**: The requests that match the rule are blocked.
|
|
27190
|
+
* * **captcha**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.
|
|
27086
27191
|
*
|
|
27087
27192
|
* @example
|
|
27088
27193
|
* close
|
|
@@ -27090,7 +27195,7 @@ export class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model {
|
|
|
27090
27195
|
act?: string;
|
|
27091
27196
|
/**
|
|
27092
27197
|
* @remarks
|
|
27093
|
-
* The number of requests that are allowed from
|
|
27198
|
+
* The number of requests that are allowed from a single IP address. Valid values: **2** to **2000**.
|
|
27094
27199
|
*
|
|
27095
27200
|
* @example
|
|
27096
27201
|
* 3
|
|
@@ -27098,7 +27203,7 @@ export class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model {
|
|
|
27098
27203
|
count?: number;
|
|
27099
27204
|
/**
|
|
27100
27205
|
* @remarks
|
|
27101
|
-
* The check
|
|
27206
|
+
* The check interval. Valid values: **5** to **10800**. Unit: seconds.
|
|
27102
27207
|
*
|
|
27103
27208
|
* @example
|
|
27104
27209
|
* 5
|
|
@@ -27108,8 +27213,8 @@ export class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model {
|
|
|
27108
27213
|
* @remarks
|
|
27109
27214
|
* The match mode. Valid values:
|
|
27110
27215
|
*
|
|
27111
|
-
* * **prefix**: prefix match
|
|
27112
|
-
* * **match**: exact match
|
|
27216
|
+
* * **prefix**: prefix match.
|
|
27217
|
+
* * **match**: exact match.
|
|
27113
27218
|
*
|
|
27114
27219
|
* @example
|
|
27115
27220
|
* prefix
|
|
@@ -27125,7 +27230,7 @@ export class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model {
|
|
|
27125
27230
|
name?: string;
|
|
27126
27231
|
/**
|
|
27127
27232
|
* @remarks
|
|
27128
|
-
* The
|
|
27233
|
+
* The validity period. Valid values: **1** to **1440**. Unit: minutes.
|
|
27129
27234
|
*
|
|
27130
27235
|
* @example
|
|
27131
27236
|
* 60
|
|
@@ -27177,6 +27282,13 @@ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition exten
|
|
|
27177
27282
|
* 192.0.XX.XX
|
|
27178
27283
|
*/
|
|
27179
27284
|
content?: string;
|
|
27285
|
+
/**
|
|
27286
|
+
* @remarks
|
|
27287
|
+
* The match content when the match method is Equals to One of Multiple Values.
|
|
27288
|
+
*
|
|
27289
|
+
* @example
|
|
27290
|
+
* ["2","3","ad"]
|
|
27291
|
+
*/
|
|
27180
27292
|
contentList?: string;
|
|
27181
27293
|
/**
|
|
27182
27294
|
* @remarks
|
|
@@ -28220,16 +28332,31 @@ export class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
|
|
|
28220
28332
|
|
|
28221
28333
|
export class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
28222
28334
|
/**
|
|
28335
|
+
* @remarks
|
|
28336
|
+
* The ID of the SM certificate.
|
|
28337
|
+
*
|
|
28223
28338
|
* @example
|
|
28224
28339
|
* 725****
|
|
28225
28340
|
*/
|
|
28226
28341
|
certId?: string;
|
|
28227
28342
|
/**
|
|
28343
|
+
* @remarks
|
|
28344
|
+
* Indicates whether Enable SM Certificate-based Verification is turned on.
|
|
28345
|
+
*
|
|
28346
|
+
* * 0: no
|
|
28347
|
+
* * 1: yes
|
|
28348
|
+
*
|
|
28228
28349
|
* @example
|
|
28229
28350
|
* 1
|
|
28230
28351
|
*/
|
|
28231
28352
|
gmEnable?: number;
|
|
28232
28353
|
/**
|
|
28354
|
+
* @remarks
|
|
28355
|
+
* Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.
|
|
28356
|
+
*
|
|
28357
|
+
* * 0: no
|
|
28358
|
+
* * 1: yes
|
|
28359
|
+
*
|
|
28233
28360
|
* @example
|
|
28234
28361
|
* 1
|
|
28235
28362
|
*/
|
|
@@ -28256,8 +28383,20 @@ export class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
|
28256
28383
|
}
|
|
28257
28384
|
|
|
28258
28385
|
export class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea.Model {
|
|
28386
|
+
/**
|
|
28387
|
+
* @remarks
|
|
28388
|
+
* The ports.
|
|
28389
|
+
*/
|
|
28259
28390
|
proxyPorts?: string[];
|
|
28260
28391
|
/**
|
|
28392
|
+
* @remarks
|
|
28393
|
+
* The type of the protocol. Valid values:
|
|
28394
|
+
*
|
|
28395
|
+
* * **http**
|
|
28396
|
+
* * **https**
|
|
28397
|
+
* * **websocket**
|
|
28398
|
+
* * **websockets**
|
|
28399
|
+
*
|
|
28261
28400
|
* @example
|
|
28262
28401
|
* https
|
|
28263
28402
|
*/
|
|
@@ -28283,11 +28422,20 @@ export class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea.Model {
|
|
|
28283
28422
|
|
|
28284
28423
|
export class DescribeWebRulesResponseBodyWebRulesRealServers extends $tea.Model {
|
|
28285
28424
|
/**
|
|
28425
|
+
* @remarks
|
|
28426
|
+
* The address of the origin server.
|
|
28427
|
+
*
|
|
28286
28428
|
* @example
|
|
28287
28429
|
* 192.0.XX.XX
|
|
28288
28430
|
*/
|
|
28289
28431
|
realServer?: string;
|
|
28290
28432
|
/**
|
|
28433
|
+
* @remarks
|
|
28434
|
+
* The type of the origin server address. Valid values:
|
|
28435
|
+
*
|
|
28436
|
+
* * **0**: IP address
|
|
28437
|
+
* * **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.
|
|
28438
|
+
*
|
|
28291
28439
|
* @example
|
|
28292
28440
|
* 0
|
|
28293
28441
|
*/
|
|
@@ -28312,97 +28460,239 @@ export class DescribeWebRulesResponseBodyWebRulesRealServers extends $tea.Model
|
|
|
28312
28460
|
}
|
|
28313
28461
|
|
|
28314
28462
|
export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
28463
|
+
/**
|
|
28464
|
+
* @remarks
|
|
28465
|
+
* The IP addresses in the blacklist for the domain name.
|
|
28466
|
+
*/
|
|
28315
28467
|
blackList?: string[];
|
|
28316
28468
|
/**
|
|
28469
|
+
* @remarks
|
|
28470
|
+
* Indicates whether the Frequency Control policy is enabled. Valid values:
|
|
28471
|
+
*
|
|
28472
|
+
* * **true**
|
|
28473
|
+
* * **false**
|
|
28474
|
+
*
|
|
28317
28475
|
* @example
|
|
28318
28476
|
* true
|
|
28319
28477
|
*/
|
|
28320
28478
|
ccEnabled?: boolean;
|
|
28321
28479
|
/**
|
|
28480
|
+
* @remarks
|
|
28481
|
+
* Indicates whether the Custom Rule switch of the Frequency Control policy is turned on. Valid values:
|
|
28482
|
+
*
|
|
28483
|
+
* * **true**
|
|
28484
|
+
* * **false**
|
|
28485
|
+
*
|
|
28322
28486
|
* @example
|
|
28323
28487
|
* false
|
|
28324
28488
|
*/
|
|
28325
28489
|
ccRuleEnabled?: boolean;
|
|
28326
28490
|
/**
|
|
28491
|
+
* @remarks
|
|
28492
|
+
* The mode of the Frequency Control policy. Valid values:
|
|
28493
|
+
*
|
|
28494
|
+
* * **default**: the Normal mode
|
|
28495
|
+
* * **gf_under_attack**: the Emergency mode
|
|
28496
|
+
* * **gf_sos_verify**: the Strict mode
|
|
28497
|
+
* * **gf_sos_verify**: the Super Strict mode
|
|
28498
|
+
*
|
|
28327
28499
|
* @example
|
|
28328
28500
|
* default
|
|
28329
28501
|
*/
|
|
28330
28502
|
ccTemplate?: string;
|
|
28331
28503
|
/**
|
|
28504
|
+
* @remarks
|
|
28505
|
+
* The name of the SSL certificate.
|
|
28506
|
+
*
|
|
28332
28507
|
* @example
|
|
28333
28508
|
* testcert
|
|
28334
28509
|
*/
|
|
28335
28510
|
certName?: string;
|
|
28511
|
+
/**
|
|
28512
|
+
* @remarks
|
|
28513
|
+
* The region where the certificate is used. Valid values:
|
|
28514
|
+
*
|
|
28515
|
+
* * cn-hangzhou (default): the Chinese mainland
|
|
28516
|
+
* * ap-southeast-1: outside the Chinese mainland
|
|
28517
|
+
*
|
|
28518
|
+
* @example
|
|
28519
|
+
* cn-hangzhou
|
|
28520
|
+
*/
|
|
28336
28521
|
certRegion?: string;
|
|
28337
28522
|
/**
|
|
28523
|
+
* @remarks
|
|
28524
|
+
* The CNAME provided by the Anti-DDoS Pro or Anti-DDoS Premium instance to which the domain name is added.
|
|
28525
|
+
*
|
|
28338
28526
|
* @example
|
|
28339
28527
|
* kzmk7b8tt351****.aliyunddos1014****
|
|
28340
28528
|
*/
|
|
28341
28529
|
cname?: string;
|
|
28530
|
+
/**
|
|
28531
|
+
* @remarks
|
|
28532
|
+
* The custom cipher suites.
|
|
28533
|
+
*/
|
|
28342
28534
|
customCiphers?: string[];
|
|
28343
28535
|
/**
|
|
28536
|
+
* @remarks
|
|
28537
|
+
* The domain name of the website.
|
|
28538
|
+
*
|
|
28344
28539
|
* @example
|
|
28345
28540
|
* example.com
|
|
28346
28541
|
*/
|
|
28347
28542
|
domain?: string;
|
|
28543
|
+
/**
|
|
28544
|
+
* @remarks
|
|
28545
|
+
* The SM certificate settings.
|
|
28546
|
+
*/
|
|
28348
28547
|
gmCert?: DescribeWebRulesResponseBodyWebRulesGmCert;
|
|
28349
28548
|
/**
|
|
28549
|
+
* @remarks
|
|
28550
|
+
* Indicates whether Enable HTTP/2 is turned on. Valid values:
|
|
28551
|
+
*
|
|
28552
|
+
* * **true**
|
|
28553
|
+
* * **false**
|
|
28554
|
+
*
|
|
28350
28555
|
* @example
|
|
28351
28556
|
* true
|
|
28352
28557
|
*/
|
|
28353
28558
|
http2Enable?: boolean;
|
|
28354
28559
|
/**
|
|
28560
|
+
* @remarks
|
|
28561
|
+
* Indicates whether Enable HTTPS Redirection was turned on. Valid values:
|
|
28562
|
+
*
|
|
28563
|
+
* * **true**
|
|
28564
|
+
* * **false**
|
|
28565
|
+
*
|
|
28355
28566
|
* @example
|
|
28356
28567
|
* true
|
|
28357
28568
|
*/
|
|
28358
28569
|
http2HttpsEnable?: boolean;
|
|
28359
28570
|
/**
|
|
28571
|
+
* @remarks
|
|
28572
|
+
* Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:
|
|
28573
|
+
*
|
|
28574
|
+
* * **true**
|
|
28575
|
+
* * **false**
|
|
28576
|
+
*
|
|
28360
28577
|
* @example
|
|
28361
28578
|
* true
|
|
28362
28579
|
*/
|
|
28363
28580
|
https2HttpEnable?: boolean;
|
|
28364
28581
|
/**
|
|
28582
|
+
* @remarks
|
|
28583
|
+
* Indicates whether the Online Certificate Status Protocol (OCSP) feature is enabled. Valid values:
|
|
28584
|
+
*
|
|
28585
|
+
* * **true**
|
|
28586
|
+
* * **false**
|
|
28587
|
+
*
|
|
28365
28588
|
* @example
|
|
28366
28589
|
* false
|
|
28367
28590
|
*/
|
|
28368
28591
|
ocspEnabled?: boolean;
|
|
28369
28592
|
/**
|
|
28593
|
+
* @remarks
|
|
28594
|
+
* The load balancing algorithm for back-to-origin traffic. Valid values:
|
|
28595
|
+
*
|
|
28596
|
+
* * **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.
|
|
28597
|
+
* * **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.
|
|
28598
|
+
* * **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.
|
|
28599
|
+
*
|
|
28370
28600
|
* @example
|
|
28371
28601
|
* ip_hash
|
|
28372
28602
|
*/
|
|
28373
28603
|
policyMode?: string;
|
|
28374
28604
|
/**
|
|
28605
|
+
* @remarks
|
|
28606
|
+
* Indicates whether the forwarding rule is enabled. Valid values:
|
|
28607
|
+
*
|
|
28608
|
+
* * **true**
|
|
28609
|
+
* * **false**
|
|
28610
|
+
*
|
|
28375
28611
|
* @example
|
|
28376
28612
|
* true
|
|
28377
28613
|
*/
|
|
28378
28614
|
proxyEnabled?: boolean;
|
|
28615
|
+
/**
|
|
28616
|
+
* @remarks
|
|
28617
|
+
* The details of the protocol type and port number.
|
|
28618
|
+
*/
|
|
28379
28619
|
proxyTypes?: DescribeWebRulesResponseBodyWebRulesProxyTypes[];
|
|
28380
28620
|
/**
|
|
28621
|
+
* @remarks
|
|
28622
|
+
* The reason why the domain name is invalid. Valid values:
|
|
28623
|
+
*
|
|
28624
|
+
* * **1**: No Content Provider (ICP) filing is completed for the domain name.
|
|
28625
|
+
* * **2**: The business for which you registered the domain name does not meet regulatory requirements.
|
|
28626
|
+
*
|
|
28627
|
+
* If the two reasons are both involved, the value **2** is returned.
|
|
28628
|
+
*
|
|
28381
28629
|
* @example
|
|
28382
28630
|
* 1
|
|
28383
28631
|
*/
|
|
28384
28632
|
punishReason?: number;
|
|
28385
28633
|
/**
|
|
28634
|
+
* @remarks
|
|
28635
|
+
* Indicates whether the domain name is invalid. Valid values:
|
|
28636
|
+
*
|
|
28637
|
+
* * **true**: You can view the specific reasons from the **PunishReason** parameter.
|
|
28638
|
+
* * **false**
|
|
28639
|
+
*
|
|
28386
28640
|
* @example
|
|
28387
28641
|
* true
|
|
28388
28642
|
*/
|
|
28389
28643
|
punishStatus?: boolean;
|
|
28644
|
+
/**
|
|
28645
|
+
* @remarks
|
|
28646
|
+
* The details of the origin server address.
|
|
28647
|
+
*/
|
|
28390
28648
|
realServers?: DescribeWebRulesResponseBodyWebRulesRealServers[];
|
|
28391
28649
|
/**
|
|
28650
|
+
* @remarks
|
|
28651
|
+
* Indicates whether TLS 1.3 is supported. Valid values:
|
|
28652
|
+
*
|
|
28653
|
+
* * **true**
|
|
28654
|
+
* * **false**
|
|
28655
|
+
*
|
|
28392
28656
|
* @example
|
|
28393
28657
|
* false
|
|
28394
28658
|
*/
|
|
28395
28659
|
ssl13Enabled?: boolean;
|
|
28396
28660
|
/**
|
|
28661
|
+
* @remarks
|
|
28662
|
+
* The type of the cipher suite. Valid values:
|
|
28663
|
+
*
|
|
28664
|
+
* * **default**: custom cipher suites
|
|
28665
|
+
* * **all**: all cipher suites, which contain strong and weak cipher suites
|
|
28666
|
+
* * **strong**: strong cipher suites
|
|
28667
|
+
*
|
|
28397
28668
|
* @example
|
|
28398
28669
|
* default
|
|
28399
28670
|
*/
|
|
28400
28671
|
sslCiphers?: string;
|
|
28401
28672
|
/**
|
|
28673
|
+
* @remarks
|
|
28674
|
+
* The version of the Transport Layer Security (TLS) protocol. Valid values:
|
|
28675
|
+
*
|
|
28676
|
+
* * **tls1.0**: TLS 1.0 or later
|
|
28677
|
+
* * **tls1.1**: TLS 1.1 or later
|
|
28678
|
+
* * **tls1.2**: TLS 1.2 or later
|
|
28679
|
+
*
|
|
28402
28680
|
* @example
|
|
28403
28681
|
* tls1.1
|
|
28404
28682
|
*/
|
|
28405
28683
|
sslProtocols?: string;
|
|
28684
|
+
/**
|
|
28685
|
+
* @remarks
|
|
28686
|
+
* The name of the certificate uploaded by the user to the certificate center.
|
|
28687
|
+
*
|
|
28688
|
+
* @example
|
|
28689
|
+
* test
|
|
28690
|
+
*/
|
|
28691
|
+
userCertName?: string;
|
|
28692
|
+
/**
|
|
28693
|
+
* @remarks
|
|
28694
|
+
* The IP addresses in the whitelist for the domain name.
|
|
28695
|
+
*/
|
|
28406
28696
|
whiteList?: string[];
|
|
28407
28697
|
static names(): { [key: string]: string } {
|
|
28408
28698
|
return {
|
|
@@ -28429,6 +28719,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
28429
28719
|
ssl13Enabled: 'Ssl13Enabled',
|
|
28430
28720
|
sslCiphers: 'SslCiphers',
|
|
28431
28721
|
sslProtocols: 'SslProtocols',
|
|
28722
|
+
userCertName: 'UserCertName',
|
|
28432
28723
|
whiteList: 'WhiteList',
|
|
28433
28724
|
};
|
|
28434
28725
|
}
|
|
@@ -28458,6 +28749,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
28458
28749
|
ssl13Enabled: 'boolean',
|
|
28459
28750
|
sslCiphers: 'string',
|
|
28460
28751
|
sslProtocols: 'string',
|
|
28752
|
+
userCertName: 'string',
|
|
28461
28753
|
whiteList: { 'type': 'array', 'itemType': 'string' },
|
|
28462
28754
|
};
|
|
28463
28755
|
}
|
|
@@ -28647,11 +28939,6 @@ export default class Client extends OpenApi {
|
|
|
28647
28939
|
*/
|
|
28648
28940
|
async associateWebCertWithOptions(request: AssociateWebCertRequest, runtime: $Util.RuntimeOptions): Promise<AssociateWebCertResponse> {
|
|
28649
28941
|
Util.validateModel(request);
|
|
28650
|
-
let query = { };
|
|
28651
|
-
if (!Util.isUnset(request.resourceGroupId)) {
|
|
28652
|
-
query["ResourceGroupId"] = request.resourceGroupId;
|
|
28653
|
-
}
|
|
28654
|
-
|
|
28655
28942
|
let body : {[key: string ]: any} = { };
|
|
28656
28943
|
if (!Util.isUnset(request.cert)) {
|
|
28657
28944
|
body["Cert"] = request.cert;
|
|
@@ -28682,7 +28969,6 @@ export default class Client extends OpenApi {
|
|
|
28682
28969
|
}
|
|
28683
28970
|
|
|
28684
28971
|
let req = new $OpenApi.OpenApiRequest({
|
|
28685
|
-
query: OpenApiUtil.query(query),
|
|
28686
28972
|
body: OpenApiUtil.parseToMap(body),
|
|
28687
28973
|
});
|
|
28688
28974
|
let params = new $OpenApi.Params({
|
|
@@ -29577,6 +29863,10 @@ export default class Client extends OpenApi {
|
|
|
29577
29863
|
query["InstanceId"] = request.instanceId;
|
|
29578
29864
|
}
|
|
29579
29865
|
|
|
29866
|
+
if (!Util.isUnset(request.proxyEnable)) {
|
|
29867
|
+
query["ProxyEnable"] = request.proxyEnable;
|
|
29868
|
+
}
|
|
29869
|
+
|
|
29580
29870
|
if (!Util.isUnset(request.realServers)) {
|
|
29581
29871
|
query["RealServers"] = request.realServers;
|
|
29582
29872
|
}
|
|
@@ -30391,7 +30681,7 @@ export default class Client extends OpenApi {
|
|
|
30391
30681
|
}
|
|
30392
30682
|
|
|
30393
30683
|
/**
|
|
30394
|
-
* Deletes custom frequency control
|
|
30684
|
+
* Deletes a custom frequency control rule of a website.
|
|
30395
30685
|
*
|
|
30396
30686
|
* @deprecated OpenAPI DeleteWebCCRule is deprecated, please use ddoscoo::2020-01-01::DeleteWebCCRuleV2 instead.
|
|
30397
30687
|
*
|
|
@@ -30433,7 +30723,7 @@ export default class Client extends OpenApi {
|
|
|
30433
30723
|
}
|
|
30434
30724
|
|
|
30435
30725
|
/**
|
|
30436
|
-
* Deletes custom frequency control
|
|
30726
|
+
* Deletes a custom frequency control rule of a website.
|
|
30437
30727
|
*
|
|
30438
30728
|
* @deprecated OpenAPI DeleteWebCCRule is deprecated, please use ddoscoo::2020-01-01::DeleteWebCCRuleV2 instead.
|
|
30439
30729
|
*
|
|
@@ -30913,7 +31203,7 @@ export default class Client extends OpenApi {
|
|
|
30913
31203
|
}
|
|
30914
31204
|
|
|
30915
31205
|
/**
|
|
30916
|
-
* Queries the back-to-origin CIDR blocks of Anti-DDoS
|
|
31206
|
+
* Queries the back-to-origin CIDR blocks of Anti-DDoS Proxy.
|
|
30917
31207
|
*
|
|
30918
31208
|
* @param request - DescribeBackSourceCidrRequest
|
|
30919
31209
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30952,7 +31242,7 @@ export default class Client extends OpenApi {
|
|
|
30952
31242
|
}
|
|
30953
31243
|
|
|
30954
31244
|
/**
|
|
30955
|
-
* Queries the back-to-origin CIDR blocks of Anti-DDoS
|
|
31245
|
+
* Queries the back-to-origin CIDR blocks of Anti-DDoS Proxy.
|
|
30956
31246
|
*
|
|
30957
31247
|
* @param request - DescribeBackSourceCidrRequest
|
|
30958
31248
|
* @returns DescribeBackSourceCidrResponse
|
|
@@ -35621,9 +35911,13 @@ export default class Client extends OpenApi {
|
|
|
35621
35911
|
}
|
|
35622
35912
|
|
|
35623
35913
|
/**
|
|
35624
|
-
*
|
|
35625
|
-
*
|
|
35626
|
-
*
|
|
35914
|
+
* Query Configuration of Website Business Forwarding Rules.
|
|
35915
|
+
*
|
|
35916
|
+
* @remarks
|
|
35917
|
+
* 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.
|
|
35918
|
+
* Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
|
|
35919
|
+
* ### QPS Limit
|
|
35920
|
+
* 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.
|
|
35627
35921
|
*
|
|
35628
35922
|
* @param request - DescribeWebRulesRequest
|
|
35629
35923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35678,9 +35972,13 @@ export default class Client extends OpenApi {
|
|
|
35678
35972
|
}
|
|
35679
35973
|
|
|
35680
35974
|
/**
|
|
35681
|
-
*
|
|
35682
|
-
*
|
|
35683
|
-
*
|
|
35975
|
+
* Query Configuration of Website Business Forwarding Rules.
|
|
35976
|
+
*
|
|
35977
|
+
* @remarks
|
|
35978
|
+
* 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.
|
|
35979
|
+
* Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
|
|
35980
|
+
* ### QPS Limit
|
|
35981
|
+
* 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.
|
|
35684
35982
|
*
|
|
35685
35983
|
* @param request - DescribeWebRulesRequest
|
|
35686
35984
|
* @returns DescribeWebRulesResponse
|
|
@@ -35829,7 +36127,7 @@ export default class Client extends OpenApi {
|
|
|
35829
36127
|
}
|
|
35830
36128
|
|
|
35831
36129
|
/**
|
|
35832
|
-
* Disables
|
|
36130
|
+
* Disables frequency control for a website.
|
|
35833
36131
|
*
|
|
35834
36132
|
* @param request - DisableWebCCRequest
|
|
35835
36133
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35864,7 +36162,7 @@ export default class Client extends OpenApi {
|
|
|
35864
36162
|
}
|
|
35865
36163
|
|
|
35866
36164
|
/**
|
|
35867
|
-
* Disables
|
|
36165
|
+
* Disables frequency control for a website.
|
|
35868
36166
|
*
|
|
35869
36167
|
* @param request - DisableWebCCRequest
|
|
35870
36168
|
* @returns DisableWebCCResponse
|
|
@@ -35875,7 +36173,7 @@ export default class Client extends OpenApi {
|
|
|
35875
36173
|
}
|
|
35876
36174
|
|
|
35877
36175
|
/**
|
|
35878
|
-
*
|
|
36176
|
+
* Disables custom frequency control rules for a website.
|
|
35879
36177
|
*
|
|
35880
36178
|
* @param request - DisableWebCCRuleRequest
|
|
35881
36179
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35910,7 +36208,7 @@ export default class Client extends OpenApi {
|
|
|
35910
36208
|
}
|
|
35911
36209
|
|
|
35912
36210
|
/**
|
|
35913
|
-
*
|
|
36211
|
+
* Disables custom frequency control rules for a website.
|
|
35914
36212
|
*
|
|
35915
36213
|
* @param request - DisableWebCCRuleRequest
|
|
35916
36214
|
* @returns DisableWebCCRuleResponse
|
|
@@ -36181,7 +36479,7 @@ export default class Client extends OpenApi {
|
|
|
36181
36479
|
}
|
|
36182
36480
|
|
|
36183
36481
|
/**
|
|
36184
|
-
*
|
|
36482
|
+
* Enables custom frequency control rules for a website.
|
|
36185
36483
|
*
|
|
36186
36484
|
* @param request - EnableWebCCRuleRequest
|
|
36187
36485
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -36216,7 +36514,7 @@ export default class Client extends OpenApi {
|
|
|
36216
36514
|
}
|
|
36217
36515
|
|
|
36218
36516
|
/**
|
|
36219
|
-
*
|
|
36517
|
+
* Enables custom frequency control rules for a website.
|
|
36220
36518
|
*
|
|
36221
36519
|
* @param request - EnableWebCCRuleRequest
|
|
36222
36520
|
* @returns EnableWebCCRuleResponse
|
|
@@ -36923,7 +37221,7 @@ export default class Client extends OpenApi {
|
|
|
36923
37221
|
}
|
|
36924
37222
|
|
|
36925
37223
|
/**
|
|
36926
|
-
* Modifies the session persistence settings of a port forwarding rule.
|
|
37224
|
+
* Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
|
|
36927
37225
|
*
|
|
36928
37226
|
* @param request - ModifyNetworkRuleAttributeRequest
|
|
36929
37227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -36966,7 +37264,7 @@ export default class Client extends OpenApi {
|
|
|
36966
37264
|
}
|
|
36967
37265
|
|
|
36968
37266
|
/**
|
|
36969
|
-
* Modifies the session persistence settings of a port forwarding rule.
|
|
37267
|
+
* Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
|
|
36970
37268
|
*
|
|
36971
37269
|
* @param request - ModifyNetworkRuleAttributeRequest
|
|
36972
37270
|
* @returns ModifyNetworkRuleAttributeResponse
|
|
@@ -37057,6 +37355,10 @@ export default class Client extends OpenApi {
|
|
|
37057
37355
|
query["InstanceId"] = request.instanceId;
|
|
37058
37356
|
}
|
|
37059
37357
|
|
|
37358
|
+
if (!Util.isUnset(request.proxyEnable)) {
|
|
37359
|
+
query["ProxyEnable"] = request.proxyEnable;
|
|
37360
|
+
}
|
|
37361
|
+
|
|
37060
37362
|
if (!Util.isUnset(request.realServers)) {
|
|
37061
37363
|
query["RealServers"] = request.realServers;
|
|
37062
37364
|
}
|
|
@@ -37355,7 +37657,7 @@ export default class Client extends OpenApi {
|
|
|
37355
37657
|
}
|
|
37356
37658
|
|
|
37357
37659
|
/**
|
|
37358
|
-
* Changes the mode of the
|
|
37660
|
+
* Changes the mode of the intelligent protection feature for a website.
|
|
37359
37661
|
*
|
|
37360
37662
|
* @param request - ModifyWebAIProtectModeRequest
|
|
37361
37663
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37394,7 +37696,7 @@ export default class Client extends OpenApi {
|
|
|
37394
37696
|
}
|
|
37395
37697
|
|
|
37396
37698
|
/**
|
|
37397
|
-
* Changes the mode of the
|
|
37699
|
+
* Changes the mode of the intelligent protection feature for a website.
|
|
37398
37700
|
*
|
|
37399
37701
|
* @param request - ModifyWebAIProtectModeRequest
|
|
37400
37702
|
* @returns ModifyWebAIProtectModeResponse
|
|
@@ -37947,7 +38249,7 @@ export default class Client extends OpenApi {
|
|
|
37947
38249
|
}
|
|
37948
38250
|
|
|
37949
38251
|
/**
|
|
37950
|
-
*
|
|
38252
|
+
* Creates or modifies an accurate access control rule of a website.
|
|
37951
38253
|
*
|
|
37952
38254
|
* @param request - ModifyWebPreciseAccessRuleRequest
|
|
37953
38255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37990,7 +38292,7 @@ export default class Client extends OpenApi {
|
|
|
37990
38292
|
}
|
|
37991
38293
|
|
|
37992
38294
|
/**
|
|
37993
|
-
*
|
|
38295
|
+
* Creates or modifies an accurate access control rule of a website.
|
|
37994
38296
|
*
|
|
37995
38297
|
* @param request - ModifyWebPreciseAccessRuleRequest
|
|
37996
38298
|
* @returns ModifyWebPreciseAccessRuleResponse
|
|
@@ -38001,7 +38303,7 @@ export default class Client extends OpenApi {
|
|
|
38001
38303
|
}
|
|
38002
38304
|
|
|
38003
38305
|
/**
|
|
38004
|
-
* Enables or disables
|
|
38306
|
+
* Enables or disables accurate access control for a website.
|
|
38005
38307
|
*
|
|
38006
38308
|
* @param request - ModifyWebPreciseAccessSwitchRequest
|
|
38007
38309
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38040,7 +38342,7 @@ export default class Client extends OpenApi {
|
|
|
38040
38342
|
}
|
|
38041
38343
|
|
|
38042
38344
|
/**
|
|
38043
|
-
* Enables or disables
|
|
38345
|
+
* Enables or disables accurate access control for a website.
|
|
38044
38346
|
*
|
|
38045
38347
|
* @param request - ModifyWebPreciseAccessSwitchRequest
|
|
38046
38348
|
* @returns ModifyWebPreciseAccessSwitchResponse
|