@alicloud/esa20240910 2.38.0 → 2.40.0
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 +108 -32
- package/dist/client.js +279 -32
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.d.ts +8 -0
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.d.ts +4 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.js.map +1 -1
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.d.ts +6 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js.map +1 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.d.ts +10 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js.map +1 -1
- package/dist/models/DeleteUserWafRulesetRequest.d.ts +4 -0
- package/dist/models/DeleteUserWafRulesetRequest.js.map +1 -1
- package/dist/models/DeleteUserWafRulesetResponseBody.d.ts +3 -0
- package/dist/models/DeleteUserWafRulesetResponseBody.js.map +1 -1
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.d.ts +21 -0
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.js +58 -0
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.js.map +1 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.d.ts +19 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.js +69 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.js.map +1 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.d.ts +31 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js +62 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.d.ts +34 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.js +62 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.d.ts +89 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js +102 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.d.ts +39 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js +64 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.d.ts +84 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js +100 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.d.ts +39 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js +64 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.d.ts +94 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js +104 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js.map +1 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.d.ts +2 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.js.map +1 -1
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.d.ts +60 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.js.map +1 -1
- package/dist/models/GetKvDetailRequest.d.ts +33 -0
- package/dist/models/GetKvDetailRequest.js +60 -0
- package/dist/models/GetKvDetailRequest.js.map +1 -0
- package/dist/models/GetKvDetailResponse.d.ts +19 -0
- package/dist/models/GetKvDetailResponse.js +69 -0
- package/dist/models/GetKvDetailResponse.js.map +1 -0
- package/dist/models/GetKvDetailResponseBody.d.ts +37 -0
- package/dist/models/GetKvDetailResponseBody.js +62 -0
- package/dist/models/GetKvDetailResponseBody.js.map +1 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.d.ts +2 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.js.map +1 -1
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.d.ts +16 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.js.map +1 -1
- package/dist/models/SetDdosMaxBurstGbpsRequest.d.ts +29 -0
- package/dist/models/SetDdosMaxBurstGbpsRequest.js +60 -0
- package/dist/models/SetDdosMaxBurstGbpsRequest.js.map +1 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.d.ts +19 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.js +69 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.js.map +1 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.d.ts +18 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.js +58 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.d.ts +13 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.js.map +1 -1
- package/dist/models/SetHttpDdoSattackRuleActionResponseBody.d.ts +1 -1
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.d.ts +10 -0
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.js.map +1 -1
- package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +72 -29
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +306 -32
- package/src/models/CreateEdgeContainerAppImageSecretRequest.ts +8 -0
- package/src/models/CreateEdgeContainerAppImageSecretResponseBody.ts +3 -0
- package/src/models/DeleteEdgeContainerAppImageSecretRequest.ts +4 -0
- package/src/models/DeleteEdgeContainerAppImageSecretResponseBody.ts +3 -0
- package/src/models/DeleteHttpDdoSintelligentRuleRequest.ts +6 -0
- package/src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts +10 -1
- package/src/models/DeleteUserWafRulesetRequest.ts +4 -0
- package/src/models/DeleteUserWafRulesetResponseBody.ts +3 -0
- package/src/models/DescribeDdosMaxBurstGbpsRequest.ts +34 -0
- package/src/models/DescribeDdosMaxBurstGbpsResponse.ts +40 -0
- package/src/models/DescribeDdosMaxBurstGbpsResponseBody.ts +48 -0
- package/src/models/DescribeHttpDdoSattackRulesRequest.ts +51 -0
- package/src/models/DescribeHttpDdoSattackRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSattackRulesResponseBody.ts +137 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesRequest.ts +58 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesResponseBody.ts +130 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.ts +58 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.ts +144 -0
- package/src/models/GetEdgeContainerAppResourceCapacityRequest.ts +2 -0
- package/src/models/GetEdgeContainerAppResourceCapacityResponseBody.ts +60 -0
- package/src/models/GetKvDetailRequest.ts +48 -0
- package/src/models/GetKvDetailResponse.ts +40 -0
- package/src/models/GetKvDetailResponseBody.ts +54 -0
- package/src/models/ListEdgeContainerAppImageSecretsRequest.ts +2 -0
- package/src/models/ListEdgeContainerAppImageSecretsResponseBody.ts +16 -0
- package/src/models/SetDdosMaxBurstGbpsRequest.ts +44 -0
- package/src/models/SetDdosMaxBurstGbpsResponse.ts +40 -0
- package/src/models/SetDdosMaxBurstGbpsResponseBody.ts +31 -0
- package/src/models/SetHttpDdoSattackRuleActionRequest.ts +13 -0
- package/src/models/SetHttpDdoSattackRuleActionResponseBody.ts +1 -1
- package/src/models/SetHttpDdoSattackRuleStatusRequest.ts +10 -0
- package/src/models/SetHttpDdoSattackRuleStatusResponseBody.ts +1 -1
- package/src/models/model.ts +21 -0
package/dist/client.js
CHANGED
|
@@ -1605,7 +1605,7 @@ class Client extends openapi_core_1.default {
|
|
|
1605
1605
|
return await this.createEdgeContainerAppWithOptions(request, runtime);
|
|
1606
1606
|
}
|
|
1607
1607
|
/**
|
|
1608
|
-
*
|
|
1608
|
+
* Create an image secret for the edge container application
|
|
1609
1609
|
*
|
|
1610
1610
|
* @param request - CreateEdgeContainerAppImageSecretRequest
|
|
1611
1611
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1643,7 +1643,7 @@ class Client extends openapi_core_1.default {
|
|
|
1643
1643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateEdgeContainerAppImageSecretResponse({}));
|
|
1644
1644
|
}
|
|
1645
1645
|
/**
|
|
1646
|
-
*
|
|
1646
|
+
* Create an image secret for the edge container application
|
|
1647
1647
|
*
|
|
1648
1648
|
* @param request - CreateEdgeContainerAppImageSecretRequest
|
|
1649
1649
|
* @returns CreateEdgeContainerAppImageSecretResponse
|
|
@@ -4624,7 +4624,7 @@ class Client extends openapi_core_1.default {
|
|
|
4624
4624
|
return await this.deleteEdgeContainerAppWithOptions(request, runtime);
|
|
4625
4625
|
}
|
|
4626
4626
|
/**
|
|
4627
|
-
*
|
|
4627
|
+
* Delete the image secret of an edge container application
|
|
4628
4628
|
*
|
|
4629
4629
|
* @param request - DeleteEdgeContainerAppImageSecretRequest
|
|
4630
4630
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4656,7 +4656,7 @@ class Client extends openapi_core_1.default {
|
|
|
4656
4656
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteEdgeContainerAppImageSecretResponse({}));
|
|
4657
4657
|
}
|
|
4658
4658
|
/**
|
|
4659
|
-
*
|
|
4659
|
+
* Delete the image secret of an edge container application
|
|
4660
4660
|
*
|
|
4661
4661
|
* @param request - DeleteEdgeContainerAppImageSecretRequest
|
|
4662
4662
|
* @returns DeleteEdgeContainerAppImageSecretResponse
|
|
@@ -4753,7 +4753,7 @@ class Client extends openapi_core_1.default {
|
|
|
4753
4753
|
return await this.deleteEdgeContainerAppVersionWithOptions(request, runtime);
|
|
4754
4754
|
}
|
|
4755
4755
|
/**
|
|
4756
|
-
*
|
|
4756
|
+
* Delete rules for deep learning and protection distribution
|
|
4757
4757
|
*
|
|
4758
4758
|
* @param request - DeleteHttpDDoSIntelligentRuleRequest
|
|
4759
4759
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4788,7 +4788,7 @@ class Client extends openapi_core_1.default {
|
|
|
4788
4788
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpDDoSIntelligentRuleResponse({}));
|
|
4789
4789
|
}
|
|
4790
4790
|
/**
|
|
4791
|
-
*
|
|
4791
|
+
* Delete rules for deep learning and protection distribution
|
|
4792
4792
|
*
|
|
4793
4793
|
* @param request - DeleteHttpDDoSIntelligentRuleRequest
|
|
4794
4794
|
* @returns DeleteHttpDDoSIntelligentRuleResponse
|
|
@@ -6165,18 +6165,11 @@ class Client extends openapi_core_1.default {
|
|
|
6165
6165
|
return await this.deleteUserDeliveryTaskWithOptions(request, runtime);
|
|
6166
6166
|
}
|
|
6167
6167
|
/**
|
|
6168
|
-
*
|
|
6168
|
+
* Used for deleting an instance-level Web Application Firewall (WAF) ruleset.
|
|
6169
6169
|
*
|
|
6170
6170
|
* @remarks
|
|
6171
|
-
* ##
|
|
6172
|
-
* -
|
|
6173
|
-
* - `InstanceId` 是必需参数,指定了要为其创建规则集的具体实例。
|
|
6174
|
-
* - `Phase` 参数定义了规则集的应用阶段,例如自定义规则、频次控制等。
|
|
6175
|
-
* - `Name` 和 `Expression` 是必填项,分别代表规则集的名字和具体的匹配表达式。
|
|
6176
|
-
* - 可选参数 `Description` 提供了对规则集功能或用途的文字描述。
|
|
6177
|
-
* - `Status` 控制着规则集是否立即生效 (`on`) 或者处于关闭状态 (`off`)。
|
|
6178
|
-
* - 通过 `Rules` 参数可以进一步配置更详细的规则列表,每个规则都包含名称、位置、表达式及动作等属性。
|
|
6179
|
-
* - 成功响应将返回新创建规则集的唯一标识符 `Id` 以及所有关联规则的ID列表 `RuleIds`。
|
|
6171
|
+
* ## Request Description
|
|
6172
|
+
* - `InstanceId` and `Id` are required parameters, specifying the WAF instance ID to be operated on and the specific ruleset ID, respectively.
|
|
6180
6173
|
*
|
|
6181
6174
|
* @param request - DeleteUserWafRulesetRequest
|
|
6182
6175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6210,18 +6203,11 @@ class Client extends openapi_core_1.default {
|
|
|
6210
6203
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserWafRulesetResponse({}));
|
|
6211
6204
|
}
|
|
6212
6205
|
/**
|
|
6213
|
-
*
|
|
6206
|
+
* Used for deleting an instance-level Web Application Firewall (WAF) ruleset.
|
|
6214
6207
|
*
|
|
6215
6208
|
* @remarks
|
|
6216
|
-
* ##
|
|
6217
|
-
* -
|
|
6218
|
-
* - `InstanceId` 是必需参数,指定了要为其创建规则集的具体实例。
|
|
6219
|
-
* - `Phase` 参数定义了规则集的应用阶段,例如自定义规则、频次控制等。
|
|
6220
|
-
* - `Name` 和 `Expression` 是必填项,分别代表规则集的名字和具体的匹配表达式。
|
|
6221
|
-
* - 可选参数 `Description` 提供了对规则集功能或用途的文字描述。
|
|
6222
|
-
* - `Status` 控制着规则集是否立即生效 (`on`) 或者处于关闭状态 (`off`)。
|
|
6223
|
-
* - 通过 `Rules` 参数可以进一步配置更详细的规则列表,每个规则都包含名称、位置、表达式及动作等属性。
|
|
6224
|
-
* - 成功响应将返回新创建规则集的唯一标识符 `Id` 以及所有关联规则的ID列表 `RuleIds`。
|
|
6209
|
+
* ## Request Description
|
|
6210
|
+
* - `InstanceId` and `Id` are required parameters, specifying the WAF instance ID to be operated on and the specific ruleset ID, respectively.
|
|
6225
6211
|
*
|
|
6226
6212
|
* @param request - DeleteUserWafRulesetRequest
|
|
6227
6213
|
* @returns DeleteUserWafRulesetResponse
|
|
@@ -6678,6 +6664,42 @@ class Client extends openapi_core_1.default {
|
|
|
6678
6664
|
let runtime = new $dara.RuntimeOptions({});
|
|
6679
6665
|
return await this.describeDDoSL7QpsListWithOptions(request, runtime);
|
|
6680
6666
|
}
|
|
6667
|
+
/**
|
|
6668
|
+
* 查询当前实例设置的Ddos最大防护弹性值
|
|
6669
|
+
*
|
|
6670
|
+
* @param request - DescribeDdosMaxBurstGbpsRequest
|
|
6671
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6672
|
+
* @returns DescribeDdosMaxBurstGbpsResponse
|
|
6673
|
+
*/
|
|
6674
|
+
async describeDdosMaxBurstGbpsWithOptions(request, runtime) {
|
|
6675
|
+
request.validate();
|
|
6676
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
6677
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6678
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6679
|
+
});
|
|
6680
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6681
|
+
action: "DescribeDdosMaxBurstGbps",
|
|
6682
|
+
version: "2024-09-10",
|
|
6683
|
+
protocol: "HTTPS",
|
|
6684
|
+
pathname: "/",
|
|
6685
|
+
method: "GET",
|
|
6686
|
+
authType: "AK",
|
|
6687
|
+
style: "RPC",
|
|
6688
|
+
reqBodyType: "formData",
|
|
6689
|
+
bodyType: "json",
|
|
6690
|
+
});
|
|
6691
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDdosMaxBurstGbpsResponse({}));
|
|
6692
|
+
}
|
|
6693
|
+
/**
|
|
6694
|
+
* 查询当前实例设置的Ddos最大防护弹性值
|
|
6695
|
+
*
|
|
6696
|
+
* @param request - DescribeDdosMaxBurstGbpsRequest
|
|
6697
|
+
* @returns DescribeDdosMaxBurstGbpsResponse
|
|
6698
|
+
*/
|
|
6699
|
+
async describeDdosMaxBurstGbps(request) {
|
|
6700
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6701
|
+
return await this.describeDdosMaxBurstGbpsWithOptions(request, runtime);
|
|
6702
|
+
}
|
|
6681
6703
|
/**
|
|
6682
6704
|
* Provides monitoring data for metrics of ESA edge containers.
|
|
6683
6705
|
*
|
|
@@ -6792,6 +6814,147 @@ class Client extends openapi_core_1.default {
|
|
|
6792
6814
|
let runtime = new $dara.RuntimeOptions({});
|
|
6793
6815
|
return await this.describeHttpDDoSAttackProtectionWithOptions(request, runtime);
|
|
6794
6816
|
}
|
|
6817
|
+
/**
|
|
6818
|
+
* 查询HTTP DDoS攻击防护规则
|
|
6819
|
+
*
|
|
6820
|
+
* @param request - DescribeHttpDDoSAttackRulesRequest
|
|
6821
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6822
|
+
* @returns DescribeHttpDDoSAttackRulesResponse
|
|
6823
|
+
*/
|
|
6824
|
+
async describeHttpDDoSAttackRulesWithOptions(request, runtime) {
|
|
6825
|
+
request.validate();
|
|
6826
|
+
let query = {};
|
|
6827
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6828
|
+
query["PageNumber"] = request.pageNumber;
|
|
6829
|
+
}
|
|
6830
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6831
|
+
query["PageSize"] = request.pageSize;
|
|
6832
|
+
}
|
|
6833
|
+
if (!$dara.isNull(request.siteId)) {
|
|
6834
|
+
query["SiteId"] = request.siteId;
|
|
6835
|
+
}
|
|
6836
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6837
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6838
|
+
});
|
|
6839
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6840
|
+
action: "DescribeHttpDDoSAttackRules",
|
|
6841
|
+
version: "2024-09-10",
|
|
6842
|
+
protocol: "HTTPS",
|
|
6843
|
+
pathname: "/",
|
|
6844
|
+
method: "POST",
|
|
6845
|
+
authType: "AK",
|
|
6846
|
+
style: "RPC",
|
|
6847
|
+
reqBodyType: "formData",
|
|
6848
|
+
bodyType: "json",
|
|
6849
|
+
});
|
|
6850
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeHttpDDoSAttackRulesResponse({}));
|
|
6851
|
+
}
|
|
6852
|
+
/**
|
|
6853
|
+
* 查询HTTP DDoS攻击防护规则
|
|
6854
|
+
*
|
|
6855
|
+
* @param request - DescribeHttpDDoSAttackRulesRequest
|
|
6856
|
+
* @returns DescribeHttpDDoSAttackRulesResponse
|
|
6857
|
+
*/
|
|
6858
|
+
async describeHttpDDoSAttackRules(request) {
|
|
6859
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6860
|
+
return await this.describeHttpDDoSAttackRulesWithOptions(request, runtime);
|
|
6861
|
+
}
|
|
6862
|
+
/**
|
|
6863
|
+
* 查询深度学习和防护下发的精准访问控制规则
|
|
6864
|
+
*
|
|
6865
|
+
* @param request - DescribeHttpDDoSIntelligentAclRulesRequest
|
|
6866
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6867
|
+
* @returns DescribeHttpDDoSIntelligentAclRulesResponse
|
|
6868
|
+
*/
|
|
6869
|
+
async describeHttpDDoSIntelligentAclRulesWithOptions(request, runtime) {
|
|
6870
|
+
request.validate();
|
|
6871
|
+
let query = {};
|
|
6872
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6873
|
+
query["PageNumber"] = request.pageNumber;
|
|
6874
|
+
}
|
|
6875
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6876
|
+
query["PageSize"] = request.pageSize;
|
|
6877
|
+
}
|
|
6878
|
+
if (!$dara.isNull(request.ruleType)) {
|
|
6879
|
+
query["RuleType"] = request.ruleType;
|
|
6880
|
+
}
|
|
6881
|
+
if (!$dara.isNull(request.siteId)) {
|
|
6882
|
+
query["SiteId"] = request.siteId;
|
|
6883
|
+
}
|
|
6884
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6885
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6886
|
+
});
|
|
6887
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6888
|
+
action: "DescribeHttpDDoSIntelligentAclRules",
|
|
6889
|
+
version: "2024-09-10",
|
|
6890
|
+
protocol: "HTTPS",
|
|
6891
|
+
pathname: "/",
|
|
6892
|
+
method: "POST",
|
|
6893
|
+
authType: "AK",
|
|
6894
|
+
style: "RPC",
|
|
6895
|
+
reqBodyType: "formData",
|
|
6896
|
+
bodyType: "json",
|
|
6897
|
+
});
|
|
6898
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeHttpDDoSIntelligentAclRulesResponse({}));
|
|
6899
|
+
}
|
|
6900
|
+
/**
|
|
6901
|
+
* 查询深度学习和防护下发的精准访问控制规则
|
|
6902
|
+
*
|
|
6903
|
+
* @param request - DescribeHttpDDoSIntelligentAclRulesRequest
|
|
6904
|
+
* @returns DescribeHttpDDoSIntelligentAclRulesResponse
|
|
6905
|
+
*/
|
|
6906
|
+
async describeHttpDDoSIntelligentAclRules(request) {
|
|
6907
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6908
|
+
return await this.describeHttpDDoSIntelligentAclRulesWithOptions(request, runtime);
|
|
6909
|
+
}
|
|
6910
|
+
/**
|
|
6911
|
+
* 查询深度学习和防护下发的频率控制规则
|
|
6912
|
+
*
|
|
6913
|
+
* @param request - DescribeHttpDDoSIntelligentRateLimitRulesRequest
|
|
6914
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6915
|
+
* @returns DescribeHttpDDoSIntelligentRateLimitRulesResponse
|
|
6916
|
+
*/
|
|
6917
|
+
async describeHttpDDoSIntelligentRateLimitRulesWithOptions(request, runtime) {
|
|
6918
|
+
request.validate();
|
|
6919
|
+
let query = {};
|
|
6920
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6921
|
+
query["PageNumber"] = request.pageNumber;
|
|
6922
|
+
}
|
|
6923
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6924
|
+
query["PageSize"] = request.pageSize;
|
|
6925
|
+
}
|
|
6926
|
+
if (!$dara.isNull(request.ruleType)) {
|
|
6927
|
+
query["RuleType"] = request.ruleType;
|
|
6928
|
+
}
|
|
6929
|
+
if (!$dara.isNull(request.siteId)) {
|
|
6930
|
+
query["SiteId"] = request.siteId;
|
|
6931
|
+
}
|
|
6932
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6933
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6934
|
+
});
|
|
6935
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6936
|
+
action: "DescribeHttpDDoSIntelligentRateLimitRules",
|
|
6937
|
+
version: "2024-09-10",
|
|
6938
|
+
protocol: "HTTPS",
|
|
6939
|
+
pathname: "/",
|
|
6940
|
+
method: "POST",
|
|
6941
|
+
authType: "AK",
|
|
6942
|
+
style: "RPC",
|
|
6943
|
+
reqBodyType: "formData",
|
|
6944
|
+
bodyType: "json",
|
|
6945
|
+
});
|
|
6946
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeHttpDDoSIntelligentRateLimitRulesResponse({}));
|
|
6947
|
+
}
|
|
6948
|
+
/**
|
|
6949
|
+
* 查询深度学习和防护下发的频率控制规则
|
|
6950
|
+
*
|
|
6951
|
+
* @param request - DescribeHttpDDoSIntelligentRateLimitRulesRequest
|
|
6952
|
+
* @returns DescribeHttpDDoSIntelligentRateLimitRulesResponse
|
|
6953
|
+
*/
|
|
6954
|
+
async describeHttpDDoSIntelligentRateLimitRules(request) {
|
|
6955
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6956
|
+
return await this.describeHttpDDoSIntelligentRateLimitRulesWithOptions(request, runtime);
|
|
6957
|
+
}
|
|
6795
6958
|
/**
|
|
6796
6959
|
* Queries whether Edge KV is activated in your Alibaba Cloud account.
|
|
6797
6960
|
*
|
|
@@ -8644,6 +8807,48 @@ class Client extends openapi_core_1.default {
|
|
|
8644
8807
|
let runtime = new $dara.RuntimeOptions({});
|
|
8645
8808
|
return await this.getKvAccountWithOptions(runtime);
|
|
8646
8809
|
}
|
|
8810
|
+
/**
|
|
8811
|
+
* Queries the value and time to live (TTL) of a key.
|
|
8812
|
+
*
|
|
8813
|
+
* @param request - GetKvDetailRequest
|
|
8814
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8815
|
+
* @returns GetKvDetailResponse
|
|
8816
|
+
*/
|
|
8817
|
+
async getKvDetailWithOptions(request, runtime) {
|
|
8818
|
+
request.validate();
|
|
8819
|
+
let query = {};
|
|
8820
|
+
if (!$dara.isNull(request.key)) {
|
|
8821
|
+
query["Key"] = request.key;
|
|
8822
|
+
}
|
|
8823
|
+
if (!$dara.isNull(request.namespace)) {
|
|
8824
|
+
query["Namespace"] = request.namespace;
|
|
8825
|
+
}
|
|
8826
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8827
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8828
|
+
});
|
|
8829
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8830
|
+
action: "GetKvDetail",
|
|
8831
|
+
version: "2024-09-10",
|
|
8832
|
+
protocol: "HTTPS",
|
|
8833
|
+
pathname: "/",
|
|
8834
|
+
method: "POST",
|
|
8835
|
+
authType: "AK",
|
|
8836
|
+
style: "RPC",
|
|
8837
|
+
reqBodyType: "formData",
|
|
8838
|
+
bodyType: "json",
|
|
8839
|
+
});
|
|
8840
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetKvDetailResponse({}));
|
|
8841
|
+
}
|
|
8842
|
+
/**
|
|
8843
|
+
* Queries the value and time to live (TTL) of a key.
|
|
8844
|
+
*
|
|
8845
|
+
* @param request - GetKvDetailRequest
|
|
8846
|
+
* @returns GetKvDetailResponse
|
|
8847
|
+
*/
|
|
8848
|
+
async getKvDetail(request) {
|
|
8849
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8850
|
+
return await this.getKvDetailWithOptions(request, runtime);
|
|
8851
|
+
}
|
|
8647
8852
|
/**
|
|
8648
8853
|
* Queries the information about a namespace in your Alibaba Cloud account.
|
|
8649
8854
|
*
|
|
@@ -10788,7 +10993,7 @@ class Client extends openapi_core_1.default {
|
|
|
10788
10993
|
return await this.listESAIPInfoWithOptions(request, runtime);
|
|
10789
10994
|
}
|
|
10790
10995
|
/**
|
|
10791
|
-
*
|
|
10996
|
+
* Retrieve the list of image secrets for edge container applications
|
|
10792
10997
|
*
|
|
10793
10998
|
* @param request - ListEdgeContainerAppImageSecretsRequest
|
|
10794
10999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10817,7 +11022,7 @@ class Client extends openapi_core_1.default {
|
|
|
10817
11022
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEdgeContainerAppImageSecretsResponse({}));
|
|
10818
11023
|
}
|
|
10819
11024
|
/**
|
|
10820
|
-
*
|
|
11025
|
+
* Retrieve the list of image secrets for edge container applications
|
|
10821
11026
|
*
|
|
10822
11027
|
* @param request - ListEdgeContainerAppImageSecretsRequest
|
|
10823
11028
|
* @returns ListEdgeContainerAppImageSecretsResponse
|
|
@@ -14193,6 +14398,48 @@ class Client extends openapi_core_1.default {
|
|
|
14193
14398
|
let runtime = new $dara.RuntimeOptions({});
|
|
14194
14399
|
return await this.setClientCertificateHostnamesWithOptions(request, runtime);
|
|
14195
14400
|
}
|
|
14401
|
+
/**
|
|
14402
|
+
* 设置Ddos实例的最大防护弹性值
|
|
14403
|
+
*
|
|
14404
|
+
* @param request - SetDdosMaxBurstGbpsRequest
|
|
14405
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14406
|
+
* @returns SetDdosMaxBurstGbpsResponse
|
|
14407
|
+
*/
|
|
14408
|
+
async setDdosMaxBurstGbpsWithOptions(request, runtime) {
|
|
14409
|
+
request.validate();
|
|
14410
|
+
let query = {};
|
|
14411
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
14412
|
+
query["InstanceId"] = request.instanceId;
|
|
14413
|
+
}
|
|
14414
|
+
if (!$dara.isNull(request.maxBurstGbps)) {
|
|
14415
|
+
query["MaxBurstGbps"] = request.maxBurstGbps;
|
|
14416
|
+
}
|
|
14417
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14418
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14419
|
+
});
|
|
14420
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14421
|
+
action: "SetDdosMaxBurstGbps",
|
|
14422
|
+
version: "2024-09-10",
|
|
14423
|
+
protocol: "HTTPS",
|
|
14424
|
+
pathname: "/",
|
|
14425
|
+
method: "POST",
|
|
14426
|
+
authType: "AK",
|
|
14427
|
+
style: "RPC",
|
|
14428
|
+
reqBodyType: "formData",
|
|
14429
|
+
bodyType: "json",
|
|
14430
|
+
});
|
|
14431
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetDdosMaxBurstGbpsResponse({}));
|
|
14432
|
+
}
|
|
14433
|
+
/**
|
|
14434
|
+
* 设置Ddos实例的最大防护弹性值
|
|
14435
|
+
*
|
|
14436
|
+
* @param request - SetDdosMaxBurstGbpsRequest
|
|
14437
|
+
* @returns SetDdosMaxBurstGbpsResponse
|
|
14438
|
+
*/
|
|
14439
|
+
async setDdosMaxBurstGbps(request) {
|
|
14440
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14441
|
+
return await this.setDdosMaxBurstGbpsWithOptions(request, runtime);
|
|
14442
|
+
}
|
|
14196
14443
|
/**
|
|
14197
14444
|
* Configures smart HTTP DDoS protection.
|
|
14198
14445
|
*
|
|
@@ -14281,7 +14528,7 @@ class Client extends openapi_core_1.default {
|
|
|
14281
14528
|
return await this.setHttpDDoSAttackProtectionWithOptions(request, runtime);
|
|
14282
14529
|
}
|
|
14283
14530
|
/**
|
|
14284
|
-
*
|
|
14531
|
+
* Set the Protection Action for Specified HTTP DDoS Attack Rules
|
|
14285
14532
|
*
|
|
14286
14533
|
* @param request - SetHttpDDoSAttackRuleActionRequest
|
|
14287
14534
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14316,7 +14563,7 @@ class Client extends openapi_core_1.default {
|
|
|
14316
14563
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetHttpDDoSAttackRuleActionResponse({}));
|
|
14317
14564
|
}
|
|
14318
14565
|
/**
|
|
14319
|
-
*
|
|
14566
|
+
* Set the Protection Action for Specified HTTP DDoS Attack Rules
|
|
14320
14567
|
*
|
|
14321
14568
|
* @param request - SetHttpDDoSAttackRuleActionRequest
|
|
14322
14569
|
* @returns SetHttpDDoSAttackRuleActionResponse
|
|
@@ -14326,7 +14573,7 @@ class Client extends openapi_core_1.default {
|
|
|
14326
14573
|
return await this.setHttpDDoSAttackRuleActionWithOptions(request, runtime);
|
|
14327
14574
|
}
|
|
14328
14575
|
/**
|
|
14329
|
-
*
|
|
14576
|
+
* Set the Protection Status of Specified HTTP DDoS Attack Rules
|
|
14330
14577
|
*
|
|
14331
14578
|
* @param request - SetHttpDDoSAttackRuleStatusRequest
|
|
14332
14579
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14361,7 +14608,7 @@ class Client extends openapi_core_1.default {
|
|
|
14361
14608
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetHttpDDoSAttackRuleStatusResponse({}));
|
|
14362
14609
|
}
|
|
14363
14610
|
/**
|
|
14364
|
-
*
|
|
14611
|
+
* Set the Protection Status of Specified HTTP DDoS Attack Rules
|
|
14365
14612
|
*
|
|
14366
14613
|
* @param request - SetHttpDDoSAttackRuleStatusRequest
|
|
14367
14614
|
* @returns SetHttpDDoSAttackRuleStatusResponse
|