@alicloud/ddosbgp20180720 3.0.0 → 3.1.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 +89 -53
- package/dist/client.js +147 -53
- package/dist/client.js.map +1 -1
- package/dist/models/AddIpRequest.d.ts +11 -10
- package/dist/models/AddIpRequest.js.map +1 -1
- package/dist/models/AddIpResponseBody.d.ts +1 -1
- package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
- package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/AttachToPolicyRequest.d.ts +27 -10
- package/dist/models/AttachToPolicyRequest.js.map +1 -1
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
- package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
- package/dist/models/CheckGrantRequest.d.ts +4 -3
- package/dist/models/CheckGrantRequest.js.map +1 -1
- package/dist/models/CheckGrantResponseBody.d.ts +3 -2
- package/dist/models/CheckGrantResponseBody.js.map +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +15 -5
- package/dist/models/CreatePolicyRequest.js.map +1 -1
- package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
- package/dist/models/DeleteIpRequest.d.ts +8 -10
- package/dist/models/DeleteIpRequest.js.map +1 -1
- package/dist/models/DeleteIpResponseBody.d.ts +1 -1
- package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
- package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
- package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
- package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
- package/dist/models/DescribePackIpListRequest.d.ts +14 -11
- package/dist/models/DescribePackIpListRequest.js.map +1 -1
- package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
- package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
- package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
- package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
- package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +4 -4
- package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeTrafficRequest.d.ts +16 -21
- package/dist/models/DescribeTrafficRequest.js.map +1 -1
- package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
- package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
- package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
- package/dist/models/DetachFromPolicyRequest.js.map +1 -1
- package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
- package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
- package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
- package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
- package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
- package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
- package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
- package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
- package/dist/models/ListPolicyRequest.d.ts +5 -16
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +182 -94
- package/dist/models/ListPolicyResponseBody.js +41 -1
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
- package/dist/models/ModifyPolicyContentRequest.js +41 -1
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +181 -118
- package/dist/models/ModifyPolicyRequest.js +41 -1
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/dist/models/ModifyRemarkRequest.d.ts +5 -7
- package/dist/models/ModifyRemarkRequest.js.map +1 -1
- package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +34 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +160 -53
- package/src/models/AddIpRequest.ts +11 -10
- package/src/models/AddIpResponseBody.ts +1 -1
- package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
- package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/AttachToPolicyRequest.ts +27 -10
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
- package/src/models/CheckGrantRequest.ts +4 -3
- package/src/models/CheckGrantResponseBody.ts +3 -2
- package/src/models/CreatePolicyRequest.ts +15 -5
- package/src/models/CreatePolicyResponseBody.ts +2 -2
- package/src/models/DeleteIpRequest.ts +8 -10
- package/src/models/DeleteIpResponseBody.ts +1 -1
- package/src/models/DescribeAssetGroupRequest.ts +4 -3
- package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
- package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
- package/src/models/DescribeInstanceListRequest.ts +13 -9
- package/src/models/DescribeInstanceListResponseBody.ts +28 -18
- package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
- package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
- package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
- package/src/models/DescribePackIpListRequest.ts +14 -11
- package/src/models/DescribePackIpListResponseBody.ts +28 -22
- package/src/models/DescribeRdMemberListRequest.ts +1 -1
- package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
- package/src/models/DescribeRdStatusResponseBody.ts +5 -3
- package/src/models/DescribeRegionsRequest.ts +4 -4
- package/src/models/DescribeRegionsResponseBody.ts +5 -6
- package/src/models/DescribeTrafficRequest.ts +16 -21
- package/src/models/DescribeTrafficResponseBody.ts +11 -12
- package/src/models/DetachFromPolicyRequest.ts +26 -8
- package/src/models/DetachFromPolicyResponseBody.ts +1 -1
- package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
- package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/ListPolicyAttachmentRequest.ts +27 -11
- package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
- package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
- package/src/models/ListPolicyRequest.ts +5 -16
- package/src/models/ListPolicyResponseBody.ts +213 -94
- package/src/models/ModifyPolicyContentRequest.ts +207 -90
- package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
- package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
- package/src/models/ModifyPolicyRequest.ts +212 -118
- package/src/models/ModifyPolicyResponseBody.ts +1 -1
- package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
- package/src/models/ModifyRemarkRequest.ts +5 -7
- package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
- package/src/models/model.ts +7 -0
package/dist/client.js
CHANGED
|
@@ -70,6 +70,10 @@ class Client extends openapi_core_1.default {
|
|
|
70
70
|
'cn-shenzhen-finance-1': "ddosbgp.aliyuncs.com",
|
|
71
71
|
'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
|
|
72
72
|
'cn-north-2-gov-1': "ddosbgp.aliyuncs.com",
|
|
73
|
+
'us-west-1': "ddosbgp.us-west-1.aliyuncs.com",
|
|
74
|
+
'us-east-1': "ddosbgp.us-east-1.aliyuncs.com",
|
|
75
|
+
'cn-hongkong': "ddosbgp.cn-hongkong.aliyuncs.com",
|
|
76
|
+
'ap-southeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
73
77
|
};
|
|
74
78
|
this.checkConfig(config);
|
|
75
79
|
this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -232,7 +236,10 @@ class Client extends openapi_core_1.default {
|
|
|
232
236
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
233
237
|
}
|
|
234
238
|
/**
|
|
235
|
-
* Associates
|
|
239
|
+
* Associates protection objects with a mitigation policy.
|
|
240
|
+
*
|
|
241
|
+
* @remarks
|
|
242
|
+
* A mitigation policy that is associated with protection objects cannot be deleted.
|
|
236
243
|
*
|
|
237
244
|
* @param tmpReq - AttachToPolicyRequest
|
|
238
245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -272,7 +279,10 @@ class Client extends openapi_core_1.default {
|
|
|
272
279
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachToPolicyResponse({}));
|
|
273
280
|
}
|
|
274
281
|
/**
|
|
275
|
-
* Associates
|
|
282
|
+
* Associates protection objects with a mitigation policy.
|
|
283
|
+
*
|
|
284
|
+
* @remarks
|
|
285
|
+
* A mitigation policy that is associated with protection objects cannot be deleted.
|
|
276
286
|
*
|
|
277
287
|
* @param request - AttachToPolicyRequest
|
|
278
288
|
* @returns AttachToPolicyResponse
|
|
@@ -372,6 +382,9 @@ class Client extends openapi_core_1.default {
|
|
|
372
382
|
/**
|
|
373
383
|
* Creates a mitigation policy.
|
|
374
384
|
*
|
|
385
|
+
* @remarks
|
|
386
|
+
* A mitigation policy that is associated with protected objects cannot be deleted.
|
|
387
|
+
*
|
|
375
388
|
* @param request - CreatePolicyRequest
|
|
376
389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
377
390
|
* @returns CreatePolicyResponse
|
|
@@ -407,6 +420,9 @@ class Client extends openapi_core_1.default {
|
|
|
407
420
|
/**
|
|
408
421
|
* Creates a mitigation policy.
|
|
409
422
|
*
|
|
423
|
+
* @remarks
|
|
424
|
+
* A mitigation policy that is associated with protected objects cannot be deleted.
|
|
425
|
+
*
|
|
410
426
|
* @param request - CreatePolicyRequest
|
|
411
427
|
* @returns CreatePolicyResponse
|
|
412
428
|
*/
|
|
@@ -475,10 +491,7 @@ class Client extends openapi_core_1.default {
|
|
|
475
491
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
476
492
|
}
|
|
477
493
|
/**
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
* @remarks
|
|
481
|
-
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
494
|
+
* Deletes an IP address from Anti-DDoS Origin and disables protection for that IP address.
|
|
482
495
|
*
|
|
483
496
|
* @param request - DeleteIpRequest
|
|
484
497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -516,10 +529,7 @@ class Client extends openapi_core_1.default {
|
|
|
516
529
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteIpResponse({}));
|
|
517
530
|
}
|
|
518
531
|
/**
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
* @remarks
|
|
522
|
-
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
532
|
+
* Deletes an IP address from Anti-DDoS Origin and disables protection for that IP address.
|
|
523
533
|
*
|
|
524
534
|
* @param request - DeleteIpRequest
|
|
525
535
|
* @returns DeleteIpResponse
|
|
@@ -796,7 +806,10 @@ class Client extends openapi_core_1.default {
|
|
|
796
806
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
797
807
|
}
|
|
798
808
|
/**
|
|
799
|
-
* Queries the
|
|
809
|
+
* Queries the pay-as-you-go billing information of an Anti-DDoS Origin instance.
|
|
810
|
+
*
|
|
811
|
+
* @remarks
|
|
812
|
+
* This operation is used to perform a paged query of the billing details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. The billing details include instance IDs, validity periods, and statuses. Paging is supported for this query.
|
|
800
813
|
*
|
|
801
814
|
* @param request - DescribeDdosOriginInstanceBillRequest
|
|
802
815
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -834,7 +847,10 @@ class Client extends openapi_core_1.default {
|
|
|
834
847
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDdosOriginInstanceBillResponse({}));
|
|
835
848
|
}
|
|
836
849
|
/**
|
|
837
|
-
* Queries the
|
|
850
|
+
* Queries the pay-as-you-go billing information of an Anti-DDoS Origin instance.
|
|
851
|
+
*
|
|
852
|
+
* @remarks
|
|
853
|
+
* This operation is used to perform a paged query of the billing details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. The billing details include instance IDs, validity periods, and statuses. Paging is supported for this query.
|
|
838
854
|
*
|
|
839
855
|
* @param request - DescribeDdosOriginInstanceBillRequest
|
|
840
856
|
* @returns DescribeDdosOriginInstanceBillResponse
|
|
@@ -894,10 +910,10 @@ class Client extends openapi_core_1.default {
|
|
|
894
910
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
895
911
|
}
|
|
896
912
|
/**
|
|
897
|
-
*
|
|
913
|
+
* Retrieves the details of all Anti-DDoS Origin instances.
|
|
898
914
|
*
|
|
899
915
|
* @remarks
|
|
900
|
-
*
|
|
916
|
+
* Retrieves the details of all Anti-DDoS Origin instances.
|
|
901
917
|
*
|
|
902
918
|
* @param request - DescribeInstanceListRequest
|
|
903
919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -962,10 +978,10 @@ class Client extends openapi_core_1.default {
|
|
|
962
978
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceListResponse({}));
|
|
963
979
|
}
|
|
964
980
|
/**
|
|
965
|
-
*
|
|
981
|
+
* Retrieves the details of all Anti-DDoS Origin instances.
|
|
966
982
|
*
|
|
967
983
|
* @remarks
|
|
968
|
-
*
|
|
984
|
+
* Retrieves the details of all Anti-DDoS Origin instances.
|
|
969
985
|
*
|
|
970
986
|
* @param request - DescribeInstanceListRequest
|
|
971
987
|
* @returns DescribeInstanceListResponse
|
|
@@ -1019,6 +1035,85 @@ class Client extends openapi_core_1.default {
|
|
|
1019
1035
|
let runtime = new $dara.RuntimeOptions({});
|
|
1020
1036
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
1021
1037
|
}
|
|
1038
|
+
/**
|
|
1039
|
+
* Queries the network-layer interception records of Anti-DDoS Origin instances.
|
|
1040
|
+
*
|
|
1041
|
+
* @remarks
|
|
1042
|
+
* This operation is used to perform a paged query of the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. Paging is supported.
|
|
1043
|
+
* ### QPS limit
|
|
1044
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API invokes are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
|
|
1045
|
+
*
|
|
1046
|
+
* @param request - DescribeNetworkLayerInterceptsRequest
|
|
1047
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1048
|
+
* @returns DescribeNetworkLayerInterceptsResponse
|
|
1049
|
+
*/
|
|
1050
|
+
async describeNetworkLayerInterceptsWithOptions(request, runtime) {
|
|
1051
|
+
request.validate();
|
|
1052
|
+
let query = {};
|
|
1053
|
+
if (!$dara.isNull(request.destinationIp)) {
|
|
1054
|
+
query["DestinationIp"] = request.destinationIp;
|
|
1055
|
+
}
|
|
1056
|
+
if (!$dara.isNull(request.destinationPort)) {
|
|
1057
|
+
query["DestinationPort"] = request.destinationPort;
|
|
1058
|
+
}
|
|
1059
|
+
if (!$dara.isNull(request.endTime)) {
|
|
1060
|
+
query["EndTime"] = request.endTime;
|
|
1061
|
+
}
|
|
1062
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1063
|
+
query["InstanceId"] = request.instanceId;
|
|
1064
|
+
}
|
|
1065
|
+
if (!$dara.isNull(request.networkProtocol)) {
|
|
1066
|
+
query["NetworkProtocol"] = request.networkProtocol;
|
|
1067
|
+
}
|
|
1068
|
+
if (!$dara.isNull(request.page)) {
|
|
1069
|
+
query["Page"] = request.page;
|
|
1070
|
+
}
|
|
1071
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
1072
|
+
query["PageSize"] = request.pageSize;
|
|
1073
|
+
}
|
|
1074
|
+
if (!$dara.isNull(request.protocolNumber)) {
|
|
1075
|
+
query["ProtocolNumber"] = request.protocolNumber;
|
|
1076
|
+
}
|
|
1077
|
+
if (!$dara.isNull(request.sourcePort)) {
|
|
1078
|
+
query["SourcePort"] = request.sourcePort;
|
|
1079
|
+
}
|
|
1080
|
+
if (!$dara.isNull(request.srcIp)) {
|
|
1081
|
+
query["SrcIp"] = request.srcIp;
|
|
1082
|
+
}
|
|
1083
|
+
if (!$dara.isNull(request.startTime)) {
|
|
1084
|
+
query["StartTime"] = request.startTime;
|
|
1085
|
+
}
|
|
1086
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1087
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1088
|
+
});
|
|
1089
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1090
|
+
action: "DescribeNetworkLayerIntercepts",
|
|
1091
|
+
version: "2018-07-20",
|
|
1092
|
+
protocol: "HTTPS",
|
|
1093
|
+
pathname: "/",
|
|
1094
|
+
method: "POST",
|
|
1095
|
+
authType: "AK",
|
|
1096
|
+
style: "RPC",
|
|
1097
|
+
reqBodyType: "formData",
|
|
1098
|
+
bodyType: "json",
|
|
1099
|
+
});
|
|
1100
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNetworkLayerInterceptsResponse({}));
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Queries the network-layer interception records of Anti-DDoS Origin instances.
|
|
1104
|
+
*
|
|
1105
|
+
* @remarks
|
|
1106
|
+
* This operation is used to perform a paged query of the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. Paging is supported.
|
|
1107
|
+
* ### QPS limit
|
|
1108
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API invokes are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
|
|
1109
|
+
*
|
|
1110
|
+
* @param request - DescribeNetworkLayerInterceptsRequest
|
|
1111
|
+
* @returns DescribeNetworkLayerInterceptsResponse
|
|
1112
|
+
*/
|
|
1113
|
+
async describeNetworkLayerIntercepts(request) {
|
|
1114
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1115
|
+
return await this.describeNetworkLayerInterceptsWithOptions(request, runtime);
|
|
1116
|
+
}
|
|
1022
1117
|
/**
|
|
1023
1118
|
* Queries the operation logs of an Anti-DDoS Origin instance.
|
|
1024
1119
|
*
|
|
@@ -1096,12 +1191,12 @@ class Client extends openapi_core_1.default {
|
|
|
1096
1191
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
1097
1192
|
}
|
|
1098
1193
|
/**
|
|
1099
|
-
* Queries the
|
|
1194
|
+
* Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
|
|
1100
1195
|
*
|
|
1101
1196
|
* @remarks
|
|
1102
|
-
* You can call
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1197
|
+
* You can call this operation to query a paginated list of protected IP addresses for an Anti-DDoS Origin instance. The query returns details such as the IP addresses, the types of cloud assets to which the IP addresses belong, and their current status, such as whether they are under blackhole filtering.
|
|
1198
|
+
* ### QPS limit
|
|
1199
|
+
* This operation has a queries per second (QPS) limit of 10 for each user. Calls that exceed this limit are throttled, which may affect your business. We recommend that you call this operation within this limit.
|
|
1105
1200
|
*
|
|
1106
1201
|
* @param request - DescribePackIpListRequest
|
|
1107
1202
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1151,12 +1246,12 @@ class Client extends openapi_core_1.default {
|
|
|
1151
1246
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePackIpListResponse({}));
|
|
1152
1247
|
}
|
|
1153
1248
|
/**
|
|
1154
|
-
* Queries the
|
|
1249
|
+
* Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
|
|
1155
1250
|
*
|
|
1156
1251
|
* @remarks
|
|
1157
|
-
* You can call
|
|
1158
|
-
*
|
|
1159
|
-
*
|
|
1252
|
+
* You can call this operation to query a paginated list of protected IP addresses for an Anti-DDoS Origin instance. The query returns details such as the IP addresses, the types of cloud assets to which the IP addresses belong, and their current status, such as whether they are under blackhole filtering.
|
|
1253
|
+
* ### QPS limit
|
|
1254
|
+
* This operation has a queries per second (QPS) limit of 10 for each user. Calls that exceed this limit are throttled, which may affect your business. We recommend that you call this operation within this limit.
|
|
1160
1255
|
*
|
|
1161
1256
|
* @param request - DescribePackIpListRequest
|
|
1162
1257
|
* @returns DescribePackIpListResponse
|
|
@@ -1213,7 +1308,6 @@ class Client extends openapi_core_1.default {
|
|
|
1213
1308
|
/**
|
|
1214
1309
|
* Queries the status of the multi-account management feature.
|
|
1215
1310
|
*
|
|
1216
|
-
* @param request - DescribeRdStatusRequest
|
|
1217
1311
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1218
1312
|
* @returns DescribeRdStatusResponse
|
|
1219
1313
|
*/
|
|
@@ -1241,7 +1335,7 @@ class Client extends openapi_core_1.default {
|
|
|
1241
1335
|
return await this.describeRdStatusWithOptions(runtime);
|
|
1242
1336
|
}
|
|
1243
1337
|
/**
|
|
1244
|
-
* Queries
|
|
1338
|
+
* Queries all regions supported by Anti-DDoS Origin Enterprise.
|
|
1245
1339
|
*
|
|
1246
1340
|
* @param request - DescribeRegionsRequest
|
|
1247
1341
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1273,7 +1367,7 @@ class Client extends openapi_core_1.default {
|
|
|
1273
1367
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRegionsResponse({}));
|
|
1274
1368
|
}
|
|
1275
1369
|
/**
|
|
1276
|
-
* Queries
|
|
1370
|
+
* Queries all regions supported by Anti-DDoS Origin Enterprise.
|
|
1277
1371
|
*
|
|
1278
1372
|
* @param request - DescribeRegionsRequest
|
|
1279
1373
|
* @returns DescribeRegionsResponse
|
|
@@ -1283,13 +1377,13 @@ class Client extends openapi_core_1.default {
|
|
|
1283
1377
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
1284
1378
|
}
|
|
1285
1379
|
/**
|
|
1286
|
-
* Queries traffic statistics of
|
|
1380
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time period.
|
|
1287
1381
|
*
|
|
1288
1382
|
* @remarks
|
|
1289
|
-
*
|
|
1290
|
-
* >
|
|
1291
|
-
*
|
|
1292
|
-
*
|
|
1383
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time range.
|
|
1384
|
+
* > When calling this operation, you must set the **InstanceId** parameter to specify the Anti-DDoS Origin instance to query.
|
|
1385
|
+
* ### QPS limit
|
|
1386
|
+
* The single-user QPS limit for this operation is 1 call per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation as appropriate.
|
|
1293
1387
|
*
|
|
1294
1388
|
* @param request - DescribeTrafficRequest
|
|
1295
1389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1342,13 +1436,13 @@ class Client extends openapi_core_1.default {
|
|
|
1342
1436
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTrafficResponse({}));
|
|
1343
1437
|
}
|
|
1344
1438
|
/**
|
|
1345
|
-
* Queries traffic statistics of
|
|
1439
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time period.
|
|
1346
1440
|
*
|
|
1347
1441
|
* @remarks
|
|
1348
|
-
*
|
|
1349
|
-
* >
|
|
1350
|
-
*
|
|
1351
|
-
*
|
|
1442
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time range.
|
|
1443
|
+
* > When calling this operation, you must set the **InstanceId** parameter to specify the Anti-DDoS Origin instance to query.
|
|
1444
|
+
* ### QPS limit
|
|
1445
|
+
* The single-user QPS limit for this operation is 1 call per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation as appropriate.
|
|
1352
1446
|
*
|
|
1353
1447
|
* @param request - DescribeTrafficRequest
|
|
1354
1448
|
* @returns DescribeTrafficResponse
|
|
@@ -1358,7 +1452,7 @@ class Client extends openapi_core_1.default {
|
|
|
1358
1452
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
1359
1453
|
}
|
|
1360
1454
|
/**
|
|
1361
|
-
*
|
|
1455
|
+
* Dissociates a mitigation policy from a protected object.
|
|
1362
1456
|
*
|
|
1363
1457
|
* @param tmpReq - DetachFromPolicyRequest
|
|
1364
1458
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1398,7 +1492,7 @@ class Client extends openapi_core_1.default {
|
|
|
1398
1492
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachFromPolicyResponse({}));
|
|
1399
1493
|
}
|
|
1400
1494
|
/**
|
|
1401
|
-
*
|
|
1495
|
+
* Dissociates a mitigation policy from a protected object.
|
|
1402
1496
|
*
|
|
1403
1497
|
* @param request - DetachFromPolicyRequest
|
|
1404
1498
|
* @returns DetachFromPolicyResponse
|
|
@@ -1596,7 +1690,7 @@ class Client extends openapi_core_1.default {
|
|
|
1596
1690
|
return await this.listPolicyWithOptions(request, runtime);
|
|
1597
1691
|
}
|
|
1598
1692
|
/**
|
|
1599
|
-
* Queries
|
|
1693
|
+
* Queries the associations of mitigation policies.
|
|
1600
1694
|
*
|
|
1601
1695
|
* @param tmpReq - ListPolicyAttachmentRequest
|
|
1602
1696
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1645,7 +1739,7 @@ class Client extends openapi_core_1.default {
|
|
|
1645
1739
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPolicyAttachmentResponse({}));
|
|
1646
1740
|
}
|
|
1647
1741
|
/**
|
|
1648
|
-
* Queries
|
|
1742
|
+
* Queries the associations of mitigation policies.
|
|
1649
1743
|
*
|
|
1650
1744
|
* @param request - ListPolicyAttachmentRequest
|
|
1651
1745
|
* @returns ListPolicyAttachmentResponse
|
|
@@ -1832,10 +1926,10 @@ class Client extends openapi_core_1.default {
|
|
|
1832
1926
|
return await this.modifyPolicyWithOptions(request, runtime);
|
|
1833
1927
|
}
|
|
1834
1928
|
/**
|
|
1835
|
-
* Modifies the content of
|
|
1929
|
+
* Modifies the content of a mitigation policy.
|
|
1836
1930
|
*
|
|
1837
1931
|
* @remarks
|
|
1838
|
-
* Make sure that all
|
|
1932
|
+
* Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
|
|
1839
1933
|
*
|
|
1840
1934
|
* @param tmpReq - ModifyPolicyContentRequest
|
|
1841
1935
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1878,10 +1972,10 @@ class Client extends openapi_core_1.default {
|
|
|
1878
1972
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPolicyContentResponse({}));
|
|
1879
1973
|
}
|
|
1880
1974
|
/**
|
|
1881
|
-
* Modifies the content of
|
|
1975
|
+
* Modifies the content of a mitigation policy.
|
|
1882
1976
|
*
|
|
1883
1977
|
* @remarks
|
|
1884
|
-
* Make sure that all
|
|
1978
|
+
* Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
|
|
1885
1979
|
*
|
|
1886
1980
|
* @param request - ModifyPolicyContentRequest
|
|
1887
1981
|
* @returns ModifyPolicyContentResponse
|
|
@@ -1891,12 +1985,12 @@ class Client extends openapi_core_1.default {
|
|
|
1891
1985
|
return await this.modifyPolicyContentWithOptions(request, runtime);
|
|
1892
1986
|
}
|
|
1893
1987
|
/**
|
|
1894
|
-
*
|
|
1988
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
1895
1989
|
*
|
|
1896
1990
|
* @remarks
|
|
1897
|
-
*
|
|
1898
|
-
* ###
|
|
1899
|
-
*
|
|
1991
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
1992
|
+
* ### QPS limit
|
|
1993
|
+
* The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1900
1994
|
*
|
|
1901
1995
|
* @param request - ModifyRemarkRequest
|
|
1902
1996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1934,12 +2028,12 @@ class Client extends openapi_core_1.default {
|
|
|
1934
2028
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyRemarkResponse({}));
|
|
1935
2029
|
}
|
|
1936
2030
|
/**
|
|
1937
|
-
*
|
|
2031
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
1938
2032
|
*
|
|
1939
2033
|
* @remarks
|
|
1940
|
-
*
|
|
1941
|
-
* ###
|
|
1942
|
-
*
|
|
2034
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
2035
|
+
* ### QPS limit
|
|
2036
|
+
* The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1943
2037
|
*
|
|
1944
2038
|
* @param request - ModifyRemarkRequest
|
|
1945
2039
|
* @returns ModifyRemarkResponse
|