@alicloud/ddosbgp20180720 1.0.2 → 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 +914 -459
- package/dist/client.js +2210 -919
- package/dist/client.js.map +1 -1
- package/package.json +6 -7
- package/src/client.ts +2638 -1145
package/dist/client.js
CHANGED
|
@@ -11,160 +11,186 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
// This file is auto-generated, don't edit it
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
14
17
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
15
|
-
const
|
|
18
|
+
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
19
|
+
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
16
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
17
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
18
|
-
class
|
|
22
|
+
class AddIpRequest extends $tea.Model {
|
|
19
23
|
constructor(map) {
|
|
20
24
|
super(map);
|
|
21
25
|
}
|
|
22
26
|
static names() {
|
|
23
27
|
return {
|
|
24
|
-
|
|
28
|
+
instanceId: 'InstanceId',
|
|
29
|
+
ipList: 'IpList',
|
|
25
30
|
regionId: 'RegionId',
|
|
31
|
+
resourceGroupId: 'ResourceGroupId',
|
|
26
32
|
};
|
|
27
33
|
}
|
|
28
34
|
static types() {
|
|
29
35
|
return {
|
|
30
|
-
|
|
36
|
+
instanceId: 'string',
|
|
37
|
+
ipList: 'string',
|
|
31
38
|
regionId: 'string',
|
|
39
|
+
resourceGroupId: 'string',
|
|
32
40
|
};
|
|
33
41
|
}
|
|
34
42
|
}
|
|
35
|
-
exports.
|
|
36
|
-
class
|
|
43
|
+
exports.AddIpRequest = AddIpRequest;
|
|
44
|
+
class AddIpResponseBody extends $tea.Model {
|
|
37
45
|
constructor(map) {
|
|
38
46
|
super(map);
|
|
39
47
|
}
|
|
40
48
|
static names() {
|
|
41
49
|
return {
|
|
42
50
|
requestId: 'RequestId',
|
|
43
|
-
instances: 'Instances',
|
|
44
51
|
};
|
|
45
52
|
}
|
|
46
53
|
static types() {
|
|
47
54
|
return {
|
|
48
55
|
requestId: 'string',
|
|
49
|
-
instances: { 'type': 'array', 'itemType': DescribeOnDemandInstanceStatusResponseInstances },
|
|
50
56
|
};
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
|
-
exports.
|
|
54
|
-
class
|
|
59
|
+
exports.AddIpResponseBody = AddIpResponseBody;
|
|
60
|
+
class AddIpResponse extends $tea.Model {
|
|
55
61
|
constructor(map) {
|
|
56
62
|
super(map);
|
|
57
63
|
}
|
|
58
64
|
static names() {
|
|
59
65
|
return {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
headers: 'headers',
|
|
67
|
+
statusCode: 'statusCode',
|
|
68
|
+
body: 'body',
|
|
63
69
|
};
|
|
64
70
|
}
|
|
65
71
|
static types() {
|
|
66
72
|
return {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
73
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
74
|
+
statusCode: 'number',
|
|
75
|
+
body: AddIpResponseBody,
|
|
70
76
|
};
|
|
71
77
|
}
|
|
72
78
|
}
|
|
73
|
-
exports.
|
|
74
|
-
class
|
|
79
|
+
exports.AddIpResponse = AddIpResponse;
|
|
80
|
+
class CheckAccessLogAuthRequest extends $tea.Model {
|
|
75
81
|
constructor(map) {
|
|
76
82
|
super(map);
|
|
77
83
|
}
|
|
78
84
|
static names() {
|
|
79
85
|
return {
|
|
80
|
-
|
|
86
|
+
regionId: 'RegionId',
|
|
87
|
+
resourceGroupId: 'ResourceGroupId',
|
|
81
88
|
};
|
|
82
89
|
}
|
|
83
90
|
static types() {
|
|
84
91
|
return {
|
|
85
|
-
|
|
92
|
+
regionId: 'string',
|
|
93
|
+
resourceGroupId: 'string',
|
|
86
94
|
};
|
|
87
95
|
}
|
|
88
96
|
}
|
|
89
|
-
exports.
|
|
90
|
-
class
|
|
97
|
+
exports.CheckAccessLogAuthRequest = CheckAccessLogAuthRequest;
|
|
98
|
+
class CheckAccessLogAuthResponseBody extends $tea.Model {
|
|
91
99
|
constructor(map) {
|
|
92
100
|
super(map);
|
|
93
101
|
}
|
|
94
102
|
static names() {
|
|
95
103
|
return {
|
|
96
|
-
|
|
97
|
-
|
|
104
|
+
accessLogAuth: 'AccessLogAuth',
|
|
105
|
+
requestId: 'RequestId',
|
|
98
106
|
};
|
|
99
107
|
}
|
|
100
108
|
static types() {
|
|
101
109
|
return {
|
|
102
|
-
|
|
103
|
-
|
|
110
|
+
accessLogAuth: 'boolean',
|
|
111
|
+
requestId: 'string',
|
|
104
112
|
};
|
|
105
113
|
}
|
|
106
114
|
}
|
|
107
|
-
exports.
|
|
108
|
-
class
|
|
115
|
+
exports.CheckAccessLogAuthResponseBody = CheckAccessLogAuthResponseBody;
|
|
116
|
+
class CheckAccessLogAuthResponse extends $tea.Model {
|
|
109
117
|
constructor(map) {
|
|
110
118
|
super(map);
|
|
111
119
|
}
|
|
112
120
|
static names() {
|
|
113
121
|
return {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
ruleConfig: 'RuleConfig',
|
|
118
|
-
ruleStatus: 'RuleStatus',
|
|
122
|
+
headers: 'headers',
|
|
123
|
+
statusCode: 'statusCode',
|
|
124
|
+
body: 'body',
|
|
119
125
|
};
|
|
120
126
|
}
|
|
121
127
|
static types() {
|
|
122
128
|
return {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseRuleConfig },
|
|
127
|
-
ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseRuleStatus },
|
|
129
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
130
|
+
statusCode: 'number',
|
|
131
|
+
body: CheckAccessLogAuthResponseBody,
|
|
128
132
|
};
|
|
129
133
|
}
|
|
130
134
|
}
|
|
131
|
-
exports.
|
|
132
|
-
class
|
|
135
|
+
exports.CheckAccessLogAuthResponse = CheckAccessLogAuthResponse;
|
|
136
|
+
class CheckGrantRequest extends $tea.Model {
|
|
133
137
|
constructor(map) {
|
|
134
138
|
super(map);
|
|
135
139
|
}
|
|
136
140
|
static names() {
|
|
137
141
|
return {
|
|
138
|
-
|
|
139
|
-
ruleName: 'RuleName',
|
|
142
|
+
isSlr: 'IsSlr',
|
|
140
143
|
regionId: 'RegionId',
|
|
144
|
+
resourceGroupId: 'ResourceGroupId',
|
|
141
145
|
};
|
|
142
146
|
}
|
|
143
147
|
static types() {
|
|
144
148
|
return {
|
|
145
|
-
|
|
146
|
-
ruleName: 'string',
|
|
149
|
+
isSlr: 'boolean',
|
|
147
150
|
regionId: 'string',
|
|
151
|
+
resourceGroupId: 'string',
|
|
148
152
|
};
|
|
149
153
|
}
|
|
150
154
|
}
|
|
151
|
-
exports.
|
|
152
|
-
class
|
|
155
|
+
exports.CheckGrantRequest = CheckGrantRequest;
|
|
156
|
+
class CheckGrantResponseBody extends $tea.Model {
|
|
153
157
|
constructor(map) {
|
|
154
158
|
super(map);
|
|
155
159
|
}
|
|
156
160
|
static names() {
|
|
157
161
|
return {
|
|
158
162
|
requestId: 'RequestId',
|
|
163
|
+
status: 'Status',
|
|
159
164
|
};
|
|
160
165
|
}
|
|
161
166
|
static types() {
|
|
162
167
|
return {
|
|
163
168
|
requestId: 'string',
|
|
169
|
+
status: 'number',
|
|
164
170
|
};
|
|
165
171
|
}
|
|
166
172
|
}
|
|
167
|
-
exports.
|
|
173
|
+
exports.CheckGrantResponseBody = CheckGrantResponseBody;
|
|
174
|
+
class CheckGrantResponse extends $tea.Model {
|
|
175
|
+
constructor(map) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
static names() {
|
|
179
|
+
return {
|
|
180
|
+
headers: 'headers',
|
|
181
|
+
statusCode: 'statusCode',
|
|
182
|
+
body: 'body',
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
static types() {
|
|
186
|
+
return {
|
|
187
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
188
|
+
statusCode: 'number',
|
|
189
|
+
body: CheckGrantResponseBody,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.CheckGrantResponse = CheckGrantResponse;
|
|
168
194
|
class ConfigSchedruleOnDemandRequest extends $tea.Model {
|
|
169
195
|
constructor(map) {
|
|
170
196
|
super(map);
|
|
@@ -172,38 +198,38 @@ class ConfigSchedruleOnDemandRequest extends $tea.Model {
|
|
|
172
198
|
static names() {
|
|
173
199
|
return {
|
|
174
200
|
instanceId: 'InstanceId',
|
|
175
|
-
|
|
176
|
-
ruleConditionMbps: 'RuleConditionMbps',
|
|
177
|
-
ruleConditionKpps: 'RuleConditionKpps',
|
|
178
|
-
ruleConditionCnt: 'RuleConditionCnt',
|
|
201
|
+
regionId: 'RegionId',
|
|
179
202
|
ruleAction: 'RuleAction',
|
|
203
|
+
ruleConditionCnt: 'RuleConditionCnt',
|
|
204
|
+
ruleConditionKpps: 'RuleConditionKpps',
|
|
205
|
+
ruleConditionMbps: 'RuleConditionMbps',
|
|
206
|
+
ruleName: 'RuleName',
|
|
180
207
|
ruleSwitch: 'RuleSwitch',
|
|
181
|
-
ruleUndoMode: 'RuleUndoMode',
|
|
182
208
|
ruleUndoBeginTime: 'RuleUndoBeginTime',
|
|
183
209
|
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
210
|
+
ruleUndoMode: 'RuleUndoMode',
|
|
184
211
|
timeZone: 'TimeZone',
|
|
185
|
-
regionId: 'RegionId',
|
|
186
212
|
};
|
|
187
213
|
}
|
|
188
214
|
static types() {
|
|
189
215
|
return {
|
|
190
216
|
instanceId: 'string',
|
|
191
|
-
|
|
192
|
-
ruleConditionMbps: 'string',
|
|
193
|
-
ruleConditionKpps: 'string',
|
|
194
|
-
ruleConditionCnt: 'string',
|
|
217
|
+
regionId: 'string',
|
|
195
218
|
ruleAction: 'string',
|
|
219
|
+
ruleConditionCnt: 'string',
|
|
220
|
+
ruleConditionKpps: 'string',
|
|
221
|
+
ruleConditionMbps: 'string',
|
|
222
|
+
ruleName: 'string',
|
|
196
223
|
ruleSwitch: 'string',
|
|
197
|
-
ruleUndoMode: 'string',
|
|
198
224
|
ruleUndoBeginTime: 'string',
|
|
199
225
|
ruleUndoEndTime: 'string',
|
|
226
|
+
ruleUndoMode: 'string',
|
|
200
227
|
timeZone: 'string',
|
|
201
|
-
regionId: 'string',
|
|
202
228
|
};
|
|
203
229
|
}
|
|
204
230
|
}
|
|
205
231
|
exports.ConfigSchedruleOnDemandRequest = ConfigSchedruleOnDemandRequest;
|
|
206
|
-
class
|
|
232
|
+
class ConfigSchedruleOnDemandResponseBody extends $tea.Model {
|
|
207
233
|
constructor(map) {
|
|
208
234
|
super(map);
|
|
209
235
|
}
|
|
@@ -218,6 +244,26 @@ class ConfigSchedruleOnDemandResponse extends $tea.Model {
|
|
|
218
244
|
};
|
|
219
245
|
}
|
|
220
246
|
}
|
|
247
|
+
exports.ConfigSchedruleOnDemandResponseBody = ConfigSchedruleOnDemandResponseBody;
|
|
248
|
+
class ConfigSchedruleOnDemandResponse extends $tea.Model {
|
|
249
|
+
constructor(map) {
|
|
250
|
+
super(map);
|
|
251
|
+
}
|
|
252
|
+
static names() {
|
|
253
|
+
return {
|
|
254
|
+
headers: 'headers',
|
|
255
|
+
statusCode: 'statusCode',
|
|
256
|
+
body: 'body',
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
static types() {
|
|
260
|
+
return {
|
|
261
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
262
|
+
statusCode: 'number',
|
|
263
|
+
body: ConfigSchedruleOnDemandResponseBody,
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
}
|
|
221
267
|
exports.ConfigSchedruleOnDemandResponse = ConfigSchedruleOnDemandResponse;
|
|
222
268
|
class CreateSchedruleOnDemandRequest extends $tea.Model {
|
|
223
269
|
constructor(map) {
|
|
@@ -226,38 +272,38 @@ class CreateSchedruleOnDemandRequest extends $tea.Model {
|
|
|
226
272
|
static names() {
|
|
227
273
|
return {
|
|
228
274
|
instanceId: 'InstanceId',
|
|
229
|
-
|
|
230
|
-
ruleConditionMbps: 'RuleConditionMbps',
|
|
231
|
-
ruleConditionKpps: 'RuleConditionKpps',
|
|
232
|
-
ruleConditionCnt: 'RuleConditionCnt',
|
|
275
|
+
regionId: 'RegionId',
|
|
233
276
|
ruleAction: 'RuleAction',
|
|
277
|
+
ruleConditionCnt: 'RuleConditionCnt',
|
|
278
|
+
ruleConditionKpps: 'RuleConditionKpps',
|
|
279
|
+
ruleConditionMbps: 'RuleConditionMbps',
|
|
280
|
+
ruleName: 'RuleName',
|
|
234
281
|
ruleSwitch: 'RuleSwitch',
|
|
235
|
-
ruleUndoMode: 'RuleUndoMode',
|
|
236
282
|
ruleUndoBeginTime: 'RuleUndoBeginTime',
|
|
237
283
|
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
284
|
+
ruleUndoMode: 'RuleUndoMode',
|
|
238
285
|
timeZone: 'TimeZone',
|
|
239
|
-
regionId: 'RegionId',
|
|
240
286
|
};
|
|
241
287
|
}
|
|
242
288
|
static types() {
|
|
243
289
|
return {
|
|
244
290
|
instanceId: 'string',
|
|
245
|
-
|
|
246
|
-
ruleConditionMbps: 'string',
|
|
247
|
-
ruleConditionKpps: 'string',
|
|
248
|
-
ruleConditionCnt: 'string',
|
|
291
|
+
regionId: 'string',
|
|
249
292
|
ruleAction: 'string',
|
|
293
|
+
ruleConditionCnt: 'string',
|
|
294
|
+
ruleConditionKpps: 'string',
|
|
295
|
+
ruleConditionMbps: 'string',
|
|
296
|
+
ruleName: 'string',
|
|
250
297
|
ruleSwitch: 'string',
|
|
251
|
-
ruleUndoMode: 'string',
|
|
252
298
|
ruleUndoBeginTime: 'string',
|
|
253
299
|
ruleUndoEndTime: 'string',
|
|
300
|
+
ruleUndoMode: 'string',
|
|
254
301
|
timeZone: 'string',
|
|
255
|
-
regionId: 'string',
|
|
256
302
|
};
|
|
257
303
|
}
|
|
258
304
|
}
|
|
259
305
|
exports.CreateSchedruleOnDemandRequest = CreateSchedruleOnDemandRequest;
|
|
260
|
-
class
|
|
306
|
+
class CreateSchedruleOnDemandResponseBody extends $tea.Model {
|
|
261
307
|
constructor(map) {
|
|
262
308
|
super(map);
|
|
263
309
|
}
|
|
@@ -272,1898 +318,3143 @@ class CreateSchedruleOnDemandResponse extends $tea.Model {
|
|
|
272
318
|
};
|
|
273
319
|
}
|
|
274
320
|
}
|
|
321
|
+
exports.CreateSchedruleOnDemandResponseBody = CreateSchedruleOnDemandResponseBody;
|
|
322
|
+
class CreateSchedruleOnDemandResponse extends $tea.Model {
|
|
323
|
+
constructor(map) {
|
|
324
|
+
super(map);
|
|
325
|
+
}
|
|
326
|
+
static names() {
|
|
327
|
+
return {
|
|
328
|
+
headers: 'headers',
|
|
329
|
+
statusCode: 'statusCode',
|
|
330
|
+
body: 'body',
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
static types() {
|
|
334
|
+
return {
|
|
335
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
336
|
+
statusCode: 'number',
|
|
337
|
+
body: CreateSchedruleOnDemandResponseBody,
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
}
|
|
275
341
|
exports.CreateSchedruleOnDemandResponse = CreateSchedruleOnDemandResponse;
|
|
276
|
-
class
|
|
342
|
+
class DeleteBlackholeRequest extends $tea.Model {
|
|
277
343
|
constructor(map) {
|
|
278
344
|
super(map);
|
|
279
345
|
}
|
|
280
346
|
static names() {
|
|
281
347
|
return {
|
|
348
|
+
instanceId: 'InstanceId',
|
|
349
|
+
ip: 'Ip',
|
|
282
350
|
regionId: 'RegionId',
|
|
283
351
|
resourceGroupId: 'ResourceGroupId',
|
|
284
352
|
};
|
|
285
353
|
}
|
|
286
354
|
static types() {
|
|
287
355
|
return {
|
|
356
|
+
instanceId: 'string',
|
|
357
|
+
ip: 'string',
|
|
288
358
|
regionId: 'string',
|
|
289
359
|
resourceGroupId: 'string',
|
|
290
360
|
};
|
|
291
361
|
}
|
|
292
362
|
}
|
|
293
|
-
exports.
|
|
294
|
-
class
|
|
363
|
+
exports.DeleteBlackholeRequest = DeleteBlackholeRequest;
|
|
364
|
+
class DeleteBlackholeResponseBody extends $tea.Model {
|
|
295
365
|
constructor(map) {
|
|
296
366
|
super(map);
|
|
297
367
|
}
|
|
298
368
|
static names() {
|
|
299
369
|
return {
|
|
300
370
|
requestId: 'RequestId',
|
|
301
|
-
slsOpenStatus: 'SlsOpenStatus',
|
|
302
371
|
};
|
|
303
372
|
}
|
|
304
373
|
static types() {
|
|
305
374
|
return {
|
|
306
375
|
requestId: 'string',
|
|
307
|
-
slsOpenStatus: 'boolean',
|
|
308
376
|
};
|
|
309
377
|
}
|
|
310
378
|
}
|
|
311
|
-
exports.
|
|
312
|
-
class
|
|
379
|
+
exports.DeleteBlackholeResponseBody = DeleteBlackholeResponseBody;
|
|
380
|
+
class DeleteBlackholeResponse extends $tea.Model {
|
|
313
381
|
constructor(map) {
|
|
314
382
|
super(map);
|
|
315
383
|
}
|
|
316
384
|
static names() {
|
|
317
385
|
return {
|
|
318
|
-
|
|
319
|
-
|
|
386
|
+
headers: 'headers',
|
|
387
|
+
statusCode: 'statusCode',
|
|
388
|
+
body: 'body',
|
|
320
389
|
};
|
|
321
390
|
}
|
|
322
391
|
static types() {
|
|
323
392
|
return {
|
|
324
|
-
|
|
325
|
-
|
|
393
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
394
|
+
statusCode: 'number',
|
|
395
|
+
body: DeleteBlackholeResponseBody,
|
|
326
396
|
};
|
|
327
397
|
}
|
|
328
398
|
}
|
|
329
|
-
exports.
|
|
330
|
-
class
|
|
399
|
+
exports.DeleteBlackholeResponse = DeleteBlackholeResponse;
|
|
400
|
+
class DeleteIpRequest extends $tea.Model {
|
|
331
401
|
constructor(map) {
|
|
332
402
|
super(map);
|
|
333
403
|
}
|
|
334
404
|
static names() {
|
|
335
405
|
return {
|
|
336
|
-
|
|
337
|
-
|
|
406
|
+
instanceId: 'InstanceId',
|
|
407
|
+
ipList: 'IpList',
|
|
408
|
+
regionId: 'RegionId',
|
|
409
|
+
resourceGroupId: 'ResourceGroupId',
|
|
338
410
|
};
|
|
339
411
|
}
|
|
340
412
|
static types() {
|
|
341
413
|
return {
|
|
342
|
-
|
|
343
|
-
|
|
414
|
+
instanceId: 'string',
|
|
415
|
+
ipList: 'string',
|
|
416
|
+
regionId: 'string',
|
|
417
|
+
resourceGroupId: 'string',
|
|
344
418
|
};
|
|
345
419
|
}
|
|
346
420
|
}
|
|
347
|
-
exports.
|
|
348
|
-
class
|
|
421
|
+
exports.DeleteIpRequest = DeleteIpRequest;
|
|
422
|
+
class DeleteIpResponseBody extends $tea.Model {
|
|
349
423
|
constructor(map) {
|
|
350
424
|
super(map);
|
|
351
425
|
}
|
|
352
426
|
static names() {
|
|
353
427
|
return {
|
|
354
|
-
|
|
355
|
-
pageNumber: 'PageNumber',
|
|
356
|
-
pageSize: 'PageSize',
|
|
428
|
+
requestId: 'RequestId',
|
|
357
429
|
};
|
|
358
430
|
}
|
|
359
431
|
static types() {
|
|
360
432
|
return {
|
|
361
|
-
|
|
362
|
-
pageNumber: 'number',
|
|
363
|
-
pageSize: 'number',
|
|
433
|
+
requestId: 'string',
|
|
364
434
|
};
|
|
365
435
|
}
|
|
366
436
|
}
|
|
367
|
-
exports.
|
|
368
|
-
class
|
|
437
|
+
exports.DeleteIpResponseBody = DeleteIpResponseBody;
|
|
438
|
+
class DeleteIpResponse extends $tea.Model {
|
|
369
439
|
constructor(map) {
|
|
370
440
|
super(map);
|
|
371
441
|
}
|
|
372
442
|
static names() {
|
|
373
443
|
return {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
444
|
+
headers: 'headers',
|
|
445
|
+
statusCode: 'statusCode',
|
|
446
|
+
body: 'body',
|
|
377
447
|
};
|
|
378
448
|
}
|
|
379
449
|
static types() {
|
|
380
450
|
return {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
451
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
452
|
+
statusCode: 'number',
|
|
453
|
+
body: DeleteIpResponseBody,
|
|
384
454
|
};
|
|
385
455
|
}
|
|
386
456
|
}
|
|
387
|
-
exports.
|
|
388
|
-
class
|
|
457
|
+
exports.DeleteIpResponse = DeleteIpResponse;
|
|
458
|
+
class DeleteSchedruleOnDemandRequest extends $tea.Model {
|
|
389
459
|
constructor(map) {
|
|
390
460
|
super(map);
|
|
391
461
|
}
|
|
392
462
|
static names() {
|
|
393
463
|
return {
|
|
394
|
-
startTime: 'StartTime',
|
|
395
|
-
endTime: 'EndTime',
|
|
396
|
-
pageSize: 'PageSize',
|
|
397
|
-
pageNo: 'PageNo',
|
|
398
464
|
instanceId: 'InstanceId',
|
|
399
|
-
ip: 'Ip',
|
|
400
|
-
resourceGroupId: 'ResourceGroupId',
|
|
401
465
|
regionId: 'RegionId',
|
|
466
|
+
ruleName: 'RuleName',
|
|
402
467
|
};
|
|
403
468
|
}
|
|
404
469
|
static types() {
|
|
405
470
|
return {
|
|
406
|
-
startTime: 'number',
|
|
407
|
-
endTime: 'number',
|
|
408
|
-
pageSize: 'number',
|
|
409
|
-
pageNo: 'number',
|
|
410
471
|
instanceId: 'string',
|
|
411
|
-
ip: 'string',
|
|
412
|
-
resourceGroupId: 'string',
|
|
413
472
|
regionId: 'string',
|
|
473
|
+
ruleName: 'string',
|
|
414
474
|
};
|
|
415
475
|
}
|
|
416
476
|
}
|
|
417
|
-
exports.
|
|
418
|
-
class
|
|
477
|
+
exports.DeleteSchedruleOnDemandRequest = DeleteSchedruleOnDemandRequest;
|
|
478
|
+
class DeleteSchedruleOnDemandResponseBody extends $tea.Model {
|
|
419
479
|
constructor(map) {
|
|
420
480
|
super(map);
|
|
421
481
|
}
|
|
422
482
|
static names() {
|
|
423
483
|
return {
|
|
424
484
|
requestId: 'RequestId',
|
|
425
|
-
total: 'Total',
|
|
426
|
-
events: 'Events',
|
|
427
485
|
};
|
|
428
486
|
}
|
|
429
487
|
static types() {
|
|
430
488
|
return {
|
|
431
489
|
requestId: 'string',
|
|
432
|
-
total: 'number',
|
|
433
|
-
events: { 'type': 'array', 'itemType': DescribeOnDemandDdosEventResponseEvents },
|
|
434
490
|
};
|
|
435
491
|
}
|
|
436
492
|
}
|
|
437
|
-
exports.
|
|
438
|
-
class
|
|
493
|
+
exports.DeleteSchedruleOnDemandResponseBody = DeleteSchedruleOnDemandResponseBody;
|
|
494
|
+
class DeleteSchedruleOnDemandResponse extends $tea.Model {
|
|
439
495
|
constructor(map) {
|
|
440
496
|
super(map);
|
|
441
497
|
}
|
|
442
498
|
static names() {
|
|
443
499
|
return {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
currentPage: 'CurrentPage',
|
|
448
|
-
resourceGroupId: 'ResourceGroupId',
|
|
500
|
+
headers: 'headers',
|
|
501
|
+
statusCode: 'statusCode',
|
|
502
|
+
body: 'body',
|
|
449
503
|
};
|
|
450
504
|
}
|
|
451
505
|
static types() {
|
|
452
506
|
return {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
currentPage: 'number',
|
|
457
|
-
resourceGroupId: 'string',
|
|
507
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
508
|
+
statusCode: 'number',
|
|
509
|
+
body: DeleteSchedruleOnDemandResponseBody,
|
|
458
510
|
};
|
|
459
511
|
}
|
|
460
512
|
}
|
|
461
|
-
exports.
|
|
462
|
-
class
|
|
513
|
+
exports.DeleteSchedruleOnDemandResponse = DeleteSchedruleOnDemandResponse;
|
|
514
|
+
class DescribeDdosEventRequest extends $tea.Model {
|
|
463
515
|
constructor(map) {
|
|
464
516
|
super(map);
|
|
465
517
|
}
|
|
466
518
|
static names() {
|
|
467
519
|
return {
|
|
468
|
-
|
|
469
|
-
|
|
520
|
+
endTime: 'EndTime',
|
|
521
|
+
instanceId: 'InstanceId',
|
|
522
|
+
ip: 'Ip',
|
|
523
|
+
pageNo: 'PageNo',
|
|
470
524
|
pageSize: 'PageSize',
|
|
471
|
-
|
|
472
|
-
|
|
525
|
+
regionId: 'RegionId',
|
|
526
|
+
resourceGroupId: 'ResourceGroupId',
|
|
527
|
+
startTime: 'StartTime',
|
|
473
528
|
};
|
|
474
529
|
}
|
|
475
530
|
static types() {
|
|
476
531
|
return {
|
|
477
|
-
|
|
478
|
-
|
|
532
|
+
endTime: 'number',
|
|
533
|
+
instanceId: 'string',
|
|
534
|
+
ip: 'string',
|
|
535
|
+
pageNo: 'number',
|
|
479
536
|
pageSize: 'number',
|
|
480
|
-
|
|
481
|
-
|
|
537
|
+
regionId: 'string',
|
|
538
|
+
resourceGroupId: 'string',
|
|
539
|
+
startTime: 'number',
|
|
482
540
|
};
|
|
483
541
|
}
|
|
484
542
|
}
|
|
485
|
-
exports.
|
|
486
|
-
class
|
|
543
|
+
exports.DescribeDdosEventRequest = DescribeDdosEventRequest;
|
|
544
|
+
class DescribeDdosEventResponseBody extends $tea.Model {
|
|
487
545
|
constructor(map) {
|
|
488
546
|
super(map);
|
|
489
547
|
}
|
|
490
548
|
static names() {
|
|
491
549
|
return {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
resourceId: 'ResourceId',
|
|
496
|
-
tag: 'Tag',
|
|
497
|
-
nextToken: 'NextToken',
|
|
550
|
+
events: 'Events',
|
|
551
|
+
requestId: 'RequestId',
|
|
552
|
+
total: 'Total',
|
|
498
553
|
};
|
|
499
554
|
}
|
|
500
555
|
static types() {
|
|
501
556
|
return {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
506
|
-
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
507
|
-
nextToken: 'string',
|
|
557
|
+
events: { 'type': 'array', 'itemType': DescribeDdosEventResponseBodyEvents },
|
|
558
|
+
requestId: 'string',
|
|
559
|
+
total: 'number',
|
|
508
560
|
};
|
|
509
561
|
}
|
|
510
562
|
}
|
|
511
|
-
exports.
|
|
512
|
-
class
|
|
563
|
+
exports.DescribeDdosEventResponseBody = DescribeDdosEventResponseBody;
|
|
564
|
+
class DescribeDdosEventResponse extends $tea.Model {
|
|
513
565
|
constructor(map) {
|
|
514
566
|
super(map);
|
|
515
567
|
}
|
|
516
568
|
static names() {
|
|
517
569
|
return {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
570
|
+
headers: 'headers',
|
|
571
|
+
statusCode: 'statusCode',
|
|
572
|
+
body: 'body',
|
|
521
573
|
};
|
|
522
574
|
}
|
|
523
575
|
static types() {
|
|
524
576
|
return {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
577
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
578
|
+
statusCode: 'number',
|
|
579
|
+
body: DescribeDdosEventResponseBody,
|
|
528
580
|
};
|
|
529
581
|
}
|
|
530
582
|
}
|
|
531
|
-
exports.
|
|
532
|
-
class
|
|
583
|
+
exports.DescribeDdosEventResponse = DescribeDdosEventResponse;
|
|
584
|
+
class DescribeExcpetionCountRequest extends $tea.Model {
|
|
533
585
|
constructor(map) {
|
|
534
586
|
super(map);
|
|
535
587
|
}
|
|
536
588
|
static names() {
|
|
537
589
|
return {
|
|
538
|
-
resourceGroupId: 'ResourceGroupId',
|
|
539
590
|
regionId: 'RegionId',
|
|
540
|
-
|
|
541
|
-
resourceId: 'ResourceId',
|
|
542
|
-
tagKey: 'TagKey',
|
|
543
|
-
all: 'All',
|
|
591
|
+
resourceGroupId: 'ResourceGroupId',
|
|
544
592
|
};
|
|
545
593
|
}
|
|
546
594
|
static types() {
|
|
547
595
|
return {
|
|
548
|
-
resourceGroupId: 'string',
|
|
549
596
|
regionId: 'string',
|
|
550
|
-
|
|
551
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
552
|
-
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
553
|
-
all: 'boolean',
|
|
597
|
+
resourceGroupId: 'string',
|
|
554
598
|
};
|
|
555
599
|
}
|
|
556
600
|
}
|
|
557
|
-
exports.
|
|
558
|
-
class
|
|
601
|
+
exports.DescribeExcpetionCountRequest = DescribeExcpetionCountRequest;
|
|
602
|
+
class DescribeExcpetionCountResponseBody extends $tea.Model {
|
|
559
603
|
constructor(map) {
|
|
560
604
|
super(map);
|
|
561
605
|
}
|
|
562
606
|
static names() {
|
|
563
607
|
return {
|
|
608
|
+
exceptionIpCount: 'ExceptionIpCount',
|
|
609
|
+
expireTimeCount: 'ExpireTimeCount',
|
|
564
610
|
requestId: 'RequestId',
|
|
565
611
|
};
|
|
566
612
|
}
|
|
567
613
|
static types() {
|
|
568
614
|
return {
|
|
615
|
+
exceptionIpCount: 'number',
|
|
616
|
+
expireTimeCount: 'number',
|
|
569
617
|
requestId: 'string',
|
|
570
618
|
};
|
|
571
619
|
}
|
|
572
620
|
}
|
|
573
|
-
exports.
|
|
574
|
-
class
|
|
621
|
+
exports.DescribeExcpetionCountResponseBody = DescribeExcpetionCountResponseBody;
|
|
622
|
+
class DescribeExcpetionCountResponse extends $tea.Model {
|
|
575
623
|
constructor(map) {
|
|
576
624
|
super(map);
|
|
577
625
|
}
|
|
578
626
|
static names() {
|
|
579
627
|
return {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
resourceId: 'ResourceId',
|
|
584
|
-
tag: 'Tag',
|
|
628
|
+
headers: 'headers',
|
|
629
|
+
statusCode: 'statusCode',
|
|
630
|
+
body: 'body',
|
|
585
631
|
};
|
|
586
632
|
}
|
|
587
633
|
static types() {
|
|
588
634
|
return {
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
593
|
-
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
635
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
636
|
+
statusCode: 'number',
|
|
637
|
+
body: DescribeExcpetionCountResponseBody,
|
|
594
638
|
};
|
|
595
639
|
}
|
|
596
640
|
}
|
|
597
|
-
exports.
|
|
598
|
-
class
|
|
641
|
+
exports.DescribeExcpetionCountResponse = DescribeExcpetionCountResponse;
|
|
642
|
+
class DescribeInstanceListRequest extends $tea.Model {
|
|
599
643
|
constructor(map) {
|
|
600
644
|
super(map);
|
|
601
645
|
}
|
|
602
646
|
static names() {
|
|
603
647
|
return {
|
|
604
|
-
|
|
648
|
+
instanceIdList: 'InstanceIdList',
|
|
649
|
+
instanceType: 'InstanceType',
|
|
650
|
+
instanceTypeList: 'InstanceTypeList',
|
|
651
|
+
ip: 'Ip',
|
|
652
|
+
ipVersion: 'IpVersion',
|
|
653
|
+
orderby: 'Orderby',
|
|
654
|
+
orderdire: 'Orderdire',
|
|
655
|
+
pageNo: 'PageNo',
|
|
656
|
+
pageSize: 'PageSize',
|
|
657
|
+
regionId: 'RegionId',
|
|
658
|
+
remark: 'Remark',
|
|
659
|
+
resourceGroupId: 'ResourceGroupId',
|
|
660
|
+
tag: 'Tag',
|
|
605
661
|
};
|
|
606
662
|
}
|
|
607
663
|
static types() {
|
|
608
664
|
return {
|
|
609
|
-
|
|
665
|
+
instanceIdList: 'string',
|
|
666
|
+
instanceType: 'string',
|
|
667
|
+
instanceTypeList: { 'type': 'array', 'itemType': 'string' },
|
|
668
|
+
ip: 'string',
|
|
669
|
+
ipVersion: 'string',
|
|
670
|
+
orderby: 'string',
|
|
671
|
+
orderdire: 'string',
|
|
672
|
+
pageNo: 'number',
|
|
673
|
+
pageSize: 'number',
|
|
674
|
+
regionId: 'string',
|
|
675
|
+
remark: 'string',
|
|
676
|
+
resourceGroupId: 'string',
|
|
677
|
+
tag: { 'type': 'array', 'itemType': DescribeInstanceListRequestTag },
|
|
610
678
|
};
|
|
611
679
|
}
|
|
612
680
|
}
|
|
613
|
-
exports.
|
|
614
|
-
class
|
|
681
|
+
exports.DescribeInstanceListRequest = DescribeInstanceListRequest;
|
|
682
|
+
class DescribeInstanceListResponseBody extends $tea.Model {
|
|
615
683
|
constructor(map) {
|
|
616
684
|
super(map);
|
|
617
685
|
}
|
|
618
686
|
static names() {
|
|
619
687
|
return {
|
|
620
|
-
|
|
621
|
-
|
|
688
|
+
instanceList: 'InstanceList',
|
|
689
|
+
requestId: 'RequestId',
|
|
690
|
+
total: 'Total',
|
|
622
691
|
};
|
|
623
692
|
}
|
|
624
693
|
static types() {
|
|
625
694
|
return {
|
|
626
|
-
|
|
627
|
-
|
|
695
|
+
instanceList: { 'type': 'array', 'itemType': DescribeInstanceListResponseBodyInstanceList },
|
|
696
|
+
requestId: 'string',
|
|
697
|
+
total: 'number',
|
|
628
698
|
};
|
|
629
699
|
}
|
|
630
700
|
}
|
|
631
|
-
exports.
|
|
632
|
-
class
|
|
701
|
+
exports.DescribeInstanceListResponseBody = DescribeInstanceListResponseBody;
|
|
702
|
+
class DescribeInstanceListResponse extends $tea.Model {
|
|
633
703
|
constructor(map) {
|
|
634
704
|
super(map);
|
|
635
705
|
}
|
|
636
706
|
static names() {
|
|
637
707
|
return {
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
708
|
+
headers: 'headers',
|
|
709
|
+
statusCode: 'statusCode',
|
|
710
|
+
body: 'body',
|
|
641
711
|
};
|
|
642
712
|
}
|
|
643
713
|
static types() {
|
|
644
714
|
return {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
715
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
716
|
+
statusCode: 'number',
|
|
717
|
+
body: DescribeInstanceListResponseBody,
|
|
648
718
|
};
|
|
649
719
|
}
|
|
650
720
|
}
|
|
651
|
-
exports.
|
|
652
|
-
class
|
|
721
|
+
exports.DescribeInstanceListResponse = DescribeInstanceListResponse;
|
|
722
|
+
class DescribeInstanceSpecsRequest extends $tea.Model {
|
|
653
723
|
constructor(map) {
|
|
654
724
|
super(map);
|
|
655
725
|
}
|
|
656
726
|
static names() {
|
|
657
727
|
return {
|
|
658
|
-
|
|
659
|
-
pageSize: 'PageSize',
|
|
660
|
-
instanceId: 'InstanceId',
|
|
661
|
-
ip: 'Ip',
|
|
662
|
-
productName: 'ProductName',
|
|
663
|
-
resourceGroupId: 'ResourceGroupId',
|
|
728
|
+
instanceIdList: 'InstanceIdList',
|
|
664
729
|
regionId: 'RegionId',
|
|
730
|
+
resourceGroupId: 'ResourceGroupId',
|
|
665
731
|
};
|
|
666
732
|
}
|
|
667
733
|
static types() {
|
|
668
734
|
return {
|
|
669
|
-
|
|
670
|
-
pageSize: 'number',
|
|
671
|
-
instanceId: 'string',
|
|
672
|
-
ip: 'string',
|
|
673
|
-
productName: 'string',
|
|
674
|
-
resourceGroupId: 'string',
|
|
735
|
+
instanceIdList: 'string',
|
|
675
736
|
regionId: 'string',
|
|
737
|
+
resourceGroupId: 'string',
|
|
676
738
|
};
|
|
677
739
|
}
|
|
678
740
|
}
|
|
679
|
-
exports.
|
|
680
|
-
class
|
|
741
|
+
exports.DescribeInstanceSpecsRequest = DescribeInstanceSpecsRequest;
|
|
742
|
+
class DescribeInstanceSpecsResponseBody extends $tea.Model {
|
|
681
743
|
constructor(map) {
|
|
682
744
|
super(map);
|
|
683
745
|
}
|
|
684
746
|
static names() {
|
|
685
747
|
return {
|
|
748
|
+
instanceSpecs: 'InstanceSpecs',
|
|
686
749
|
requestId: 'RequestId',
|
|
687
|
-
success: 'Success',
|
|
688
|
-
code: 'Code',
|
|
689
|
-
total: 'Total',
|
|
690
|
-
ipList: 'IpList',
|
|
691
750
|
};
|
|
692
751
|
}
|
|
693
752
|
static types() {
|
|
694
753
|
return {
|
|
754
|
+
instanceSpecs: { 'type': 'array', 'itemType': DescribeInstanceSpecsResponseBodyInstanceSpecs },
|
|
695
755
|
requestId: 'string',
|
|
696
|
-
success: 'boolean',
|
|
697
|
-
code: 'string',
|
|
698
|
-
total: 'number',
|
|
699
|
-
ipList: { 'type': 'array', 'itemType': DescribePackIpListResponseIpList },
|
|
700
756
|
};
|
|
701
757
|
}
|
|
702
758
|
}
|
|
703
|
-
exports.
|
|
704
|
-
class
|
|
759
|
+
exports.DescribeInstanceSpecsResponseBody = DescribeInstanceSpecsResponseBody;
|
|
760
|
+
class DescribeInstanceSpecsResponse extends $tea.Model {
|
|
705
761
|
constructor(map) {
|
|
706
762
|
super(map);
|
|
707
763
|
}
|
|
708
764
|
static names() {
|
|
709
765
|
return {
|
|
710
|
-
|
|
711
|
-
|
|
766
|
+
headers: 'headers',
|
|
767
|
+
statusCode: 'statusCode',
|
|
768
|
+
body: 'body',
|
|
712
769
|
};
|
|
713
770
|
}
|
|
714
771
|
static types() {
|
|
715
772
|
return {
|
|
716
|
-
|
|
717
|
-
|
|
773
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
774
|
+
statusCode: 'number',
|
|
775
|
+
body: DescribeInstanceSpecsResponseBody,
|
|
718
776
|
};
|
|
719
777
|
}
|
|
720
778
|
}
|
|
721
|
-
exports.
|
|
722
|
-
class
|
|
779
|
+
exports.DescribeInstanceSpecsResponse = DescribeInstanceSpecsResponse;
|
|
780
|
+
class DescribeOnDemandDdosEventRequest extends $tea.Model {
|
|
723
781
|
constructor(map) {
|
|
724
782
|
super(map);
|
|
725
783
|
}
|
|
726
784
|
static names() {
|
|
727
785
|
return {
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
786
|
+
endTime: 'EndTime',
|
|
787
|
+
instanceId: 'InstanceId',
|
|
788
|
+
ip: 'Ip',
|
|
789
|
+
pageNo: 'PageNo',
|
|
790
|
+
pageSize: 'PageSize',
|
|
791
|
+
regionId: 'RegionId',
|
|
792
|
+
resourceGroupId: 'ResourceGroupId',
|
|
793
|
+
startTime: 'StartTime',
|
|
732
794
|
};
|
|
733
795
|
}
|
|
734
796
|
static types() {
|
|
735
797
|
return {
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
798
|
+
endTime: 'number',
|
|
799
|
+
instanceId: 'string',
|
|
800
|
+
ip: 'string',
|
|
801
|
+
pageNo: 'number',
|
|
802
|
+
pageSize: 'number',
|
|
803
|
+
regionId: 'string',
|
|
804
|
+
resourceGroupId: 'string',
|
|
805
|
+
startTime: 'number',
|
|
740
806
|
};
|
|
741
807
|
}
|
|
742
808
|
}
|
|
743
|
-
exports.
|
|
744
|
-
class
|
|
809
|
+
exports.DescribeOnDemandDdosEventRequest = DescribeOnDemandDdosEventRequest;
|
|
810
|
+
class DescribeOnDemandDdosEventResponseBody extends $tea.Model {
|
|
745
811
|
constructor(map) {
|
|
746
812
|
super(map);
|
|
747
813
|
}
|
|
748
814
|
static names() {
|
|
749
815
|
return {
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
regionId: 'RegionId',
|
|
816
|
+
events: 'Events',
|
|
817
|
+
requestId: 'RequestId',
|
|
818
|
+
total: 'Total',
|
|
754
819
|
};
|
|
755
820
|
}
|
|
756
821
|
static types() {
|
|
757
822
|
return {
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
regionId: 'string',
|
|
823
|
+
events: { 'type': 'array', 'itemType': DescribeOnDemandDdosEventResponseBodyEvents },
|
|
824
|
+
requestId: 'string',
|
|
825
|
+
total: 'number',
|
|
762
826
|
};
|
|
763
827
|
}
|
|
764
828
|
}
|
|
765
|
-
exports.
|
|
766
|
-
class
|
|
829
|
+
exports.DescribeOnDemandDdosEventResponseBody = DescribeOnDemandDdosEventResponseBody;
|
|
830
|
+
class DescribeOnDemandDdosEventResponse extends $tea.Model {
|
|
767
831
|
constructor(map) {
|
|
768
832
|
super(map);
|
|
769
833
|
}
|
|
770
834
|
static names() {
|
|
771
835
|
return {
|
|
772
|
-
|
|
836
|
+
headers: 'headers',
|
|
837
|
+
statusCode: 'statusCode',
|
|
838
|
+
body: 'body',
|
|
773
839
|
};
|
|
774
840
|
}
|
|
775
841
|
static types() {
|
|
776
842
|
return {
|
|
777
|
-
|
|
843
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
844
|
+
statusCode: 'number',
|
|
845
|
+
body: DescribeOnDemandDdosEventResponseBody,
|
|
778
846
|
};
|
|
779
847
|
}
|
|
780
848
|
}
|
|
781
|
-
exports.
|
|
782
|
-
class
|
|
849
|
+
exports.DescribeOnDemandDdosEventResponse = DescribeOnDemandDdosEventResponse;
|
|
850
|
+
class DescribeOnDemandInstanceStatusRequest extends $tea.Model {
|
|
783
851
|
constructor(map) {
|
|
784
852
|
super(map);
|
|
785
853
|
}
|
|
786
854
|
static names() {
|
|
787
855
|
return {
|
|
788
|
-
|
|
789
|
-
ipnet: 'Ipnet',
|
|
790
|
-
ip: 'Ip',
|
|
791
|
-
startTime: 'StartTime',
|
|
792
|
-
endTime: 'EndTime',
|
|
793
|
-
interval: 'Interval',
|
|
794
|
-
flowType: 'FlowType',
|
|
795
|
-
resourceGroupId: 'ResourceGroupId',
|
|
856
|
+
instanceIdList: 'InstanceIdList',
|
|
796
857
|
regionId: 'RegionId',
|
|
797
858
|
};
|
|
798
859
|
}
|
|
799
860
|
static types() {
|
|
800
861
|
return {
|
|
801
|
-
|
|
802
|
-
ipnet: 'string',
|
|
803
|
-
ip: 'string',
|
|
804
|
-
startTime: 'number',
|
|
805
|
-
endTime: 'number',
|
|
806
|
-
interval: 'number',
|
|
807
|
-
flowType: 'string',
|
|
808
|
-
resourceGroupId: 'string',
|
|
862
|
+
instanceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
809
863
|
regionId: 'string',
|
|
810
864
|
};
|
|
811
865
|
}
|
|
812
866
|
}
|
|
813
|
-
exports.
|
|
814
|
-
class
|
|
867
|
+
exports.DescribeOnDemandInstanceStatusRequest = DescribeOnDemandInstanceStatusRequest;
|
|
868
|
+
class DescribeOnDemandInstanceStatusResponseBody extends $tea.Model {
|
|
815
869
|
constructor(map) {
|
|
816
870
|
super(map);
|
|
817
871
|
}
|
|
818
872
|
static names() {
|
|
819
873
|
return {
|
|
874
|
+
instances: 'Instances',
|
|
820
875
|
requestId: 'RequestId',
|
|
821
|
-
flowList: 'FlowList',
|
|
822
876
|
};
|
|
823
877
|
}
|
|
824
878
|
static types() {
|
|
825
879
|
return {
|
|
880
|
+
instances: { 'type': 'array', 'itemType': DescribeOnDemandInstanceStatusResponseBodyInstances },
|
|
826
881
|
requestId: 'string',
|
|
827
|
-
flowList: { 'type': 'array', 'itemType': DescribeTrafficResponseFlowList },
|
|
828
882
|
};
|
|
829
883
|
}
|
|
830
884
|
}
|
|
831
|
-
exports.
|
|
832
|
-
class
|
|
885
|
+
exports.DescribeOnDemandInstanceStatusResponseBody = DescribeOnDemandInstanceStatusResponseBody;
|
|
886
|
+
class DescribeOnDemandInstanceStatusResponse extends $tea.Model {
|
|
833
887
|
constructor(map) {
|
|
834
888
|
super(map);
|
|
835
889
|
}
|
|
836
890
|
static names() {
|
|
837
891
|
return {
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
instanceId: 'InstanceId',
|
|
842
|
-
resourceGroupId: 'ResourceGroupId',
|
|
892
|
+
headers: 'headers',
|
|
893
|
+
statusCode: 'statusCode',
|
|
894
|
+
body: 'body',
|
|
843
895
|
};
|
|
844
896
|
}
|
|
845
897
|
static types() {
|
|
846
898
|
return {
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
instanceId: 'string',
|
|
851
|
-
resourceGroupId: 'string',
|
|
899
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
900
|
+
statusCode: 'number',
|
|
901
|
+
body: DescribeOnDemandInstanceStatusResponseBody,
|
|
852
902
|
};
|
|
853
903
|
}
|
|
854
904
|
}
|
|
855
|
-
exports.
|
|
856
|
-
class
|
|
905
|
+
exports.DescribeOnDemandInstanceStatusResponse = DescribeOnDemandInstanceStatusResponse;
|
|
906
|
+
class DescribeOpEntitiesRequest extends $tea.Model {
|
|
857
907
|
constructor(map) {
|
|
858
908
|
super(map);
|
|
859
909
|
}
|
|
860
910
|
static names() {
|
|
861
911
|
return {
|
|
862
|
-
|
|
863
|
-
interval: 'Interval',
|
|
864
|
-
startTime: 'StartTime',
|
|
912
|
+
currentPage: 'CurrentPage',
|
|
865
913
|
endTime: 'EndTime',
|
|
866
|
-
|
|
914
|
+
instanceId: 'InstanceId',
|
|
915
|
+
orderBy: 'OrderBy',
|
|
916
|
+
orderDir: 'OrderDir',
|
|
917
|
+
pageSize: 'PageSize',
|
|
918
|
+
regionId: 'RegionId',
|
|
919
|
+
resourceGroupId: 'ResourceGroupId',
|
|
920
|
+
startTime: 'StartTime',
|
|
867
921
|
};
|
|
868
922
|
}
|
|
869
923
|
static types() {
|
|
870
924
|
return {
|
|
871
|
-
|
|
872
|
-
interval: 'number',
|
|
873
|
-
startTime: 'number',
|
|
925
|
+
currentPage: 'number',
|
|
874
926
|
endTime: 'number',
|
|
875
|
-
|
|
927
|
+
instanceId: 'string',
|
|
928
|
+
orderBy: 'string',
|
|
929
|
+
orderDir: 'string',
|
|
930
|
+
pageSize: 'number',
|
|
931
|
+
regionId: 'string',
|
|
932
|
+
resourceGroupId: 'string',
|
|
933
|
+
startTime: 'number',
|
|
876
934
|
};
|
|
877
935
|
}
|
|
878
936
|
}
|
|
879
|
-
exports.
|
|
880
|
-
class
|
|
937
|
+
exports.DescribeOpEntitiesRequest = DescribeOpEntitiesRequest;
|
|
938
|
+
class DescribeOpEntitiesResponseBody extends $tea.Model {
|
|
881
939
|
constructor(map) {
|
|
882
940
|
super(map);
|
|
883
941
|
}
|
|
884
942
|
static names() {
|
|
885
943
|
return {
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
resourceGroupId: 'ResourceGroupId',
|
|
944
|
+
opEntities: 'OpEntities',
|
|
945
|
+
requestId: 'RequestId',
|
|
946
|
+
totalCount: 'TotalCount',
|
|
890
947
|
};
|
|
891
948
|
}
|
|
892
949
|
static types() {
|
|
893
950
|
return {
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
resourceGroupId: 'string',
|
|
951
|
+
opEntities: { 'type': 'array', 'itemType': DescribeOpEntitiesResponseBodyOpEntities },
|
|
952
|
+
requestId: 'string',
|
|
953
|
+
totalCount: 'number',
|
|
898
954
|
};
|
|
899
955
|
}
|
|
900
956
|
}
|
|
901
|
-
exports.
|
|
902
|
-
class
|
|
957
|
+
exports.DescribeOpEntitiesResponseBody = DescribeOpEntitiesResponseBody;
|
|
958
|
+
class DescribeOpEntitiesResponse extends $tea.Model {
|
|
903
959
|
constructor(map) {
|
|
904
960
|
super(map);
|
|
905
961
|
}
|
|
906
962
|
static names() {
|
|
907
963
|
return {
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
totalUsedCapacity: 'TotalUsedCapacity',
|
|
912
|
-
totalInitCapacity: 'TotalInitCapacity',
|
|
964
|
+
headers: 'headers',
|
|
965
|
+
statusCode: 'statusCode',
|
|
966
|
+
body: 'body',
|
|
913
967
|
};
|
|
914
968
|
}
|
|
915
969
|
static types() {
|
|
916
970
|
return {
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
totalUsedCapacity: 'number',
|
|
921
|
-
totalInitCapacity: 'number',
|
|
971
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
972
|
+
statusCode: 'number',
|
|
973
|
+
body: DescribeOpEntitiesResponseBody,
|
|
922
974
|
};
|
|
923
975
|
}
|
|
924
976
|
}
|
|
925
|
-
exports.
|
|
926
|
-
class
|
|
977
|
+
exports.DescribeOpEntitiesResponse = DescribeOpEntitiesResponse;
|
|
978
|
+
class DescribePackIpListRequest extends $tea.Model {
|
|
927
979
|
constructor(map) {
|
|
928
980
|
super(map);
|
|
929
981
|
}
|
|
930
982
|
static names() {
|
|
931
983
|
return {
|
|
932
|
-
|
|
984
|
+
instanceId: 'InstanceId',
|
|
985
|
+
ip: 'Ip',
|
|
986
|
+
memberUid: 'MemberUid',
|
|
987
|
+
pageNo: 'PageNo',
|
|
933
988
|
pageSize: 'PageSize',
|
|
934
|
-
|
|
989
|
+
productName: 'ProductName',
|
|
990
|
+
regionId: 'RegionId',
|
|
935
991
|
resourceGroupId: 'ResourceGroupId',
|
|
936
992
|
};
|
|
937
993
|
}
|
|
938
994
|
static types() {
|
|
939
995
|
return {
|
|
940
|
-
|
|
996
|
+
instanceId: 'string',
|
|
997
|
+
ip: 'string',
|
|
998
|
+
memberUid: 'string',
|
|
999
|
+
pageNo: 'number',
|
|
941
1000
|
pageSize: 'number',
|
|
942
|
-
|
|
1001
|
+
productName: 'string',
|
|
1002
|
+
regionId: 'string',
|
|
943
1003
|
resourceGroupId: 'string',
|
|
944
1004
|
};
|
|
945
1005
|
}
|
|
946
1006
|
}
|
|
947
|
-
exports.
|
|
948
|
-
class
|
|
1007
|
+
exports.DescribePackIpListRequest = DescribePackIpListRequest;
|
|
1008
|
+
class DescribePackIpListResponseBody extends $tea.Model {
|
|
949
1009
|
constructor(map) {
|
|
950
1010
|
super(map);
|
|
951
1011
|
}
|
|
952
1012
|
static names() {
|
|
953
1013
|
return {
|
|
1014
|
+
code: 'Code',
|
|
1015
|
+
ipList: 'IpList',
|
|
954
1016
|
requestId: 'RequestId',
|
|
955
|
-
|
|
956
|
-
|
|
1017
|
+
success: 'Success',
|
|
1018
|
+
total: 'Total',
|
|
957
1019
|
};
|
|
958
1020
|
}
|
|
959
1021
|
static types() {
|
|
960
1022
|
return {
|
|
1023
|
+
code: 'string',
|
|
1024
|
+
ipList: { 'type': 'array', 'itemType': DescribePackIpListResponseBodyIpList },
|
|
961
1025
|
requestId: 'string',
|
|
962
|
-
|
|
963
|
-
|
|
1026
|
+
success: 'boolean',
|
|
1027
|
+
total: 'number',
|
|
964
1028
|
};
|
|
965
1029
|
}
|
|
966
1030
|
}
|
|
967
|
-
exports.
|
|
968
|
-
class
|
|
1031
|
+
exports.DescribePackIpListResponseBody = DescribePackIpListResponseBody;
|
|
1032
|
+
class DescribePackIpListResponse extends $tea.Model {
|
|
969
1033
|
constructor(map) {
|
|
970
1034
|
super(map);
|
|
971
1035
|
}
|
|
972
1036
|
static names() {
|
|
973
1037
|
return {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
pageSize: 'PageSize',
|
|
978
|
-
startTime: 'StartTime',
|
|
979
|
-
endTime: 'EndTime',
|
|
980
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1038
|
+
headers: 'headers',
|
|
1039
|
+
statusCode: 'statusCode',
|
|
1040
|
+
body: 'body',
|
|
981
1041
|
};
|
|
982
1042
|
}
|
|
983
1043
|
static types() {
|
|
984
1044
|
return {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
pageSize: 'number',
|
|
989
|
-
startTime: 'number',
|
|
990
|
-
endTime: 'number',
|
|
991
|
-
resourceGroupId: 'string',
|
|
1045
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1046
|
+
statusCode: 'number',
|
|
1047
|
+
body: DescribePackIpListResponseBody,
|
|
992
1048
|
};
|
|
993
1049
|
}
|
|
994
1050
|
}
|
|
995
|
-
exports.
|
|
996
|
-
class
|
|
1051
|
+
exports.DescribePackIpListResponse = DescribePackIpListResponse;
|
|
1052
|
+
class DescribeRegionsRequest extends $tea.Model {
|
|
997
1053
|
constructor(map) {
|
|
998
1054
|
super(map);
|
|
999
1055
|
}
|
|
1000
1056
|
static names() {
|
|
1001
1057
|
return {
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
packPaidTraffics: 'PackPaidTraffics',
|
|
1058
|
+
regionId: 'RegionId',
|
|
1059
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1005
1060
|
};
|
|
1006
1061
|
}
|
|
1007
1062
|
static types() {
|
|
1008
1063
|
return {
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
packPaidTraffics: { 'type': 'array', 'itemType': DescribePackPaidTrafficResponsePackPaidTraffics },
|
|
1064
|
+
regionId: 'string',
|
|
1065
|
+
resourceGroupId: 'string',
|
|
1012
1066
|
};
|
|
1013
1067
|
}
|
|
1014
1068
|
}
|
|
1015
|
-
exports.
|
|
1016
|
-
class
|
|
1069
|
+
exports.DescribeRegionsRequest = DescribeRegionsRequest;
|
|
1070
|
+
class DescribeRegionsResponseBody extends $tea.Model {
|
|
1017
1071
|
constructor(map) {
|
|
1018
1072
|
super(map);
|
|
1019
1073
|
}
|
|
1020
1074
|
static names() {
|
|
1021
1075
|
return {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
orderBy: 'OrderBy',
|
|
1027
|
-
orderDir: 'OrderDir',
|
|
1028
|
-
instanceId: 'InstanceId',
|
|
1029
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1030
|
-
regionId: 'RegionId',
|
|
1076
|
+
code: 'Code',
|
|
1077
|
+
regions: 'Regions',
|
|
1078
|
+
requestId: 'RequestId',
|
|
1079
|
+
success: 'Success',
|
|
1031
1080
|
};
|
|
1032
1081
|
}
|
|
1033
1082
|
static types() {
|
|
1034
1083
|
return {
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
orderBy: 'string',
|
|
1040
|
-
orderDir: 'string',
|
|
1041
|
-
instanceId: 'string',
|
|
1042
|
-
resourceGroupId: 'string',
|
|
1043
|
-
regionId: 'string',
|
|
1084
|
+
code: 'string',
|
|
1085
|
+
regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions },
|
|
1086
|
+
requestId: 'string',
|
|
1087
|
+
success: 'boolean',
|
|
1044
1088
|
};
|
|
1045
1089
|
}
|
|
1046
1090
|
}
|
|
1047
|
-
exports.
|
|
1048
|
-
class
|
|
1091
|
+
exports.DescribeRegionsResponseBody = DescribeRegionsResponseBody;
|
|
1092
|
+
class DescribeRegionsResponse extends $tea.Model {
|
|
1049
1093
|
constructor(map) {
|
|
1050
1094
|
super(map);
|
|
1051
1095
|
}
|
|
1052
1096
|
static names() {
|
|
1053
1097
|
return {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1098
|
+
headers: 'headers',
|
|
1099
|
+
statusCode: 'statusCode',
|
|
1100
|
+
body: 'body',
|
|
1057
1101
|
};
|
|
1058
1102
|
}
|
|
1059
1103
|
static types() {
|
|
1060
1104
|
return {
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1105
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1106
|
+
statusCode: 'number',
|
|
1107
|
+
body: DescribeRegionsResponseBody,
|
|
1064
1108
|
};
|
|
1065
1109
|
}
|
|
1066
1110
|
}
|
|
1067
|
-
exports.
|
|
1068
|
-
class
|
|
1111
|
+
exports.DescribeRegionsResponse = DescribeRegionsResponse;
|
|
1112
|
+
class DescribeTrafficRequest extends $tea.Model {
|
|
1069
1113
|
constructor(map) {
|
|
1070
1114
|
super(map);
|
|
1071
1115
|
}
|
|
1072
1116
|
static names() {
|
|
1073
1117
|
return {
|
|
1074
|
-
|
|
1118
|
+
endTime: 'EndTime',
|
|
1119
|
+
flowType: 'FlowType',
|
|
1120
|
+
instanceId: 'InstanceId',
|
|
1121
|
+
interval: 'Interval',
|
|
1122
|
+
ip: 'Ip',
|
|
1123
|
+
ipnet: 'Ipnet',
|
|
1075
1124
|
regionId: 'RegionId',
|
|
1076
1125
|
resourceGroupId: 'ResourceGroupId',
|
|
1126
|
+
startTime: 'StartTime',
|
|
1077
1127
|
};
|
|
1078
1128
|
}
|
|
1079
1129
|
static types() {
|
|
1080
1130
|
return {
|
|
1081
|
-
|
|
1131
|
+
endTime: 'number',
|
|
1132
|
+
flowType: 'string',
|
|
1133
|
+
instanceId: 'string',
|
|
1134
|
+
interval: 'number',
|
|
1135
|
+
ip: 'string',
|
|
1136
|
+
ipnet: 'string',
|
|
1082
1137
|
regionId: 'string',
|
|
1083
1138
|
resourceGroupId: 'string',
|
|
1139
|
+
startTime: 'number',
|
|
1084
1140
|
};
|
|
1085
1141
|
}
|
|
1086
1142
|
}
|
|
1087
|
-
exports.
|
|
1088
|
-
class
|
|
1143
|
+
exports.DescribeTrafficRequest = DescribeTrafficRequest;
|
|
1144
|
+
class DescribeTrafficResponseBody extends $tea.Model {
|
|
1089
1145
|
constructor(map) {
|
|
1090
1146
|
super(map);
|
|
1091
1147
|
}
|
|
1092
1148
|
static names() {
|
|
1093
1149
|
return {
|
|
1150
|
+
flowList: 'FlowList',
|
|
1094
1151
|
requestId: 'RequestId',
|
|
1095
|
-
instanceSpecs: 'InstanceSpecs',
|
|
1096
1152
|
};
|
|
1097
1153
|
}
|
|
1098
1154
|
static types() {
|
|
1099
1155
|
return {
|
|
1156
|
+
flowList: { 'type': 'array', 'itemType': DescribeTrafficResponseBodyFlowList },
|
|
1100
1157
|
requestId: 'string',
|
|
1101
|
-
instanceSpecs: { 'type': 'array', 'itemType': DescribeInstanceSpecsResponseInstanceSpecs },
|
|
1102
1158
|
};
|
|
1103
1159
|
}
|
|
1104
1160
|
}
|
|
1105
|
-
exports.
|
|
1106
|
-
class
|
|
1161
|
+
exports.DescribeTrafficResponseBody = DescribeTrafficResponseBody;
|
|
1162
|
+
class DescribeTrafficResponse extends $tea.Model {
|
|
1107
1163
|
constructor(map) {
|
|
1108
1164
|
super(map);
|
|
1109
1165
|
}
|
|
1110
1166
|
static names() {
|
|
1111
1167
|
return {
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
pageNo: 'PageNo',
|
|
1116
|
-
pageSize: 'PageSize',
|
|
1117
|
-
ipVersion: 'IpVersion',
|
|
1118
|
-
instanceType: 'InstanceType',
|
|
1119
|
-
ip: 'Ip',
|
|
1120
|
-
orderby: 'Orderby',
|
|
1121
|
-
orderdire: 'Orderdire',
|
|
1122
|
-
regionId: 'RegionId',
|
|
1123
|
-
tag: 'Tag',
|
|
1168
|
+
headers: 'headers',
|
|
1169
|
+
statusCode: 'statusCode',
|
|
1170
|
+
body: 'body',
|
|
1124
1171
|
};
|
|
1125
1172
|
}
|
|
1126
1173
|
static types() {
|
|
1127
1174
|
return {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
pageNo: 'number',
|
|
1132
|
-
pageSize: 'number',
|
|
1133
|
-
ipVersion: 'string',
|
|
1134
|
-
instanceType: 'string',
|
|
1135
|
-
ip: 'string',
|
|
1136
|
-
orderby: 'string',
|
|
1137
|
-
orderdire: 'string',
|
|
1138
|
-
regionId: 'string',
|
|
1139
|
-
tag: { 'type': 'array', 'itemType': DescribeInstanceListRequestTag },
|
|
1175
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1176
|
+
statusCode: 'number',
|
|
1177
|
+
body: DescribeTrafficResponseBody,
|
|
1140
1178
|
};
|
|
1141
1179
|
}
|
|
1142
1180
|
}
|
|
1143
|
-
exports.
|
|
1144
|
-
class
|
|
1181
|
+
exports.DescribeTrafficResponse = DescribeTrafficResponse;
|
|
1182
|
+
class GetSlsOpenStatusRequest extends $tea.Model {
|
|
1145
1183
|
constructor(map) {
|
|
1146
1184
|
super(map);
|
|
1147
1185
|
}
|
|
1148
1186
|
static names() {
|
|
1149
1187
|
return {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
instanceList: 'InstanceList',
|
|
1188
|
+
regionId: 'RegionId',
|
|
1189
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1153
1190
|
};
|
|
1154
1191
|
}
|
|
1155
1192
|
static types() {
|
|
1156
1193
|
return {
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
instanceList: { 'type': 'array', 'itemType': DescribeInstanceListResponseInstanceList },
|
|
1194
|
+
regionId: 'string',
|
|
1195
|
+
resourceGroupId: 'string',
|
|
1160
1196
|
};
|
|
1161
1197
|
}
|
|
1162
1198
|
}
|
|
1163
|
-
exports.
|
|
1164
|
-
class
|
|
1199
|
+
exports.GetSlsOpenStatusRequest = GetSlsOpenStatusRequest;
|
|
1200
|
+
class GetSlsOpenStatusResponseBody extends $tea.Model {
|
|
1165
1201
|
constructor(map) {
|
|
1166
1202
|
super(map);
|
|
1167
1203
|
}
|
|
1168
1204
|
static names() {
|
|
1169
1205
|
return {
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
pageSize: 'PageSize',
|
|
1173
|
-
pageNo: 'PageNo',
|
|
1174
|
-
instanceId: 'InstanceId',
|
|
1175
|
-
ip: 'Ip',
|
|
1176
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1177
|
-
regionId: 'RegionId',
|
|
1206
|
+
requestId: 'RequestId',
|
|
1207
|
+
slsOpenStatus: 'SlsOpenStatus',
|
|
1178
1208
|
};
|
|
1179
1209
|
}
|
|
1180
1210
|
static types() {
|
|
1181
1211
|
return {
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
pageSize: 'number',
|
|
1185
|
-
pageNo: 'number',
|
|
1186
|
-
instanceId: 'string',
|
|
1187
|
-
ip: 'string',
|
|
1188
|
-
resourceGroupId: 'string',
|
|
1189
|
-
regionId: 'string',
|
|
1212
|
+
requestId: 'string',
|
|
1213
|
+
slsOpenStatus: 'boolean',
|
|
1190
1214
|
};
|
|
1191
1215
|
}
|
|
1192
1216
|
}
|
|
1193
|
-
exports.
|
|
1194
|
-
class
|
|
1217
|
+
exports.GetSlsOpenStatusResponseBody = GetSlsOpenStatusResponseBody;
|
|
1218
|
+
class GetSlsOpenStatusResponse extends $tea.Model {
|
|
1195
1219
|
constructor(map) {
|
|
1196
1220
|
super(map);
|
|
1197
1221
|
}
|
|
1198
1222
|
static names() {
|
|
1199
1223
|
return {
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1224
|
+
headers: 'headers',
|
|
1225
|
+
statusCode: 'statusCode',
|
|
1226
|
+
body: 'body',
|
|
1203
1227
|
};
|
|
1204
1228
|
}
|
|
1205
1229
|
static types() {
|
|
1206
1230
|
return {
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1231
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1232
|
+
statusCode: 'number',
|
|
1233
|
+
body: GetSlsOpenStatusResponseBody,
|
|
1210
1234
|
};
|
|
1211
1235
|
}
|
|
1212
1236
|
}
|
|
1213
|
-
exports.
|
|
1214
|
-
class
|
|
1237
|
+
exports.GetSlsOpenStatusResponse = GetSlsOpenStatusResponse;
|
|
1238
|
+
class ListOpenedAccessLogInstancesRequest extends $tea.Model {
|
|
1215
1239
|
constructor(map) {
|
|
1216
1240
|
super(map);
|
|
1217
1241
|
}
|
|
1218
1242
|
static names() {
|
|
1219
1243
|
return {
|
|
1220
|
-
|
|
1221
|
-
|
|
1244
|
+
pageNumber: 'PageNumber',
|
|
1245
|
+
pageSize: 'PageSize',
|
|
1222
1246
|
resourceGroupId: 'ResourceGroupId',
|
|
1223
|
-
regionId: 'RegionId',
|
|
1224
1247
|
};
|
|
1225
1248
|
}
|
|
1226
1249
|
static types() {
|
|
1227
1250
|
return {
|
|
1228
|
-
|
|
1229
|
-
|
|
1251
|
+
pageNumber: 'number',
|
|
1252
|
+
pageSize: 'number',
|
|
1230
1253
|
resourceGroupId: 'string',
|
|
1231
|
-
regionId: 'string',
|
|
1232
1254
|
};
|
|
1233
1255
|
}
|
|
1234
1256
|
}
|
|
1235
|
-
exports.
|
|
1236
|
-
class
|
|
1257
|
+
exports.ListOpenedAccessLogInstancesRequest = ListOpenedAccessLogInstancesRequest;
|
|
1258
|
+
class ListOpenedAccessLogInstancesResponseBody extends $tea.Model {
|
|
1237
1259
|
constructor(map) {
|
|
1238
1260
|
super(map);
|
|
1239
1261
|
}
|
|
1240
1262
|
static names() {
|
|
1241
1263
|
return {
|
|
1242
1264
|
requestId: 'RequestId',
|
|
1265
|
+
slsConfigStatus: 'SlsConfigStatus',
|
|
1266
|
+
totalCount: 'TotalCount',
|
|
1243
1267
|
};
|
|
1244
1268
|
}
|
|
1245
1269
|
static types() {
|
|
1246
1270
|
return {
|
|
1247
1271
|
requestId: 'string',
|
|
1272
|
+
slsConfigStatus: { 'type': 'array', 'itemType': ListOpenedAccessLogInstancesResponseBodySlsConfigStatus },
|
|
1273
|
+
totalCount: 'number',
|
|
1248
1274
|
};
|
|
1249
1275
|
}
|
|
1250
1276
|
}
|
|
1251
|
-
exports.
|
|
1252
|
-
class
|
|
1277
|
+
exports.ListOpenedAccessLogInstancesResponseBody = ListOpenedAccessLogInstancesResponseBody;
|
|
1278
|
+
class ListOpenedAccessLogInstancesResponse extends $tea.Model {
|
|
1253
1279
|
constructor(map) {
|
|
1254
1280
|
super(map);
|
|
1255
1281
|
}
|
|
1256
1282
|
static names() {
|
|
1257
1283
|
return {
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
regionId: 'RegionId',
|
|
1284
|
+
headers: 'headers',
|
|
1285
|
+
statusCode: 'statusCode',
|
|
1286
|
+
body: 'body',
|
|
1262
1287
|
};
|
|
1263
1288
|
}
|
|
1264
1289
|
static types() {
|
|
1265
1290
|
return {
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
regionId: 'string',
|
|
1291
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1292
|
+
statusCode: 'number',
|
|
1293
|
+
body: ListOpenedAccessLogInstancesResponseBody,
|
|
1270
1294
|
};
|
|
1271
1295
|
}
|
|
1272
1296
|
}
|
|
1273
|
-
exports.
|
|
1274
|
-
class
|
|
1297
|
+
exports.ListOpenedAccessLogInstancesResponse = ListOpenedAccessLogInstancesResponse;
|
|
1298
|
+
class ListTagKeysRequest extends $tea.Model {
|
|
1275
1299
|
constructor(map) {
|
|
1276
1300
|
super(map);
|
|
1277
1301
|
}
|
|
1278
1302
|
static names() {
|
|
1279
1303
|
return {
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1304
|
+
currentPage: 'CurrentPage',
|
|
1305
|
+
pageSize: 'PageSize',
|
|
1306
|
+
regionId: 'RegionId',
|
|
1307
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1308
|
+
resourceType: 'ResourceType',
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
static types() {
|
|
1284
1312
|
return {
|
|
1285
|
-
|
|
1313
|
+
currentPage: 'number',
|
|
1314
|
+
pageSize: 'number',
|
|
1315
|
+
regionId: 'string',
|
|
1316
|
+
resourceGroupId: 'string',
|
|
1317
|
+
resourceType: 'string',
|
|
1286
1318
|
};
|
|
1287
1319
|
}
|
|
1288
1320
|
}
|
|
1289
|
-
exports.
|
|
1290
|
-
class
|
|
1321
|
+
exports.ListTagKeysRequest = ListTagKeysRequest;
|
|
1322
|
+
class ListTagKeysResponseBody extends $tea.Model {
|
|
1291
1323
|
constructor(map) {
|
|
1292
1324
|
super(map);
|
|
1293
1325
|
}
|
|
1294
1326
|
static names() {
|
|
1295
1327
|
return {
|
|
1296
|
-
|
|
1297
|
-
|
|
1328
|
+
currentPage: 'CurrentPage',
|
|
1329
|
+
pageSize: 'PageSize',
|
|
1330
|
+
requestId: 'RequestId',
|
|
1331
|
+
tagKeys: 'TagKeys',
|
|
1332
|
+
totalCount: 'TotalCount',
|
|
1298
1333
|
};
|
|
1299
1334
|
}
|
|
1300
1335
|
static types() {
|
|
1301
1336
|
return {
|
|
1302
|
-
|
|
1303
|
-
|
|
1337
|
+
currentPage: 'number',
|
|
1338
|
+
pageSize: 'number',
|
|
1339
|
+
requestId: 'string',
|
|
1340
|
+
tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
|
|
1341
|
+
totalCount: 'number',
|
|
1304
1342
|
};
|
|
1305
1343
|
}
|
|
1306
1344
|
}
|
|
1307
|
-
exports.
|
|
1308
|
-
class
|
|
1345
|
+
exports.ListTagKeysResponseBody = ListTagKeysResponseBody;
|
|
1346
|
+
class ListTagKeysResponse extends $tea.Model {
|
|
1309
1347
|
constructor(map) {
|
|
1310
1348
|
super(map);
|
|
1311
1349
|
}
|
|
1312
1350
|
static names() {
|
|
1313
1351
|
return {
|
|
1314
|
-
|
|
1315
|
-
|
|
1352
|
+
headers: 'headers',
|
|
1353
|
+
statusCode: 'statusCode',
|
|
1354
|
+
body: 'body',
|
|
1316
1355
|
};
|
|
1317
1356
|
}
|
|
1318
1357
|
static types() {
|
|
1319
1358
|
return {
|
|
1320
|
-
|
|
1321
|
-
|
|
1359
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1360
|
+
statusCode: 'number',
|
|
1361
|
+
body: ListTagKeysResponseBody,
|
|
1322
1362
|
};
|
|
1323
1363
|
}
|
|
1324
1364
|
}
|
|
1325
|
-
exports.
|
|
1326
|
-
class
|
|
1365
|
+
exports.ListTagKeysResponse = ListTagKeysResponse;
|
|
1366
|
+
class ListTagResourcesRequest extends $tea.Model {
|
|
1327
1367
|
constructor(map) {
|
|
1328
1368
|
super(map);
|
|
1329
1369
|
}
|
|
1330
1370
|
static names() {
|
|
1331
1371
|
return {
|
|
1332
|
-
|
|
1333
|
-
instanceId: 'InstanceId',
|
|
1372
|
+
nextToken: 'NextToken',
|
|
1334
1373
|
regionId: 'RegionId',
|
|
1335
1374
|
resourceGroupId: 'ResourceGroupId',
|
|
1375
|
+
resourceId: 'ResourceId',
|
|
1376
|
+
resourceType: 'ResourceType',
|
|
1377
|
+
tag: 'Tag',
|
|
1336
1378
|
};
|
|
1337
1379
|
}
|
|
1338
1380
|
static types() {
|
|
1339
1381
|
return {
|
|
1340
|
-
|
|
1341
|
-
instanceId: 'string',
|
|
1382
|
+
nextToken: 'string',
|
|
1342
1383
|
regionId: 'string',
|
|
1343
1384
|
resourceGroupId: 'string',
|
|
1385
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
1386
|
+
resourceType: 'string',
|
|
1387
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
1344
1388
|
};
|
|
1345
1389
|
}
|
|
1346
1390
|
}
|
|
1347
|
-
exports.
|
|
1348
|
-
class
|
|
1391
|
+
exports.ListTagResourcesRequest = ListTagResourcesRequest;
|
|
1392
|
+
class ListTagResourcesResponseBody extends $tea.Model {
|
|
1349
1393
|
constructor(map) {
|
|
1350
1394
|
super(map);
|
|
1351
1395
|
}
|
|
1352
1396
|
static names() {
|
|
1353
1397
|
return {
|
|
1398
|
+
nextToken: 'NextToken',
|
|
1354
1399
|
requestId: 'RequestId',
|
|
1400
|
+
tagResources: 'TagResources',
|
|
1355
1401
|
};
|
|
1356
1402
|
}
|
|
1357
1403
|
static types() {
|
|
1358
1404
|
return {
|
|
1405
|
+
nextToken: 'string',
|
|
1359
1406
|
requestId: 'string',
|
|
1407
|
+
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
1360
1408
|
};
|
|
1361
1409
|
}
|
|
1362
1410
|
}
|
|
1363
|
-
exports.
|
|
1364
|
-
class
|
|
1411
|
+
exports.ListTagResourcesResponseBody = ListTagResourcesResponseBody;
|
|
1412
|
+
class ListTagResourcesResponse extends $tea.Model {
|
|
1365
1413
|
constructor(map) {
|
|
1366
1414
|
super(map);
|
|
1367
1415
|
}
|
|
1368
1416
|
static names() {
|
|
1369
1417
|
return {
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
registedAs: 'RegistedAs',
|
|
1374
|
-
desc: 'Desc',
|
|
1375
|
-
declared: 'Declared',
|
|
1376
|
-
mode: 'Mode',
|
|
1418
|
+
headers: 'headers',
|
|
1419
|
+
statusCode: 'statusCode',
|
|
1420
|
+
body: 'body',
|
|
1377
1421
|
};
|
|
1378
1422
|
}
|
|
1379
1423
|
static types() {
|
|
1380
1424
|
return {
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
registedAs: 'string',
|
|
1385
|
-
desc: 'string',
|
|
1386
|
-
declared: 'string',
|
|
1387
|
-
mode: 'string',
|
|
1425
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1426
|
+
statusCode: 'number',
|
|
1427
|
+
body: ListTagResourcesResponseBody,
|
|
1388
1428
|
};
|
|
1389
1429
|
}
|
|
1390
1430
|
}
|
|
1391
|
-
exports.
|
|
1392
|
-
class
|
|
1431
|
+
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
1432
|
+
class ModifyRemarkRequest extends $tea.Model {
|
|
1393
1433
|
constructor(map) {
|
|
1394
1434
|
super(map);
|
|
1395
1435
|
}
|
|
1396
1436
|
static names() {
|
|
1397
1437
|
return {
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
ruleUndoEndTime: 'RuleUndoEndTime',
|
|
1403
|
-
ruleConditionMbps: 'RuleConditionMbps',
|
|
1404
|
-
ruleConditionKpps: 'RuleConditionKpps',
|
|
1405
|
-
ruleSwitch: 'RuleSwitch',
|
|
1406
|
-
ruleAction: 'RuleAction',
|
|
1407
|
-
timeZone: 'TimeZone',
|
|
1438
|
+
instanceId: 'InstanceId',
|
|
1439
|
+
regionId: 'RegionId',
|
|
1440
|
+
remark: 'Remark',
|
|
1441
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1408
1442
|
};
|
|
1409
1443
|
}
|
|
1410
1444
|
static types() {
|
|
1411
1445
|
return {
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
ruleUndoEndTime: 'string',
|
|
1417
|
-
ruleConditionMbps: 'string',
|
|
1418
|
-
ruleConditionKpps: 'string',
|
|
1419
|
-
ruleSwitch: 'string',
|
|
1420
|
-
ruleAction: 'string',
|
|
1421
|
-
timeZone: 'string',
|
|
1446
|
+
instanceId: 'string',
|
|
1447
|
+
regionId: 'string',
|
|
1448
|
+
remark: 'string',
|
|
1449
|
+
resourceGroupId: 'string',
|
|
1422
1450
|
};
|
|
1423
1451
|
}
|
|
1424
1452
|
}
|
|
1425
|
-
exports.
|
|
1426
|
-
class
|
|
1453
|
+
exports.ModifyRemarkRequest = ModifyRemarkRequest;
|
|
1454
|
+
class ModifyRemarkResponseBody extends $tea.Model {
|
|
1427
1455
|
constructor(map) {
|
|
1428
1456
|
super(map);
|
|
1429
1457
|
}
|
|
1430
1458
|
static names() {
|
|
1431
1459
|
return {
|
|
1432
|
-
|
|
1433
|
-
ruleSchedStatus: 'RuleSchedStatus',
|
|
1460
|
+
requestId: 'RequestId',
|
|
1434
1461
|
};
|
|
1435
1462
|
}
|
|
1436
1463
|
static types() {
|
|
1437
1464
|
return {
|
|
1438
|
-
|
|
1439
|
-
ruleSchedStatus: 'string',
|
|
1465
|
+
requestId: 'string',
|
|
1440
1466
|
};
|
|
1441
1467
|
}
|
|
1442
1468
|
}
|
|
1443
|
-
exports.
|
|
1444
|
-
class
|
|
1469
|
+
exports.ModifyRemarkResponseBody = ModifyRemarkResponseBody;
|
|
1470
|
+
class ModifyRemarkResponse extends $tea.Model {
|
|
1445
1471
|
constructor(map) {
|
|
1446
1472
|
super(map);
|
|
1447
1473
|
}
|
|
1448
1474
|
static names() {
|
|
1449
1475
|
return {
|
|
1450
|
-
|
|
1451
|
-
|
|
1476
|
+
headers: 'headers',
|
|
1477
|
+
statusCode: 'statusCode',
|
|
1478
|
+
body: 'body',
|
|
1452
1479
|
};
|
|
1453
1480
|
}
|
|
1454
1481
|
static types() {
|
|
1455
1482
|
return {
|
|
1456
|
-
|
|
1457
|
-
|
|
1483
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1484
|
+
statusCode: 'number',
|
|
1485
|
+
body: ModifyRemarkResponseBody,
|
|
1458
1486
|
};
|
|
1459
1487
|
}
|
|
1460
1488
|
}
|
|
1461
|
-
exports.
|
|
1462
|
-
class
|
|
1489
|
+
exports.ModifyRemarkResponse = ModifyRemarkResponse;
|
|
1490
|
+
class QuerySchedruleOnDemandRequest extends $tea.Model {
|
|
1463
1491
|
constructor(map) {
|
|
1464
1492
|
super(map);
|
|
1465
1493
|
}
|
|
1466
1494
|
static names() {
|
|
1467
1495
|
return {
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
pps: 'Pps',
|
|
1471
|
-
ip: 'Ip',
|
|
1472
|
-
mbps: 'Mbps',
|
|
1473
|
-
status: 'Status',
|
|
1496
|
+
instanceId: 'InstanceId',
|
|
1497
|
+
regionId: 'RegionId',
|
|
1474
1498
|
};
|
|
1475
1499
|
}
|
|
1476
1500
|
static types() {
|
|
1477
1501
|
return {
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
pps: 'number',
|
|
1481
|
-
ip: 'string',
|
|
1482
|
-
mbps: 'number',
|
|
1483
|
-
status: 'string',
|
|
1502
|
+
instanceId: 'string',
|
|
1503
|
+
regionId: 'string',
|
|
1484
1504
|
};
|
|
1485
1505
|
}
|
|
1486
1506
|
}
|
|
1487
|
-
exports.
|
|
1488
|
-
class
|
|
1507
|
+
exports.QuerySchedruleOnDemandRequest = QuerySchedruleOnDemandRequest;
|
|
1508
|
+
class QuerySchedruleOnDemandResponseBody extends $tea.Model {
|
|
1489
1509
|
constructor(map) {
|
|
1490
1510
|
super(map);
|
|
1491
1511
|
}
|
|
1492
1512
|
static names() {
|
|
1493
1513
|
return {
|
|
1494
|
-
|
|
1495
|
-
|
|
1514
|
+
instanceId: 'InstanceId',
|
|
1515
|
+
requestId: 'RequestId',
|
|
1516
|
+
ruleConfig: 'RuleConfig',
|
|
1517
|
+
ruleStatus: 'RuleStatus',
|
|
1518
|
+
userId: 'UserId',
|
|
1496
1519
|
};
|
|
1497
1520
|
}
|
|
1498
1521
|
static types() {
|
|
1499
1522
|
return {
|
|
1500
|
-
|
|
1501
|
-
|
|
1523
|
+
instanceId: 'string',
|
|
1524
|
+
requestId: 'string',
|
|
1525
|
+
ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
|
|
1526
|
+
ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
|
|
1527
|
+
userId: 'string',
|
|
1502
1528
|
};
|
|
1503
1529
|
}
|
|
1504
1530
|
}
|
|
1505
|
-
exports.
|
|
1506
|
-
class
|
|
1531
|
+
exports.QuerySchedruleOnDemandResponseBody = QuerySchedruleOnDemandResponseBody;
|
|
1532
|
+
class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
1507
1533
|
constructor(map) {
|
|
1508
1534
|
super(map);
|
|
1509
1535
|
}
|
|
1510
1536
|
static names() {
|
|
1511
1537
|
return {
|
|
1512
|
-
|
|
1513
|
-
|
|
1538
|
+
headers: 'headers',
|
|
1539
|
+
statusCode: 'statusCode',
|
|
1540
|
+
body: 'body',
|
|
1514
1541
|
};
|
|
1515
1542
|
}
|
|
1516
1543
|
static types() {
|
|
1517
1544
|
return {
|
|
1518
|
-
|
|
1519
|
-
|
|
1545
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1546
|
+
statusCode: 'number',
|
|
1547
|
+
body: QuerySchedruleOnDemandResponseBody,
|
|
1520
1548
|
};
|
|
1521
1549
|
}
|
|
1522
1550
|
}
|
|
1523
|
-
exports.
|
|
1524
|
-
class
|
|
1551
|
+
exports.QuerySchedruleOnDemandResponse = QuerySchedruleOnDemandResponse;
|
|
1552
|
+
class SetInstanceModeOnDemandRequest extends $tea.Model {
|
|
1525
1553
|
constructor(map) {
|
|
1526
1554
|
super(map);
|
|
1527
1555
|
}
|
|
1528
1556
|
static names() {
|
|
1529
1557
|
return {
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
tagValue: 'TagValue',
|
|
1558
|
+
instanceIdList: 'InstanceIdList',
|
|
1559
|
+
mode: 'Mode',
|
|
1560
|
+
regionId: 'RegionId',
|
|
1534
1561
|
};
|
|
1535
1562
|
}
|
|
1536
1563
|
static types() {
|
|
1537
1564
|
return {
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
tagValue: 'string',
|
|
1565
|
+
instanceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
1566
|
+
mode: 'string',
|
|
1567
|
+
regionId: 'string',
|
|
1542
1568
|
};
|
|
1543
1569
|
}
|
|
1544
1570
|
}
|
|
1545
|
-
exports.
|
|
1546
|
-
class
|
|
1571
|
+
exports.SetInstanceModeOnDemandRequest = SetInstanceModeOnDemandRequest;
|
|
1572
|
+
class SetInstanceModeOnDemandResponseBody extends $tea.Model {
|
|
1547
1573
|
constructor(map) {
|
|
1548
1574
|
super(map);
|
|
1549
1575
|
}
|
|
1550
1576
|
static names() {
|
|
1551
1577
|
return {
|
|
1552
|
-
|
|
1578
|
+
requestId: 'RequestId',
|
|
1553
1579
|
};
|
|
1554
1580
|
}
|
|
1555
1581
|
static types() {
|
|
1556
1582
|
return {
|
|
1557
|
-
|
|
1583
|
+
requestId: 'string',
|
|
1558
1584
|
};
|
|
1559
1585
|
}
|
|
1560
1586
|
}
|
|
1561
|
-
exports.
|
|
1562
|
-
class
|
|
1587
|
+
exports.SetInstanceModeOnDemandResponseBody = SetInstanceModeOnDemandResponseBody;
|
|
1588
|
+
class SetInstanceModeOnDemandResponse extends $tea.Model {
|
|
1563
1589
|
constructor(map) {
|
|
1564
1590
|
super(map);
|
|
1565
1591
|
}
|
|
1566
1592
|
static names() {
|
|
1567
1593
|
return {
|
|
1568
|
-
|
|
1569
|
-
|
|
1594
|
+
headers: 'headers',
|
|
1595
|
+
statusCode: 'statusCode',
|
|
1596
|
+
body: 'body',
|
|
1570
1597
|
};
|
|
1571
1598
|
}
|
|
1572
1599
|
static types() {
|
|
1573
1600
|
return {
|
|
1574
|
-
|
|
1575
|
-
|
|
1601
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1602
|
+
statusCode: 'number',
|
|
1603
|
+
body: SetInstanceModeOnDemandResponseBody,
|
|
1576
1604
|
};
|
|
1577
1605
|
}
|
|
1578
1606
|
}
|
|
1579
|
-
exports.
|
|
1580
|
-
class
|
|
1607
|
+
exports.SetInstanceModeOnDemandResponse = SetInstanceModeOnDemandResponse;
|
|
1608
|
+
class TagResourcesRequest extends $tea.Model {
|
|
1581
1609
|
constructor(map) {
|
|
1582
1610
|
super(map);
|
|
1583
1611
|
}
|
|
1584
1612
|
static names() {
|
|
1585
1613
|
return {
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1614
|
+
regionId: 'RegionId',
|
|
1615
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1616
|
+
resourceId: 'ResourceId',
|
|
1617
|
+
resourceType: 'ResourceType',
|
|
1618
|
+
tag: 'Tag',
|
|
1590
1619
|
};
|
|
1591
1620
|
}
|
|
1592
1621
|
static types() {
|
|
1593
1622
|
return {
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1623
|
+
regionId: 'string',
|
|
1624
|
+
resourceGroupId: 'string',
|
|
1625
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
1626
|
+
resourceType: 'string',
|
|
1627
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
1598
1628
|
};
|
|
1599
1629
|
}
|
|
1600
1630
|
}
|
|
1601
|
-
exports.
|
|
1602
|
-
class
|
|
1631
|
+
exports.TagResourcesRequest = TagResourcesRequest;
|
|
1632
|
+
class TagResourcesResponseBody extends $tea.Model {
|
|
1603
1633
|
constructor(map) {
|
|
1604
1634
|
super(map);
|
|
1605
1635
|
}
|
|
1606
1636
|
static names() {
|
|
1607
1637
|
return {
|
|
1608
|
-
|
|
1609
|
-
regionName: 'RegionName',
|
|
1610
|
-
regionId: 'RegionId',
|
|
1638
|
+
requestId: 'RequestId',
|
|
1611
1639
|
};
|
|
1612
1640
|
}
|
|
1613
1641
|
static types() {
|
|
1614
1642
|
return {
|
|
1615
|
-
|
|
1616
|
-
regionName: 'string',
|
|
1617
|
-
regionId: 'string',
|
|
1643
|
+
requestId: 'string',
|
|
1618
1644
|
};
|
|
1619
1645
|
}
|
|
1620
1646
|
}
|
|
1621
|
-
exports.
|
|
1622
|
-
class
|
|
1647
|
+
exports.TagResourcesResponseBody = TagResourcesResponseBody;
|
|
1648
|
+
class TagResourcesResponse extends $tea.Model {
|
|
1623
1649
|
constructor(map) {
|
|
1624
1650
|
super(map);
|
|
1625
1651
|
}
|
|
1626
1652
|
static names() {
|
|
1627
1653
|
return {
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
name: 'Name',
|
|
1632
|
-
attackBps: 'AttackBps',
|
|
1633
|
-
attackPps: 'AttackPps',
|
|
1634
|
-
time: 'Time',
|
|
1654
|
+
headers: 'headers',
|
|
1655
|
+
statusCode: 'statusCode',
|
|
1656
|
+
body: 'body',
|
|
1635
1657
|
};
|
|
1636
1658
|
}
|
|
1637
1659
|
static types() {
|
|
1638
1660
|
return {
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
name: 'string',
|
|
1643
|
-
attackBps: 'number',
|
|
1644
|
-
attackPps: 'number',
|
|
1645
|
-
time: 'number',
|
|
1661
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1662
|
+
statusCode: 'number',
|
|
1663
|
+
body: TagResourcesResponseBody,
|
|
1646
1664
|
};
|
|
1647
1665
|
}
|
|
1648
1666
|
}
|
|
1649
|
-
exports.
|
|
1650
|
-
class
|
|
1667
|
+
exports.TagResourcesResponse = TagResourcesResponse;
|
|
1668
|
+
class UntagResourcesRequest extends $tea.Model {
|
|
1651
1669
|
constructor(map) {
|
|
1652
1670
|
super(map);
|
|
1653
1671
|
}
|
|
1654
1672
|
static names() {
|
|
1655
1673
|
return {
|
|
1656
|
-
|
|
1657
|
-
|
|
1674
|
+
all: 'All',
|
|
1675
|
+
regionId: 'RegionId',
|
|
1676
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1677
|
+
resourceId: 'ResourceId',
|
|
1678
|
+
resourceType: 'ResourceType',
|
|
1679
|
+
tagKey: 'TagKey',
|
|
1658
1680
|
};
|
|
1659
1681
|
}
|
|
1660
1682
|
static types() {
|
|
1661
1683
|
return {
|
|
1662
|
-
|
|
1663
|
-
|
|
1684
|
+
all: 'boolean',
|
|
1685
|
+
regionId: 'string',
|
|
1686
|
+
resourceGroupId: 'string',
|
|
1687
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
1688
|
+
resourceType: 'string',
|
|
1689
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
1664
1690
|
};
|
|
1665
1691
|
}
|
|
1666
1692
|
}
|
|
1667
|
-
exports.
|
|
1668
|
-
class
|
|
1693
|
+
exports.UntagResourcesRequest = UntagResourcesRequest;
|
|
1694
|
+
class UntagResourcesResponseBody extends $tea.Model {
|
|
1669
1695
|
constructor(map) {
|
|
1670
1696
|
super(map);
|
|
1671
1697
|
}
|
|
1672
1698
|
static names() {
|
|
1673
1699
|
return {
|
|
1674
|
-
|
|
1675
|
-
initCapacity: 'InitCapacity',
|
|
1676
|
-
currCapacity: 'CurrCapacity',
|
|
1677
|
-
startTime: 'StartTime',
|
|
1678
|
-
endTime: 'EndTime',
|
|
1679
|
-
status: 'Status',
|
|
1700
|
+
requestId: 'RequestId',
|
|
1680
1701
|
};
|
|
1681
1702
|
}
|
|
1682
1703
|
static types() {
|
|
1683
1704
|
return {
|
|
1684
|
-
|
|
1685
|
-
initCapacity: 'number',
|
|
1686
|
-
currCapacity: 'number',
|
|
1687
|
-
startTime: 'number',
|
|
1688
|
-
endTime: 'number',
|
|
1689
|
-
status: 'string',
|
|
1705
|
+
requestId: 'string',
|
|
1690
1706
|
};
|
|
1691
1707
|
}
|
|
1692
1708
|
}
|
|
1693
|
-
exports.
|
|
1694
|
-
class
|
|
1709
|
+
exports.UntagResourcesResponseBody = UntagResourcesResponseBody;
|
|
1710
|
+
class UntagResourcesResponse extends $tea.Model {
|
|
1695
1711
|
constructor(map) {
|
|
1696
1712
|
super(map);
|
|
1697
1713
|
}
|
|
1698
1714
|
static names() {
|
|
1699
1715
|
return {
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
elasticBandwidth: 'ElasticBandwidth',
|
|
1704
|
-
paidCapacity: 'PaidCapacity',
|
|
1705
|
-
totalCapacity: 'TotalCapacity',
|
|
1706
|
-
maxAttack: 'MaxAttack',
|
|
1716
|
+
headers: 'headers',
|
|
1717
|
+
statusCode: 'statusCode',
|
|
1718
|
+
body: 'body',
|
|
1707
1719
|
};
|
|
1708
1720
|
}
|
|
1709
1721
|
static types() {
|
|
1710
1722
|
return {
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
elasticBandwidth: 'number',
|
|
1715
|
-
paidCapacity: 'number',
|
|
1716
|
-
totalCapacity: 'number',
|
|
1717
|
-
maxAttack: 'number',
|
|
1723
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1724
|
+
statusCode: 'number',
|
|
1725
|
+
body: UntagResourcesResponseBody,
|
|
1718
1726
|
};
|
|
1719
1727
|
}
|
|
1720
1728
|
}
|
|
1721
|
-
exports.
|
|
1722
|
-
class
|
|
1729
|
+
exports.UntagResourcesResponse = UntagResourcesResponse;
|
|
1730
|
+
class DescribeDdosEventResponseBodyEvents extends $tea.Model {
|
|
1723
1731
|
constructor(map) {
|
|
1724
1732
|
super(map);
|
|
1725
1733
|
}
|
|
1726
1734
|
static names() {
|
|
1727
1735
|
return {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1736
|
+
endTime: 'EndTime',
|
|
1737
|
+
ip: 'Ip',
|
|
1738
|
+
mbps: 'Mbps',
|
|
1739
|
+
pps: 'Pps',
|
|
1740
|
+
startTime: 'StartTime',
|
|
1741
|
+
status: 'Status',
|
|
1742
|
+
};
|
|
1743
|
+
}
|
|
1744
|
+
static types() {
|
|
1745
|
+
return {
|
|
1746
|
+
endTime: 'number',
|
|
1747
|
+
ip: 'string',
|
|
1748
|
+
mbps: 'number',
|
|
1749
|
+
pps: 'number',
|
|
1750
|
+
startTime: 'number',
|
|
1751
|
+
status: 'string',
|
|
1752
|
+
};
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
exports.DescribeDdosEventResponseBodyEvents = DescribeDdosEventResponseBodyEvents;
|
|
1756
|
+
class DescribeInstanceListRequestTag extends $tea.Model {
|
|
1757
|
+
constructor(map) {
|
|
1758
|
+
super(map);
|
|
1759
|
+
}
|
|
1760
|
+
static names() {
|
|
1761
|
+
return {
|
|
1762
|
+
key: 'Key',
|
|
1763
|
+
value: 'Value',
|
|
1764
|
+
};
|
|
1765
|
+
}
|
|
1766
|
+
static types() {
|
|
1767
|
+
return {
|
|
1768
|
+
key: 'string',
|
|
1769
|
+
value: 'string',
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
exports.DescribeInstanceListRequestTag = DescribeInstanceListRequestTag;
|
|
1774
|
+
class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
1775
|
+
constructor(map) {
|
|
1776
|
+
super(map);
|
|
1777
|
+
}
|
|
1778
|
+
static names() {
|
|
1779
|
+
return {
|
|
1780
|
+
autoRenewal: 'AutoRenewal',
|
|
1781
|
+
blackholdingCount: 'BlackholdingCount',
|
|
1782
|
+
coverageType: 'CoverageType',
|
|
1783
|
+
expireTime: 'ExpireTime',
|
|
1733
1784
|
gmtCreate: 'GmtCreate',
|
|
1785
|
+
instanceId: 'InstanceId',
|
|
1786
|
+
instanceType: 'InstanceType',
|
|
1787
|
+
ipType: 'IpType',
|
|
1788
|
+
product: 'Product',
|
|
1789
|
+
remark: 'Remark',
|
|
1790
|
+
status: 'Status',
|
|
1734
1791
|
};
|
|
1735
1792
|
}
|
|
1736
1793
|
static types() {
|
|
1737
1794
|
return {
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
opAction: 'number',
|
|
1795
|
+
autoRenewal: 'boolean',
|
|
1796
|
+
blackholdingCount: 'string',
|
|
1797
|
+
coverageType: 'number',
|
|
1798
|
+
expireTime: 'number',
|
|
1743
1799
|
gmtCreate: 'number',
|
|
1800
|
+
instanceId: 'string',
|
|
1801
|
+
instanceType: 'string',
|
|
1802
|
+
ipType: 'string',
|
|
1803
|
+
product: 'string',
|
|
1804
|
+
remark: 'string',
|
|
1805
|
+
status: 'string',
|
|
1744
1806
|
};
|
|
1745
1807
|
}
|
|
1746
1808
|
}
|
|
1747
|
-
exports.
|
|
1748
|
-
class
|
|
1809
|
+
exports.DescribeInstanceListResponseBodyInstanceList = DescribeInstanceListResponseBodyInstanceList;
|
|
1810
|
+
class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $tea.Model {
|
|
1749
1811
|
constructor(map) {
|
|
1750
1812
|
super(map);
|
|
1751
1813
|
}
|
|
1752
1814
|
static names() {
|
|
1753
1815
|
return {
|
|
1754
|
-
|
|
1816
|
+
bandwidth: 'Bandwidth',
|
|
1817
|
+
bindIpCount: 'BindIpCount',
|
|
1755
1818
|
ipAdvanceThre: 'IpAdvanceThre',
|
|
1756
1819
|
ipBasicThre: 'IpBasicThre',
|
|
1757
|
-
packBasicThre: 'PackBasicThre',
|
|
1758
1820
|
ipSpec: 'IpSpec',
|
|
1759
|
-
bindIpCount: 'BindIpCount',
|
|
1760
1821
|
normalBandwidth: 'NormalBandwidth',
|
|
1822
|
+
packAdvThre: 'PackAdvThre',
|
|
1823
|
+
packBasicThre: 'PackBasicThre',
|
|
1761
1824
|
};
|
|
1762
1825
|
}
|
|
1763
1826
|
static types() {
|
|
1764
1827
|
return {
|
|
1765
|
-
|
|
1828
|
+
bandwidth: 'number',
|
|
1829
|
+
bindIpCount: 'number',
|
|
1766
1830
|
ipAdvanceThre: 'number',
|
|
1767
1831
|
ipBasicThre: 'number',
|
|
1768
|
-
packBasicThre: 'number',
|
|
1769
1832
|
ipSpec: 'number',
|
|
1770
|
-
bindIpCount: 'number',
|
|
1771
1833
|
normalBandwidth: 'number',
|
|
1834
|
+
packAdvThre: 'number',
|
|
1835
|
+
packBasicThre: 'number',
|
|
1772
1836
|
};
|
|
1773
1837
|
}
|
|
1774
1838
|
}
|
|
1775
|
-
exports.
|
|
1776
|
-
class
|
|
1839
|
+
exports.DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig = DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
1840
|
+
class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
1777
1841
|
constructor(map) {
|
|
1778
1842
|
super(map);
|
|
1779
1843
|
}
|
|
1780
1844
|
static names() {
|
|
1781
1845
|
return {
|
|
1782
|
-
|
|
1846
|
+
availableDefenseTimes: 'AvailableDefenseTimes',
|
|
1783
1847
|
availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
|
|
1784
1848
|
instanceId: 'InstanceId',
|
|
1785
|
-
availableDefenseTimes: 'AvailableDefenseTimes',
|
|
1786
|
-
totalDefenseTimes: 'TotalDefenseTimes',
|
|
1787
1849
|
isFullDefenseMode: 'IsFullDefenseMode',
|
|
1788
1850
|
packConfig: 'PackConfig',
|
|
1851
|
+
region: 'Region',
|
|
1852
|
+
totalDefenseTimes: 'TotalDefenseTimes',
|
|
1789
1853
|
};
|
|
1790
1854
|
}
|
|
1791
1855
|
static types() {
|
|
1792
1856
|
return {
|
|
1793
|
-
|
|
1857
|
+
availableDefenseTimes: 'number',
|
|
1794
1858
|
availableDeleteBlackholeCount: 'string',
|
|
1795
1859
|
instanceId: 'string',
|
|
1796
|
-
availableDefenseTimes: 'number',
|
|
1797
|
-
totalDefenseTimes: 'number',
|
|
1798
1860
|
isFullDefenseMode: 'number',
|
|
1799
|
-
packConfig:
|
|
1861
|
+
packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
|
|
1862
|
+
region: 'string',
|
|
1863
|
+
totalDefenseTimes: 'number',
|
|
1800
1864
|
};
|
|
1801
1865
|
}
|
|
1802
1866
|
}
|
|
1803
|
-
exports.
|
|
1804
|
-
class
|
|
1867
|
+
exports.DescribeInstanceSpecsResponseBodyInstanceSpecs = DescribeInstanceSpecsResponseBodyInstanceSpecs;
|
|
1868
|
+
class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
|
|
1805
1869
|
constructor(map) {
|
|
1806
1870
|
super(map);
|
|
1807
1871
|
}
|
|
1808
1872
|
static names() {
|
|
1809
1873
|
return {
|
|
1810
|
-
|
|
1811
|
-
|
|
1874
|
+
endTime: 'EndTime',
|
|
1875
|
+
ip: 'Ip',
|
|
1876
|
+
mbps: 'Mbps',
|
|
1877
|
+
pps: 'Pps',
|
|
1878
|
+
startTime: 'StartTime',
|
|
1879
|
+
status: 'Status',
|
|
1812
1880
|
};
|
|
1813
1881
|
}
|
|
1814
1882
|
static types() {
|
|
1815
1883
|
return {
|
|
1816
|
-
|
|
1817
|
-
|
|
1884
|
+
endTime: 'number',
|
|
1885
|
+
ip: 'string',
|
|
1886
|
+
mbps: 'number',
|
|
1887
|
+
pps: 'number',
|
|
1888
|
+
startTime: 'number',
|
|
1889
|
+
status: 'string',
|
|
1818
1890
|
};
|
|
1819
1891
|
}
|
|
1820
1892
|
}
|
|
1821
|
-
exports.
|
|
1822
|
-
class
|
|
1893
|
+
exports.DescribeOnDemandDdosEventResponseBodyEvents = DescribeOnDemandDdosEventResponseBodyEvents;
|
|
1894
|
+
class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Model {
|
|
1823
1895
|
constructor(map) {
|
|
1824
1896
|
super(map);
|
|
1825
1897
|
}
|
|
1826
1898
|
static names() {
|
|
1827
1899
|
return {
|
|
1828
|
-
|
|
1900
|
+
declared: 'Declared',
|
|
1901
|
+
desc: 'Desc',
|
|
1829
1902
|
instanceId: 'InstanceId',
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
autoRenewal: 'AutoRenewal',
|
|
1835
|
-
blackholdingCount: 'BlackholdingCount',
|
|
1836
|
-
gmtCreate: 'GmtCreate',
|
|
1837
|
-
instanceType: 'InstanceType',
|
|
1903
|
+
mode: 'Mode',
|
|
1904
|
+
net: 'Net',
|
|
1905
|
+
registedAs: 'RegistedAs',
|
|
1906
|
+
userId: 'UserId',
|
|
1838
1907
|
};
|
|
1839
1908
|
}
|
|
1840
1909
|
static types() {
|
|
1841
1910
|
return {
|
|
1842
|
-
|
|
1911
|
+
declared: 'string',
|
|
1912
|
+
desc: 'string',
|
|
1843
1913
|
instanceId: 'string',
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1914
|
+
mode: 'string',
|
|
1915
|
+
net: 'string',
|
|
1916
|
+
registedAs: 'string',
|
|
1917
|
+
userId: 'string',
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
exports.DescribeOnDemandInstanceStatusResponseBodyInstances = DescribeOnDemandInstanceStatusResponseBodyInstances;
|
|
1922
|
+
class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
|
|
1923
|
+
constructor(map) {
|
|
1924
|
+
super(map);
|
|
1925
|
+
}
|
|
1926
|
+
static names() {
|
|
1927
|
+
return {
|
|
1928
|
+
entityObject: 'EntityObject',
|
|
1929
|
+
entityType: 'EntityType',
|
|
1930
|
+
gmtCreate: 'GmtCreate',
|
|
1931
|
+
opAccount: 'OpAccount',
|
|
1932
|
+
opAction: 'OpAction',
|
|
1933
|
+
opDesc: 'OpDesc',
|
|
1934
|
+
};
|
|
1935
|
+
}
|
|
1936
|
+
static types() {
|
|
1937
|
+
return {
|
|
1938
|
+
entityObject: 'string',
|
|
1939
|
+
entityType: 'number',
|
|
1850
1940
|
gmtCreate: 'number',
|
|
1851
|
-
|
|
1941
|
+
opAccount: 'string',
|
|
1942
|
+
opAction: 'number',
|
|
1943
|
+
opDesc: 'string',
|
|
1852
1944
|
};
|
|
1853
1945
|
}
|
|
1854
1946
|
}
|
|
1855
|
-
exports.
|
|
1856
|
-
class
|
|
1947
|
+
exports.DescribeOpEntitiesResponseBodyOpEntities = DescribeOpEntitiesResponseBodyOpEntities;
|
|
1948
|
+
class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
1857
1949
|
constructor(map) {
|
|
1858
1950
|
super(map);
|
|
1859
1951
|
}
|
|
1860
1952
|
static names() {
|
|
1861
1953
|
return {
|
|
1862
|
-
startTime: 'StartTime',
|
|
1863
|
-
endTime: 'EndTime',
|
|
1864
|
-
pps: 'Pps',
|
|
1865
1954
|
ip: 'Ip',
|
|
1866
|
-
|
|
1955
|
+
memberUid: 'MemberUid',
|
|
1956
|
+
product: 'Product',
|
|
1957
|
+
region: 'Region',
|
|
1958
|
+
remark: 'Remark',
|
|
1867
1959
|
status: 'Status',
|
|
1868
1960
|
};
|
|
1869
1961
|
}
|
|
1870
1962
|
static types() {
|
|
1871
1963
|
return {
|
|
1872
|
-
startTime: 'number',
|
|
1873
|
-
endTime: 'number',
|
|
1874
|
-
pps: 'number',
|
|
1875
1964
|
ip: 'string',
|
|
1876
|
-
|
|
1965
|
+
memberUid: 'string',
|
|
1966
|
+
product: 'string',
|
|
1967
|
+
region: 'string',
|
|
1968
|
+
remark: 'string',
|
|
1877
1969
|
status: 'string',
|
|
1878
1970
|
};
|
|
1879
1971
|
}
|
|
1880
1972
|
}
|
|
1881
|
-
exports.
|
|
1882
|
-
class
|
|
1883
|
-
constructor(
|
|
1884
|
-
super(
|
|
1885
|
-
this._endpointRule = "regional";
|
|
1886
|
-
this._endpointMap = {
|
|
1887
|
-
'cn-qingdao': "ddosbgp.aliyuncs.com",
|
|
1888
|
-
'cn-beijing': "ddosbgp.aliyuncs.com",
|
|
1889
|
-
'cn-zhangjiakou': "ddosbgp.aliyuncs.com",
|
|
1890
|
-
'cn-huhehaote': "ddosbgp.aliyuncs.com",
|
|
1891
|
-
'cn-hangzhou': "ddosbgp.aliyuncs.com",
|
|
1892
|
-
'cn-shanghai': "ddosbgp.aliyuncs.com",
|
|
1893
|
-
'cn-shenzhen': "ddosbgp.aliyuncs.com",
|
|
1894
|
-
'ap-northeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1895
|
-
'ap-south-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1896
|
-
'ap-southeast-2': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1897
|
-
'ap-southeast-3': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1898
|
-
'ap-southeast-5': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1899
|
-
'cn-chengdu': "ddosbgp.aliyuncs.com",
|
|
1900
|
-
'eu-central-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1901
|
-
'eu-west-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1902
|
-
'me-east-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
1903
|
-
'cn-hangzhou-finance': "ddosbgp.aliyuncs.com",
|
|
1904
|
-
'cn-shenzhen-finance-1': "ddosbgp.aliyuncs.com",
|
|
1905
|
-
'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
|
|
1906
|
-
'cn-north-2-gov-1': "ddosbgp.aliyuncs.com",
|
|
1907
|
-
};
|
|
1908
|
-
this.checkConfig(config);
|
|
1909
|
-
this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
1973
|
+
exports.DescribePackIpListResponseBodyIpList = DescribePackIpListResponseBodyIpList;
|
|
1974
|
+
class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
1975
|
+
constructor(map) {
|
|
1976
|
+
super(map);
|
|
1910
1977
|
}
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1978
|
+
static names() {
|
|
1979
|
+
return {
|
|
1980
|
+
regionEnName: 'RegionEnName',
|
|
1981
|
+
regionId: 'RegionId',
|
|
1982
|
+
regionName: 'RegionName',
|
|
1983
|
+
};
|
|
1914
1984
|
}
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1985
|
+
static types() {
|
|
1986
|
+
return {
|
|
1987
|
+
regionEnName: 'string',
|
|
1988
|
+
regionId: 'string',
|
|
1989
|
+
regionName: 'string',
|
|
1990
|
+
};
|
|
1918
1991
|
}
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1992
|
+
}
|
|
1993
|
+
exports.DescribeRegionsResponseBodyRegions = DescribeRegionsResponseBodyRegions;
|
|
1994
|
+
class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
1995
|
+
constructor(map) {
|
|
1996
|
+
super(map);
|
|
1922
1997
|
}
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1998
|
+
static names() {
|
|
1999
|
+
return {
|
|
2000
|
+
attackBps: 'AttackBps',
|
|
2001
|
+
attackPps: 'AttackPps',
|
|
2002
|
+
flowType: 'FlowType',
|
|
2003
|
+
kbps: 'Kbps',
|
|
2004
|
+
name: 'Name',
|
|
2005
|
+
pps: 'Pps',
|
|
2006
|
+
time: 'Time',
|
|
2007
|
+
};
|
|
1926
2008
|
}
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
2009
|
+
static types() {
|
|
2010
|
+
return {
|
|
2011
|
+
attackBps: 'number',
|
|
2012
|
+
attackPps: 'number',
|
|
2013
|
+
flowType: 'string',
|
|
2014
|
+
kbps: 'number',
|
|
2015
|
+
name: 'string',
|
|
2016
|
+
pps: 'number',
|
|
2017
|
+
time: 'number',
|
|
2018
|
+
};
|
|
1930
2019
|
}
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
2020
|
+
}
|
|
2021
|
+
exports.DescribeTrafficResponseBodyFlowList = DescribeTrafficResponseBodyFlowList;
|
|
2022
|
+
class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
|
|
2023
|
+
constructor(map) {
|
|
2024
|
+
super(map);
|
|
1934
2025
|
}
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
2026
|
+
static names() {
|
|
2027
|
+
return {
|
|
2028
|
+
enable: 'Enable',
|
|
2029
|
+
instanceId: 'InstanceId',
|
|
2030
|
+
};
|
|
1938
2031
|
}
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
2032
|
+
static types() {
|
|
2033
|
+
return {
|
|
2034
|
+
enable: 'boolean',
|
|
2035
|
+
instanceId: 'string',
|
|
2036
|
+
};
|
|
1942
2037
|
}
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
2038
|
+
}
|
|
2039
|
+
exports.ListOpenedAccessLogInstancesResponseBodySlsConfigStatus = ListOpenedAccessLogInstancesResponseBodySlsConfigStatus;
|
|
2040
|
+
class ListTagKeysResponseBodyTagKeys extends $tea.Model {
|
|
2041
|
+
constructor(map) {
|
|
2042
|
+
super(map);
|
|
1946
2043
|
}
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
2044
|
+
static names() {
|
|
2045
|
+
return {
|
|
2046
|
+
tagCount: 'TagCount',
|
|
2047
|
+
tagKey: 'TagKey',
|
|
2048
|
+
};
|
|
1950
2049
|
}
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
2050
|
+
static types() {
|
|
2051
|
+
return {
|
|
2052
|
+
tagCount: 'number',
|
|
2053
|
+
tagKey: 'string',
|
|
2054
|
+
};
|
|
1954
2055
|
}
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
2056
|
+
}
|
|
2057
|
+
exports.ListTagKeysResponseBodyTagKeys = ListTagKeysResponseBodyTagKeys;
|
|
2058
|
+
class ListTagResourcesRequestTag extends $tea.Model {
|
|
2059
|
+
constructor(map) {
|
|
2060
|
+
super(map);
|
|
1958
2061
|
}
|
|
1959
|
-
|
|
2062
|
+
static names() {
|
|
2063
|
+
return {
|
|
2064
|
+
key: 'Key',
|
|
2065
|
+
value: 'Value',
|
|
2066
|
+
};
|
|
2067
|
+
}
|
|
2068
|
+
static types() {
|
|
2069
|
+
return {
|
|
2070
|
+
key: 'string',
|
|
2071
|
+
value: 'string',
|
|
2072
|
+
};
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
exports.ListTagResourcesRequestTag = ListTagResourcesRequestTag;
|
|
2076
|
+
class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
2077
|
+
constructor(map) {
|
|
2078
|
+
super(map);
|
|
2079
|
+
}
|
|
2080
|
+
static names() {
|
|
2081
|
+
return {
|
|
2082
|
+
resourceId: 'ResourceId',
|
|
2083
|
+
resourceType: 'ResourceType',
|
|
2084
|
+
tagKey: 'TagKey',
|
|
2085
|
+
tagValue: 'TagValue',
|
|
2086
|
+
};
|
|
2087
|
+
}
|
|
2088
|
+
static types() {
|
|
2089
|
+
return {
|
|
2090
|
+
resourceId: 'string',
|
|
2091
|
+
resourceType: 'string',
|
|
2092
|
+
tagKey: 'string',
|
|
2093
|
+
tagValue: 'string',
|
|
2094
|
+
};
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
exports.ListTagResourcesResponseBodyTagResourcesTagResource = ListTagResourcesResponseBodyTagResourcesTagResource;
|
|
2098
|
+
class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
2099
|
+
constructor(map) {
|
|
2100
|
+
super(map);
|
|
2101
|
+
}
|
|
2102
|
+
static names() {
|
|
2103
|
+
return {
|
|
2104
|
+
tagResource: 'TagResource',
|
|
2105
|
+
};
|
|
2106
|
+
}
|
|
2107
|
+
static types() {
|
|
2108
|
+
return {
|
|
2109
|
+
tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
|
|
2110
|
+
};
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
|
|
2114
|
+
class QuerySchedruleOnDemandResponseBodyRuleConfig extends $tea.Model {
|
|
2115
|
+
constructor(map) {
|
|
2116
|
+
super(map);
|
|
2117
|
+
}
|
|
2118
|
+
static names() {
|
|
2119
|
+
return {
|
|
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',
|
|
2130
|
+
};
|
|
2131
|
+
}
|
|
2132
|
+
static types() {
|
|
2133
|
+
return {
|
|
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',
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
exports.QuerySchedruleOnDemandResponseBodyRuleConfig = QuerySchedruleOnDemandResponseBodyRuleConfig;
|
|
2148
|
+
class QuerySchedruleOnDemandResponseBodyRuleStatus extends $tea.Model {
|
|
2149
|
+
constructor(map) {
|
|
2150
|
+
super(map);
|
|
2151
|
+
}
|
|
2152
|
+
static names() {
|
|
2153
|
+
return {
|
|
2154
|
+
net: 'Net',
|
|
2155
|
+
ruleSchedStatus: 'RuleSchedStatus',
|
|
2156
|
+
};
|
|
2157
|
+
}
|
|
2158
|
+
static types() {
|
|
2159
|
+
return {
|
|
2160
|
+
net: 'string',
|
|
2161
|
+
ruleSchedStatus: 'string',
|
|
2162
|
+
};
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
exports.QuerySchedruleOnDemandResponseBodyRuleStatus = QuerySchedruleOnDemandResponseBodyRuleStatus;
|
|
2166
|
+
class TagResourcesRequestTag extends $tea.Model {
|
|
2167
|
+
constructor(map) {
|
|
2168
|
+
super(map);
|
|
2169
|
+
}
|
|
2170
|
+
static names() {
|
|
2171
|
+
return {
|
|
2172
|
+
key: 'Key',
|
|
2173
|
+
value: 'Value',
|
|
2174
|
+
};
|
|
2175
|
+
}
|
|
2176
|
+
static types() {
|
|
2177
|
+
return {
|
|
2178
|
+
key: 'string',
|
|
2179
|
+
value: 'string',
|
|
2180
|
+
};
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
exports.TagResourcesRequestTag = TagResourcesRequestTag;
|
|
2184
|
+
class Client extends openapi_client_1.default {
|
|
2185
|
+
constructor(config) {
|
|
2186
|
+
super(config);
|
|
2187
|
+
this._endpointRule = "regional";
|
|
2188
|
+
this._endpointMap = {
|
|
2189
|
+
'cn-qingdao': "ddosbgp.aliyuncs.com",
|
|
2190
|
+
'cn-beijing': "ddosbgp.aliyuncs.com",
|
|
2191
|
+
'cn-zhangjiakou': "ddosbgp.aliyuncs.com",
|
|
2192
|
+
'cn-huhehaote': "ddosbgp.aliyuncs.com",
|
|
2193
|
+
'cn-hangzhou': "ddosbgp.aliyuncs.com",
|
|
2194
|
+
'cn-shanghai': "ddosbgp.aliyuncs.com",
|
|
2195
|
+
'cn-shenzhen': "ddosbgp.aliyuncs.com",
|
|
2196
|
+
'ap-northeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2197
|
+
'ap-south-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2198
|
+
'ap-southeast-2': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2199
|
+
'ap-southeast-3': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2200
|
+
'ap-southeast-5': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2201
|
+
'cn-chengdu': "ddosbgp.aliyuncs.com",
|
|
2202
|
+
'eu-central-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2203
|
+
'eu-west-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2204
|
+
'me-east-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
|
|
2205
|
+
'cn-hangzhou-finance': "ddosbgp.aliyuncs.com",
|
|
2206
|
+
'cn-shenzhen-finance-1': "ddosbgp.aliyuncs.com",
|
|
2207
|
+
'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
|
|
2208
|
+
'cn-north-2-gov-1': "ddosbgp.aliyuncs.com",
|
|
2209
|
+
};
|
|
2210
|
+
this.checkConfig(config);
|
|
2211
|
+
this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
2212
|
+
}
|
|
2213
|
+
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
2214
|
+
if (!tea_util_1.default.empty(endpoint)) {
|
|
2215
|
+
return endpoint;
|
|
2216
|
+
}
|
|
2217
|
+
if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
|
|
2218
|
+
return endpointMap[regionId];
|
|
2219
|
+
}
|
|
2220
|
+
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2221
|
+
}
|
|
2222
|
+
async addIpWithOptions(request, runtime) {
|
|
1960
2223
|
tea_util_1.default.validateModel(request);
|
|
1961
|
-
|
|
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
|
+
}
|
|
2237
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
2250
|
+
});
|
|
2251
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
1962
2252
|
}
|
|
1963
|
-
async
|
|
2253
|
+
async addIp(request) {
|
|
1964
2254
|
let runtime = new $Util.RuntimeOptions({});
|
|
1965
|
-
return await this.
|
|
2255
|
+
return await this.addIpWithOptions(request, runtime);
|
|
1966
2256
|
}
|
|
1967
2257
|
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
1968
2258
|
tea_util_1.default.validateModel(request);
|
|
1969
|
-
|
|
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({}));
|
|
1970
2281
|
}
|
|
1971
2282
|
async checkAccessLogAuth(request) {
|
|
1972
2283
|
let runtime = new $Util.RuntimeOptions({});
|
|
1973
2284
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
1974
2285
|
}
|
|
1975
|
-
|
|
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
|
+
*/
|
|
2295
|
+
async checkGrantWithOptions(request, runtime) {
|
|
1976
2296
|
tea_util_1.default.validateModel(request);
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
2297
|
+
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
2298
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2299
|
+
query: openapi_util_1.default.query(query),
|
|
2300
|
+
});
|
|
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
|
+
*/
|
|
2322
|
+
async checkGrant(request) {
|
|
1980
2323
|
let runtime = new $Util.RuntimeOptions({});
|
|
1981
|
-
return await this.
|
|
2324
|
+
return await this.checkGrantWithOptions(request, runtime);
|
|
1982
2325
|
}
|
|
1983
|
-
async
|
|
2326
|
+
async configSchedruleOnDemandWithOptions(request, runtime) {
|
|
1984
2327
|
tea_util_1.default.validateModel(request);
|
|
1985
|
-
|
|
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
|
+
}
|
|
2365
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
2378
|
+
});
|
|
2379
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
1986
2380
|
}
|
|
1987
|
-
async
|
|
2381
|
+
async configSchedruleOnDemand(request) {
|
|
1988
2382
|
let runtime = new $Util.RuntimeOptions({});
|
|
1989
|
-
return await this.
|
|
2383
|
+
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
1990
2384
|
}
|
|
1991
|
-
async
|
|
2385
|
+
async createSchedruleOnDemandWithOptions(request, runtime) {
|
|
1992
2386
|
tea_util_1.default.validateModel(request);
|
|
1993
|
-
|
|
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
|
+
}
|
|
2424
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
2437
|
+
});
|
|
2438
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
1994
2439
|
}
|
|
1995
|
-
async
|
|
2440
|
+
async createSchedruleOnDemand(request) {
|
|
1996
2441
|
let runtime = new $Util.RuntimeOptions({});
|
|
1997
|
-
return await this.
|
|
2442
|
+
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
1998
2443
|
}
|
|
1999
|
-
|
|
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
|
+
*/
|
|
2454
|
+
async deleteBlackholeWithOptions(request, runtime) {
|
|
2000
2455
|
tea_util_1.default.validateModel(request);
|
|
2001
|
-
|
|
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
|
+
}
|
|
2469
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2470
|
+
query: openapi_util_1.default.query(query),
|
|
2471
|
+
});
|
|
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
|
+
*/
|
|
2494
|
+
async deleteBlackhole(request) {
|
|
2495
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2496
|
+
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
2002
2497
|
}
|
|
2003
|
-
|
|
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
|
+
*/
|
|
2506
|
+
async deleteIpWithOptions(request, runtime) {
|
|
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
|
+
}
|
|
2521
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2522
|
+
query: openapi_util_1.default.query(query),
|
|
2523
|
+
});
|
|
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
|
+
*/
|
|
2544
|
+
async deleteIp(request) {
|
|
2004
2545
|
let runtime = new $Util.RuntimeOptions({});
|
|
2005
|
-
return await this.
|
|
2546
|
+
return await this.deleteIpWithOptions(request, runtime);
|
|
2006
2547
|
}
|
|
2007
|
-
async
|
|
2548
|
+
async deleteSchedruleOnDemandWithOptions(request, runtime) {
|
|
2008
2549
|
tea_util_1.default.validateModel(request);
|
|
2009
|
-
|
|
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
|
+
}
|
|
2560
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
2573
|
+
});
|
|
2574
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
2010
2575
|
}
|
|
2011
|
-
async
|
|
2576
|
+
async deleteSchedruleOnDemand(request) {
|
|
2012
2577
|
let runtime = new $Util.RuntimeOptions({});
|
|
2013
|
-
return await this.
|
|
2578
|
+
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
2014
2579
|
}
|
|
2015
|
-
|
|
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
|
+
*/
|
|
2587
|
+
async describeDdosEventWithOptions(request, runtime) {
|
|
2016
2588
|
tea_util_1.default.validateModel(request);
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
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
|
+
}
|
|
2614
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2615
|
+
query: openapi_util_1.default.query(query),
|
|
2616
|
+
});
|
|
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
|
+
*/
|
|
2636
|
+
async describeDdosEvent(request) {
|
|
2020
2637
|
let runtime = new $Util.RuntimeOptions({});
|
|
2021
|
-
return await this.
|
|
2638
|
+
return await this.describeDdosEventWithOptions(request, runtime);
|
|
2022
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
|
+
*/
|
|
2023
2647
|
async describeExcpetionCountWithOptions(request, runtime) {
|
|
2024
2648
|
tea_util_1.default.validateModel(request);
|
|
2025
|
-
|
|
2026
|
-
|
|
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
|
+
}
|
|
2656
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2657
|
+
query: openapi_util_1.default.query(query),
|
|
2658
|
+
});
|
|
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
|
+
*/
|
|
2027
2678
|
async describeExcpetionCount(request) {
|
|
2028
2679
|
let runtime = new $Util.RuntimeOptions({});
|
|
2029
2680
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
2030
2681
|
}
|
|
2031
|
-
|
|
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
|
+
*/
|
|
2692
|
+
async describeInstanceListWithOptions(request, runtime) {
|
|
2032
2693
|
tea_util_1.default.validateModel(request);
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
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
|
+
}
|
|
2734
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2735
|
+
query: openapi_util_1.default.query(query),
|
|
2736
|
+
});
|
|
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
|
+
*/
|
|
2759
|
+
async describeInstanceList(request) {
|
|
2036
2760
|
let runtime = new $Util.RuntimeOptions({});
|
|
2037
|
-
return await this.
|
|
2761
|
+
return await this.describeInstanceListWithOptions(request, runtime);
|
|
2038
2762
|
}
|
|
2039
|
-
async
|
|
2763
|
+
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
2040
2764
|
tea_util_1.default.validateModel(request);
|
|
2041
|
-
|
|
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
|
+
}
|
|
2775
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2776
|
+
query: openapi_util_1.default.query(query),
|
|
2777
|
+
});
|
|
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({}));
|
|
2042
2790
|
}
|
|
2043
|
-
async
|
|
2791
|
+
async describeInstanceSpecs(request) {
|
|
2044
2792
|
let runtime = new $Util.RuntimeOptions({});
|
|
2045
|
-
return await this.
|
|
2793
|
+
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
2046
2794
|
}
|
|
2047
|
-
|
|
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
|
+
*/
|
|
2802
|
+
async describeOnDemandDdosEventWithOptions(request, runtime) {
|
|
2048
2803
|
tea_util_1.default.validateModel(request);
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
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
|
+
}
|
|
2829
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2830
|
+
query: openapi_util_1.default.query(query),
|
|
2831
|
+
});
|
|
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
|
+
*/
|
|
2851
|
+
async describeOnDemandDdosEvent(request) {
|
|
2052
2852
|
let runtime = new $Util.RuntimeOptions({});
|
|
2053
|
-
return await this.
|
|
2853
|
+
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
2054
2854
|
}
|
|
2055
|
-
async
|
|
2855
|
+
async describeOnDemandInstanceStatusWithOptions(request, runtime) {
|
|
2056
2856
|
tea_util_1.default.validateModel(request);
|
|
2057
|
-
|
|
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
|
+
}
|
|
2864
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
2877
|
+
});
|
|
2878
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
2058
2879
|
}
|
|
2059
|
-
async
|
|
2880
|
+
async describeOnDemandInstanceStatus(request) {
|
|
2060
2881
|
let runtime = new $Util.RuntimeOptions({});
|
|
2061
|
-
return await this.
|
|
2882
|
+
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
2062
2883
|
}
|
|
2063
|
-
|
|
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
|
+
*/
|
|
2891
|
+
async describeOpEntitiesWithOptions(request, runtime) {
|
|
2064
2892
|
tea_util_1.default.validateModel(request);
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
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
|
+
}
|
|
2921
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2922
|
+
query: openapi_util_1.default.query(query),
|
|
2923
|
+
});
|
|
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
|
+
*/
|
|
2943
|
+
async describeOpEntities(request) {
|
|
2068
2944
|
let runtime = new $Util.RuntimeOptions({});
|
|
2069
|
-
return await this.
|
|
2945
|
+
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
2070
2946
|
}
|
|
2071
|
-
|
|
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
|
+
*/
|
|
2954
|
+
async describePackIpListWithOptions(request, runtime) {
|
|
2072
2955
|
tea_util_1.default.validateModel(request);
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
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
|
+
}
|
|
2981
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2982
|
+
query: openapi_util_1.default.query(query),
|
|
2983
|
+
});
|
|
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
|
+
*/
|
|
3003
|
+
async describePackIpList(request) {
|
|
2076
3004
|
let runtime = new $Util.RuntimeOptions({});
|
|
2077
|
-
return await this.
|
|
3005
|
+
return await this.describePackIpListWithOptions(request, runtime);
|
|
2078
3006
|
}
|
|
2079
|
-
async
|
|
3007
|
+
async describeRegionsWithOptions(request, runtime) {
|
|
2080
3008
|
tea_util_1.default.validateModel(request);
|
|
2081
|
-
|
|
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
|
+
}
|
|
3016
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
3029
|
+
});
|
|
3030
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
2082
3031
|
}
|
|
2083
|
-
async
|
|
3032
|
+
async describeRegions(request) {
|
|
2084
3033
|
let runtime = new $Util.RuntimeOptions({});
|
|
2085
|
-
return await this.
|
|
3034
|
+
return await this.describeRegionsWithOptions(request, runtime);
|
|
2086
3035
|
}
|
|
2087
|
-
|
|
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) {
|
|
2088
3045
|
tea_util_1.default.validateModel(request);
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
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
|
+
}
|
|
3074
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3075
|
+
query: openapi_util_1.default.query(query),
|
|
3076
|
+
});
|
|
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",
|
|
3087
|
+
});
|
|
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) {
|
|
2092
3098
|
let runtime = new $Util.RuntimeOptions({});
|
|
2093
|
-
return await this.
|
|
3099
|
+
return await this.describeTrafficWithOptions(request, runtime);
|
|
2094
3100
|
}
|
|
2095
|
-
async
|
|
3101
|
+
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
2096
3102
|
tea_util_1.default.validateModel(request);
|
|
2097
|
-
|
|
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
|
+
}
|
|
3110
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
3123
|
+
});
|
|
3124
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
2098
3125
|
}
|
|
2099
|
-
async
|
|
3126
|
+
async getSlsOpenStatus(request) {
|
|
2100
3127
|
let runtime = new $Util.RuntimeOptions({});
|
|
2101
|
-
return await this.
|
|
3128
|
+
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
2102
3129
|
}
|
|
2103
|
-
async
|
|
3130
|
+
async listOpenedAccessLogInstancesWithOptions(request, runtime) {
|
|
2104
3131
|
tea_util_1.default.validateModel(request);
|
|
2105
|
-
|
|
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
|
+
}
|
|
3142
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3143
|
+
query: openapi_util_1.default.query(query),
|
|
3144
|
+
});
|
|
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({}));
|
|
2106
3157
|
}
|
|
2107
|
-
async
|
|
3158
|
+
async listOpenedAccessLogInstances(request) {
|
|
2108
3159
|
let runtime = new $Util.RuntimeOptions({});
|
|
2109
|
-
return await this.
|
|
3160
|
+
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
2110
3161
|
}
|
|
2111
|
-
async
|
|
3162
|
+
async listTagKeysWithOptions(request, runtime) {
|
|
2112
3163
|
tea_util_1.default.validateModel(request);
|
|
2113
|
-
|
|
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
|
+
}
|
|
3180
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
3193
|
+
});
|
|
3194
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
2114
3195
|
}
|
|
2115
|
-
async
|
|
3196
|
+
async listTagKeys(request) {
|
|
2116
3197
|
let runtime = new $Util.RuntimeOptions({});
|
|
2117
|
-
return await this.
|
|
3198
|
+
return await this.listTagKeysWithOptions(request, runtime);
|
|
2118
3199
|
}
|
|
2119
|
-
|
|
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
|
+
*/
|
|
3208
|
+
async listTagResourcesWithOptions(request, runtime) {
|
|
2120
3209
|
tea_util_1.default.validateModel(request);
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
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
|
+
}
|
|
3229
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3230
|
+
query: openapi_util_1.default.query(query),
|
|
3231
|
+
});
|
|
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
|
+
*/
|
|
3252
|
+
async listTagResources(request) {
|
|
2124
3253
|
let runtime = new $Util.RuntimeOptions({});
|
|
2125
|
-
return await this.
|
|
3254
|
+
return await this.listTagResourcesWithOptions(request, runtime);
|
|
2126
3255
|
}
|
|
2127
|
-
|
|
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
|
+
*/
|
|
3263
|
+
async modifyRemarkWithOptions(request, runtime) {
|
|
2128
3264
|
tea_util_1.default.validateModel(request);
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
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
|
+
}
|
|
3278
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3279
|
+
query: openapi_util_1.default.query(query),
|
|
3280
|
+
});
|
|
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
|
+
*/
|
|
3300
|
+
async modifyRemark(request) {
|
|
2132
3301
|
let runtime = new $Util.RuntimeOptions({});
|
|
2133
|
-
return await this.
|
|
3302
|
+
return await this.modifyRemarkWithOptions(request, runtime);
|
|
2134
3303
|
}
|
|
2135
|
-
async
|
|
3304
|
+
async querySchedruleOnDemandWithOptions(request, runtime) {
|
|
2136
3305
|
tea_util_1.default.validateModel(request);
|
|
2137
|
-
|
|
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
|
+
}
|
|
3313
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
3326
|
+
});
|
|
3327
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
2138
3328
|
}
|
|
2139
|
-
async
|
|
3329
|
+
async querySchedruleOnDemand(request) {
|
|
2140
3330
|
let runtime = new $Util.RuntimeOptions({});
|
|
2141
|
-
return await this.
|
|
3331
|
+
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
2142
3332
|
}
|
|
2143
|
-
async
|
|
3333
|
+
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
2144
3334
|
tea_util_1.default.validateModel(request);
|
|
2145
|
-
|
|
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
|
+
}
|
|
3345
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
3358
|
+
});
|
|
3359
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
2146
3360
|
}
|
|
2147
|
-
async
|
|
3361
|
+
async setInstanceModeOnDemand(request) {
|
|
2148
3362
|
let runtime = new $Util.RuntimeOptions({});
|
|
2149
|
-
return await this.
|
|
3363
|
+
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
2150
3364
|
}
|
|
2151
|
-
|
|
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
|
+
*/
|
|
3373
|
+
async tagResourcesWithOptions(request, runtime) {
|
|
2152
3374
|
tea_util_1.default.validateModel(request);
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
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
|
+
}
|
|
3391
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3392
|
+
query: openapi_util_1.default.query(query),
|
|
3393
|
+
});
|
|
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
|
+
*/
|
|
3414
|
+
async tagResources(request) {
|
|
2156
3415
|
let runtime = new $Util.RuntimeOptions({});
|
|
2157
|
-
return await this.
|
|
3416
|
+
return await this.tagResourcesWithOptions(request, runtime);
|
|
2158
3417
|
}
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
3418
|
+
async untagResourcesWithOptions(request, runtime) {
|
|
3419
|
+
tea_util_1.default.validateModel(request);
|
|
3420
|
+
let query = {};
|
|
3421
|
+
if (!tea_util_1.default.isUnset(request.all)) {
|
|
3422
|
+
query["All"] = request.all;
|
|
2162
3423
|
}
|
|
2163
|
-
if (!tea_util_1.default.isUnset(
|
|
2164
|
-
|
|
3424
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3425
|
+
query["RegionId"] = request.regionId;
|
|
2165
3426
|
}
|
|
2166
|
-
|
|
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
|
+
}
|
|
3439
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
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",
|
|
3452
|
+
});
|
|
3453
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
3454
|
+
}
|
|
3455
|
+
async untagResources(request) {
|
|
3456
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3457
|
+
return await this.untagResourcesWithOptions(request, runtime);
|
|
2167
3458
|
}
|
|
2168
3459
|
}
|
|
2169
3460
|
exports.default = Client;
|