@alicloud/ddosbgp20180720 3.0.0 → 3.1.1
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 +97 -57
- package/dist/client.js +155 -57
- 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/CheckAccessLogAuthRequest.d.ts +2 -2
- package/dist/models/CheckAccessLogAuthResponseBody.d.ts +4 -5
- package/dist/models/CheckAccessLogAuthResponseBody.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 +28 -29
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +46 -42
- package/dist/models/DescribeInstanceListResponseBody.js +2 -0
- 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/GetSlsOpenStatusRequest.d.ts +1 -1
- package/dist/models/GetSlsOpenStatusResponseBody.d.ts +4 -4
- package/dist/models/ListOpenedAccessLogInstancesRequest.d.ts +3 -3
- package/dist/models/ListOpenedAccessLogInstancesResponseBody.d.ts +7 -7
- 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 +168 -57
- 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/CheckAccessLogAuthRequest.ts +2 -2
- package/src/models/CheckAccessLogAuthResponseBody.ts +4 -5
- 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 +28 -29
- package/src/models/DescribeInstanceListResponseBody.ts +48 -42
- 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/GetSlsOpenStatusRequest.ts +1 -1
- package/src/models/GetSlsOpenStatusResponseBody.ts +4 -4
- package/src/models/ListOpenedAccessLogInstancesRequest.ts +3 -3
- package/src/models/ListOpenedAccessLogInstancesResponseBody.ts +7 -7
- 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
|
+
'cn-hongkong': "ddosbgp.cn-hongkong.aliyuncs.com",
|
|
74
|
+
'ap-southeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
75
|
+
'us-west-1': "ddosbgp.us-west-1.aliyuncs.com",
|
|
76
|
+
'us-east-1': "ddosbgp.us-east-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,12 @@ class Client extends openapi_core_1.default {
|
|
|
894
910
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
895
911
|
}
|
|
896
912
|
/**
|
|
897
|
-
* Queries the details of
|
|
913
|
+
* Queries the details of Anti-DDoS Origin instances.
|
|
898
914
|
*
|
|
899
915
|
* @remarks
|
|
900
|
-
*
|
|
916
|
+
* This operation is used to query the details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by paging, such as instance IDs, validity periods, and statuses.
|
|
917
|
+
* ### QPS limit
|
|
918
|
+
* You can invoke this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation within the limit.
|
|
901
919
|
*
|
|
902
920
|
* @param request - DescribeInstanceListRequest
|
|
903
921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -962,10 +980,12 @@ class Client extends openapi_core_1.default {
|
|
|
962
980
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceListResponse({}));
|
|
963
981
|
}
|
|
964
982
|
/**
|
|
965
|
-
* Queries the details of
|
|
983
|
+
* Queries the details of Anti-DDoS Origin instances.
|
|
966
984
|
*
|
|
967
985
|
* @remarks
|
|
968
|
-
*
|
|
986
|
+
* This operation is used to query the details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by paging, such as instance IDs, validity periods, and statuses.
|
|
987
|
+
* ### QPS limit
|
|
988
|
+
* You can invoke this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation within the limit.
|
|
969
989
|
*
|
|
970
990
|
* @param request - DescribeInstanceListRequest
|
|
971
991
|
* @returns DescribeInstanceListResponse
|
|
@@ -1019,6 +1039,85 @@ class Client extends openapi_core_1.default {
|
|
|
1019
1039
|
let runtime = new $dara.RuntimeOptions({});
|
|
1020
1040
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
1021
1041
|
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Queries the network-layer interception records of Anti-DDoS Origin instances.
|
|
1044
|
+
*
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* 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.
|
|
1047
|
+
* ### QPS limit
|
|
1048
|
+
* 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.
|
|
1049
|
+
*
|
|
1050
|
+
* @param request - DescribeNetworkLayerInterceptsRequest
|
|
1051
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1052
|
+
* @returns DescribeNetworkLayerInterceptsResponse
|
|
1053
|
+
*/
|
|
1054
|
+
async describeNetworkLayerInterceptsWithOptions(request, runtime) {
|
|
1055
|
+
request.validate();
|
|
1056
|
+
let query = {};
|
|
1057
|
+
if (!$dara.isNull(request.destinationIp)) {
|
|
1058
|
+
query["DestinationIp"] = request.destinationIp;
|
|
1059
|
+
}
|
|
1060
|
+
if (!$dara.isNull(request.destinationPort)) {
|
|
1061
|
+
query["DestinationPort"] = request.destinationPort;
|
|
1062
|
+
}
|
|
1063
|
+
if (!$dara.isNull(request.endTime)) {
|
|
1064
|
+
query["EndTime"] = request.endTime;
|
|
1065
|
+
}
|
|
1066
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1067
|
+
query["InstanceId"] = request.instanceId;
|
|
1068
|
+
}
|
|
1069
|
+
if (!$dara.isNull(request.networkProtocol)) {
|
|
1070
|
+
query["NetworkProtocol"] = request.networkProtocol;
|
|
1071
|
+
}
|
|
1072
|
+
if (!$dara.isNull(request.page)) {
|
|
1073
|
+
query["Page"] = request.page;
|
|
1074
|
+
}
|
|
1075
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
1076
|
+
query["PageSize"] = request.pageSize;
|
|
1077
|
+
}
|
|
1078
|
+
if (!$dara.isNull(request.protocolNumber)) {
|
|
1079
|
+
query["ProtocolNumber"] = request.protocolNumber;
|
|
1080
|
+
}
|
|
1081
|
+
if (!$dara.isNull(request.sourcePort)) {
|
|
1082
|
+
query["SourcePort"] = request.sourcePort;
|
|
1083
|
+
}
|
|
1084
|
+
if (!$dara.isNull(request.srcIp)) {
|
|
1085
|
+
query["SrcIp"] = request.srcIp;
|
|
1086
|
+
}
|
|
1087
|
+
if (!$dara.isNull(request.startTime)) {
|
|
1088
|
+
query["StartTime"] = request.startTime;
|
|
1089
|
+
}
|
|
1090
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1091
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1092
|
+
});
|
|
1093
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1094
|
+
action: "DescribeNetworkLayerIntercepts",
|
|
1095
|
+
version: "2018-07-20",
|
|
1096
|
+
protocol: "HTTPS",
|
|
1097
|
+
pathname: "/",
|
|
1098
|
+
method: "POST",
|
|
1099
|
+
authType: "AK",
|
|
1100
|
+
style: "RPC",
|
|
1101
|
+
reqBodyType: "formData",
|
|
1102
|
+
bodyType: "json",
|
|
1103
|
+
});
|
|
1104
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNetworkLayerInterceptsResponse({}));
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* Queries the network-layer interception records of Anti-DDoS Origin instances.
|
|
1108
|
+
*
|
|
1109
|
+
* @remarks
|
|
1110
|
+
* 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.
|
|
1111
|
+
* ### QPS limit
|
|
1112
|
+
* 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.
|
|
1113
|
+
*
|
|
1114
|
+
* @param request - DescribeNetworkLayerInterceptsRequest
|
|
1115
|
+
* @returns DescribeNetworkLayerInterceptsResponse
|
|
1116
|
+
*/
|
|
1117
|
+
async describeNetworkLayerIntercepts(request) {
|
|
1118
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1119
|
+
return await this.describeNetworkLayerInterceptsWithOptions(request, runtime);
|
|
1120
|
+
}
|
|
1022
1121
|
/**
|
|
1023
1122
|
* Queries the operation logs of an Anti-DDoS Origin instance.
|
|
1024
1123
|
*
|
|
@@ -1096,12 +1195,12 @@ class Client extends openapi_core_1.default {
|
|
|
1096
1195
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
1097
1196
|
}
|
|
1098
1197
|
/**
|
|
1099
|
-
* Queries the
|
|
1198
|
+
* Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
|
|
1100
1199
|
*
|
|
1101
1200
|
* @remarks
|
|
1102
|
-
* You can call
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1201
|
+
* 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.
|
|
1202
|
+
* ### QPS limit
|
|
1203
|
+
* 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
1204
|
*
|
|
1106
1205
|
* @param request - DescribePackIpListRequest
|
|
1107
1206
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1151,12 +1250,12 @@ class Client extends openapi_core_1.default {
|
|
|
1151
1250
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePackIpListResponse({}));
|
|
1152
1251
|
}
|
|
1153
1252
|
/**
|
|
1154
|
-
* Queries the
|
|
1253
|
+
* Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
|
|
1155
1254
|
*
|
|
1156
1255
|
* @remarks
|
|
1157
|
-
* You can call
|
|
1158
|
-
*
|
|
1159
|
-
*
|
|
1256
|
+
* 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.
|
|
1257
|
+
* ### QPS limit
|
|
1258
|
+
* 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
1259
|
*
|
|
1161
1260
|
* @param request - DescribePackIpListRequest
|
|
1162
1261
|
* @returns DescribePackIpListResponse
|
|
@@ -1213,7 +1312,6 @@ class Client extends openapi_core_1.default {
|
|
|
1213
1312
|
/**
|
|
1214
1313
|
* Queries the status of the multi-account management feature.
|
|
1215
1314
|
*
|
|
1216
|
-
* @param request - DescribeRdStatusRequest
|
|
1217
1315
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1218
1316
|
* @returns DescribeRdStatusResponse
|
|
1219
1317
|
*/
|
|
@@ -1241,7 +1339,7 @@ class Client extends openapi_core_1.default {
|
|
|
1241
1339
|
return await this.describeRdStatusWithOptions(runtime);
|
|
1242
1340
|
}
|
|
1243
1341
|
/**
|
|
1244
|
-
* Queries
|
|
1342
|
+
* Queries all regions supported by Anti-DDoS Origin Enterprise.
|
|
1245
1343
|
*
|
|
1246
1344
|
* @param request - DescribeRegionsRequest
|
|
1247
1345
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1273,7 +1371,7 @@ class Client extends openapi_core_1.default {
|
|
|
1273
1371
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRegionsResponse({}));
|
|
1274
1372
|
}
|
|
1275
1373
|
/**
|
|
1276
|
-
* Queries
|
|
1374
|
+
* Queries all regions supported by Anti-DDoS Origin Enterprise.
|
|
1277
1375
|
*
|
|
1278
1376
|
* @param request - DescribeRegionsRequest
|
|
1279
1377
|
* @returns DescribeRegionsResponse
|
|
@@ -1283,13 +1381,13 @@ class Client extends openapi_core_1.default {
|
|
|
1283
1381
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
1284
1382
|
}
|
|
1285
1383
|
/**
|
|
1286
|
-
* Queries traffic statistics of
|
|
1384
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time period.
|
|
1287
1385
|
*
|
|
1288
1386
|
* @remarks
|
|
1289
|
-
*
|
|
1290
|
-
* >
|
|
1291
|
-
*
|
|
1292
|
-
*
|
|
1387
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time range.
|
|
1388
|
+
* > When calling this operation, you must set the **InstanceId** parameter to specify the Anti-DDoS Origin instance to query.
|
|
1389
|
+
* ### QPS limit
|
|
1390
|
+
* 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
1391
|
*
|
|
1294
1392
|
* @param request - DescribeTrafficRequest
|
|
1295
1393
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1342,13 +1440,13 @@ class Client extends openapi_core_1.default {
|
|
|
1342
1440
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTrafficResponse({}));
|
|
1343
1441
|
}
|
|
1344
1442
|
/**
|
|
1345
|
-
* Queries traffic statistics of
|
|
1443
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time period.
|
|
1346
1444
|
*
|
|
1347
1445
|
* @remarks
|
|
1348
|
-
*
|
|
1349
|
-
* >
|
|
1350
|
-
*
|
|
1351
|
-
*
|
|
1446
|
+
* Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time range.
|
|
1447
|
+
* > When calling this operation, you must set the **InstanceId** parameter to specify the Anti-DDoS Origin instance to query.
|
|
1448
|
+
* ### QPS limit
|
|
1449
|
+
* 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
1450
|
*
|
|
1353
1451
|
* @param request - DescribeTrafficRequest
|
|
1354
1452
|
* @returns DescribeTrafficResponse
|
|
@@ -1358,7 +1456,7 @@ class Client extends openapi_core_1.default {
|
|
|
1358
1456
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
1359
1457
|
}
|
|
1360
1458
|
/**
|
|
1361
|
-
*
|
|
1459
|
+
* Dissociates a mitigation policy from a protected object.
|
|
1362
1460
|
*
|
|
1363
1461
|
* @param tmpReq - DetachFromPolicyRequest
|
|
1364
1462
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1398,7 +1496,7 @@ class Client extends openapi_core_1.default {
|
|
|
1398
1496
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachFromPolicyResponse({}));
|
|
1399
1497
|
}
|
|
1400
1498
|
/**
|
|
1401
|
-
*
|
|
1499
|
+
* Dissociates a mitigation policy from a protected object.
|
|
1402
1500
|
*
|
|
1403
1501
|
* @param request - DetachFromPolicyRequest
|
|
1404
1502
|
* @returns DetachFromPolicyResponse
|
|
@@ -1458,7 +1556,7 @@ class Client extends openapi_core_1.default {
|
|
|
1458
1556
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
1459
1557
|
}
|
|
1460
1558
|
/**
|
|
1461
|
-
* Queries
|
|
1559
|
+
* Queries the activation status of Simple Log Service for the current Alibaba Cloud account.
|
|
1462
1560
|
*
|
|
1463
1561
|
* @param request - GetSlsOpenStatusRequest
|
|
1464
1562
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1490,7 +1588,7 @@ class Client extends openapi_core_1.default {
|
|
|
1490
1588
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSlsOpenStatusResponse({}));
|
|
1491
1589
|
}
|
|
1492
1590
|
/**
|
|
1493
|
-
* Queries
|
|
1591
|
+
* Queries the activation status of Simple Log Service for the current Alibaba Cloud account.
|
|
1494
1592
|
*
|
|
1495
1593
|
* @param request - GetSlsOpenStatusRequest
|
|
1496
1594
|
* @returns GetSlsOpenStatusResponse
|
|
@@ -1500,7 +1598,7 @@ class Client extends openapi_core_1.default {
|
|
|
1500
1598
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
1501
1599
|
}
|
|
1502
1600
|
/**
|
|
1503
|
-
* Queries
|
|
1601
|
+
* Queries Anti-DDoS Origin instances that have log analysis enabled.
|
|
1504
1602
|
*
|
|
1505
1603
|
* @param request - ListOpenedAccessLogInstancesRequest
|
|
1506
1604
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1535,7 +1633,7 @@ class Client extends openapi_core_1.default {
|
|
|
1535
1633
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOpenedAccessLogInstancesResponse({}));
|
|
1536
1634
|
}
|
|
1537
1635
|
/**
|
|
1538
|
-
* Queries
|
|
1636
|
+
* Queries Anti-DDoS Origin instances that have log analysis enabled.
|
|
1539
1637
|
*
|
|
1540
1638
|
* @param request - ListOpenedAccessLogInstancesRequest
|
|
1541
1639
|
* @returns ListOpenedAccessLogInstancesResponse
|
|
@@ -1596,7 +1694,7 @@ class Client extends openapi_core_1.default {
|
|
|
1596
1694
|
return await this.listPolicyWithOptions(request, runtime);
|
|
1597
1695
|
}
|
|
1598
1696
|
/**
|
|
1599
|
-
* Queries
|
|
1697
|
+
* Queries the associations of mitigation policies.
|
|
1600
1698
|
*
|
|
1601
1699
|
* @param tmpReq - ListPolicyAttachmentRequest
|
|
1602
1700
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1645,7 +1743,7 @@ class Client extends openapi_core_1.default {
|
|
|
1645
1743
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPolicyAttachmentResponse({}));
|
|
1646
1744
|
}
|
|
1647
1745
|
/**
|
|
1648
|
-
* Queries
|
|
1746
|
+
* Queries the associations of mitigation policies.
|
|
1649
1747
|
*
|
|
1650
1748
|
* @param request - ListPolicyAttachmentRequest
|
|
1651
1749
|
* @returns ListPolicyAttachmentResponse
|
|
@@ -1832,10 +1930,10 @@ class Client extends openapi_core_1.default {
|
|
|
1832
1930
|
return await this.modifyPolicyWithOptions(request, runtime);
|
|
1833
1931
|
}
|
|
1834
1932
|
/**
|
|
1835
|
-
* Modifies the content of
|
|
1933
|
+
* Modifies the content of a mitigation policy.
|
|
1836
1934
|
*
|
|
1837
1935
|
* @remarks
|
|
1838
|
-
* Make sure that all
|
|
1936
|
+
* Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
|
|
1839
1937
|
*
|
|
1840
1938
|
* @param tmpReq - ModifyPolicyContentRequest
|
|
1841
1939
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1878,10 +1976,10 @@ class Client extends openapi_core_1.default {
|
|
|
1878
1976
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPolicyContentResponse({}));
|
|
1879
1977
|
}
|
|
1880
1978
|
/**
|
|
1881
|
-
* Modifies the content of
|
|
1979
|
+
* Modifies the content of a mitigation policy.
|
|
1882
1980
|
*
|
|
1883
1981
|
* @remarks
|
|
1884
|
-
* Make sure that all
|
|
1982
|
+
* Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
|
|
1885
1983
|
*
|
|
1886
1984
|
* @param request - ModifyPolicyContentRequest
|
|
1887
1985
|
* @returns ModifyPolicyContentResponse
|
|
@@ -1891,12 +1989,12 @@ class Client extends openapi_core_1.default {
|
|
|
1891
1989
|
return await this.modifyPolicyContentWithOptions(request, runtime);
|
|
1892
1990
|
}
|
|
1893
1991
|
/**
|
|
1894
|
-
*
|
|
1992
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
1895
1993
|
*
|
|
1896
1994
|
* @remarks
|
|
1897
|
-
*
|
|
1898
|
-
* ###
|
|
1899
|
-
*
|
|
1995
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
1996
|
+
* ### QPS limit
|
|
1997
|
+
* 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
1998
|
*
|
|
1901
1999
|
* @param request - ModifyRemarkRequest
|
|
1902
2000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1934,12 +2032,12 @@ class Client extends openapi_core_1.default {
|
|
|
1934
2032
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyRemarkResponse({}));
|
|
1935
2033
|
}
|
|
1936
2034
|
/**
|
|
1937
|
-
*
|
|
2035
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
1938
2036
|
*
|
|
1939
2037
|
* @remarks
|
|
1940
|
-
*
|
|
1941
|
-
* ###
|
|
1942
|
-
*
|
|
2038
|
+
* Sets a remark for a single Anti-DDoS Origin instance.
|
|
2039
|
+
* ### QPS limit
|
|
2040
|
+
* 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
2041
|
*
|
|
1944
2042
|
* @param request - ModifyRemarkRequest
|
|
1945
2043
|
* @returns ModifyRemarkResponse
|