@alicloud/cloudfw20171207 1.2.9 → 1.3.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/dist/client.d.ts +424 -0
- package/dist/client.js +1040 -70
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1340 -100
package/src/client.ts
CHANGED
|
@@ -350,6 +350,123 @@ export class BatchCopyVpcFirewallControlPolicyResponse extends $tea.Model {
|
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
+
export class CreateNatFirewallControlPolicyRequest extends $tea.Model {
|
|
354
|
+
aclAction?: string;
|
|
355
|
+
applicationNameList?: string[];
|
|
356
|
+
description?: string;
|
|
357
|
+
destPort?: string;
|
|
358
|
+
destPortGroup?: string;
|
|
359
|
+
destPortType?: string;
|
|
360
|
+
destination?: string;
|
|
361
|
+
destinationType?: string;
|
|
362
|
+
direction?: string;
|
|
363
|
+
domainResolveType?: number;
|
|
364
|
+
ipVersion?: string;
|
|
365
|
+
lang?: string;
|
|
366
|
+
natGatewayId?: string;
|
|
367
|
+
newOrder?: string;
|
|
368
|
+
proto?: string;
|
|
369
|
+
release?: string;
|
|
370
|
+
source?: string;
|
|
371
|
+
sourceType?: string;
|
|
372
|
+
static names(): { [key: string]: string } {
|
|
373
|
+
return {
|
|
374
|
+
aclAction: 'AclAction',
|
|
375
|
+
applicationNameList: 'ApplicationNameList',
|
|
376
|
+
description: 'Description',
|
|
377
|
+
destPort: 'DestPort',
|
|
378
|
+
destPortGroup: 'DestPortGroup',
|
|
379
|
+
destPortType: 'DestPortType',
|
|
380
|
+
destination: 'Destination',
|
|
381
|
+
destinationType: 'DestinationType',
|
|
382
|
+
direction: 'Direction',
|
|
383
|
+
domainResolveType: 'DomainResolveType',
|
|
384
|
+
ipVersion: 'IpVersion',
|
|
385
|
+
lang: 'Lang',
|
|
386
|
+
natGatewayId: 'NatGatewayId',
|
|
387
|
+
newOrder: 'NewOrder',
|
|
388
|
+
proto: 'Proto',
|
|
389
|
+
release: 'Release',
|
|
390
|
+
source: 'Source',
|
|
391
|
+
sourceType: 'SourceType',
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
static types(): { [key: string]: any } {
|
|
396
|
+
return {
|
|
397
|
+
aclAction: 'string',
|
|
398
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
399
|
+
description: 'string',
|
|
400
|
+
destPort: 'string',
|
|
401
|
+
destPortGroup: 'string',
|
|
402
|
+
destPortType: 'string',
|
|
403
|
+
destination: 'string',
|
|
404
|
+
destinationType: 'string',
|
|
405
|
+
direction: 'string',
|
|
406
|
+
domainResolveType: 'number',
|
|
407
|
+
ipVersion: 'string',
|
|
408
|
+
lang: 'string',
|
|
409
|
+
natGatewayId: 'string',
|
|
410
|
+
newOrder: 'string',
|
|
411
|
+
proto: 'string',
|
|
412
|
+
release: 'string',
|
|
413
|
+
source: 'string',
|
|
414
|
+
sourceType: 'string',
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
constructor(map?: { [key: string]: any }) {
|
|
419
|
+
super(map);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export class CreateNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
424
|
+
aclUuid?: string;
|
|
425
|
+
requestId?: string;
|
|
426
|
+
static names(): { [key: string]: string } {
|
|
427
|
+
return {
|
|
428
|
+
aclUuid: 'AclUuid',
|
|
429
|
+
requestId: 'RequestId',
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
static types(): { [key: string]: any } {
|
|
434
|
+
return {
|
|
435
|
+
aclUuid: 'string',
|
|
436
|
+
requestId: 'string',
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
constructor(map?: { [key: string]: any }) {
|
|
441
|
+
super(map);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export class CreateNatFirewallControlPolicyResponse extends $tea.Model {
|
|
446
|
+
headers: { [key: string]: string };
|
|
447
|
+
statusCode: number;
|
|
448
|
+
body: CreateNatFirewallControlPolicyResponseBody;
|
|
449
|
+
static names(): { [key: string]: string } {
|
|
450
|
+
return {
|
|
451
|
+
headers: 'headers',
|
|
452
|
+
statusCode: 'statusCode',
|
|
453
|
+
body: 'body',
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
static types(): { [key: string]: any } {
|
|
458
|
+
return {
|
|
459
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
460
|
+
statusCode: 'number',
|
|
461
|
+
body: CreateNatFirewallControlPolicyResponseBody,
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
constructor(map?: { [key: string]: any }) {
|
|
466
|
+
super(map);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
353
470
|
export class CreateTrFirewallV2Request extends $tea.Model {
|
|
354
471
|
cenId?: string;
|
|
355
472
|
firewallDescription?: string;
|
|
@@ -1146,6 +1263,78 @@ export class DeleteInstanceMembersResponse extends $tea.Model {
|
|
|
1146
1263
|
}
|
|
1147
1264
|
}
|
|
1148
1265
|
|
|
1266
|
+
export class DeleteNatFirewallControlPolicyRequest extends $tea.Model {
|
|
1267
|
+
aclUuid?: string;
|
|
1268
|
+
direction?: string;
|
|
1269
|
+
lang?: string;
|
|
1270
|
+
natGatewayId?: string;
|
|
1271
|
+
static names(): { [key: string]: string } {
|
|
1272
|
+
return {
|
|
1273
|
+
aclUuid: 'AclUuid',
|
|
1274
|
+
direction: 'Direction',
|
|
1275
|
+
lang: 'Lang',
|
|
1276
|
+
natGatewayId: 'NatGatewayId',
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
static types(): { [key: string]: any } {
|
|
1281
|
+
return {
|
|
1282
|
+
aclUuid: 'string',
|
|
1283
|
+
direction: 'string',
|
|
1284
|
+
lang: 'string',
|
|
1285
|
+
natGatewayId: 'string',
|
|
1286
|
+
};
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
constructor(map?: { [key: string]: any }) {
|
|
1290
|
+
super(map);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
export class DeleteNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
1295
|
+
requestId?: string;
|
|
1296
|
+
static names(): { [key: string]: string } {
|
|
1297
|
+
return {
|
|
1298
|
+
requestId: 'RequestId',
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
static types(): { [key: string]: any } {
|
|
1303
|
+
return {
|
|
1304
|
+
requestId: 'string',
|
|
1305
|
+
};
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
constructor(map?: { [key: string]: any }) {
|
|
1309
|
+
super(map);
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export class DeleteNatFirewallControlPolicyResponse extends $tea.Model {
|
|
1314
|
+
headers: { [key: string]: string };
|
|
1315
|
+
statusCode: number;
|
|
1316
|
+
body: DeleteNatFirewallControlPolicyResponseBody;
|
|
1317
|
+
static names(): { [key: string]: string } {
|
|
1318
|
+
return {
|
|
1319
|
+
headers: 'headers',
|
|
1320
|
+
statusCode: 'statusCode',
|
|
1321
|
+
body: 'body',
|
|
1322
|
+
};
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
static types(): { [key: string]: any } {
|
|
1326
|
+
return {
|
|
1327
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1328
|
+
statusCode: 'number',
|
|
1329
|
+
body: DeleteNatFirewallControlPolicyResponseBody,
|
|
1330
|
+
};
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
constructor(map?: { [key: string]: any }) {
|
|
1334
|
+
super(map);
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1149
1338
|
export class DeleteTrFirewallV2Request extends $tea.Model {
|
|
1150
1339
|
firewallId?: string;
|
|
1151
1340
|
lang?: string;
|
|
@@ -2220,56 +2409,50 @@ export class DescribeInvadeEventListResponse extends $tea.Model {
|
|
|
2220
2409
|
}
|
|
2221
2410
|
}
|
|
2222
2411
|
|
|
2223
|
-
export class
|
|
2224
|
-
|
|
2225
|
-
|
|
2412
|
+
export class DescribeNatFirewallControlPolicyRequest extends $tea.Model {
|
|
2413
|
+
aclAction?: string;
|
|
2414
|
+
aclUuid?: string;
|
|
2226
2415
|
currentPage?: string;
|
|
2227
|
-
|
|
2228
|
-
|
|
2416
|
+
description?: string;
|
|
2417
|
+
destination?: string;
|
|
2418
|
+
direction?: string;
|
|
2229
2419
|
lang?: string;
|
|
2230
|
-
|
|
2420
|
+
natGatewayId?: string;
|
|
2231
2421
|
pageSize?: string;
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
sort?: string;
|
|
2236
|
-
startTime?: string;
|
|
2237
|
-
tagIdNew?: string;
|
|
2422
|
+
proto?: string;
|
|
2423
|
+
release?: string;
|
|
2424
|
+
source?: string;
|
|
2238
2425
|
static names(): { [key: string]: string } {
|
|
2239
2426
|
return {
|
|
2240
|
-
|
|
2241
|
-
|
|
2427
|
+
aclAction: 'AclAction',
|
|
2428
|
+
aclUuid: 'AclUuid',
|
|
2242
2429
|
currentPage: 'CurrentPage',
|
|
2243
|
-
|
|
2244
|
-
|
|
2430
|
+
description: 'Description',
|
|
2431
|
+
destination: 'Destination',
|
|
2432
|
+
direction: 'Direction',
|
|
2245
2433
|
lang: 'Lang',
|
|
2246
|
-
|
|
2434
|
+
natGatewayId: 'NatGatewayId',
|
|
2247
2435
|
pageSize: 'PageSize',
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
sort: 'Sort',
|
|
2252
|
-
startTime: 'StartTime',
|
|
2253
|
-
tagIdNew: 'TagIdNew',
|
|
2436
|
+
proto: 'Proto',
|
|
2437
|
+
release: 'Release',
|
|
2438
|
+
source: 'Source',
|
|
2254
2439
|
};
|
|
2255
2440
|
}
|
|
2256
2441
|
|
|
2257
2442
|
static types(): { [key: string]: any } {
|
|
2258
2443
|
return {
|
|
2259
|
-
|
|
2260
|
-
|
|
2444
|
+
aclAction: 'string',
|
|
2445
|
+
aclUuid: 'string',
|
|
2261
2446
|
currentPage: 'string',
|
|
2262
|
-
|
|
2263
|
-
|
|
2447
|
+
description: 'string',
|
|
2448
|
+
destination: 'string',
|
|
2449
|
+
direction: 'string',
|
|
2264
2450
|
lang: 'string',
|
|
2265
|
-
|
|
2451
|
+
natGatewayId: 'string',
|
|
2266
2452
|
pageSize: 'string',
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
sort: 'string',
|
|
2271
|
-
startTime: 'string',
|
|
2272
|
-
tagIdNew: 'string',
|
|
2453
|
+
proto: 'string',
|
|
2454
|
+
release: 'string',
|
|
2455
|
+
source: 'string',
|
|
2273
2456
|
};
|
|
2274
2457
|
}
|
|
2275
2458
|
|
|
@@ -2278,13 +2461,13 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
2278
2461
|
}
|
|
2279
2462
|
}
|
|
2280
2463
|
|
|
2281
|
-
export class
|
|
2282
|
-
|
|
2464
|
+
export class DescribeNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
2465
|
+
policys?: DescribeNatFirewallControlPolicyResponseBodyPolicys[];
|
|
2283
2466
|
requestId?: string;
|
|
2284
|
-
totalCount?:
|
|
2467
|
+
totalCount?: string;
|
|
2285
2468
|
static names(): { [key: string]: string } {
|
|
2286
2469
|
return {
|
|
2287
|
-
|
|
2470
|
+
policys: 'Policys',
|
|
2288
2471
|
requestId: 'RequestId',
|
|
2289
2472
|
totalCount: 'TotalCount',
|
|
2290
2473
|
};
|
|
@@ -2292,9 +2475,9 @@ export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
|
|
|
2292
2475
|
|
|
2293
2476
|
static types(): { [key: string]: any } {
|
|
2294
2477
|
return {
|
|
2295
|
-
|
|
2478
|
+
policys: { 'type': 'array', 'itemType': DescribeNatFirewallControlPolicyResponseBodyPolicys },
|
|
2296
2479
|
requestId: 'string',
|
|
2297
|
-
totalCount: '
|
|
2480
|
+
totalCount: 'string',
|
|
2298
2481
|
};
|
|
2299
2482
|
}
|
|
2300
2483
|
|
|
@@ -2303,10 +2486,10 @@ export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
|
|
|
2303
2486
|
}
|
|
2304
2487
|
}
|
|
2305
2488
|
|
|
2306
|
-
export class
|
|
2489
|
+
export class DescribeNatFirewallControlPolicyResponse extends $tea.Model {
|
|
2307
2490
|
headers: { [key: string]: string };
|
|
2308
2491
|
statusCode: number;
|
|
2309
|
-
body:
|
|
2492
|
+
body: DescribeNatFirewallControlPolicyResponseBody;
|
|
2310
2493
|
static names(): { [key: string]: string } {
|
|
2311
2494
|
return {
|
|
2312
2495
|
headers: 'headers',
|
|
@@ -2319,7 +2502,7 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
|
|
|
2319
2502
|
return {
|
|
2320
2503
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2321
2504
|
statusCode: 'number',
|
|
2322
|
-
body:
|
|
2505
|
+
body: DescribeNatFirewallControlPolicyResponseBody,
|
|
2323
2506
|
};
|
|
2324
2507
|
}
|
|
2325
2508
|
|
|
@@ -2328,23 +2511,209 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
|
|
|
2328
2511
|
}
|
|
2329
2512
|
}
|
|
2330
2513
|
|
|
2331
|
-
export class
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
domain?: string;
|
|
2335
|
-
endTime?: string;
|
|
2514
|
+
export class DescribeNatFirewallPolicyPriorUsedRequest extends $tea.Model {
|
|
2515
|
+
direction?: string;
|
|
2516
|
+
ipVersion?: string;
|
|
2336
2517
|
lang?: string;
|
|
2337
|
-
|
|
2338
|
-
pageSize?: string;
|
|
2339
|
-
publicIP?: string;
|
|
2340
|
-
sort?: string;
|
|
2341
|
-
startTime?: string;
|
|
2342
|
-
tagIdNew?: string;
|
|
2518
|
+
natGatewayId?: string;
|
|
2343
2519
|
static names(): { [key: string]: string } {
|
|
2344
2520
|
return {
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2521
|
+
direction: 'Direction',
|
|
2522
|
+
ipVersion: 'IpVersion',
|
|
2523
|
+
lang: 'Lang',
|
|
2524
|
+
natGatewayId: 'NatGatewayId',
|
|
2525
|
+
};
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
static types(): { [key: string]: any } {
|
|
2529
|
+
return {
|
|
2530
|
+
direction: 'string',
|
|
2531
|
+
ipVersion: 'string',
|
|
2532
|
+
lang: 'string',
|
|
2533
|
+
natGatewayId: 'string',
|
|
2534
|
+
};
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
constructor(map?: { [key: string]: any }) {
|
|
2538
|
+
super(map);
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
export class DescribeNatFirewallPolicyPriorUsedResponseBody extends $tea.Model {
|
|
2543
|
+
end?: number;
|
|
2544
|
+
requestId?: string;
|
|
2545
|
+
start?: number;
|
|
2546
|
+
static names(): { [key: string]: string } {
|
|
2547
|
+
return {
|
|
2548
|
+
end: 'End',
|
|
2549
|
+
requestId: 'RequestId',
|
|
2550
|
+
start: 'Start',
|
|
2551
|
+
};
|
|
2552
|
+
}
|
|
2553
|
+
|
|
2554
|
+
static types(): { [key: string]: any } {
|
|
2555
|
+
return {
|
|
2556
|
+
end: 'number',
|
|
2557
|
+
requestId: 'string',
|
|
2558
|
+
start: 'number',
|
|
2559
|
+
};
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
constructor(map?: { [key: string]: any }) {
|
|
2563
|
+
super(map);
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
export class DescribeNatFirewallPolicyPriorUsedResponse extends $tea.Model {
|
|
2568
|
+
headers: { [key: string]: string };
|
|
2569
|
+
statusCode: number;
|
|
2570
|
+
body: DescribeNatFirewallPolicyPriorUsedResponseBody;
|
|
2571
|
+
static names(): { [key: string]: string } {
|
|
2572
|
+
return {
|
|
2573
|
+
headers: 'headers',
|
|
2574
|
+
statusCode: 'statusCode',
|
|
2575
|
+
body: 'body',
|
|
2576
|
+
};
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
static types(): { [key: string]: any } {
|
|
2580
|
+
return {
|
|
2581
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2582
|
+
statusCode: 'number',
|
|
2583
|
+
body: DescribeNatFirewallPolicyPriorUsedResponseBody,
|
|
2584
|
+
};
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
constructor(map?: { [key: string]: any }) {
|
|
2588
|
+
super(map);
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
2593
|
+
applicationName?: string;
|
|
2594
|
+
categoryId?: string;
|
|
2595
|
+
currentPage?: string;
|
|
2596
|
+
dstIP?: string;
|
|
2597
|
+
endTime?: string;
|
|
2598
|
+
lang?: string;
|
|
2599
|
+
order?: string;
|
|
2600
|
+
pageSize?: string;
|
|
2601
|
+
port?: string;
|
|
2602
|
+
privateIP?: string;
|
|
2603
|
+
publicIP?: string;
|
|
2604
|
+
sort?: string;
|
|
2605
|
+
startTime?: string;
|
|
2606
|
+
tagIdNew?: string;
|
|
2607
|
+
static names(): { [key: string]: string } {
|
|
2608
|
+
return {
|
|
2609
|
+
applicationName: 'ApplicationName',
|
|
2610
|
+
categoryId: 'CategoryId',
|
|
2611
|
+
currentPage: 'CurrentPage',
|
|
2612
|
+
dstIP: 'DstIP',
|
|
2613
|
+
endTime: 'EndTime',
|
|
2614
|
+
lang: 'Lang',
|
|
2615
|
+
order: 'Order',
|
|
2616
|
+
pageSize: 'PageSize',
|
|
2617
|
+
port: 'Port',
|
|
2618
|
+
privateIP: 'PrivateIP',
|
|
2619
|
+
publicIP: 'PublicIP',
|
|
2620
|
+
sort: 'Sort',
|
|
2621
|
+
startTime: 'StartTime',
|
|
2622
|
+
tagIdNew: 'TagIdNew',
|
|
2623
|
+
};
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
static types(): { [key: string]: any } {
|
|
2627
|
+
return {
|
|
2628
|
+
applicationName: 'string',
|
|
2629
|
+
categoryId: 'string',
|
|
2630
|
+
currentPage: 'string',
|
|
2631
|
+
dstIP: 'string',
|
|
2632
|
+
endTime: 'string',
|
|
2633
|
+
lang: 'string',
|
|
2634
|
+
order: 'string',
|
|
2635
|
+
pageSize: 'string',
|
|
2636
|
+
port: 'string',
|
|
2637
|
+
privateIP: 'string',
|
|
2638
|
+
publicIP: 'string',
|
|
2639
|
+
sort: 'string',
|
|
2640
|
+
startTime: 'string',
|
|
2641
|
+
tagIdNew: 'string',
|
|
2642
|
+
};
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
constructor(map?: { [key: string]: any }) {
|
|
2646
|
+
super(map);
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
|
|
2651
|
+
dstIPList?: DescribeOutgoingDestinationIPResponseBodyDstIPList[];
|
|
2652
|
+
requestId?: string;
|
|
2653
|
+
totalCount?: number;
|
|
2654
|
+
static names(): { [key: string]: string } {
|
|
2655
|
+
return {
|
|
2656
|
+
dstIPList: 'DstIPList',
|
|
2657
|
+
requestId: 'RequestId',
|
|
2658
|
+
totalCount: 'TotalCount',
|
|
2659
|
+
};
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
static types(): { [key: string]: any } {
|
|
2663
|
+
return {
|
|
2664
|
+
dstIPList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPList },
|
|
2665
|
+
requestId: 'string',
|
|
2666
|
+
totalCount: 'number',
|
|
2667
|
+
};
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
constructor(map?: { [key: string]: any }) {
|
|
2671
|
+
super(map);
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
|
|
2676
|
+
headers: { [key: string]: string };
|
|
2677
|
+
statusCode: number;
|
|
2678
|
+
body: DescribeOutgoingDestinationIPResponseBody;
|
|
2679
|
+
static names(): { [key: string]: string } {
|
|
2680
|
+
return {
|
|
2681
|
+
headers: 'headers',
|
|
2682
|
+
statusCode: 'statusCode',
|
|
2683
|
+
body: 'body',
|
|
2684
|
+
};
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
static types(): { [key: string]: any } {
|
|
2688
|
+
return {
|
|
2689
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2690
|
+
statusCode: 'number',
|
|
2691
|
+
body: DescribeOutgoingDestinationIPResponseBody,
|
|
2692
|
+
};
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
constructor(map?: { [key: string]: any }) {
|
|
2696
|
+
super(map);
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
2701
|
+
categoryId?: string;
|
|
2702
|
+
currentPage?: string;
|
|
2703
|
+
domain?: string;
|
|
2704
|
+
endTime?: string;
|
|
2705
|
+
lang?: string;
|
|
2706
|
+
order?: string;
|
|
2707
|
+
pageSize?: string;
|
|
2708
|
+
publicIP?: string;
|
|
2709
|
+
sort?: string;
|
|
2710
|
+
startTime?: string;
|
|
2711
|
+
tagIdNew?: string;
|
|
2712
|
+
static names(): { [key: string]: string } {
|
|
2713
|
+
return {
|
|
2714
|
+
categoryId: 'CategoryId',
|
|
2715
|
+
currentPage: 'CurrentPage',
|
|
2716
|
+
domain: 'Domain',
|
|
2348
2717
|
endTime: 'EndTime',
|
|
2349
2718
|
lang: 'Lang',
|
|
2350
2719
|
order: 'Order',
|
|
@@ -2706,6 +3075,126 @@ export class DescribeRiskEventGroupResponse extends $tea.Model {
|
|
|
2706
3075
|
}
|
|
2707
3076
|
}
|
|
2708
3077
|
|
|
3078
|
+
export class DescribeRiskEventPayloadRequest extends $tea.Model {
|
|
3079
|
+
dstIP?: string;
|
|
3080
|
+
dstVpcId?: string;
|
|
3081
|
+
endTime?: string;
|
|
3082
|
+
firewallType?: string;
|
|
3083
|
+
publicIP?: string;
|
|
3084
|
+
srcIP?: string;
|
|
3085
|
+
srcVpcId?: string;
|
|
3086
|
+
startTime?: string;
|
|
3087
|
+
UUID?: string;
|
|
3088
|
+
static names(): { [key: string]: string } {
|
|
3089
|
+
return {
|
|
3090
|
+
dstIP: 'DstIP',
|
|
3091
|
+
dstVpcId: 'DstVpcId',
|
|
3092
|
+
endTime: 'EndTime',
|
|
3093
|
+
firewallType: 'FirewallType',
|
|
3094
|
+
publicIP: 'PublicIP',
|
|
3095
|
+
srcIP: 'SrcIP',
|
|
3096
|
+
srcVpcId: 'SrcVpcId',
|
|
3097
|
+
startTime: 'StartTime',
|
|
3098
|
+
UUID: 'UUID',
|
|
3099
|
+
};
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3102
|
+
static types(): { [key: string]: any } {
|
|
3103
|
+
return {
|
|
3104
|
+
dstIP: 'string',
|
|
3105
|
+
dstVpcId: 'string',
|
|
3106
|
+
endTime: 'string',
|
|
3107
|
+
firewallType: 'string',
|
|
3108
|
+
publicIP: 'string',
|
|
3109
|
+
srcIP: 'string',
|
|
3110
|
+
srcVpcId: 'string',
|
|
3111
|
+
startTime: 'string',
|
|
3112
|
+
UUID: 'string',
|
|
3113
|
+
};
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
constructor(map?: { [key: string]: any }) {
|
|
3117
|
+
super(map);
|
|
3118
|
+
}
|
|
3119
|
+
}
|
|
3120
|
+
|
|
3121
|
+
export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
3122
|
+
dstIP?: string;
|
|
3123
|
+
dstPort?: number;
|
|
3124
|
+
dstVpcId?: string;
|
|
3125
|
+
payload?: string;
|
|
3126
|
+
payloadLen?: number;
|
|
3127
|
+
proto?: string;
|
|
3128
|
+
realIp?: string;
|
|
3129
|
+
requestId?: string;
|
|
3130
|
+
srcIP?: string;
|
|
3131
|
+
srcPort?: number;
|
|
3132
|
+
srcVpcId?: string;
|
|
3133
|
+
XForwardFor?: string;
|
|
3134
|
+
static names(): { [key: string]: string } {
|
|
3135
|
+
return {
|
|
3136
|
+
dstIP: 'DstIP',
|
|
3137
|
+
dstPort: 'DstPort',
|
|
3138
|
+
dstVpcId: 'DstVpcId',
|
|
3139
|
+
payload: 'Payload',
|
|
3140
|
+
payloadLen: 'PayloadLen',
|
|
3141
|
+
proto: 'Proto',
|
|
3142
|
+
realIp: 'RealIp',
|
|
3143
|
+
requestId: 'RequestId',
|
|
3144
|
+
srcIP: 'SrcIP',
|
|
3145
|
+
srcPort: 'SrcPort',
|
|
3146
|
+
srcVpcId: 'SrcVpcId',
|
|
3147
|
+
XForwardFor: 'XForwardFor',
|
|
3148
|
+
};
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
static types(): { [key: string]: any } {
|
|
3152
|
+
return {
|
|
3153
|
+
dstIP: 'string',
|
|
3154
|
+
dstPort: 'number',
|
|
3155
|
+
dstVpcId: 'string',
|
|
3156
|
+
payload: 'string',
|
|
3157
|
+
payloadLen: 'number',
|
|
3158
|
+
proto: 'string',
|
|
3159
|
+
realIp: 'string',
|
|
3160
|
+
requestId: 'string',
|
|
3161
|
+
srcIP: 'string',
|
|
3162
|
+
srcPort: 'number',
|
|
3163
|
+
srcVpcId: 'string',
|
|
3164
|
+
XForwardFor: 'string',
|
|
3165
|
+
};
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
constructor(map?: { [key: string]: any }) {
|
|
3169
|
+
super(map);
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
export class DescribeRiskEventPayloadResponse extends $tea.Model {
|
|
3174
|
+
headers: { [key: string]: string };
|
|
3175
|
+
statusCode: number;
|
|
3176
|
+
body: DescribeRiskEventPayloadResponseBody;
|
|
3177
|
+
static names(): { [key: string]: string } {
|
|
3178
|
+
return {
|
|
3179
|
+
headers: 'headers',
|
|
3180
|
+
statusCode: 'statusCode',
|
|
3181
|
+
body: 'body',
|
|
3182
|
+
};
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3185
|
+
static types(): { [key: string]: any } {
|
|
3186
|
+
return {
|
|
3187
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3188
|
+
statusCode: 'number',
|
|
3189
|
+
body: DescribeRiskEventPayloadResponseBody,
|
|
3190
|
+
};
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
constructor(map?: { [key: string]: any }) {
|
|
3194
|
+
super(map);
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
|
|
2709
3198
|
export class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
|
|
2710
3199
|
firewallId?: string;
|
|
2711
3200
|
lang?: string;
|
|
@@ -4647,6 +5136,186 @@ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
|
4647
5136
|
}
|
|
4648
5137
|
}
|
|
4649
5138
|
|
|
5139
|
+
export class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
5140
|
+
aclAction?: string;
|
|
5141
|
+
aclUuid?: string;
|
|
5142
|
+
applicationNameList?: string[];
|
|
5143
|
+
description?: string;
|
|
5144
|
+
destPort?: string;
|
|
5145
|
+
destPortGroup?: string;
|
|
5146
|
+
destPortType?: string;
|
|
5147
|
+
destination?: string;
|
|
5148
|
+
destinationType?: string;
|
|
5149
|
+
domainResolveType?: string;
|
|
5150
|
+
lang?: string;
|
|
5151
|
+
natGatewayId?: string;
|
|
5152
|
+
proto?: string;
|
|
5153
|
+
release?: string;
|
|
5154
|
+
source?: string;
|
|
5155
|
+
sourceType?: string;
|
|
5156
|
+
static names(): { [key: string]: string } {
|
|
5157
|
+
return {
|
|
5158
|
+
aclAction: 'AclAction',
|
|
5159
|
+
aclUuid: 'AclUuid',
|
|
5160
|
+
applicationNameList: 'ApplicationNameList',
|
|
5161
|
+
description: 'Description',
|
|
5162
|
+
destPort: 'DestPort',
|
|
5163
|
+
destPortGroup: 'DestPortGroup',
|
|
5164
|
+
destPortType: 'DestPortType',
|
|
5165
|
+
destination: 'Destination',
|
|
5166
|
+
destinationType: 'DestinationType',
|
|
5167
|
+
domainResolveType: 'DomainResolveType',
|
|
5168
|
+
lang: 'Lang',
|
|
5169
|
+
natGatewayId: 'NatGatewayId',
|
|
5170
|
+
proto: 'Proto',
|
|
5171
|
+
release: 'Release',
|
|
5172
|
+
source: 'Source',
|
|
5173
|
+
sourceType: 'SourceType',
|
|
5174
|
+
};
|
|
5175
|
+
}
|
|
5176
|
+
|
|
5177
|
+
static types(): { [key: string]: any } {
|
|
5178
|
+
return {
|
|
5179
|
+
aclAction: 'string',
|
|
5180
|
+
aclUuid: 'string',
|
|
5181
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
5182
|
+
description: 'string',
|
|
5183
|
+
destPort: 'string',
|
|
5184
|
+
destPortGroup: 'string',
|
|
5185
|
+
destPortType: 'string',
|
|
5186
|
+
destination: 'string',
|
|
5187
|
+
destinationType: 'string',
|
|
5188
|
+
domainResolveType: 'string',
|
|
5189
|
+
lang: 'string',
|
|
5190
|
+
natGatewayId: 'string',
|
|
5191
|
+
proto: 'string',
|
|
5192
|
+
release: 'string',
|
|
5193
|
+
source: 'string',
|
|
5194
|
+
sourceType: 'string',
|
|
5195
|
+
};
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
constructor(map?: { [key: string]: any }) {
|
|
5199
|
+
super(map);
|
|
5200
|
+
}
|
|
5201
|
+
}
|
|
5202
|
+
|
|
5203
|
+
export class ModifyNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
5204
|
+
requestId?: string;
|
|
5205
|
+
static names(): { [key: string]: string } {
|
|
5206
|
+
return {
|
|
5207
|
+
requestId: 'RequestId',
|
|
5208
|
+
};
|
|
5209
|
+
}
|
|
5210
|
+
|
|
5211
|
+
static types(): { [key: string]: any } {
|
|
5212
|
+
return {
|
|
5213
|
+
requestId: 'string',
|
|
5214
|
+
};
|
|
5215
|
+
}
|
|
5216
|
+
|
|
5217
|
+
constructor(map?: { [key: string]: any }) {
|
|
5218
|
+
super(map);
|
|
5219
|
+
}
|
|
5220
|
+
}
|
|
5221
|
+
|
|
5222
|
+
export class ModifyNatFirewallControlPolicyResponse extends $tea.Model {
|
|
5223
|
+
headers: { [key: string]: string };
|
|
5224
|
+
statusCode: number;
|
|
5225
|
+
body: ModifyNatFirewallControlPolicyResponseBody;
|
|
5226
|
+
static names(): { [key: string]: string } {
|
|
5227
|
+
return {
|
|
5228
|
+
headers: 'headers',
|
|
5229
|
+
statusCode: 'statusCode',
|
|
5230
|
+
body: 'body',
|
|
5231
|
+
};
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
static types(): { [key: string]: any } {
|
|
5235
|
+
return {
|
|
5236
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5237
|
+
statusCode: 'number',
|
|
5238
|
+
body: ModifyNatFirewallControlPolicyResponseBody,
|
|
5239
|
+
};
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
constructor(map?: { [key: string]: any }) {
|
|
5243
|
+
super(map);
|
|
5244
|
+
}
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
export class ModifyNatFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
5248
|
+
aclUuid?: string;
|
|
5249
|
+
lang?: string;
|
|
5250
|
+
natGatewayId?: string;
|
|
5251
|
+
newOrder?: number;
|
|
5252
|
+
static names(): { [key: string]: string } {
|
|
5253
|
+
return {
|
|
5254
|
+
aclUuid: 'AclUuid',
|
|
5255
|
+
lang: 'Lang',
|
|
5256
|
+
natGatewayId: 'NatGatewayId',
|
|
5257
|
+
newOrder: 'NewOrder',
|
|
5258
|
+
};
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5261
|
+
static types(): { [key: string]: any } {
|
|
5262
|
+
return {
|
|
5263
|
+
aclUuid: 'string',
|
|
5264
|
+
lang: 'string',
|
|
5265
|
+
natGatewayId: 'string',
|
|
5266
|
+
newOrder: 'number',
|
|
5267
|
+
};
|
|
5268
|
+
}
|
|
5269
|
+
|
|
5270
|
+
constructor(map?: { [key: string]: any }) {
|
|
5271
|
+
super(map);
|
|
5272
|
+
}
|
|
5273
|
+
}
|
|
5274
|
+
|
|
5275
|
+
export class ModifyNatFirewallControlPolicyPositionResponseBody extends $tea.Model {
|
|
5276
|
+
requestId?: string;
|
|
5277
|
+
static names(): { [key: string]: string } {
|
|
5278
|
+
return {
|
|
5279
|
+
requestId: 'RequestId',
|
|
5280
|
+
};
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
static types(): { [key: string]: any } {
|
|
5284
|
+
return {
|
|
5285
|
+
requestId: 'string',
|
|
5286
|
+
};
|
|
5287
|
+
}
|
|
5288
|
+
|
|
5289
|
+
constructor(map?: { [key: string]: any }) {
|
|
5290
|
+
super(map);
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
export class ModifyNatFirewallControlPolicyPositionResponse extends $tea.Model {
|
|
5295
|
+
headers: { [key: string]: string };
|
|
5296
|
+
statusCode: number;
|
|
5297
|
+
body: ModifyNatFirewallControlPolicyPositionResponseBody;
|
|
5298
|
+
static names(): { [key: string]: string } {
|
|
5299
|
+
return {
|
|
5300
|
+
headers: 'headers',
|
|
5301
|
+
statusCode: 'statusCode',
|
|
5302
|
+
body: 'body',
|
|
5303
|
+
};
|
|
5304
|
+
}
|
|
5305
|
+
|
|
5306
|
+
static types(): { [key: string]: any } {
|
|
5307
|
+
return {
|
|
5308
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5309
|
+
statusCode: 'number',
|
|
5310
|
+
body: ModifyNatFirewallControlPolicyPositionResponseBody,
|
|
5311
|
+
};
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
constructor(map?: { [key: string]: any }) {
|
|
5315
|
+
super(map);
|
|
5316
|
+
}
|
|
5317
|
+
}
|
|
5318
|
+
|
|
4650
5319
|
export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
|
|
4651
5320
|
internetSwitch?: string;
|
|
4652
5321
|
lang?: string;
|
|
@@ -5775,15 +6444,18 @@ export class PutEnableFwSwitchRequest extends $tea.Model {
|
|
|
5775
6444
|
}
|
|
5776
6445
|
|
|
5777
6446
|
export class PutEnableFwSwitchResponseBody extends $tea.Model {
|
|
6447
|
+
abnormalResourceStatusList?: PutEnableFwSwitchResponseBodyAbnormalResourceStatusList[];
|
|
5778
6448
|
requestId?: string;
|
|
5779
6449
|
static names(): { [key: string]: string } {
|
|
5780
6450
|
return {
|
|
6451
|
+
abnormalResourceStatusList: 'AbnormalResourceStatusList',
|
|
5781
6452
|
requestId: 'RequestId',
|
|
5782
6453
|
};
|
|
5783
6454
|
}
|
|
5784
6455
|
|
|
5785
6456
|
static types(): { [key: string]: any } {
|
|
5786
6457
|
return {
|
|
6458
|
+
abnormalResourceStatusList: { 'type': 'array', 'itemType': PutEnableFwSwitchResponseBodyAbnormalResourceStatusList },
|
|
5787
6459
|
requestId: 'string',
|
|
5788
6460
|
};
|
|
5789
6461
|
}
|
|
@@ -6427,9 +7099,109 @@ export class DescribeInvadeEventListResponseBodyPageInfo extends $tea.Model {
|
|
|
6427
7099
|
|
|
6428
7100
|
static types(): { [key: string]: any } {
|
|
6429
7101
|
return {
|
|
6430
|
-
currentPage: 'number',
|
|
6431
|
-
pageSize: 'number',
|
|
6432
|
-
totalCount: 'number',
|
|
7102
|
+
currentPage: 'number',
|
|
7103
|
+
pageSize: 'number',
|
|
7104
|
+
totalCount: 'number',
|
|
7105
|
+
};
|
|
7106
|
+
}
|
|
7107
|
+
|
|
7108
|
+
constructor(map?: { [key: string]: any }) {
|
|
7109
|
+
super(map);
|
|
7110
|
+
}
|
|
7111
|
+
}
|
|
7112
|
+
|
|
7113
|
+
export class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
7114
|
+
aclAction?: string;
|
|
7115
|
+
aclUuid?: string;
|
|
7116
|
+
applicationNameList?: string[];
|
|
7117
|
+
createTime?: number;
|
|
7118
|
+
description?: string;
|
|
7119
|
+
destPort?: string;
|
|
7120
|
+
destPortGroup?: string;
|
|
7121
|
+
destPortGroupPorts?: string[];
|
|
7122
|
+
destPortType?: string;
|
|
7123
|
+
destination?: string;
|
|
7124
|
+
destinationGroupCidrs?: string[];
|
|
7125
|
+
destinationGroupType?: string;
|
|
7126
|
+
destinationType?: string;
|
|
7127
|
+
dnsResult?: string;
|
|
7128
|
+
dnsResultTime?: number;
|
|
7129
|
+
domainResolveType?: number;
|
|
7130
|
+
hitLastTime?: number;
|
|
7131
|
+
hitTimes?: number;
|
|
7132
|
+
modifyTime?: number;
|
|
7133
|
+
natGatewayId?: string;
|
|
7134
|
+
order?: number;
|
|
7135
|
+
proto?: string;
|
|
7136
|
+
release?: string;
|
|
7137
|
+
source?: string;
|
|
7138
|
+
sourceGroupCidrs?: string[];
|
|
7139
|
+
sourceGroupType?: string;
|
|
7140
|
+
sourceType?: string;
|
|
7141
|
+
spreadCnt?: string;
|
|
7142
|
+
static names(): { [key: string]: string } {
|
|
7143
|
+
return {
|
|
7144
|
+
aclAction: 'AclAction',
|
|
7145
|
+
aclUuid: 'AclUuid',
|
|
7146
|
+
applicationNameList: 'ApplicationNameList',
|
|
7147
|
+
createTime: 'CreateTime',
|
|
7148
|
+
description: 'Description',
|
|
7149
|
+
destPort: 'DestPort',
|
|
7150
|
+
destPortGroup: 'DestPortGroup',
|
|
7151
|
+
destPortGroupPorts: 'DestPortGroupPorts',
|
|
7152
|
+
destPortType: 'DestPortType',
|
|
7153
|
+
destination: 'Destination',
|
|
7154
|
+
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
7155
|
+
destinationGroupType: 'DestinationGroupType',
|
|
7156
|
+
destinationType: 'DestinationType',
|
|
7157
|
+
dnsResult: 'DnsResult',
|
|
7158
|
+
dnsResultTime: 'DnsResultTime',
|
|
7159
|
+
domainResolveType: 'DomainResolveType',
|
|
7160
|
+
hitLastTime: 'HitLastTime',
|
|
7161
|
+
hitTimes: 'HitTimes',
|
|
7162
|
+
modifyTime: 'ModifyTime',
|
|
7163
|
+
natGatewayId: 'NatGatewayId',
|
|
7164
|
+
order: 'Order',
|
|
7165
|
+
proto: 'Proto',
|
|
7166
|
+
release: 'Release',
|
|
7167
|
+
source: 'Source',
|
|
7168
|
+
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
7169
|
+
sourceGroupType: 'SourceGroupType',
|
|
7170
|
+
sourceType: 'SourceType',
|
|
7171
|
+
spreadCnt: 'SpreadCnt',
|
|
7172
|
+
};
|
|
7173
|
+
}
|
|
7174
|
+
|
|
7175
|
+
static types(): { [key: string]: any } {
|
|
7176
|
+
return {
|
|
7177
|
+
aclAction: 'string',
|
|
7178
|
+
aclUuid: 'string',
|
|
7179
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
7180
|
+
createTime: 'number',
|
|
7181
|
+
description: 'string',
|
|
7182
|
+
destPort: 'string',
|
|
7183
|
+
destPortGroup: 'string',
|
|
7184
|
+
destPortGroupPorts: { 'type': 'array', 'itemType': 'string' },
|
|
7185
|
+
destPortType: 'string',
|
|
7186
|
+
destination: 'string',
|
|
7187
|
+
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
7188
|
+
destinationGroupType: 'string',
|
|
7189
|
+
destinationType: 'string',
|
|
7190
|
+
dnsResult: 'string',
|
|
7191
|
+
dnsResultTime: 'number',
|
|
7192
|
+
domainResolveType: 'number',
|
|
7193
|
+
hitLastTime: 'number',
|
|
7194
|
+
hitTimes: 'number',
|
|
7195
|
+
modifyTime: 'number',
|
|
7196
|
+
natGatewayId: 'string',
|
|
7197
|
+
order: 'number',
|
|
7198
|
+
proto: 'string',
|
|
7199
|
+
release: 'string',
|
|
7200
|
+
source: 'string',
|
|
7201
|
+
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
7202
|
+
sourceGroupType: 'string',
|
|
7203
|
+
sourceType: 'string',
|
|
7204
|
+
spreadCnt: 'string',
|
|
6433
7205
|
};
|
|
6434
7206
|
}
|
|
6435
7207
|
|
|
@@ -8328,6 +9100,31 @@ export class ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList extends $
|
|
|
8328
9100
|
}
|
|
8329
9101
|
}
|
|
8330
9102
|
|
|
9103
|
+
export class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList extends $tea.Model {
|
|
9104
|
+
msg?: string;
|
|
9105
|
+
resource?: string;
|
|
9106
|
+
status?: string;
|
|
9107
|
+
static names(): { [key: string]: string } {
|
|
9108
|
+
return {
|
|
9109
|
+
msg: 'Msg',
|
|
9110
|
+
resource: 'Resource',
|
|
9111
|
+
status: 'Status',
|
|
9112
|
+
};
|
|
9113
|
+
}
|
|
9114
|
+
|
|
9115
|
+
static types(): { [key: string]: any } {
|
|
9116
|
+
return {
|
|
9117
|
+
msg: 'string',
|
|
9118
|
+
resource: 'string',
|
|
9119
|
+
status: 'string',
|
|
9120
|
+
};
|
|
9121
|
+
}
|
|
9122
|
+
|
|
9123
|
+
constructor(map?: { [key: string]: any }) {
|
|
9124
|
+
super(map);
|
|
9125
|
+
}
|
|
9126
|
+
}
|
|
9127
|
+
|
|
8331
9128
|
|
|
8332
9129
|
export default class Client extends OpenApi {
|
|
8333
9130
|
|
|
@@ -8657,6 +9454,103 @@ export default class Client extends OpenApi {
|
|
|
8657
9454
|
return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
8658
9455
|
}
|
|
8659
9456
|
|
|
9457
|
+
async createNatFirewallControlPolicyWithOptions(request: CreateNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatFirewallControlPolicyResponse> {
|
|
9458
|
+
Util.validateModel(request);
|
|
9459
|
+
let query = { };
|
|
9460
|
+
if (!Util.isUnset(request.aclAction)) {
|
|
9461
|
+
query["AclAction"] = request.aclAction;
|
|
9462
|
+
}
|
|
9463
|
+
|
|
9464
|
+
if (!Util.isUnset(request.applicationNameList)) {
|
|
9465
|
+
query["ApplicationNameList"] = request.applicationNameList;
|
|
9466
|
+
}
|
|
9467
|
+
|
|
9468
|
+
if (!Util.isUnset(request.description)) {
|
|
9469
|
+
query["Description"] = request.description;
|
|
9470
|
+
}
|
|
9471
|
+
|
|
9472
|
+
if (!Util.isUnset(request.destPort)) {
|
|
9473
|
+
query["DestPort"] = request.destPort;
|
|
9474
|
+
}
|
|
9475
|
+
|
|
9476
|
+
if (!Util.isUnset(request.destPortGroup)) {
|
|
9477
|
+
query["DestPortGroup"] = request.destPortGroup;
|
|
9478
|
+
}
|
|
9479
|
+
|
|
9480
|
+
if (!Util.isUnset(request.destPortType)) {
|
|
9481
|
+
query["DestPortType"] = request.destPortType;
|
|
9482
|
+
}
|
|
9483
|
+
|
|
9484
|
+
if (!Util.isUnset(request.destination)) {
|
|
9485
|
+
query["Destination"] = request.destination;
|
|
9486
|
+
}
|
|
9487
|
+
|
|
9488
|
+
if (!Util.isUnset(request.destinationType)) {
|
|
9489
|
+
query["DestinationType"] = request.destinationType;
|
|
9490
|
+
}
|
|
9491
|
+
|
|
9492
|
+
if (!Util.isUnset(request.direction)) {
|
|
9493
|
+
query["Direction"] = request.direction;
|
|
9494
|
+
}
|
|
9495
|
+
|
|
9496
|
+
if (!Util.isUnset(request.domainResolveType)) {
|
|
9497
|
+
query["DomainResolveType"] = request.domainResolveType;
|
|
9498
|
+
}
|
|
9499
|
+
|
|
9500
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
9501
|
+
query["IpVersion"] = request.ipVersion;
|
|
9502
|
+
}
|
|
9503
|
+
|
|
9504
|
+
if (!Util.isUnset(request.lang)) {
|
|
9505
|
+
query["Lang"] = request.lang;
|
|
9506
|
+
}
|
|
9507
|
+
|
|
9508
|
+
if (!Util.isUnset(request.natGatewayId)) {
|
|
9509
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
9510
|
+
}
|
|
9511
|
+
|
|
9512
|
+
if (!Util.isUnset(request.newOrder)) {
|
|
9513
|
+
query["NewOrder"] = request.newOrder;
|
|
9514
|
+
}
|
|
9515
|
+
|
|
9516
|
+
if (!Util.isUnset(request.proto)) {
|
|
9517
|
+
query["Proto"] = request.proto;
|
|
9518
|
+
}
|
|
9519
|
+
|
|
9520
|
+
if (!Util.isUnset(request.release)) {
|
|
9521
|
+
query["Release"] = request.release;
|
|
9522
|
+
}
|
|
9523
|
+
|
|
9524
|
+
if (!Util.isUnset(request.source)) {
|
|
9525
|
+
query["Source"] = request.source;
|
|
9526
|
+
}
|
|
9527
|
+
|
|
9528
|
+
if (!Util.isUnset(request.sourceType)) {
|
|
9529
|
+
query["SourceType"] = request.sourceType;
|
|
9530
|
+
}
|
|
9531
|
+
|
|
9532
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9533
|
+
query: OpenApiUtil.query(query),
|
|
9534
|
+
});
|
|
9535
|
+
let params = new $OpenApi.Params({
|
|
9536
|
+
action: "CreateNatFirewallControlPolicy",
|
|
9537
|
+
version: "2017-12-07",
|
|
9538
|
+
protocol: "HTTPS",
|
|
9539
|
+
pathname: "/",
|
|
9540
|
+
method: "POST",
|
|
9541
|
+
authType: "AK",
|
|
9542
|
+
style: "RPC",
|
|
9543
|
+
reqBodyType: "formData",
|
|
9544
|
+
bodyType: "json",
|
|
9545
|
+
});
|
|
9546
|
+
return $tea.cast<CreateNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new CreateNatFirewallControlPolicyResponse({}));
|
|
9547
|
+
}
|
|
9548
|
+
|
|
9549
|
+
async createNatFirewallControlPolicy(request: CreateNatFirewallControlPolicyRequest): Promise<CreateNatFirewallControlPolicyResponse> {
|
|
9550
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9551
|
+
return await this.createNatFirewallControlPolicyWithOptions(request, runtime);
|
|
9552
|
+
}
|
|
9553
|
+
|
|
8660
9554
|
async createTrFirewallV2WithOptions(request: CreateTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<CreateTrFirewallV2Response> {
|
|
8661
9555
|
Util.validateModel(request);
|
|
8662
9556
|
let query = { };
|
|
@@ -9266,6 +10160,47 @@ export default class Client extends OpenApi {
|
|
|
9266
10160
|
return await this.deleteInstanceMembersWithOptions(request, runtime);
|
|
9267
10161
|
}
|
|
9268
10162
|
|
|
10163
|
+
async deleteNatFirewallControlPolicyWithOptions(request: DeleteNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNatFirewallControlPolicyResponse> {
|
|
10164
|
+
Util.validateModel(request);
|
|
10165
|
+
let query = { };
|
|
10166
|
+
if (!Util.isUnset(request.aclUuid)) {
|
|
10167
|
+
query["AclUuid"] = request.aclUuid;
|
|
10168
|
+
}
|
|
10169
|
+
|
|
10170
|
+
if (!Util.isUnset(request.direction)) {
|
|
10171
|
+
query["Direction"] = request.direction;
|
|
10172
|
+
}
|
|
10173
|
+
|
|
10174
|
+
if (!Util.isUnset(request.lang)) {
|
|
10175
|
+
query["Lang"] = request.lang;
|
|
10176
|
+
}
|
|
10177
|
+
|
|
10178
|
+
if (!Util.isUnset(request.natGatewayId)) {
|
|
10179
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10183
|
+
query: OpenApiUtil.query(query),
|
|
10184
|
+
});
|
|
10185
|
+
let params = new $OpenApi.Params({
|
|
10186
|
+
action: "DeleteNatFirewallControlPolicy",
|
|
10187
|
+
version: "2017-12-07",
|
|
10188
|
+
protocol: "HTTPS",
|
|
10189
|
+
pathname: "/",
|
|
10190
|
+
method: "POST",
|
|
10191
|
+
authType: "AK",
|
|
10192
|
+
style: "RPC",
|
|
10193
|
+
reqBodyType: "formData",
|
|
10194
|
+
bodyType: "json",
|
|
10195
|
+
});
|
|
10196
|
+
return $tea.cast<DeleteNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new DeleteNatFirewallControlPolicyResponse({}));
|
|
10197
|
+
}
|
|
10198
|
+
|
|
10199
|
+
async deleteNatFirewallControlPolicy(request: DeleteNatFirewallControlPolicyRequest): Promise<DeleteNatFirewallControlPolicyResponse> {
|
|
10200
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10201
|
+
return await this.deleteNatFirewallControlPolicyWithOptions(request, runtime);
|
|
10202
|
+
}
|
|
10203
|
+
|
|
9269
10204
|
async deleteTrFirewallV2WithOptions(request: DeleteTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<DeleteTrFirewallV2Response> {
|
|
9270
10205
|
Util.validateModel(request);
|
|
9271
10206
|
let query = { };
|
|
@@ -9929,86 +10864,200 @@ export default class Client extends OpenApi {
|
|
|
9929
10864
|
reqBodyType: "formData",
|
|
9930
10865
|
bodyType: "json",
|
|
9931
10866
|
});
|
|
9932
|
-
return $tea.cast<DescribeInternetTrafficTrendResponse>(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
|
|
10867
|
+
return $tea.cast<DescribeInternetTrafficTrendResponse>(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
|
|
10868
|
+
}
|
|
10869
|
+
|
|
10870
|
+
async describeInternetTrafficTrend(request: DescribeInternetTrafficTrendRequest): Promise<DescribeInternetTrafficTrendResponse> {
|
|
10871
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10872
|
+
return await this.describeInternetTrafficTrendWithOptions(request, runtime);
|
|
10873
|
+
}
|
|
10874
|
+
|
|
10875
|
+
async describeInvadeEventListWithOptions(request: DescribeInvadeEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvadeEventListResponse> {
|
|
10876
|
+
Util.validateModel(request);
|
|
10877
|
+
let query = { };
|
|
10878
|
+
if (!Util.isUnset(request.assetsIP)) {
|
|
10879
|
+
query["AssetsIP"] = request.assetsIP;
|
|
10880
|
+
}
|
|
10881
|
+
|
|
10882
|
+
if (!Util.isUnset(request.assetsInstanceId)) {
|
|
10883
|
+
query["AssetsInstanceId"] = request.assetsInstanceId;
|
|
10884
|
+
}
|
|
10885
|
+
|
|
10886
|
+
if (!Util.isUnset(request.assetsInstanceName)) {
|
|
10887
|
+
query["AssetsInstanceName"] = request.assetsInstanceName;
|
|
10888
|
+
}
|
|
10889
|
+
|
|
10890
|
+
if (!Util.isUnset(request.currentPage)) {
|
|
10891
|
+
query["CurrentPage"] = request.currentPage;
|
|
10892
|
+
}
|
|
10893
|
+
|
|
10894
|
+
if (!Util.isUnset(request.endTime)) {
|
|
10895
|
+
query["EndTime"] = request.endTime;
|
|
10896
|
+
}
|
|
10897
|
+
|
|
10898
|
+
if (!Util.isUnset(request.eventKey)) {
|
|
10899
|
+
query["EventKey"] = request.eventKey;
|
|
10900
|
+
}
|
|
10901
|
+
|
|
10902
|
+
if (!Util.isUnset(request.eventName)) {
|
|
10903
|
+
query["EventName"] = request.eventName;
|
|
10904
|
+
}
|
|
10905
|
+
|
|
10906
|
+
if (!Util.isUnset(request.eventUuid)) {
|
|
10907
|
+
query["EventUuid"] = request.eventUuid;
|
|
10908
|
+
}
|
|
10909
|
+
|
|
10910
|
+
if (!Util.isUnset(request.isIgnore)) {
|
|
10911
|
+
query["IsIgnore"] = request.isIgnore;
|
|
10912
|
+
}
|
|
10913
|
+
|
|
10914
|
+
if (!Util.isUnset(request.lang)) {
|
|
10915
|
+
query["Lang"] = request.lang;
|
|
10916
|
+
}
|
|
10917
|
+
|
|
10918
|
+
if (!Util.isUnset(request.memberUid)) {
|
|
10919
|
+
query["MemberUid"] = request.memberUid;
|
|
10920
|
+
}
|
|
10921
|
+
|
|
10922
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
10923
|
+
query["PageSize"] = request.pageSize;
|
|
10924
|
+
}
|
|
10925
|
+
|
|
10926
|
+
if (!Util.isUnset(request.processStatusList)) {
|
|
10927
|
+
query["ProcessStatusList"] = request.processStatusList;
|
|
10928
|
+
}
|
|
10929
|
+
|
|
10930
|
+
if (!Util.isUnset(request.riskLevel)) {
|
|
10931
|
+
query["RiskLevel"] = request.riskLevel;
|
|
10932
|
+
}
|
|
10933
|
+
|
|
10934
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
10935
|
+
query["SourceIp"] = request.sourceIp;
|
|
10936
|
+
}
|
|
10937
|
+
|
|
10938
|
+
if (!Util.isUnset(request.startTime)) {
|
|
10939
|
+
query["StartTime"] = request.startTime;
|
|
10940
|
+
}
|
|
10941
|
+
|
|
10942
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10943
|
+
query: OpenApiUtil.query(query),
|
|
10944
|
+
});
|
|
10945
|
+
let params = new $OpenApi.Params({
|
|
10946
|
+
action: "DescribeInvadeEventList",
|
|
10947
|
+
version: "2017-12-07",
|
|
10948
|
+
protocol: "HTTPS",
|
|
10949
|
+
pathname: "/",
|
|
10950
|
+
method: "POST",
|
|
10951
|
+
authType: "AK",
|
|
10952
|
+
style: "RPC",
|
|
10953
|
+
reqBodyType: "formData",
|
|
10954
|
+
bodyType: "json",
|
|
10955
|
+
});
|
|
10956
|
+
return $tea.cast<DescribeInvadeEventListResponse>(await this.callApi(params, req, runtime), new DescribeInvadeEventListResponse({}));
|
|
9933
10957
|
}
|
|
9934
10958
|
|
|
9935
|
-
async
|
|
10959
|
+
async describeInvadeEventList(request: DescribeInvadeEventListRequest): Promise<DescribeInvadeEventListResponse> {
|
|
9936
10960
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9937
|
-
return await this.
|
|
10961
|
+
return await this.describeInvadeEventListWithOptions(request, runtime);
|
|
9938
10962
|
}
|
|
9939
10963
|
|
|
9940
|
-
async
|
|
10964
|
+
async describeNatFirewallControlPolicyWithOptions(request: DescribeNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNatFirewallControlPolicyResponse> {
|
|
9941
10965
|
Util.validateModel(request);
|
|
9942
10966
|
let query = { };
|
|
9943
|
-
if (!Util.isUnset(request.
|
|
9944
|
-
query["
|
|
9945
|
-
}
|
|
9946
|
-
|
|
9947
|
-
if (!Util.isUnset(request.assetsInstanceId)) {
|
|
9948
|
-
query["AssetsInstanceId"] = request.assetsInstanceId;
|
|
10967
|
+
if (!Util.isUnset(request.aclAction)) {
|
|
10968
|
+
query["AclAction"] = request.aclAction;
|
|
9949
10969
|
}
|
|
9950
10970
|
|
|
9951
|
-
if (!Util.isUnset(request.
|
|
9952
|
-
query["
|
|
10971
|
+
if (!Util.isUnset(request.aclUuid)) {
|
|
10972
|
+
query["AclUuid"] = request.aclUuid;
|
|
9953
10973
|
}
|
|
9954
10974
|
|
|
9955
10975
|
if (!Util.isUnset(request.currentPage)) {
|
|
9956
10976
|
query["CurrentPage"] = request.currentPage;
|
|
9957
10977
|
}
|
|
9958
10978
|
|
|
9959
|
-
if (!Util.isUnset(request.
|
|
9960
|
-
query["
|
|
9961
|
-
}
|
|
9962
|
-
|
|
9963
|
-
if (!Util.isUnset(request.eventKey)) {
|
|
9964
|
-
query["EventKey"] = request.eventKey;
|
|
9965
|
-
}
|
|
9966
|
-
|
|
9967
|
-
if (!Util.isUnset(request.eventName)) {
|
|
9968
|
-
query["EventName"] = request.eventName;
|
|
10979
|
+
if (!Util.isUnset(request.description)) {
|
|
10980
|
+
query["Description"] = request.description;
|
|
9969
10981
|
}
|
|
9970
10982
|
|
|
9971
|
-
if (!Util.isUnset(request.
|
|
9972
|
-
query["
|
|
10983
|
+
if (!Util.isUnset(request.destination)) {
|
|
10984
|
+
query["Destination"] = request.destination;
|
|
9973
10985
|
}
|
|
9974
10986
|
|
|
9975
|
-
if (!Util.isUnset(request.
|
|
9976
|
-
query["
|
|
10987
|
+
if (!Util.isUnset(request.direction)) {
|
|
10988
|
+
query["Direction"] = request.direction;
|
|
9977
10989
|
}
|
|
9978
10990
|
|
|
9979
10991
|
if (!Util.isUnset(request.lang)) {
|
|
9980
10992
|
query["Lang"] = request.lang;
|
|
9981
10993
|
}
|
|
9982
10994
|
|
|
9983
|
-
if (!Util.isUnset(request.
|
|
9984
|
-
query["
|
|
10995
|
+
if (!Util.isUnset(request.natGatewayId)) {
|
|
10996
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
9985
10997
|
}
|
|
9986
10998
|
|
|
9987
10999
|
if (!Util.isUnset(request.pageSize)) {
|
|
9988
11000
|
query["PageSize"] = request.pageSize;
|
|
9989
11001
|
}
|
|
9990
11002
|
|
|
9991
|
-
if (!Util.isUnset(request.
|
|
9992
|
-
query["
|
|
11003
|
+
if (!Util.isUnset(request.proto)) {
|
|
11004
|
+
query["Proto"] = request.proto;
|
|
9993
11005
|
}
|
|
9994
11006
|
|
|
9995
|
-
if (!Util.isUnset(request.
|
|
9996
|
-
query["
|
|
11007
|
+
if (!Util.isUnset(request.release)) {
|
|
11008
|
+
query["Release"] = request.release;
|
|
9997
11009
|
}
|
|
9998
11010
|
|
|
9999
|
-
if (!Util.isUnset(request.
|
|
10000
|
-
query["
|
|
11011
|
+
if (!Util.isUnset(request.source)) {
|
|
11012
|
+
query["Source"] = request.source;
|
|
10001
11013
|
}
|
|
10002
11014
|
|
|
10003
|
-
|
|
10004
|
-
query
|
|
11015
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11016
|
+
query: OpenApiUtil.query(query),
|
|
11017
|
+
});
|
|
11018
|
+
let params = new $OpenApi.Params({
|
|
11019
|
+
action: "DescribeNatFirewallControlPolicy",
|
|
11020
|
+
version: "2017-12-07",
|
|
11021
|
+
protocol: "HTTPS",
|
|
11022
|
+
pathname: "/",
|
|
11023
|
+
method: "POST",
|
|
11024
|
+
authType: "AK",
|
|
11025
|
+
style: "RPC",
|
|
11026
|
+
reqBodyType: "formData",
|
|
11027
|
+
bodyType: "json",
|
|
11028
|
+
});
|
|
11029
|
+
return $tea.cast<DescribeNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new DescribeNatFirewallControlPolicyResponse({}));
|
|
11030
|
+
}
|
|
11031
|
+
|
|
11032
|
+
async describeNatFirewallControlPolicy(request: DescribeNatFirewallControlPolicyRequest): Promise<DescribeNatFirewallControlPolicyResponse> {
|
|
11033
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11034
|
+
return await this.describeNatFirewallControlPolicyWithOptions(request, runtime);
|
|
11035
|
+
}
|
|
11036
|
+
|
|
11037
|
+
async describeNatFirewallPolicyPriorUsedWithOptions(request: DescribeNatFirewallPolicyPriorUsedRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNatFirewallPolicyPriorUsedResponse> {
|
|
11038
|
+
Util.validateModel(request);
|
|
11039
|
+
let query = { };
|
|
11040
|
+
if (!Util.isUnset(request.direction)) {
|
|
11041
|
+
query["Direction"] = request.direction;
|
|
11042
|
+
}
|
|
11043
|
+
|
|
11044
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
11045
|
+
query["IpVersion"] = request.ipVersion;
|
|
11046
|
+
}
|
|
11047
|
+
|
|
11048
|
+
if (!Util.isUnset(request.lang)) {
|
|
11049
|
+
query["Lang"] = request.lang;
|
|
11050
|
+
}
|
|
11051
|
+
|
|
11052
|
+
if (!Util.isUnset(request.natGatewayId)) {
|
|
11053
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
10005
11054
|
}
|
|
10006
11055
|
|
|
10007
11056
|
let req = new $OpenApi.OpenApiRequest({
|
|
10008
11057
|
query: OpenApiUtil.query(query),
|
|
10009
11058
|
});
|
|
10010
11059
|
let params = new $OpenApi.Params({
|
|
10011
|
-
action: "
|
|
11060
|
+
action: "DescribeNatFirewallPolicyPriorUsed",
|
|
10012
11061
|
version: "2017-12-07",
|
|
10013
11062
|
protocol: "HTTPS",
|
|
10014
11063
|
pathname: "/",
|
|
@@ -10018,12 +11067,12 @@ export default class Client extends OpenApi {
|
|
|
10018
11067
|
reqBodyType: "formData",
|
|
10019
11068
|
bodyType: "json",
|
|
10020
11069
|
});
|
|
10021
|
-
return $tea.cast<
|
|
11070
|
+
return $tea.cast<DescribeNatFirewallPolicyPriorUsedResponse>(await this.callApi(params, req, runtime), new DescribeNatFirewallPolicyPriorUsedResponse({}));
|
|
10022
11071
|
}
|
|
10023
11072
|
|
|
10024
|
-
async
|
|
11073
|
+
async describeNatFirewallPolicyPriorUsed(request: DescribeNatFirewallPolicyPriorUsedRequest): Promise<DescribeNatFirewallPolicyPriorUsedResponse> {
|
|
10025
11074
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10026
|
-
return await this.
|
|
11075
|
+
return await this.describeNatFirewallPolicyPriorUsedWithOptions(request, runtime);
|
|
10027
11076
|
}
|
|
10028
11077
|
|
|
10029
11078
|
async describeOutgoingDestinationIPWithOptions(request: DescribeOutgoingDestinationIPRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOutgoingDestinationIPResponse> {
|
|
@@ -10422,6 +11471,67 @@ export default class Client extends OpenApi {
|
|
|
10422
11471
|
return await this.describeRiskEventGroupWithOptions(request, runtime);
|
|
10423
11472
|
}
|
|
10424
11473
|
|
|
11474
|
+
async describeRiskEventPayloadWithOptions(request: DescribeRiskEventPayloadRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventPayloadResponse> {
|
|
11475
|
+
Util.validateModel(request);
|
|
11476
|
+
let query = { };
|
|
11477
|
+
if (!Util.isUnset(request.dstIP)) {
|
|
11478
|
+
query["DstIP"] = request.dstIP;
|
|
11479
|
+
}
|
|
11480
|
+
|
|
11481
|
+
if (!Util.isUnset(request.dstVpcId)) {
|
|
11482
|
+
query["DstVpcId"] = request.dstVpcId;
|
|
11483
|
+
}
|
|
11484
|
+
|
|
11485
|
+
if (!Util.isUnset(request.endTime)) {
|
|
11486
|
+
query["EndTime"] = request.endTime;
|
|
11487
|
+
}
|
|
11488
|
+
|
|
11489
|
+
if (!Util.isUnset(request.firewallType)) {
|
|
11490
|
+
query["FirewallType"] = request.firewallType;
|
|
11491
|
+
}
|
|
11492
|
+
|
|
11493
|
+
if (!Util.isUnset(request.publicIP)) {
|
|
11494
|
+
query["PublicIP"] = request.publicIP;
|
|
11495
|
+
}
|
|
11496
|
+
|
|
11497
|
+
if (!Util.isUnset(request.srcIP)) {
|
|
11498
|
+
query["SrcIP"] = request.srcIP;
|
|
11499
|
+
}
|
|
11500
|
+
|
|
11501
|
+
if (!Util.isUnset(request.srcVpcId)) {
|
|
11502
|
+
query["SrcVpcId"] = request.srcVpcId;
|
|
11503
|
+
}
|
|
11504
|
+
|
|
11505
|
+
if (!Util.isUnset(request.startTime)) {
|
|
11506
|
+
query["StartTime"] = request.startTime;
|
|
11507
|
+
}
|
|
11508
|
+
|
|
11509
|
+
if (!Util.isUnset(request.UUID)) {
|
|
11510
|
+
query["UUID"] = request.UUID;
|
|
11511
|
+
}
|
|
11512
|
+
|
|
11513
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11514
|
+
query: OpenApiUtil.query(query),
|
|
11515
|
+
});
|
|
11516
|
+
let params = new $OpenApi.Params({
|
|
11517
|
+
action: "DescribeRiskEventPayload",
|
|
11518
|
+
version: "2017-12-07",
|
|
11519
|
+
protocol: "HTTPS",
|
|
11520
|
+
pathname: "/",
|
|
11521
|
+
method: "POST",
|
|
11522
|
+
authType: "AK",
|
|
11523
|
+
style: "RPC",
|
|
11524
|
+
reqBodyType: "formData",
|
|
11525
|
+
bodyType: "json",
|
|
11526
|
+
});
|
|
11527
|
+
return $tea.cast<DescribeRiskEventPayloadResponse>(await this.callApi(params, req, runtime), new DescribeRiskEventPayloadResponse({}));
|
|
11528
|
+
}
|
|
11529
|
+
|
|
11530
|
+
async describeRiskEventPayload(request: DescribeRiskEventPayloadRequest): Promise<DescribeRiskEventPayloadResponse> {
|
|
11531
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11532
|
+
return await this.describeRiskEventPayloadWithOptions(request, runtime);
|
|
11533
|
+
}
|
|
11534
|
+
|
|
10425
11535
|
async describeTrFirewallPolicyBackUpAssociationListWithOptions(request: DescribeTrFirewallPolicyBackUpAssociationListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallPolicyBackUpAssociationListResponse> {
|
|
10426
11536
|
Util.validateModel(request);
|
|
10427
11537
|
let query = { };
|
|
@@ -11774,6 +12884,136 @@ export default class Client extends OpenApi {
|
|
|
11774
12884
|
return await this.modifyInstanceMemberAttributesWithOptions(request, runtime);
|
|
11775
12885
|
}
|
|
11776
12886
|
|
|
12887
|
+
async modifyNatFirewallControlPolicyWithOptions(request: ModifyNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNatFirewallControlPolicyResponse> {
|
|
12888
|
+
Util.validateModel(request);
|
|
12889
|
+
let query = { };
|
|
12890
|
+
if (!Util.isUnset(request.aclAction)) {
|
|
12891
|
+
query["AclAction"] = request.aclAction;
|
|
12892
|
+
}
|
|
12893
|
+
|
|
12894
|
+
if (!Util.isUnset(request.aclUuid)) {
|
|
12895
|
+
query["AclUuid"] = request.aclUuid;
|
|
12896
|
+
}
|
|
12897
|
+
|
|
12898
|
+
if (!Util.isUnset(request.applicationNameList)) {
|
|
12899
|
+
query["ApplicationNameList"] = request.applicationNameList;
|
|
12900
|
+
}
|
|
12901
|
+
|
|
12902
|
+
if (!Util.isUnset(request.description)) {
|
|
12903
|
+
query["Description"] = request.description;
|
|
12904
|
+
}
|
|
12905
|
+
|
|
12906
|
+
if (!Util.isUnset(request.destPort)) {
|
|
12907
|
+
query["DestPort"] = request.destPort;
|
|
12908
|
+
}
|
|
12909
|
+
|
|
12910
|
+
if (!Util.isUnset(request.destPortGroup)) {
|
|
12911
|
+
query["DestPortGroup"] = request.destPortGroup;
|
|
12912
|
+
}
|
|
12913
|
+
|
|
12914
|
+
if (!Util.isUnset(request.destPortType)) {
|
|
12915
|
+
query["DestPortType"] = request.destPortType;
|
|
12916
|
+
}
|
|
12917
|
+
|
|
12918
|
+
if (!Util.isUnset(request.destination)) {
|
|
12919
|
+
query["Destination"] = request.destination;
|
|
12920
|
+
}
|
|
12921
|
+
|
|
12922
|
+
if (!Util.isUnset(request.destinationType)) {
|
|
12923
|
+
query["DestinationType"] = request.destinationType;
|
|
12924
|
+
}
|
|
12925
|
+
|
|
12926
|
+
if (!Util.isUnset(request.domainResolveType)) {
|
|
12927
|
+
query["DomainResolveType"] = request.domainResolveType;
|
|
12928
|
+
}
|
|
12929
|
+
|
|
12930
|
+
if (!Util.isUnset(request.lang)) {
|
|
12931
|
+
query["Lang"] = request.lang;
|
|
12932
|
+
}
|
|
12933
|
+
|
|
12934
|
+
if (!Util.isUnset(request.natGatewayId)) {
|
|
12935
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
12936
|
+
}
|
|
12937
|
+
|
|
12938
|
+
if (!Util.isUnset(request.proto)) {
|
|
12939
|
+
query["Proto"] = request.proto;
|
|
12940
|
+
}
|
|
12941
|
+
|
|
12942
|
+
if (!Util.isUnset(request.release)) {
|
|
12943
|
+
query["Release"] = request.release;
|
|
12944
|
+
}
|
|
12945
|
+
|
|
12946
|
+
if (!Util.isUnset(request.source)) {
|
|
12947
|
+
query["Source"] = request.source;
|
|
12948
|
+
}
|
|
12949
|
+
|
|
12950
|
+
if (!Util.isUnset(request.sourceType)) {
|
|
12951
|
+
query["SourceType"] = request.sourceType;
|
|
12952
|
+
}
|
|
12953
|
+
|
|
12954
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12955
|
+
query: OpenApiUtil.query(query),
|
|
12956
|
+
});
|
|
12957
|
+
let params = new $OpenApi.Params({
|
|
12958
|
+
action: "ModifyNatFirewallControlPolicy",
|
|
12959
|
+
version: "2017-12-07",
|
|
12960
|
+
protocol: "HTTPS",
|
|
12961
|
+
pathname: "/",
|
|
12962
|
+
method: "POST",
|
|
12963
|
+
authType: "AK",
|
|
12964
|
+
style: "RPC",
|
|
12965
|
+
reqBodyType: "formData",
|
|
12966
|
+
bodyType: "json",
|
|
12967
|
+
});
|
|
12968
|
+
return $tea.cast<ModifyNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyResponse({}));
|
|
12969
|
+
}
|
|
12970
|
+
|
|
12971
|
+
async modifyNatFirewallControlPolicy(request: ModifyNatFirewallControlPolicyRequest): Promise<ModifyNatFirewallControlPolicyResponse> {
|
|
12972
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12973
|
+
return await this.modifyNatFirewallControlPolicyWithOptions(request, runtime);
|
|
12974
|
+
}
|
|
12975
|
+
|
|
12976
|
+
async modifyNatFirewallControlPolicyPositionWithOptions(request: ModifyNatFirewallControlPolicyPositionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNatFirewallControlPolicyPositionResponse> {
|
|
12977
|
+
Util.validateModel(request);
|
|
12978
|
+
let query = { };
|
|
12979
|
+
if (!Util.isUnset(request.aclUuid)) {
|
|
12980
|
+
query["AclUuid"] = request.aclUuid;
|
|
12981
|
+
}
|
|
12982
|
+
|
|
12983
|
+
if (!Util.isUnset(request.lang)) {
|
|
12984
|
+
query["Lang"] = request.lang;
|
|
12985
|
+
}
|
|
12986
|
+
|
|
12987
|
+
if (!Util.isUnset(request.natGatewayId)) {
|
|
12988
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
12989
|
+
}
|
|
12990
|
+
|
|
12991
|
+
if (!Util.isUnset(request.newOrder)) {
|
|
12992
|
+
query["NewOrder"] = request.newOrder;
|
|
12993
|
+
}
|
|
12994
|
+
|
|
12995
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12996
|
+
query: OpenApiUtil.query(query),
|
|
12997
|
+
});
|
|
12998
|
+
let params = new $OpenApi.Params({
|
|
12999
|
+
action: "ModifyNatFirewallControlPolicyPosition",
|
|
13000
|
+
version: "2017-12-07",
|
|
13001
|
+
protocol: "HTTPS",
|
|
13002
|
+
pathname: "/",
|
|
13003
|
+
method: "POST",
|
|
13004
|
+
authType: "AK",
|
|
13005
|
+
style: "RPC",
|
|
13006
|
+
reqBodyType: "formData",
|
|
13007
|
+
bodyType: "json",
|
|
13008
|
+
});
|
|
13009
|
+
return $tea.cast<ModifyNatFirewallControlPolicyPositionResponse>(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyPositionResponse({}));
|
|
13010
|
+
}
|
|
13011
|
+
|
|
13012
|
+
async modifyNatFirewallControlPolicyPosition(request: ModifyNatFirewallControlPolicyPositionRequest): Promise<ModifyNatFirewallControlPolicyPositionResponse> {
|
|
13013
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13014
|
+
return await this.modifyNatFirewallControlPolicyPositionWithOptions(request, runtime);
|
|
13015
|
+
}
|
|
13016
|
+
|
|
11777
13017
|
/**
|
|
11778
13018
|
* You can call the ModifyPolicyAdvancedConfig operation to enable or disable the strict mode for an access control policy.
|
|
11779
13019
|
* ## Limits
|