@alicloud/ddosbgp20180720 2.0.1 → 2.2.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/src/client.ts CHANGED
@@ -56,9 +56,9 @@ export class AddIpResponseBody extends $tea.Model {
56
56
  }
57
57
 
58
58
  export class AddIpResponse extends $tea.Model {
59
- headers: { [key: string]: string };
60
- statusCode: number;
61
- body: AddIpResponseBody;
59
+ headers?: { [key: string]: string };
60
+ statusCode?: number;
61
+ body?: AddIpResponseBody;
62
62
  static names(): { [key: string]: string } {
63
63
  return {
64
64
  headers: 'headers',
@@ -80,6 +80,106 @@ export class AddIpResponse extends $tea.Model {
80
80
  }
81
81
  }
82
82
 
83
+ export class AttachAssetGroupToInstanceRequest extends $tea.Model {
84
+ assetGroupList?: AttachAssetGroupToInstanceRequestAssetGroupList[];
85
+ instanceId?: string;
86
+ regionId?: string;
87
+ sourceIp?: string;
88
+ static names(): { [key: string]: string } {
89
+ return {
90
+ assetGroupList: 'AssetGroupList',
91
+ instanceId: 'InstanceId',
92
+ regionId: 'RegionId',
93
+ sourceIp: 'SourceIp',
94
+ };
95
+ }
96
+
97
+ static types(): { [key: string]: any } {
98
+ return {
99
+ assetGroupList: { 'type': 'array', 'itemType': AttachAssetGroupToInstanceRequestAssetGroupList },
100
+ instanceId: 'string',
101
+ regionId: 'string',
102
+ sourceIp: 'string',
103
+ };
104
+ }
105
+
106
+ constructor(map?: { [key: string]: any }) {
107
+ super(map);
108
+ }
109
+ }
110
+
111
+ export class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
112
+ assetGroupListShrink?: string;
113
+ instanceId?: string;
114
+ regionId?: string;
115
+ sourceIp?: string;
116
+ static names(): { [key: string]: string } {
117
+ return {
118
+ assetGroupListShrink: 'AssetGroupList',
119
+ instanceId: 'InstanceId',
120
+ regionId: 'RegionId',
121
+ sourceIp: 'SourceIp',
122
+ };
123
+ }
124
+
125
+ static types(): { [key: string]: any } {
126
+ return {
127
+ assetGroupListShrink: 'string',
128
+ instanceId: 'string',
129
+ regionId: 'string',
130
+ sourceIp: 'string',
131
+ };
132
+ }
133
+
134
+ constructor(map?: { [key: string]: any }) {
135
+ super(map);
136
+ }
137
+ }
138
+
139
+ export class AttachAssetGroupToInstanceResponseBody extends $tea.Model {
140
+ requestId?: string;
141
+ static names(): { [key: string]: string } {
142
+ return {
143
+ requestId: 'RequestId',
144
+ };
145
+ }
146
+
147
+ static types(): { [key: string]: any } {
148
+ return {
149
+ requestId: 'string',
150
+ };
151
+ }
152
+
153
+ constructor(map?: { [key: string]: any }) {
154
+ super(map);
155
+ }
156
+ }
157
+
158
+ export class AttachAssetGroupToInstanceResponse extends $tea.Model {
159
+ headers?: { [key: string]: string };
160
+ statusCode?: number;
161
+ body?: AttachAssetGroupToInstanceResponseBody;
162
+ static names(): { [key: string]: string } {
163
+ return {
164
+ headers: 'headers',
165
+ statusCode: 'statusCode',
166
+ body: 'body',
167
+ };
168
+ }
169
+
170
+ static types(): { [key: string]: any } {
171
+ return {
172
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
173
+ statusCode: 'number',
174
+ body: AttachAssetGroupToInstanceResponseBody,
175
+ };
176
+ }
177
+
178
+ constructor(map?: { [key: string]: any }) {
179
+ super(map);
180
+ }
181
+ }
182
+
83
183
  export class CheckAccessLogAuthRequest extends $tea.Model {
84
184
  regionId?: string;
85
185
  resourceGroupId?: string;
@@ -125,9 +225,9 @@ export class CheckAccessLogAuthResponseBody extends $tea.Model {
125
225
  }
126
226
 
127
227
  export class CheckAccessLogAuthResponse extends $tea.Model {
128
- headers: { [key: string]: string };
129
- statusCode: number;
130
- body: CheckAccessLogAuthResponseBody;
228
+ headers?: { [key: string]: string };
229
+ statusCode?: number;
230
+ body?: CheckAccessLogAuthResponseBody;
131
231
  static names(): { [key: string]: string } {
132
232
  return {
133
233
  headers: 'headers',
@@ -197,9 +297,9 @@ export class CheckGrantResponseBody extends $tea.Model {
197
297
  }
198
298
 
199
299
  export class CheckGrantResponse extends $tea.Model {
200
- headers: { [key: string]: string };
201
- statusCode: number;
202
- body: CheckGrantResponseBody;
300
+ headers?: { [key: string]: string };
301
+ statusCode?: number;
302
+ body?: CheckGrantResponseBody;
203
303
  static names(): { [key: string]: string } {
204
304
  return {
205
305
  headers: 'headers',
@@ -293,9 +393,9 @@ export class ConfigSchedruleOnDemandResponseBody extends $tea.Model {
293
393
  }
294
394
 
295
395
  export class ConfigSchedruleOnDemandResponse extends $tea.Model {
296
- headers: { [key: string]: string };
297
- statusCode: number;
298
- body: ConfigSchedruleOnDemandResponseBody;
396
+ headers?: { [key: string]: string };
397
+ statusCode?: number;
398
+ body?: ConfigSchedruleOnDemandResponseBody;
299
399
  static names(): { [key: string]: string } {
300
400
  return {
301
401
  headers: 'headers',
@@ -389,9 +489,9 @@ export class CreateSchedruleOnDemandResponseBody extends $tea.Model {
389
489
  }
390
490
 
391
491
  export class CreateSchedruleOnDemandResponse extends $tea.Model {
392
- headers: { [key: string]: string };
393
- statusCode: number;
394
- body: CreateSchedruleOnDemandResponseBody;
492
+ headers?: { [key: string]: string };
493
+ statusCode?: number;
494
+ body?: CreateSchedruleOnDemandResponseBody;
395
495
  static names(): { [key: string]: string } {
396
496
  return {
397
497
  headers: 'headers',
@@ -461,9 +561,9 @@ export class DeleteBlackholeResponseBody extends $tea.Model {
461
561
  }
462
562
 
463
563
  export class DeleteBlackholeResponse extends $tea.Model {
464
- headers: { [key: string]: string };
465
- statusCode: number;
466
- body: DeleteBlackholeResponseBody;
564
+ headers?: { [key: string]: string };
565
+ statusCode?: number;
566
+ body?: DeleteBlackholeResponseBody;
467
567
  static names(): { [key: string]: string } {
468
568
  return {
469
569
  headers: 'headers',
@@ -533,9 +633,9 @@ export class DeleteIpResponseBody extends $tea.Model {
533
633
  }
534
634
 
535
635
  export class DeleteIpResponse extends $tea.Model {
536
- headers: { [key: string]: string };
537
- statusCode: number;
538
- body: DeleteIpResponseBody;
636
+ headers?: { [key: string]: string };
637
+ statusCode?: number;
638
+ body?: DeleteIpResponseBody;
539
639
  static names(): { [key: string]: string } {
540
640
  return {
541
641
  headers: 'headers',
@@ -602,9 +702,9 @@ export class DeleteSchedruleOnDemandResponseBody extends $tea.Model {
602
702
  }
603
703
 
604
704
  export class DeleteSchedruleOnDemandResponse extends $tea.Model {
605
- headers: { [key: string]: string };
606
- statusCode: number;
607
- body: DeleteSchedruleOnDemandResponseBody;
705
+ headers?: { [key: string]: string };
706
+ statusCode?: number;
707
+ body?: DeleteSchedruleOnDemandResponseBody;
608
708
  static names(): { [key: string]: string } {
609
709
  return {
610
710
  headers: 'headers',
@@ -626,38 +726,29 @@ export class DeleteSchedruleOnDemandResponse extends $tea.Model {
626
726
  }
627
727
  }
628
728
 
629
- export class DescribeDdosEventRequest extends $tea.Model {
630
- endTime?: number;
631
- instanceId?: string;
632
- ip?: string;
633
- pageNo?: number;
634
- pageSize?: number;
729
+ export class DescribeAssetGroupRequest extends $tea.Model {
730
+ name?: string;
731
+ region?: string;
635
732
  regionId?: string;
636
- resourceGroupId?: string;
637
- startTime?: number;
733
+ sourceIp?: string;
734
+ type?: string;
638
735
  static names(): { [key: string]: string } {
639
736
  return {
640
- endTime: 'EndTime',
641
- instanceId: 'InstanceId',
642
- ip: 'Ip',
643
- pageNo: 'PageNo',
644
- pageSize: 'PageSize',
737
+ name: 'Name',
738
+ region: 'Region',
645
739
  regionId: 'RegionId',
646
- resourceGroupId: 'ResourceGroupId',
647
- startTime: 'StartTime',
740
+ sourceIp: 'SourceIp',
741
+ type: 'Type',
648
742
  };
649
743
  }
650
744
 
651
745
  static types(): { [key: string]: any } {
652
746
  return {
653
- endTime: 'number',
654
- instanceId: 'string',
655
- ip: 'string',
656
- pageNo: 'number',
657
- pageSize: 'number',
747
+ name: 'string',
748
+ region: 'string',
658
749
  regionId: 'string',
659
- resourceGroupId: 'string',
660
- startTime: 'number',
750
+ sourceIp: 'string',
751
+ type: 'string',
661
752
  };
662
753
  }
663
754
 
@@ -666,13 +757,13 @@ export class DescribeDdosEventRequest extends $tea.Model {
666
757
  }
667
758
  }
668
759
 
669
- export class DescribeDdosEventResponseBody extends $tea.Model {
670
- events?: DescribeDdosEventResponseBodyEvents[];
760
+ export class DescribeAssetGroupResponseBody extends $tea.Model {
761
+ assetGroupList?: DescribeAssetGroupResponseBodyAssetGroupList[];
671
762
  requestId?: string;
672
763
  total?: number;
673
764
  static names(): { [key: string]: string } {
674
765
  return {
675
- events: 'Events',
766
+ assetGroupList: 'AssetGroupList',
676
767
  requestId: 'RequestId',
677
768
  total: 'Total',
678
769
  };
@@ -680,7 +771,7 @@ export class DescribeDdosEventResponseBody extends $tea.Model {
680
771
 
681
772
  static types(): { [key: string]: any } {
682
773
  return {
683
- events: { 'type': 'array', 'itemType': DescribeDdosEventResponseBodyEvents },
774
+ assetGroupList: { 'type': 'array', 'itemType': DescribeAssetGroupResponseBodyAssetGroupList },
684
775
  requestId: 'string',
685
776
  total: 'number',
686
777
  };
@@ -691,10 +782,10 @@ export class DescribeDdosEventResponseBody extends $tea.Model {
691
782
  }
692
783
  }
693
784
 
694
- export class DescribeDdosEventResponse extends $tea.Model {
695
- headers: { [key: string]: string };
696
- statusCode: number;
697
- body: DescribeDdosEventResponseBody;
785
+ export class DescribeAssetGroupResponse extends $tea.Model {
786
+ headers?: { [key: string]: string };
787
+ statusCode?: number;
788
+ body?: DescribeAssetGroupResponseBody;
698
789
  static names(): { [key: string]: string } {
699
790
  return {
700
791
  headers: 'headers',
@@ -707,7 +798,7 @@ export class DescribeDdosEventResponse extends $tea.Model {
707
798
  return {
708
799
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
709
800
  statusCode: 'number',
710
- body: DescribeDdosEventResponseBody,
801
+ body: DescribeAssetGroupResponseBody,
711
802
  };
712
803
  }
713
804
 
@@ -716,20 +807,35 @@ export class DescribeDdosEventResponse extends $tea.Model {
716
807
  }
717
808
  }
718
809
 
719
- export class DescribeExcpetionCountRequest extends $tea.Model {
810
+ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
811
+ instanceId?: string;
812
+ memberUid?: string;
813
+ name?: string;
814
+ region?: string;
720
815
  regionId?: string;
721
- resourceGroupId?: string;
816
+ sourceIp?: string;
817
+ type?: string;
722
818
  static names(): { [key: string]: string } {
723
819
  return {
820
+ instanceId: 'InstanceId',
821
+ memberUid: 'MemberUid',
822
+ name: 'Name',
823
+ region: 'Region',
724
824
  regionId: 'RegionId',
725
- resourceGroupId: 'ResourceGroupId',
825
+ sourceIp: 'SourceIp',
826
+ type: 'Type',
726
827
  };
727
828
  }
728
829
 
729
830
  static types(): { [key: string]: any } {
730
831
  return {
832
+ instanceId: 'string',
833
+ memberUid: 'string',
834
+ name: 'string',
835
+ region: 'string',
731
836
  regionId: 'string',
732
- resourceGroupId: 'string',
837
+ sourceIp: 'string',
838
+ type: 'string',
733
839
  };
734
840
  }
735
841
 
@@ -738,23 +844,23 @@ export class DescribeExcpetionCountRequest extends $tea.Model {
738
844
  }
739
845
  }
740
846
 
741
- export class DescribeExcpetionCountResponseBody extends $tea.Model {
742
- exceptionIpCount?: number;
743
- expireTimeCount?: number;
847
+ export class DescribeAssetGroupToInstanceResponseBody extends $tea.Model {
848
+ dataList?: DescribeAssetGroupToInstanceResponseBodyDataList[];
744
849
  requestId?: string;
850
+ total?: number;
745
851
  static names(): { [key: string]: string } {
746
852
  return {
747
- exceptionIpCount: 'ExceptionIpCount',
748
- expireTimeCount: 'ExpireTimeCount',
853
+ dataList: 'DataList',
749
854
  requestId: 'RequestId',
855
+ total: 'Total',
750
856
  };
751
857
  }
752
858
 
753
859
  static types(): { [key: string]: any } {
754
860
  return {
755
- exceptionIpCount: 'number',
756
- expireTimeCount: 'number',
861
+ dataList: { 'type': 'array', 'itemType': DescribeAssetGroupToInstanceResponseBodyDataList },
757
862
  requestId: 'string',
863
+ total: 'number',
758
864
  };
759
865
  }
760
866
 
@@ -763,10 +869,10 @@ export class DescribeExcpetionCountResponseBody extends $tea.Model {
763
869
  }
764
870
  }
765
871
 
766
- export class DescribeExcpetionCountResponse extends $tea.Model {
767
- headers: { [key: string]: string };
768
- statusCode: number;
769
- body: DescribeExcpetionCountResponseBody;
872
+ export class DescribeAssetGroupToInstanceResponse extends $tea.Model {
873
+ headers?: { [key: string]: string };
874
+ statusCode?: number;
875
+ body?: DescribeAssetGroupToInstanceResponseBody;
770
876
  static names(): { [key: string]: string } {
771
877
  return {
772
878
  headers: 'headers',
@@ -779,7 +885,7 @@ export class DescribeExcpetionCountResponse extends $tea.Model {
779
885
  return {
780
886
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
781
887
  statusCode: 'number',
782
- body: DescribeExcpetionCountResponseBody,
888
+ body: DescribeAssetGroupToInstanceResponseBody,
783
889
  };
784
890
  }
785
891
 
@@ -788,53 +894,38 @@ export class DescribeExcpetionCountResponse extends $tea.Model {
788
894
  }
789
895
  }
790
896
 
791
- export class DescribeInstanceListRequest extends $tea.Model {
792
- instanceIdList?: string;
793
- instanceType?: string;
794
- instanceTypeList?: string[];
897
+ export class DescribeDdosEventRequest extends $tea.Model {
898
+ endTime?: number;
899
+ instanceId?: string;
795
900
  ip?: string;
796
- ipVersion?: string;
797
- orderby?: string;
798
- orderdire?: string;
799
901
  pageNo?: number;
800
902
  pageSize?: number;
801
903
  regionId?: string;
802
- remark?: string;
803
904
  resourceGroupId?: string;
804
- tag?: DescribeInstanceListRequestTag[];
905
+ startTime?: number;
805
906
  static names(): { [key: string]: string } {
806
907
  return {
807
- instanceIdList: 'InstanceIdList',
808
- instanceType: 'InstanceType',
809
- instanceTypeList: 'InstanceTypeList',
908
+ endTime: 'EndTime',
909
+ instanceId: 'InstanceId',
810
910
  ip: 'Ip',
811
- ipVersion: 'IpVersion',
812
- orderby: 'Orderby',
813
- orderdire: 'Orderdire',
814
911
  pageNo: 'PageNo',
815
912
  pageSize: 'PageSize',
816
913
  regionId: 'RegionId',
817
- remark: 'Remark',
818
914
  resourceGroupId: 'ResourceGroupId',
819
- tag: 'Tag',
915
+ startTime: 'StartTime',
820
916
  };
821
917
  }
822
918
 
823
919
  static types(): { [key: string]: any } {
824
920
  return {
825
- instanceIdList: 'string',
826
- instanceType: 'string',
827
- instanceTypeList: { 'type': 'array', 'itemType': 'string' },
921
+ endTime: 'number',
922
+ instanceId: 'string',
828
923
  ip: 'string',
829
- ipVersion: 'string',
830
- orderby: 'string',
831
- orderdire: 'string',
832
924
  pageNo: 'number',
833
925
  pageSize: 'number',
834
926
  regionId: 'string',
835
- remark: 'string',
836
927
  resourceGroupId: 'string',
837
- tag: { 'type': 'array', 'itemType': DescribeInstanceListRequestTag },
928
+ startTime: 'number',
838
929
  };
839
930
  }
840
931
 
@@ -843,13 +934,13 @@ export class DescribeInstanceListRequest extends $tea.Model {
843
934
  }
844
935
  }
845
936
 
846
- export class DescribeInstanceListResponseBody extends $tea.Model {
847
- instanceList?: DescribeInstanceListResponseBodyInstanceList[];
937
+ export class DescribeDdosEventResponseBody extends $tea.Model {
938
+ events?: DescribeDdosEventResponseBodyEvents[];
848
939
  requestId?: string;
849
940
  total?: number;
850
941
  static names(): { [key: string]: string } {
851
942
  return {
852
- instanceList: 'InstanceList',
943
+ events: 'Events',
853
944
  requestId: 'RequestId',
854
945
  total: 'Total',
855
946
  };
@@ -857,7 +948,7 @@ export class DescribeInstanceListResponseBody extends $tea.Model {
857
948
 
858
949
  static types(): { [key: string]: any } {
859
950
  return {
860
- instanceList: { 'type': 'array', 'itemType': DescribeInstanceListResponseBodyInstanceList },
951
+ events: { 'type': 'array', 'itemType': DescribeDdosEventResponseBodyEvents },
861
952
  requestId: 'string',
862
953
  total: 'number',
863
954
  };
@@ -868,10 +959,10 @@ export class DescribeInstanceListResponseBody extends $tea.Model {
868
959
  }
869
960
  }
870
961
 
871
- export class DescribeInstanceListResponse extends $tea.Model {
872
- headers: { [key: string]: string };
873
- statusCode: number;
874
- body: DescribeInstanceListResponseBody;
962
+ export class DescribeDdosEventResponse extends $tea.Model {
963
+ headers?: { [key: string]: string };
964
+ statusCode?: number;
965
+ body?: DescribeDdosEventResponseBody;
875
966
  static names(): { [key: string]: string } {
876
967
  return {
877
968
  headers: 'headers',
@@ -884,7 +975,7 @@ export class DescribeInstanceListResponse extends $tea.Model {
884
975
  return {
885
976
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
886
977
  statusCode: 'number',
887
- body: DescribeInstanceListResponseBody,
978
+ body: DescribeDdosEventResponseBody,
888
979
  };
889
980
  }
890
981
 
@@ -893,23 +984,26 @@ export class DescribeInstanceListResponse extends $tea.Model {
893
984
  }
894
985
  }
895
986
 
896
- export class DescribeInstanceSpecsRequest extends $tea.Model {
897
- instanceIdList?: string;
898
- regionId?: string;
899
- resourceGroupId?: string;
987
+ export class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
988
+ endTime?: number;
989
+ isShowList?: boolean;
990
+ startTime?: number;
991
+ type?: string;
900
992
  static names(): { [key: string]: string } {
901
993
  return {
902
- instanceIdList: 'InstanceIdList',
903
- regionId: 'RegionId',
904
- resourceGroupId: 'ResourceGroupId',
994
+ endTime: 'EndTime',
995
+ isShowList: 'IsShowList',
996
+ startTime: 'StartTime',
997
+ type: 'Type',
905
998
  };
906
999
  }
907
1000
 
908
1001
  static types(): { [key: string]: any } {
909
1002
  return {
910
- instanceIdList: 'string',
911
- regionId: 'string',
912
- resourceGroupId: 'string',
1003
+ endTime: 'number',
1004
+ isShowList: 'boolean',
1005
+ startTime: 'number',
1006
+ type: 'string',
913
1007
  };
914
1008
  }
915
1009
 
@@ -918,20 +1012,59 @@ export class DescribeInstanceSpecsRequest extends $tea.Model {
918
1012
  }
919
1013
  }
920
1014
 
921
- export class DescribeInstanceSpecsResponseBody extends $tea.Model {
922
- instanceSpecs?: DescribeInstanceSpecsResponseBodyInstanceSpecs[];
1015
+ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
1016
+ debtStatus?: number;
1017
+ flowList?: DescribeDdosOriginInstanceBillResponseBodyFlowList[];
1018
+ flowRegion?: { [key: string]: any };
1019
+ instanceId?: string;
1020
+ ipCount?: number;
1021
+ ipCountOrFunctionList?: DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList[];
1022
+ ipInfo?: string;
923
1023
  requestId?: string;
1024
+ standardAssetsFlowList?: DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList[];
1025
+ standardAssetsFlowRegion?: { [key: string]: any };
1026
+ standardAssetsTotalFlowCn?: number;
1027
+ standardAssetsTotalFlowOv?: number;
1028
+ status?: number;
1029
+ totalFlowCn?: number;
1030
+ totalFlowOv?: number;
924
1031
  static names(): { [key: string]: string } {
925
1032
  return {
926
- instanceSpecs: 'InstanceSpecs',
1033
+ debtStatus: 'DebtStatus',
1034
+ flowList: 'FlowList',
1035
+ flowRegion: 'FlowRegion',
1036
+ instanceId: 'InstanceId',
1037
+ ipCount: 'IpCount',
1038
+ ipCountOrFunctionList: 'IpCountOrFunctionList',
1039
+ ipInfo: 'IpInfo',
927
1040
  requestId: 'RequestId',
1041
+ standardAssetsFlowList: 'StandardAssetsFlowList',
1042
+ standardAssetsFlowRegion: 'StandardAssetsFlowRegion',
1043
+ standardAssetsTotalFlowCn: 'StandardAssetsTotalFlowCn',
1044
+ standardAssetsTotalFlowOv: 'StandardAssetsTotalFlowOv',
1045
+ status: 'Status',
1046
+ totalFlowCn: 'TotalFlowCn',
1047
+ totalFlowOv: 'TotalFlowOv',
928
1048
  };
929
1049
  }
930
1050
 
931
1051
  static types(): { [key: string]: any } {
932
1052
  return {
933
- instanceSpecs: { 'type': 'array', 'itemType': DescribeInstanceSpecsResponseBodyInstanceSpecs },
1053
+ debtStatus: 'number',
1054
+ flowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyFlowList },
1055
+ flowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1056
+ instanceId: 'string',
1057
+ ipCount: 'number',
1058
+ ipCountOrFunctionList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList },
1059
+ ipInfo: 'string',
934
1060
  requestId: 'string',
1061
+ standardAssetsFlowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList },
1062
+ standardAssetsFlowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1063
+ standardAssetsTotalFlowCn: 'number',
1064
+ standardAssetsTotalFlowOv: 'number',
1065
+ status: 'number',
1066
+ totalFlowCn: 'number',
1067
+ totalFlowOv: 'number',
935
1068
  };
936
1069
  }
937
1070
 
@@ -940,10 +1073,10 @@ export class DescribeInstanceSpecsResponseBody extends $tea.Model {
940
1073
  }
941
1074
  }
942
1075
 
943
- export class DescribeInstanceSpecsResponse extends $tea.Model {
944
- headers: { [key: string]: string };
945
- statusCode: number;
946
- body: DescribeInstanceSpecsResponseBody;
1076
+ export class DescribeDdosOriginInstanceBillResponse extends $tea.Model {
1077
+ headers?: { [key: string]: string };
1078
+ statusCode?: number;
1079
+ body?: DescribeDdosOriginInstanceBillResponseBody;
947
1080
  static names(): { [key: string]: string } {
948
1081
  return {
949
1082
  headers: 'headers',
@@ -956,7 +1089,7 @@ export class DescribeInstanceSpecsResponse extends $tea.Model {
956
1089
  return {
957
1090
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
958
1091
  statusCode: 'number',
959
- body: DescribeInstanceSpecsResponseBody,
1092
+ body: DescribeDdosOriginInstanceBillResponseBody,
960
1093
  };
961
1094
  }
962
1095
 
@@ -965,38 +1098,20 @@ export class DescribeInstanceSpecsResponse extends $tea.Model {
965
1098
  }
966
1099
  }
967
1100
 
968
- export class DescribeOnDemandDdosEventRequest extends $tea.Model {
969
- endTime?: number;
970
- instanceId?: string;
971
- ip?: string;
972
- pageNo?: number;
973
- pageSize?: number;
1101
+ export class DescribeExcpetionCountRequest extends $tea.Model {
974
1102
  regionId?: string;
975
1103
  resourceGroupId?: string;
976
- startTime?: number;
977
1104
  static names(): { [key: string]: string } {
978
1105
  return {
979
- endTime: 'EndTime',
980
- instanceId: 'InstanceId',
981
- ip: 'Ip',
982
- pageNo: 'PageNo',
983
- pageSize: 'PageSize',
984
1106
  regionId: 'RegionId',
985
1107
  resourceGroupId: 'ResourceGroupId',
986
- startTime: 'StartTime',
987
1108
  };
988
1109
  }
989
1110
 
990
1111
  static types(): { [key: string]: any } {
991
1112
  return {
992
- endTime: 'number',
993
- instanceId: 'string',
994
- ip: 'string',
995
- pageNo: 'number',
996
- pageSize: 'number',
997
1113
  regionId: 'string',
998
1114
  resourceGroupId: 'string',
999
- startTime: 'number',
1000
1115
  };
1001
1116
  }
1002
1117
 
@@ -1005,23 +1120,23 @@ export class DescribeOnDemandDdosEventRequest extends $tea.Model {
1005
1120
  }
1006
1121
  }
1007
1122
 
1008
- export class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
1009
- events?: DescribeOnDemandDdosEventResponseBodyEvents[];
1123
+ export class DescribeExcpetionCountResponseBody extends $tea.Model {
1124
+ exceptionIpCount?: number;
1125
+ expireTimeCount?: number;
1010
1126
  requestId?: string;
1011
- total?: number;
1012
1127
  static names(): { [key: string]: string } {
1013
1128
  return {
1014
- events: 'Events',
1129
+ exceptionIpCount: 'ExceptionIpCount',
1130
+ expireTimeCount: 'ExpireTimeCount',
1015
1131
  requestId: 'RequestId',
1016
- total: 'Total',
1017
1132
  };
1018
1133
  }
1019
1134
 
1020
1135
  static types(): { [key: string]: any } {
1021
1136
  return {
1022
- events: { 'type': 'array', 'itemType': DescribeOnDemandDdosEventResponseBodyEvents },
1137
+ exceptionIpCount: 'number',
1138
+ expireTimeCount: 'number',
1023
1139
  requestId: 'string',
1024
- total: 'number',
1025
1140
  };
1026
1141
  }
1027
1142
 
@@ -1030,10 +1145,10 @@ export class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
1030
1145
  }
1031
1146
  }
1032
1147
 
1033
- export class DescribeOnDemandDdosEventResponse extends $tea.Model {
1034
- headers: { [key: string]: string };
1035
- statusCode: number;
1036
- body: DescribeOnDemandDdosEventResponseBody;
1148
+ export class DescribeExcpetionCountResponse extends $tea.Model {
1149
+ headers?: { [key: string]: string };
1150
+ statusCode?: number;
1151
+ body?: DescribeExcpetionCountResponseBody;
1037
1152
  static names(): { [key: string]: string } {
1038
1153
  return {
1039
1154
  headers: 'headers',
@@ -1046,7 +1161,274 @@ export class DescribeOnDemandDdosEventResponse extends $tea.Model {
1046
1161
  return {
1047
1162
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1048
1163
  statusCode: 'number',
1049
- body: DescribeOnDemandDdosEventResponseBody,
1164
+ body: DescribeExcpetionCountResponseBody,
1165
+ };
1166
+ }
1167
+
1168
+ constructor(map?: { [key: string]: any }) {
1169
+ super(map);
1170
+ }
1171
+ }
1172
+
1173
+ export class DescribeInstanceListRequest extends $tea.Model {
1174
+ instanceIdList?: string;
1175
+ instanceType?: string;
1176
+ instanceTypeList?: string[];
1177
+ ip?: string;
1178
+ ipVersion?: string;
1179
+ orderby?: string;
1180
+ orderdire?: string;
1181
+ pageNo?: number;
1182
+ pageSize?: number;
1183
+ regionId?: string;
1184
+ remark?: string;
1185
+ resourceGroupId?: string;
1186
+ tag?: DescribeInstanceListRequestTag[];
1187
+ static names(): { [key: string]: string } {
1188
+ return {
1189
+ instanceIdList: 'InstanceIdList',
1190
+ instanceType: 'InstanceType',
1191
+ instanceTypeList: 'InstanceTypeList',
1192
+ ip: 'Ip',
1193
+ ipVersion: 'IpVersion',
1194
+ orderby: 'Orderby',
1195
+ orderdire: 'Orderdire',
1196
+ pageNo: 'PageNo',
1197
+ pageSize: 'PageSize',
1198
+ regionId: 'RegionId',
1199
+ remark: 'Remark',
1200
+ resourceGroupId: 'ResourceGroupId',
1201
+ tag: 'Tag',
1202
+ };
1203
+ }
1204
+
1205
+ static types(): { [key: string]: any } {
1206
+ return {
1207
+ instanceIdList: 'string',
1208
+ instanceType: 'string',
1209
+ instanceTypeList: { 'type': 'array', 'itemType': 'string' },
1210
+ ip: 'string',
1211
+ ipVersion: 'string',
1212
+ orderby: 'string',
1213
+ orderdire: 'string',
1214
+ pageNo: 'number',
1215
+ pageSize: 'number',
1216
+ regionId: 'string',
1217
+ remark: 'string',
1218
+ resourceGroupId: 'string',
1219
+ tag: { 'type': 'array', 'itemType': DescribeInstanceListRequestTag },
1220
+ };
1221
+ }
1222
+
1223
+ constructor(map?: { [key: string]: any }) {
1224
+ super(map);
1225
+ }
1226
+ }
1227
+
1228
+ export class DescribeInstanceListResponseBody extends $tea.Model {
1229
+ instanceList?: DescribeInstanceListResponseBodyInstanceList[];
1230
+ requestId?: string;
1231
+ total?: number;
1232
+ static names(): { [key: string]: string } {
1233
+ return {
1234
+ instanceList: 'InstanceList',
1235
+ requestId: 'RequestId',
1236
+ total: 'Total',
1237
+ };
1238
+ }
1239
+
1240
+ static types(): { [key: string]: any } {
1241
+ return {
1242
+ instanceList: { 'type': 'array', 'itemType': DescribeInstanceListResponseBodyInstanceList },
1243
+ requestId: 'string',
1244
+ total: 'number',
1245
+ };
1246
+ }
1247
+
1248
+ constructor(map?: { [key: string]: any }) {
1249
+ super(map);
1250
+ }
1251
+ }
1252
+
1253
+ export class DescribeInstanceListResponse extends $tea.Model {
1254
+ headers?: { [key: string]: string };
1255
+ statusCode?: number;
1256
+ body?: DescribeInstanceListResponseBody;
1257
+ static names(): { [key: string]: string } {
1258
+ return {
1259
+ headers: 'headers',
1260
+ statusCode: 'statusCode',
1261
+ body: 'body',
1262
+ };
1263
+ }
1264
+
1265
+ static types(): { [key: string]: any } {
1266
+ return {
1267
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1268
+ statusCode: 'number',
1269
+ body: DescribeInstanceListResponseBody,
1270
+ };
1271
+ }
1272
+
1273
+ constructor(map?: { [key: string]: any }) {
1274
+ super(map);
1275
+ }
1276
+ }
1277
+
1278
+ export class DescribeInstanceSpecsRequest extends $tea.Model {
1279
+ instanceIdList?: string;
1280
+ regionId?: string;
1281
+ resourceGroupId?: string;
1282
+ static names(): { [key: string]: string } {
1283
+ return {
1284
+ instanceIdList: 'InstanceIdList',
1285
+ regionId: 'RegionId',
1286
+ resourceGroupId: 'ResourceGroupId',
1287
+ };
1288
+ }
1289
+
1290
+ static types(): { [key: string]: any } {
1291
+ return {
1292
+ instanceIdList: 'string',
1293
+ regionId: 'string',
1294
+ resourceGroupId: 'string',
1295
+ };
1296
+ }
1297
+
1298
+ constructor(map?: { [key: string]: any }) {
1299
+ super(map);
1300
+ }
1301
+ }
1302
+
1303
+ export class DescribeInstanceSpecsResponseBody extends $tea.Model {
1304
+ instanceSpecs?: DescribeInstanceSpecsResponseBodyInstanceSpecs[];
1305
+ requestId?: string;
1306
+ static names(): { [key: string]: string } {
1307
+ return {
1308
+ instanceSpecs: 'InstanceSpecs',
1309
+ requestId: 'RequestId',
1310
+ };
1311
+ }
1312
+
1313
+ static types(): { [key: string]: any } {
1314
+ return {
1315
+ instanceSpecs: { 'type': 'array', 'itemType': DescribeInstanceSpecsResponseBodyInstanceSpecs },
1316
+ requestId: 'string',
1317
+ };
1318
+ }
1319
+
1320
+ constructor(map?: { [key: string]: any }) {
1321
+ super(map);
1322
+ }
1323
+ }
1324
+
1325
+ export class DescribeInstanceSpecsResponse extends $tea.Model {
1326
+ headers?: { [key: string]: string };
1327
+ statusCode?: number;
1328
+ body?: DescribeInstanceSpecsResponseBody;
1329
+ static names(): { [key: string]: string } {
1330
+ return {
1331
+ headers: 'headers',
1332
+ statusCode: 'statusCode',
1333
+ body: 'body',
1334
+ };
1335
+ }
1336
+
1337
+ static types(): { [key: string]: any } {
1338
+ return {
1339
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1340
+ statusCode: 'number',
1341
+ body: DescribeInstanceSpecsResponseBody,
1342
+ };
1343
+ }
1344
+
1345
+ constructor(map?: { [key: string]: any }) {
1346
+ super(map);
1347
+ }
1348
+ }
1349
+
1350
+ export class DescribeOnDemandDdosEventRequest extends $tea.Model {
1351
+ endTime?: number;
1352
+ instanceId?: string;
1353
+ ip?: string;
1354
+ pageNo?: number;
1355
+ pageSize?: number;
1356
+ regionId?: string;
1357
+ resourceGroupId?: string;
1358
+ startTime?: number;
1359
+ static names(): { [key: string]: string } {
1360
+ return {
1361
+ endTime: 'EndTime',
1362
+ instanceId: 'InstanceId',
1363
+ ip: 'Ip',
1364
+ pageNo: 'PageNo',
1365
+ pageSize: 'PageSize',
1366
+ regionId: 'RegionId',
1367
+ resourceGroupId: 'ResourceGroupId',
1368
+ startTime: 'StartTime',
1369
+ };
1370
+ }
1371
+
1372
+ static types(): { [key: string]: any } {
1373
+ return {
1374
+ endTime: 'number',
1375
+ instanceId: 'string',
1376
+ ip: 'string',
1377
+ pageNo: 'number',
1378
+ pageSize: 'number',
1379
+ regionId: 'string',
1380
+ resourceGroupId: 'string',
1381
+ startTime: 'number',
1382
+ };
1383
+ }
1384
+
1385
+ constructor(map?: { [key: string]: any }) {
1386
+ super(map);
1387
+ }
1388
+ }
1389
+
1390
+ export class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
1391
+ events?: DescribeOnDemandDdosEventResponseBodyEvents[];
1392
+ requestId?: string;
1393
+ total?: number;
1394
+ static names(): { [key: string]: string } {
1395
+ return {
1396
+ events: 'Events',
1397
+ requestId: 'RequestId',
1398
+ total: 'Total',
1399
+ };
1400
+ }
1401
+
1402
+ static types(): { [key: string]: any } {
1403
+ return {
1404
+ events: { 'type': 'array', 'itemType': DescribeOnDemandDdosEventResponseBodyEvents },
1405
+ requestId: 'string',
1406
+ total: 'number',
1407
+ };
1408
+ }
1409
+
1410
+ constructor(map?: { [key: string]: any }) {
1411
+ super(map);
1412
+ }
1413
+ }
1414
+
1415
+ export class DescribeOnDemandDdosEventResponse extends $tea.Model {
1416
+ headers?: { [key: string]: string };
1417
+ statusCode?: number;
1418
+ body?: DescribeOnDemandDdosEventResponseBody;
1419
+ static names(): { [key: string]: string } {
1420
+ return {
1421
+ headers: 'headers',
1422
+ statusCode: 'statusCode',
1423
+ body: 'body',
1424
+ };
1425
+ }
1426
+
1427
+ static types(): { [key: string]: any } {
1428
+ return {
1429
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1430
+ statusCode: 'number',
1431
+ body: DescribeOnDemandDdosEventResponseBody,
1050
1432
  };
1051
1433
  }
1052
1434
 
@@ -1100,9 +1482,9 @@ export class DescribeOnDemandInstanceStatusResponseBody extends $tea.Model {
1100
1482
  }
1101
1483
 
1102
1484
  export class DescribeOnDemandInstanceStatusResponse extends $tea.Model {
1103
- headers: { [key: string]: string };
1104
- statusCode: number;
1105
- body: DescribeOnDemandInstanceStatusResponseBody;
1485
+ headers?: { [key: string]: string };
1486
+ statusCode?: number;
1487
+ body?: DescribeOnDemandInstanceStatusResponseBody;
1106
1488
  static names(): { [key: string]: string } {
1107
1489
  return {
1108
1490
  headers: 'headers',
@@ -1193,9 +1575,9 @@ export class DescribeOpEntitiesResponseBody extends $tea.Model {
1193
1575
  }
1194
1576
 
1195
1577
  export class DescribeOpEntitiesResponse extends $tea.Model {
1196
- headers: { [key: string]: string };
1197
- statusCode: number;
1198
- body: DescribeOpEntitiesResponseBody;
1578
+ headers?: { [key: string]: string };
1579
+ statusCode?: number;
1580
+ body?: DescribeOpEntitiesResponseBody;
1199
1581
  static names(): { [key: string]: string } {
1200
1582
  return {
1201
1583
  headers: 'headers',
@@ -1289,9 +1671,9 @@ export class DescribePackIpListResponseBody extends $tea.Model {
1289
1671
  }
1290
1672
 
1291
1673
  export class DescribePackIpListResponse extends $tea.Model {
1292
- headers: { [key: string]: string };
1293
- statusCode: number;
1294
- body: DescribePackIpListResponseBody;
1674
+ headers?: { [key: string]: string };
1675
+ statusCode?: number;
1676
+ body?: DescribePackIpListResponseBody;
1295
1677
  static names(): { [key: string]: string } {
1296
1678
  return {
1297
1679
  headers: 'headers',
@@ -1335,26 +1717,116 @@ export class DescribeRegionsRequest extends $tea.Model {
1335
1717
  }
1336
1718
  }
1337
1719
 
1338
- export class DescribeRegionsResponseBody extends $tea.Model {
1339
- code?: string;
1340
- regions?: DescribeRegionsResponseBodyRegions[];
1720
+ export class DescribeRegionsResponseBody extends $tea.Model {
1721
+ code?: string;
1722
+ regions?: DescribeRegionsResponseBodyRegions[];
1723
+ requestId?: string;
1724
+ success?: boolean;
1725
+ static names(): { [key: string]: string } {
1726
+ return {
1727
+ code: 'Code',
1728
+ regions: 'Regions',
1729
+ requestId: 'RequestId',
1730
+ success: 'Success',
1731
+ };
1732
+ }
1733
+
1734
+ static types(): { [key: string]: any } {
1735
+ return {
1736
+ code: 'string',
1737
+ regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions },
1738
+ requestId: 'string',
1739
+ success: 'boolean',
1740
+ };
1741
+ }
1742
+
1743
+ constructor(map?: { [key: string]: any }) {
1744
+ super(map);
1745
+ }
1746
+ }
1747
+
1748
+ export class DescribeRegionsResponse extends $tea.Model {
1749
+ headers?: { [key: string]: string };
1750
+ statusCode?: number;
1751
+ body?: DescribeRegionsResponseBody;
1752
+ static names(): { [key: string]: string } {
1753
+ return {
1754
+ headers: 'headers',
1755
+ statusCode: 'statusCode',
1756
+ body: 'body',
1757
+ };
1758
+ }
1759
+
1760
+ static types(): { [key: string]: any } {
1761
+ return {
1762
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1763
+ statusCode: 'number',
1764
+ body: DescribeRegionsResponseBody,
1765
+ };
1766
+ }
1767
+
1768
+ constructor(map?: { [key: string]: any }) {
1769
+ super(map);
1770
+ }
1771
+ }
1772
+
1773
+ export class DescribeTrafficRequest extends $tea.Model {
1774
+ endTime?: number;
1775
+ flowType?: string;
1776
+ instanceId?: string;
1777
+ interval?: number;
1778
+ ip?: string;
1779
+ ipnet?: string;
1780
+ regionId?: string;
1781
+ resourceGroupId?: string;
1782
+ startTime?: number;
1783
+ static names(): { [key: string]: string } {
1784
+ return {
1785
+ endTime: 'EndTime',
1786
+ flowType: 'FlowType',
1787
+ instanceId: 'InstanceId',
1788
+ interval: 'Interval',
1789
+ ip: 'Ip',
1790
+ ipnet: 'Ipnet',
1791
+ regionId: 'RegionId',
1792
+ resourceGroupId: 'ResourceGroupId',
1793
+ startTime: 'StartTime',
1794
+ };
1795
+ }
1796
+
1797
+ static types(): { [key: string]: any } {
1798
+ return {
1799
+ endTime: 'number',
1800
+ flowType: 'string',
1801
+ instanceId: 'string',
1802
+ interval: 'number',
1803
+ ip: 'string',
1804
+ ipnet: 'string',
1805
+ regionId: 'string',
1806
+ resourceGroupId: 'string',
1807
+ startTime: 'number',
1808
+ };
1809
+ }
1810
+
1811
+ constructor(map?: { [key: string]: any }) {
1812
+ super(map);
1813
+ }
1814
+ }
1815
+
1816
+ export class DescribeTrafficResponseBody extends $tea.Model {
1817
+ flowList?: DescribeTrafficResponseBodyFlowList[];
1341
1818
  requestId?: string;
1342
- success?: boolean;
1343
1819
  static names(): { [key: string]: string } {
1344
1820
  return {
1345
- code: 'Code',
1346
- regions: 'Regions',
1821
+ flowList: 'FlowList',
1347
1822
  requestId: 'RequestId',
1348
- success: 'Success',
1349
1823
  };
1350
1824
  }
1351
1825
 
1352
1826
  static types(): { [key: string]: any } {
1353
1827
  return {
1354
- code: 'string',
1355
- regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions },
1828
+ flowList: { 'type': 'array', 'itemType': DescribeTrafficResponseBodyFlowList },
1356
1829
  requestId: 'string',
1357
- success: 'boolean',
1358
1830
  };
1359
1831
  }
1360
1832
 
@@ -1363,10 +1835,10 @@ export class DescribeRegionsResponseBody extends $tea.Model {
1363
1835
  }
1364
1836
  }
1365
1837
 
1366
- export class DescribeRegionsResponse extends $tea.Model {
1367
- headers: { [key: string]: string };
1368
- statusCode: number;
1369
- body: DescribeRegionsResponseBody;
1838
+ export class DescribeTrafficResponse extends $tea.Model {
1839
+ headers?: { [key: string]: string };
1840
+ statusCode?: number;
1841
+ body?: DescribeTrafficResponseBody;
1370
1842
  static names(): { [key: string]: string } {
1371
1843
  return {
1372
1844
  headers: 'headers',
@@ -1379,7 +1851,7 @@ export class DescribeRegionsResponse extends $tea.Model {
1379
1851
  return {
1380
1852
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1381
1853
  statusCode: 'number',
1382
- body: DescribeRegionsResponseBody,
1854
+ body: DescribeTrafficResponseBody,
1383
1855
  };
1384
1856
  }
1385
1857
 
@@ -1388,41 +1860,26 @@ export class DescribeRegionsResponse extends $tea.Model {
1388
1860
  }
1389
1861
  }
1390
1862
 
1391
- export class DescribeTrafficRequest extends $tea.Model {
1392
- endTime?: number;
1393
- flowType?: string;
1863
+ export class DettachAssetGroupToInstanceRequest extends $tea.Model {
1864
+ assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
1394
1865
  instanceId?: string;
1395
- interval?: number;
1396
- ip?: string;
1397
- ipnet?: string;
1398
1866
  regionId?: string;
1399
- resourceGroupId?: string;
1400
- startTime?: number;
1867
+ sourceIp?: string;
1401
1868
  static names(): { [key: string]: string } {
1402
1869
  return {
1403
- endTime: 'EndTime',
1404
- flowType: 'FlowType',
1870
+ assetGroupList: 'AssetGroupList',
1405
1871
  instanceId: 'InstanceId',
1406
- interval: 'Interval',
1407
- ip: 'Ip',
1408
- ipnet: 'Ipnet',
1409
1872
  regionId: 'RegionId',
1410
- resourceGroupId: 'ResourceGroupId',
1411
- startTime: 'StartTime',
1873
+ sourceIp: 'SourceIp',
1412
1874
  };
1413
1875
  }
1414
1876
 
1415
1877
  static types(): { [key: string]: any } {
1416
1878
  return {
1417
- endTime: 'number',
1418
- flowType: 'string',
1879
+ assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
1419
1880
  instanceId: 'string',
1420
- interval: 'number',
1421
- ip: 'string',
1422
- ipnet: 'string',
1423
1881
  regionId: 'string',
1424
- resourceGroupId: 'string',
1425
- startTime: 'number',
1882
+ sourceIp: 'string',
1426
1883
  };
1427
1884
  }
1428
1885
 
@@ -1431,19 +1888,44 @@ export class DescribeTrafficRequest extends $tea.Model {
1431
1888
  }
1432
1889
  }
1433
1890
 
1434
- export class DescribeTrafficResponseBody extends $tea.Model {
1435
- flowList?: DescribeTrafficResponseBodyFlowList[];
1891
+ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
1892
+ assetGroupListShrink?: string;
1893
+ instanceId?: string;
1894
+ regionId?: string;
1895
+ sourceIp?: string;
1896
+ static names(): { [key: string]: string } {
1897
+ return {
1898
+ assetGroupListShrink: 'AssetGroupList',
1899
+ instanceId: 'InstanceId',
1900
+ regionId: 'RegionId',
1901
+ sourceIp: 'SourceIp',
1902
+ };
1903
+ }
1904
+
1905
+ static types(): { [key: string]: any } {
1906
+ return {
1907
+ assetGroupListShrink: 'string',
1908
+ instanceId: 'string',
1909
+ regionId: 'string',
1910
+ sourceIp: 'string',
1911
+ };
1912
+ }
1913
+
1914
+ constructor(map?: { [key: string]: any }) {
1915
+ super(map);
1916
+ }
1917
+ }
1918
+
1919
+ export class DettachAssetGroupToInstanceResponseBody extends $tea.Model {
1436
1920
  requestId?: string;
1437
1921
  static names(): { [key: string]: string } {
1438
1922
  return {
1439
- flowList: 'FlowList',
1440
1923
  requestId: 'RequestId',
1441
1924
  };
1442
1925
  }
1443
1926
 
1444
1927
  static types(): { [key: string]: any } {
1445
1928
  return {
1446
- flowList: { 'type': 'array', 'itemType': DescribeTrafficResponseBodyFlowList },
1447
1929
  requestId: 'string',
1448
1930
  };
1449
1931
  }
@@ -1453,10 +1935,10 @@ export class DescribeTrafficResponseBody extends $tea.Model {
1453
1935
  }
1454
1936
  }
1455
1937
 
1456
- export class DescribeTrafficResponse extends $tea.Model {
1457
- headers: { [key: string]: string };
1458
- statusCode: number;
1459
- body: DescribeTrafficResponseBody;
1938
+ export class DettachAssetGroupToInstanceResponse extends $tea.Model {
1939
+ headers?: { [key: string]: string };
1940
+ statusCode?: number;
1941
+ body?: DettachAssetGroupToInstanceResponseBody;
1460
1942
  static names(): { [key: string]: string } {
1461
1943
  return {
1462
1944
  headers: 'headers',
@@ -1469,7 +1951,7 @@ export class DescribeTrafficResponse extends $tea.Model {
1469
1951
  return {
1470
1952
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1471
1953
  statusCode: 'number',
1472
- body: DescribeTrafficResponseBody,
1954
+ body: DettachAssetGroupToInstanceResponseBody,
1473
1955
  };
1474
1956
  }
1475
1957
 
@@ -1523,9 +2005,9 @@ export class GetSlsOpenStatusResponseBody extends $tea.Model {
1523
2005
  }
1524
2006
 
1525
2007
  export class GetSlsOpenStatusResponse extends $tea.Model {
1526
- headers: { [key: string]: string };
1527
- statusCode: number;
1528
- body: GetSlsOpenStatusResponseBody;
2008
+ headers?: { [key: string]: string };
2009
+ statusCode?: number;
2010
+ body?: GetSlsOpenStatusResponseBody;
1529
2011
  static names(): { [key: string]: string } {
1530
2012
  return {
1531
2013
  headers: 'headers',
@@ -1598,9 +2080,9 @@ export class ListOpenedAccessLogInstancesResponseBody extends $tea.Model {
1598
2080
  }
1599
2081
 
1600
2082
  export class ListOpenedAccessLogInstancesResponse extends $tea.Model {
1601
- headers: { [key: string]: string };
1602
- statusCode: number;
1603
- body: ListOpenedAccessLogInstancesResponseBody;
2083
+ headers?: { [key: string]: string };
2084
+ statusCode?: number;
2085
+ body?: ListOpenedAccessLogInstancesResponseBody;
1604
2086
  static names(): { [key: string]: string } {
1605
2087
  return {
1606
2088
  headers: 'headers',
@@ -1685,9 +2167,9 @@ export class ListTagKeysResponseBody extends $tea.Model {
1685
2167
  }
1686
2168
 
1687
2169
  export class ListTagKeysResponse extends $tea.Model {
1688
- headers: { [key: string]: string };
1689
- statusCode: number;
1690
- body: ListTagKeysResponseBody;
2170
+ headers?: { [key: string]: string };
2171
+ statusCode?: number;
2172
+ body?: ListTagKeysResponseBody;
1691
2173
  static names(): { [key: string]: string } {
1692
2174
  return {
1693
2175
  headers: 'headers',
@@ -1769,9 +2251,9 @@ export class ListTagResourcesResponseBody extends $tea.Model {
1769
2251
  }
1770
2252
 
1771
2253
  export class ListTagResourcesResponse extends $tea.Model {
1772
- headers: { [key: string]: string };
1773
- statusCode: number;
1774
- body: ListTagResourcesResponseBody;
2254
+ headers?: { [key: string]: string };
2255
+ statusCode?: number;
2256
+ body?: ListTagResourcesResponseBody;
1775
2257
  static names(): { [key: string]: string } {
1776
2258
  return {
1777
2259
  headers: 'headers',
@@ -1841,9 +2323,9 @@ export class ModifyRemarkResponseBody extends $tea.Model {
1841
2323
  }
1842
2324
 
1843
2325
  export class ModifyRemarkResponse extends $tea.Model {
1844
- headers: { [key: string]: string };
1845
- statusCode: number;
1846
- body: ModifyRemarkResponseBody;
2326
+ headers?: { [key: string]: string };
2327
+ statusCode?: number;
2328
+ body?: ModifyRemarkResponseBody;
1847
2329
  static names(): { [key: string]: string } {
1848
2330
  return {
1849
2331
  headers: 'headers',
@@ -1919,9 +2401,9 @@ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
1919
2401
  }
1920
2402
 
1921
2403
  export class QuerySchedruleOnDemandResponse extends $tea.Model {
1922
- headers: { [key: string]: string };
1923
- statusCode: number;
1924
- body: QuerySchedruleOnDemandResponseBody;
2404
+ headers?: { [key: string]: string };
2405
+ statusCode?: number;
2406
+ body?: QuerySchedruleOnDemandResponseBody;
1925
2407
  static names(): { [key: string]: string } {
1926
2408
  return {
1927
2409
  headers: 'headers',
@@ -1943,6 +2425,69 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
1943
2425
  }
1944
2426
  }
1945
2427
 
2428
+ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
2429
+ instanceId?: string;
2430
+ static names(): { [key: string]: string } {
2431
+ return {
2432
+ instanceId: 'InstanceId',
2433
+ };
2434
+ }
2435
+
2436
+ static types(): { [key: string]: any } {
2437
+ return {
2438
+ instanceId: 'string',
2439
+ };
2440
+ }
2441
+
2442
+ constructor(map?: { [key: string]: any }) {
2443
+ super(map);
2444
+ }
2445
+ }
2446
+
2447
+ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
2448
+ requestId?: string;
2449
+ static names(): { [key: string]: string } {
2450
+ return {
2451
+ requestId: 'RequestId',
2452
+ };
2453
+ }
2454
+
2455
+ static types(): { [key: string]: any } {
2456
+ return {
2457
+ requestId: 'string',
2458
+ };
2459
+ }
2460
+
2461
+ constructor(map?: { [key: string]: any }) {
2462
+ super(map);
2463
+ }
2464
+ }
2465
+
2466
+ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
2467
+ headers?: { [key: string]: string };
2468
+ statusCode?: number;
2469
+ body?: ReleaseDdosOriginInstanceResponseBody;
2470
+ static names(): { [key: string]: string } {
2471
+ return {
2472
+ headers: 'headers',
2473
+ statusCode: 'statusCode',
2474
+ body: 'body',
2475
+ };
2476
+ }
2477
+
2478
+ static types(): { [key: string]: any } {
2479
+ return {
2480
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2481
+ statusCode: 'number',
2482
+ body: ReleaseDdosOriginInstanceResponseBody,
2483
+ };
2484
+ }
2485
+
2486
+ constructor(map?: { [key: string]: any }) {
2487
+ super(map);
2488
+ }
2489
+ }
2490
+
1946
2491
  export class SetInstanceModeOnDemandRequest extends $tea.Model {
1947
2492
  instanceIdList?: string[];
1948
2493
  mode?: string;
@@ -1988,9 +2533,9 @@ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
1988
2533
  }
1989
2534
 
1990
2535
  export class SetInstanceModeOnDemandResponse extends $tea.Model {
1991
- headers: { [key: string]: string };
1992
- statusCode: number;
1993
- body: SetInstanceModeOnDemandResponseBody;
2536
+ headers?: { [key: string]: string };
2537
+ statusCode?: number;
2538
+ body?: SetInstanceModeOnDemandResponseBody;
1994
2539
  static names(): { [key: string]: string } {
1995
2540
  return {
1996
2541
  headers: 'headers',
@@ -2063,9 +2608,9 @@ export class TagResourcesResponseBody extends $tea.Model {
2063
2608
  }
2064
2609
 
2065
2610
  export class TagResourcesResponse extends $tea.Model {
2066
- headers: { [key: string]: string };
2067
- statusCode: number;
2068
- body: TagResourcesResponseBody;
2611
+ headers?: { [key: string]: string };
2612
+ statusCode?: number;
2613
+ body?: TagResourcesResponseBody;
2069
2614
  static names(): { [key: string]: string } {
2070
2615
  return {
2071
2616
  headers: 'headers',
@@ -2141,9 +2686,9 @@ export class UntagResourcesResponseBody extends $tea.Model {
2141
2686
  }
2142
2687
 
2143
2688
  export class UntagResourcesResponse extends $tea.Model {
2144
- headers: { [key: string]: string };
2145
- statusCode: number;
2146
- body: UntagResourcesResponseBody;
2689
+ headers?: { [key: string]: string };
2690
+ statusCode?: number;
2691
+ body?: UntagResourcesResponseBody;
2147
2692
  static names(): { [key: string]: string } {
2148
2693
  return {
2149
2694
  headers: 'headers',
@@ -2165,6 +2710,90 @@ export class UntagResourcesResponse extends $tea.Model {
2165
2710
  }
2166
2711
  }
2167
2712
 
2713
+ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
2714
+ memberUid?: string;
2715
+ name?: string;
2716
+ region?: string;
2717
+ type?: string;
2718
+ static names(): { [key: string]: string } {
2719
+ return {
2720
+ memberUid: 'MemberUid',
2721
+ name: 'Name',
2722
+ region: 'Region',
2723
+ type: 'Type',
2724
+ };
2725
+ }
2726
+
2727
+ static types(): { [key: string]: any } {
2728
+ return {
2729
+ memberUid: 'string',
2730
+ name: 'string',
2731
+ region: 'string',
2732
+ type: 'string',
2733
+ };
2734
+ }
2735
+
2736
+ constructor(map?: { [key: string]: any }) {
2737
+ super(map);
2738
+ }
2739
+ }
2740
+
2741
+ export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
2742
+ name?: string;
2743
+ region?: string;
2744
+ type?: string;
2745
+ static names(): { [key: string]: string } {
2746
+ return {
2747
+ name: 'Name',
2748
+ region: 'Region',
2749
+ type: 'Type',
2750
+ };
2751
+ }
2752
+
2753
+ static types(): { [key: string]: any } {
2754
+ return {
2755
+ name: 'string',
2756
+ region: 'string',
2757
+ type: 'string',
2758
+ };
2759
+ }
2760
+
2761
+ constructor(map?: { [key: string]: any }) {
2762
+ super(map);
2763
+ }
2764
+ }
2765
+
2766
+ export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
2767
+ instanceId?: string;
2768
+ memberUid?: string;
2769
+ name?: string;
2770
+ region?: string;
2771
+ type?: string;
2772
+ static names(): { [key: string]: string } {
2773
+ return {
2774
+ instanceId: 'InstanceId',
2775
+ memberUid: 'MemberUid',
2776
+ name: 'Name',
2777
+ region: 'Region',
2778
+ type: 'Type',
2779
+ };
2780
+ }
2781
+
2782
+ static types(): { [key: string]: any } {
2783
+ return {
2784
+ instanceId: 'string',
2785
+ memberUid: 'string',
2786
+ name: 'string',
2787
+ region: 'string',
2788
+ type: 'string',
2789
+ };
2790
+ }
2791
+
2792
+ constructor(map?: { [key: string]: any }) {
2793
+ super(map);
2794
+ }
2795
+ }
2796
+
2168
2797
  export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
2169
2798
  endTime?: number;
2170
2799
  ip?: string;
@@ -2185,12 +2814,99 @@ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
2185
2814
 
2186
2815
  static types(): { [key: string]: any } {
2187
2816
  return {
2188
- endTime: 'number',
2189
- ip: 'string',
2190
- mbps: 'number',
2191
- pps: 'number',
2192
- startTime: 'number',
2193
- status: 'string',
2817
+ endTime: 'number',
2818
+ ip: 'string',
2819
+ mbps: 'number',
2820
+ pps: 'number',
2821
+ startTime: 'number',
2822
+ status: 'string',
2823
+ };
2824
+ }
2825
+
2826
+ constructor(map?: { [key: string]: any }) {
2827
+ super(map);
2828
+ }
2829
+ }
2830
+
2831
+ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
2832
+ memberFlow?: string;
2833
+ regionFlow?: string;
2834
+ time?: number;
2835
+ totalFlow?: number;
2836
+ static names(): { [key: string]: string } {
2837
+ return {
2838
+ memberFlow: 'MemberFlow',
2839
+ regionFlow: 'RegionFlow',
2840
+ time: 'Time',
2841
+ totalFlow: 'TotalFlow',
2842
+ };
2843
+ }
2844
+
2845
+ static types(): { [key: string]: any } {
2846
+ return {
2847
+ memberFlow: 'string',
2848
+ regionFlow: 'string',
2849
+ time: 'number',
2850
+ totalFlow: 'number',
2851
+ };
2852
+ }
2853
+
2854
+ constructor(map?: { [key: string]: any }) {
2855
+ super(map);
2856
+ }
2857
+ }
2858
+
2859
+ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
2860
+ coverage?: string;
2861
+ ipCntCn?: number;
2862
+ ipCntOv?: number;
2863
+ memberIpCnt?: string;
2864
+ time?: number;
2865
+ static names(): { [key: string]: string } {
2866
+ return {
2867
+ coverage: 'Coverage',
2868
+ ipCntCn: 'IpCntCn',
2869
+ ipCntOv: 'IpCntOv',
2870
+ memberIpCnt: 'MemberIpCnt',
2871
+ time: 'Time',
2872
+ };
2873
+ }
2874
+
2875
+ static types(): { [key: string]: any } {
2876
+ return {
2877
+ coverage: 'string',
2878
+ ipCntCn: 'number',
2879
+ ipCntOv: 'number',
2880
+ memberIpCnt: 'string',
2881
+ time: 'number',
2882
+ };
2883
+ }
2884
+
2885
+ constructor(map?: { [key: string]: any }) {
2886
+ super(map);
2887
+ }
2888
+ }
2889
+
2890
+ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
2891
+ memberFlow?: string;
2892
+ regionFlow?: string;
2893
+ time?: number;
2894
+ totalFlow?: number;
2895
+ static names(): { [key: string]: string } {
2896
+ return {
2897
+ memberFlow: 'MemberFlow',
2898
+ regionFlow: 'RegionFlow',
2899
+ time: 'Time',
2900
+ totalFlow: 'TotalFlow',
2901
+ };
2902
+ }
2903
+
2904
+ static types(): { [key: string]: any } {
2905
+ return {
2906
+ memberFlow: 'string',
2907
+ regionFlow: 'string',
2908
+ time: 'number',
2909
+ totalFlow: 'number',
2194
2910
  };
2195
2911
  }
2196
2912
 
@@ -2221,9 +2937,30 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
2221
2937
  }
2222
2938
  }
2223
2939
 
2940
+ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
2941
+ events?: string[];
2942
+ static names(): { [key: string]: string } {
2943
+ return {
2944
+ events: 'Events',
2945
+ };
2946
+ }
2947
+
2948
+ static types(): { [key: string]: any } {
2949
+ return {
2950
+ events: { 'type': 'array', 'itemType': 'string' },
2951
+ };
2952
+ }
2953
+
2954
+ constructor(map?: { [key: string]: any }) {
2955
+ super(map);
2956
+ }
2957
+ }
2958
+
2224
2959
  export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
2960
+ autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
2225
2961
  autoRenewal?: boolean;
2226
2962
  blackholdingCount?: string;
2963
+ commodityType?: string;
2227
2964
  coverageType?: number;
2228
2965
  expireTime?: number;
2229
2966
  gmtCreate?: number;
@@ -2235,8 +2972,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
2235
2972
  status?: string;
2236
2973
  static names(): { [key: string]: string } {
2237
2974
  return {
2975
+ autoProtectCondition: 'AutoProtectCondition',
2238
2976
  autoRenewal: 'AutoRenewal',
2239
2977
  blackholdingCount: 'BlackholdingCount',
2978
+ commodityType: 'CommodityType',
2240
2979
  coverageType: 'CoverageType',
2241
2980
  expireTime: 'ExpireTime',
2242
2981
  gmtCreate: 'GmtCreate',
@@ -2251,8 +2990,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
2251
2990
 
2252
2991
  static types(): { [key: string]: any } {
2253
2992
  return {
2993
+ autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
2254
2994
  autoRenewal: 'boolean',
2255
2995
  blackholdingCount: 'string',
2996
+ commodityType: 'string',
2256
2997
  coverageType: 'number',
2257
2998
  expireTime: 'number',
2258
2999
  gmtCreate: 'number',
@@ -2313,6 +3054,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
2313
3054
  export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
2314
3055
  availableDefenseTimes?: number;
2315
3056
  availableDeleteBlackholeCount?: string;
3057
+ defenseTimesPercent?: number;
2316
3058
  instanceId?: string;
2317
3059
  isFullDefenseMode?: number;
2318
3060
  packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
@@ -2322,6 +3064,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
2322
3064
  return {
2323
3065
  availableDefenseTimes: 'AvailableDefenseTimes',
2324
3066
  availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
3067
+ defenseTimesPercent: 'DefenseTimesPercent',
2325
3068
  instanceId: 'InstanceId',
2326
3069
  isFullDefenseMode: 'IsFullDefenseMode',
2327
3070
  packConfig: 'PackConfig',
@@ -2334,6 +3077,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
2334
3077
  return {
2335
3078
  availableDefenseTimes: 'number',
2336
3079
  availableDeleteBlackholeCount: 'string',
3080
+ defenseTimesPercent: 'number',
2337
3081
  instanceId: 'string',
2338
3082
  isFullDefenseMode: 'number',
2339
3083
  packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
@@ -2455,6 +3199,7 @@ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
2455
3199
  export class DescribePackIpListResponseBodyIpList extends $tea.Model {
2456
3200
  ip?: string;
2457
3201
  memberUid?: string;
3202
+ nsmStatus?: number;
2458
3203
  product?: string;
2459
3204
  region?: string;
2460
3205
  remark?: string;
@@ -2463,6 +3208,7 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
2463
3208
  return {
2464
3209
  ip: 'Ip',
2465
3210
  memberUid: 'MemberUid',
3211
+ nsmStatus: 'NsmStatus',
2466
3212
  product: 'Product',
2467
3213
  region: 'Region',
2468
3214
  remark: 'Remark',
@@ -2474,6 +3220,7 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
2474
3220
  return {
2475
3221
  ip: 'string',
2476
3222
  memberUid: 'string',
3223
+ nsmStatus: 'number',
2477
3224
  product: 'string',
2478
3225
  region: 'string',
2479
3226
  remark: 'string',
@@ -2548,6 +3295,31 @@ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
2548
3295
  }
2549
3296
  }
2550
3297
 
3298
+ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3299
+ name?: string;
3300
+ region?: string;
3301
+ type?: string;
3302
+ static names(): { [key: string]: string } {
3303
+ return {
3304
+ name: 'Name',
3305
+ region: 'Region',
3306
+ type: 'Type',
3307
+ };
3308
+ }
3309
+
3310
+ static types(): { [key: string]: any } {
3311
+ return {
3312
+ name: 'string',
3313
+ region: 'string',
3314
+ type: 'string',
3315
+ };
3316
+ }
3317
+
3318
+ constructor(map?: { [key: string]: any }) {
3319
+ super(map);
3320
+ }
3321
+ }
3322
+
2551
3323
  export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
2552
3324
  enable?: boolean;
2553
3325
  instanceId?: string;
@@ -2837,6 +3609,53 @@ export default class Client extends OpenApi {
2837
3609
  return await this.addIpWithOptions(request, runtime);
2838
3610
  }
2839
3611
 
3612
+ async attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse> {
3613
+ Util.validateModel(tmpReq);
3614
+ let request = new AttachAssetGroupToInstanceShrinkRequest({ });
3615
+ OpenApiUtil.convert(tmpReq, request);
3616
+ if (!Util.isUnset(tmpReq.assetGroupList)) {
3617
+ request.assetGroupListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetGroupList, "AssetGroupList", "json");
3618
+ }
3619
+
3620
+ let query = { };
3621
+ if (!Util.isUnset(request.assetGroupListShrink)) {
3622
+ query["AssetGroupList"] = request.assetGroupListShrink;
3623
+ }
3624
+
3625
+ if (!Util.isUnset(request.instanceId)) {
3626
+ query["InstanceId"] = request.instanceId;
3627
+ }
3628
+
3629
+ if (!Util.isUnset(request.regionId)) {
3630
+ query["RegionId"] = request.regionId;
3631
+ }
3632
+
3633
+ if (!Util.isUnset(request.sourceIp)) {
3634
+ query["SourceIp"] = request.sourceIp;
3635
+ }
3636
+
3637
+ let req = new $OpenApi.OpenApiRequest({
3638
+ query: OpenApiUtil.query(query),
3639
+ });
3640
+ let params = new $OpenApi.Params({
3641
+ action: "AttachAssetGroupToInstance",
3642
+ version: "2018-07-20",
3643
+ protocol: "HTTPS",
3644
+ pathname: "/",
3645
+ method: "POST",
3646
+ authType: "AK",
3647
+ style: "RPC",
3648
+ reqBodyType: "formData",
3649
+ bodyType: "json",
3650
+ });
3651
+ return $tea.cast<AttachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
3652
+ }
3653
+
3654
+ async attachAssetGroupToInstance(request: AttachAssetGroupToInstanceRequest): Promise<AttachAssetGroupToInstanceResponse> {
3655
+ let runtime = new $Util.RuntimeOptions({ });
3656
+ return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
3657
+ }
3658
+
2840
3659
  async checkAccessLogAuthWithOptions(request: CheckAccessLogAuthRequest, runtime: $Util.RuntimeOptions): Promise<CheckAccessLogAuthResponse> {
2841
3660
  Util.validateModel(request);
2842
3661
  let query = { };
@@ -2871,9 +3690,9 @@ export default class Client extends OpenApi {
2871
3690
  }
2872
3691
 
2873
3692
  /**
2874
- * Indicates whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account. Valid values:
2875
- * * **1**: Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
2876
- * * **0**: Anti-DDoS Origin is not authorized to obtain information about the assets within the current Alibaba Cloud account.
3693
+ * 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.
3694
+ * ### Limits
3695
+ * 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.
2877
3696
  *
2878
3697
  * @param request CheckGrantRequest
2879
3698
  * @param runtime runtime options for this request RuntimeOptions
@@ -2900,9 +3719,9 @@ export default class Client extends OpenApi {
2900
3719
  }
2901
3720
 
2902
3721
  /**
2903
- * Indicates whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account. Valid values:
2904
- * * **1**: Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
2905
- * * **0**: Anti-DDoS Origin is not authorized to obtain information about the assets within the current Alibaba Cloud account.
3722
+ * 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.
3723
+ * ### Limits
3724
+ * 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.
2906
3725
  *
2907
3726
  * @param request CheckGrantRequest
2908
3727
  * @return CheckGrantResponse
@@ -3119,8 +3938,7 @@ export default class Client extends OpenApi {
3119
3938
  }
3120
3939
 
3121
3940
  /**
3122
- * The ID of the Anti-DDoS Origin Enterprise instance.
3123
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
3941
+ * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
3124
3942
  *
3125
3943
  * @param request DeleteIpRequest
3126
3944
  * @param runtime runtime options for this request RuntimeOptions
@@ -3163,8 +3981,7 @@ export default class Client extends OpenApi {
3163
3981
  }
3164
3982
 
3165
3983
  /**
3166
- * The ID of the Anti-DDoS Origin Enterprise instance.
3167
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
3984
+ * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
3168
3985
  *
3169
3986
  * @param request DeleteIpRequest
3170
3987
  * @return DeleteIpResponse
@@ -3211,8 +4028,108 @@ export default class Client extends OpenApi {
3211
4028
  return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
3212
4029
  }
3213
4030
 
4031
+ async describeAssetGroupWithOptions(request: DescribeAssetGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupResponse> {
4032
+ Util.validateModel(request);
4033
+ let query = { };
4034
+ if (!Util.isUnset(request.name)) {
4035
+ query["Name"] = request.name;
4036
+ }
4037
+
4038
+ if (!Util.isUnset(request.region)) {
4039
+ query["Region"] = request.region;
4040
+ }
4041
+
4042
+ if (!Util.isUnset(request.regionId)) {
4043
+ query["RegionId"] = request.regionId;
4044
+ }
4045
+
4046
+ if (!Util.isUnset(request.sourceIp)) {
4047
+ query["SourceIp"] = request.sourceIp;
4048
+ }
4049
+
4050
+ if (!Util.isUnset(request.type)) {
4051
+ query["Type"] = request.type;
4052
+ }
4053
+
4054
+ let req = new $OpenApi.OpenApiRequest({
4055
+ query: OpenApiUtil.query(query),
4056
+ });
4057
+ let params = new $OpenApi.Params({
4058
+ action: "DescribeAssetGroup",
4059
+ version: "2018-07-20",
4060
+ protocol: "HTTPS",
4061
+ pathname: "/",
4062
+ method: "POST",
4063
+ authType: "AK",
4064
+ style: "RPC",
4065
+ reqBodyType: "formData",
4066
+ bodyType: "json",
4067
+ });
4068
+ return $tea.cast<DescribeAssetGroupResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
4069
+ }
4070
+
4071
+ async describeAssetGroup(request: DescribeAssetGroupRequest): Promise<DescribeAssetGroupResponse> {
4072
+ let runtime = new $Util.RuntimeOptions({ });
4073
+ return await this.describeAssetGroupWithOptions(request, runtime);
4074
+ }
4075
+
4076
+ async describeAssetGroupToInstanceWithOptions(request: DescribeAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupToInstanceResponse> {
4077
+ Util.validateModel(request);
4078
+ let query = { };
4079
+ if (!Util.isUnset(request.instanceId)) {
4080
+ query["InstanceId"] = request.instanceId;
4081
+ }
4082
+
4083
+ if (!Util.isUnset(request.memberUid)) {
4084
+ query["MemberUid"] = request.memberUid;
4085
+ }
4086
+
4087
+ if (!Util.isUnset(request.name)) {
4088
+ query["Name"] = request.name;
4089
+ }
4090
+
4091
+ if (!Util.isUnset(request.region)) {
4092
+ query["Region"] = request.region;
4093
+ }
4094
+
4095
+ if (!Util.isUnset(request.regionId)) {
4096
+ query["RegionId"] = request.regionId;
4097
+ }
4098
+
4099
+ if (!Util.isUnset(request.sourceIp)) {
4100
+ query["SourceIp"] = request.sourceIp;
4101
+ }
4102
+
4103
+ if (!Util.isUnset(request.type)) {
4104
+ query["Type"] = request.type;
4105
+ }
4106
+
4107
+ let req = new $OpenApi.OpenApiRequest({
4108
+ query: OpenApiUtil.query(query),
4109
+ });
4110
+ let params = new $OpenApi.Params({
4111
+ action: "DescribeAssetGroupToInstance",
4112
+ version: "2018-07-20",
4113
+ protocol: "HTTPS",
4114
+ pathname: "/",
4115
+ method: "POST",
4116
+ authType: "AK",
4117
+ style: "RPC",
4118
+ reqBodyType: "formData",
4119
+ bodyType: "json",
4120
+ });
4121
+ return $tea.cast<DescribeAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
4122
+ }
4123
+
4124
+ async describeAssetGroupToInstance(request: DescribeAssetGroupToInstanceRequest): Promise<DescribeAssetGroupToInstanceResponse> {
4125
+ let runtime = new $Util.RuntimeOptions({ });
4126
+ return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
4127
+ }
4128
+
3214
4129
  /**
3215
- * The number of entries to return on each page.
4130
+ * 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.
4131
+ * ## Limits
4132
+ * 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.
3216
4133
  *
3217
4134
  * @param request DescribeDdosEventRequest
3218
4135
  * @param runtime runtime options for this request RuntimeOptions
@@ -3271,7 +4188,9 @@ export default class Client extends OpenApi {
3271
4188
  }
3272
4189
 
3273
4190
  /**
3274
- * The number of entries to return on each page.
4191
+ * 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.
4192
+ * ## Limits
4193
+ * 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.
3275
4194
  *
3276
4195
  * @param request DescribeDdosEventRequest
3277
4196
  * @return DescribeDdosEventResponse
@@ -3281,8 +4200,50 @@ export default class Client extends OpenApi {
3281
4200
  return await this.describeDdosEventWithOptions(request, runtime);
3282
4201
  }
3283
4202
 
4203
+ async describeDdosOriginInstanceBillWithOptions(request: DescribeDdosOriginInstanceBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosOriginInstanceBillResponse> {
4204
+ Util.validateModel(request);
4205
+ let query = { };
4206
+ if (!Util.isUnset(request.endTime)) {
4207
+ query["EndTime"] = request.endTime;
4208
+ }
4209
+
4210
+ if (!Util.isUnset(request.isShowList)) {
4211
+ query["IsShowList"] = request.isShowList;
4212
+ }
4213
+
4214
+ if (!Util.isUnset(request.startTime)) {
4215
+ query["StartTime"] = request.startTime;
4216
+ }
4217
+
4218
+ if (!Util.isUnset(request.type)) {
4219
+ query["Type"] = request.type;
4220
+ }
4221
+
4222
+ let req = new $OpenApi.OpenApiRequest({
4223
+ query: OpenApiUtil.query(query),
4224
+ });
4225
+ let params = new $OpenApi.Params({
4226
+ action: "DescribeDdosOriginInstanceBill",
4227
+ version: "2018-07-20",
4228
+ protocol: "HTTPS",
4229
+ pathname: "/",
4230
+ method: "POST",
4231
+ authType: "AK",
4232
+ style: "RPC",
4233
+ reqBodyType: "formData",
4234
+ bodyType: "json",
4235
+ });
4236
+ return $tea.cast<DescribeDdosOriginInstanceBillResponse>(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
4237
+ }
4238
+
4239
+ async describeDdosOriginInstanceBill(request: DescribeDdosOriginInstanceBillRequest): Promise<DescribeDdosOriginInstanceBillResponse> {
4240
+ let runtime = new $Util.RuntimeOptions({ });
4241
+ return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
4242
+ }
4243
+
3284
4244
  /**
3285
- * The operation that you want to perform. Set the value to **DescribeExcpetionCount**.
4245
+ * ## Usage notes
4246
+ * 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.
3286
4247
  *
3287
4248
  * @param request DescribeExcpetionCountRequest
3288
4249
  * @param runtime runtime options for this request RuntimeOptions
@@ -3317,7 +4278,8 @@ export default class Client extends OpenApi {
3317
4278
  }
3318
4279
 
3319
4280
  /**
3320
- * The operation that you want to perform. Set the value to **DescribeExcpetionCount**.
4281
+ * ## Usage notes
4282
+ * 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.
3321
4283
  *
3322
4284
  * @param request DescribeExcpetionCountRequest
3323
4285
  * @return DescribeExcpetionCountResponse
@@ -3328,10 +4290,9 @@ export default class Client extends OpenApi {
3328
4290
  }
3329
4291
 
3330
4292
  /**
3331
- * The status of the instance. Valid values:
3332
- * * **1**: normal
3333
- * * **2**: expired
3334
- * * **3**: released
4293
+ * 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.
4294
+ * ## Limits
4295
+ * 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.
3335
4296
  *
3336
4297
  * @param request DescribeInstanceListRequest
3337
4298
  * @param runtime runtime options for this request RuntimeOptions
@@ -3410,10 +4371,9 @@ export default class Client extends OpenApi {
3410
4371
  }
3411
4372
 
3412
4373
  /**
3413
- * The status of the instance. Valid values:
3414
- * * **1**: normal
3415
- * * **2**: expired
3416
- * * **3**: released
4374
+ * 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.
4375
+ * ## Limits
4376
+ * 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.
3417
4377
  *
3418
4378
  * @param request DescribeInstanceListRequest
3419
4379
  * @return DescribeInstanceListResponse
@@ -3461,7 +4421,7 @@ export default class Client extends OpenApi {
3461
4421
  }
3462
4422
 
3463
4423
  /**
3464
- * The ID of the resource group.
4424
+ * > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
3465
4425
  *
3466
4426
  * @param request DescribeOnDemandDdosEventRequest
3467
4427
  * @param runtime runtime options for this request RuntimeOptions
@@ -3520,7 +4480,7 @@ export default class Client extends OpenApi {
3520
4480
  }
3521
4481
 
3522
4482
  /**
3523
- * The ID of the resource group.
4483
+ * > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
3524
4484
  *
3525
4485
  * @param request DescribeOnDemandDdosEventRequest
3526
4486
  * @return DescribeOnDemandDdosEventResponse
@@ -3638,7 +4598,9 @@ export default class Client extends OpenApi {
3638
4598
  }
3639
4599
 
3640
4600
  /**
3641
- * The number of entries to return on each page.
4601
+ * 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.
4602
+ * ## Limits
4603
+ * 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.
3642
4604
  *
3643
4605
  * @param request DescribePackIpListRequest
3644
4606
  * @param runtime runtime options for this request RuntimeOptions
@@ -3697,7 +4659,9 @@ export default class Client extends OpenApi {
3697
4659
  }
3698
4660
 
3699
4661
  /**
3700
- * The number of entries to return on each page.
4662
+ * 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.
4663
+ * ## Limits
4664
+ * 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.
3701
4665
  *
3702
4666
  * @param request DescribePackIpListRequest
3703
4667
  * @return DescribePackIpListResponse
@@ -3741,8 +4705,10 @@ export default class Client extends OpenApi {
3741
4705
  }
3742
4706
 
3743
4707
  /**
3744
- * The bandwidth of attack traffic. Unit: bit/s.
3745
- * > This parameter is returned only if attack traffic exists.
4708
+ * You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
4709
+ * > 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.
4710
+ * ## Limits
4711
+ * 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.
3746
4712
  *
3747
4713
  * @param request DescribeTrafficRequest
3748
4714
  * @param runtime runtime options for this request RuntimeOptions
@@ -3805,8 +4771,10 @@ export default class Client extends OpenApi {
3805
4771
  }
3806
4772
 
3807
4773
  /**
3808
- * The bandwidth of attack traffic. Unit: bit/s.
3809
- * > This parameter is returned only if attack traffic exists.
4774
+ * You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
4775
+ * > 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.
4776
+ * ## Limits
4777
+ * 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.
3810
4778
  *
3811
4779
  * @param request DescribeTrafficRequest
3812
4780
  * @return DescribeTrafficResponse
@@ -3816,6 +4784,53 @@ export default class Client extends OpenApi {
3816
4784
  return await this.describeTrafficWithOptions(request, runtime);
3817
4785
  }
3818
4786
 
4787
+ async dettachAssetGroupToInstanceWithOptions(tmpReq: DettachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DettachAssetGroupToInstanceResponse> {
4788
+ Util.validateModel(tmpReq);
4789
+ let request = new DettachAssetGroupToInstanceShrinkRequest({ });
4790
+ OpenApiUtil.convert(tmpReq, request);
4791
+ if (!Util.isUnset(tmpReq.assetGroupList)) {
4792
+ request.assetGroupListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetGroupList, "AssetGroupList", "json");
4793
+ }
4794
+
4795
+ let query = { };
4796
+ if (!Util.isUnset(request.assetGroupListShrink)) {
4797
+ query["AssetGroupList"] = request.assetGroupListShrink;
4798
+ }
4799
+
4800
+ if (!Util.isUnset(request.instanceId)) {
4801
+ query["InstanceId"] = request.instanceId;
4802
+ }
4803
+
4804
+ if (!Util.isUnset(request.regionId)) {
4805
+ query["RegionId"] = request.regionId;
4806
+ }
4807
+
4808
+ if (!Util.isUnset(request.sourceIp)) {
4809
+ query["SourceIp"] = request.sourceIp;
4810
+ }
4811
+
4812
+ let req = new $OpenApi.OpenApiRequest({
4813
+ query: OpenApiUtil.query(query),
4814
+ });
4815
+ let params = new $OpenApi.Params({
4816
+ action: "DettachAssetGroupToInstance",
4817
+ version: "2018-07-20",
4818
+ protocol: "HTTPS",
4819
+ pathname: "/",
4820
+ method: "POST",
4821
+ authType: "AK",
4822
+ style: "RPC",
4823
+ reqBodyType: "formData",
4824
+ bodyType: "json",
4825
+ });
4826
+ return $tea.cast<DettachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
4827
+ }
4828
+
4829
+ async dettachAssetGroupToInstance(request: DettachAssetGroupToInstanceRequest): Promise<DettachAssetGroupToInstanceResponse> {
4830
+ let runtime = new $Util.RuntimeOptions({ });
4831
+ return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
4832
+ }
4833
+
3819
4834
  async getSlsOpenStatusWithOptions(request: GetSlsOpenStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSlsOpenStatusResponse> {
3820
4835
  Util.validateModel(request);
3821
4836
  let query = { };
@@ -3932,8 +4947,7 @@ export default class Client extends OpenApi {
3932
4947
  }
3933
4948
 
3934
4949
  /**
3935
- * The ID of the region where the Anti-DDoS Origin instance resides.
3936
- * > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
4950
+ * You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
3937
4951
  *
3938
4952
  * @param request ListTagResourcesRequest
3939
4953
  * @param runtime runtime options for this request RuntimeOptions
@@ -3984,8 +4998,7 @@ export default class Client extends OpenApi {
3984
4998
  }
3985
4999
 
3986
5000
  /**
3987
- * The ID of the region where the Anti-DDoS Origin instance resides.
3988
- * > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
5001
+ * You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
3989
5002
  *
3990
5003
  * @param request ListTagResourcesRequest
3991
5004
  * @return ListTagResourcesResponse
@@ -3996,7 +5009,9 @@ export default class Client extends OpenApi {
3996
5009
  }
3997
5010
 
3998
5011
  /**
3999
- * The operation that you want to perform. Set the value to **ModifyRemark**.
5012
+ * You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
5013
+ * ## Limits
5014
+ * 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.
4000
5015
  *
4001
5016
  * @param request ModifyRemarkRequest
4002
5017
  * @param runtime runtime options for this request RuntimeOptions
@@ -4039,7 +5054,9 @@ export default class Client extends OpenApi {
4039
5054
  }
4040
5055
 
4041
5056
  /**
4042
- * The operation that you want to perform. Set the value to **ModifyRemark**.
5057
+ * You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
5058
+ * ## Limits
5059
+ * 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.
4043
5060
  *
4044
5061
  * @param request ModifyRemarkRequest
4045
5062
  * @return ModifyRemarkResponse
@@ -4082,6 +5099,35 @@ export default class Client extends OpenApi {
4082
5099
  return await this.querySchedruleOnDemandWithOptions(request, runtime);
4083
5100
  }
4084
5101
 
5102
+ async releaseDdosOriginInstanceWithOptions(request: ReleaseDdosOriginInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDdosOriginInstanceResponse> {
5103
+ Util.validateModel(request);
5104
+ let query = { };
5105
+ if (!Util.isUnset(request.instanceId)) {
5106
+ query["InstanceId"] = request.instanceId;
5107
+ }
5108
+
5109
+ let req = new $OpenApi.OpenApiRequest({
5110
+ query: OpenApiUtil.query(query),
5111
+ });
5112
+ let params = new $OpenApi.Params({
5113
+ action: "ReleaseDdosOriginInstance",
5114
+ version: "2018-07-20",
5115
+ protocol: "HTTPS",
5116
+ pathname: "/",
5117
+ method: "POST",
5118
+ authType: "AK",
5119
+ style: "RPC",
5120
+ reqBodyType: "formData",
5121
+ bodyType: "json",
5122
+ });
5123
+ return $tea.cast<ReleaseDdosOriginInstanceResponse>(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
5124
+ }
5125
+
5126
+ async releaseDdosOriginInstance(request: ReleaseDdosOriginInstanceRequest): Promise<ReleaseDdosOriginInstanceResponse> {
5127
+ let runtime = new $Util.RuntimeOptions({ });
5128
+ return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
5129
+ }
5130
+
4085
5131
  async setInstanceModeOnDemandWithOptions(request: SetInstanceModeOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceModeOnDemandResponse> {
4086
5132
  Util.validateModel(request);
4087
5133
  let query = { };
@@ -4120,8 +5166,9 @@ export default class Client extends OpenApi {
4120
5166
  }
4121
5167
 
4122
5168
  /**
4123
- * The ID of Anti-DDoS Origin Instance N to which you want to add tags.
4124
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin instances.
5169
+ * You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
5170
+ * ## Limits
5171
+ * 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.
4125
5172
  *
4126
5173
  * @param request TagResourcesRequest
4127
5174
  * @param runtime runtime options for this request RuntimeOptions
@@ -4168,8 +5215,9 @@ export default class Client extends OpenApi {
4168
5215
  }
4169
5216
 
4170
5217
  /**
4171
- * The ID of Anti-DDoS Origin Instance N to which you want to add tags.
4172
- * > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin instances.
5218
+ * You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
5219
+ * ## Limits
5220
+ * 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.
4173
5221
  *
4174
5222
  * @param request TagResourcesRequest
4175
5223
  * @return TagResourcesResponse