@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.js
CHANGED
|
@@ -170,7 +170,6 @@ class AssociateWebCertRequest extends $tea.Model {
|
|
|
170
170
|
certRegion: 'CertRegion',
|
|
171
171
|
domain: 'Domain',
|
|
172
172
|
key: 'Key',
|
|
173
|
-
resourceGroupId: 'ResourceGroupId',
|
|
174
173
|
};
|
|
175
174
|
}
|
|
176
175
|
static types() {
|
|
@@ -182,7 +181,6 @@ class AssociateWebCertRequest extends $tea.Model {
|
|
|
182
181
|
certRegion: 'string',
|
|
183
182
|
domain: 'string',
|
|
184
183
|
key: 'string',
|
|
185
|
-
resourceGroupId: 'string',
|
|
186
184
|
};
|
|
187
185
|
}
|
|
188
186
|
constructor(map) {
|
|
@@ -5098,6 +5096,7 @@ class DescribeL7RsPolicyResponseBody extends $tea.Model {
|
|
|
5098
5096
|
attributes: 'Attributes',
|
|
5099
5097
|
proxyMode: 'ProxyMode',
|
|
5100
5098
|
requestId: 'RequestId',
|
|
5099
|
+
rsAttrRwTimeoutMax: 'RsAttrRwTimeoutMax',
|
|
5101
5100
|
upstreamRetry: 'UpstreamRetry',
|
|
5102
5101
|
};
|
|
5103
5102
|
}
|
|
@@ -5106,6 +5105,7 @@ class DescribeL7RsPolicyResponseBody extends $tea.Model {
|
|
|
5106
5105
|
attributes: { 'type': 'array', 'itemType': DescribeL7RsPolicyResponseBodyAttributes },
|
|
5107
5106
|
proxyMode: 'string',
|
|
5108
5107
|
requestId: 'string',
|
|
5108
|
+
rsAttrRwTimeoutMax: 'number',
|
|
5109
5109
|
upstreamRetry: 'number',
|
|
5110
5110
|
};
|
|
5111
5111
|
}
|
|
@@ -13244,6 +13244,7 @@ class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
13244
13244
|
ssl13Enabled: 'Ssl13Enabled',
|
|
13245
13245
|
sslCiphers: 'SslCiphers',
|
|
13246
13246
|
sslProtocols: 'SslProtocols',
|
|
13247
|
+
userCertName: 'UserCertName',
|
|
13247
13248
|
whiteList: 'WhiteList',
|
|
13248
13249
|
};
|
|
13249
13250
|
}
|
|
@@ -13272,6 +13273,7 @@ class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
13272
13273
|
ssl13Enabled: 'boolean',
|
|
13273
13274
|
sslCiphers: 'string',
|
|
13274
13275
|
sslProtocols: 'string',
|
|
13276
|
+
userCertName: 'string',
|
|
13275
13277
|
whiteList: { 'type': 'array', 'itemType': 'string' },
|
|
13276
13278
|
};
|
|
13277
13279
|
}
|
|
@@ -13421,10 +13423,6 @@ class Client extends openapi_client_1.default {
|
|
|
13421
13423
|
*/
|
|
13422
13424
|
async associateWebCertWithOptions(request, runtime) {
|
|
13423
13425
|
tea_util_1.default.validateModel(request);
|
|
13424
|
-
let query = {};
|
|
13425
|
-
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
13426
|
-
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13427
|
-
}
|
|
13428
13426
|
let body = {};
|
|
13429
13427
|
if (!tea_util_1.default.isUnset(request.cert)) {
|
|
13430
13428
|
body["Cert"] = request.cert;
|
|
@@ -13448,7 +13446,6 @@ class Client extends openapi_client_1.default {
|
|
|
13448
13446
|
body["Key"] = request.key;
|
|
13449
13447
|
}
|
|
13450
13448
|
let req = new $OpenApi.OpenApiRequest({
|
|
13451
|
-
query: openapi_util_1.default.query(query),
|
|
13452
13449
|
body: openapi_util_1.default.parseToMap(body),
|
|
13453
13450
|
});
|
|
13454
13451
|
let params = new $OpenApi.Params({
|
|
@@ -19715,9 +19712,13 @@ class Client extends openapi_client_1.default {
|
|
|
19715
19712
|
return await this.describeWebReportTopIpWithOptions(request, runtime);
|
|
19716
19713
|
}
|
|
19717
19714
|
/**
|
|
19718
|
-
*
|
|
19719
|
-
*
|
|
19720
|
-
*
|
|
19715
|
+
* Query Configuration of Website Business Forwarding Rules.
|
|
19716
|
+
*
|
|
19717
|
+
* @remarks
|
|
19718
|
+
* 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.
|
|
19719
|
+
* Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
|
|
19720
|
+
* ### QPS Limit
|
|
19721
|
+
* 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.
|
|
19721
19722
|
*
|
|
19722
19723
|
* @param request - DescribeWebRulesRequest
|
|
19723
19724
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19764,9 +19765,13 @@ class Client extends openapi_client_1.default {
|
|
|
19764
19765
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebRulesResponse({}));
|
|
19765
19766
|
}
|
|
19766
19767
|
/**
|
|
19767
|
-
*
|
|
19768
|
-
*
|
|
19769
|
-
*
|
|
19768
|
+
* Query Configuration of Website Business Forwarding Rules.
|
|
19769
|
+
*
|
|
19770
|
+
* @remarks
|
|
19771
|
+
* 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.
|
|
19772
|
+
* Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
|
|
19773
|
+
* ### QPS Limit
|
|
19774
|
+
* 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.
|
|
19770
19775
|
*
|
|
19771
19776
|
* @param request - DescribeWebRulesRequest
|
|
19772
19777
|
* @returns DescribeWebRulesResponse
|
|
@@ -20898,7 +20903,7 @@ class Client extends openapi_client_1.default {
|
|
|
20898
20903
|
return await this.modifyInstanceRemarkWithOptions(request, runtime);
|
|
20899
20904
|
}
|
|
20900
20905
|
/**
|
|
20901
|
-
* Modifies the session persistence settings of a port forwarding rule.
|
|
20906
|
+
* Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
|
|
20902
20907
|
*
|
|
20903
20908
|
* @param request - ModifyNetworkRuleAttributeRequest
|
|
20904
20909
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20936,7 +20941,7 @@ class Client extends openapi_client_1.default {
|
|
|
20936
20941
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNetworkRuleAttributeResponse({}));
|
|
20937
20942
|
}
|
|
20938
20943
|
/**
|
|
20939
|
-
* Modifies the session persistence settings of a port forwarding rule.
|
|
20944
|
+
* Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
|
|
20940
20945
|
*
|
|
20941
20946
|
* @param request - ModifyNetworkRuleAttributeRequest
|
|
20942
20947
|
* @returns ModifyNetworkRuleAttributeResponse
|
|
@@ -21821,7 +21826,7 @@ class Client extends openapi_client_1.default {
|
|
|
21821
21826
|
return await this.modifyWebIpSetSwitchWithOptions(request, runtime);
|
|
21822
21827
|
}
|
|
21823
21828
|
/**
|
|
21824
|
-
*
|
|
21829
|
+
* Creates or modifies an accurate access control rule of a website.
|
|
21825
21830
|
*
|
|
21826
21831
|
* @param request - ModifyWebPreciseAccessRuleRequest
|
|
21827
21832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21859,7 +21864,7 @@ class Client extends openapi_client_1.default {
|
|
|
21859
21864
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyWebPreciseAccessRuleResponse({}));
|
|
21860
21865
|
}
|
|
21861
21866
|
/**
|
|
21862
|
-
*
|
|
21867
|
+
* Creates or modifies an accurate access control rule of a website.
|
|
21863
21868
|
*
|
|
21864
21869
|
* @param request - ModifyWebPreciseAccessRuleRequest
|
|
21865
21870
|
* @returns ModifyWebPreciseAccessRuleResponse
|