@alicloud/ddosbgp20180720 2.0.1 → 2.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 CHANGED
@@ -32,11 +32,69 @@ export declare class AddIpResponseBody extends $tea.Model {
32
32
  });
33
33
  }
34
34
  export declare class AddIpResponse extends $tea.Model {
35
- headers: {
35
+ headers?: {
36
36
  [key: string]: string;
37
37
  };
38
- statusCode: number;
39
- body: AddIpResponseBody;
38
+ statusCode?: number;
39
+ body?: AddIpResponseBody;
40
+ static names(): {
41
+ [key: string]: string;
42
+ };
43
+ static types(): {
44
+ [key: string]: any;
45
+ };
46
+ constructor(map?: {
47
+ [key: string]: any;
48
+ });
49
+ }
50
+ export declare class AttachAssetGroupToInstanceRequest extends $tea.Model {
51
+ assetGroupList?: AttachAssetGroupToInstanceRequestAssetGroupList[];
52
+ instanceId?: string;
53
+ regionId?: string;
54
+ sourceIp?: string;
55
+ static names(): {
56
+ [key: string]: string;
57
+ };
58
+ static types(): {
59
+ [key: string]: any;
60
+ };
61
+ constructor(map?: {
62
+ [key: string]: any;
63
+ });
64
+ }
65
+ export declare class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
66
+ assetGroupListShrink?: string;
67
+ instanceId?: string;
68
+ regionId?: string;
69
+ sourceIp?: string;
70
+ static names(): {
71
+ [key: string]: string;
72
+ };
73
+ static types(): {
74
+ [key: string]: any;
75
+ };
76
+ constructor(map?: {
77
+ [key: string]: any;
78
+ });
79
+ }
80
+ export declare class AttachAssetGroupToInstanceResponseBody extends $tea.Model {
81
+ requestId?: string;
82
+ static names(): {
83
+ [key: string]: string;
84
+ };
85
+ static types(): {
86
+ [key: string]: any;
87
+ };
88
+ constructor(map?: {
89
+ [key: string]: any;
90
+ });
91
+ }
92
+ export declare class AttachAssetGroupToInstanceResponse extends $tea.Model {
93
+ headers?: {
94
+ [key: string]: string;
95
+ };
96
+ statusCode?: number;
97
+ body?: AttachAssetGroupToInstanceResponseBody;
40
98
  static names(): {
41
99
  [key: string]: string;
42
100
  };
@@ -74,11 +132,11 @@ export declare class CheckAccessLogAuthResponseBody extends $tea.Model {
74
132
  });
75
133
  }
76
134
  export declare class CheckAccessLogAuthResponse extends $tea.Model {
77
- headers: {
135
+ headers?: {
78
136
  [key: string]: string;
79
137
  };
80
- statusCode: number;
81
- body: CheckAccessLogAuthResponseBody;
138
+ statusCode?: number;
139
+ body?: CheckAccessLogAuthResponseBody;
82
140
  static names(): {
83
141
  [key: string]: string;
84
142
  };
@@ -117,11 +175,11 @@ export declare class CheckGrantResponseBody extends $tea.Model {
117
175
  });
118
176
  }
119
177
  export declare class CheckGrantResponse extends $tea.Model {
120
- headers: {
178
+ headers?: {
121
179
  [key: string]: string;
122
180
  };
123
- statusCode: number;
124
- body: CheckGrantResponseBody;
181
+ statusCode?: number;
182
+ body?: CheckGrantResponseBody;
125
183
  static names(): {
126
184
  [key: string]: string;
127
185
  };
@@ -168,11 +226,11 @@ export declare class ConfigSchedruleOnDemandResponseBody extends $tea.Model {
168
226
  });
169
227
  }
170
228
  export declare class ConfigSchedruleOnDemandResponse extends $tea.Model {
171
- headers: {
229
+ headers?: {
172
230
  [key: string]: string;
173
231
  };
174
- statusCode: number;
175
- body: ConfigSchedruleOnDemandResponseBody;
232
+ statusCode?: number;
233
+ body?: ConfigSchedruleOnDemandResponseBody;
176
234
  static names(): {
177
235
  [key: string]: string;
178
236
  };
@@ -219,11 +277,11 @@ export declare class CreateSchedruleOnDemandResponseBody extends $tea.Model {
219
277
  });
220
278
  }
221
279
  export declare class CreateSchedruleOnDemandResponse extends $tea.Model {
222
- headers: {
280
+ headers?: {
223
281
  [key: string]: string;
224
282
  };
225
- statusCode: number;
226
- body: CreateSchedruleOnDemandResponseBody;
283
+ statusCode?: number;
284
+ body?: CreateSchedruleOnDemandResponseBody;
227
285
  static names(): {
228
286
  [key: string]: string;
229
287
  };
@@ -262,11 +320,11 @@ export declare class DeleteBlackholeResponseBody extends $tea.Model {
262
320
  });
263
321
  }
264
322
  export declare class DeleteBlackholeResponse extends $tea.Model {
265
- headers: {
323
+ headers?: {
266
324
  [key: string]: string;
267
325
  };
268
- statusCode: number;
269
- body: DeleteBlackholeResponseBody;
326
+ statusCode?: number;
327
+ body?: DeleteBlackholeResponseBody;
270
328
  static names(): {
271
329
  [key: string]: string;
272
330
  };
@@ -305,11 +363,11 @@ export declare class DeleteIpResponseBody extends $tea.Model {
305
363
  });
306
364
  }
307
365
  export declare class DeleteIpResponse extends $tea.Model {
308
- headers: {
366
+ headers?: {
309
367
  [key: string]: string;
310
368
  };
311
- statusCode: number;
312
- body: DeleteIpResponseBody;
369
+ statusCode?: number;
370
+ body?: DeleteIpResponseBody;
313
371
  static names(): {
314
372
  [key: string]: string;
315
373
  };
@@ -347,11 +405,105 @@ export declare class DeleteSchedruleOnDemandResponseBody extends $tea.Model {
347
405
  });
348
406
  }
349
407
  export declare class DeleteSchedruleOnDemandResponse extends $tea.Model {
350
- headers: {
408
+ headers?: {
409
+ [key: string]: string;
410
+ };
411
+ statusCode?: number;
412
+ body?: DeleteSchedruleOnDemandResponseBody;
413
+ static names(): {
414
+ [key: string]: string;
415
+ };
416
+ static types(): {
417
+ [key: string]: any;
418
+ };
419
+ constructor(map?: {
420
+ [key: string]: any;
421
+ });
422
+ }
423
+ export declare class DescribeAssetGroupRequest extends $tea.Model {
424
+ name?: string;
425
+ region?: string;
426
+ regionId?: string;
427
+ sourceIp?: string;
428
+ type?: string;
429
+ static names(): {
430
+ [key: string]: string;
431
+ };
432
+ static types(): {
433
+ [key: string]: any;
434
+ };
435
+ constructor(map?: {
436
+ [key: string]: any;
437
+ });
438
+ }
439
+ export declare class DescribeAssetGroupResponseBody extends $tea.Model {
440
+ assetGroupList?: DescribeAssetGroupResponseBodyAssetGroupList[];
441
+ requestId?: string;
442
+ total?: number;
443
+ static names(): {
444
+ [key: string]: string;
445
+ };
446
+ static types(): {
447
+ [key: string]: any;
448
+ };
449
+ constructor(map?: {
450
+ [key: string]: any;
451
+ });
452
+ }
453
+ export declare class DescribeAssetGroupResponse extends $tea.Model {
454
+ headers?: {
455
+ [key: string]: string;
456
+ };
457
+ statusCode?: number;
458
+ body?: DescribeAssetGroupResponseBody;
459
+ static names(): {
460
+ [key: string]: string;
461
+ };
462
+ static types(): {
463
+ [key: string]: any;
464
+ };
465
+ constructor(map?: {
466
+ [key: string]: any;
467
+ });
468
+ }
469
+ export declare class DescribeAssetGroupToInstanceRequest extends $tea.Model {
470
+ instanceId?: string;
471
+ memberUid?: string;
472
+ name?: string;
473
+ region?: string;
474
+ regionId?: string;
475
+ sourceIp?: string;
476
+ type?: string;
477
+ static names(): {
478
+ [key: string]: string;
479
+ };
480
+ static types(): {
481
+ [key: string]: any;
482
+ };
483
+ constructor(map?: {
484
+ [key: string]: any;
485
+ });
486
+ }
487
+ export declare class DescribeAssetGroupToInstanceResponseBody extends $tea.Model {
488
+ dataList?: DescribeAssetGroupToInstanceResponseBodyDataList[];
489
+ requestId?: string;
490
+ total?: number;
491
+ static names(): {
492
+ [key: string]: string;
493
+ };
494
+ static types(): {
495
+ [key: string]: any;
496
+ };
497
+ constructor(map?: {
498
+ [key: string]: any;
499
+ });
500
+ }
501
+ export declare class DescribeAssetGroupToInstanceResponse extends $tea.Model {
502
+ headers?: {
351
503
  [key: string]: string;
352
504
  };
353
- statusCode: number;
354
- body: DeleteSchedruleOnDemandResponseBody;
505
+ statusCode?: number;
506
+ body?: DescribeAssetGroupToInstanceResponseBody;
355
507
  static names(): {
356
508
  [key: string]: string;
357
509
  };
@@ -396,11 +548,11 @@ export declare class DescribeDdosEventResponseBody extends $tea.Model {
396
548
  });
397
549
  }
398
550
  export declare class DescribeDdosEventResponse extends $tea.Model {
399
- headers: {
551
+ headers?: {
400
552
  [key: string]: string;
401
553
  };
402
- statusCode: number;
403
- body: DescribeDdosEventResponseBody;
554
+ statusCode?: number;
555
+ body?: DescribeDdosEventResponseBody;
404
556
  static names(): {
405
557
  [key: string]: string;
406
558
  };
@@ -439,11 +591,11 @@ export declare class DescribeExcpetionCountResponseBody extends $tea.Model {
439
591
  });
440
592
  }
441
593
  export declare class DescribeExcpetionCountResponse extends $tea.Model {
442
- headers: {
594
+ headers?: {
443
595
  [key: string]: string;
444
596
  };
445
- statusCode: number;
446
- body: DescribeExcpetionCountResponseBody;
597
+ statusCode?: number;
598
+ body?: DescribeExcpetionCountResponseBody;
447
599
  static names(): {
448
600
  [key: string]: string;
449
601
  };
@@ -493,11 +645,11 @@ export declare class DescribeInstanceListResponseBody extends $tea.Model {
493
645
  });
494
646
  }
495
647
  export declare class DescribeInstanceListResponse extends $tea.Model {
496
- headers: {
648
+ headers?: {
497
649
  [key: string]: string;
498
650
  };
499
- statusCode: number;
500
- body: DescribeInstanceListResponseBody;
651
+ statusCode?: number;
652
+ body?: DescribeInstanceListResponseBody;
501
653
  static names(): {
502
654
  [key: string]: string;
503
655
  };
@@ -536,11 +688,11 @@ export declare class DescribeInstanceSpecsResponseBody extends $tea.Model {
536
688
  });
537
689
  }
538
690
  export declare class DescribeInstanceSpecsResponse extends $tea.Model {
539
- headers: {
691
+ headers?: {
540
692
  [key: string]: string;
541
693
  };
542
- statusCode: number;
543
- body: DescribeInstanceSpecsResponseBody;
694
+ statusCode?: number;
695
+ body?: DescribeInstanceSpecsResponseBody;
544
696
  static names(): {
545
697
  [key: string]: string;
546
698
  };
@@ -585,11 +737,11 @@ export declare class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
585
737
  });
586
738
  }
587
739
  export declare class DescribeOnDemandDdosEventResponse extends $tea.Model {
588
- headers: {
740
+ headers?: {
589
741
  [key: string]: string;
590
742
  };
591
- statusCode: number;
592
- body: DescribeOnDemandDdosEventResponseBody;
743
+ statusCode?: number;
744
+ body?: DescribeOnDemandDdosEventResponseBody;
593
745
  static names(): {
594
746
  [key: string]: string;
595
747
  };
@@ -627,11 +779,11 @@ export declare class DescribeOnDemandInstanceStatusResponseBody extends $tea.Mod
627
779
  });
628
780
  }
629
781
  export declare class DescribeOnDemandInstanceStatusResponse extends $tea.Model {
630
- headers: {
782
+ headers?: {
631
783
  [key: string]: string;
632
784
  };
633
- statusCode: number;
634
- body: DescribeOnDemandInstanceStatusResponseBody;
785
+ statusCode?: number;
786
+ body?: DescribeOnDemandInstanceStatusResponseBody;
635
787
  static names(): {
636
788
  [key: string]: string;
637
789
  };
@@ -677,11 +829,11 @@ export declare class DescribeOpEntitiesResponseBody extends $tea.Model {
677
829
  });
678
830
  }
679
831
  export declare class DescribeOpEntitiesResponse extends $tea.Model {
680
- headers: {
832
+ headers?: {
681
833
  [key: string]: string;
682
834
  };
683
- statusCode: number;
684
- body: DescribeOpEntitiesResponseBody;
835
+ statusCode?: number;
836
+ body?: DescribeOpEntitiesResponseBody;
685
837
  static names(): {
686
838
  [key: string]: string;
687
839
  };
@@ -728,11 +880,11 @@ export declare class DescribePackIpListResponseBody extends $tea.Model {
728
880
  });
729
881
  }
730
882
  export declare class DescribePackIpListResponse extends $tea.Model {
731
- headers: {
883
+ headers?: {
732
884
  [key: string]: string;
733
885
  };
734
- statusCode: number;
735
- body: DescribePackIpListResponseBody;
886
+ statusCode?: number;
887
+ body?: DescribePackIpListResponseBody;
736
888
  static names(): {
737
889
  [key: string]: string;
738
890
  };
@@ -772,11 +924,11 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
772
924
  });
773
925
  }
774
926
  export declare class DescribeRegionsResponse extends $tea.Model {
775
- headers: {
927
+ headers?: {
776
928
  [key: string]: string;
777
929
  };
778
- statusCode: number;
779
- body: DescribeRegionsResponseBody;
930
+ statusCode?: number;
931
+ body?: DescribeRegionsResponseBody;
780
932
  static names(): {
781
933
  [key: string]: string;
782
934
  };
@@ -821,11 +973,69 @@ export declare class DescribeTrafficResponseBody extends $tea.Model {
821
973
  });
822
974
  }
823
975
  export declare class DescribeTrafficResponse extends $tea.Model {
824
- headers: {
976
+ headers?: {
825
977
  [key: string]: string;
826
978
  };
827
- statusCode: number;
828
- body: DescribeTrafficResponseBody;
979
+ statusCode?: number;
980
+ body?: DescribeTrafficResponseBody;
981
+ static names(): {
982
+ [key: string]: string;
983
+ };
984
+ static types(): {
985
+ [key: string]: any;
986
+ };
987
+ constructor(map?: {
988
+ [key: string]: any;
989
+ });
990
+ }
991
+ export declare class DettachAssetGroupToInstanceRequest extends $tea.Model {
992
+ assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
993
+ instanceId?: string;
994
+ regionId?: string;
995
+ sourceIp?: string;
996
+ static names(): {
997
+ [key: string]: string;
998
+ };
999
+ static types(): {
1000
+ [key: string]: any;
1001
+ };
1002
+ constructor(map?: {
1003
+ [key: string]: any;
1004
+ });
1005
+ }
1006
+ export declare class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
1007
+ assetGroupListShrink?: string;
1008
+ instanceId?: string;
1009
+ regionId?: string;
1010
+ sourceIp?: string;
1011
+ static names(): {
1012
+ [key: string]: string;
1013
+ };
1014
+ static types(): {
1015
+ [key: string]: any;
1016
+ };
1017
+ constructor(map?: {
1018
+ [key: string]: any;
1019
+ });
1020
+ }
1021
+ export declare class DettachAssetGroupToInstanceResponseBody extends $tea.Model {
1022
+ requestId?: string;
1023
+ static names(): {
1024
+ [key: string]: string;
1025
+ };
1026
+ static types(): {
1027
+ [key: string]: any;
1028
+ };
1029
+ constructor(map?: {
1030
+ [key: string]: any;
1031
+ });
1032
+ }
1033
+ export declare class DettachAssetGroupToInstanceResponse extends $tea.Model {
1034
+ headers?: {
1035
+ [key: string]: string;
1036
+ };
1037
+ statusCode?: number;
1038
+ body?: DettachAssetGroupToInstanceResponseBody;
829
1039
  static names(): {
830
1040
  [key: string]: string;
831
1041
  };
@@ -863,11 +1073,11 @@ export declare class GetSlsOpenStatusResponseBody extends $tea.Model {
863
1073
  });
864
1074
  }
865
1075
  export declare class GetSlsOpenStatusResponse extends $tea.Model {
866
- headers: {
1076
+ headers?: {
867
1077
  [key: string]: string;
868
1078
  };
869
- statusCode: number;
870
- body: GetSlsOpenStatusResponseBody;
1079
+ statusCode?: number;
1080
+ body?: GetSlsOpenStatusResponseBody;
871
1081
  static names(): {
872
1082
  [key: string]: string;
873
1083
  };
@@ -907,11 +1117,11 @@ export declare class ListOpenedAccessLogInstancesResponseBody extends $tea.Model
907
1117
  });
908
1118
  }
909
1119
  export declare class ListOpenedAccessLogInstancesResponse extends $tea.Model {
910
- headers: {
1120
+ headers?: {
911
1121
  [key: string]: string;
912
1122
  };
913
- statusCode: number;
914
- body: ListOpenedAccessLogInstancesResponseBody;
1123
+ statusCode?: number;
1124
+ body?: ListOpenedAccessLogInstancesResponseBody;
915
1125
  static names(): {
916
1126
  [key: string]: string;
917
1127
  };
@@ -955,11 +1165,11 @@ export declare class ListTagKeysResponseBody extends $tea.Model {
955
1165
  });
956
1166
  }
957
1167
  export declare class ListTagKeysResponse extends $tea.Model {
958
- headers: {
1168
+ headers?: {
959
1169
  [key: string]: string;
960
1170
  };
961
- statusCode: number;
962
- body: ListTagKeysResponseBody;
1171
+ statusCode?: number;
1172
+ body?: ListTagKeysResponseBody;
963
1173
  static names(): {
964
1174
  [key: string]: string;
965
1175
  };
@@ -1002,11 +1212,11 @@ export declare class ListTagResourcesResponseBody extends $tea.Model {
1002
1212
  });
1003
1213
  }
1004
1214
  export declare class ListTagResourcesResponse extends $tea.Model {
1005
- headers: {
1215
+ headers?: {
1006
1216
  [key: string]: string;
1007
1217
  };
1008
- statusCode: number;
1009
- body: ListTagResourcesResponseBody;
1218
+ statusCode?: number;
1219
+ body?: ListTagResourcesResponseBody;
1010
1220
  static names(): {
1011
1221
  [key: string]: string;
1012
1222
  };
@@ -1045,11 +1255,11 @@ export declare class ModifyRemarkResponseBody extends $tea.Model {
1045
1255
  });
1046
1256
  }
1047
1257
  export declare class ModifyRemarkResponse extends $tea.Model {
1048
- headers: {
1258
+ headers?: {
1049
1259
  [key: string]: string;
1050
1260
  };
1051
- statusCode: number;
1052
- body: ModifyRemarkResponseBody;
1261
+ statusCode?: number;
1262
+ body?: ModifyRemarkResponseBody;
1053
1263
  static names(): {
1054
1264
  [key: string]: string;
1055
1265
  };
@@ -1090,11 +1300,11 @@ export declare class QuerySchedruleOnDemandResponseBody extends $tea.Model {
1090
1300
  });
1091
1301
  }
1092
1302
  export declare class QuerySchedruleOnDemandResponse extends $tea.Model {
1093
- headers: {
1303
+ headers?: {
1094
1304
  [key: string]: string;
1095
1305
  };
1096
- statusCode: number;
1097
- body: QuerySchedruleOnDemandResponseBody;
1306
+ statusCode?: number;
1307
+ body?: QuerySchedruleOnDemandResponseBody;
1098
1308
  static names(): {
1099
1309
  [key: string]: string;
1100
1310
  };
@@ -1132,11 +1342,11 @@ export declare class SetInstanceModeOnDemandResponseBody extends $tea.Model {
1132
1342
  });
1133
1343
  }
1134
1344
  export declare class SetInstanceModeOnDemandResponse extends $tea.Model {
1135
- headers: {
1345
+ headers?: {
1136
1346
  [key: string]: string;
1137
1347
  };
1138
- statusCode: number;
1139
- body: SetInstanceModeOnDemandResponseBody;
1348
+ statusCode?: number;
1349
+ body?: SetInstanceModeOnDemandResponseBody;
1140
1350
  static names(): {
1141
1351
  [key: string]: string;
1142
1352
  };
@@ -1176,11 +1386,11 @@ export declare class TagResourcesResponseBody extends $tea.Model {
1176
1386
  });
1177
1387
  }
1178
1388
  export declare class TagResourcesResponse extends $tea.Model {
1179
- headers: {
1389
+ headers?: {
1180
1390
  [key: string]: string;
1181
1391
  };
1182
- statusCode: number;
1183
- body: TagResourcesResponseBody;
1392
+ statusCode?: number;
1393
+ body?: TagResourcesResponseBody;
1184
1394
  static names(): {
1185
1395
  [key: string]: string;
1186
1396
  };
@@ -1221,11 +1431,56 @@ export declare class UntagResourcesResponseBody extends $tea.Model {
1221
1431
  });
1222
1432
  }
1223
1433
  export declare class UntagResourcesResponse extends $tea.Model {
1224
- headers: {
1434
+ headers?: {
1435
+ [key: string]: string;
1436
+ };
1437
+ statusCode?: number;
1438
+ body?: UntagResourcesResponseBody;
1439
+ static names(): {
1440
+ [key: string]: string;
1441
+ };
1442
+ static types(): {
1443
+ [key: string]: any;
1444
+ };
1445
+ constructor(map?: {
1446
+ [key: string]: any;
1447
+ });
1448
+ }
1449
+ export declare class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
1450
+ memberUid?: string;
1451
+ name?: string;
1452
+ region?: string;
1453
+ type?: string;
1454
+ static names(): {
1225
1455
  [key: string]: string;
1226
1456
  };
1227
- statusCode: number;
1228
- body: UntagResourcesResponseBody;
1457
+ static types(): {
1458
+ [key: string]: any;
1459
+ };
1460
+ constructor(map?: {
1461
+ [key: string]: any;
1462
+ });
1463
+ }
1464
+ export declare class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
1465
+ name?: string;
1466
+ region?: string;
1467
+ type?: string;
1468
+ static names(): {
1469
+ [key: string]: string;
1470
+ };
1471
+ static types(): {
1472
+ [key: string]: any;
1473
+ };
1474
+ constructor(map?: {
1475
+ [key: string]: any;
1476
+ });
1477
+ }
1478
+ export declare class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
1479
+ instanceId?: string;
1480
+ memberUid?: string;
1481
+ name?: string;
1482
+ region?: string;
1483
+ type?: string;
1229
1484
  static names(): {
1230
1485
  [key: string]: string;
1231
1486
  };
@@ -1266,9 +1521,23 @@ export declare class DescribeInstanceListRequestTag extends $tea.Model {
1266
1521
  [key: string]: any;
1267
1522
  });
1268
1523
  }
1524
+ export declare class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
1525
+ events?: string[];
1526
+ static names(): {
1527
+ [key: string]: string;
1528
+ };
1529
+ static types(): {
1530
+ [key: string]: any;
1531
+ };
1532
+ constructor(map?: {
1533
+ [key: string]: any;
1534
+ });
1535
+ }
1269
1536
  export declare class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
1537
+ autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
1270
1538
  autoRenewal?: boolean;
1271
1539
  blackholdingCount?: string;
1540
+ commodityType?: string;
1272
1541
  coverageType?: number;
1273
1542
  expireTime?: number;
1274
1543
  gmtCreate?: number;
@@ -1310,6 +1579,7 @@ export declare class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig ex
1310
1579
  export declare class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
1311
1580
  availableDefenseTimes?: number;
1312
1581
  availableDeleteBlackholeCount?: string;
1582
+ defenseTimesPercent?: number;
1313
1583
  instanceId?: string;
1314
1584
  isFullDefenseMode?: number;
1315
1585
  packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
@@ -1380,6 +1650,7 @@ export declare class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model
1380
1650
  export declare class DescribePackIpListResponseBodyIpList extends $tea.Model {
1381
1651
  ip?: string;
1382
1652
  memberUid?: string;
1653
+ nsmStatus?: number;
1383
1654
  product?: string;
1384
1655
  region?: string;
1385
1656
  remark?: string;
@@ -1426,6 +1697,20 @@ export declare class DescribeTrafficResponseBodyFlowList extends $tea.Model {
1426
1697
  [key: string]: any;
1427
1698
  });
1428
1699
  }
1700
+ export declare class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
1701
+ name?: string;
1702
+ region?: string;
1703
+ type?: string;
1704
+ static names(): {
1705
+ [key: string]: string;
1706
+ };
1707
+ static types(): {
1708
+ [key: string]: any;
1709
+ };
1710
+ constructor(map?: {
1711
+ [key: string]: any;
1712
+ });
1713
+ }
1429
1714
  export declare class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
1430
1715
  enable?: boolean;
1431
1716
  instanceId?: string;
@@ -1546,12 +1831,14 @@ export default class Client extends OpenApi {
1546
1831
  }, endpoint: string): string;
1547
1832
  addIpWithOptions(request: AddIpRequest, runtime: $Util.RuntimeOptions): Promise<AddIpResponse>;
1548
1833
  addIp(request: AddIpRequest): Promise<AddIpResponse>;
1834
+ attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse>;
1835
+ attachAssetGroupToInstance(request: AttachAssetGroupToInstanceRequest): Promise<AttachAssetGroupToInstanceResponse>;
1549
1836
  checkAccessLogAuthWithOptions(request: CheckAccessLogAuthRequest, runtime: $Util.RuntimeOptions): Promise<CheckAccessLogAuthResponse>;
1550
1837
  checkAccessLogAuth(request: CheckAccessLogAuthRequest): Promise<CheckAccessLogAuthResponse>;
1551
1838
  /**
1552
- * Indicates whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account. Valid values:
1553
- * * **1**: Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
1554
- * * **0**: Anti-DDoS Origin is not authorized to obtain information about the assets within the current Alibaba Cloud account.
1839
+ * You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
1840
+ * ### Limits
1841
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1555
1842
  *
1556
1843
  * @param request CheckGrantRequest
1557
1844
  * @param runtime runtime options for this request RuntimeOptions
@@ -1559,9 +1846,9 @@ export default class Client extends OpenApi {
1559
1846
  */
1560
1847
  checkGrantWithOptions(request: CheckGrantRequest, runtime: $Util.RuntimeOptions): Promise<CheckGrantResponse>;
1561
1848
  /**
1562
- * Indicates whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account. Valid values:
1563
- * * **1**: Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
1564
- * * **0**: Anti-DDoS Origin is not authorized to obtain information about the assets within the current Alibaba Cloud account.
1849
+ * You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
1850
+ * ### Limits
1851
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1565
1852
  *
1566
1853
  * @param request CheckGrantRequest
1567
1854
  * @return CheckGrantResponse
@@ -1593,8 +1880,7 @@ export default class Client extends OpenApi {
1593
1880
  */
1594
1881
  deleteBlackhole(request: DeleteBlackholeRequest): Promise<DeleteBlackholeResponse>;
1595
1882
  /**
1596
- * The ID of the Anti-DDoS Origin Enterprise instance.
1597
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
1883
+ * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
1598
1884
  *
1599
1885
  * @param request DeleteIpRequest
1600
1886
  * @param runtime runtime options for this request RuntimeOptions
@@ -1602,8 +1888,7 @@ export default class Client extends OpenApi {
1602
1888
  */
1603
1889
  deleteIpWithOptions(request: DeleteIpRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpResponse>;
1604
1890
  /**
1605
- * The ID of the Anti-DDoS Origin Enterprise instance.
1606
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
1891
+ * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
1607
1892
  *
1608
1893
  * @param request DeleteIpRequest
1609
1894
  * @return DeleteIpResponse
@@ -1611,8 +1896,14 @@ export default class Client extends OpenApi {
1611
1896
  deleteIp(request: DeleteIpRequest): Promise<DeleteIpResponse>;
1612
1897
  deleteSchedruleOnDemandWithOptions(request: DeleteSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSchedruleOnDemandResponse>;
1613
1898
  deleteSchedruleOnDemand(request: DeleteSchedruleOnDemandRequest): Promise<DeleteSchedruleOnDemandResponse>;
1899
+ describeAssetGroupWithOptions(request: DescribeAssetGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupResponse>;
1900
+ describeAssetGroup(request: DescribeAssetGroupRequest): Promise<DescribeAssetGroupResponse>;
1901
+ describeAssetGroupToInstanceWithOptions(request: DescribeAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupToInstanceResponse>;
1902
+ describeAssetGroupToInstance(request: DescribeAssetGroupToInstanceRequest): Promise<DescribeAssetGroupToInstanceResponse>;
1614
1903
  /**
1615
- * The number of entries to return on each page.
1904
+ * You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
1905
+ * ## Limits
1906
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1616
1907
  *
1617
1908
  * @param request DescribeDdosEventRequest
1618
1909
  * @param runtime runtime options for this request RuntimeOptions
@@ -1620,14 +1911,17 @@ export default class Client extends OpenApi {
1620
1911
  */
1621
1912
  describeDdosEventWithOptions(request: DescribeDdosEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosEventResponse>;
1622
1913
  /**
1623
- * The number of entries to return on each page.
1914
+ * You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
1915
+ * ## Limits
1916
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1624
1917
  *
1625
1918
  * @param request DescribeDdosEventRequest
1626
1919
  * @return DescribeDdosEventResponse
1627
1920
  */
1628
1921
  describeDdosEvent(request: DescribeDdosEventRequest): Promise<DescribeDdosEventResponse>;
1629
1922
  /**
1630
- * The operation that you want to perform. Set the value to **DescribeExcpetionCount**.
1923
+ * ## Usage notes
1924
+ * You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
1631
1925
  *
1632
1926
  * @param request DescribeExcpetionCountRequest
1633
1927
  * @param runtime runtime options for this request RuntimeOptions
@@ -1635,17 +1929,17 @@ export default class Client extends OpenApi {
1635
1929
  */
1636
1930
  describeExcpetionCountWithOptions(request: DescribeExcpetionCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeExcpetionCountResponse>;
1637
1931
  /**
1638
- * The operation that you want to perform. Set the value to **DescribeExcpetionCount**.
1932
+ * ## Usage notes
1933
+ * You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
1639
1934
  *
1640
1935
  * @param request DescribeExcpetionCountRequest
1641
1936
  * @return DescribeExcpetionCountResponse
1642
1937
  */
1643
1938
  describeExcpetionCount(request: DescribeExcpetionCountRequest): Promise<DescribeExcpetionCountResponse>;
1644
1939
  /**
1645
- * The status of the instance. Valid values:
1646
- * * **1**: normal
1647
- * * **2**: expired
1648
- * * **3**: released
1940
+ * You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
1941
+ * ## Limits
1942
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1649
1943
  *
1650
1944
  * @param request DescribeInstanceListRequest
1651
1945
  * @param runtime runtime options for this request RuntimeOptions
@@ -1653,10 +1947,9 @@ export default class Client extends OpenApi {
1653
1947
  */
1654
1948
  describeInstanceListWithOptions(request: DescribeInstanceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceListResponse>;
1655
1949
  /**
1656
- * The status of the instance. Valid values:
1657
- * * **1**: normal
1658
- * * **2**: expired
1659
- * * **3**: released
1950
+ * You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
1951
+ * ## Limits
1952
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1660
1953
  *
1661
1954
  * @param request DescribeInstanceListRequest
1662
1955
  * @return DescribeInstanceListResponse
@@ -1665,7 +1958,7 @@ export default class Client extends OpenApi {
1665
1958
  describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse>;
1666
1959
  describeInstanceSpecs(request: DescribeInstanceSpecsRequest): Promise<DescribeInstanceSpecsResponse>;
1667
1960
  /**
1668
- * The ID of the resource group.
1961
+ * > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
1669
1962
  *
1670
1963
  * @param request DescribeOnDemandDdosEventRequest
1671
1964
  * @param runtime runtime options for this request RuntimeOptions
@@ -1673,7 +1966,7 @@ export default class Client extends OpenApi {
1673
1966
  */
1674
1967
  describeOnDemandDdosEventWithOptions(request: DescribeOnDemandDdosEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOnDemandDdosEventResponse>;
1675
1968
  /**
1676
- * The ID of the resource group.
1969
+ * > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
1677
1970
  *
1678
1971
  * @param request DescribeOnDemandDdosEventRequest
1679
1972
  * @return DescribeOnDemandDdosEventResponse
@@ -1697,7 +1990,9 @@ export default class Client extends OpenApi {
1697
1990
  */
1698
1991
  describeOpEntities(request: DescribeOpEntitiesRequest): Promise<DescribeOpEntitiesResponse>;
1699
1992
  /**
1700
- * The number of entries to return on each page.
1993
+ * You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
1994
+ * ## Limits
1995
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1701
1996
  *
1702
1997
  * @param request DescribePackIpListRequest
1703
1998
  * @param runtime runtime options for this request RuntimeOptions
@@ -1705,7 +2000,9 @@ export default class Client extends OpenApi {
1705
2000
  */
1706
2001
  describePackIpListWithOptions(request: DescribePackIpListRequest, runtime: $Util.RuntimeOptions): Promise<DescribePackIpListResponse>;
1707
2002
  /**
1708
- * The number of entries to return on each page.
2003
+ * You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
2004
+ * ## Limits
2005
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1709
2006
  *
1710
2007
  * @param request DescribePackIpListRequest
1711
2008
  * @return DescribePackIpListResponse
@@ -1714,8 +2011,10 @@ export default class Client extends OpenApi {
1714
2011
  describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
1715
2012
  describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
1716
2013
  /**
1717
- * The bandwidth of attack traffic. Unit: bit/s.
1718
- * > This parameter is returned only if attack traffic exists.
2014
+ * You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
2015
+ * > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
2016
+ * ## Limits
2017
+ * You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1719
2018
  *
1720
2019
  * @param request DescribeTrafficRequest
1721
2020
  * @param runtime runtime options for this request RuntimeOptions
@@ -1723,13 +2022,17 @@ export default class Client extends OpenApi {
1723
2022
  */
1724
2023
  describeTrafficWithOptions(request: DescribeTrafficRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficResponse>;
1725
2024
  /**
1726
- * The bandwidth of attack traffic. Unit: bit/s.
1727
- * > This parameter is returned only if attack traffic exists.
2025
+ * You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
2026
+ * > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
2027
+ * ## Limits
2028
+ * You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1728
2029
  *
1729
2030
  * @param request DescribeTrafficRequest
1730
2031
  * @return DescribeTrafficResponse
1731
2032
  */
1732
2033
  describeTraffic(request: DescribeTrafficRequest): Promise<DescribeTrafficResponse>;
2034
+ dettachAssetGroupToInstanceWithOptions(tmpReq: DettachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DettachAssetGroupToInstanceResponse>;
2035
+ dettachAssetGroupToInstance(request: DettachAssetGroupToInstanceRequest): Promise<DettachAssetGroupToInstanceResponse>;
1733
2036
  getSlsOpenStatusWithOptions(request: GetSlsOpenStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSlsOpenStatusResponse>;
1734
2037
  getSlsOpenStatus(request: GetSlsOpenStatusRequest): Promise<GetSlsOpenStatusResponse>;
1735
2038
  listOpenedAccessLogInstancesWithOptions(request: ListOpenedAccessLogInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ListOpenedAccessLogInstancesResponse>;
@@ -1737,8 +2040,7 @@ export default class Client extends OpenApi {
1737
2040
  listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse>;
1738
2041
  listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
1739
2042
  /**
1740
- * The ID of the region where the Anti-DDoS Origin instance resides.
1741
- * > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
2043
+ * You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
1742
2044
  *
1743
2045
  * @param request ListTagResourcesRequest
1744
2046
  * @param runtime runtime options for this request RuntimeOptions
@@ -1746,15 +2048,16 @@ export default class Client extends OpenApi {
1746
2048
  */
1747
2049
  listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
1748
2050
  /**
1749
- * The ID of the region where the Anti-DDoS Origin instance resides.
1750
- * > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
2051
+ * You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
1751
2052
  *
1752
2053
  * @param request ListTagResourcesRequest
1753
2054
  * @return ListTagResourcesResponse
1754
2055
  */
1755
2056
  listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
1756
2057
  /**
1757
- * The operation that you want to perform. Set the value to **ModifyRemark**.
2058
+ * You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
2059
+ * ## Limits
2060
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1758
2061
  *
1759
2062
  * @param request ModifyRemarkRequest
1760
2063
  * @param runtime runtime options for this request RuntimeOptions
@@ -1762,7 +2065,9 @@ export default class Client extends OpenApi {
1762
2065
  */
1763
2066
  modifyRemarkWithOptions(request: ModifyRemarkRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRemarkResponse>;
1764
2067
  /**
1765
- * The operation that you want to perform. Set the value to **ModifyRemark**.
2068
+ * You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
2069
+ * ## Limits
2070
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1766
2071
  *
1767
2072
  * @param request ModifyRemarkRequest
1768
2073
  * @return ModifyRemarkResponse
@@ -1773,8 +2078,9 @@ export default class Client extends OpenApi {
1773
2078
  setInstanceModeOnDemandWithOptions(request: SetInstanceModeOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceModeOnDemandResponse>;
1774
2079
  setInstanceModeOnDemand(request: SetInstanceModeOnDemandRequest): Promise<SetInstanceModeOnDemandResponse>;
1775
2080
  /**
1776
- * The ID of Anti-DDoS Origin Instance N to which you want to add tags.
1777
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin instances.
2081
+ * You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
2082
+ * ## Limits
2083
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1778
2084
  *
1779
2085
  * @param request TagResourcesRequest
1780
2086
  * @param runtime runtime options for this request RuntimeOptions
@@ -1782,8 +2088,9 @@ export default class Client extends OpenApi {
1782
2088
  */
1783
2089
  tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
1784
2090
  /**
1785
- * The ID of Anti-DDoS Origin Instance N to which you want to add tags.
1786
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin instances.
2091
+ * You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
2092
+ * ## Limits
2093
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1787
2094
  *
1788
2095
  * @param request TagResourcesRequest
1789
2096
  * @return TagResourcesResponse