@alicloud/ddosbgp20180720 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +431 -333
- package/dist/client.js +1457 -671
- package/dist/client.js.map +1 -1
- package/package.json +6 -7
- package/src/client.ts +1782 -903
package/dist/client.js
CHANGED
|
@@ -25,18 +25,16 @@ class AddIpRequest extends $tea.Model {
|
|
|
25
25
|
}
|
|
26
26
|
static names() {
|
|
27
27
|
return {
|
|
28
|
-
sourceIp: 'SourceIp',
|
|
29
|
-
ipList: 'IpList',
|
|
30
28
|
instanceId: 'InstanceId',
|
|
29
|
+
ipList: 'IpList',
|
|
31
30
|
regionId: 'RegionId',
|
|
32
31
|
resourceGroupId: 'ResourceGroupId',
|
|
33
32
|
};
|
|
34
33
|
}
|
|
35
34
|
static types() {
|
|
36
35
|
return {
|
|
37
|
-
sourceIp: 'string',
|
|
38
|
-
ipList: 'string',
|
|
39
36
|
instanceId: 'string',
|
|
37
|
+
ipList: 'string',
|
|
40
38
|
regionId: 'string',
|
|
41
39
|
resourceGroupId: 'string',
|
|
42
40
|
};
|
|
@@ -66,33 +64,91 @@ class AddIpResponse extends $tea.Model {
|
|
|
66
64
|
static names() {
|
|
67
65
|
return {
|
|
68
66
|
headers: 'headers',
|
|
67
|
+
statusCode: 'statusCode',
|
|
69
68
|
body: 'body',
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
static types() {
|
|
73
72
|
return {
|
|
74
73
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
74
|
+
statusCode: 'number',
|
|
75
75
|
body: AddIpResponseBody,
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
exports.AddIpResponse = AddIpResponse;
|
|
80
|
-
class
|
|
80
|
+
class CheckAccessLogAuthRequest extends $tea.Model {
|
|
81
81
|
constructor(map) {
|
|
82
82
|
super(map);
|
|
83
83
|
}
|
|
84
84
|
static names() {
|
|
85
85
|
return {
|
|
86
|
-
sourceIp: 'SourceIp',
|
|
87
|
-
resourceGroupId: 'ResourceGroupId',
|
|
88
86
|
regionId: 'RegionId',
|
|
87
|
+
resourceGroupId: 'ResourceGroupId',
|
|
89
88
|
};
|
|
90
89
|
}
|
|
91
90
|
static types() {
|
|
92
91
|
return {
|
|
93
|
-
|
|
92
|
+
regionId: 'string',
|
|
94
93
|
resourceGroupId: 'string',
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.CheckAccessLogAuthRequest = CheckAccessLogAuthRequest;
|
|
98
|
+
class CheckAccessLogAuthResponseBody extends $tea.Model {
|
|
99
|
+
constructor(map) {
|
|
100
|
+
super(map);
|
|
101
|
+
}
|
|
102
|
+
static names() {
|
|
103
|
+
return {
|
|
104
|
+
accessLogAuth: 'AccessLogAuth',
|
|
105
|
+
requestId: 'RequestId',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static types() {
|
|
109
|
+
return {
|
|
110
|
+
accessLogAuth: 'boolean',
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.CheckAccessLogAuthResponseBody = CheckAccessLogAuthResponseBody;
|
|
116
|
+
class CheckAccessLogAuthResponse extends $tea.Model {
|
|
117
|
+
constructor(map) {
|
|
118
|
+
super(map);
|
|
119
|
+
}
|
|
120
|
+
static names() {
|
|
121
|
+
return {
|
|
122
|
+
headers: 'headers',
|
|
123
|
+
statusCode: 'statusCode',
|
|
124
|
+
body: 'body',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
static types() {
|
|
128
|
+
return {
|
|
129
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
130
|
+
statusCode: 'number',
|
|
131
|
+
body: CheckAccessLogAuthResponseBody,
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.CheckAccessLogAuthResponse = CheckAccessLogAuthResponse;
|
|
136
|
+
class CheckGrantRequest extends $tea.Model {
|
|
137
|
+
constructor(map) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
static names() {
|
|
141
|
+
return {
|
|
142
|
+
isSlr: 'IsSlr',
|
|
143
|
+
regionId: 'RegionId',
|
|
144
|
+
resourceGroupId: 'ResourceGroupId',
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
static types() {
|
|
148
|
+
return {
|
|
149
|
+
isSlr: 'boolean',
|
|
95
150
|
regionId: 'string',
|
|
151
|
+
resourceGroupId: 'string',
|
|
96
152
|
};
|
|
97
153
|
}
|
|
98
154
|
}
|
|
@@ -103,14 +159,14 @@ class CheckGrantResponseBody extends $tea.Model {
|
|
|
103
159
|
}
|
|
104
160
|
static names() {
|
|
105
161
|
return {
|
|
106
|
-
status: 'Status',
|
|
107
162
|
requestId: 'RequestId',
|
|
163
|
+
status: 'Status',
|
|
108
164
|
};
|
|
109
165
|
}
|
|
110
166
|
static types() {
|
|
111
167
|
return {
|
|
112
|
-
status: 'number',
|
|
113
168
|
requestId: 'string',
|
|
169
|
+
status: 'number',
|
|
114
170
|
};
|
|
115
171
|
}
|
|
116
172
|
}
|
|
@@ -122,12 +178,14 @@ class CheckGrantResponse extends $tea.Model {
|
|
|
122
178
|
static names() {
|
|
123
179
|
return {
|
|
124
180
|
headers: 'headers',
|
|
181
|
+
statusCode: 'statusCode',
|
|
125
182
|
body: 'body',
|
|
126
183
|
};
|
|
127
184
|
}
|
|
128
185
|
static types() {
|
|
129
186
|
return {
|
|
130
187
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
188
|
+
statusCode: 'number',
|
|
131
189
|
body: CheckGrantResponseBody,
|
|
132
190
|
};
|
|
133
191
|
}
|
|
@@ -139,36 +197,34 @@ class ConfigSchedruleOnDemandRequest extends $tea.Model {
|
|
|
139
197
|
}
|
|
140
198
|
static names() {
|
|
141
199
|
return {
|
|
142
|
-
sourceIp: 'SourceIp',
|
|
143
200
|
instanceId: 'InstanceId',
|
|
144
|
-
|
|
145
|
-
ruleConditionMbps: 'RuleConditionMbps',
|
|
146
|
-
ruleConditionKpps: 'RuleConditionKpps',
|
|
147
|
-
ruleConditionCnt: 'RuleConditionCnt',
|
|
201
|
+
regionId: 'RegionId',
|
|
148
202
|
ruleAction: 'RuleAction',
|
|
203
|
+
ruleConditionCnt: 'RuleConditionCnt',
|
|
204
|
+
ruleConditionKpps: 'RuleConditionKpps',
|
|
205
|
+
ruleConditionMbps: 'RuleConditionMbps',
|
|
206
|
+
ruleName: 'RuleName',
|
|
149
207
|
ruleSwitch: 'RuleSwitch',
|
|
150
|
-
ruleUndoMode: 'RuleUndoMode',
|
|
151
208
|
ruleUndoBeginTime: 'RuleUndoBeginTime',
|
|
152
209
|
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
210
|
+
ruleUndoMode: 'RuleUndoMode',
|
|
153
211
|
timeZone: 'TimeZone',
|
|
154
|
-
regionId: 'RegionId',
|
|
155
212
|
};
|
|
156
213
|
}
|
|
157
214
|
static types() {
|
|
158
215
|
return {
|
|
159
|
-
sourceIp: 'string',
|
|
160
216
|
instanceId: 'string',
|
|
161
|
-
|
|
162
|
-
ruleConditionMbps: 'string',
|
|
163
|
-
ruleConditionKpps: 'string',
|
|
164
|
-
ruleConditionCnt: 'string',
|
|
217
|
+
regionId: 'string',
|
|
165
218
|
ruleAction: 'string',
|
|
219
|
+
ruleConditionCnt: 'string',
|
|
220
|
+
ruleConditionKpps: 'string',
|
|
221
|
+
ruleConditionMbps: 'string',
|
|
222
|
+
ruleName: 'string',
|
|
166
223
|
ruleSwitch: 'string',
|
|
167
|
-
ruleUndoMode: 'string',
|
|
168
224
|
ruleUndoBeginTime: 'string',
|
|
169
225
|
ruleUndoEndTime: 'string',
|
|
226
|
+
ruleUndoMode: 'string',
|
|
170
227
|
timeZone: 'string',
|
|
171
|
-
regionId: 'string',
|
|
172
228
|
};
|
|
173
229
|
}
|
|
174
230
|
}
|
|
@@ -196,12 +252,14 @@ class ConfigSchedruleOnDemandResponse extends $tea.Model {
|
|
|
196
252
|
static names() {
|
|
197
253
|
return {
|
|
198
254
|
headers: 'headers',
|
|
255
|
+
statusCode: 'statusCode',
|
|
199
256
|
body: 'body',
|
|
200
257
|
};
|
|
201
258
|
}
|
|
202
259
|
static types() {
|
|
203
260
|
return {
|
|
204
261
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
262
|
+
statusCode: 'number',
|
|
205
263
|
body: ConfigSchedruleOnDemandResponseBody,
|
|
206
264
|
};
|
|
207
265
|
}
|
|
@@ -213,36 +271,34 @@ class CreateSchedruleOnDemandRequest extends $tea.Model {
|
|
|
213
271
|
}
|
|
214
272
|
static names() {
|
|
215
273
|
return {
|
|
216
|
-
sourceIp: 'SourceIp',
|
|
217
274
|
instanceId: 'InstanceId',
|
|
218
|
-
|
|
219
|
-
ruleConditionMbps: 'RuleConditionMbps',
|
|
220
|
-
ruleConditionKpps: 'RuleConditionKpps',
|
|
221
|
-
ruleConditionCnt: 'RuleConditionCnt',
|
|
275
|
+
regionId: 'RegionId',
|
|
222
276
|
ruleAction: 'RuleAction',
|
|
277
|
+
ruleConditionCnt: 'RuleConditionCnt',
|
|
278
|
+
ruleConditionKpps: 'RuleConditionKpps',
|
|
279
|
+
ruleConditionMbps: 'RuleConditionMbps',
|
|
280
|
+
ruleName: 'RuleName',
|
|
223
281
|
ruleSwitch: 'RuleSwitch',
|
|
224
|
-
ruleUndoMode: 'RuleUndoMode',
|
|
225
282
|
ruleUndoBeginTime: 'RuleUndoBeginTime',
|
|
226
283
|
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
284
|
+
ruleUndoMode: 'RuleUndoMode',
|
|
227
285
|
timeZone: 'TimeZone',
|
|
228
|
-
regionId: 'RegionId',
|
|
229
286
|
};
|
|
230
287
|
}
|
|
231
288
|
static types() {
|
|
232
289
|
return {
|
|
233
|
-
sourceIp: 'string',
|
|
234
290
|
instanceId: 'string',
|
|
235
|
-
|
|
236
|
-
ruleConditionMbps: 'string',
|
|
237
|
-
ruleConditionKpps: 'string',
|
|
238
|
-
ruleConditionCnt: 'string',
|
|
291
|
+
regionId: 'string',
|
|
239
292
|
ruleAction: 'string',
|
|
293
|
+
ruleConditionCnt: 'string',
|
|
294
|
+
ruleConditionKpps: 'string',
|
|
295
|
+
ruleConditionMbps: 'string',
|
|
296
|
+
ruleName: 'string',
|
|
240
297
|
ruleSwitch: 'string',
|
|
241
|
-
ruleUndoMode: 'string',
|
|
242
298
|
ruleUndoBeginTime: 'string',
|
|
243
299
|
ruleUndoEndTime: 'string',
|
|
300
|
+
ruleUndoMode: 'string',
|
|
244
301
|
timeZone: 'string',
|
|
245
|
-
regionId: 'string',
|
|
246
302
|
};
|
|
247
303
|
}
|
|
248
304
|
}
|
|
@@ -270,12 +326,14 @@ class CreateSchedruleOnDemandResponse extends $tea.Model {
|
|
|
270
326
|
static names() {
|
|
271
327
|
return {
|
|
272
328
|
headers: 'headers',
|
|
329
|
+
statusCode: 'statusCode',
|
|
273
330
|
body: 'body',
|
|
274
331
|
};
|
|
275
332
|
}
|
|
276
333
|
static types() {
|
|
277
334
|
return {
|
|
278
335
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
336
|
+
statusCode: 'number',
|
|
279
337
|
body: CreateSchedruleOnDemandResponseBody,
|
|
280
338
|
};
|
|
281
339
|
}
|
|
@@ -287,20 +345,18 @@ class DeleteBlackholeRequest extends $tea.Model {
|
|
|
287
345
|
}
|
|
288
346
|
static names() {
|
|
289
347
|
return {
|
|
290
|
-
sourceIp: 'SourceIp',
|
|
291
|
-
ip: 'Ip',
|
|
292
348
|
instanceId: 'InstanceId',
|
|
293
|
-
|
|
349
|
+
ip: 'Ip',
|
|
294
350
|
regionId: 'RegionId',
|
|
351
|
+
resourceGroupId: 'ResourceGroupId',
|
|
295
352
|
};
|
|
296
353
|
}
|
|
297
354
|
static types() {
|
|
298
355
|
return {
|
|
299
|
-
sourceIp: 'string',
|
|
300
|
-
ip: 'string',
|
|
301
356
|
instanceId: 'string',
|
|
302
|
-
|
|
357
|
+
ip: 'string',
|
|
303
358
|
regionId: 'string',
|
|
359
|
+
resourceGroupId: 'string',
|
|
304
360
|
};
|
|
305
361
|
}
|
|
306
362
|
}
|
|
@@ -328,12 +384,14 @@ class DeleteBlackholeResponse extends $tea.Model {
|
|
|
328
384
|
static names() {
|
|
329
385
|
return {
|
|
330
386
|
headers: 'headers',
|
|
387
|
+
statusCode: 'statusCode',
|
|
331
388
|
body: 'body',
|
|
332
389
|
};
|
|
333
390
|
}
|
|
334
391
|
static types() {
|
|
335
392
|
return {
|
|
336
393
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
394
|
+
statusCode: 'number',
|
|
337
395
|
body: DeleteBlackholeResponseBody,
|
|
338
396
|
};
|
|
339
397
|
}
|
|
@@ -345,20 +403,18 @@ class DeleteIpRequest extends $tea.Model {
|
|
|
345
403
|
}
|
|
346
404
|
static names() {
|
|
347
405
|
return {
|
|
348
|
-
sourceIp: 'SourceIp',
|
|
349
|
-
ipList: 'IpList',
|
|
350
406
|
instanceId: 'InstanceId',
|
|
351
|
-
|
|
407
|
+
ipList: 'IpList',
|
|
352
408
|
regionId: 'RegionId',
|
|
409
|
+
resourceGroupId: 'ResourceGroupId',
|
|
353
410
|
};
|
|
354
411
|
}
|
|
355
412
|
static types() {
|
|
356
413
|
return {
|
|
357
|
-
sourceIp: 'string',
|
|
358
|
-
ipList: 'string',
|
|
359
414
|
instanceId: 'string',
|
|
360
|
-
|
|
415
|
+
ipList: 'string',
|
|
361
416
|
regionId: 'string',
|
|
417
|
+
resourceGroupId: 'string',
|
|
362
418
|
};
|
|
363
419
|
}
|
|
364
420
|
}
|
|
@@ -386,12 +442,14 @@ class DeleteIpResponse extends $tea.Model {
|
|
|
386
442
|
static names() {
|
|
387
443
|
return {
|
|
388
444
|
headers: 'headers',
|
|
445
|
+
statusCode: 'statusCode',
|
|
389
446
|
body: 'body',
|
|
390
447
|
};
|
|
391
448
|
}
|
|
392
449
|
static types() {
|
|
393
450
|
return {
|
|
394
451
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
452
|
+
statusCode: 'number',
|
|
395
453
|
body: DeleteIpResponseBody,
|
|
396
454
|
};
|
|
397
455
|
}
|
|
@@ -403,18 +461,16 @@ class DeleteSchedruleOnDemandRequest extends $tea.Model {
|
|
|
403
461
|
}
|
|
404
462
|
static names() {
|
|
405
463
|
return {
|
|
406
|
-
sourceIp: 'SourceIp',
|
|
407
464
|
instanceId: 'InstanceId',
|
|
408
|
-
ruleName: 'RuleName',
|
|
409
465
|
regionId: 'RegionId',
|
|
466
|
+
ruleName: 'RuleName',
|
|
410
467
|
};
|
|
411
468
|
}
|
|
412
469
|
static types() {
|
|
413
470
|
return {
|
|
414
|
-
sourceIp: 'string',
|
|
415
471
|
instanceId: 'string',
|
|
416
|
-
ruleName: 'string',
|
|
417
472
|
regionId: 'string',
|
|
473
|
+
ruleName: 'string',
|
|
418
474
|
};
|
|
419
475
|
}
|
|
420
476
|
}
|
|
@@ -442,12 +498,14 @@ class DeleteSchedruleOnDemandResponse extends $tea.Model {
|
|
|
442
498
|
static names() {
|
|
443
499
|
return {
|
|
444
500
|
headers: 'headers',
|
|
501
|
+
statusCode: 'statusCode',
|
|
445
502
|
body: 'body',
|
|
446
503
|
};
|
|
447
504
|
}
|
|
448
505
|
static types() {
|
|
449
506
|
return {
|
|
450
507
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
508
|
+
statusCode: 'number',
|
|
451
509
|
body: DeleteSchedruleOnDemandResponseBody,
|
|
452
510
|
};
|
|
453
511
|
}
|
|
@@ -459,28 +517,26 @@ class DescribeDdosEventRequest extends $tea.Model {
|
|
|
459
517
|
}
|
|
460
518
|
static names() {
|
|
461
519
|
return {
|
|
462
|
-
sourceIp: 'SourceIp',
|
|
463
|
-
startTime: 'StartTime',
|
|
464
520
|
endTime: 'EndTime',
|
|
465
|
-
pageSize: 'PageSize',
|
|
466
|
-
pageNo: 'PageNo',
|
|
467
521
|
instanceId: 'InstanceId',
|
|
468
522
|
ip: 'Ip',
|
|
469
|
-
|
|
523
|
+
pageNo: 'PageNo',
|
|
524
|
+
pageSize: 'PageSize',
|
|
470
525
|
regionId: 'RegionId',
|
|
526
|
+
resourceGroupId: 'ResourceGroupId',
|
|
527
|
+
startTime: 'StartTime',
|
|
471
528
|
};
|
|
472
529
|
}
|
|
473
530
|
static types() {
|
|
474
531
|
return {
|
|
475
|
-
sourceIp: 'string',
|
|
476
|
-
startTime: 'number',
|
|
477
532
|
endTime: 'number',
|
|
478
|
-
pageSize: 'number',
|
|
479
|
-
pageNo: 'number',
|
|
480
533
|
instanceId: 'string',
|
|
481
534
|
ip: 'string',
|
|
482
|
-
|
|
535
|
+
pageNo: 'number',
|
|
536
|
+
pageSize: 'number',
|
|
483
537
|
regionId: 'string',
|
|
538
|
+
resourceGroupId: 'string',
|
|
539
|
+
startTime: 'number',
|
|
484
540
|
};
|
|
485
541
|
}
|
|
486
542
|
}
|
|
@@ -491,15 +547,15 @@ class DescribeDdosEventResponseBody extends $tea.Model {
|
|
|
491
547
|
}
|
|
492
548
|
static names() {
|
|
493
549
|
return {
|
|
494
|
-
requestId: 'RequestId',
|
|
495
550
|
events: 'Events',
|
|
551
|
+
requestId: 'RequestId',
|
|
496
552
|
total: 'Total',
|
|
497
553
|
};
|
|
498
554
|
}
|
|
499
555
|
static types() {
|
|
500
556
|
return {
|
|
501
|
-
requestId: 'string',
|
|
502
557
|
events: { 'type': 'array', 'itemType': DescribeDdosEventResponseBodyEvents },
|
|
558
|
+
requestId: 'string',
|
|
503
559
|
total: 'number',
|
|
504
560
|
};
|
|
505
561
|
}
|
|
@@ -512,12 +568,14 @@ class DescribeDdosEventResponse extends $tea.Model {
|
|
|
512
568
|
static names() {
|
|
513
569
|
return {
|
|
514
570
|
headers: 'headers',
|
|
571
|
+
statusCode: 'statusCode',
|
|
515
572
|
body: 'body',
|
|
516
573
|
};
|
|
517
574
|
}
|
|
518
575
|
static types() {
|
|
519
576
|
return {
|
|
520
577
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
578
|
+
statusCode: 'number',
|
|
521
579
|
body: DescribeDdosEventResponseBody,
|
|
522
580
|
};
|
|
523
581
|
}
|
|
@@ -529,16 +587,14 @@ class DescribeExcpetionCountRequest extends $tea.Model {
|
|
|
529
587
|
}
|
|
530
588
|
static names() {
|
|
531
589
|
return {
|
|
532
|
-
sourceIp: 'SourceIp',
|
|
533
|
-
resourceGroupId: 'ResourceGroupId',
|
|
534
590
|
regionId: 'RegionId',
|
|
591
|
+
resourceGroupId: 'ResourceGroupId',
|
|
535
592
|
};
|
|
536
593
|
}
|
|
537
594
|
static types() {
|
|
538
595
|
return {
|
|
539
|
-
sourceIp: 'string',
|
|
540
|
-
resourceGroupId: 'string',
|
|
541
596
|
regionId: 'string',
|
|
597
|
+
resourceGroupId: 'string',
|
|
542
598
|
};
|
|
543
599
|
}
|
|
544
600
|
}
|
|
@@ -549,16 +605,16 @@ class DescribeExcpetionCountResponseBody extends $tea.Model {
|
|
|
549
605
|
}
|
|
550
606
|
static names() {
|
|
551
607
|
return {
|
|
552
|
-
requestId: 'RequestId',
|
|
553
608
|
exceptionIpCount: 'ExceptionIpCount',
|
|
554
609
|
expireTimeCount: 'ExpireTimeCount',
|
|
610
|
+
requestId: 'RequestId',
|
|
555
611
|
};
|
|
556
612
|
}
|
|
557
613
|
static types() {
|
|
558
614
|
return {
|
|
559
|
-
requestId: 'string',
|
|
560
615
|
exceptionIpCount: 'number',
|
|
561
616
|
expireTimeCount: 'number',
|
|
617
|
+
requestId: 'string',
|
|
562
618
|
};
|
|
563
619
|
}
|
|
564
620
|
}
|
|
@@ -570,12 +626,14 @@ class DescribeExcpetionCountResponse extends $tea.Model {
|
|
|
570
626
|
static names() {
|
|
571
627
|
return {
|
|
572
628
|
headers: 'headers',
|
|
629
|
+
statusCode: 'statusCode',
|
|
573
630
|
body: 'body',
|
|
574
631
|
};
|
|
575
632
|
}
|
|
576
633
|
static types() {
|
|
577
634
|
return {
|
|
578
635
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
636
|
+
statusCode: 'number',
|
|
579
637
|
body: DescribeExcpetionCountResponseBody,
|
|
580
638
|
};
|
|
581
639
|
}
|
|
@@ -587,35 +645,35 @@ class DescribeInstanceListRequest extends $tea.Model {
|
|
|
587
645
|
}
|
|
588
646
|
static names() {
|
|
589
647
|
return {
|
|
590
|
-
sourceIp: 'SourceIp',
|
|
591
|
-
resourceGroupId: 'ResourceGroupId',
|
|
592
648
|
instanceIdList: 'InstanceIdList',
|
|
593
|
-
remark: 'Remark',
|
|
594
|
-
pageNo: 'PageNo',
|
|
595
|
-
pageSize: 'PageSize',
|
|
596
|
-
ipVersion: 'IpVersion',
|
|
597
649
|
instanceType: 'InstanceType',
|
|
650
|
+
instanceTypeList: 'InstanceTypeList',
|
|
598
651
|
ip: 'Ip',
|
|
652
|
+
ipVersion: 'IpVersion',
|
|
599
653
|
orderby: 'Orderby',
|
|
600
654
|
orderdire: 'Orderdire',
|
|
655
|
+
pageNo: 'PageNo',
|
|
656
|
+
pageSize: 'PageSize',
|
|
601
657
|
regionId: 'RegionId',
|
|
658
|
+
remark: 'Remark',
|
|
659
|
+
resourceGroupId: 'ResourceGroupId',
|
|
602
660
|
tag: 'Tag',
|
|
603
661
|
};
|
|
604
662
|
}
|
|
605
663
|
static types() {
|
|
606
664
|
return {
|
|
607
|
-
sourceIp: 'string',
|
|
608
|
-
resourceGroupId: 'string',
|
|
609
665
|
instanceIdList: 'string',
|
|
610
|
-
remark: 'string',
|
|
611
|
-
pageNo: 'number',
|
|
612
|
-
pageSize: 'number',
|
|
613
|
-
ipVersion: 'string',
|
|
614
666
|
instanceType: 'string',
|
|
667
|
+
instanceTypeList: { 'type': 'array', 'itemType': 'string' },
|
|
615
668
|
ip: 'string',
|
|
669
|
+
ipVersion: 'string',
|
|
616
670
|
orderby: 'string',
|
|
617
671
|
orderdire: 'string',
|
|
672
|
+
pageNo: 'number',
|
|
673
|
+
pageSize: 'number',
|
|
618
674
|
regionId: 'string',
|
|
675
|
+
remark: 'string',
|
|
676
|
+
resourceGroupId: 'string',
|
|
619
677
|
tag: { 'type': 'array', 'itemType': DescribeInstanceListRequestTag },
|
|
620
678
|
};
|
|
621
679
|
}
|
|
@@ -627,16 +685,16 @@ class DescribeInstanceListResponseBody extends $tea.Model {
|
|
|
627
685
|
}
|
|
628
686
|
static names() {
|
|
629
687
|
return {
|
|
688
|
+
instanceList: 'InstanceList',
|
|
630
689
|
requestId: 'RequestId',
|
|
631
690
|
total: 'Total',
|
|
632
|
-
instanceList: 'InstanceList',
|
|
633
691
|
};
|
|
634
692
|
}
|
|
635
693
|
static types() {
|
|
636
694
|
return {
|
|
695
|
+
instanceList: { 'type': 'array', 'itemType': DescribeInstanceListResponseBodyInstanceList },
|
|
637
696
|
requestId: 'string',
|
|
638
697
|
total: 'number',
|
|
639
|
-
instanceList: { 'type': 'array', 'itemType': DescribeInstanceListResponseBodyInstanceList },
|
|
640
698
|
};
|
|
641
699
|
}
|
|
642
700
|
}
|
|
@@ -648,12 +706,14 @@ class DescribeInstanceListResponse extends $tea.Model {
|
|
|
648
706
|
static names() {
|
|
649
707
|
return {
|
|
650
708
|
headers: 'headers',
|
|
709
|
+
statusCode: 'statusCode',
|
|
651
710
|
body: 'body',
|
|
652
711
|
};
|
|
653
712
|
}
|
|
654
713
|
static types() {
|
|
655
714
|
return {
|
|
656
715
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
716
|
+
statusCode: 'number',
|
|
657
717
|
body: DescribeInstanceListResponseBody,
|
|
658
718
|
};
|
|
659
719
|
}
|
|
@@ -665,8 +725,6 @@ class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
665
725
|
}
|
|
666
726
|
static names() {
|
|
667
727
|
return {
|
|
668
|
-
sourceIp: 'SourceIp',
|
|
669
|
-
lang: 'Lang',
|
|
670
728
|
instanceIdList: 'InstanceIdList',
|
|
671
729
|
regionId: 'RegionId',
|
|
672
730
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -674,8 +732,6 @@ class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
|
674
732
|
}
|
|
675
733
|
static types() {
|
|
676
734
|
return {
|
|
677
|
-
sourceIp: 'string',
|
|
678
|
-
lang: 'string',
|
|
679
735
|
instanceIdList: 'string',
|
|
680
736
|
regionId: 'string',
|
|
681
737
|
resourceGroupId: 'string',
|
|
@@ -689,14 +745,14 @@ class DescribeInstanceSpecsResponseBody extends $tea.Model {
|
|
|
689
745
|
}
|
|
690
746
|
static names() {
|
|
691
747
|
return {
|
|
692
|
-
requestId: 'RequestId',
|
|
693
748
|
instanceSpecs: 'InstanceSpecs',
|
|
749
|
+
requestId: 'RequestId',
|
|
694
750
|
};
|
|
695
751
|
}
|
|
696
752
|
static types() {
|
|
697
753
|
return {
|
|
698
|
-
requestId: 'string',
|
|
699
754
|
instanceSpecs: { 'type': 'array', 'itemType': DescribeInstanceSpecsResponseBodyInstanceSpecs },
|
|
755
|
+
requestId: 'string',
|
|
700
756
|
};
|
|
701
757
|
}
|
|
702
758
|
}
|
|
@@ -708,12 +764,14 @@ class DescribeInstanceSpecsResponse extends $tea.Model {
|
|
|
708
764
|
static names() {
|
|
709
765
|
return {
|
|
710
766
|
headers: 'headers',
|
|
767
|
+
statusCode: 'statusCode',
|
|
711
768
|
body: 'body',
|
|
712
769
|
};
|
|
713
770
|
}
|
|
714
771
|
static types() {
|
|
715
772
|
return {
|
|
716
773
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
774
|
+
statusCode: 'number',
|
|
717
775
|
body: DescribeInstanceSpecsResponseBody,
|
|
718
776
|
};
|
|
719
777
|
}
|
|
@@ -725,28 +783,26 @@ class DescribeOnDemandDdosEventRequest extends $tea.Model {
|
|
|
725
783
|
}
|
|
726
784
|
static names() {
|
|
727
785
|
return {
|
|
728
|
-
sourceIp: 'SourceIp',
|
|
729
|
-
startTime: 'StartTime',
|
|
730
786
|
endTime: 'EndTime',
|
|
731
|
-
pageSize: 'PageSize',
|
|
732
|
-
pageNo: 'PageNo',
|
|
733
787
|
instanceId: 'InstanceId',
|
|
734
788
|
ip: 'Ip',
|
|
735
|
-
|
|
789
|
+
pageNo: 'PageNo',
|
|
790
|
+
pageSize: 'PageSize',
|
|
736
791
|
regionId: 'RegionId',
|
|
792
|
+
resourceGroupId: 'ResourceGroupId',
|
|
793
|
+
startTime: 'StartTime',
|
|
737
794
|
};
|
|
738
795
|
}
|
|
739
796
|
static types() {
|
|
740
797
|
return {
|
|
741
|
-
sourceIp: 'string',
|
|
742
|
-
startTime: 'number',
|
|
743
798
|
endTime: 'number',
|
|
744
|
-
pageSize: 'number',
|
|
745
|
-
pageNo: 'number',
|
|
746
799
|
instanceId: 'string',
|
|
747
800
|
ip: 'string',
|
|
748
|
-
|
|
801
|
+
pageNo: 'number',
|
|
802
|
+
pageSize: 'number',
|
|
749
803
|
regionId: 'string',
|
|
804
|
+
resourceGroupId: 'string',
|
|
805
|
+
startTime: 'number',
|
|
750
806
|
};
|
|
751
807
|
}
|
|
752
808
|
}
|
|
@@ -757,15 +813,15 @@ class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
|
|
|
757
813
|
}
|
|
758
814
|
static names() {
|
|
759
815
|
return {
|
|
760
|
-
requestId: 'RequestId',
|
|
761
816
|
events: 'Events',
|
|
817
|
+
requestId: 'RequestId',
|
|
762
818
|
total: 'Total',
|
|
763
819
|
};
|
|
764
820
|
}
|
|
765
821
|
static types() {
|
|
766
822
|
return {
|
|
767
|
-
requestId: 'string',
|
|
768
823
|
events: { 'type': 'array', 'itemType': DescribeOnDemandDdosEventResponseBodyEvents },
|
|
824
|
+
requestId: 'string',
|
|
769
825
|
total: 'number',
|
|
770
826
|
};
|
|
771
827
|
}
|
|
@@ -778,12 +834,14 @@ class DescribeOnDemandDdosEventResponse extends $tea.Model {
|
|
|
778
834
|
static names() {
|
|
779
835
|
return {
|
|
780
836
|
headers: 'headers',
|
|
837
|
+
statusCode: 'statusCode',
|
|
781
838
|
body: 'body',
|
|
782
839
|
};
|
|
783
840
|
}
|
|
784
841
|
static types() {
|
|
785
842
|
return {
|
|
786
843
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
844
|
+
statusCode: 'number',
|
|
787
845
|
body: DescribeOnDemandDdosEventResponseBody,
|
|
788
846
|
};
|
|
789
847
|
}
|
|
@@ -795,16 +853,14 @@ class DescribeOnDemandInstanceStatusRequest extends $tea.Model {
|
|
|
795
853
|
}
|
|
796
854
|
static names() {
|
|
797
855
|
return {
|
|
798
|
-
sourceIp: 'SourceIp',
|
|
799
|
-
regionId: 'RegionId',
|
|
800
856
|
instanceIdList: 'InstanceIdList',
|
|
857
|
+
regionId: 'RegionId',
|
|
801
858
|
};
|
|
802
859
|
}
|
|
803
860
|
static types() {
|
|
804
861
|
return {
|
|
805
|
-
sourceIp: 'string',
|
|
806
|
-
regionId: 'string',
|
|
807
862
|
instanceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
863
|
+
regionId: 'string',
|
|
808
864
|
};
|
|
809
865
|
}
|
|
810
866
|
}
|
|
@@ -834,12 +890,14 @@ class DescribeOnDemandInstanceStatusResponse extends $tea.Model {
|
|
|
834
890
|
static names() {
|
|
835
891
|
return {
|
|
836
892
|
headers: 'headers',
|
|
893
|
+
statusCode: 'statusCode',
|
|
837
894
|
body: 'body',
|
|
838
895
|
};
|
|
839
896
|
}
|
|
840
897
|
static types() {
|
|
841
898
|
return {
|
|
842
899
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
900
|
+
statusCode: 'number',
|
|
843
901
|
body: DescribeOnDemandInstanceStatusResponseBody,
|
|
844
902
|
};
|
|
845
903
|
}
|
|
@@ -851,32 +909,28 @@ class DescribeOpEntitiesRequest extends $tea.Model {
|
|
|
851
909
|
}
|
|
852
910
|
static names() {
|
|
853
911
|
return {
|
|
854
|
-
sourceIp: 'SourceIp',
|
|
855
|
-
lang: 'Lang',
|
|
856
912
|
currentPage: 'CurrentPage',
|
|
857
|
-
pageSize: 'PageSize',
|
|
858
|
-
startTime: 'StartTime',
|
|
859
913
|
endTime: 'EndTime',
|
|
914
|
+
instanceId: 'InstanceId',
|
|
860
915
|
orderBy: 'OrderBy',
|
|
861
916
|
orderDir: 'OrderDir',
|
|
862
|
-
|
|
863
|
-
resourceGroupId: 'ResourceGroupId',
|
|
917
|
+
pageSize: 'PageSize',
|
|
864
918
|
regionId: 'RegionId',
|
|
919
|
+
resourceGroupId: 'ResourceGroupId',
|
|
920
|
+
startTime: 'StartTime',
|
|
865
921
|
};
|
|
866
922
|
}
|
|
867
923
|
static types() {
|
|
868
924
|
return {
|
|
869
|
-
sourceIp: 'string',
|
|
870
|
-
lang: 'string',
|
|
871
925
|
currentPage: 'number',
|
|
872
|
-
pageSize: 'number',
|
|
873
|
-
startTime: 'number',
|
|
874
926
|
endTime: 'number',
|
|
927
|
+
instanceId: 'string',
|
|
875
928
|
orderBy: 'string',
|
|
876
929
|
orderDir: 'string',
|
|
877
|
-
|
|
878
|
-
resourceGroupId: 'string',
|
|
930
|
+
pageSize: 'number',
|
|
879
931
|
regionId: 'string',
|
|
932
|
+
resourceGroupId: 'string',
|
|
933
|
+
startTime: 'number',
|
|
880
934
|
};
|
|
881
935
|
}
|
|
882
936
|
}
|
|
@@ -887,16 +941,16 @@ class DescribeOpEntitiesResponseBody extends $tea.Model {
|
|
|
887
941
|
}
|
|
888
942
|
static names() {
|
|
889
943
|
return {
|
|
890
|
-
totalCount: 'TotalCount',
|
|
891
|
-
requestId: 'RequestId',
|
|
892
944
|
opEntities: 'OpEntities',
|
|
945
|
+
requestId: 'RequestId',
|
|
946
|
+
totalCount: 'TotalCount',
|
|
893
947
|
};
|
|
894
948
|
}
|
|
895
949
|
static types() {
|
|
896
950
|
return {
|
|
897
|
-
totalCount: 'number',
|
|
898
|
-
requestId: 'string',
|
|
899
951
|
opEntities: { 'type': 'array', 'itemType': DescribeOpEntitiesResponseBodyOpEntities },
|
|
952
|
+
requestId: 'string',
|
|
953
|
+
totalCount: 'number',
|
|
900
954
|
};
|
|
901
955
|
}
|
|
902
956
|
}
|
|
@@ -908,12 +962,14 @@ class DescribeOpEntitiesResponse extends $tea.Model {
|
|
|
908
962
|
static names() {
|
|
909
963
|
return {
|
|
910
964
|
headers: 'headers',
|
|
965
|
+
statusCode: 'statusCode',
|
|
911
966
|
body: 'body',
|
|
912
967
|
};
|
|
913
968
|
}
|
|
914
969
|
static types() {
|
|
915
970
|
return {
|
|
916
971
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
972
|
+
statusCode: 'number',
|
|
917
973
|
body: DescribeOpEntitiesResponseBody,
|
|
918
974
|
};
|
|
919
975
|
}
|
|
@@ -925,26 +981,26 @@ class DescribePackIpListRequest extends $tea.Model {
|
|
|
925
981
|
}
|
|
926
982
|
static names() {
|
|
927
983
|
return {
|
|
928
|
-
sourceIp: 'SourceIp',
|
|
929
|
-
pageNo: 'PageNo',
|
|
930
|
-
pageSize: 'PageSize',
|
|
931
984
|
instanceId: 'InstanceId',
|
|
932
985
|
ip: 'Ip',
|
|
986
|
+
memberUid: 'MemberUid',
|
|
987
|
+
pageNo: 'PageNo',
|
|
988
|
+
pageSize: 'PageSize',
|
|
933
989
|
productName: 'ProductName',
|
|
934
|
-
resourceGroupId: 'ResourceGroupId',
|
|
935
990
|
regionId: 'RegionId',
|
|
991
|
+
resourceGroupId: 'ResourceGroupId',
|
|
936
992
|
};
|
|
937
993
|
}
|
|
938
994
|
static types() {
|
|
939
995
|
return {
|
|
940
|
-
sourceIp: 'string',
|
|
941
|
-
pageNo: 'number',
|
|
942
|
-
pageSize: 'number',
|
|
943
996
|
instanceId: 'string',
|
|
944
997
|
ip: 'string',
|
|
998
|
+
memberUid: 'string',
|
|
999
|
+
pageNo: 'number',
|
|
1000
|
+
pageSize: 'number',
|
|
945
1001
|
productName: 'string',
|
|
946
|
-
resourceGroupId: 'string',
|
|
947
1002
|
regionId: 'string',
|
|
1003
|
+
resourceGroupId: 'string',
|
|
948
1004
|
};
|
|
949
1005
|
}
|
|
950
1006
|
}
|
|
@@ -955,20 +1011,20 @@ class DescribePackIpListResponseBody extends $tea.Model {
|
|
|
955
1011
|
}
|
|
956
1012
|
static names() {
|
|
957
1013
|
return {
|
|
958
|
-
requestId: 'RequestId',
|
|
959
|
-
ipList: 'IpList',
|
|
960
|
-
total: 'Total',
|
|
961
1014
|
code: 'Code',
|
|
1015
|
+
ipList: 'IpList',
|
|
1016
|
+
requestId: 'RequestId',
|
|
962
1017
|
success: 'Success',
|
|
1018
|
+
total: 'Total',
|
|
963
1019
|
};
|
|
964
1020
|
}
|
|
965
1021
|
static types() {
|
|
966
1022
|
return {
|
|
967
|
-
requestId: 'string',
|
|
968
|
-
ipList: { 'type': 'array', 'itemType': DescribePackIpListResponseBodyIpList },
|
|
969
|
-
total: 'number',
|
|
970
1023
|
code: 'string',
|
|
1024
|
+
ipList: { 'type': 'array', 'itemType': DescribePackIpListResponseBodyIpList },
|
|
1025
|
+
requestId: 'string',
|
|
971
1026
|
success: 'boolean',
|
|
1027
|
+
total: 'number',
|
|
972
1028
|
};
|
|
973
1029
|
}
|
|
974
1030
|
}
|
|
@@ -980,99 +1036,33 @@ class DescribePackIpListResponse extends $tea.Model {
|
|
|
980
1036
|
static names() {
|
|
981
1037
|
return {
|
|
982
1038
|
headers: 'headers',
|
|
1039
|
+
statusCode: 'statusCode',
|
|
983
1040
|
body: 'body',
|
|
984
1041
|
};
|
|
985
1042
|
}
|
|
986
1043
|
static types() {
|
|
987
1044
|
return {
|
|
988
1045
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1046
|
+
statusCode: 'number',
|
|
989
1047
|
body: DescribePackIpListResponseBody,
|
|
990
1048
|
};
|
|
991
1049
|
}
|
|
992
1050
|
}
|
|
993
1051
|
exports.DescribePackIpListResponse = DescribePackIpListResponse;
|
|
994
|
-
class
|
|
1052
|
+
class DescribeRegionsRequest extends $tea.Model {
|
|
995
1053
|
constructor(map) {
|
|
996
1054
|
super(map);
|
|
997
1055
|
}
|
|
998
1056
|
static names() {
|
|
999
1057
|
return {
|
|
1000
|
-
sourceIp: 'SourceIp',
|
|
1001
|
-
instanceId: 'InstanceId',
|
|
1002
|
-
currentPage: 'CurrentPage',
|
|
1003
|
-
pageSize: 'PageSize',
|
|
1004
|
-
startTime: 'StartTime',
|
|
1005
|
-
endTime: 'EndTime',
|
|
1006
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1007
|
-
};
|
|
1008
|
-
}
|
|
1009
|
-
static types() {
|
|
1010
|
-
return {
|
|
1011
|
-
sourceIp: 'string',
|
|
1012
|
-
instanceId: 'string',
|
|
1013
|
-
currentPage: 'number',
|
|
1014
|
-
pageSize: 'number',
|
|
1015
|
-
startTime: 'number',
|
|
1016
|
-
endTime: 'number',
|
|
1017
|
-
resourceGroupId: 'string',
|
|
1018
|
-
};
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
exports.DescribePackPaidTrafficRequest = DescribePackPaidTrafficRequest;
|
|
1022
|
-
class DescribePackPaidTrafficResponseBody extends $tea.Model {
|
|
1023
|
-
constructor(map) {
|
|
1024
|
-
super(map);
|
|
1025
|
-
}
|
|
1026
|
-
static names() {
|
|
1027
|
-
return {
|
|
1028
|
-
totalCount: 'TotalCount',
|
|
1029
|
-
requestId: 'RequestId',
|
|
1030
|
-
packPaidTraffics: 'PackPaidTraffics',
|
|
1031
|
-
};
|
|
1032
|
-
}
|
|
1033
|
-
static types() {
|
|
1034
|
-
return {
|
|
1035
|
-
totalCount: 'number',
|
|
1036
|
-
requestId: 'string',
|
|
1037
|
-
packPaidTraffics: { 'type': 'array', 'itemType': DescribePackPaidTrafficResponseBodyPackPaidTraffics },
|
|
1038
|
-
};
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
exports.DescribePackPaidTrafficResponseBody = DescribePackPaidTrafficResponseBody;
|
|
1042
|
-
class DescribePackPaidTrafficResponse extends $tea.Model {
|
|
1043
|
-
constructor(map) {
|
|
1044
|
-
super(map);
|
|
1045
|
-
}
|
|
1046
|
-
static names() {
|
|
1047
|
-
return {
|
|
1048
|
-
headers: 'headers',
|
|
1049
|
-
body: 'body',
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
static types() {
|
|
1053
|
-
return {
|
|
1054
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1055
|
-
body: DescribePackPaidTrafficResponseBody,
|
|
1056
|
-
};
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
exports.DescribePackPaidTrafficResponse = DescribePackPaidTrafficResponse;
|
|
1060
|
-
class DescribeRegionsRequest extends $tea.Model {
|
|
1061
|
-
constructor(map) {
|
|
1062
|
-
super(map);
|
|
1063
|
-
}
|
|
1064
|
-
static names() {
|
|
1065
|
-
return {
|
|
1066
|
-
sourceIp: 'SourceIp',
|
|
1067
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1068
1058
|
regionId: 'RegionId',
|
|
1059
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1069
1060
|
};
|
|
1070
1061
|
}
|
|
1071
1062
|
static types() {
|
|
1072
1063
|
return {
|
|
1073
|
-
sourceIp: 'string',
|
|
1074
|
-
resourceGroupId: 'string',
|
|
1075
1064
|
regionId: 'string',
|
|
1065
|
+
resourceGroupId: 'string',
|
|
1076
1066
|
};
|
|
1077
1067
|
}
|
|
1078
1068
|
}
|
|
@@ -1083,17 +1073,17 @@ class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
1083
1073
|
}
|
|
1084
1074
|
static names() {
|
|
1085
1075
|
return {
|
|
1086
|
-
requestId: 'RequestId',
|
|
1087
|
-
regions: 'Regions',
|
|
1088
1076
|
code: 'Code',
|
|
1077
|
+
regions: 'Regions',
|
|
1078
|
+
requestId: 'RequestId',
|
|
1089
1079
|
success: 'Success',
|
|
1090
1080
|
};
|
|
1091
1081
|
}
|
|
1092
1082
|
static types() {
|
|
1093
1083
|
return {
|
|
1094
|
-
requestId: 'string',
|
|
1095
|
-
regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions },
|
|
1096
1084
|
code: 'string',
|
|
1085
|
+
regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions },
|
|
1086
|
+
requestId: 'string',
|
|
1097
1087
|
success: 'boolean',
|
|
1098
1088
|
};
|
|
1099
1089
|
}
|
|
@@ -1106,303 +1096,225 @@ class DescribeRegionsResponse extends $tea.Model {
|
|
|
1106
1096
|
static names() {
|
|
1107
1097
|
return {
|
|
1108
1098
|
headers: 'headers',
|
|
1099
|
+
statusCode: 'statusCode',
|
|
1109
1100
|
body: 'body',
|
|
1110
1101
|
};
|
|
1111
1102
|
}
|
|
1112
1103
|
static types() {
|
|
1113
1104
|
return {
|
|
1114
1105
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1106
|
+
statusCode: 'number',
|
|
1115
1107
|
body: DescribeRegionsResponseBody,
|
|
1116
1108
|
};
|
|
1117
1109
|
}
|
|
1118
1110
|
}
|
|
1119
1111
|
exports.DescribeRegionsResponse = DescribeRegionsResponse;
|
|
1120
|
-
class
|
|
1121
|
-
constructor(map) {
|
|
1122
|
-
super(map);
|
|
1123
|
-
}
|
|
1124
|
-
static names() {
|
|
1125
|
-
return {
|
|
1126
|
-
sourceIp: 'SourceIp',
|
|
1127
|
-
pageSize: 'PageSize',
|
|
1128
|
-
currentPage: 'CurrentPage',
|
|
1129
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1130
|
-
};
|
|
1131
|
-
}
|
|
1132
|
-
static types() {
|
|
1133
|
-
return {
|
|
1134
|
-
sourceIp: 'string',
|
|
1135
|
-
pageSize: 'number',
|
|
1136
|
-
currentPage: 'number',
|
|
1137
|
-
resourceGroupId: 'string',
|
|
1138
|
-
};
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
exports.DescribeResourcePackInstancesRequest = DescribeResourcePackInstancesRequest;
|
|
1142
|
-
class DescribeResourcePackInstancesResponseBody extends $tea.Model {
|
|
1143
|
-
constructor(map) {
|
|
1144
|
-
super(map);
|
|
1145
|
-
}
|
|
1146
|
-
static names() {
|
|
1147
|
-
return {
|
|
1148
|
-
totalCount: 'TotalCount',
|
|
1149
|
-
requestId: 'RequestId',
|
|
1150
|
-
resourcePacks: 'ResourcePacks',
|
|
1151
|
-
};
|
|
1152
|
-
}
|
|
1153
|
-
static types() {
|
|
1154
|
-
return {
|
|
1155
|
-
totalCount: 'number',
|
|
1156
|
-
requestId: 'string',
|
|
1157
|
-
resourcePacks: { 'type': 'array', 'itemType': DescribeResourcePackInstancesResponseBodyResourcePacks },
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
exports.DescribeResourcePackInstancesResponseBody = DescribeResourcePackInstancesResponseBody;
|
|
1162
|
-
class DescribeResourcePackInstancesResponse extends $tea.Model {
|
|
1163
|
-
constructor(map) {
|
|
1164
|
-
super(map);
|
|
1165
|
-
}
|
|
1166
|
-
static names() {
|
|
1167
|
-
return {
|
|
1168
|
-
headers: 'headers',
|
|
1169
|
-
body: 'body',
|
|
1170
|
-
};
|
|
1171
|
-
}
|
|
1172
|
-
static types() {
|
|
1173
|
-
return {
|
|
1174
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1175
|
-
body: DescribeResourcePackInstancesResponseBody,
|
|
1176
|
-
};
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
exports.DescribeResourcePackInstancesResponse = DescribeResourcePackInstancesResponse;
|
|
1180
|
-
class DescribeResourcePackStatisticsRequest extends $tea.Model {
|
|
1112
|
+
class DescribeTrafficRequest extends $tea.Model {
|
|
1181
1113
|
constructor(map) {
|
|
1182
1114
|
super(map);
|
|
1183
1115
|
}
|
|
1184
1116
|
static names() {
|
|
1185
1117
|
return {
|
|
1186
|
-
|
|
1187
|
-
|
|
1118
|
+
endTime: 'EndTime',
|
|
1119
|
+
flowType: 'FlowType',
|
|
1188
1120
|
instanceId: 'InstanceId',
|
|
1121
|
+
interval: 'Interval',
|
|
1122
|
+
ip: 'Ip',
|
|
1123
|
+
ipnet: 'Ipnet',
|
|
1124
|
+
regionId: 'RegionId',
|
|
1189
1125
|
resourceGroupId: 'ResourceGroupId',
|
|
1126
|
+
startTime: 'StartTime',
|
|
1190
1127
|
};
|
|
1191
1128
|
}
|
|
1192
1129
|
static types() {
|
|
1193
1130
|
return {
|
|
1194
|
-
|
|
1195
|
-
|
|
1131
|
+
endTime: 'number',
|
|
1132
|
+
flowType: 'string',
|
|
1196
1133
|
instanceId: 'string',
|
|
1134
|
+
interval: 'number',
|
|
1135
|
+
ip: 'string',
|
|
1136
|
+
ipnet: 'string',
|
|
1137
|
+
regionId: 'string',
|
|
1197
1138
|
resourceGroupId: 'string',
|
|
1139
|
+
startTime: 'number',
|
|
1198
1140
|
};
|
|
1199
1141
|
}
|
|
1200
1142
|
}
|
|
1201
|
-
exports.
|
|
1202
|
-
class
|
|
1143
|
+
exports.DescribeTrafficRequest = DescribeTrafficRequest;
|
|
1144
|
+
class DescribeTrafficResponseBody extends $tea.Model {
|
|
1203
1145
|
constructor(map) {
|
|
1204
1146
|
super(map);
|
|
1205
1147
|
}
|
|
1206
1148
|
static names() {
|
|
1207
1149
|
return {
|
|
1150
|
+
flowList: 'FlowList',
|
|
1208
1151
|
requestId: 'RequestId',
|
|
1209
|
-
totalInitCapacity: 'TotalInitCapacity',
|
|
1210
|
-
totalCurrCapacity: 'TotalCurrCapacity',
|
|
1211
|
-
availablePackNum: 'AvailablePackNum',
|
|
1212
|
-
totalUsedCapacity: 'TotalUsedCapacity',
|
|
1213
1152
|
};
|
|
1214
1153
|
}
|
|
1215
1154
|
static types() {
|
|
1216
1155
|
return {
|
|
1156
|
+
flowList: { 'type': 'array', 'itemType': DescribeTrafficResponseBodyFlowList },
|
|
1217
1157
|
requestId: 'string',
|
|
1218
|
-
totalInitCapacity: 'number',
|
|
1219
|
-
totalCurrCapacity: 'number',
|
|
1220
|
-
availablePackNum: 'number',
|
|
1221
|
-
totalUsedCapacity: 'number',
|
|
1222
1158
|
};
|
|
1223
1159
|
}
|
|
1224
1160
|
}
|
|
1225
|
-
exports.
|
|
1226
|
-
class
|
|
1161
|
+
exports.DescribeTrafficResponseBody = DescribeTrafficResponseBody;
|
|
1162
|
+
class DescribeTrafficResponse extends $tea.Model {
|
|
1227
1163
|
constructor(map) {
|
|
1228
1164
|
super(map);
|
|
1229
1165
|
}
|
|
1230
1166
|
static names() {
|
|
1231
1167
|
return {
|
|
1232
1168
|
headers: 'headers',
|
|
1169
|
+
statusCode: 'statusCode',
|
|
1233
1170
|
body: 'body',
|
|
1234
1171
|
};
|
|
1235
1172
|
}
|
|
1236
1173
|
static types() {
|
|
1237
1174
|
return {
|
|
1238
1175
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1239
|
-
|
|
1176
|
+
statusCode: 'number',
|
|
1177
|
+
body: DescribeTrafficResponseBody,
|
|
1240
1178
|
};
|
|
1241
1179
|
}
|
|
1242
1180
|
}
|
|
1243
|
-
exports.
|
|
1244
|
-
class
|
|
1181
|
+
exports.DescribeTrafficResponse = DescribeTrafficResponse;
|
|
1182
|
+
class GetSlsOpenStatusRequest extends $tea.Model {
|
|
1245
1183
|
constructor(map) {
|
|
1246
1184
|
super(map);
|
|
1247
1185
|
}
|
|
1248
1186
|
static names() {
|
|
1249
1187
|
return {
|
|
1250
|
-
|
|
1251
|
-
endTime: 'EndTime',
|
|
1252
|
-
startTime: 'StartTime',
|
|
1253
|
-
instanceId: 'InstanceId',
|
|
1188
|
+
regionId: 'RegionId',
|
|
1254
1189
|
resourceGroupId: 'ResourceGroupId',
|
|
1255
1190
|
};
|
|
1256
1191
|
}
|
|
1257
1192
|
static types() {
|
|
1258
1193
|
return {
|
|
1259
|
-
|
|
1260
|
-
endTime: 'number',
|
|
1261
|
-
startTime: 'number',
|
|
1262
|
-
instanceId: 'string',
|
|
1194
|
+
regionId: 'string',
|
|
1263
1195
|
resourceGroupId: 'string',
|
|
1264
1196
|
};
|
|
1265
1197
|
}
|
|
1266
1198
|
}
|
|
1267
|
-
exports.
|
|
1268
|
-
class
|
|
1199
|
+
exports.GetSlsOpenStatusRequest = GetSlsOpenStatusRequest;
|
|
1200
|
+
class GetSlsOpenStatusResponseBody extends $tea.Model {
|
|
1269
1201
|
constructor(map) {
|
|
1270
1202
|
super(map);
|
|
1271
1203
|
}
|
|
1272
1204
|
static names() {
|
|
1273
1205
|
return {
|
|
1274
|
-
endTime: 'EndTime',
|
|
1275
1206
|
requestId: 'RequestId',
|
|
1276
|
-
|
|
1277
|
-
startTime: 'StartTime',
|
|
1278
|
-
interval: 'Interval',
|
|
1207
|
+
slsOpenStatus: 'SlsOpenStatus',
|
|
1279
1208
|
};
|
|
1280
1209
|
}
|
|
1281
1210
|
static types() {
|
|
1282
1211
|
return {
|
|
1283
|
-
endTime: 'number',
|
|
1284
1212
|
requestId: 'string',
|
|
1285
|
-
|
|
1286
|
-
startTime: 'number',
|
|
1287
|
-
interval: 'number',
|
|
1213
|
+
slsOpenStatus: 'boolean',
|
|
1288
1214
|
};
|
|
1289
1215
|
}
|
|
1290
1216
|
}
|
|
1291
|
-
exports.
|
|
1292
|
-
class
|
|
1217
|
+
exports.GetSlsOpenStatusResponseBody = GetSlsOpenStatusResponseBody;
|
|
1218
|
+
class GetSlsOpenStatusResponse extends $tea.Model {
|
|
1293
1219
|
constructor(map) {
|
|
1294
1220
|
super(map);
|
|
1295
1221
|
}
|
|
1296
1222
|
static names() {
|
|
1297
1223
|
return {
|
|
1298
1224
|
headers: 'headers',
|
|
1225
|
+
statusCode: 'statusCode',
|
|
1299
1226
|
body: 'body',
|
|
1300
1227
|
};
|
|
1301
1228
|
}
|
|
1302
1229
|
static types() {
|
|
1303
1230
|
return {
|
|
1304
1231
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1305
|
-
|
|
1232
|
+
statusCode: 'number',
|
|
1233
|
+
body: GetSlsOpenStatusResponseBody,
|
|
1306
1234
|
};
|
|
1307
1235
|
}
|
|
1308
1236
|
}
|
|
1309
|
-
exports.
|
|
1310
|
-
class
|
|
1237
|
+
exports.GetSlsOpenStatusResponse = GetSlsOpenStatusResponse;
|
|
1238
|
+
class ListOpenedAccessLogInstancesRequest extends $tea.Model {
|
|
1311
1239
|
constructor(map) {
|
|
1312
1240
|
super(map);
|
|
1313
1241
|
}
|
|
1314
1242
|
static names() {
|
|
1315
1243
|
return {
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
ipnet: 'Ipnet',
|
|
1319
|
-
ip: 'Ip',
|
|
1320
|
-
startTime: 'StartTime',
|
|
1321
|
-
endTime: 'EndTime',
|
|
1322
|
-
interval: 'Interval',
|
|
1244
|
+
pageNumber: 'PageNumber',
|
|
1245
|
+
pageSize: 'PageSize',
|
|
1323
1246
|
resourceGroupId: 'ResourceGroupId',
|
|
1324
|
-
regionId: 'RegionId',
|
|
1325
1247
|
};
|
|
1326
1248
|
}
|
|
1327
1249
|
static types() {
|
|
1328
1250
|
return {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
ipnet: 'string',
|
|
1332
|
-
ip: 'string',
|
|
1333
|
-
startTime: 'number',
|
|
1334
|
-
endTime: 'number',
|
|
1335
|
-
interval: 'number',
|
|
1251
|
+
pageNumber: 'number',
|
|
1252
|
+
pageSize: 'number',
|
|
1336
1253
|
resourceGroupId: 'string',
|
|
1337
|
-
regionId: 'string',
|
|
1338
1254
|
};
|
|
1339
1255
|
}
|
|
1340
1256
|
}
|
|
1341
|
-
exports.
|
|
1342
|
-
class
|
|
1257
|
+
exports.ListOpenedAccessLogInstancesRequest = ListOpenedAccessLogInstancesRequest;
|
|
1258
|
+
class ListOpenedAccessLogInstancesResponseBody extends $tea.Model {
|
|
1343
1259
|
constructor(map) {
|
|
1344
1260
|
super(map);
|
|
1345
1261
|
}
|
|
1346
1262
|
static names() {
|
|
1347
1263
|
return {
|
|
1348
|
-
flowList: 'FlowList',
|
|
1349
1264
|
requestId: 'RequestId',
|
|
1265
|
+
slsConfigStatus: 'SlsConfigStatus',
|
|
1266
|
+
totalCount: 'TotalCount',
|
|
1350
1267
|
};
|
|
1351
1268
|
}
|
|
1352
1269
|
static types() {
|
|
1353
1270
|
return {
|
|
1354
|
-
flowList: { 'type': 'array', 'itemType': DescribeTrafficResponseBodyFlowList },
|
|
1355
1271
|
requestId: 'string',
|
|
1272
|
+
slsConfigStatus: { 'type': 'array', 'itemType': ListOpenedAccessLogInstancesResponseBodySlsConfigStatus },
|
|
1273
|
+
totalCount: 'number',
|
|
1356
1274
|
};
|
|
1357
1275
|
}
|
|
1358
1276
|
}
|
|
1359
|
-
exports.
|
|
1360
|
-
class
|
|
1277
|
+
exports.ListOpenedAccessLogInstancesResponseBody = ListOpenedAccessLogInstancesResponseBody;
|
|
1278
|
+
class ListOpenedAccessLogInstancesResponse extends $tea.Model {
|
|
1361
1279
|
constructor(map) {
|
|
1362
1280
|
super(map);
|
|
1363
1281
|
}
|
|
1364
1282
|
static names() {
|
|
1365
1283
|
return {
|
|
1366
1284
|
headers: 'headers',
|
|
1285
|
+
statusCode: 'statusCode',
|
|
1367
1286
|
body: 'body',
|
|
1368
1287
|
};
|
|
1369
1288
|
}
|
|
1370
1289
|
static types() {
|
|
1371
1290
|
return {
|
|
1372
1291
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1373
|
-
|
|
1292
|
+
statusCode: 'number',
|
|
1293
|
+
body: ListOpenedAccessLogInstancesResponseBody,
|
|
1374
1294
|
};
|
|
1375
1295
|
}
|
|
1376
1296
|
}
|
|
1377
|
-
exports.
|
|
1297
|
+
exports.ListOpenedAccessLogInstancesResponse = ListOpenedAccessLogInstancesResponse;
|
|
1378
1298
|
class ListTagKeysRequest extends $tea.Model {
|
|
1379
1299
|
constructor(map) {
|
|
1380
1300
|
super(map);
|
|
1381
1301
|
}
|
|
1382
1302
|
static names() {
|
|
1383
1303
|
return {
|
|
1384
|
-
sourceIp: 'SourceIp',
|
|
1385
|
-
regionId: 'RegionId',
|
|
1386
|
-
tagOwnerUid: 'TagOwnerUid',
|
|
1387
|
-
tagOwnerBid: 'TagOwnerBid',
|
|
1388
|
-
resourceType: 'ResourceType',
|
|
1389
|
-
scope: 'Scope',
|
|
1390
|
-
pageSize: 'PageSize',
|
|
1391
1304
|
currentPage: 'CurrentPage',
|
|
1305
|
+
pageSize: 'PageSize',
|
|
1306
|
+
regionId: 'RegionId',
|
|
1392
1307
|
resourceGroupId: 'ResourceGroupId',
|
|
1308
|
+
resourceType: 'ResourceType',
|
|
1393
1309
|
};
|
|
1394
1310
|
}
|
|
1395
1311
|
static types() {
|
|
1396
1312
|
return {
|
|
1397
|
-
sourceIp: 'string',
|
|
1398
|
-
regionId: 'string',
|
|
1399
|
-
tagOwnerUid: 'string',
|
|
1400
|
-
tagOwnerBid: 'string',
|
|
1401
|
-
resourceType: 'string',
|
|
1402
|
-
scope: 'string',
|
|
1403
|
-
pageSize: 'number',
|
|
1404
1313
|
currentPage: 'number',
|
|
1314
|
+
pageSize: 'number',
|
|
1315
|
+
regionId: 'string',
|
|
1405
1316
|
resourceGroupId: 'string',
|
|
1317
|
+
resourceType: 'string',
|
|
1406
1318
|
};
|
|
1407
1319
|
}
|
|
1408
1320
|
}
|
|
@@ -1413,20 +1325,20 @@ class ListTagKeysResponseBody extends $tea.Model {
|
|
|
1413
1325
|
}
|
|
1414
1326
|
static names() {
|
|
1415
1327
|
return {
|
|
1416
|
-
totalCount: 'TotalCount',
|
|
1417
|
-
requestId: 'RequestId',
|
|
1418
|
-
pageSize: 'PageSize',
|
|
1419
1328
|
currentPage: 'CurrentPage',
|
|
1329
|
+
pageSize: 'PageSize',
|
|
1330
|
+
requestId: 'RequestId',
|
|
1420
1331
|
tagKeys: 'TagKeys',
|
|
1332
|
+
totalCount: 'TotalCount',
|
|
1421
1333
|
};
|
|
1422
1334
|
}
|
|
1423
1335
|
static types() {
|
|
1424
1336
|
return {
|
|
1425
|
-
totalCount: 'number',
|
|
1426
|
-
requestId: 'string',
|
|
1427
|
-
pageSize: 'number',
|
|
1428
1337
|
currentPage: 'number',
|
|
1338
|
+
pageSize: 'number',
|
|
1339
|
+
requestId: 'string',
|
|
1429
1340
|
tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
|
|
1341
|
+
totalCount: 'number',
|
|
1430
1342
|
};
|
|
1431
1343
|
}
|
|
1432
1344
|
}
|
|
@@ -1438,12 +1350,14 @@ class ListTagKeysResponse extends $tea.Model {
|
|
|
1438
1350
|
static names() {
|
|
1439
1351
|
return {
|
|
1440
1352
|
headers: 'headers',
|
|
1353
|
+
statusCode: 'statusCode',
|
|
1441
1354
|
body: 'body',
|
|
1442
1355
|
};
|
|
1443
1356
|
}
|
|
1444
1357
|
static types() {
|
|
1445
1358
|
return {
|
|
1446
1359
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1360
|
+
statusCode: 'number',
|
|
1447
1361
|
body: ListTagKeysResponseBody,
|
|
1448
1362
|
};
|
|
1449
1363
|
}
|
|
@@ -1455,29 +1369,21 @@ class ListTagResourcesRequest extends $tea.Model {
|
|
|
1455
1369
|
}
|
|
1456
1370
|
static names() {
|
|
1457
1371
|
return {
|
|
1458
|
-
sourceIp: 'SourceIp',
|
|
1459
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1460
|
-
regionId: 'RegionId',
|
|
1461
|
-
tagOwnerUid: 'TagOwnerUid',
|
|
1462
|
-
tagOwnerBid: 'TagOwnerBid',
|
|
1463
|
-
resourceType: 'ResourceType',
|
|
1464
|
-
scope: 'Scope',
|
|
1465
1372
|
nextToken: 'NextToken',
|
|
1373
|
+
regionId: 'RegionId',
|
|
1374
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1466
1375
|
resourceId: 'ResourceId',
|
|
1376
|
+
resourceType: 'ResourceType',
|
|
1467
1377
|
tag: 'Tag',
|
|
1468
1378
|
};
|
|
1469
1379
|
}
|
|
1470
1380
|
static types() {
|
|
1471
1381
|
return {
|
|
1472
|
-
sourceIp: 'string',
|
|
1473
|
-
resourceGroupId: 'string',
|
|
1474
|
-
regionId: 'string',
|
|
1475
|
-
tagOwnerUid: 'string',
|
|
1476
|
-
tagOwnerBid: 'string',
|
|
1477
|
-
resourceType: 'string',
|
|
1478
|
-
scope: 'string',
|
|
1479
1382
|
nextToken: 'string',
|
|
1383
|
+
regionId: 'string',
|
|
1384
|
+
resourceGroupId: 'string',
|
|
1480
1385
|
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
1386
|
+
resourceType: 'string',
|
|
1481
1387
|
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
1482
1388
|
};
|
|
1483
1389
|
}
|
|
@@ -1510,12 +1416,14 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
1510
1416
|
static names() {
|
|
1511
1417
|
return {
|
|
1512
1418
|
headers: 'headers',
|
|
1419
|
+
statusCode: 'statusCode',
|
|
1513
1420
|
body: 'body',
|
|
1514
1421
|
};
|
|
1515
1422
|
}
|
|
1516
1423
|
static types() {
|
|
1517
1424
|
return {
|
|
1518
1425
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1426
|
+
statusCode: 'number',
|
|
1519
1427
|
body: ListTagResourcesResponseBody,
|
|
1520
1428
|
};
|
|
1521
1429
|
}
|
|
@@ -1527,22 +1435,18 @@ class ModifyRemarkRequest extends $tea.Model {
|
|
|
1527
1435
|
}
|
|
1528
1436
|
static names() {
|
|
1529
1437
|
return {
|
|
1530
|
-
sourceIp: 'SourceIp',
|
|
1531
|
-
lang: 'Lang',
|
|
1532
1438
|
instanceId: 'InstanceId',
|
|
1439
|
+
regionId: 'RegionId',
|
|
1533
1440
|
remark: 'Remark',
|
|
1534
1441
|
resourceGroupId: 'ResourceGroupId',
|
|
1535
|
-
regionId: 'RegionId',
|
|
1536
1442
|
};
|
|
1537
1443
|
}
|
|
1538
1444
|
static types() {
|
|
1539
1445
|
return {
|
|
1540
|
-
sourceIp: 'string',
|
|
1541
|
-
lang: 'string',
|
|
1542
1446
|
instanceId: 'string',
|
|
1447
|
+
regionId: 'string',
|
|
1543
1448
|
remark: 'string',
|
|
1544
1449
|
resourceGroupId: 'string',
|
|
1545
|
-
regionId: 'string',
|
|
1546
1450
|
};
|
|
1547
1451
|
}
|
|
1548
1452
|
}
|
|
@@ -1570,12 +1474,14 @@ class ModifyRemarkResponse extends $tea.Model {
|
|
|
1570
1474
|
static names() {
|
|
1571
1475
|
return {
|
|
1572
1476
|
headers: 'headers',
|
|
1477
|
+
statusCode: 'statusCode',
|
|
1573
1478
|
body: 'body',
|
|
1574
1479
|
};
|
|
1575
1480
|
}
|
|
1576
1481
|
static types() {
|
|
1577
1482
|
return {
|
|
1578
1483
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1484
|
+
statusCode: 'number',
|
|
1579
1485
|
body: ModifyRemarkResponseBody,
|
|
1580
1486
|
};
|
|
1581
1487
|
}
|
|
@@ -1587,14 +1493,12 @@ class QuerySchedruleOnDemandRequest extends $tea.Model {
|
|
|
1587
1493
|
}
|
|
1588
1494
|
static names() {
|
|
1589
1495
|
return {
|
|
1590
|
-
sourceIp: 'SourceIp',
|
|
1591
1496
|
instanceId: 'InstanceId',
|
|
1592
1497
|
regionId: 'RegionId',
|
|
1593
1498
|
};
|
|
1594
1499
|
}
|
|
1595
1500
|
static types() {
|
|
1596
1501
|
return {
|
|
1597
|
-
sourceIp: 'string',
|
|
1598
1502
|
instanceId: 'string',
|
|
1599
1503
|
regionId: 'string',
|
|
1600
1504
|
};
|
|
@@ -1607,20 +1511,20 @@ class QuerySchedruleOnDemandResponseBody extends $tea.Model {
|
|
|
1607
1511
|
}
|
|
1608
1512
|
static names() {
|
|
1609
1513
|
return {
|
|
1610
|
-
requestId: 'RequestId',
|
|
1611
1514
|
instanceId: 'InstanceId',
|
|
1612
|
-
|
|
1613
|
-
ruleStatus: 'RuleStatus',
|
|
1515
|
+
requestId: 'RequestId',
|
|
1614
1516
|
ruleConfig: 'RuleConfig',
|
|
1517
|
+
ruleStatus: 'RuleStatus',
|
|
1518
|
+
userId: 'UserId',
|
|
1615
1519
|
};
|
|
1616
1520
|
}
|
|
1617
1521
|
static types() {
|
|
1618
1522
|
return {
|
|
1619
|
-
requestId: 'string',
|
|
1620
1523
|
instanceId: 'string',
|
|
1621
|
-
|
|
1622
|
-
ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
|
|
1524
|
+
requestId: 'string',
|
|
1623
1525
|
ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
|
|
1526
|
+
ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
|
|
1527
|
+
userId: 'string',
|
|
1624
1528
|
};
|
|
1625
1529
|
}
|
|
1626
1530
|
}
|
|
@@ -1632,12 +1536,14 @@ class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
|
1632
1536
|
static names() {
|
|
1633
1537
|
return {
|
|
1634
1538
|
headers: 'headers',
|
|
1539
|
+
statusCode: 'statusCode',
|
|
1635
1540
|
body: 'body',
|
|
1636
1541
|
};
|
|
1637
1542
|
}
|
|
1638
1543
|
static types() {
|
|
1639
1544
|
return {
|
|
1640
1545
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1546
|
+
statusCode: 'number',
|
|
1641
1547
|
body: QuerySchedruleOnDemandResponseBody,
|
|
1642
1548
|
};
|
|
1643
1549
|
}
|
|
@@ -1649,18 +1555,16 @@ class SetInstanceModeOnDemandRequest extends $tea.Model {
|
|
|
1649
1555
|
}
|
|
1650
1556
|
static names() {
|
|
1651
1557
|
return {
|
|
1652
|
-
|
|
1558
|
+
instanceIdList: 'InstanceIdList',
|
|
1653
1559
|
mode: 'Mode',
|
|
1654
1560
|
regionId: 'RegionId',
|
|
1655
|
-
instanceIdList: 'InstanceIdList',
|
|
1656
1561
|
};
|
|
1657
1562
|
}
|
|
1658
1563
|
static types() {
|
|
1659
1564
|
return {
|
|
1660
|
-
|
|
1565
|
+
instanceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
1661
1566
|
mode: 'string',
|
|
1662
1567
|
regionId: 'string',
|
|
1663
|
-
instanceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
1664
1568
|
};
|
|
1665
1569
|
}
|
|
1666
1570
|
}
|
|
@@ -1688,12 +1592,14 @@ class SetInstanceModeOnDemandResponse extends $tea.Model {
|
|
|
1688
1592
|
static names() {
|
|
1689
1593
|
return {
|
|
1690
1594
|
headers: 'headers',
|
|
1595
|
+
statusCode: 'statusCode',
|
|
1691
1596
|
body: 'body',
|
|
1692
1597
|
};
|
|
1693
1598
|
}
|
|
1694
1599
|
static types() {
|
|
1695
1600
|
return {
|
|
1696
1601
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1602
|
+
statusCode: 'number',
|
|
1697
1603
|
body: SetInstanceModeOnDemandResponseBody,
|
|
1698
1604
|
};
|
|
1699
1605
|
}
|
|
@@ -1705,27 +1611,19 @@ class TagResourcesRequest extends $tea.Model {
|
|
|
1705
1611
|
}
|
|
1706
1612
|
static names() {
|
|
1707
1613
|
return {
|
|
1708
|
-
sourceIp: 'SourceIp',
|
|
1709
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1710
1614
|
regionId: 'RegionId',
|
|
1711
|
-
|
|
1712
|
-
tagOwnerBid: 'TagOwnerBid',
|
|
1713
|
-
resourceType: 'ResourceType',
|
|
1714
|
-
scope: 'Scope',
|
|
1615
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1715
1616
|
resourceId: 'ResourceId',
|
|
1617
|
+
resourceType: 'ResourceType',
|
|
1716
1618
|
tag: 'Tag',
|
|
1717
1619
|
};
|
|
1718
1620
|
}
|
|
1719
1621
|
static types() {
|
|
1720
1622
|
return {
|
|
1721
|
-
sourceIp: 'string',
|
|
1722
|
-
resourceGroupId: 'string',
|
|
1723
1623
|
regionId: 'string',
|
|
1724
|
-
|
|
1725
|
-
tagOwnerBid: 'string',
|
|
1726
|
-
resourceType: 'string',
|
|
1727
|
-
scope: 'string',
|
|
1624
|
+
resourceGroupId: 'string',
|
|
1728
1625
|
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
1626
|
+
resourceType: 'string',
|
|
1729
1627
|
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
1730
1628
|
};
|
|
1731
1629
|
}
|
|
@@ -1754,12 +1652,14 @@ class TagResourcesResponse extends $tea.Model {
|
|
|
1754
1652
|
static names() {
|
|
1755
1653
|
return {
|
|
1756
1654
|
headers: 'headers',
|
|
1655
|
+
statusCode: 'statusCode',
|
|
1757
1656
|
body: 'body',
|
|
1758
1657
|
};
|
|
1759
1658
|
}
|
|
1760
1659
|
static types() {
|
|
1761
1660
|
return {
|
|
1762
1661
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1662
|
+
statusCode: 'number',
|
|
1763
1663
|
body: TagResourcesResponseBody,
|
|
1764
1664
|
};
|
|
1765
1665
|
}
|
|
@@ -1771,27 +1671,21 @@ class UntagResourcesRequest extends $tea.Model {
|
|
|
1771
1671
|
}
|
|
1772
1672
|
static names() {
|
|
1773
1673
|
return {
|
|
1774
|
-
sourceIp: 'SourceIp',
|
|
1775
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1776
|
-
regionId: 'RegionId',
|
|
1777
|
-
tagOwnerUid: 'TagOwnerUid',
|
|
1778
|
-
tagOwnerBid: 'TagOwnerBid',
|
|
1779
|
-
resourceType: 'ResourceType',
|
|
1780
1674
|
all: 'All',
|
|
1675
|
+
regionId: 'RegionId',
|
|
1676
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1781
1677
|
resourceId: 'ResourceId',
|
|
1678
|
+
resourceType: 'ResourceType',
|
|
1782
1679
|
tagKey: 'TagKey',
|
|
1783
1680
|
};
|
|
1784
1681
|
}
|
|
1785
1682
|
static types() {
|
|
1786
1683
|
return {
|
|
1787
|
-
sourceIp: 'string',
|
|
1788
|
-
resourceGroupId: 'string',
|
|
1789
|
-
regionId: 'string',
|
|
1790
|
-
tagOwnerUid: 'string',
|
|
1791
|
-
tagOwnerBid: 'string',
|
|
1792
|
-
resourceType: 'string',
|
|
1793
1684
|
all: 'boolean',
|
|
1685
|
+
regionId: 'string',
|
|
1686
|
+
resourceGroupId: 'string',
|
|
1794
1687
|
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
1688
|
+
resourceType: 'string',
|
|
1795
1689
|
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
1796
1690
|
};
|
|
1797
1691
|
}
|
|
@@ -1820,12 +1714,14 @@ class UntagResourcesResponse extends $tea.Model {
|
|
|
1820
1714
|
static names() {
|
|
1821
1715
|
return {
|
|
1822
1716
|
headers: 'headers',
|
|
1717
|
+
statusCode: 'statusCode',
|
|
1823
1718
|
body: 'body',
|
|
1824
1719
|
};
|
|
1825
1720
|
}
|
|
1826
1721
|
static types() {
|
|
1827
1722
|
return {
|
|
1828
1723
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1724
|
+
statusCode: 'number',
|
|
1829
1725
|
body: UntagResourcesResponseBody,
|
|
1830
1726
|
};
|
|
1831
1727
|
}
|
|
@@ -1838,21 +1734,21 @@ class DescribeDdosEventResponseBodyEvents extends $tea.Model {
|
|
|
1838
1734
|
static names() {
|
|
1839
1735
|
return {
|
|
1840
1736
|
endTime: 'EndTime',
|
|
1841
|
-
status: 'Status',
|
|
1842
|
-
startTime: 'StartTime',
|
|
1843
|
-
mbps: 'Mbps',
|
|
1844
1737
|
ip: 'Ip',
|
|
1738
|
+
mbps: 'Mbps',
|
|
1845
1739
|
pps: 'Pps',
|
|
1740
|
+
startTime: 'StartTime',
|
|
1741
|
+
status: 'Status',
|
|
1846
1742
|
};
|
|
1847
1743
|
}
|
|
1848
1744
|
static types() {
|
|
1849
1745
|
return {
|
|
1850
1746
|
endTime: 'number',
|
|
1851
|
-
status: 'string',
|
|
1852
|
-
startTime: 'number',
|
|
1853
|
-
mbps: 'number',
|
|
1854
1747
|
ip: 'string',
|
|
1748
|
+
mbps: 'number',
|
|
1855
1749
|
pps: 'number',
|
|
1750
|
+
startTime: 'number',
|
|
1751
|
+
status: 'string',
|
|
1856
1752
|
};
|
|
1857
1753
|
}
|
|
1858
1754
|
}
|
|
@@ -1881,30 +1777,32 @@ class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
|
1881
1777
|
}
|
|
1882
1778
|
static names() {
|
|
1883
1779
|
return {
|
|
1884
|
-
status: 'Status',
|
|
1885
|
-
ipType: 'IpType',
|
|
1886
1780
|
autoRenewal: 'AutoRenewal',
|
|
1887
|
-
|
|
1781
|
+
blackholdingCount: 'BlackholdingCount',
|
|
1782
|
+
coverageType: 'CoverageType',
|
|
1888
1783
|
expireTime: 'ExpireTime',
|
|
1889
|
-
product: 'Product',
|
|
1890
1784
|
gmtCreate: 'GmtCreate',
|
|
1891
1785
|
instanceId: 'InstanceId',
|
|
1892
1786
|
instanceType: 'InstanceType',
|
|
1893
|
-
|
|
1787
|
+
ipType: 'IpType',
|
|
1788
|
+
product: 'Product',
|
|
1789
|
+
remark: 'Remark',
|
|
1790
|
+
status: 'Status',
|
|
1894
1791
|
};
|
|
1895
1792
|
}
|
|
1896
1793
|
static types() {
|
|
1897
1794
|
return {
|
|
1898
|
-
status: 'string',
|
|
1899
|
-
ipType: 'string',
|
|
1900
1795
|
autoRenewal: 'boolean',
|
|
1901
|
-
|
|
1796
|
+
blackholdingCount: 'string',
|
|
1797
|
+
coverageType: 'number',
|
|
1902
1798
|
expireTime: 'number',
|
|
1903
|
-
product: 'string',
|
|
1904
1799
|
gmtCreate: 'number',
|
|
1905
1800
|
instanceId: 'string',
|
|
1906
1801
|
instanceType: 'string',
|
|
1907
|
-
|
|
1802
|
+
ipType: 'string',
|
|
1803
|
+
product: 'string',
|
|
1804
|
+
remark: 'string',
|
|
1805
|
+
status: 'string',
|
|
1908
1806
|
};
|
|
1909
1807
|
}
|
|
1910
1808
|
}
|
|
@@ -1915,22 +1813,26 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $tea.Mode
|
|
|
1915
1813
|
}
|
|
1916
1814
|
static names() {
|
|
1917
1815
|
return {
|
|
1918
|
-
|
|
1816
|
+
bandwidth: 'Bandwidth',
|
|
1919
1817
|
bindIpCount: 'BindIpCount',
|
|
1920
|
-
packAdvThre: 'PackAdvThre',
|
|
1921
|
-
ipBasicThre: 'IpBasicThre',
|
|
1922
1818
|
ipAdvanceThre: 'IpAdvanceThre',
|
|
1819
|
+
ipBasicThre: 'IpBasicThre',
|
|
1923
1820
|
ipSpec: 'IpSpec',
|
|
1821
|
+
normalBandwidth: 'NormalBandwidth',
|
|
1822
|
+
packAdvThre: 'PackAdvThre',
|
|
1823
|
+
packBasicThre: 'PackBasicThre',
|
|
1924
1824
|
};
|
|
1925
1825
|
}
|
|
1926
1826
|
static types() {
|
|
1927
1827
|
return {
|
|
1928
|
-
|
|
1828
|
+
bandwidth: 'number',
|
|
1929
1829
|
bindIpCount: 'number',
|
|
1930
|
-
packAdvThre: 'number',
|
|
1931
|
-
ipBasicThre: 'number',
|
|
1932
1830
|
ipAdvanceThre: 'number',
|
|
1831
|
+
ipBasicThre: 'number',
|
|
1933
1832
|
ipSpec: 'number',
|
|
1833
|
+
normalBandwidth: 'number',
|
|
1834
|
+
packAdvThre: 'number',
|
|
1835
|
+
packBasicThre: 'number',
|
|
1934
1836
|
};
|
|
1935
1837
|
}
|
|
1936
1838
|
}
|
|
@@ -1941,18 +1843,24 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
1941
1843
|
}
|
|
1942
1844
|
static names() {
|
|
1943
1845
|
return {
|
|
1944
|
-
|
|
1945
|
-
region: 'Region',
|
|
1846
|
+
availableDefenseTimes: 'AvailableDefenseTimes',
|
|
1946
1847
|
availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
|
|
1947
1848
|
instanceId: 'InstanceId',
|
|
1849
|
+
isFullDefenseMode: 'IsFullDefenseMode',
|
|
1850
|
+
packConfig: 'PackConfig',
|
|
1851
|
+
region: 'Region',
|
|
1852
|
+
totalDefenseTimes: 'TotalDefenseTimes',
|
|
1948
1853
|
};
|
|
1949
1854
|
}
|
|
1950
1855
|
static types() {
|
|
1951
1856
|
return {
|
|
1952
|
-
|
|
1953
|
-
region: 'string',
|
|
1857
|
+
availableDefenseTimes: 'number',
|
|
1954
1858
|
availableDeleteBlackholeCount: 'string',
|
|
1955
1859
|
instanceId: 'string',
|
|
1860
|
+
isFullDefenseMode: 'number',
|
|
1861
|
+
packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
|
|
1862
|
+
region: 'string',
|
|
1863
|
+
totalDefenseTimes: 'number',
|
|
1956
1864
|
};
|
|
1957
1865
|
}
|
|
1958
1866
|
}
|
|
@@ -1964,21 +1872,21 @@ class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
|
|
|
1964
1872
|
static names() {
|
|
1965
1873
|
return {
|
|
1966
1874
|
endTime: 'EndTime',
|
|
1967
|
-
status: 'Status',
|
|
1968
|
-
startTime: 'StartTime',
|
|
1969
|
-
mbps: 'Mbps',
|
|
1970
1875
|
ip: 'Ip',
|
|
1876
|
+
mbps: 'Mbps',
|
|
1971
1877
|
pps: 'Pps',
|
|
1878
|
+
startTime: 'StartTime',
|
|
1879
|
+
status: 'Status',
|
|
1972
1880
|
};
|
|
1973
1881
|
}
|
|
1974
1882
|
static types() {
|
|
1975
1883
|
return {
|
|
1976
1884
|
endTime: 'number',
|
|
1977
|
-
status: 'string',
|
|
1978
|
-
startTime: 'number',
|
|
1979
|
-
mbps: 'number',
|
|
1980
1885
|
ip: 'string',
|
|
1886
|
+
mbps: 'number',
|
|
1981
1887
|
pps: 'number',
|
|
1888
|
+
startTime: 'number',
|
|
1889
|
+
status: 'string',
|
|
1982
1890
|
};
|
|
1983
1891
|
}
|
|
1984
1892
|
}
|
|
@@ -1989,24 +1897,24 @@ class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Model {
|
|
|
1989
1897
|
}
|
|
1990
1898
|
static names() {
|
|
1991
1899
|
return {
|
|
1992
|
-
userId: 'UserId',
|
|
1993
|
-
mode: 'Mode',
|
|
1994
|
-
instanceId: 'InstanceId',
|
|
1995
1900
|
declared: 'Declared',
|
|
1996
|
-
registedAs: 'RegistedAs',
|
|
1997
|
-
net: 'Net',
|
|
1998
1901
|
desc: 'Desc',
|
|
1902
|
+
instanceId: 'InstanceId',
|
|
1903
|
+
mode: 'Mode',
|
|
1904
|
+
net: 'Net',
|
|
1905
|
+
registedAs: 'RegistedAs',
|
|
1906
|
+
userId: 'UserId',
|
|
1999
1907
|
};
|
|
2000
1908
|
}
|
|
2001
1909
|
static types() {
|
|
2002
1910
|
return {
|
|
2003
|
-
userId: 'string',
|
|
2004
|
-
mode: 'string',
|
|
2005
|
-
instanceId: 'string',
|
|
2006
1911
|
declared: 'string',
|
|
2007
|
-
registedAs: 'string',
|
|
2008
|
-
net: 'string',
|
|
2009
1912
|
desc: 'string',
|
|
1913
|
+
instanceId: 'string',
|
|
1914
|
+
mode: 'string',
|
|
1915
|
+
net: 'string',
|
|
1916
|
+
registedAs: 'string',
|
|
1917
|
+
userId: 'string',
|
|
2010
1918
|
};
|
|
2011
1919
|
}
|
|
2012
1920
|
}
|
|
@@ -2017,21 +1925,21 @@ class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
|
|
|
2017
1925
|
}
|
|
2018
1926
|
static names() {
|
|
2019
1927
|
return {
|
|
2020
|
-
entityType: 'EntityType',
|
|
2021
1928
|
entityObject: 'EntityObject',
|
|
2022
|
-
|
|
1929
|
+
entityType: 'EntityType',
|
|
2023
1930
|
gmtCreate: 'GmtCreate',
|
|
2024
1931
|
opAccount: 'OpAccount',
|
|
1932
|
+
opAction: 'OpAction',
|
|
2025
1933
|
opDesc: 'OpDesc',
|
|
2026
1934
|
};
|
|
2027
1935
|
}
|
|
2028
1936
|
static types() {
|
|
2029
1937
|
return {
|
|
2030
|
-
entityType: 'number',
|
|
2031
1938
|
entityObject: 'string',
|
|
2032
|
-
|
|
1939
|
+
entityType: 'number',
|
|
2033
1940
|
gmtCreate: 'number',
|
|
2034
1941
|
opAccount: 'string',
|
|
1942
|
+
opAction: 'number',
|
|
2035
1943
|
opDesc: 'string',
|
|
2036
1944
|
};
|
|
2037
1945
|
}
|
|
@@ -2043,50 +1951,26 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2043
1951
|
}
|
|
2044
1952
|
static names() {
|
|
2045
1953
|
return {
|
|
2046
|
-
status: 'Status',
|
|
2047
|
-
remark: 'Remark',
|
|
2048
|
-
product: 'Product',
|
|
2049
1954
|
ip: 'Ip',
|
|
1955
|
+
memberUid: 'MemberUid',
|
|
1956
|
+
product: 'Product',
|
|
1957
|
+
region: 'Region',
|
|
1958
|
+
remark: 'Remark',
|
|
1959
|
+
status: 'Status',
|
|
2050
1960
|
};
|
|
2051
1961
|
}
|
|
2052
1962
|
static types() {
|
|
2053
1963
|
return {
|
|
2054
|
-
status: 'string',
|
|
2055
|
-
remark: 'string',
|
|
2056
|
-
product: 'string',
|
|
2057
1964
|
ip: 'string',
|
|
1965
|
+
memberUid: 'string',
|
|
1966
|
+
product: 'string',
|
|
1967
|
+
region: 'string',
|
|
1968
|
+
remark: 'string',
|
|
1969
|
+
status: 'string',
|
|
2058
1970
|
};
|
|
2059
1971
|
}
|
|
2060
1972
|
}
|
|
2061
1973
|
exports.DescribePackIpListResponseBodyIpList = DescribePackIpListResponseBodyIpList;
|
|
2062
|
-
class DescribePackPaidTrafficResponseBodyPackPaidTraffics extends $tea.Model {
|
|
2063
|
-
constructor(map) {
|
|
2064
|
-
super(map);
|
|
2065
|
-
}
|
|
2066
|
-
static names() {
|
|
2067
|
-
return {
|
|
2068
|
-
startTime: 'StartTime',
|
|
2069
|
-
baseBandwidth: 'BaseBandwidth',
|
|
2070
|
-
elasticBandwidth: 'ElasticBandwidth',
|
|
2071
|
-
totalCapacity: 'TotalCapacity',
|
|
2072
|
-
maxAttack: 'MaxAttack',
|
|
2073
|
-
instanceId: 'InstanceId',
|
|
2074
|
-
paidCapacity: 'PaidCapacity',
|
|
2075
|
-
};
|
|
2076
|
-
}
|
|
2077
|
-
static types() {
|
|
2078
|
-
return {
|
|
2079
|
-
startTime: 'number',
|
|
2080
|
-
baseBandwidth: 'number',
|
|
2081
|
-
elasticBandwidth: 'number',
|
|
2082
|
-
totalCapacity: 'number',
|
|
2083
|
-
maxAttack: 'number',
|
|
2084
|
-
instanceId: 'string',
|
|
2085
|
-
paidCapacity: 'number',
|
|
2086
|
-
};
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2089
|
-
exports.DescribePackPaidTrafficResponseBodyPackPaidTraffics = DescribePackPaidTrafficResponseBodyPackPaidTraffics;
|
|
2090
1974
|
class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
2091
1975
|
constructor(map) {
|
|
2092
1976
|
super(map);
|
|
@@ -2094,91 +1978,65 @@ class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
2094
1978
|
static names() {
|
|
2095
1979
|
return {
|
|
2096
1980
|
regionEnName: 'RegionEnName',
|
|
2097
|
-
regionName: 'RegionName',
|
|
2098
1981
|
regionId: 'RegionId',
|
|
1982
|
+
regionName: 'RegionName',
|
|
2099
1983
|
};
|
|
2100
1984
|
}
|
|
2101
1985
|
static types() {
|
|
2102
1986
|
return {
|
|
2103
1987
|
regionEnName: 'string',
|
|
2104
|
-
regionName: 'string',
|
|
2105
1988
|
regionId: 'string',
|
|
1989
|
+
regionName: 'string',
|
|
2106
1990
|
};
|
|
2107
1991
|
}
|
|
2108
1992
|
}
|
|
2109
1993
|
exports.DescribeRegionsResponseBodyRegions = DescribeRegionsResponseBodyRegions;
|
|
2110
|
-
class
|
|
2111
|
-
constructor(map) {
|
|
2112
|
-
super(map);
|
|
2113
|
-
}
|
|
2114
|
-
static names() {
|
|
2115
|
-
return {
|
|
2116
|
-
endTime: 'EndTime',
|
|
2117
|
-
status: 'Status',
|
|
2118
|
-
startTime: 'StartTime',
|
|
2119
|
-
resourcePackId: 'ResourcePackId',
|
|
2120
|
-
currCapacity: 'CurrCapacity',
|
|
2121
|
-
initCapacity: 'InitCapacity',
|
|
2122
|
-
};
|
|
2123
|
-
}
|
|
2124
|
-
static types() {
|
|
2125
|
-
return {
|
|
2126
|
-
endTime: 'number',
|
|
2127
|
-
status: 'string',
|
|
2128
|
-
startTime: 'number',
|
|
2129
|
-
resourcePackId: 'string',
|
|
2130
|
-
currCapacity: 'number',
|
|
2131
|
-
initCapacity: 'number',
|
|
2132
|
-
};
|
|
2133
|
-
}
|
|
2134
|
-
}
|
|
2135
|
-
exports.DescribeResourcePackInstancesResponseBodyResourcePacks = DescribeResourcePackInstancesResponseBodyResourcePacks;
|
|
2136
|
-
class DescribeResourcePackUsageResponseBodyPackUsages extends $tea.Model {
|
|
1994
|
+
class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
2137
1995
|
constructor(map) {
|
|
2138
1996
|
super(map);
|
|
2139
1997
|
}
|
|
2140
1998
|
static names() {
|
|
2141
1999
|
return {
|
|
2000
|
+
attackBps: 'AttackBps',
|
|
2001
|
+
attackPps: 'AttackPps',
|
|
2002
|
+
flowType: 'FlowType',
|
|
2003
|
+
kbps: 'Kbps',
|
|
2004
|
+
name: 'Name',
|
|
2005
|
+
pps: 'Pps',
|
|
2142
2006
|
time: 'Time',
|
|
2143
|
-
traffic: 'Traffic',
|
|
2144
2007
|
};
|
|
2145
2008
|
}
|
|
2146
2009
|
static types() {
|
|
2147
2010
|
return {
|
|
2011
|
+
attackBps: 'number',
|
|
2012
|
+
attackPps: 'number',
|
|
2013
|
+
flowType: 'string',
|
|
2014
|
+
kbps: 'number',
|
|
2015
|
+
name: 'string',
|
|
2016
|
+
pps: 'number',
|
|
2148
2017
|
time: 'number',
|
|
2149
|
-
traffic: 'number',
|
|
2150
2018
|
};
|
|
2151
2019
|
}
|
|
2152
2020
|
}
|
|
2153
|
-
exports.
|
|
2154
|
-
class
|
|
2021
|
+
exports.DescribeTrafficResponseBodyFlowList = DescribeTrafficResponseBodyFlowList;
|
|
2022
|
+
class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
|
|
2155
2023
|
constructor(map) {
|
|
2156
2024
|
super(map);
|
|
2157
2025
|
}
|
|
2158
2026
|
static names() {
|
|
2159
2027
|
return {
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
attackPps: 'AttackPps',
|
|
2163
|
-
name: 'Name',
|
|
2164
|
-
pps: 'Pps',
|
|
2165
|
-
kbps: 'Kbps',
|
|
2166
|
-
attackBps: 'AttackBps',
|
|
2028
|
+
enable: 'Enable',
|
|
2029
|
+
instanceId: 'InstanceId',
|
|
2167
2030
|
};
|
|
2168
2031
|
}
|
|
2169
2032
|
static types() {
|
|
2170
2033
|
return {
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
attackPps: 'number',
|
|
2174
|
-
name: 'string',
|
|
2175
|
-
pps: 'number',
|
|
2176
|
-
kbps: 'number',
|
|
2177
|
-
attackBps: 'number',
|
|
2034
|
+
enable: 'boolean',
|
|
2035
|
+
instanceId: 'string',
|
|
2178
2036
|
};
|
|
2179
2037
|
}
|
|
2180
2038
|
}
|
|
2181
|
-
exports.
|
|
2039
|
+
exports.ListOpenedAccessLogInstancesResponseBodySlsConfigStatus = ListOpenedAccessLogInstancesResponseBodySlsConfigStatus;
|
|
2182
2040
|
class ListTagKeysResponseBodyTagKeys extends $tea.Model {
|
|
2183
2041
|
constructor(map) {
|
|
2184
2042
|
super(map);
|
|
@@ -2221,18 +2079,18 @@ class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
|
2221
2079
|
}
|
|
2222
2080
|
static names() {
|
|
2223
2081
|
return {
|
|
2224
|
-
resourceType: 'ResourceType',
|
|
2225
|
-
tagValue: 'TagValue',
|
|
2226
2082
|
resourceId: 'ResourceId',
|
|
2083
|
+
resourceType: 'ResourceType',
|
|
2227
2084
|
tagKey: 'TagKey',
|
|
2085
|
+
tagValue: 'TagValue',
|
|
2228
2086
|
};
|
|
2229
2087
|
}
|
|
2230
2088
|
static types() {
|
|
2231
2089
|
return {
|
|
2232
|
-
resourceType: 'string',
|
|
2233
|
-
tagValue: 'string',
|
|
2234
2090
|
resourceId: 'string',
|
|
2091
|
+
resourceType: 'string',
|
|
2235
2092
|
tagKey: 'string',
|
|
2093
|
+
tagValue: 'string',
|
|
2236
2094
|
};
|
|
2237
2095
|
}
|
|
2238
2096
|
}
|
|
@@ -2253,58 +2111,58 @@ class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
2253
2111
|
}
|
|
2254
2112
|
}
|
|
2255
2113
|
exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
|
|
2256
|
-
class
|
|
2114
|
+
class QuerySchedruleOnDemandResponseBodyRuleConfig extends $tea.Model {
|
|
2257
2115
|
constructor(map) {
|
|
2258
2116
|
super(map);
|
|
2259
2117
|
}
|
|
2260
2118
|
static names() {
|
|
2261
2119
|
return {
|
|
2262
|
-
|
|
2263
|
-
|
|
2120
|
+
ruleAction: 'RuleAction',
|
|
2121
|
+
ruleConditionCnt: 'RuleConditionCnt',
|
|
2122
|
+
ruleConditionKpps: 'RuleConditionKpps',
|
|
2123
|
+
ruleConditionMbps: 'RuleConditionMbps',
|
|
2124
|
+
ruleName: 'RuleName',
|
|
2125
|
+
ruleSwitch: 'RuleSwitch',
|
|
2126
|
+
ruleUndoBeginTime: 'RuleUndoBeginTime',
|
|
2127
|
+
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
2128
|
+
ruleUndoMode: 'RuleUndoMode',
|
|
2129
|
+
timeZone: 'TimeZone',
|
|
2264
2130
|
};
|
|
2265
2131
|
}
|
|
2266
2132
|
static types() {
|
|
2267
2133
|
return {
|
|
2268
|
-
|
|
2269
|
-
|
|
2134
|
+
ruleAction: 'string',
|
|
2135
|
+
ruleConditionCnt: 'string',
|
|
2136
|
+
ruleConditionKpps: 'string',
|
|
2137
|
+
ruleConditionMbps: 'string',
|
|
2138
|
+
ruleName: 'string',
|
|
2139
|
+
ruleSwitch: 'string',
|
|
2140
|
+
ruleUndoBeginTime: 'string',
|
|
2141
|
+
ruleUndoEndTime: 'string',
|
|
2142
|
+
ruleUndoMode: 'string',
|
|
2143
|
+
timeZone: 'string',
|
|
2270
2144
|
};
|
|
2271
2145
|
}
|
|
2272
2146
|
}
|
|
2273
|
-
exports.
|
|
2274
|
-
class
|
|
2147
|
+
exports.QuerySchedruleOnDemandResponseBodyRuleConfig = QuerySchedruleOnDemandResponseBodyRuleConfig;
|
|
2148
|
+
class QuerySchedruleOnDemandResponseBodyRuleStatus extends $tea.Model {
|
|
2275
2149
|
constructor(map) {
|
|
2276
2150
|
super(map);
|
|
2277
2151
|
}
|
|
2278
2152
|
static names() {
|
|
2279
2153
|
return {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
timeZone: 'TimeZone',
|
|
2283
|
-
ruleAction: 'RuleAction',
|
|
2284
|
-
ruleConditionKpps: 'RuleConditionKpps',
|
|
2285
|
-
ruleUndoMode: 'RuleUndoMode',
|
|
2286
|
-
ruleUndoBeginTime: 'RuleUndoBeginTime',
|
|
2287
|
-
ruleConditionCnt: 'RuleConditionCnt',
|
|
2288
|
-
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
2289
|
-
ruleName: 'RuleName',
|
|
2154
|
+
net: 'Net',
|
|
2155
|
+
ruleSchedStatus: 'RuleSchedStatus',
|
|
2290
2156
|
};
|
|
2291
2157
|
}
|
|
2292
2158
|
static types() {
|
|
2293
2159
|
return {
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
timeZone: 'string',
|
|
2297
|
-
ruleAction: 'string',
|
|
2298
|
-
ruleConditionKpps: 'string',
|
|
2299
|
-
ruleUndoMode: 'string',
|
|
2300
|
-
ruleUndoBeginTime: 'string',
|
|
2301
|
-
ruleConditionCnt: 'string',
|
|
2302
|
-
ruleUndoEndTime: 'string',
|
|
2303
|
-
ruleName: 'string',
|
|
2160
|
+
net: 'string',
|
|
2161
|
+
ruleSchedStatus: 'string',
|
|
2304
2162
|
};
|
|
2305
2163
|
}
|
|
2306
2164
|
}
|
|
2307
|
-
exports.
|
|
2165
|
+
exports.QuerySchedruleOnDemandResponseBodyRuleStatus = QuerySchedruleOnDemandResponseBodyRuleStatus;
|
|
2308
2166
|
class TagResourcesRequestTag extends $tea.Model {
|
|
2309
2167
|
constructor(map) {
|
|
2310
2168
|
super(map);
|
|
@@ -2363,33 +2221,162 @@ class Client extends openapi_client_1.default {
|
|
|
2363
2221
|
}
|
|
2364
2222
|
async addIpWithOptions(request, runtime) {
|
|
2365
2223
|
tea_util_1.default.validateModel(request);
|
|
2224
|
+
let query = {};
|
|
2225
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2226
|
+
query["InstanceId"] = request.instanceId;
|
|
2227
|
+
}
|
|
2228
|
+
if (!tea_util_1.default.isUnset(request.ipList)) {
|
|
2229
|
+
query["IpList"] = request.ipList;
|
|
2230
|
+
}
|
|
2231
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2232
|
+
query["RegionId"] = request.regionId;
|
|
2233
|
+
}
|
|
2234
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2235
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2236
|
+
}
|
|
2366
2237
|
let req = new $OpenApi.OpenApiRequest({
|
|
2367
|
-
|
|
2238
|
+
query: openapi_util_1.default.query(query),
|
|
2239
|
+
});
|
|
2240
|
+
let params = new $OpenApi.Params({
|
|
2241
|
+
action: "AddIp",
|
|
2242
|
+
version: "2018-07-20",
|
|
2243
|
+
protocol: "HTTPS",
|
|
2244
|
+
pathname: "/",
|
|
2245
|
+
method: "POST",
|
|
2246
|
+
authType: "AK",
|
|
2247
|
+
style: "RPC",
|
|
2248
|
+
reqBodyType: "formData",
|
|
2249
|
+
bodyType: "json",
|
|
2368
2250
|
});
|
|
2369
|
-
return $tea.cast(await this.
|
|
2251
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
2370
2252
|
}
|
|
2371
2253
|
async addIp(request) {
|
|
2372
2254
|
let runtime = new $Util.RuntimeOptions({});
|
|
2373
2255
|
return await this.addIpWithOptions(request, runtime);
|
|
2374
2256
|
}
|
|
2257
|
+
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
2258
|
+
tea_util_1.default.validateModel(request);
|
|
2259
|
+
let query = {};
|
|
2260
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2261
|
+
query["RegionId"] = request.regionId;
|
|
2262
|
+
}
|
|
2263
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2264
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2265
|
+
}
|
|
2266
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2267
|
+
query: openapi_util_1.default.query(query),
|
|
2268
|
+
});
|
|
2269
|
+
let params = new $OpenApi.Params({
|
|
2270
|
+
action: "CheckAccessLogAuth",
|
|
2271
|
+
version: "2018-07-20",
|
|
2272
|
+
protocol: "HTTPS",
|
|
2273
|
+
pathname: "/",
|
|
2274
|
+
method: "POST",
|
|
2275
|
+
authType: "AK",
|
|
2276
|
+
style: "RPC",
|
|
2277
|
+
reqBodyType: "formData",
|
|
2278
|
+
bodyType: "json",
|
|
2279
|
+
});
|
|
2280
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
2281
|
+
}
|
|
2282
|
+
async checkAccessLogAuth(request) {
|
|
2283
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2284
|
+
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
2285
|
+
}
|
|
2286
|
+
/**
|
|
2287
|
+
* Indicates whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account. Valid values:
|
|
2288
|
+
* * **1**: Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
2289
|
+
* * **0**: Anti-DDoS Origin is not authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
2290
|
+
*
|
|
2291
|
+
* @param request CheckGrantRequest
|
|
2292
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2293
|
+
* @return CheckGrantResponse
|
|
2294
|
+
*/
|
|
2375
2295
|
async checkGrantWithOptions(request, runtime) {
|
|
2376
2296
|
tea_util_1.default.validateModel(request);
|
|
2377
2297
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
2378
2298
|
let req = new $OpenApi.OpenApiRequest({
|
|
2379
|
-
query: query,
|
|
2299
|
+
query: openapi_util_1.default.query(query),
|
|
2380
2300
|
});
|
|
2381
|
-
|
|
2382
|
-
|
|
2301
|
+
let params = new $OpenApi.Params({
|
|
2302
|
+
action: "CheckGrant",
|
|
2303
|
+
version: "2018-07-20",
|
|
2304
|
+
protocol: "HTTPS",
|
|
2305
|
+
pathname: "/",
|
|
2306
|
+
method: "GET",
|
|
2307
|
+
authType: "AK",
|
|
2308
|
+
style: "RPC",
|
|
2309
|
+
reqBodyType: "formData",
|
|
2310
|
+
bodyType: "json",
|
|
2311
|
+
});
|
|
2312
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckGrantResponse({}));
|
|
2313
|
+
}
|
|
2314
|
+
/**
|
|
2315
|
+
* Indicates whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account. Valid values:
|
|
2316
|
+
* * **1**: Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
2317
|
+
* * **0**: Anti-DDoS Origin is not authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
2318
|
+
*
|
|
2319
|
+
* @param request CheckGrantRequest
|
|
2320
|
+
* @return CheckGrantResponse
|
|
2321
|
+
*/
|
|
2383
2322
|
async checkGrant(request) {
|
|
2384
2323
|
let runtime = new $Util.RuntimeOptions({});
|
|
2385
2324
|
return await this.checkGrantWithOptions(request, runtime);
|
|
2386
2325
|
}
|
|
2387
2326
|
async configSchedruleOnDemandWithOptions(request, runtime) {
|
|
2388
2327
|
tea_util_1.default.validateModel(request);
|
|
2328
|
+
let query = {};
|
|
2329
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2330
|
+
query["InstanceId"] = request.instanceId;
|
|
2331
|
+
}
|
|
2332
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2333
|
+
query["RegionId"] = request.regionId;
|
|
2334
|
+
}
|
|
2335
|
+
if (!tea_util_1.default.isUnset(request.ruleAction)) {
|
|
2336
|
+
query["RuleAction"] = request.ruleAction;
|
|
2337
|
+
}
|
|
2338
|
+
if (!tea_util_1.default.isUnset(request.ruleConditionCnt)) {
|
|
2339
|
+
query["RuleConditionCnt"] = request.ruleConditionCnt;
|
|
2340
|
+
}
|
|
2341
|
+
if (!tea_util_1.default.isUnset(request.ruleConditionKpps)) {
|
|
2342
|
+
query["RuleConditionKpps"] = request.ruleConditionKpps;
|
|
2343
|
+
}
|
|
2344
|
+
if (!tea_util_1.default.isUnset(request.ruleConditionMbps)) {
|
|
2345
|
+
query["RuleConditionMbps"] = request.ruleConditionMbps;
|
|
2346
|
+
}
|
|
2347
|
+
if (!tea_util_1.default.isUnset(request.ruleName)) {
|
|
2348
|
+
query["RuleName"] = request.ruleName;
|
|
2349
|
+
}
|
|
2350
|
+
if (!tea_util_1.default.isUnset(request.ruleSwitch)) {
|
|
2351
|
+
query["RuleSwitch"] = request.ruleSwitch;
|
|
2352
|
+
}
|
|
2353
|
+
if (!tea_util_1.default.isUnset(request.ruleUndoBeginTime)) {
|
|
2354
|
+
query["RuleUndoBeginTime"] = request.ruleUndoBeginTime;
|
|
2355
|
+
}
|
|
2356
|
+
if (!tea_util_1.default.isUnset(request.ruleUndoEndTime)) {
|
|
2357
|
+
query["RuleUndoEndTime"] = request.ruleUndoEndTime;
|
|
2358
|
+
}
|
|
2359
|
+
if (!tea_util_1.default.isUnset(request.ruleUndoMode)) {
|
|
2360
|
+
query["RuleUndoMode"] = request.ruleUndoMode;
|
|
2361
|
+
}
|
|
2362
|
+
if (!tea_util_1.default.isUnset(request.timeZone)) {
|
|
2363
|
+
query["TimeZone"] = request.timeZone;
|
|
2364
|
+
}
|
|
2389
2365
|
let req = new $OpenApi.OpenApiRequest({
|
|
2390
|
-
|
|
2366
|
+
query: openapi_util_1.default.query(query),
|
|
2367
|
+
});
|
|
2368
|
+
let params = new $OpenApi.Params({
|
|
2369
|
+
action: "ConfigSchedruleOnDemand",
|
|
2370
|
+
version: "2018-07-20",
|
|
2371
|
+
protocol: "HTTPS",
|
|
2372
|
+
pathname: "/",
|
|
2373
|
+
method: "POST",
|
|
2374
|
+
authType: "AK",
|
|
2375
|
+
style: "RPC",
|
|
2376
|
+
reqBodyType: "formData",
|
|
2377
|
+
bodyType: "json",
|
|
2391
2378
|
});
|
|
2392
|
-
return $tea.cast(await this.
|
|
2379
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
2393
2380
|
}
|
|
2394
2381
|
async configSchedruleOnDemand(request) {
|
|
2395
2382
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -2397,241 +2384,947 @@ class Client extends openapi_client_1.default {
|
|
|
2397
2384
|
}
|
|
2398
2385
|
async createSchedruleOnDemandWithOptions(request, runtime) {
|
|
2399
2386
|
tea_util_1.default.validateModel(request);
|
|
2387
|
+
let query = {};
|
|
2388
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2389
|
+
query["InstanceId"] = request.instanceId;
|
|
2390
|
+
}
|
|
2391
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2392
|
+
query["RegionId"] = request.regionId;
|
|
2393
|
+
}
|
|
2394
|
+
if (!tea_util_1.default.isUnset(request.ruleAction)) {
|
|
2395
|
+
query["RuleAction"] = request.ruleAction;
|
|
2396
|
+
}
|
|
2397
|
+
if (!tea_util_1.default.isUnset(request.ruleConditionCnt)) {
|
|
2398
|
+
query["RuleConditionCnt"] = request.ruleConditionCnt;
|
|
2399
|
+
}
|
|
2400
|
+
if (!tea_util_1.default.isUnset(request.ruleConditionKpps)) {
|
|
2401
|
+
query["RuleConditionKpps"] = request.ruleConditionKpps;
|
|
2402
|
+
}
|
|
2403
|
+
if (!tea_util_1.default.isUnset(request.ruleConditionMbps)) {
|
|
2404
|
+
query["RuleConditionMbps"] = request.ruleConditionMbps;
|
|
2405
|
+
}
|
|
2406
|
+
if (!tea_util_1.default.isUnset(request.ruleName)) {
|
|
2407
|
+
query["RuleName"] = request.ruleName;
|
|
2408
|
+
}
|
|
2409
|
+
if (!tea_util_1.default.isUnset(request.ruleSwitch)) {
|
|
2410
|
+
query["RuleSwitch"] = request.ruleSwitch;
|
|
2411
|
+
}
|
|
2412
|
+
if (!tea_util_1.default.isUnset(request.ruleUndoBeginTime)) {
|
|
2413
|
+
query["RuleUndoBeginTime"] = request.ruleUndoBeginTime;
|
|
2414
|
+
}
|
|
2415
|
+
if (!tea_util_1.default.isUnset(request.ruleUndoEndTime)) {
|
|
2416
|
+
query["RuleUndoEndTime"] = request.ruleUndoEndTime;
|
|
2417
|
+
}
|
|
2418
|
+
if (!tea_util_1.default.isUnset(request.ruleUndoMode)) {
|
|
2419
|
+
query["RuleUndoMode"] = request.ruleUndoMode;
|
|
2420
|
+
}
|
|
2421
|
+
if (!tea_util_1.default.isUnset(request.timeZone)) {
|
|
2422
|
+
query["TimeZone"] = request.timeZone;
|
|
2423
|
+
}
|
|
2400
2424
|
let req = new $OpenApi.OpenApiRequest({
|
|
2401
|
-
|
|
2425
|
+
query: openapi_util_1.default.query(query),
|
|
2426
|
+
});
|
|
2427
|
+
let params = new $OpenApi.Params({
|
|
2428
|
+
action: "CreateSchedruleOnDemand",
|
|
2429
|
+
version: "2018-07-20",
|
|
2430
|
+
protocol: "HTTPS",
|
|
2431
|
+
pathname: "/",
|
|
2432
|
+
method: "POST",
|
|
2433
|
+
authType: "AK",
|
|
2434
|
+
style: "RPC",
|
|
2435
|
+
reqBodyType: "formData",
|
|
2436
|
+
bodyType: "json",
|
|
2402
2437
|
});
|
|
2403
|
-
return $tea.cast(await this.
|
|
2438
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
2404
2439
|
}
|
|
2405
2440
|
async createSchedruleOnDemand(request) {
|
|
2406
2441
|
let runtime = new $Util.RuntimeOptions({});
|
|
2407
2442
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
2408
2443
|
}
|
|
2444
|
+
/**
|
|
2445
|
+
* You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
2446
|
+
* Before you call this operation, you can call the [DescribePackIpList](~~118701~~) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
2447
|
+
* ### Limits
|
|
2448
|
+
* 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.
|
|
2449
|
+
*
|
|
2450
|
+
* @param request DeleteBlackholeRequest
|
|
2451
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2452
|
+
* @return DeleteBlackholeResponse
|
|
2453
|
+
*/
|
|
2409
2454
|
async deleteBlackholeWithOptions(request, runtime) {
|
|
2410
2455
|
tea_util_1.default.validateModel(request);
|
|
2456
|
+
let query = {};
|
|
2457
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2458
|
+
query["InstanceId"] = request.instanceId;
|
|
2459
|
+
}
|
|
2460
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
2461
|
+
query["Ip"] = request.ip;
|
|
2462
|
+
}
|
|
2463
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2464
|
+
query["RegionId"] = request.regionId;
|
|
2465
|
+
}
|
|
2466
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2467
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2468
|
+
}
|
|
2411
2469
|
let req = new $OpenApi.OpenApiRequest({
|
|
2412
|
-
|
|
2470
|
+
query: openapi_util_1.default.query(query),
|
|
2413
2471
|
});
|
|
2414
|
-
|
|
2415
|
-
|
|
2472
|
+
let params = new $OpenApi.Params({
|
|
2473
|
+
action: "DeleteBlackhole",
|
|
2474
|
+
version: "2018-07-20",
|
|
2475
|
+
protocol: "HTTPS",
|
|
2476
|
+
pathname: "/",
|
|
2477
|
+
method: "POST",
|
|
2478
|
+
authType: "AK",
|
|
2479
|
+
style: "RPC",
|
|
2480
|
+
reqBodyType: "formData",
|
|
2481
|
+
bodyType: "json",
|
|
2482
|
+
});
|
|
2483
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBlackholeResponse({}));
|
|
2484
|
+
}
|
|
2485
|
+
/**
|
|
2486
|
+
* You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
2487
|
+
* Before you call this operation, you can call the [DescribePackIpList](~~118701~~) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
2488
|
+
* ### Limits
|
|
2489
|
+
* 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.
|
|
2490
|
+
*
|
|
2491
|
+
* @param request DeleteBlackholeRequest
|
|
2492
|
+
* @return DeleteBlackholeResponse
|
|
2493
|
+
*/
|
|
2416
2494
|
async deleteBlackhole(request) {
|
|
2417
2495
|
let runtime = new $Util.RuntimeOptions({});
|
|
2418
2496
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
2419
2497
|
}
|
|
2498
|
+
/**
|
|
2499
|
+
* The ID of the Anti-DDoS Origin Enterprise instance.
|
|
2500
|
+
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
|
|
2501
|
+
*
|
|
2502
|
+
* @param request DeleteIpRequest
|
|
2503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2504
|
+
* @return DeleteIpResponse
|
|
2505
|
+
*/
|
|
2420
2506
|
async deleteIpWithOptions(request, runtime) {
|
|
2421
2507
|
tea_util_1.default.validateModel(request);
|
|
2508
|
+
let query = {};
|
|
2509
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2510
|
+
query["InstanceId"] = request.instanceId;
|
|
2511
|
+
}
|
|
2512
|
+
if (!tea_util_1.default.isUnset(request.ipList)) {
|
|
2513
|
+
query["IpList"] = request.ipList;
|
|
2514
|
+
}
|
|
2515
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2516
|
+
query["RegionId"] = request.regionId;
|
|
2517
|
+
}
|
|
2518
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2519
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2520
|
+
}
|
|
2422
2521
|
let req = new $OpenApi.OpenApiRequest({
|
|
2423
|
-
|
|
2522
|
+
query: openapi_util_1.default.query(query),
|
|
2424
2523
|
});
|
|
2425
|
-
|
|
2426
|
-
|
|
2524
|
+
let params = new $OpenApi.Params({
|
|
2525
|
+
action: "DeleteIp",
|
|
2526
|
+
version: "2018-07-20",
|
|
2527
|
+
protocol: "HTTPS",
|
|
2528
|
+
pathname: "/",
|
|
2529
|
+
method: "POST",
|
|
2530
|
+
authType: "AK",
|
|
2531
|
+
style: "RPC",
|
|
2532
|
+
reqBodyType: "formData",
|
|
2533
|
+
bodyType: "json",
|
|
2534
|
+
});
|
|
2535
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpResponse({}));
|
|
2536
|
+
}
|
|
2537
|
+
/**
|
|
2538
|
+
* The ID of the Anti-DDoS Origin Enterprise instance.
|
|
2539
|
+
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
|
|
2540
|
+
*
|
|
2541
|
+
* @param request DeleteIpRequest
|
|
2542
|
+
* @return DeleteIpResponse
|
|
2543
|
+
*/
|
|
2427
2544
|
async deleteIp(request) {
|
|
2428
2545
|
let runtime = new $Util.RuntimeOptions({});
|
|
2429
2546
|
return await this.deleteIpWithOptions(request, runtime);
|
|
2430
2547
|
}
|
|
2431
2548
|
async deleteSchedruleOnDemandWithOptions(request, runtime) {
|
|
2432
2549
|
tea_util_1.default.validateModel(request);
|
|
2550
|
+
let query = {};
|
|
2551
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2552
|
+
query["InstanceId"] = request.instanceId;
|
|
2553
|
+
}
|
|
2554
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2555
|
+
query["RegionId"] = request.regionId;
|
|
2556
|
+
}
|
|
2557
|
+
if (!tea_util_1.default.isUnset(request.ruleName)) {
|
|
2558
|
+
query["RuleName"] = request.ruleName;
|
|
2559
|
+
}
|
|
2433
2560
|
let req = new $OpenApi.OpenApiRequest({
|
|
2434
|
-
|
|
2561
|
+
query: openapi_util_1.default.query(query),
|
|
2562
|
+
});
|
|
2563
|
+
let params = new $OpenApi.Params({
|
|
2564
|
+
action: "DeleteSchedruleOnDemand",
|
|
2565
|
+
version: "2018-07-20",
|
|
2566
|
+
protocol: "HTTPS",
|
|
2567
|
+
pathname: "/",
|
|
2568
|
+
method: "POST",
|
|
2569
|
+
authType: "AK",
|
|
2570
|
+
style: "RPC",
|
|
2571
|
+
reqBodyType: "formData",
|
|
2572
|
+
bodyType: "json",
|
|
2435
2573
|
});
|
|
2436
|
-
return $tea.cast(await this.
|
|
2574
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
2437
2575
|
}
|
|
2438
2576
|
async deleteSchedruleOnDemand(request) {
|
|
2439
2577
|
let runtime = new $Util.RuntimeOptions({});
|
|
2440
2578
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
2441
2579
|
}
|
|
2580
|
+
/**
|
|
2581
|
+
* The number of entries to return on each page.
|
|
2582
|
+
*
|
|
2583
|
+
* @param request DescribeDdosEventRequest
|
|
2584
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2585
|
+
* @return DescribeDdosEventResponse
|
|
2586
|
+
*/
|
|
2442
2587
|
async describeDdosEventWithOptions(request, runtime) {
|
|
2443
2588
|
tea_util_1.default.validateModel(request);
|
|
2589
|
+
let query = {};
|
|
2590
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
2591
|
+
query["EndTime"] = request.endTime;
|
|
2592
|
+
}
|
|
2593
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2594
|
+
query["InstanceId"] = request.instanceId;
|
|
2595
|
+
}
|
|
2596
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
2597
|
+
query["Ip"] = request.ip;
|
|
2598
|
+
}
|
|
2599
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
2600
|
+
query["PageNo"] = request.pageNo;
|
|
2601
|
+
}
|
|
2602
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
2603
|
+
query["PageSize"] = request.pageSize;
|
|
2604
|
+
}
|
|
2605
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2606
|
+
query["RegionId"] = request.regionId;
|
|
2607
|
+
}
|
|
2608
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2609
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2610
|
+
}
|
|
2611
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
2612
|
+
query["StartTime"] = request.startTime;
|
|
2613
|
+
}
|
|
2444
2614
|
let req = new $OpenApi.OpenApiRequest({
|
|
2445
|
-
|
|
2615
|
+
query: openapi_util_1.default.query(query),
|
|
2446
2616
|
});
|
|
2447
|
-
|
|
2448
|
-
|
|
2617
|
+
let params = new $OpenApi.Params({
|
|
2618
|
+
action: "DescribeDdosEvent",
|
|
2619
|
+
version: "2018-07-20",
|
|
2620
|
+
protocol: "HTTPS",
|
|
2621
|
+
pathname: "/",
|
|
2622
|
+
method: "POST",
|
|
2623
|
+
authType: "AK",
|
|
2624
|
+
style: "RPC",
|
|
2625
|
+
reqBodyType: "formData",
|
|
2626
|
+
bodyType: "json",
|
|
2627
|
+
});
|
|
2628
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosEventResponse({}));
|
|
2629
|
+
}
|
|
2630
|
+
/**
|
|
2631
|
+
* The number of entries to return on each page.
|
|
2632
|
+
*
|
|
2633
|
+
* @param request DescribeDdosEventRequest
|
|
2634
|
+
* @return DescribeDdosEventResponse
|
|
2635
|
+
*/
|
|
2449
2636
|
async describeDdosEvent(request) {
|
|
2450
2637
|
let runtime = new $Util.RuntimeOptions({});
|
|
2451
2638
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
2452
2639
|
}
|
|
2640
|
+
/**
|
|
2641
|
+
* The operation that you want to perform. Set the value to **DescribeExcpetionCount**.
|
|
2642
|
+
*
|
|
2643
|
+
* @param request DescribeExcpetionCountRequest
|
|
2644
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2645
|
+
* @return DescribeExcpetionCountResponse
|
|
2646
|
+
*/
|
|
2453
2647
|
async describeExcpetionCountWithOptions(request, runtime) {
|
|
2454
2648
|
tea_util_1.default.validateModel(request);
|
|
2649
|
+
let query = {};
|
|
2650
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2651
|
+
query["RegionId"] = request.regionId;
|
|
2652
|
+
}
|
|
2653
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2654
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2655
|
+
}
|
|
2455
2656
|
let req = new $OpenApi.OpenApiRequest({
|
|
2456
|
-
|
|
2657
|
+
query: openapi_util_1.default.query(query),
|
|
2457
2658
|
});
|
|
2458
|
-
|
|
2459
|
-
|
|
2659
|
+
let params = new $OpenApi.Params({
|
|
2660
|
+
action: "DescribeExcpetionCount",
|
|
2661
|
+
version: "2018-07-20",
|
|
2662
|
+
protocol: "HTTPS",
|
|
2663
|
+
pathname: "/",
|
|
2664
|
+
method: "POST",
|
|
2665
|
+
authType: "AK",
|
|
2666
|
+
style: "RPC",
|
|
2667
|
+
reqBodyType: "formData",
|
|
2668
|
+
bodyType: "json",
|
|
2669
|
+
});
|
|
2670
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcpetionCountResponse({}));
|
|
2671
|
+
}
|
|
2672
|
+
/**
|
|
2673
|
+
* The operation that you want to perform. Set the value to **DescribeExcpetionCount**.
|
|
2674
|
+
*
|
|
2675
|
+
* @param request DescribeExcpetionCountRequest
|
|
2676
|
+
* @return DescribeExcpetionCountResponse
|
|
2677
|
+
*/
|
|
2460
2678
|
async describeExcpetionCount(request) {
|
|
2461
2679
|
let runtime = new $Util.RuntimeOptions({});
|
|
2462
2680
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
2463
2681
|
}
|
|
2682
|
+
/**
|
|
2683
|
+
* The status of the instance. Valid values:
|
|
2684
|
+
* * **1**: normal
|
|
2685
|
+
* * **2**: expired
|
|
2686
|
+
* * **3**: released
|
|
2687
|
+
*
|
|
2688
|
+
* @param request DescribeInstanceListRequest
|
|
2689
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2690
|
+
* @return DescribeInstanceListResponse
|
|
2691
|
+
*/
|
|
2464
2692
|
async describeInstanceListWithOptions(request, runtime) {
|
|
2465
2693
|
tea_util_1.default.validateModel(request);
|
|
2694
|
+
let query = {};
|
|
2695
|
+
if (!tea_util_1.default.isUnset(request.instanceIdList)) {
|
|
2696
|
+
query["InstanceIdList"] = request.instanceIdList;
|
|
2697
|
+
}
|
|
2698
|
+
if (!tea_util_1.default.isUnset(request.instanceType)) {
|
|
2699
|
+
query["InstanceType"] = request.instanceType;
|
|
2700
|
+
}
|
|
2701
|
+
if (!tea_util_1.default.isUnset(request.instanceTypeList)) {
|
|
2702
|
+
query["InstanceTypeList"] = request.instanceTypeList;
|
|
2703
|
+
}
|
|
2704
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
2705
|
+
query["Ip"] = request.ip;
|
|
2706
|
+
}
|
|
2707
|
+
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
2708
|
+
query["IpVersion"] = request.ipVersion;
|
|
2709
|
+
}
|
|
2710
|
+
if (!tea_util_1.default.isUnset(request.orderby)) {
|
|
2711
|
+
query["Orderby"] = request.orderby;
|
|
2712
|
+
}
|
|
2713
|
+
if (!tea_util_1.default.isUnset(request.orderdire)) {
|
|
2714
|
+
query["Orderdire"] = request.orderdire;
|
|
2715
|
+
}
|
|
2716
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
2717
|
+
query["PageNo"] = request.pageNo;
|
|
2718
|
+
}
|
|
2719
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
2720
|
+
query["PageSize"] = request.pageSize;
|
|
2721
|
+
}
|
|
2722
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2723
|
+
query["RegionId"] = request.regionId;
|
|
2724
|
+
}
|
|
2725
|
+
if (!tea_util_1.default.isUnset(request.remark)) {
|
|
2726
|
+
query["Remark"] = request.remark;
|
|
2727
|
+
}
|
|
2728
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2729
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2730
|
+
}
|
|
2731
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
2732
|
+
query["Tag"] = request.tag;
|
|
2733
|
+
}
|
|
2466
2734
|
let req = new $OpenApi.OpenApiRequest({
|
|
2467
|
-
|
|
2735
|
+
query: openapi_util_1.default.query(query),
|
|
2468
2736
|
});
|
|
2469
|
-
|
|
2470
|
-
|
|
2737
|
+
let params = new $OpenApi.Params({
|
|
2738
|
+
action: "DescribeInstanceList",
|
|
2739
|
+
version: "2018-07-20",
|
|
2740
|
+
protocol: "HTTPS",
|
|
2741
|
+
pathname: "/",
|
|
2742
|
+
method: "POST",
|
|
2743
|
+
authType: "AK",
|
|
2744
|
+
style: "RPC",
|
|
2745
|
+
reqBodyType: "formData",
|
|
2746
|
+
bodyType: "json",
|
|
2747
|
+
});
|
|
2748
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceListResponse({}));
|
|
2749
|
+
}
|
|
2750
|
+
/**
|
|
2751
|
+
* The status of the instance. Valid values:
|
|
2752
|
+
* * **1**: normal
|
|
2753
|
+
* * **2**: expired
|
|
2754
|
+
* * **3**: released
|
|
2755
|
+
*
|
|
2756
|
+
* @param request DescribeInstanceListRequest
|
|
2757
|
+
* @return DescribeInstanceListResponse
|
|
2758
|
+
*/
|
|
2471
2759
|
async describeInstanceList(request) {
|
|
2472
2760
|
let runtime = new $Util.RuntimeOptions({});
|
|
2473
2761
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
2474
2762
|
}
|
|
2475
2763
|
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
2476
2764
|
tea_util_1.default.validateModel(request);
|
|
2765
|
+
let query = {};
|
|
2766
|
+
if (!tea_util_1.default.isUnset(request.instanceIdList)) {
|
|
2767
|
+
query["InstanceIdList"] = request.instanceIdList;
|
|
2768
|
+
}
|
|
2769
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2770
|
+
query["RegionId"] = request.regionId;
|
|
2771
|
+
}
|
|
2772
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2773
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2774
|
+
}
|
|
2477
2775
|
let req = new $OpenApi.OpenApiRequest({
|
|
2478
|
-
|
|
2776
|
+
query: openapi_util_1.default.query(query),
|
|
2479
2777
|
});
|
|
2480
|
-
|
|
2778
|
+
let params = new $OpenApi.Params({
|
|
2779
|
+
action: "DescribeInstanceSpecs",
|
|
2780
|
+
version: "2018-07-20",
|
|
2781
|
+
protocol: "HTTPS",
|
|
2782
|
+
pathname: "/",
|
|
2783
|
+
method: "POST",
|
|
2784
|
+
authType: "AK",
|
|
2785
|
+
style: "RPC",
|
|
2786
|
+
reqBodyType: "formData",
|
|
2787
|
+
bodyType: "json",
|
|
2788
|
+
});
|
|
2789
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
2481
2790
|
}
|
|
2482
2791
|
async describeInstanceSpecs(request) {
|
|
2483
2792
|
let runtime = new $Util.RuntimeOptions({});
|
|
2484
2793
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
2485
2794
|
}
|
|
2795
|
+
/**
|
|
2796
|
+
* The ID of the resource group.
|
|
2797
|
+
*
|
|
2798
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
2799
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2800
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
2801
|
+
*/
|
|
2486
2802
|
async describeOnDemandDdosEventWithOptions(request, runtime) {
|
|
2487
2803
|
tea_util_1.default.validateModel(request);
|
|
2804
|
+
let query = {};
|
|
2805
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
2806
|
+
query["EndTime"] = request.endTime;
|
|
2807
|
+
}
|
|
2808
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2809
|
+
query["InstanceId"] = request.instanceId;
|
|
2810
|
+
}
|
|
2811
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
2812
|
+
query["Ip"] = request.ip;
|
|
2813
|
+
}
|
|
2814
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
2815
|
+
query["PageNo"] = request.pageNo;
|
|
2816
|
+
}
|
|
2817
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
2818
|
+
query["PageSize"] = request.pageSize;
|
|
2819
|
+
}
|
|
2820
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2821
|
+
query["RegionId"] = request.regionId;
|
|
2822
|
+
}
|
|
2823
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2824
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2825
|
+
}
|
|
2826
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
2827
|
+
query["StartTime"] = request.startTime;
|
|
2828
|
+
}
|
|
2488
2829
|
let req = new $OpenApi.OpenApiRequest({
|
|
2489
|
-
|
|
2830
|
+
query: openapi_util_1.default.query(query),
|
|
2490
2831
|
});
|
|
2491
|
-
|
|
2492
|
-
|
|
2832
|
+
let params = new $OpenApi.Params({
|
|
2833
|
+
action: "DescribeOnDemandDdosEvent",
|
|
2834
|
+
version: "2018-07-20",
|
|
2835
|
+
protocol: "HTTPS",
|
|
2836
|
+
pathname: "/",
|
|
2837
|
+
method: "POST",
|
|
2838
|
+
authType: "AK",
|
|
2839
|
+
style: "RPC",
|
|
2840
|
+
reqBodyType: "formData",
|
|
2841
|
+
bodyType: "json",
|
|
2842
|
+
});
|
|
2843
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandDdosEventResponse({}));
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* The ID of the resource group.
|
|
2847
|
+
*
|
|
2848
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
2849
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
2850
|
+
*/
|
|
2493
2851
|
async describeOnDemandDdosEvent(request) {
|
|
2494
2852
|
let runtime = new $Util.RuntimeOptions({});
|
|
2495
2853
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
2496
2854
|
}
|
|
2497
2855
|
async describeOnDemandInstanceStatusWithOptions(request, runtime) {
|
|
2498
2856
|
tea_util_1.default.validateModel(request);
|
|
2857
|
+
let query = {};
|
|
2858
|
+
if (!tea_util_1.default.isUnset(request.instanceIdList)) {
|
|
2859
|
+
query["InstanceIdList"] = request.instanceIdList;
|
|
2860
|
+
}
|
|
2861
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2862
|
+
query["RegionId"] = request.regionId;
|
|
2863
|
+
}
|
|
2499
2864
|
let req = new $OpenApi.OpenApiRequest({
|
|
2500
|
-
|
|
2865
|
+
query: openapi_util_1.default.query(query),
|
|
2866
|
+
});
|
|
2867
|
+
let params = new $OpenApi.Params({
|
|
2868
|
+
action: "DescribeOnDemandInstanceStatus",
|
|
2869
|
+
version: "2018-07-20",
|
|
2870
|
+
protocol: "HTTPS",
|
|
2871
|
+
pathname: "/",
|
|
2872
|
+
method: "POST",
|
|
2873
|
+
authType: "AK",
|
|
2874
|
+
style: "RPC",
|
|
2875
|
+
reqBodyType: "formData",
|
|
2876
|
+
bodyType: "json",
|
|
2501
2877
|
});
|
|
2502
|
-
return $tea.cast(await this.
|
|
2878
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
2503
2879
|
}
|
|
2504
2880
|
async describeOnDemandInstanceStatus(request) {
|
|
2505
2881
|
let runtime = new $Util.RuntimeOptions({});
|
|
2506
2882
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
2507
2883
|
}
|
|
2884
|
+
/**
|
|
2885
|
+
* The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
2886
|
+
*
|
|
2887
|
+
* @param request DescribeOpEntitiesRequest
|
|
2888
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2889
|
+
* @return DescribeOpEntitiesResponse
|
|
2890
|
+
*/
|
|
2508
2891
|
async describeOpEntitiesWithOptions(request, runtime) {
|
|
2509
2892
|
tea_util_1.default.validateModel(request);
|
|
2893
|
+
let query = {};
|
|
2894
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
2895
|
+
query["CurrentPage"] = request.currentPage;
|
|
2896
|
+
}
|
|
2897
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
2898
|
+
query["EndTime"] = request.endTime;
|
|
2899
|
+
}
|
|
2900
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2901
|
+
query["InstanceId"] = request.instanceId;
|
|
2902
|
+
}
|
|
2903
|
+
if (!tea_util_1.default.isUnset(request.orderBy)) {
|
|
2904
|
+
query["OrderBy"] = request.orderBy;
|
|
2905
|
+
}
|
|
2906
|
+
if (!tea_util_1.default.isUnset(request.orderDir)) {
|
|
2907
|
+
query["OrderDir"] = request.orderDir;
|
|
2908
|
+
}
|
|
2909
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
2910
|
+
query["PageSize"] = request.pageSize;
|
|
2911
|
+
}
|
|
2912
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2913
|
+
query["RegionId"] = request.regionId;
|
|
2914
|
+
}
|
|
2915
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2916
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2917
|
+
}
|
|
2918
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
2919
|
+
query["StartTime"] = request.startTime;
|
|
2920
|
+
}
|
|
2510
2921
|
let req = new $OpenApi.OpenApiRequest({
|
|
2511
|
-
|
|
2922
|
+
query: openapi_util_1.default.query(query),
|
|
2512
2923
|
});
|
|
2513
|
-
|
|
2514
|
-
|
|
2924
|
+
let params = new $OpenApi.Params({
|
|
2925
|
+
action: "DescribeOpEntities",
|
|
2926
|
+
version: "2018-07-20",
|
|
2927
|
+
protocol: "HTTPS",
|
|
2928
|
+
pathname: "/",
|
|
2929
|
+
method: "POST",
|
|
2930
|
+
authType: "AK",
|
|
2931
|
+
style: "RPC",
|
|
2932
|
+
reqBodyType: "formData",
|
|
2933
|
+
bodyType: "json",
|
|
2934
|
+
});
|
|
2935
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
2936
|
+
}
|
|
2937
|
+
/**
|
|
2938
|
+
* The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
2939
|
+
*
|
|
2940
|
+
* @param request DescribeOpEntitiesRequest
|
|
2941
|
+
* @return DescribeOpEntitiesResponse
|
|
2942
|
+
*/
|
|
2515
2943
|
async describeOpEntities(request) {
|
|
2516
2944
|
let runtime = new $Util.RuntimeOptions({});
|
|
2517
2945
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
2518
2946
|
}
|
|
2947
|
+
/**
|
|
2948
|
+
* The number of entries to return on each page.
|
|
2949
|
+
*
|
|
2950
|
+
* @param request DescribePackIpListRequest
|
|
2951
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2952
|
+
* @return DescribePackIpListResponse
|
|
2953
|
+
*/
|
|
2519
2954
|
async describePackIpListWithOptions(request, runtime) {
|
|
2520
2955
|
tea_util_1.default.validateModel(request);
|
|
2956
|
+
let query = {};
|
|
2957
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2958
|
+
query["InstanceId"] = request.instanceId;
|
|
2959
|
+
}
|
|
2960
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
2961
|
+
query["Ip"] = request.ip;
|
|
2962
|
+
}
|
|
2963
|
+
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
2964
|
+
query["MemberUid"] = request.memberUid;
|
|
2965
|
+
}
|
|
2966
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
2967
|
+
query["PageNo"] = request.pageNo;
|
|
2968
|
+
}
|
|
2969
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
2970
|
+
query["PageSize"] = request.pageSize;
|
|
2971
|
+
}
|
|
2972
|
+
if (!tea_util_1.default.isUnset(request.productName)) {
|
|
2973
|
+
query["ProductName"] = request.productName;
|
|
2974
|
+
}
|
|
2975
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2976
|
+
query["RegionId"] = request.regionId;
|
|
2977
|
+
}
|
|
2978
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
2979
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2980
|
+
}
|
|
2521
2981
|
let req = new $OpenApi.OpenApiRequest({
|
|
2522
|
-
|
|
2982
|
+
query: openapi_util_1.default.query(query),
|
|
2523
2983
|
});
|
|
2524
|
-
|
|
2525
|
-
|
|
2984
|
+
let params = new $OpenApi.Params({
|
|
2985
|
+
action: "DescribePackIpList",
|
|
2986
|
+
version: "2018-07-20",
|
|
2987
|
+
protocol: "HTTPS",
|
|
2988
|
+
pathname: "/",
|
|
2989
|
+
method: "POST",
|
|
2990
|
+
authType: "AK",
|
|
2991
|
+
style: "RPC",
|
|
2992
|
+
reqBodyType: "formData",
|
|
2993
|
+
bodyType: "json",
|
|
2994
|
+
});
|
|
2995
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackIpListResponse({}));
|
|
2996
|
+
}
|
|
2997
|
+
/**
|
|
2998
|
+
* The number of entries to return on each page.
|
|
2999
|
+
*
|
|
3000
|
+
* @param request DescribePackIpListRequest
|
|
3001
|
+
* @return DescribePackIpListResponse
|
|
3002
|
+
*/
|
|
2526
3003
|
async describePackIpList(request) {
|
|
2527
3004
|
let runtime = new $Util.RuntimeOptions({});
|
|
2528
3005
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
2529
3006
|
}
|
|
2530
|
-
async describePackPaidTrafficWithOptions(request, runtime) {
|
|
2531
|
-
tea_util_1.default.validateModel(request);
|
|
2532
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2533
|
-
body: tea_util_1.default.toMap(request),
|
|
2534
|
-
});
|
|
2535
|
-
return $tea.cast(await this.doRPCRequest("DescribePackPaidTraffic", "2018-07-20", "HTTPS", "POST", "AK", "json", req, runtime), new DescribePackPaidTrafficResponse({}));
|
|
2536
|
-
}
|
|
2537
|
-
async describePackPaidTraffic(request) {
|
|
2538
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
2539
|
-
return await this.describePackPaidTrafficWithOptions(request, runtime);
|
|
2540
|
-
}
|
|
2541
3007
|
async describeRegionsWithOptions(request, runtime) {
|
|
2542
3008
|
tea_util_1.default.validateModel(request);
|
|
3009
|
+
let query = {};
|
|
3010
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3011
|
+
query["RegionId"] = request.regionId;
|
|
3012
|
+
}
|
|
3013
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3014
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3015
|
+
}
|
|
2543
3016
|
let req = new $OpenApi.OpenApiRequest({
|
|
2544
|
-
|
|
3017
|
+
query: openapi_util_1.default.query(query),
|
|
3018
|
+
});
|
|
3019
|
+
let params = new $OpenApi.Params({
|
|
3020
|
+
action: "DescribeRegions",
|
|
3021
|
+
version: "2018-07-20",
|
|
3022
|
+
protocol: "HTTPS",
|
|
3023
|
+
pathname: "/",
|
|
3024
|
+
method: "POST",
|
|
3025
|
+
authType: "AK",
|
|
3026
|
+
style: "RPC",
|
|
3027
|
+
reqBodyType: "formData",
|
|
3028
|
+
bodyType: "json",
|
|
2545
3029
|
});
|
|
2546
|
-
return $tea.cast(await this.
|
|
3030
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
2547
3031
|
}
|
|
2548
3032
|
async describeRegions(request) {
|
|
2549
3033
|
let runtime = new $Util.RuntimeOptions({});
|
|
2550
3034
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
2551
3035
|
}
|
|
2552
|
-
|
|
3036
|
+
/**
|
|
3037
|
+
* The bandwidth of attack traffic. Unit: bit/s.
|
|
3038
|
+
* > This parameter is returned only if attack traffic exists.
|
|
3039
|
+
*
|
|
3040
|
+
* @param request DescribeTrafficRequest
|
|
3041
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3042
|
+
* @return DescribeTrafficResponse
|
|
3043
|
+
*/
|
|
3044
|
+
async describeTrafficWithOptions(request, runtime) {
|
|
2553
3045
|
tea_util_1.default.validateModel(request);
|
|
3046
|
+
let query = {};
|
|
3047
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
3048
|
+
query["EndTime"] = request.endTime;
|
|
3049
|
+
}
|
|
3050
|
+
if (!tea_util_1.default.isUnset(request.flowType)) {
|
|
3051
|
+
query["FlowType"] = request.flowType;
|
|
3052
|
+
}
|
|
3053
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
3054
|
+
query["InstanceId"] = request.instanceId;
|
|
3055
|
+
}
|
|
3056
|
+
if (!tea_util_1.default.isUnset(request.interval)) {
|
|
3057
|
+
query["Interval"] = request.interval;
|
|
3058
|
+
}
|
|
3059
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
3060
|
+
query["Ip"] = request.ip;
|
|
3061
|
+
}
|
|
3062
|
+
if (!tea_util_1.default.isUnset(request.ipnet)) {
|
|
3063
|
+
query["Ipnet"] = request.ipnet;
|
|
3064
|
+
}
|
|
3065
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3066
|
+
query["RegionId"] = request.regionId;
|
|
3067
|
+
}
|
|
3068
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3069
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3070
|
+
}
|
|
3071
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
3072
|
+
query["StartTime"] = request.startTime;
|
|
3073
|
+
}
|
|
2554
3074
|
let req = new $OpenApi.OpenApiRequest({
|
|
2555
|
-
|
|
3075
|
+
query: openapi_util_1.default.query(query),
|
|
2556
3076
|
});
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
3077
|
+
let params = new $OpenApi.Params({
|
|
3078
|
+
action: "DescribeTraffic",
|
|
3079
|
+
version: "2018-07-20",
|
|
3080
|
+
protocol: "HTTPS",
|
|
3081
|
+
pathname: "/",
|
|
3082
|
+
method: "POST",
|
|
3083
|
+
authType: "AK",
|
|
3084
|
+
style: "RPC",
|
|
3085
|
+
reqBodyType: "formData",
|
|
3086
|
+
bodyType: "json",
|
|
2567
3087
|
});
|
|
2568
|
-
return $tea.cast(await this.
|
|
2569
|
-
}
|
|
2570
|
-
|
|
3088
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficResponse({}));
|
|
3089
|
+
}
|
|
3090
|
+
/**
|
|
3091
|
+
* The bandwidth of attack traffic. Unit: bit/s.
|
|
3092
|
+
* > This parameter is returned only if attack traffic exists.
|
|
3093
|
+
*
|
|
3094
|
+
* @param request DescribeTrafficRequest
|
|
3095
|
+
* @return DescribeTrafficResponse
|
|
3096
|
+
*/
|
|
3097
|
+
async describeTraffic(request) {
|
|
2571
3098
|
let runtime = new $Util.RuntimeOptions({});
|
|
2572
|
-
return await this.
|
|
3099
|
+
return await this.describeTrafficWithOptions(request, runtime);
|
|
2573
3100
|
}
|
|
2574
|
-
async
|
|
3101
|
+
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
2575
3102
|
tea_util_1.default.validateModel(request);
|
|
3103
|
+
let query = {};
|
|
3104
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3105
|
+
query["RegionId"] = request.regionId;
|
|
3106
|
+
}
|
|
3107
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3108
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3109
|
+
}
|
|
2576
3110
|
let req = new $OpenApi.OpenApiRequest({
|
|
2577
|
-
|
|
3111
|
+
query: openapi_util_1.default.query(query),
|
|
3112
|
+
});
|
|
3113
|
+
let params = new $OpenApi.Params({
|
|
3114
|
+
action: "GetSlsOpenStatus",
|
|
3115
|
+
version: "2018-07-20",
|
|
3116
|
+
protocol: "HTTPS",
|
|
3117
|
+
pathname: "/",
|
|
3118
|
+
method: "POST",
|
|
3119
|
+
authType: "AK",
|
|
3120
|
+
style: "RPC",
|
|
3121
|
+
reqBodyType: "formData",
|
|
3122
|
+
bodyType: "json",
|
|
2578
3123
|
});
|
|
2579
|
-
return $tea.cast(await this.
|
|
3124
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
2580
3125
|
}
|
|
2581
|
-
async
|
|
3126
|
+
async getSlsOpenStatus(request) {
|
|
2582
3127
|
let runtime = new $Util.RuntimeOptions({});
|
|
2583
|
-
return await this.
|
|
3128
|
+
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
2584
3129
|
}
|
|
2585
|
-
async
|
|
3130
|
+
async listOpenedAccessLogInstancesWithOptions(request, runtime) {
|
|
2586
3131
|
tea_util_1.default.validateModel(request);
|
|
3132
|
+
let query = {};
|
|
3133
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
3134
|
+
query["PageNumber"] = request.pageNumber;
|
|
3135
|
+
}
|
|
3136
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
3137
|
+
query["PageSize"] = request.pageSize;
|
|
3138
|
+
}
|
|
3139
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3140
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3141
|
+
}
|
|
2587
3142
|
let req = new $OpenApi.OpenApiRequest({
|
|
2588
|
-
|
|
3143
|
+
query: openapi_util_1.default.query(query),
|
|
2589
3144
|
});
|
|
2590
|
-
|
|
3145
|
+
let params = new $OpenApi.Params({
|
|
3146
|
+
action: "ListOpenedAccessLogInstances",
|
|
3147
|
+
version: "2018-07-20",
|
|
3148
|
+
protocol: "HTTPS",
|
|
3149
|
+
pathname: "/",
|
|
3150
|
+
method: "POST",
|
|
3151
|
+
authType: "AK",
|
|
3152
|
+
style: "RPC",
|
|
3153
|
+
reqBodyType: "formData",
|
|
3154
|
+
bodyType: "json",
|
|
3155
|
+
});
|
|
3156
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
2591
3157
|
}
|
|
2592
|
-
async
|
|
3158
|
+
async listOpenedAccessLogInstances(request) {
|
|
2593
3159
|
let runtime = new $Util.RuntimeOptions({});
|
|
2594
|
-
return await this.
|
|
3160
|
+
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
2595
3161
|
}
|
|
2596
3162
|
async listTagKeysWithOptions(request, runtime) {
|
|
2597
3163
|
tea_util_1.default.validateModel(request);
|
|
3164
|
+
let query = {};
|
|
3165
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
3166
|
+
query["CurrentPage"] = request.currentPage;
|
|
3167
|
+
}
|
|
3168
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
3169
|
+
query["PageSize"] = request.pageSize;
|
|
3170
|
+
}
|
|
3171
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3172
|
+
query["RegionId"] = request.regionId;
|
|
3173
|
+
}
|
|
3174
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3175
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3176
|
+
}
|
|
3177
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
3178
|
+
query["ResourceType"] = request.resourceType;
|
|
3179
|
+
}
|
|
2598
3180
|
let req = new $OpenApi.OpenApiRequest({
|
|
2599
|
-
|
|
3181
|
+
query: openapi_util_1.default.query(query),
|
|
3182
|
+
});
|
|
3183
|
+
let params = new $OpenApi.Params({
|
|
3184
|
+
action: "ListTagKeys",
|
|
3185
|
+
version: "2018-07-20",
|
|
3186
|
+
protocol: "HTTPS",
|
|
3187
|
+
pathname: "/",
|
|
3188
|
+
method: "POST",
|
|
3189
|
+
authType: "AK",
|
|
3190
|
+
style: "RPC",
|
|
3191
|
+
reqBodyType: "formData",
|
|
3192
|
+
bodyType: "json",
|
|
2600
3193
|
});
|
|
2601
|
-
return $tea.cast(await this.
|
|
3194
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
2602
3195
|
}
|
|
2603
3196
|
async listTagKeys(request) {
|
|
2604
3197
|
let runtime = new $Util.RuntimeOptions({});
|
|
2605
3198
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
2606
3199
|
}
|
|
3200
|
+
/**
|
|
3201
|
+
* The ID of the region where the Anti-DDoS Origin instance resides.
|
|
3202
|
+
* > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
|
|
3203
|
+
*
|
|
3204
|
+
* @param request ListTagResourcesRequest
|
|
3205
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3206
|
+
* @return ListTagResourcesResponse
|
|
3207
|
+
*/
|
|
2607
3208
|
async listTagResourcesWithOptions(request, runtime) {
|
|
2608
3209
|
tea_util_1.default.validateModel(request);
|
|
3210
|
+
let query = {};
|
|
3211
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
3212
|
+
query["NextToken"] = request.nextToken;
|
|
3213
|
+
}
|
|
3214
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3215
|
+
query["RegionId"] = request.regionId;
|
|
3216
|
+
}
|
|
3217
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3218
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3219
|
+
}
|
|
3220
|
+
if (!tea_util_1.default.isUnset(request.resourceId)) {
|
|
3221
|
+
query["ResourceId"] = request.resourceId;
|
|
3222
|
+
}
|
|
3223
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
3224
|
+
query["ResourceType"] = request.resourceType;
|
|
3225
|
+
}
|
|
3226
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
3227
|
+
query["Tag"] = request.tag;
|
|
3228
|
+
}
|
|
2609
3229
|
let req = new $OpenApi.OpenApiRequest({
|
|
2610
|
-
|
|
3230
|
+
query: openapi_util_1.default.query(query),
|
|
2611
3231
|
});
|
|
2612
|
-
|
|
2613
|
-
|
|
3232
|
+
let params = new $OpenApi.Params({
|
|
3233
|
+
action: "ListTagResources",
|
|
3234
|
+
version: "2018-07-20",
|
|
3235
|
+
protocol: "HTTPS",
|
|
3236
|
+
pathname: "/",
|
|
3237
|
+
method: "POST",
|
|
3238
|
+
authType: "AK",
|
|
3239
|
+
style: "RPC",
|
|
3240
|
+
reqBodyType: "formData",
|
|
3241
|
+
bodyType: "json",
|
|
3242
|
+
});
|
|
3243
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* The ID of the region where the Anti-DDoS Origin instance resides.
|
|
3247
|
+
* > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
|
|
3248
|
+
*
|
|
3249
|
+
* @param request ListTagResourcesRequest
|
|
3250
|
+
* @return ListTagResourcesResponse
|
|
3251
|
+
*/
|
|
2614
3252
|
async listTagResources(request) {
|
|
2615
3253
|
let runtime = new $Util.RuntimeOptions({});
|
|
2616
3254
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
2617
3255
|
}
|
|
3256
|
+
/**
|
|
3257
|
+
* The operation that you want to perform. Set the value to **ModifyRemark**.
|
|
3258
|
+
*
|
|
3259
|
+
* @param request ModifyRemarkRequest
|
|
3260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3261
|
+
* @return ModifyRemarkResponse
|
|
3262
|
+
*/
|
|
2618
3263
|
async modifyRemarkWithOptions(request, runtime) {
|
|
2619
3264
|
tea_util_1.default.validateModel(request);
|
|
3265
|
+
let query = {};
|
|
3266
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
3267
|
+
query["InstanceId"] = request.instanceId;
|
|
3268
|
+
}
|
|
3269
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3270
|
+
query["RegionId"] = request.regionId;
|
|
3271
|
+
}
|
|
3272
|
+
if (!tea_util_1.default.isUnset(request.remark)) {
|
|
3273
|
+
query["Remark"] = request.remark;
|
|
3274
|
+
}
|
|
3275
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3276
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3277
|
+
}
|
|
2620
3278
|
let req = new $OpenApi.OpenApiRequest({
|
|
2621
|
-
|
|
3279
|
+
query: openapi_util_1.default.query(query),
|
|
2622
3280
|
});
|
|
2623
|
-
|
|
2624
|
-
|
|
3281
|
+
let params = new $OpenApi.Params({
|
|
3282
|
+
action: "ModifyRemark",
|
|
3283
|
+
version: "2018-07-20",
|
|
3284
|
+
protocol: "HTTPS",
|
|
3285
|
+
pathname: "/",
|
|
3286
|
+
method: "POST",
|
|
3287
|
+
authType: "AK",
|
|
3288
|
+
style: "RPC",
|
|
3289
|
+
reqBodyType: "formData",
|
|
3290
|
+
bodyType: "json",
|
|
3291
|
+
});
|
|
3292
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRemarkResponse({}));
|
|
3293
|
+
}
|
|
3294
|
+
/**
|
|
3295
|
+
* The operation that you want to perform. Set the value to **ModifyRemark**.
|
|
3296
|
+
*
|
|
3297
|
+
* @param request ModifyRemarkRequest
|
|
3298
|
+
* @return ModifyRemarkResponse
|
|
3299
|
+
*/
|
|
2625
3300
|
async modifyRemark(request) {
|
|
2626
3301
|
let runtime = new $Util.RuntimeOptions({});
|
|
2627
3302
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
2628
3303
|
}
|
|
2629
3304
|
async querySchedruleOnDemandWithOptions(request, runtime) {
|
|
2630
3305
|
tea_util_1.default.validateModel(request);
|
|
3306
|
+
let query = {};
|
|
3307
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
3308
|
+
query["InstanceId"] = request.instanceId;
|
|
3309
|
+
}
|
|
3310
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3311
|
+
query["RegionId"] = request.regionId;
|
|
3312
|
+
}
|
|
2631
3313
|
let req = new $OpenApi.OpenApiRequest({
|
|
2632
|
-
|
|
3314
|
+
query: openapi_util_1.default.query(query),
|
|
3315
|
+
});
|
|
3316
|
+
let params = new $OpenApi.Params({
|
|
3317
|
+
action: "QuerySchedruleOnDemand",
|
|
3318
|
+
version: "2018-07-20",
|
|
3319
|
+
protocol: "HTTPS",
|
|
3320
|
+
pathname: "/",
|
|
3321
|
+
method: "POST",
|
|
3322
|
+
authType: "AK",
|
|
3323
|
+
style: "RPC",
|
|
3324
|
+
reqBodyType: "formData",
|
|
3325
|
+
bodyType: "json",
|
|
2633
3326
|
});
|
|
2634
|
-
return $tea.cast(await this.
|
|
3327
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
2635
3328
|
}
|
|
2636
3329
|
async querySchedruleOnDemand(request) {
|
|
2637
3330
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -2639,32 +3332,125 @@ class Client extends openapi_client_1.default {
|
|
|
2639
3332
|
}
|
|
2640
3333
|
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
2641
3334
|
tea_util_1.default.validateModel(request);
|
|
3335
|
+
let query = {};
|
|
3336
|
+
if (!tea_util_1.default.isUnset(request.instanceIdList)) {
|
|
3337
|
+
query["InstanceIdList"] = request.instanceIdList;
|
|
3338
|
+
}
|
|
3339
|
+
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
3340
|
+
query["Mode"] = request.mode;
|
|
3341
|
+
}
|
|
3342
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3343
|
+
query["RegionId"] = request.regionId;
|
|
3344
|
+
}
|
|
2642
3345
|
let req = new $OpenApi.OpenApiRequest({
|
|
2643
|
-
|
|
3346
|
+
query: openapi_util_1.default.query(query),
|
|
3347
|
+
});
|
|
3348
|
+
let params = new $OpenApi.Params({
|
|
3349
|
+
action: "SetInstanceModeOnDemand",
|
|
3350
|
+
version: "2018-07-20",
|
|
3351
|
+
protocol: "HTTPS",
|
|
3352
|
+
pathname: "/",
|
|
3353
|
+
method: "POST",
|
|
3354
|
+
authType: "AK",
|
|
3355
|
+
style: "RPC",
|
|
3356
|
+
reqBodyType: "formData",
|
|
3357
|
+
bodyType: "json",
|
|
2644
3358
|
});
|
|
2645
|
-
return $tea.cast(await this.
|
|
3359
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
2646
3360
|
}
|
|
2647
3361
|
async setInstanceModeOnDemand(request) {
|
|
2648
3362
|
let runtime = new $Util.RuntimeOptions({});
|
|
2649
3363
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
2650
3364
|
}
|
|
3365
|
+
/**
|
|
3366
|
+
* The ID of Anti-DDoS Origin Instance N to which you want to add tags.
|
|
3367
|
+
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin instances.
|
|
3368
|
+
*
|
|
3369
|
+
* @param request TagResourcesRequest
|
|
3370
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3371
|
+
* @return TagResourcesResponse
|
|
3372
|
+
*/
|
|
2651
3373
|
async tagResourcesWithOptions(request, runtime) {
|
|
2652
3374
|
tea_util_1.default.validateModel(request);
|
|
3375
|
+
let query = {};
|
|
3376
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3377
|
+
query["RegionId"] = request.regionId;
|
|
3378
|
+
}
|
|
3379
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3380
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3381
|
+
}
|
|
3382
|
+
if (!tea_util_1.default.isUnset(request.resourceId)) {
|
|
3383
|
+
query["ResourceId"] = request.resourceId;
|
|
3384
|
+
}
|
|
3385
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
3386
|
+
query["ResourceType"] = request.resourceType;
|
|
3387
|
+
}
|
|
3388
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
3389
|
+
query["Tag"] = request.tag;
|
|
3390
|
+
}
|
|
2653
3391
|
let req = new $OpenApi.OpenApiRequest({
|
|
2654
|
-
|
|
3392
|
+
query: openapi_util_1.default.query(query),
|
|
2655
3393
|
});
|
|
2656
|
-
|
|
2657
|
-
|
|
3394
|
+
let params = new $OpenApi.Params({
|
|
3395
|
+
action: "TagResources",
|
|
3396
|
+
version: "2018-07-20",
|
|
3397
|
+
protocol: "HTTPS",
|
|
3398
|
+
pathname: "/",
|
|
3399
|
+
method: "POST",
|
|
3400
|
+
authType: "AK",
|
|
3401
|
+
style: "RPC",
|
|
3402
|
+
reqBodyType: "formData",
|
|
3403
|
+
bodyType: "json",
|
|
3404
|
+
});
|
|
3405
|
+
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* The ID of Anti-DDoS Origin Instance N to which you want to add tags.
|
|
3409
|
+
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin instances.
|
|
3410
|
+
*
|
|
3411
|
+
* @param request TagResourcesRequest
|
|
3412
|
+
* @return TagResourcesResponse
|
|
3413
|
+
*/
|
|
2658
3414
|
async tagResources(request) {
|
|
2659
3415
|
let runtime = new $Util.RuntimeOptions({});
|
|
2660
3416
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
2661
3417
|
}
|
|
2662
3418
|
async untagResourcesWithOptions(request, runtime) {
|
|
2663
3419
|
tea_util_1.default.validateModel(request);
|
|
3420
|
+
let query = {};
|
|
3421
|
+
if (!tea_util_1.default.isUnset(request.all)) {
|
|
3422
|
+
query["All"] = request.all;
|
|
3423
|
+
}
|
|
3424
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3425
|
+
query["RegionId"] = request.regionId;
|
|
3426
|
+
}
|
|
3427
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
3428
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3429
|
+
}
|
|
3430
|
+
if (!tea_util_1.default.isUnset(request.resourceId)) {
|
|
3431
|
+
query["ResourceId"] = request.resourceId;
|
|
3432
|
+
}
|
|
3433
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
3434
|
+
query["ResourceType"] = request.resourceType;
|
|
3435
|
+
}
|
|
3436
|
+
if (!tea_util_1.default.isUnset(request.tagKey)) {
|
|
3437
|
+
query["TagKey"] = request.tagKey;
|
|
3438
|
+
}
|
|
2664
3439
|
let req = new $OpenApi.OpenApiRequest({
|
|
2665
|
-
|
|
3440
|
+
query: openapi_util_1.default.query(query),
|
|
3441
|
+
});
|
|
3442
|
+
let params = new $OpenApi.Params({
|
|
3443
|
+
action: "UntagResources",
|
|
3444
|
+
version: "2018-07-20",
|
|
3445
|
+
protocol: "HTTPS",
|
|
3446
|
+
pathname: "/",
|
|
3447
|
+
method: "POST",
|
|
3448
|
+
authType: "AK",
|
|
3449
|
+
style: "RPC",
|
|
3450
|
+
reqBodyType: "formData",
|
|
3451
|
+
bodyType: "json",
|
|
2666
3452
|
});
|
|
2667
|
-
return $tea.cast(await this.
|
|
3453
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
2668
3454
|
}
|
|
2669
3455
|
async untagResources(request) {
|
|
2670
3456
|
let runtime = new $Util.RuntimeOptions({});
|