@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 +428 -121
- package/dist/client.js +951 -354
- package/dist/client.js.map +1 -1
- package/package.json +6 -6
- package/src/client.ts +869 -155
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
|
|
60
|
-
statusCode
|
|
61
|
-
body
|
|
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
|
|
129
|
-
statusCode
|
|
130
|
-
body
|
|
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
|
|
201
|
-
statusCode
|
|
202
|
-
body
|
|
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
|
|
297
|
-
statusCode
|
|
298
|
-
body
|
|
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
|
|
393
|
-
statusCode
|
|
394
|
-
body
|
|
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
|
|
465
|
-
statusCode
|
|
466
|
-
body
|
|
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
|
|
537
|
-
statusCode
|
|
538
|
-
body
|
|
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
|
|
606
|
-
statusCode
|
|
607
|
-
body
|
|
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,6 +726,174 @@ export class DeleteSchedruleOnDemandResponse extends $tea.Model {
|
|
|
626
726
|
}
|
|
627
727
|
}
|
|
628
728
|
|
|
729
|
+
export class DescribeAssetGroupRequest extends $tea.Model {
|
|
730
|
+
name?: string;
|
|
731
|
+
region?: string;
|
|
732
|
+
regionId?: string;
|
|
733
|
+
sourceIp?: string;
|
|
734
|
+
type?: string;
|
|
735
|
+
static names(): { [key: string]: string } {
|
|
736
|
+
return {
|
|
737
|
+
name: 'Name',
|
|
738
|
+
region: 'Region',
|
|
739
|
+
regionId: 'RegionId',
|
|
740
|
+
sourceIp: 'SourceIp',
|
|
741
|
+
type: 'Type',
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
static types(): { [key: string]: any } {
|
|
746
|
+
return {
|
|
747
|
+
name: 'string',
|
|
748
|
+
region: 'string',
|
|
749
|
+
regionId: 'string',
|
|
750
|
+
sourceIp: 'string',
|
|
751
|
+
type: 'string',
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
constructor(map?: { [key: string]: any }) {
|
|
756
|
+
super(map);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export class DescribeAssetGroupResponseBody extends $tea.Model {
|
|
761
|
+
assetGroupList?: DescribeAssetGroupResponseBodyAssetGroupList[];
|
|
762
|
+
requestId?: string;
|
|
763
|
+
total?: number;
|
|
764
|
+
static names(): { [key: string]: string } {
|
|
765
|
+
return {
|
|
766
|
+
assetGroupList: 'AssetGroupList',
|
|
767
|
+
requestId: 'RequestId',
|
|
768
|
+
total: 'Total',
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
static types(): { [key: string]: any } {
|
|
773
|
+
return {
|
|
774
|
+
assetGroupList: { 'type': 'array', 'itemType': DescribeAssetGroupResponseBodyAssetGroupList },
|
|
775
|
+
requestId: 'string',
|
|
776
|
+
total: 'number',
|
|
777
|
+
};
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
constructor(map?: { [key: string]: any }) {
|
|
781
|
+
super(map);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export class DescribeAssetGroupResponse extends $tea.Model {
|
|
786
|
+
headers?: { [key: string]: string };
|
|
787
|
+
statusCode?: number;
|
|
788
|
+
body?: DescribeAssetGroupResponseBody;
|
|
789
|
+
static names(): { [key: string]: string } {
|
|
790
|
+
return {
|
|
791
|
+
headers: 'headers',
|
|
792
|
+
statusCode: 'statusCode',
|
|
793
|
+
body: 'body',
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
static types(): { [key: string]: any } {
|
|
798
|
+
return {
|
|
799
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
800
|
+
statusCode: 'number',
|
|
801
|
+
body: DescribeAssetGroupResponseBody,
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
constructor(map?: { [key: string]: any }) {
|
|
806
|
+
super(map);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
811
|
+
instanceId?: string;
|
|
812
|
+
memberUid?: string;
|
|
813
|
+
name?: string;
|
|
814
|
+
region?: string;
|
|
815
|
+
regionId?: string;
|
|
816
|
+
sourceIp?: string;
|
|
817
|
+
type?: string;
|
|
818
|
+
static names(): { [key: string]: string } {
|
|
819
|
+
return {
|
|
820
|
+
instanceId: 'InstanceId',
|
|
821
|
+
memberUid: 'MemberUid',
|
|
822
|
+
name: 'Name',
|
|
823
|
+
region: 'Region',
|
|
824
|
+
regionId: 'RegionId',
|
|
825
|
+
sourceIp: 'SourceIp',
|
|
826
|
+
type: 'Type',
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
static types(): { [key: string]: any } {
|
|
831
|
+
return {
|
|
832
|
+
instanceId: 'string',
|
|
833
|
+
memberUid: 'string',
|
|
834
|
+
name: 'string',
|
|
835
|
+
region: 'string',
|
|
836
|
+
regionId: 'string',
|
|
837
|
+
sourceIp: 'string',
|
|
838
|
+
type: 'string',
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
constructor(map?: { [key: string]: any }) {
|
|
843
|
+
super(map);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export class DescribeAssetGroupToInstanceResponseBody extends $tea.Model {
|
|
848
|
+
dataList?: DescribeAssetGroupToInstanceResponseBodyDataList[];
|
|
849
|
+
requestId?: string;
|
|
850
|
+
total?: number;
|
|
851
|
+
static names(): { [key: string]: string } {
|
|
852
|
+
return {
|
|
853
|
+
dataList: 'DataList',
|
|
854
|
+
requestId: 'RequestId',
|
|
855
|
+
total: 'Total',
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
static types(): { [key: string]: any } {
|
|
860
|
+
return {
|
|
861
|
+
dataList: { 'type': 'array', 'itemType': DescribeAssetGroupToInstanceResponseBodyDataList },
|
|
862
|
+
requestId: 'string',
|
|
863
|
+
total: 'number',
|
|
864
|
+
};
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
constructor(map?: { [key: string]: any }) {
|
|
868
|
+
super(map);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export class DescribeAssetGroupToInstanceResponse extends $tea.Model {
|
|
873
|
+
headers?: { [key: string]: string };
|
|
874
|
+
statusCode?: number;
|
|
875
|
+
body?: DescribeAssetGroupToInstanceResponseBody;
|
|
876
|
+
static names(): { [key: string]: string } {
|
|
877
|
+
return {
|
|
878
|
+
headers: 'headers',
|
|
879
|
+
statusCode: 'statusCode',
|
|
880
|
+
body: 'body',
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
static types(): { [key: string]: any } {
|
|
885
|
+
return {
|
|
886
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
887
|
+
statusCode: 'number',
|
|
888
|
+
body: DescribeAssetGroupToInstanceResponseBody,
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
constructor(map?: { [key: string]: any }) {
|
|
893
|
+
super(map);
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
|
|
629
897
|
export class DescribeDdosEventRequest extends $tea.Model {
|
|
630
898
|
endTime?: number;
|
|
631
899
|
instanceId?: string;
|
|
@@ -692,9 +960,9 @@ export class DescribeDdosEventResponseBody extends $tea.Model {
|
|
|
692
960
|
}
|
|
693
961
|
|
|
694
962
|
export class DescribeDdosEventResponse extends $tea.Model {
|
|
695
|
-
headers
|
|
696
|
-
statusCode
|
|
697
|
-
body
|
|
963
|
+
headers?: { [key: string]: string };
|
|
964
|
+
statusCode?: number;
|
|
965
|
+
body?: DescribeDdosEventResponseBody;
|
|
698
966
|
static names(): { [key: string]: string } {
|
|
699
967
|
return {
|
|
700
968
|
headers: 'headers',
|
|
@@ -764,9 +1032,9 @@ export class DescribeExcpetionCountResponseBody extends $tea.Model {
|
|
|
764
1032
|
}
|
|
765
1033
|
|
|
766
1034
|
export class DescribeExcpetionCountResponse extends $tea.Model {
|
|
767
|
-
headers
|
|
768
|
-
statusCode
|
|
769
|
-
body
|
|
1035
|
+
headers?: { [key: string]: string };
|
|
1036
|
+
statusCode?: number;
|
|
1037
|
+
body?: DescribeExcpetionCountResponseBody;
|
|
770
1038
|
static names(): { [key: string]: string } {
|
|
771
1039
|
return {
|
|
772
1040
|
headers: 'headers',
|
|
@@ -869,9 +1137,9 @@ export class DescribeInstanceListResponseBody extends $tea.Model {
|
|
|
869
1137
|
}
|
|
870
1138
|
|
|
871
1139
|
export class DescribeInstanceListResponse extends $tea.Model {
|
|
872
|
-
headers
|
|
873
|
-
statusCode
|
|
874
|
-
body
|
|
1140
|
+
headers?: { [key: string]: string };
|
|
1141
|
+
statusCode?: number;
|
|
1142
|
+
body?: DescribeInstanceListResponseBody;
|
|
875
1143
|
static names(): { [key: string]: string } {
|
|
876
1144
|
return {
|
|
877
1145
|
headers: 'headers',
|
|
@@ -941,9 +1209,9 @@ export class DescribeInstanceSpecsResponseBody extends $tea.Model {
|
|
|
941
1209
|
}
|
|
942
1210
|
|
|
943
1211
|
export class DescribeInstanceSpecsResponse extends $tea.Model {
|
|
944
|
-
headers
|
|
945
|
-
statusCode
|
|
946
|
-
body
|
|
1212
|
+
headers?: { [key: string]: string };
|
|
1213
|
+
statusCode?: number;
|
|
1214
|
+
body?: DescribeInstanceSpecsResponseBody;
|
|
947
1215
|
static names(): { [key: string]: string } {
|
|
948
1216
|
return {
|
|
949
1217
|
headers: 'headers',
|
|
@@ -1031,9 +1299,9 @@ export class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
|
|
|
1031
1299
|
}
|
|
1032
1300
|
|
|
1033
1301
|
export class DescribeOnDemandDdosEventResponse extends $tea.Model {
|
|
1034
|
-
headers
|
|
1035
|
-
statusCode
|
|
1036
|
-
body
|
|
1302
|
+
headers?: { [key: string]: string };
|
|
1303
|
+
statusCode?: number;
|
|
1304
|
+
body?: DescribeOnDemandDdosEventResponseBody;
|
|
1037
1305
|
static names(): { [key: string]: string } {
|
|
1038
1306
|
return {
|
|
1039
1307
|
headers: 'headers',
|
|
@@ -1100,9 +1368,9 @@ export class DescribeOnDemandInstanceStatusResponseBody extends $tea.Model {
|
|
|
1100
1368
|
}
|
|
1101
1369
|
|
|
1102
1370
|
export class DescribeOnDemandInstanceStatusResponse extends $tea.Model {
|
|
1103
|
-
headers
|
|
1104
|
-
statusCode
|
|
1105
|
-
body
|
|
1371
|
+
headers?: { [key: string]: string };
|
|
1372
|
+
statusCode?: number;
|
|
1373
|
+
body?: DescribeOnDemandInstanceStatusResponseBody;
|
|
1106
1374
|
static names(): { [key: string]: string } {
|
|
1107
1375
|
return {
|
|
1108
1376
|
headers: 'headers',
|
|
@@ -1193,9 +1461,9 @@ export class DescribeOpEntitiesResponseBody extends $tea.Model {
|
|
|
1193
1461
|
}
|
|
1194
1462
|
|
|
1195
1463
|
export class DescribeOpEntitiesResponse extends $tea.Model {
|
|
1196
|
-
headers
|
|
1197
|
-
statusCode
|
|
1198
|
-
body
|
|
1464
|
+
headers?: { [key: string]: string };
|
|
1465
|
+
statusCode?: number;
|
|
1466
|
+
body?: DescribeOpEntitiesResponseBody;
|
|
1199
1467
|
static names(): { [key: string]: string } {
|
|
1200
1468
|
return {
|
|
1201
1469
|
headers: 'headers',
|
|
@@ -1289,9 +1557,9 @@ export class DescribePackIpListResponseBody extends $tea.Model {
|
|
|
1289
1557
|
}
|
|
1290
1558
|
|
|
1291
1559
|
export class DescribePackIpListResponse extends $tea.Model {
|
|
1292
|
-
headers
|
|
1293
|
-
statusCode
|
|
1294
|
-
body
|
|
1560
|
+
headers?: { [key: string]: string };
|
|
1561
|
+
statusCode?: number;
|
|
1562
|
+
body?: DescribePackIpListResponseBody;
|
|
1295
1563
|
static names(): { [key: string]: string } {
|
|
1296
1564
|
return {
|
|
1297
1565
|
headers: 'headers',
|
|
@@ -1364,9 +1632,9 @@ export class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
1364
1632
|
}
|
|
1365
1633
|
|
|
1366
1634
|
export class DescribeRegionsResponse extends $tea.Model {
|
|
1367
|
-
headers
|
|
1368
|
-
statusCode
|
|
1369
|
-
body
|
|
1635
|
+
headers?: { [key: string]: string };
|
|
1636
|
+
statusCode?: number;
|
|
1637
|
+
body?: DescribeRegionsResponseBody;
|
|
1370
1638
|
static names(): { [key: string]: string } {
|
|
1371
1639
|
return {
|
|
1372
1640
|
headers: 'headers',
|
|
@@ -1454,9 +1722,9 @@ export class DescribeTrafficResponseBody extends $tea.Model {
|
|
|
1454
1722
|
}
|
|
1455
1723
|
|
|
1456
1724
|
export class DescribeTrafficResponse extends $tea.Model {
|
|
1457
|
-
headers
|
|
1458
|
-
statusCode
|
|
1459
|
-
body
|
|
1725
|
+
headers?: { [key: string]: string };
|
|
1726
|
+
statusCode?: number;
|
|
1727
|
+
body?: DescribeTrafficResponseBody;
|
|
1460
1728
|
static names(): { [key: string]: string } {
|
|
1461
1729
|
return {
|
|
1462
1730
|
headers: 'headers',
|
|
@@ -1478,6 +1746,106 @@ export class DescribeTrafficResponse extends $tea.Model {
|
|
|
1478
1746
|
}
|
|
1479
1747
|
}
|
|
1480
1748
|
|
|
1749
|
+
export class DettachAssetGroupToInstanceRequest extends $tea.Model {
|
|
1750
|
+
assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
|
|
1751
|
+
instanceId?: string;
|
|
1752
|
+
regionId?: string;
|
|
1753
|
+
sourceIp?: string;
|
|
1754
|
+
static names(): { [key: string]: string } {
|
|
1755
|
+
return {
|
|
1756
|
+
assetGroupList: 'AssetGroupList',
|
|
1757
|
+
instanceId: 'InstanceId',
|
|
1758
|
+
regionId: 'RegionId',
|
|
1759
|
+
sourceIp: 'SourceIp',
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
static types(): { [key: string]: any } {
|
|
1764
|
+
return {
|
|
1765
|
+
assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
|
|
1766
|
+
instanceId: 'string',
|
|
1767
|
+
regionId: 'string',
|
|
1768
|
+
sourceIp: 'string',
|
|
1769
|
+
};
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
constructor(map?: { [key: string]: any }) {
|
|
1773
|
+
super(map);
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
1778
|
+
assetGroupListShrink?: string;
|
|
1779
|
+
instanceId?: string;
|
|
1780
|
+
regionId?: string;
|
|
1781
|
+
sourceIp?: string;
|
|
1782
|
+
static names(): { [key: string]: string } {
|
|
1783
|
+
return {
|
|
1784
|
+
assetGroupListShrink: 'AssetGroupList',
|
|
1785
|
+
instanceId: 'InstanceId',
|
|
1786
|
+
regionId: 'RegionId',
|
|
1787
|
+
sourceIp: 'SourceIp',
|
|
1788
|
+
};
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
static types(): { [key: string]: any } {
|
|
1792
|
+
return {
|
|
1793
|
+
assetGroupListShrink: 'string',
|
|
1794
|
+
instanceId: 'string',
|
|
1795
|
+
regionId: 'string',
|
|
1796
|
+
sourceIp: 'string',
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
constructor(map?: { [key: string]: any }) {
|
|
1801
|
+
super(map);
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
export class DettachAssetGroupToInstanceResponseBody extends $tea.Model {
|
|
1806
|
+
requestId?: string;
|
|
1807
|
+
static names(): { [key: string]: string } {
|
|
1808
|
+
return {
|
|
1809
|
+
requestId: 'RequestId',
|
|
1810
|
+
};
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
static types(): { [key: string]: any } {
|
|
1814
|
+
return {
|
|
1815
|
+
requestId: 'string',
|
|
1816
|
+
};
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
constructor(map?: { [key: string]: any }) {
|
|
1820
|
+
super(map);
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
export class DettachAssetGroupToInstanceResponse extends $tea.Model {
|
|
1825
|
+
headers?: { [key: string]: string };
|
|
1826
|
+
statusCode?: number;
|
|
1827
|
+
body?: DettachAssetGroupToInstanceResponseBody;
|
|
1828
|
+
static names(): { [key: string]: string } {
|
|
1829
|
+
return {
|
|
1830
|
+
headers: 'headers',
|
|
1831
|
+
statusCode: 'statusCode',
|
|
1832
|
+
body: 'body',
|
|
1833
|
+
};
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
static types(): { [key: string]: any } {
|
|
1837
|
+
return {
|
|
1838
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1839
|
+
statusCode: 'number',
|
|
1840
|
+
body: DettachAssetGroupToInstanceResponseBody,
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
constructor(map?: { [key: string]: any }) {
|
|
1845
|
+
super(map);
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1481
1849
|
export class GetSlsOpenStatusRequest extends $tea.Model {
|
|
1482
1850
|
regionId?: string;
|
|
1483
1851
|
resourceGroupId?: string;
|
|
@@ -1523,9 +1891,9 @@ export class GetSlsOpenStatusResponseBody extends $tea.Model {
|
|
|
1523
1891
|
}
|
|
1524
1892
|
|
|
1525
1893
|
export class GetSlsOpenStatusResponse extends $tea.Model {
|
|
1526
|
-
headers
|
|
1527
|
-
statusCode
|
|
1528
|
-
body
|
|
1894
|
+
headers?: { [key: string]: string };
|
|
1895
|
+
statusCode?: number;
|
|
1896
|
+
body?: GetSlsOpenStatusResponseBody;
|
|
1529
1897
|
static names(): { [key: string]: string } {
|
|
1530
1898
|
return {
|
|
1531
1899
|
headers: 'headers',
|
|
@@ -1598,9 +1966,9 @@ export class ListOpenedAccessLogInstancesResponseBody extends $tea.Model {
|
|
|
1598
1966
|
}
|
|
1599
1967
|
|
|
1600
1968
|
export class ListOpenedAccessLogInstancesResponse extends $tea.Model {
|
|
1601
|
-
headers
|
|
1602
|
-
statusCode
|
|
1603
|
-
body
|
|
1969
|
+
headers?: { [key: string]: string };
|
|
1970
|
+
statusCode?: number;
|
|
1971
|
+
body?: ListOpenedAccessLogInstancesResponseBody;
|
|
1604
1972
|
static names(): { [key: string]: string } {
|
|
1605
1973
|
return {
|
|
1606
1974
|
headers: 'headers',
|
|
@@ -1685,9 +2053,9 @@ export class ListTagKeysResponseBody extends $tea.Model {
|
|
|
1685
2053
|
}
|
|
1686
2054
|
|
|
1687
2055
|
export class ListTagKeysResponse extends $tea.Model {
|
|
1688
|
-
headers
|
|
1689
|
-
statusCode
|
|
1690
|
-
body
|
|
2056
|
+
headers?: { [key: string]: string };
|
|
2057
|
+
statusCode?: number;
|
|
2058
|
+
body?: ListTagKeysResponseBody;
|
|
1691
2059
|
static names(): { [key: string]: string } {
|
|
1692
2060
|
return {
|
|
1693
2061
|
headers: 'headers',
|
|
@@ -1769,9 +2137,9 @@ export class ListTagResourcesResponseBody extends $tea.Model {
|
|
|
1769
2137
|
}
|
|
1770
2138
|
|
|
1771
2139
|
export class ListTagResourcesResponse extends $tea.Model {
|
|
1772
|
-
headers
|
|
1773
|
-
statusCode
|
|
1774
|
-
body
|
|
2140
|
+
headers?: { [key: string]: string };
|
|
2141
|
+
statusCode?: number;
|
|
2142
|
+
body?: ListTagResourcesResponseBody;
|
|
1775
2143
|
static names(): { [key: string]: string } {
|
|
1776
2144
|
return {
|
|
1777
2145
|
headers: 'headers',
|
|
@@ -1841,9 +2209,9 @@ export class ModifyRemarkResponseBody extends $tea.Model {
|
|
|
1841
2209
|
}
|
|
1842
2210
|
|
|
1843
2211
|
export class ModifyRemarkResponse extends $tea.Model {
|
|
1844
|
-
headers
|
|
1845
|
-
statusCode
|
|
1846
|
-
body
|
|
2212
|
+
headers?: { [key: string]: string };
|
|
2213
|
+
statusCode?: number;
|
|
2214
|
+
body?: ModifyRemarkResponseBody;
|
|
1847
2215
|
static names(): { [key: string]: string } {
|
|
1848
2216
|
return {
|
|
1849
2217
|
headers: 'headers',
|
|
@@ -1919,9 +2287,9 @@ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
|
|
|
1919
2287
|
}
|
|
1920
2288
|
|
|
1921
2289
|
export class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
1922
|
-
headers
|
|
1923
|
-
statusCode
|
|
1924
|
-
body
|
|
2290
|
+
headers?: { [key: string]: string };
|
|
2291
|
+
statusCode?: number;
|
|
2292
|
+
body?: QuerySchedruleOnDemandResponseBody;
|
|
1925
2293
|
static names(): { [key: string]: string } {
|
|
1926
2294
|
return {
|
|
1927
2295
|
headers: 'headers',
|
|
@@ -1988,9 +2356,9 @@ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
|
|
|
1988
2356
|
}
|
|
1989
2357
|
|
|
1990
2358
|
export class SetInstanceModeOnDemandResponse extends $tea.Model {
|
|
1991
|
-
headers
|
|
1992
|
-
statusCode
|
|
1993
|
-
body
|
|
2359
|
+
headers?: { [key: string]: string };
|
|
2360
|
+
statusCode?: number;
|
|
2361
|
+
body?: SetInstanceModeOnDemandResponseBody;
|
|
1994
2362
|
static names(): { [key: string]: string } {
|
|
1995
2363
|
return {
|
|
1996
2364
|
headers: 'headers',
|
|
@@ -2034,7 +2402,85 @@ export class TagResourcesRequest extends $tea.Model {
|
|
|
2034
2402
|
resourceGroupId: 'string',
|
|
2035
2403
|
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2036
2404
|
resourceType: 'string',
|
|
2037
|
-
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
2405
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
2406
|
+
};
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
constructor(map?: { [key: string]: any }) {
|
|
2410
|
+
super(map);
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
export class TagResourcesResponseBody extends $tea.Model {
|
|
2415
|
+
requestId?: string;
|
|
2416
|
+
static names(): { [key: string]: string } {
|
|
2417
|
+
return {
|
|
2418
|
+
requestId: 'RequestId',
|
|
2419
|
+
};
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
static types(): { [key: string]: any } {
|
|
2423
|
+
return {
|
|
2424
|
+
requestId: 'string',
|
|
2425
|
+
};
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
constructor(map?: { [key: string]: any }) {
|
|
2429
|
+
super(map);
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
export class TagResourcesResponse extends $tea.Model {
|
|
2434
|
+
headers?: { [key: string]: string };
|
|
2435
|
+
statusCode?: number;
|
|
2436
|
+
body?: TagResourcesResponseBody;
|
|
2437
|
+
static names(): { [key: string]: string } {
|
|
2438
|
+
return {
|
|
2439
|
+
headers: 'headers',
|
|
2440
|
+
statusCode: 'statusCode',
|
|
2441
|
+
body: 'body',
|
|
2442
|
+
};
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
static types(): { [key: string]: any } {
|
|
2446
|
+
return {
|
|
2447
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2448
|
+
statusCode: 'number',
|
|
2449
|
+
body: TagResourcesResponseBody,
|
|
2450
|
+
};
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
constructor(map?: { [key: string]: any }) {
|
|
2454
|
+
super(map);
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
export class UntagResourcesRequest extends $tea.Model {
|
|
2459
|
+
all?: boolean;
|
|
2460
|
+
regionId?: string;
|
|
2461
|
+
resourceGroupId?: string;
|
|
2462
|
+
resourceId?: string[];
|
|
2463
|
+
resourceType?: string;
|
|
2464
|
+
tagKey?: string[];
|
|
2465
|
+
static names(): { [key: string]: string } {
|
|
2466
|
+
return {
|
|
2467
|
+
all: 'All',
|
|
2468
|
+
regionId: 'RegionId',
|
|
2469
|
+
resourceGroupId: 'ResourceGroupId',
|
|
2470
|
+
resourceId: 'ResourceId',
|
|
2471
|
+
resourceType: 'ResourceType',
|
|
2472
|
+
tagKey: 'TagKey',
|
|
2473
|
+
};
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
static types(): { [key: string]: any } {
|
|
2477
|
+
return {
|
|
2478
|
+
all: 'boolean',
|
|
2479
|
+
regionId: 'string',
|
|
2480
|
+
resourceGroupId: 'string',
|
|
2481
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2482
|
+
resourceType: 'string',
|
|
2483
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
2038
2484
|
};
|
|
2039
2485
|
}
|
|
2040
2486
|
|
|
@@ -2043,7 +2489,7 @@ export class TagResourcesRequest extends $tea.Model {
|
|
|
2043
2489
|
}
|
|
2044
2490
|
}
|
|
2045
2491
|
|
|
2046
|
-
export class
|
|
2492
|
+
export class UntagResourcesResponseBody extends $tea.Model {
|
|
2047
2493
|
requestId?: string;
|
|
2048
2494
|
static names(): { [key: string]: string } {
|
|
2049
2495
|
return {
|
|
@@ -2062,10 +2508,10 @@ export class TagResourcesResponseBody extends $tea.Model {
|
|
|
2062
2508
|
}
|
|
2063
2509
|
}
|
|
2064
2510
|
|
|
2065
|
-
export class
|
|
2066
|
-
headers
|
|
2067
|
-
statusCode
|
|
2068
|
-
body
|
|
2511
|
+
export class UntagResourcesResponse extends $tea.Model {
|
|
2512
|
+
headers?: { [key: string]: string };
|
|
2513
|
+
statusCode?: number;
|
|
2514
|
+
body?: UntagResourcesResponseBody;
|
|
2069
2515
|
static names(): { [key: string]: string } {
|
|
2070
2516
|
return {
|
|
2071
2517
|
headers: 'headers',
|
|
@@ -2078,7 +2524,7 @@ export class TagResourcesResponse extends $tea.Model {
|
|
|
2078
2524
|
return {
|
|
2079
2525
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2080
2526
|
statusCode: 'number',
|
|
2081
|
-
body:
|
|
2527
|
+
body: UntagResourcesResponseBody,
|
|
2082
2528
|
};
|
|
2083
2529
|
}
|
|
2084
2530
|
|
|
@@ -2087,32 +2533,26 @@ export class TagResourcesResponse extends $tea.Model {
|
|
|
2087
2533
|
}
|
|
2088
2534
|
}
|
|
2089
2535
|
|
|
2090
|
-
export class
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
resourceType?: string;
|
|
2096
|
-
tagKey?: string[];
|
|
2536
|
+
export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
2537
|
+
memberUid?: string;
|
|
2538
|
+
name?: string;
|
|
2539
|
+
region?: string;
|
|
2540
|
+
type?: string;
|
|
2097
2541
|
static names(): { [key: string]: string } {
|
|
2098
2542
|
return {
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
resourceType: 'ResourceType',
|
|
2104
|
-
tagKey: 'TagKey',
|
|
2543
|
+
memberUid: 'MemberUid',
|
|
2544
|
+
name: 'Name',
|
|
2545
|
+
region: 'Region',
|
|
2546
|
+
type: 'Type',
|
|
2105
2547
|
};
|
|
2106
2548
|
}
|
|
2107
2549
|
|
|
2108
2550
|
static types(): { [key: string]: any } {
|
|
2109
2551
|
return {
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
resourceType: 'string',
|
|
2115
|
-
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
2552
|
+
memberUid: 'string',
|
|
2553
|
+
name: 'string',
|
|
2554
|
+
region: 'string',
|
|
2555
|
+
type: 'string',
|
|
2116
2556
|
};
|
|
2117
2557
|
}
|
|
2118
2558
|
|
|
@@ -2121,17 +2561,23 @@ export class UntagResourcesRequest extends $tea.Model {
|
|
|
2121
2561
|
}
|
|
2122
2562
|
}
|
|
2123
2563
|
|
|
2124
|
-
export class
|
|
2125
|
-
|
|
2564
|
+
export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
|
|
2565
|
+
name?: string;
|
|
2566
|
+
region?: string;
|
|
2567
|
+
type?: string;
|
|
2126
2568
|
static names(): { [key: string]: string } {
|
|
2127
2569
|
return {
|
|
2128
|
-
|
|
2570
|
+
name: 'Name',
|
|
2571
|
+
region: 'Region',
|
|
2572
|
+
type: 'Type',
|
|
2129
2573
|
};
|
|
2130
2574
|
}
|
|
2131
2575
|
|
|
2132
2576
|
static types(): { [key: string]: any } {
|
|
2133
2577
|
return {
|
|
2134
|
-
|
|
2578
|
+
name: 'string',
|
|
2579
|
+
region: 'string',
|
|
2580
|
+
type: 'string',
|
|
2135
2581
|
};
|
|
2136
2582
|
}
|
|
2137
2583
|
|
|
@@ -2140,23 +2586,29 @@ export class UntagResourcesResponseBody extends $tea.Model {
|
|
|
2140
2586
|
}
|
|
2141
2587
|
}
|
|
2142
2588
|
|
|
2143
|
-
export class
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2589
|
+
export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
|
|
2590
|
+
instanceId?: string;
|
|
2591
|
+
memberUid?: string;
|
|
2592
|
+
name?: string;
|
|
2593
|
+
region?: string;
|
|
2594
|
+
type?: string;
|
|
2147
2595
|
static names(): { [key: string]: string } {
|
|
2148
2596
|
return {
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2597
|
+
instanceId: 'InstanceId',
|
|
2598
|
+
memberUid: 'MemberUid',
|
|
2599
|
+
name: 'Name',
|
|
2600
|
+
region: 'Region',
|
|
2601
|
+
type: 'Type',
|
|
2152
2602
|
};
|
|
2153
2603
|
}
|
|
2154
2604
|
|
|
2155
2605
|
static types(): { [key: string]: any } {
|
|
2156
2606
|
return {
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2607
|
+
instanceId: 'string',
|
|
2608
|
+
memberUid: 'string',
|
|
2609
|
+
name: 'string',
|
|
2610
|
+
region: 'string',
|
|
2611
|
+
type: 'string',
|
|
2160
2612
|
};
|
|
2161
2613
|
}
|
|
2162
2614
|
|
|
@@ -2221,9 +2673,30 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
2221
2673
|
}
|
|
2222
2674
|
}
|
|
2223
2675
|
|
|
2676
|
+
export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
|
|
2677
|
+
events?: string[];
|
|
2678
|
+
static names(): { [key: string]: string } {
|
|
2679
|
+
return {
|
|
2680
|
+
events: 'Events',
|
|
2681
|
+
};
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
static types(): { [key: string]: any } {
|
|
2685
|
+
return {
|
|
2686
|
+
events: { 'type': 'array', 'itemType': 'string' },
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
constructor(map?: { [key: string]: any }) {
|
|
2691
|
+
super(map);
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2224
2695
|
export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
2696
|
+
autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
|
|
2225
2697
|
autoRenewal?: boolean;
|
|
2226
2698
|
blackholdingCount?: string;
|
|
2699
|
+
commodityType?: string;
|
|
2227
2700
|
coverageType?: number;
|
|
2228
2701
|
expireTime?: number;
|
|
2229
2702
|
gmtCreate?: number;
|
|
@@ -2235,8 +2708,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
|
2235
2708
|
status?: string;
|
|
2236
2709
|
static names(): { [key: string]: string } {
|
|
2237
2710
|
return {
|
|
2711
|
+
autoProtectCondition: 'AutoProtectCondition',
|
|
2238
2712
|
autoRenewal: 'AutoRenewal',
|
|
2239
2713
|
blackholdingCount: 'BlackholdingCount',
|
|
2714
|
+
commodityType: 'CommodityType',
|
|
2240
2715
|
coverageType: 'CoverageType',
|
|
2241
2716
|
expireTime: 'ExpireTime',
|
|
2242
2717
|
gmtCreate: 'GmtCreate',
|
|
@@ -2251,8 +2726,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
|
2251
2726
|
|
|
2252
2727
|
static types(): { [key: string]: any } {
|
|
2253
2728
|
return {
|
|
2729
|
+
autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
|
|
2254
2730
|
autoRenewal: 'boolean',
|
|
2255
2731
|
blackholdingCount: 'string',
|
|
2732
|
+
commodityType: 'string',
|
|
2256
2733
|
coverageType: 'number',
|
|
2257
2734
|
expireTime: 'number',
|
|
2258
2735
|
gmtCreate: 'number',
|
|
@@ -2313,6 +2790,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
|
|
|
2313
2790
|
export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
2314
2791
|
availableDefenseTimes?: number;
|
|
2315
2792
|
availableDeleteBlackholeCount?: string;
|
|
2793
|
+
defenseTimesPercent?: number;
|
|
2316
2794
|
instanceId?: string;
|
|
2317
2795
|
isFullDefenseMode?: number;
|
|
2318
2796
|
packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
@@ -2322,6 +2800,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
2322
2800
|
return {
|
|
2323
2801
|
availableDefenseTimes: 'AvailableDefenseTimes',
|
|
2324
2802
|
availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
|
|
2803
|
+
defenseTimesPercent: 'DefenseTimesPercent',
|
|
2325
2804
|
instanceId: 'InstanceId',
|
|
2326
2805
|
isFullDefenseMode: 'IsFullDefenseMode',
|
|
2327
2806
|
packConfig: 'PackConfig',
|
|
@@ -2334,6 +2813,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
2334
2813
|
return {
|
|
2335
2814
|
availableDefenseTimes: 'number',
|
|
2336
2815
|
availableDeleteBlackholeCount: 'string',
|
|
2816
|
+
defenseTimesPercent: 'number',
|
|
2337
2817
|
instanceId: 'string',
|
|
2338
2818
|
isFullDefenseMode: 'number',
|
|
2339
2819
|
packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
|
|
@@ -2455,6 +2935,7 @@ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
|
|
|
2455
2935
|
export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
2456
2936
|
ip?: string;
|
|
2457
2937
|
memberUid?: string;
|
|
2938
|
+
nsmStatus?: number;
|
|
2458
2939
|
product?: string;
|
|
2459
2940
|
region?: string;
|
|
2460
2941
|
remark?: string;
|
|
@@ -2463,6 +2944,7 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2463
2944
|
return {
|
|
2464
2945
|
ip: 'Ip',
|
|
2465
2946
|
memberUid: 'MemberUid',
|
|
2947
|
+
nsmStatus: 'NsmStatus',
|
|
2466
2948
|
product: 'Product',
|
|
2467
2949
|
region: 'Region',
|
|
2468
2950
|
remark: 'Remark',
|
|
@@ -2474,6 +2956,7 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2474
2956
|
return {
|
|
2475
2957
|
ip: 'string',
|
|
2476
2958
|
memberUid: 'string',
|
|
2959
|
+
nsmStatus: 'number',
|
|
2477
2960
|
product: 'string',
|
|
2478
2961
|
region: 'string',
|
|
2479
2962
|
remark: 'string',
|
|
@@ -2548,6 +3031,31 @@ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
|
2548
3031
|
}
|
|
2549
3032
|
}
|
|
2550
3033
|
|
|
3034
|
+
export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
3035
|
+
name?: string;
|
|
3036
|
+
region?: string;
|
|
3037
|
+
type?: string;
|
|
3038
|
+
static names(): { [key: string]: string } {
|
|
3039
|
+
return {
|
|
3040
|
+
name: 'Name',
|
|
3041
|
+
region: 'Region',
|
|
3042
|
+
type: 'Type',
|
|
3043
|
+
};
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
static types(): { [key: string]: any } {
|
|
3047
|
+
return {
|
|
3048
|
+
name: 'string',
|
|
3049
|
+
region: 'string',
|
|
3050
|
+
type: 'string',
|
|
3051
|
+
};
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
constructor(map?: { [key: string]: any }) {
|
|
3055
|
+
super(map);
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
|
|
2551
3059
|
export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
|
|
2552
3060
|
enable?: boolean;
|
|
2553
3061
|
instanceId?: string;
|
|
@@ -2837,6 +3345,53 @@ export default class Client extends OpenApi {
|
|
|
2837
3345
|
return await this.addIpWithOptions(request, runtime);
|
|
2838
3346
|
}
|
|
2839
3347
|
|
|
3348
|
+
async attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse> {
|
|
3349
|
+
Util.validateModel(tmpReq);
|
|
3350
|
+
let request = new AttachAssetGroupToInstanceShrinkRequest({ });
|
|
3351
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3352
|
+
if (!Util.isUnset(tmpReq.assetGroupList)) {
|
|
3353
|
+
request.assetGroupListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetGroupList, "AssetGroupList", "json");
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
let query = { };
|
|
3357
|
+
if (!Util.isUnset(request.assetGroupListShrink)) {
|
|
3358
|
+
query["AssetGroupList"] = request.assetGroupListShrink;
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3361
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
3362
|
+
query["InstanceId"] = request.instanceId;
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
if (!Util.isUnset(request.regionId)) {
|
|
3366
|
+
query["RegionId"] = request.regionId;
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
3370
|
+
query["SourceIp"] = request.sourceIp;
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3374
|
+
query: OpenApiUtil.query(query),
|
|
3375
|
+
});
|
|
3376
|
+
let params = new $OpenApi.Params({
|
|
3377
|
+
action: "AttachAssetGroupToInstance",
|
|
3378
|
+
version: "2018-07-20",
|
|
3379
|
+
protocol: "HTTPS",
|
|
3380
|
+
pathname: "/",
|
|
3381
|
+
method: "POST",
|
|
3382
|
+
authType: "AK",
|
|
3383
|
+
style: "RPC",
|
|
3384
|
+
reqBodyType: "formData",
|
|
3385
|
+
bodyType: "json",
|
|
3386
|
+
});
|
|
3387
|
+
return $tea.cast<AttachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
async attachAssetGroupToInstance(request: AttachAssetGroupToInstanceRequest): Promise<AttachAssetGroupToInstanceResponse> {
|
|
3391
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3392
|
+
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
3393
|
+
}
|
|
3394
|
+
|
|
2840
3395
|
async checkAccessLogAuthWithOptions(request: CheckAccessLogAuthRequest, runtime: $Util.RuntimeOptions): Promise<CheckAccessLogAuthResponse> {
|
|
2841
3396
|
Util.validateModel(request);
|
|
2842
3397
|
let query = { };
|
|
@@ -2871,9 +3426,9 @@ export default class Client extends OpenApi {
|
|
|
2871
3426
|
}
|
|
2872
3427
|
|
|
2873
3428
|
/**
|
|
2874
|
-
*
|
|
2875
|
-
*
|
|
2876
|
-
*
|
|
3429
|
+
* 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.
|
|
3430
|
+
* ### Limits
|
|
3431
|
+
* 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
3432
|
*
|
|
2878
3433
|
* @param request CheckGrantRequest
|
|
2879
3434
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2900,9 +3455,9 @@ export default class Client extends OpenApi {
|
|
|
2900
3455
|
}
|
|
2901
3456
|
|
|
2902
3457
|
/**
|
|
2903
|
-
*
|
|
2904
|
-
*
|
|
2905
|
-
*
|
|
3458
|
+
* 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.
|
|
3459
|
+
* ### Limits
|
|
3460
|
+
* 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
3461
|
*
|
|
2907
3462
|
* @param request CheckGrantRequest
|
|
2908
3463
|
* @return CheckGrantResponse
|
|
@@ -3119,8 +3674,7 @@ export default class Client extends OpenApi {
|
|
|
3119
3674
|
}
|
|
3120
3675
|
|
|
3121
3676
|
/**
|
|
3122
|
-
* The
|
|
3123
|
-
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
|
|
3677
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
3124
3678
|
*
|
|
3125
3679
|
* @param request DeleteIpRequest
|
|
3126
3680
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3163,8 +3717,7 @@ export default class Client extends OpenApi {
|
|
|
3163
3717
|
}
|
|
3164
3718
|
|
|
3165
3719
|
/**
|
|
3166
|
-
* The
|
|
3167
|
-
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
|
|
3720
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
3168
3721
|
*
|
|
3169
3722
|
* @param request DeleteIpRequest
|
|
3170
3723
|
* @return DeleteIpResponse
|
|
@@ -3211,8 +3764,108 @@ export default class Client extends OpenApi {
|
|
|
3211
3764
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
3212
3765
|
}
|
|
3213
3766
|
|
|
3767
|
+
async describeAssetGroupWithOptions(request: DescribeAssetGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupResponse> {
|
|
3768
|
+
Util.validateModel(request);
|
|
3769
|
+
let query = { };
|
|
3770
|
+
if (!Util.isUnset(request.name)) {
|
|
3771
|
+
query["Name"] = request.name;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
if (!Util.isUnset(request.region)) {
|
|
3775
|
+
query["Region"] = request.region;
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
if (!Util.isUnset(request.regionId)) {
|
|
3779
|
+
query["RegionId"] = request.regionId;
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
3783
|
+
query["SourceIp"] = request.sourceIp;
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
if (!Util.isUnset(request.type)) {
|
|
3787
|
+
query["Type"] = request.type;
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3791
|
+
query: OpenApiUtil.query(query),
|
|
3792
|
+
});
|
|
3793
|
+
let params = new $OpenApi.Params({
|
|
3794
|
+
action: "DescribeAssetGroup",
|
|
3795
|
+
version: "2018-07-20",
|
|
3796
|
+
protocol: "HTTPS",
|
|
3797
|
+
pathname: "/",
|
|
3798
|
+
method: "POST",
|
|
3799
|
+
authType: "AK",
|
|
3800
|
+
style: "RPC",
|
|
3801
|
+
reqBodyType: "formData",
|
|
3802
|
+
bodyType: "json",
|
|
3803
|
+
});
|
|
3804
|
+
return $tea.cast<DescribeAssetGroupResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
async describeAssetGroup(request: DescribeAssetGroupRequest): Promise<DescribeAssetGroupResponse> {
|
|
3808
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3809
|
+
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
async describeAssetGroupToInstanceWithOptions(request: DescribeAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupToInstanceResponse> {
|
|
3813
|
+
Util.validateModel(request);
|
|
3814
|
+
let query = { };
|
|
3815
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
3816
|
+
query["InstanceId"] = request.instanceId;
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
if (!Util.isUnset(request.memberUid)) {
|
|
3820
|
+
query["MemberUid"] = request.memberUid;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
if (!Util.isUnset(request.name)) {
|
|
3824
|
+
query["Name"] = request.name;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
if (!Util.isUnset(request.region)) {
|
|
3828
|
+
query["Region"] = request.region;
|
|
3829
|
+
}
|
|
3830
|
+
|
|
3831
|
+
if (!Util.isUnset(request.regionId)) {
|
|
3832
|
+
query["RegionId"] = request.regionId;
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
3836
|
+
query["SourceIp"] = request.sourceIp;
|
|
3837
|
+
}
|
|
3838
|
+
|
|
3839
|
+
if (!Util.isUnset(request.type)) {
|
|
3840
|
+
query["Type"] = request.type;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3844
|
+
query: OpenApiUtil.query(query),
|
|
3845
|
+
});
|
|
3846
|
+
let params = new $OpenApi.Params({
|
|
3847
|
+
action: "DescribeAssetGroupToInstance",
|
|
3848
|
+
version: "2018-07-20",
|
|
3849
|
+
protocol: "HTTPS",
|
|
3850
|
+
pathname: "/",
|
|
3851
|
+
method: "POST",
|
|
3852
|
+
authType: "AK",
|
|
3853
|
+
style: "RPC",
|
|
3854
|
+
reqBodyType: "formData",
|
|
3855
|
+
bodyType: "json",
|
|
3856
|
+
});
|
|
3857
|
+
return $tea.cast<DescribeAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
async describeAssetGroupToInstance(request: DescribeAssetGroupToInstanceRequest): Promise<DescribeAssetGroupToInstanceResponse> {
|
|
3861
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3862
|
+
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
3863
|
+
}
|
|
3864
|
+
|
|
3214
3865
|
/**
|
|
3215
|
-
*
|
|
3866
|
+
* 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.
|
|
3867
|
+
* ## Limits
|
|
3868
|
+
* 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
3869
|
*
|
|
3217
3870
|
* @param request DescribeDdosEventRequest
|
|
3218
3871
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3271,7 +3924,9 @@ export default class Client extends OpenApi {
|
|
|
3271
3924
|
}
|
|
3272
3925
|
|
|
3273
3926
|
/**
|
|
3274
|
-
*
|
|
3927
|
+
* 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.
|
|
3928
|
+
* ## Limits
|
|
3929
|
+
* 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
3930
|
*
|
|
3276
3931
|
* @param request DescribeDdosEventRequest
|
|
3277
3932
|
* @return DescribeDdosEventResponse
|
|
@@ -3282,7 +3937,8 @@ export default class Client extends OpenApi {
|
|
|
3282
3937
|
}
|
|
3283
3938
|
|
|
3284
3939
|
/**
|
|
3285
|
-
*
|
|
3940
|
+
* ## Usage notes
|
|
3941
|
+
* 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
3942
|
*
|
|
3287
3943
|
* @param request DescribeExcpetionCountRequest
|
|
3288
3944
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3317,7 +3973,8 @@ export default class Client extends OpenApi {
|
|
|
3317
3973
|
}
|
|
3318
3974
|
|
|
3319
3975
|
/**
|
|
3320
|
-
*
|
|
3976
|
+
* ## Usage notes
|
|
3977
|
+
* 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
3978
|
*
|
|
3322
3979
|
* @param request DescribeExcpetionCountRequest
|
|
3323
3980
|
* @return DescribeExcpetionCountResponse
|
|
@@ -3328,10 +3985,9 @@ export default class Client extends OpenApi {
|
|
|
3328
3985
|
}
|
|
3329
3986
|
|
|
3330
3987
|
/**
|
|
3331
|
-
* The status of
|
|
3332
|
-
*
|
|
3333
|
-
*
|
|
3334
|
-
* * **3**: released
|
|
3988
|
+
* 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.
|
|
3989
|
+
* ## Limits
|
|
3990
|
+
* 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
3991
|
*
|
|
3336
3992
|
* @param request DescribeInstanceListRequest
|
|
3337
3993
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3410,10 +4066,9 @@ export default class Client extends OpenApi {
|
|
|
3410
4066
|
}
|
|
3411
4067
|
|
|
3412
4068
|
/**
|
|
3413
|
-
* The status of
|
|
3414
|
-
*
|
|
3415
|
-
*
|
|
3416
|
-
* * **3**: released
|
|
4069
|
+
* 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.
|
|
4070
|
+
* ## Limits
|
|
4071
|
+
* 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
4072
|
*
|
|
3418
4073
|
* @param request DescribeInstanceListRequest
|
|
3419
4074
|
* @return DescribeInstanceListResponse
|
|
@@ -3461,7 +4116,7 @@ export default class Client extends OpenApi {
|
|
|
3461
4116
|
}
|
|
3462
4117
|
|
|
3463
4118
|
/**
|
|
3464
|
-
*
|
|
4119
|
+
* > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
3465
4120
|
*
|
|
3466
4121
|
* @param request DescribeOnDemandDdosEventRequest
|
|
3467
4122
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3520,7 +4175,7 @@ export default class Client extends OpenApi {
|
|
|
3520
4175
|
}
|
|
3521
4176
|
|
|
3522
4177
|
/**
|
|
3523
|
-
*
|
|
4178
|
+
* > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
3524
4179
|
*
|
|
3525
4180
|
* @param request DescribeOnDemandDdosEventRequest
|
|
3526
4181
|
* @return DescribeOnDemandDdosEventResponse
|
|
@@ -3638,7 +4293,9 @@ export default class Client extends OpenApi {
|
|
|
3638
4293
|
}
|
|
3639
4294
|
|
|
3640
4295
|
/**
|
|
3641
|
-
*
|
|
4296
|
+
* 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.
|
|
4297
|
+
* ## Limits
|
|
4298
|
+
* 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
4299
|
*
|
|
3643
4300
|
* @param request DescribePackIpListRequest
|
|
3644
4301
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3697,7 +4354,9 @@ export default class Client extends OpenApi {
|
|
|
3697
4354
|
}
|
|
3698
4355
|
|
|
3699
4356
|
/**
|
|
3700
|
-
*
|
|
4357
|
+
* 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.
|
|
4358
|
+
* ## Limits
|
|
4359
|
+
* 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
4360
|
*
|
|
3702
4361
|
* @param request DescribePackIpListRequest
|
|
3703
4362
|
* @return DescribePackIpListResponse
|
|
@@ -3741,8 +4400,10 @@ export default class Client extends OpenApi {
|
|
|
3741
4400
|
}
|
|
3742
4401
|
|
|
3743
4402
|
/**
|
|
3744
|
-
*
|
|
3745
|
-
* >
|
|
4403
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
4404
|
+
* > 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.
|
|
4405
|
+
* ## Limits
|
|
4406
|
+
* 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
4407
|
*
|
|
3747
4408
|
* @param request DescribeTrafficRequest
|
|
3748
4409
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3805,8 +4466,10 @@ export default class Client extends OpenApi {
|
|
|
3805
4466
|
}
|
|
3806
4467
|
|
|
3807
4468
|
/**
|
|
3808
|
-
*
|
|
3809
|
-
* >
|
|
4469
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
4470
|
+
* > 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.
|
|
4471
|
+
* ## Limits
|
|
4472
|
+
* 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
4473
|
*
|
|
3811
4474
|
* @param request DescribeTrafficRequest
|
|
3812
4475
|
* @return DescribeTrafficResponse
|
|
@@ -3816,6 +4479,53 @@ export default class Client extends OpenApi {
|
|
|
3816
4479
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
3817
4480
|
}
|
|
3818
4481
|
|
|
4482
|
+
async dettachAssetGroupToInstanceWithOptions(tmpReq: DettachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DettachAssetGroupToInstanceResponse> {
|
|
4483
|
+
Util.validateModel(tmpReq);
|
|
4484
|
+
let request = new DettachAssetGroupToInstanceShrinkRequest({ });
|
|
4485
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4486
|
+
if (!Util.isUnset(tmpReq.assetGroupList)) {
|
|
4487
|
+
request.assetGroupListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetGroupList, "AssetGroupList", "json");
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
let query = { };
|
|
4491
|
+
if (!Util.isUnset(request.assetGroupListShrink)) {
|
|
4492
|
+
query["AssetGroupList"] = request.assetGroupListShrink;
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4495
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
4496
|
+
query["InstanceId"] = request.instanceId;
|
|
4497
|
+
}
|
|
4498
|
+
|
|
4499
|
+
if (!Util.isUnset(request.regionId)) {
|
|
4500
|
+
query["RegionId"] = request.regionId;
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
4504
|
+
query["SourceIp"] = request.sourceIp;
|
|
4505
|
+
}
|
|
4506
|
+
|
|
4507
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4508
|
+
query: OpenApiUtil.query(query),
|
|
4509
|
+
});
|
|
4510
|
+
let params = new $OpenApi.Params({
|
|
4511
|
+
action: "DettachAssetGroupToInstance",
|
|
4512
|
+
version: "2018-07-20",
|
|
4513
|
+
protocol: "HTTPS",
|
|
4514
|
+
pathname: "/",
|
|
4515
|
+
method: "POST",
|
|
4516
|
+
authType: "AK",
|
|
4517
|
+
style: "RPC",
|
|
4518
|
+
reqBodyType: "formData",
|
|
4519
|
+
bodyType: "json",
|
|
4520
|
+
});
|
|
4521
|
+
return $tea.cast<DettachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
4522
|
+
}
|
|
4523
|
+
|
|
4524
|
+
async dettachAssetGroupToInstance(request: DettachAssetGroupToInstanceRequest): Promise<DettachAssetGroupToInstanceResponse> {
|
|
4525
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4526
|
+
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4527
|
+
}
|
|
4528
|
+
|
|
3819
4529
|
async getSlsOpenStatusWithOptions(request: GetSlsOpenStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSlsOpenStatusResponse> {
|
|
3820
4530
|
Util.validateModel(request);
|
|
3821
4531
|
let query = { };
|
|
@@ -3932,8 +4642,7 @@ export default class Client extends OpenApi {
|
|
|
3932
4642
|
}
|
|
3933
4643
|
|
|
3934
4644
|
/**
|
|
3935
|
-
*
|
|
3936
|
-
* > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
|
|
4645
|
+
* You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
3937
4646
|
*
|
|
3938
4647
|
* @param request ListTagResourcesRequest
|
|
3939
4648
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3984,8 +4693,7 @@ export default class Client extends OpenApi {
|
|
|
3984
4693
|
}
|
|
3985
4694
|
|
|
3986
4695
|
/**
|
|
3987
|
-
*
|
|
3988
|
-
* > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
|
|
4696
|
+
* You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
3989
4697
|
*
|
|
3990
4698
|
* @param request ListTagResourcesRequest
|
|
3991
4699
|
* @return ListTagResourcesResponse
|
|
@@ -3996,7 +4704,9 @@ export default class Client extends OpenApi {
|
|
|
3996
4704
|
}
|
|
3997
4705
|
|
|
3998
4706
|
/**
|
|
3999
|
-
*
|
|
4707
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
4708
|
+
* ## Limits
|
|
4709
|
+
* 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
4710
|
*
|
|
4001
4711
|
* @param request ModifyRemarkRequest
|
|
4002
4712
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4039,7 +4749,9 @@ export default class Client extends OpenApi {
|
|
|
4039
4749
|
}
|
|
4040
4750
|
|
|
4041
4751
|
/**
|
|
4042
|
-
*
|
|
4752
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
4753
|
+
* ## Limits
|
|
4754
|
+
* 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
4755
|
*
|
|
4044
4756
|
* @param request ModifyRemarkRequest
|
|
4045
4757
|
* @return ModifyRemarkResponse
|
|
@@ -4120,8 +4832,9 @@ export default class Client extends OpenApi {
|
|
|
4120
4832
|
}
|
|
4121
4833
|
|
|
4122
4834
|
/**
|
|
4123
|
-
*
|
|
4124
|
-
*
|
|
4835
|
+
* You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
4836
|
+
* ## Limits
|
|
4837
|
+
* 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
4838
|
*
|
|
4126
4839
|
* @param request TagResourcesRequest
|
|
4127
4840
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4168,8 +4881,9 @@ export default class Client extends OpenApi {
|
|
|
4168
4881
|
}
|
|
4169
4882
|
|
|
4170
4883
|
/**
|
|
4171
|
-
*
|
|
4172
|
-
*
|
|
4884
|
+
* You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
4885
|
+
* ## Limits
|
|
4886
|
+
* 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
4887
|
*
|
|
4174
4888
|
* @param request TagResourcesRequest
|
|
4175
4889
|
* @return TagResourcesResponse
|