@alicloud/ddosbgp20180720 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -166,13 +166,11 @@ export class AttachAssetGroupToInstanceRequest extends $tea.Model {
166
166
  assetGroupList?: AttachAssetGroupToInstanceRequestAssetGroupList[];
167
167
  instanceId?: string;
168
168
  regionId?: string;
169
- sourceIp?: string;
170
169
  static names(): { [key: string]: string } {
171
170
  return {
172
171
  assetGroupList: 'AssetGroupList',
173
172
  instanceId: 'InstanceId',
174
173
  regionId: 'RegionId',
175
- sourceIp: 'SourceIp',
176
174
  };
177
175
  }
178
176
 
@@ -181,7 +179,6 @@ export class AttachAssetGroupToInstanceRequest extends $tea.Model {
181
179
  assetGroupList: { 'type': 'array', 'itemType': AttachAssetGroupToInstanceRequestAssetGroupList },
182
180
  instanceId: 'string',
183
181
  regionId: 'string',
184
- sourceIp: 'string',
185
182
  };
186
183
  }
187
184
 
@@ -194,13 +191,11 @@ export class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
194
191
  assetGroupListShrink?: string;
195
192
  instanceId?: string;
196
193
  regionId?: string;
197
- sourceIp?: string;
198
194
  static names(): { [key: string]: string } {
199
195
  return {
200
196
  assetGroupListShrink: 'AssetGroupList',
201
197
  instanceId: 'InstanceId',
202
198
  regionId: 'RegionId',
203
- sourceIp: 'SourceIp',
204
199
  };
205
200
  }
206
201
 
@@ -209,7 +204,6 @@ export class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
209
204
  assetGroupListShrink: 'string',
210
205
  instanceId: 'string',
211
206
  regionId: 'string',
212
- sourceIp: 'string',
213
207
  };
214
208
  }
215
209
 
@@ -499,6 +493,75 @@ export class ConfigSchedruleOnDemandResponse extends $tea.Model {
499
493
  }
500
494
  }
501
495
 
496
+ export class CreatePolicyRequest extends $tea.Model {
497
+ name?: string;
498
+ type?: string;
499
+ static names(): { [key: string]: string } {
500
+ return {
501
+ name: 'Name',
502
+ type: 'Type',
503
+ };
504
+ }
505
+
506
+ static types(): { [key: string]: any } {
507
+ return {
508
+ name: 'string',
509
+ type: 'string',
510
+ };
511
+ }
512
+
513
+ constructor(map?: { [key: string]: any }) {
514
+ super(map);
515
+ }
516
+ }
517
+
518
+ export class CreatePolicyResponseBody extends $tea.Model {
519
+ id?: string;
520
+ requestId?: string;
521
+ static names(): { [key: string]: string } {
522
+ return {
523
+ id: 'Id',
524
+ requestId: 'RequestId',
525
+ };
526
+ }
527
+
528
+ static types(): { [key: string]: any } {
529
+ return {
530
+ id: 'string',
531
+ requestId: 'string',
532
+ };
533
+ }
534
+
535
+ constructor(map?: { [key: string]: any }) {
536
+ super(map);
537
+ }
538
+ }
539
+
540
+ export class CreatePolicyResponse extends $tea.Model {
541
+ headers?: { [key: string]: string };
542
+ statusCode?: number;
543
+ body?: CreatePolicyResponseBody;
544
+ static names(): { [key: string]: string } {
545
+ return {
546
+ headers: 'headers',
547
+ statusCode: 'statusCode',
548
+ body: 'body',
549
+ };
550
+ }
551
+
552
+ static types(): { [key: string]: any } {
553
+ return {
554
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
555
+ statusCode: 'number',
556
+ body: CreatePolicyResponseBody,
557
+ };
558
+ }
559
+
560
+ constructor(map?: { [key: string]: any }) {
561
+ super(map);
562
+ }
563
+ }
564
+
502
565
  export class CreateSchedruleOnDemandRequest extends $tea.Model {
503
566
  instanceId?: string;
504
567
  regionId?: string;
@@ -739,6 +802,69 @@ export class DeleteIpResponse extends $tea.Model {
739
802
  }
740
803
  }
741
804
 
805
+ export class DeletePolicyRequest extends $tea.Model {
806
+ id?: string;
807
+ static names(): { [key: string]: string } {
808
+ return {
809
+ id: 'Id',
810
+ };
811
+ }
812
+
813
+ static types(): { [key: string]: any } {
814
+ return {
815
+ id: 'string',
816
+ };
817
+ }
818
+
819
+ constructor(map?: { [key: string]: any }) {
820
+ super(map);
821
+ }
822
+ }
823
+
824
+ export class DeletePolicyResponseBody extends $tea.Model {
825
+ requestId?: string;
826
+ static names(): { [key: string]: string } {
827
+ return {
828
+ requestId: 'RequestId',
829
+ };
830
+ }
831
+
832
+ static types(): { [key: string]: any } {
833
+ return {
834
+ requestId: 'string',
835
+ };
836
+ }
837
+
838
+ constructor(map?: { [key: string]: any }) {
839
+ super(map);
840
+ }
841
+ }
842
+
843
+ export class DeletePolicyResponse extends $tea.Model {
844
+ headers?: { [key: string]: string };
845
+ statusCode?: number;
846
+ body?: DeletePolicyResponseBody;
847
+ static names(): { [key: string]: string } {
848
+ return {
849
+ headers: 'headers',
850
+ statusCode: 'statusCode',
851
+ body: 'body',
852
+ };
853
+ }
854
+
855
+ static types(): { [key: string]: any } {
856
+ return {
857
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
858
+ statusCode: 'number',
859
+ body: DeletePolicyResponseBody,
860
+ };
861
+ }
862
+
863
+ constructor(map?: { [key: string]: any }) {
864
+ super(map);
865
+ }
866
+ }
867
+
742
868
  export class DeleteRdMemberListRequest extends $tea.Model {
743
869
  memberList?: DeleteRdMemberListRequestMemberList[];
744
870
  static names(): { [key: string]: string } {
@@ -894,14 +1020,12 @@ export class DescribeAssetGroupRequest extends $tea.Model {
894
1020
  name?: string;
895
1021
  region?: string;
896
1022
  regionId?: string;
897
- sourceIp?: string;
898
1023
  type?: string;
899
1024
  static names(): { [key: string]: string } {
900
1025
  return {
901
1026
  name: 'Name',
902
1027
  region: 'Region',
903
1028
  regionId: 'RegionId',
904
- sourceIp: 'SourceIp',
905
1029
  type: 'Type',
906
1030
  };
907
1031
  }
@@ -911,7 +1035,6 @@ export class DescribeAssetGroupRequest extends $tea.Model {
911
1035
  name: 'string',
912
1036
  region: 'string',
913
1037
  regionId: 'string',
914
- sourceIp: 'string',
915
1038
  type: 'string',
916
1039
  };
917
1040
  }
@@ -977,7 +1100,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
977
1100
  name?: string;
978
1101
  region?: string;
979
1102
  regionId?: string;
980
- sourceIp?: string;
981
1103
  type?: string;
982
1104
  static names(): { [key: string]: string } {
983
1105
  return {
@@ -986,7 +1108,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
986
1108
  name: 'Name',
987
1109
  region: 'Region',
988
1110
  regionId: 'RegionId',
989
- sourceIp: 'SourceIp',
990
1111
  type: 'Type',
991
1112
  };
992
1113
  }
@@ -998,7 +1119,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
998
1119
  name: 'string',
999
1120
  region: 'string',
1000
1121
  regionId: 'string',
1001
- sourceIp: 'string',
1002
1122
  type: 'string',
1003
1123
  };
1004
1124
  }
@@ -2167,17 +2287,103 @@ export class DescribeTrafficResponse extends $tea.Model {
2167
2287
  }
2168
2288
  }
2169
2289
 
2290
+ export class DetachFromPolicyRequest extends $tea.Model {
2291
+ ipPortProtocolList?: DetachFromPolicyRequestIpPortProtocolList[];
2292
+ policyType?: string;
2293
+ static names(): { [key: string]: string } {
2294
+ return {
2295
+ ipPortProtocolList: 'IpPortProtocolList',
2296
+ policyType: 'PolicyType',
2297
+ };
2298
+ }
2299
+
2300
+ static types(): { [key: string]: any } {
2301
+ return {
2302
+ ipPortProtocolList: { 'type': 'array', 'itemType': DetachFromPolicyRequestIpPortProtocolList },
2303
+ policyType: 'string',
2304
+ };
2305
+ }
2306
+
2307
+ constructor(map?: { [key: string]: any }) {
2308
+ super(map);
2309
+ }
2310
+ }
2311
+
2312
+ export class DetachFromPolicyShrinkRequest extends $tea.Model {
2313
+ ipPortProtocolListShrink?: string;
2314
+ policyType?: string;
2315
+ static names(): { [key: string]: string } {
2316
+ return {
2317
+ ipPortProtocolListShrink: 'IpPortProtocolList',
2318
+ policyType: 'PolicyType',
2319
+ };
2320
+ }
2321
+
2322
+ static types(): { [key: string]: any } {
2323
+ return {
2324
+ ipPortProtocolListShrink: 'string',
2325
+ policyType: 'string',
2326
+ };
2327
+ }
2328
+
2329
+ constructor(map?: { [key: string]: any }) {
2330
+ super(map);
2331
+ }
2332
+ }
2333
+
2334
+ export class DetachFromPolicyResponseBody extends $tea.Model {
2335
+ requestId?: string;
2336
+ static names(): { [key: string]: string } {
2337
+ return {
2338
+ requestId: 'RequestId',
2339
+ };
2340
+ }
2341
+
2342
+ static types(): { [key: string]: any } {
2343
+ return {
2344
+ requestId: 'string',
2345
+ };
2346
+ }
2347
+
2348
+ constructor(map?: { [key: string]: any }) {
2349
+ super(map);
2350
+ }
2351
+ }
2352
+
2353
+ export class DetachFromPolicyResponse extends $tea.Model {
2354
+ headers?: { [key: string]: string };
2355
+ statusCode?: number;
2356
+ body?: DetachFromPolicyResponseBody;
2357
+ static names(): { [key: string]: string } {
2358
+ return {
2359
+ headers: 'headers',
2360
+ statusCode: 'statusCode',
2361
+ body: 'body',
2362
+ };
2363
+ }
2364
+
2365
+ static types(): { [key: string]: any } {
2366
+ return {
2367
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2368
+ statusCode: 'number',
2369
+ body: DetachFromPolicyResponseBody,
2370
+ };
2371
+ }
2372
+
2373
+ constructor(map?: { [key: string]: any }) {
2374
+ super(map);
2375
+ }
2376
+ }
2377
+
2170
2378
  export class DettachAssetGroupToInstanceRequest extends $tea.Model {
2171
2379
  assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
2172
2380
  instanceId?: string;
2173
2381
  regionId?: string;
2174
- sourceIp?: string;
2175
2382
  static names(): { [key: string]: string } {
2176
2383
  return {
2177
2384
  assetGroupList: 'AssetGroupList',
2178
2385
  instanceId: 'InstanceId',
2179
2386
  regionId: 'RegionId',
2180
- sourceIp: 'SourceIp',
2181
2387
  };
2182
2388
  }
2183
2389
 
@@ -2186,7 +2392,6 @@ export class DettachAssetGroupToInstanceRequest extends $tea.Model {
2186
2392
  assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
2187
2393
  instanceId: 'string',
2188
2394
  regionId: 'string',
2189
- sourceIp: 'string',
2190
2395
  };
2191
2396
  }
2192
2397
 
@@ -2199,13 +2404,11 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
2199
2404
  assetGroupListShrink?: string;
2200
2405
  instanceId?: string;
2201
2406
  regionId?: string;
2202
- sourceIp?: string;
2203
2407
  static names(): { [key: string]: string } {
2204
2408
  return {
2205
2409
  assetGroupListShrink: 'AssetGroupList',
2206
2410
  instanceId: 'InstanceId',
2207
2411
  regionId: 'RegionId',
2208
- sourceIp: 'SourceIp',
2209
2412
  };
2210
2413
  }
2211
2414
 
@@ -2214,7 +2417,6 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
2214
2417
  assetGroupListShrink: 'string',
2215
2418
  instanceId: 'string',
2216
2419
  regionId: 'string',
2217
- sourceIp: 'string',
2218
2420
  };
2219
2421
  }
2220
2422
 
@@ -2411,29 +2613,26 @@ export class ListOpenedAccessLogInstancesResponse extends $tea.Model {
2411
2613
  }
2412
2614
  }
2413
2615
 
2414
- export class ListTagKeysRequest extends $tea.Model {
2415
- currentPage?: number;
2616
+ export class ListPolicyRequest extends $tea.Model {
2617
+ name?: string;
2618
+ pageNo?: number;
2416
2619
  pageSize?: number;
2417
- regionId?: string;
2418
- resourceGroupId?: string;
2419
- resourceType?: string;
2620
+ type?: string;
2420
2621
  static names(): { [key: string]: string } {
2421
2622
  return {
2422
- currentPage: 'CurrentPage',
2623
+ name: 'Name',
2624
+ pageNo: 'PageNo',
2423
2625
  pageSize: 'PageSize',
2424
- regionId: 'RegionId',
2425
- resourceGroupId: 'ResourceGroupId',
2426
- resourceType: 'ResourceType',
2626
+ type: 'Type',
2427
2627
  };
2428
2628
  }
2429
2629
 
2430
2630
  static types(): { [key: string]: any } {
2431
2631
  return {
2432
- currentPage: 'number',
2632
+ name: 'string',
2633
+ pageNo: 'number',
2433
2634
  pageSize: 'number',
2434
- regionId: 'string',
2435
- resourceGroupId: 'string',
2436
- resourceType: 'string',
2635
+ type: 'string',
2437
2636
  };
2438
2637
  }
2439
2638
 
@@ -2442,29 +2641,23 @@ export class ListTagKeysRequest extends $tea.Model {
2442
2641
  }
2443
2642
  }
2444
2643
 
2445
- export class ListTagKeysResponseBody extends $tea.Model {
2446
- currentPage?: number;
2447
- pageSize?: number;
2644
+ export class ListPolicyResponseBody extends $tea.Model {
2645
+ policyList?: ListPolicyResponseBodyPolicyList[];
2448
2646
  requestId?: string;
2449
- tagKeys?: ListTagKeysResponseBodyTagKeys[];
2450
- totalCount?: number;
2647
+ total?: number;
2451
2648
  static names(): { [key: string]: string } {
2452
2649
  return {
2453
- currentPage: 'CurrentPage',
2454
- pageSize: 'PageSize',
2650
+ policyList: 'PolicyList',
2455
2651
  requestId: 'RequestId',
2456
- tagKeys: 'TagKeys',
2457
- totalCount: 'TotalCount',
2652
+ total: 'Total',
2458
2653
  };
2459
2654
  }
2460
2655
 
2461
2656
  static types(): { [key: string]: any } {
2462
2657
  return {
2463
- currentPage: 'number',
2464
- pageSize: 'number',
2658
+ policyList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyList },
2465
2659
  requestId: 'string',
2466
- tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
2467
- totalCount: 'number',
2660
+ total: 'number',
2468
2661
  };
2469
2662
  }
2470
2663
 
@@ -2473,10 +2666,10 @@ export class ListTagKeysResponseBody extends $tea.Model {
2473
2666
  }
2474
2667
  }
2475
2668
 
2476
- export class ListTagKeysResponse extends $tea.Model {
2669
+ export class ListPolicyResponse extends $tea.Model {
2477
2670
  headers?: { [key: string]: string };
2478
2671
  statusCode?: number;
2479
- body?: ListTagKeysResponseBody;
2672
+ body?: ListPolicyResponseBody;
2480
2673
  static names(): { [key: string]: string } {
2481
2674
  return {
2482
2675
  headers: 'headers',
@@ -2489,7 +2682,7 @@ export class ListTagKeysResponse extends $tea.Model {
2489
2682
  return {
2490
2683
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2491
2684
  statusCode: 'number',
2492
- body: ListTagKeysResponseBody,
2685
+ body: ListPolicyResponseBody,
2493
2686
  };
2494
2687
  }
2495
2688
 
@@ -2498,32 +2691,29 @@ export class ListTagKeysResponse extends $tea.Model {
2498
2691
  }
2499
2692
  }
2500
2693
 
2501
- export class ListTagResourcesRequest extends $tea.Model {
2502
- nextToken?: string;
2503
- regionId?: string;
2504
- resourceGroupId?: string;
2505
- resourceId?: string[];
2506
- resourceType?: string;
2507
- tag?: ListTagResourcesRequestTag[];
2694
+ export class ListPolicyAttachmentRequest extends $tea.Model {
2695
+ ipPortProtocolList?: ListPolicyAttachmentRequestIpPortProtocolList[];
2696
+ pageNo?: number;
2697
+ pageSize?: number;
2698
+ policyId?: string;
2699
+ policyType?: string;
2508
2700
  static names(): { [key: string]: string } {
2509
2701
  return {
2510
- nextToken: 'NextToken',
2511
- regionId: 'RegionId',
2512
- resourceGroupId: 'ResourceGroupId',
2513
- resourceId: 'ResourceId',
2514
- resourceType: 'ResourceType',
2515
- tag: 'Tag',
2702
+ ipPortProtocolList: 'IpPortProtocolList',
2703
+ pageNo: 'PageNo',
2704
+ pageSize: 'PageSize',
2705
+ policyId: 'PolicyId',
2706
+ policyType: 'PolicyType',
2516
2707
  };
2517
2708
  }
2518
2709
 
2519
2710
  static types(): { [key: string]: any } {
2520
2711
  return {
2521
- nextToken: 'string',
2522
- regionId: 'string',
2523
- resourceGroupId: 'string',
2524
- resourceId: { 'type': 'array', 'itemType': 'string' },
2525
- resourceType: 'string',
2526
- tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
2712
+ ipPortProtocolList: { 'type': 'array', 'itemType': ListPolicyAttachmentRequestIpPortProtocolList },
2713
+ pageNo: 'number',
2714
+ pageSize: 'number',
2715
+ policyId: 'string',
2716
+ policyType: 'string',
2527
2717
  };
2528
2718
  }
2529
2719
 
@@ -2532,23 +2722,54 @@ export class ListTagResourcesRequest extends $tea.Model {
2532
2722
  }
2533
2723
  }
2534
2724
 
2535
- export class ListTagResourcesResponseBody extends $tea.Model {
2536
- nextToken?: string;
2537
- requestId?: string;
2538
- tagResources?: ListTagResourcesResponseBodyTagResources;
2725
+ export class ListPolicyAttachmentShrinkRequest extends $tea.Model {
2726
+ ipPortProtocolListShrink?: string;
2727
+ pageNo?: number;
2728
+ pageSize?: number;
2729
+ policyId?: string;
2730
+ policyType?: string;
2539
2731
  static names(): { [key: string]: string } {
2540
2732
  return {
2541
- nextToken: 'NextToken',
2733
+ ipPortProtocolListShrink: 'IpPortProtocolList',
2734
+ pageNo: 'PageNo',
2735
+ pageSize: 'PageSize',
2736
+ policyId: 'PolicyId',
2737
+ policyType: 'PolicyType',
2738
+ };
2739
+ }
2740
+
2741
+ static types(): { [key: string]: any } {
2742
+ return {
2743
+ ipPortProtocolListShrink: 'string',
2744
+ pageNo: 'number',
2745
+ pageSize: 'number',
2746
+ policyId: 'string',
2747
+ policyType: 'string',
2748
+ };
2749
+ }
2750
+
2751
+ constructor(map?: { [key: string]: any }) {
2752
+ super(map);
2753
+ }
2754
+ }
2755
+
2756
+ export class ListPolicyAttachmentResponseBody extends $tea.Model {
2757
+ attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
2758
+ requestId?: string;
2759
+ total?: number;
2760
+ static names(): { [key: string]: string } {
2761
+ return {
2762
+ attachmentList: 'AttachmentList',
2542
2763
  requestId: 'RequestId',
2543
- tagResources: 'TagResources',
2764
+ total: 'Total',
2544
2765
  };
2545
2766
  }
2546
2767
 
2547
2768
  static types(): { [key: string]: any } {
2548
2769
  return {
2549
- nextToken: 'string',
2770
+ attachmentList: { 'type': 'array', 'itemType': ListPolicyAttachmentResponseBodyAttachmentList },
2550
2771
  requestId: 'string',
2551
- tagResources: ListTagResourcesResponseBodyTagResources,
2772
+ total: 'number',
2552
2773
  };
2553
2774
  }
2554
2775
 
@@ -2557,10 +2778,10 @@ export class ListTagResourcesResponseBody extends $tea.Model {
2557
2778
  }
2558
2779
  }
2559
2780
 
2560
- export class ListTagResourcesResponse extends $tea.Model {
2781
+ export class ListPolicyAttachmentResponse extends $tea.Model {
2561
2782
  headers?: { [key: string]: string };
2562
2783
  statusCode?: number;
2563
- body?: ListTagResourcesResponseBody;
2784
+ body?: ListPolicyAttachmentResponseBody;
2564
2785
  static names(): { [key: string]: string } {
2565
2786
  return {
2566
2787
  headers: 'headers',
@@ -2573,7 +2794,7 @@ export class ListTagResourcesResponse extends $tea.Model {
2573
2794
  return {
2574
2795
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2575
2796
  statusCode: 'number',
2576
- body: ListTagResourcesResponseBody,
2797
+ body: ListPolicyAttachmentResponseBody,
2577
2798
  };
2578
2799
  }
2579
2800
 
@@ -2582,26 +2803,29 @@ export class ListTagResourcesResponse extends $tea.Model {
2582
2803
  }
2583
2804
  }
2584
2805
 
2585
- export class ModifyRemarkRequest extends $tea.Model {
2586
- instanceId?: string;
2806
+ export class ListTagKeysRequest extends $tea.Model {
2807
+ currentPage?: number;
2808
+ pageSize?: number;
2587
2809
  regionId?: string;
2588
- remark?: string;
2589
2810
  resourceGroupId?: string;
2811
+ resourceType?: string;
2590
2812
  static names(): { [key: string]: string } {
2591
2813
  return {
2592
- instanceId: 'InstanceId',
2814
+ currentPage: 'CurrentPage',
2815
+ pageSize: 'PageSize',
2593
2816
  regionId: 'RegionId',
2594
- remark: 'Remark',
2595
2817
  resourceGroupId: 'ResourceGroupId',
2818
+ resourceType: 'ResourceType',
2596
2819
  };
2597
2820
  }
2598
2821
 
2599
2822
  static types(): { [key: string]: any } {
2600
2823
  return {
2601
- instanceId: 'string',
2824
+ currentPage: 'number',
2825
+ pageSize: 'number',
2602
2826
  regionId: 'string',
2603
- remark: 'string',
2604
2827
  resourceGroupId: 'string',
2828
+ resourceType: 'string',
2605
2829
  };
2606
2830
  }
2607
2831
 
@@ -2610,17 +2834,29 @@ export class ModifyRemarkRequest extends $tea.Model {
2610
2834
  }
2611
2835
  }
2612
2836
 
2613
- export class ModifyRemarkResponseBody extends $tea.Model {
2837
+ export class ListTagKeysResponseBody extends $tea.Model {
2838
+ currentPage?: number;
2839
+ pageSize?: number;
2614
2840
  requestId?: string;
2841
+ tagKeys?: ListTagKeysResponseBodyTagKeys[];
2842
+ totalCount?: number;
2615
2843
  static names(): { [key: string]: string } {
2616
2844
  return {
2845
+ currentPage: 'CurrentPage',
2846
+ pageSize: 'PageSize',
2617
2847
  requestId: 'RequestId',
2848
+ tagKeys: 'TagKeys',
2849
+ totalCount: 'TotalCount',
2618
2850
  };
2619
2851
  }
2620
2852
 
2621
2853
  static types(): { [key: string]: any } {
2622
2854
  return {
2855
+ currentPage: 'number',
2856
+ pageSize: 'number',
2623
2857
  requestId: 'string',
2858
+ tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
2859
+ totalCount: 'number',
2624
2860
  };
2625
2861
  }
2626
2862
 
@@ -2629,10 +2865,10 @@ export class ModifyRemarkResponseBody extends $tea.Model {
2629
2865
  }
2630
2866
  }
2631
2867
 
2632
- export class ModifyRemarkResponse extends $tea.Model {
2868
+ export class ListTagKeysResponse extends $tea.Model {
2633
2869
  headers?: { [key: string]: string };
2634
2870
  statusCode?: number;
2635
- body?: ModifyRemarkResponseBody;
2871
+ body?: ListTagKeysResponseBody;
2636
2872
  static names(): { [key: string]: string } {
2637
2873
  return {
2638
2874
  headers: 'headers',
@@ -2645,7 +2881,7 @@ export class ModifyRemarkResponse extends $tea.Model {
2645
2881
  return {
2646
2882
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2647
2883
  statusCode: 'number',
2648
- body: ModifyRemarkResponseBody,
2884
+ body: ListTagKeysResponseBody,
2649
2885
  };
2650
2886
  }
2651
2887
 
@@ -2654,20 +2890,32 @@ export class ModifyRemarkResponse extends $tea.Model {
2654
2890
  }
2655
2891
  }
2656
2892
 
2657
- export class QuerySchedruleOnDemandRequest extends $tea.Model {
2658
- instanceId?: string;
2893
+ export class ListTagResourcesRequest extends $tea.Model {
2894
+ nextToken?: string;
2659
2895
  regionId?: string;
2896
+ resourceGroupId?: string;
2897
+ resourceId?: string[];
2898
+ resourceType?: string;
2899
+ tag?: ListTagResourcesRequestTag[];
2660
2900
  static names(): { [key: string]: string } {
2661
2901
  return {
2662
- instanceId: 'InstanceId',
2902
+ nextToken: 'NextToken',
2663
2903
  regionId: 'RegionId',
2904
+ resourceGroupId: 'ResourceGroupId',
2905
+ resourceId: 'ResourceId',
2906
+ resourceType: 'ResourceType',
2907
+ tag: 'Tag',
2664
2908
  };
2665
2909
  }
2666
2910
 
2667
2911
  static types(): { [key: string]: any } {
2668
2912
  return {
2669
- instanceId: 'string',
2913
+ nextToken: 'string',
2670
2914
  regionId: 'string',
2915
+ resourceGroupId: 'string',
2916
+ resourceId: { 'type': 'array', 'itemType': 'string' },
2917
+ resourceType: 'string',
2918
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
2671
2919
  };
2672
2920
  }
2673
2921
 
@@ -2676,29 +2924,23 @@ export class QuerySchedruleOnDemandRequest extends $tea.Model {
2676
2924
  }
2677
2925
  }
2678
2926
 
2679
- export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
2680
- instanceId?: string;
2927
+ export class ListTagResourcesResponseBody extends $tea.Model {
2928
+ nextToken?: string;
2681
2929
  requestId?: string;
2682
- ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
2683
- ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
2684
- userId?: string;
2930
+ tagResources?: ListTagResourcesResponseBodyTagResources;
2685
2931
  static names(): { [key: string]: string } {
2686
2932
  return {
2687
- instanceId: 'InstanceId',
2933
+ nextToken: 'NextToken',
2688
2934
  requestId: 'RequestId',
2689
- ruleConfig: 'RuleConfig',
2690
- ruleStatus: 'RuleStatus',
2691
- userId: 'UserId',
2935
+ tagResources: 'TagResources',
2692
2936
  };
2693
2937
  }
2694
2938
 
2695
2939
  static types(): { [key: string]: any } {
2696
2940
  return {
2697
- instanceId: 'string',
2941
+ nextToken: 'string',
2698
2942
  requestId: 'string',
2699
- ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
2700
- ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
2701
- userId: 'string',
2943
+ tagResources: ListTagResourcesResponseBodyTagResources,
2702
2944
  };
2703
2945
  }
2704
2946
 
@@ -2707,10 +2949,10 @@ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
2707
2949
  }
2708
2950
  }
2709
2951
 
2710
- export class QuerySchedruleOnDemandResponse extends $tea.Model {
2952
+ export class ListTagResourcesResponse extends $tea.Model {
2711
2953
  headers?: { [key: string]: string };
2712
2954
  statusCode?: number;
2713
- body?: QuerySchedruleOnDemandResponseBody;
2955
+ body?: ListTagResourcesResponseBody;
2714
2956
  static names(): { [key: string]: string } {
2715
2957
  return {
2716
2958
  headers: 'headers',
@@ -2723,7 +2965,7 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2723
2965
  return {
2724
2966
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2725
2967
  statusCode: 'number',
2726
- body: QuerySchedruleOnDemandResponseBody,
2968
+ body: ListTagResourcesResponseBody,
2727
2969
  };
2728
2970
  }
2729
2971
 
@@ -2732,17 +2974,26 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2732
2974
  }
2733
2975
  }
2734
2976
 
2735
- export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
2736
- instanceId?: string;
2977
+ export class ModifyPolicyRequest extends $tea.Model {
2978
+ actionType?: number;
2979
+ content?: ModifyPolicyRequestContent;
2980
+ id?: string;
2981
+ name?: string;
2737
2982
  static names(): { [key: string]: string } {
2738
2983
  return {
2739
- instanceId: 'InstanceId',
2984
+ actionType: 'ActionType',
2985
+ content: 'Content',
2986
+ id: 'Id',
2987
+ name: 'Name',
2740
2988
  };
2741
2989
  }
2742
2990
 
2743
2991
  static types(): { [key: string]: any } {
2744
2992
  return {
2745
- instanceId: 'string',
2993
+ actionType: 'number',
2994
+ content: ModifyPolicyRequestContent,
2995
+ id: 'string',
2996
+ name: 'string',
2746
2997
  };
2747
2998
  }
2748
2999
 
@@ -2751,7 +3002,35 @@ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
2751
3002
  }
2752
3003
  }
2753
3004
 
2754
- export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
3005
+ export class ModifyPolicyShrinkRequest extends $tea.Model {
3006
+ actionType?: number;
3007
+ contentShrink?: string;
3008
+ id?: string;
3009
+ name?: string;
3010
+ static names(): { [key: string]: string } {
3011
+ return {
3012
+ actionType: 'ActionType',
3013
+ contentShrink: 'Content',
3014
+ id: 'Id',
3015
+ name: 'Name',
3016
+ };
3017
+ }
3018
+
3019
+ static types(): { [key: string]: any } {
3020
+ return {
3021
+ actionType: 'number',
3022
+ contentShrink: 'string',
3023
+ id: 'string',
3024
+ name: 'string',
3025
+ };
3026
+ }
3027
+
3028
+ constructor(map?: { [key: string]: any }) {
3029
+ super(map);
3030
+ }
3031
+ }
3032
+
3033
+ export class ModifyPolicyResponseBody extends $tea.Model {
2755
3034
  requestId?: string;
2756
3035
  static names(): { [key: string]: string } {
2757
3036
  return {
@@ -2770,10 +3049,10 @@ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
2770
3049
  }
2771
3050
  }
2772
3051
 
2773
- export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
3052
+ export class ModifyPolicyResponse extends $tea.Model {
2774
3053
  headers?: { [key: string]: string };
2775
3054
  statusCode?: number;
2776
- body?: ReleaseDdosOriginInstanceResponseBody;
3055
+ body?: ModifyPolicyResponseBody;
2777
3056
  static names(): { [key: string]: string } {
2778
3057
  return {
2779
3058
  headers: 'headers',
@@ -2786,7 +3065,7 @@ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
2786
3065
  return {
2787
3066
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2788
3067
  statusCode: 'number',
2789
- body: ReleaseDdosOriginInstanceResponseBody,
3068
+ body: ModifyPolicyResponseBody,
2790
3069
  };
2791
3070
  }
2792
3071
 
@@ -2795,23 +3074,23 @@ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
2795
3074
  }
2796
3075
  }
2797
3076
 
2798
- export class SetInstanceModeOnDemandRequest extends $tea.Model {
2799
- instanceIdList?: string[];
2800
- mode?: string;
2801
- regionId?: string;
3077
+ export class ModifyPolicyContentRequest extends $tea.Model {
3078
+ content?: ModifyPolicyContentRequestContent;
3079
+ id?: string;
3080
+ name?: string;
2802
3081
  static names(): { [key: string]: string } {
2803
3082
  return {
2804
- instanceIdList: 'InstanceIdList',
2805
- mode: 'Mode',
2806
- regionId: 'RegionId',
3083
+ content: 'Content',
3084
+ id: 'Id',
3085
+ name: 'Name',
2807
3086
  };
2808
3087
  }
2809
3088
 
2810
3089
  static types(): { [key: string]: any } {
2811
3090
  return {
2812
- instanceIdList: { 'type': 'array', 'itemType': 'string' },
2813
- mode: 'string',
2814
- regionId: 'string',
3091
+ content: ModifyPolicyContentRequestContent,
3092
+ id: 'string',
3093
+ name: 'string',
2815
3094
  };
2816
3095
  }
2817
3096
 
@@ -2820,7 +3099,32 @@ export class SetInstanceModeOnDemandRequest extends $tea.Model {
2820
3099
  }
2821
3100
  }
2822
3101
 
2823
- export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
3102
+ export class ModifyPolicyContentShrinkRequest extends $tea.Model {
3103
+ contentShrink?: string;
3104
+ id?: string;
3105
+ name?: string;
3106
+ static names(): { [key: string]: string } {
3107
+ return {
3108
+ contentShrink: 'Content',
3109
+ id: 'Id',
3110
+ name: 'Name',
3111
+ };
3112
+ }
3113
+
3114
+ static types(): { [key: string]: any } {
3115
+ return {
3116
+ contentShrink: 'string',
3117
+ id: 'string',
3118
+ name: 'string',
3119
+ };
3120
+ }
3121
+
3122
+ constructor(map?: { [key: string]: any }) {
3123
+ super(map);
3124
+ }
3125
+ }
3126
+
3127
+ export class ModifyPolicyContentResponseBody extends $tea.Model {
2824
3128
  requestId?: string;
2825
3129
  static names(): { [key: string]: string } {
2826
3130
  return {
@@ -2839,10 +3143,10 @@ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
2839
3143
  }
2840
3144
  }
2841
3145
 
2842
- export class SetInstanceModeOnDemandResponse extends $tea.Model {
3146
+ export class ModifyPolicyContentResponse extends $tea.Model {
2843
3147
  headers?: { [key: string]: string };
2844
3148
  statusCode?: number;
2845
- body?: SetInstanceModeOnDemandResponseBody;
3149
+ body?: ModifyPolicyContentResponseBody;
2846
3150
  static names(): { [key: string]: string } {
2847
3151
  return {
2848
3152
  headers: 'headers',
@@ -2855,7 +3159,7 @@ export class SetInstanceModeOnDemandResponse extends $tea.Model {
2855
3159
  return {
2856
3160
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2857
3161
  statusCode: 'number',
2858
- body: SetInstanceModeOnDemandResponseBody,
3162
+ body: ModifyPolicyContentResponseBody,
2859
3163
  };
2860
3164
  }
2861
3165
 
@@ -2864,29 +3168,26 @@ export class SetInstanceModeOnDemandResponse extends $tea.Model {
2864
3168
  }
2865
3169
  }
2866
3170
 
2867
- export class TagResourcesRequest extends $tea.Model {
3171
+ export class ModifyRemarkRequest extends $tea.Model {
3172
+ instanceId?: string;
2868
3173
  regionId?: string;
3174
+ remark?: string;
2869
3175
  resourceGroupId?: string;
2870
- resourceId?: string[];
2871
- resourceType?: string;
2872
- tag?: TagResourcesRequestTag[];
2873
3176
  static names(): { [key: string]: string } {
2874
3177
  return {
3178
+ instanceId: 'InstanceId',
2875
3179
  regionId: 'RegionId',
3180
+ remark: 'Remark',
2876
3181
  resourceGroupId: 'ResourceGroupId',
2877
- resourceId: 'ResourceId',
2878
- resourceType: 'ResourceType',
2879
- tag: 'Tag',
2880
3182
  };
2881
3183
  }
2882
3184
 
2883
3185
  static types(): { [key: string]: any } {
2884
3186
  return {
3187
+ instanceId: 'string',
2885
3188
  regionId: 'string',
3189
+ remark: 'string',
2886
3190
  resourceGroupId: 'string',
2887
- resourceId: { 'type': 'array', 'itemType': 'string' },
2888
- resourceType: 'string',
2889
- tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
2890
3191
  };
2891
3192
  }
2892
3193
 
@@ -2895,7 +3196,7 @@ export class TagResourcesRequest extends $tea.Model {
2895
3196
  }
2896
3197
  }
2897
3198
 
2898
- export class TagResourcesResponseBody extends $tea.Model {
3199
+ export class ModifyRemarkResponseBody extends $tea.Model {
2899
3200
  requestId?: string;
2900
3201
  static names(): { [key: string]: string } {
2901
3202
  return {
@@ -2914,10 +3215,10 @@ export class TagResourcesResponseBody extends $tea.Model {
2914
3215
  }
2915
3216
  }
2916
3217
 
2917
- export class TagResourcesResponse extends $tea.Model {
3218
+ export class ModifyRemarkResponse extends $tea.Model {
2918
3219
  headers?: { [key: string]: string };
2919
3220
  statusCode?: number;
2920
- body?: TagResourcesResponseBody;
3221
+ body?: ModifyRemarkResponseBody;
2921
3222
  static names(): { [key: string]: string } {
2922
3223
  return {
2923
3224
  headers: 'headers',
@@ -2930,7 +3231,7 @@ export class TagResourcesResponse extends $tea.Model {
2930
3231
  return {
2931
3232
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2932
3233
  statusCode: 'number',
2933
- body: TagResourcesResponseBody,
3234
+ body: ModifyRemarkResponseBody,
2934
3235
  };
2935
3236
  }
2936
3237
 
@@ -2939,32 +3240,20 @@ export class TagResourcesResponse extends $tea.Model {
2939
3240
  }
2940
3241
  }
2941
3242
 
2942
- export class UntagResourcesRequest extends $tea.Model {
2943
- all?: boolean;
3243
+ export class QuerySchedruleOnDemandRequest extends $tea.Model {
3244
+ instanceId?: string;
2944
3245
  regionId?: string;
2945
- resourceGroupId?: string;
2946
- resourceId?: string[];
2947
- resourceType?: string;
2948
- tagKey?: string[];
2949
3246
  static names(): { [key: string]: string } {
2950
3247
  return {
2951
- all: 'All',
3248
+ instanceId: 'InstanceId',
2952
3249
  regionId: 'RegionId',
2953
- resourceGroupId: 'ResourceGroupId',
2954
- resourceId: 'ResourceId',
2955
- resourceType: 'ResourceType',
2956
- tagKey: 'TagKey',
2957
3250
  };
2958
3251
  }
2959
3252
 
2960
3253
  static types(): { [key: string]: any } {
2961
3254
  return {
2962
- all: 'boolean',
3255
+ instanceId: 'string',
2963
3256
  regionId: 'string',
2964
- resourceGroupId: 'string',
2965
- resourceId: { 'type': 'array', 'itemType': 'string' },
2966
- resourceType: 'string',
2967
- tagKey: { 'type': 'array', 'itemType': 'string' },
2968
3257
  };
2969
3258
  }
2970
3259
 
@@ -2973,17 +3262,29 @@ export class UntagResourcesRequest extends $tea.Model {
2973
3262
  }
2974
3263
  }
2975
3264
 
2976
- export class UntagResourcesResponseBody extends $tea.Model {
3265
+ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
3266
+ instanceId?: string;
2977
3267
  requestId?: string;
3268
+ ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
3269
+ ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
3270
+ userId?: string;
2978
3271
  static names(): { [key: string]: string } {
2979
3272
  return {
3273
+ instanceId: 'InstanceId',
2980
3274
  requestId: 'RequestId',
3275
+ ruleConfig: 'RuleConfig',
3276
+ ruleStatus: 'RuleStatus',
3277
+ userId: 'UserId',
2981
3278
  };
2982
3279
  }
2983
3280
 
2984
3281
  static types(): { [key: string]: any } {
2985
3282
  return {
3283
+ instanceId: 'string',
2986
3284
  requestId: 'string',
3285
+ ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
3286
+ ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
3287
+ userId: 'string',
2987
3288
  };
2988
3289
  }
2989
3290
 
@@ -2992,10 +3293,10 @@ export class UntagResourcesResponseBody extends $tea.Model {
2992
3293
  }
2993
3294
  }
2994
3295
 
2995
- export class UntagResourcesResponse extends $tea.Model {
3296
+ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2996
3297
  headers?: { [key: string]: string };
2997
3298
  statusCode?: number;
2998
- body?: UntagResourcesResponseBody;
3299
+ body?: QuerySchedruleOnDemandResponseBody;
2999
3300
  static names(): { [key: string]: string } {
3000
3301
  return {
3001
3302
  headers: 'headers',
@@ -3008,7 +3309,7 @@ export class UntagResourcesResponse extends $tea.Model {
3008
3309
  return {
3009
3310
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3010
3311
  statusCode: 'number',
3011
- body: UntagResourcesResponseBody,
3312
+ body: QuerySchedruleOnDemandResponseBody,
3012
3313
  };
3013
3314
  }
3014
3315
 
@@ -3017,17 +3318,17 @@ export class UntagResourcesResponse extends $tea.Model {
3017
3318
  }
3018
3319
  }
3019
3320
 
3020
- export class AddRdMemberListRequestMemberList extends $tea.Model {
3021
- uid?: string;
3321
+ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
3322
+ instanceId?: string;
3022
3323
  static names(): { [key: string]: string } {
3023
3324
  return {
3024
- uid: 'Uid',
3325
+ instanceId: 'InstanceId',
3025
3326
  };
3026
3327
  }
3027
3328
 
3028
3329
  static types(): { [key: string]: any } {
3029
3330
  return {
3030
- uid: 'string',
3331
+ instanceId: 'string',
3031
3332
  };
3032
3333
  }
3033
3334
 
@@ -3036,26 +3337,1045 @@ export class AddRdMemberListRequestMemberList extends $tea.Model {
3036
3337
  }
3037
3338
  }
3038
3339
 
3039
- export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3040
- memberUid?: string;
3041
- name?: string;
3042
- region?: string;
3340
+ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
3341
+ requestId?: string;
3342
+ static names(): { [key: string]: string } {
3343
+ return {
3344
+ requestId: 'RequestId',
3345
+ };
3346
+ }
3347
+
3348
+ static types(): { [key: string]: any } {
3349
+ return {
3350
+ requestId: 'string',
3351
+ };
3352
+ }
3353
+
3354
+ constructor(map?: { [key: string]: any }) {
3355
+ super(map);
3356
+ }
3357
+ }
3358
+
3359
+ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
3360
+ headers?: { [key: string]: string };
3361
+ statusCode?: number;
3362
+ body?: ReleaseDdosOriginInstanceResponseBody;
3363
+ static names(): { [key: string]: string } {
3364
+ return {
3365
+ headers: 'headers',
3366
+ statusCode: 'statusCode',
3367
+ body: 'body',
3368
+ };
3369
+ }
3370
+
3371
+ static types(): { [key: string]: any } {
3372
+ return {
3373
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3374
+ statusCode: 'number',
3375
+ body: ReleaseDdosOriginInstanceResponseBody,
3376
+ };
3377
+ }
3378
+
3379
+ constructor(map?: { [key: string]: any }) {
3380
+ super(map);
3381
+ }
3382
+ }
3383
+
3384
+ export class SetInstanceModeOnDemandRequest extends $tea.Model {
3385
+ instanceIdList?: string[];
3386
+ mode?: string;
3387
+ regionId?: string;
3388
+ static names(): { [key: string]: string } {
3389
+ return {
3390
+ instanceIdList: 'InstanceIdList',
3391
+ mode: 'Mode',
3392
+ regionId: 'RegionId',
3393
+ };
3394
+ }
3395
+
3396
+ static types(): { [key: string]: any } {
3397
+ return {
3398
+ instanceIdList: { 'type': 'array', 'itemType': 'string' },
3399
+ mode: 'string',
3400
+ regionId: 'string',
3401
+ };
3402
+ }
3403
+
3404
+ constructor(map?: { [key: string]: any }) {
3405
+ super(map);
3406
+ }
3407
+ }
3408
+
3409
+ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
3410
+ requestId?: string;
3411
+ static names(): { [key: string]: string } {
3412
+ return {
3413
+ requestId: 'RequestId',
3414
+ };
3415
+ }
3416
+
3417
+ static types(): { [key: string]: any } {
3418
+ return {
3419
+ requestId: 'string',
3420
+ };
3421
+ }
3422
+
3423
+ constructor(map?: { [key: string]: any }) {
3424
+ super(map);
3425
+ }
3426
+ }
3427
+
3428
+ export class SetInstanceModeOnDemandResponse extends $tea.Model {
3429
+ headers?: { [key: string]: string };
3430
+ statusCode?: number;
3431
+ body?: SetInstanceModeOnDemandResponseBody;
3432
+ static names(): { [key: string]: string } {
3433
+ return {
3434
+ headers: 'headers',
3435
+ statusCode: 'statusCode',
3436
+ body: 'body',
3437
+ };
3438
+ }
3439
+
3440
+ static types(): { [key: string]: any } {
3441
+ return {
3442
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3443
+ statusCode: 'number',
3444
+ body: SetInstanceModeOnDemandResponseBody,
3445
+ };
3446
+ }
3447
+
3448
+ constructor(map?: { [key: string]: any }) {
3449
+ super(map);
3450
+ }
3451
+ }
3452
+
3453
+ export class TagResourcesRequest extends $tea.Model {
3454
+ regionId?: string;
3455
+ resourceGroupId?: string;
3456
+ resourceId?: string[];
3457
+ resourceType?: string;
3458
+ tag?: TagResourcesRequestTag[];
3459
+ static names(): { [key: string]: string } {
3460
+ return {
3461
+ regionId: 'RegionId',
3462
+ resourceGroupId: 'ResourceGroupId',
3463
+ resourceId: 'ResourceId',
3464
+ resourceType: 'ResourceType',
3465
+ tag: 'Tag',
3466
+ };
3467
+ }
3468
+
3469
+ static types(): { [key: string]: any } {
3470
+ return {
3471
+ regionId: 'string',
3472
+ resourceGroupId: 'string',
3473
+ resourceId: { 'type': 'array', 'itemType': 'string' },
3474
+ resourceType: 'string',
3475
+ tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
3476
+ };
3477
+ }
3478
+
3479
+ constructor(map?: { [key: string]: any }) {
3480
+ super(map);
3481
+ }
3482
+ }
3483
+
3484
+ export class TagResourcesResponseBody extends $tea.Model {
3485
+ requestId?: string;
3486
+ static names(): { [key: string]: string } {
3487
+ return {
3488
+ requestId: 'RequestId',
3489
+ };
3490
+ }
3491
+
3492
+ static types(): { [key: string]: any } {
3493
+ return {
3494
+ requestId: 'string',
3495
+ };
3496
+ }
3497
+
3498
+ constructor(map?: { [key: string]: any }) {
3499
+ super(map);
3500
+ }
3501
+ }
3502
+
3503
+ export class TagResourcesResponse extends $tea.Model {
3504
+ headers?: { [key: string]: string };
3505
+ statusCode?: number;
3506
+ body?: TagResourcesResponseBody;
3507
+ static names(): { [key: string]: string } {
3508
+ return {
3509
+ headers: 'headers',
3510
+ statusCode: 'statusCode',
3511
+ body: 'body',
3512
+ };
3513
+ }
3514
+
3515
+ static types(): { [key: string]: any } {
3516
+ return {
3517
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3518
+ statusCode: 'number',
3519
+ body: TagResourcesResponseBody,
3520
+ };
3521
+ }
3522
+
3523
+ constructor(map?: { [key: string]: any }) {
3524
+ super(map);
3525
+ }
3526
+ }
3527
+
3528
+ export class UntagResourcesRequest extends $tea.Model {
3529
+ all?: boolean;
3530
+ regionId?: string;
3531
+ resourceGroupId?: string;
3532
+ resourceId?: string[];
3533
+ resourceType?: string;
3534
+ tagKey?: string[];
3535
+ static names(): { [key: string]: string } {
3536
+ return {
3537
+ all: 'All',
3538
+ regionId: 'RegionId',
3539
+ resourceGroupId: 'ResourceGroupId',
3540
+ resourceId: 'ResourceId',
3541
+ resourceType: 'ResourceType',
3542
+ tagKey: 'TagKey',
3543
+ };
3544
+ }
3545
+
3546
+ static types(): { [key: string]: any } {
3547
+ return {
3548
+ all: 'boolean',
3549
+ regionId: 'string',
3550
+ resourceGroupId: 'string',
3551
+ resourceId: { 'type': 'array', 'itemType': 'string' },
3552
+ resourceType: 'string',
3553
+ tagKey: { 'type': 'array', 'itemType': 'string' },
3554
+ };
3555
+ }
3556
+
3557
+ constructor(map?: { [key: string]: any }) {
3558
+ super(map);
3559
+ }
3560
+ }
3561
+
3562
+ export class UntagResourcesResponseBody extends $tea.Model {
3563
+ requestId?: string;
3564
+ static names(): { [key: string]: string } {
3565
+ return {
3566
+ requestId: 'RequestId',
3567
+ };
3568
+ }
3569
+
3570
+ static types(): { [key: string]: any } {
3571
+ return {
3572
+ requestId: 'string',
3573
+ };
3574
+ }
3575
+
3576
+ constructor(map?: { [key: string]: any }) {
3577
+ super(map);
3578
+ }
3579
+ }
3580
+
3581
+ export class UntagResourcesResponse extends $tea.Model {
3582
+ headers?: { [key: string]: string };
3583
+ statusCode?: number;
3584
+ body?: UntagResourcesResponseBody;
3585
+ static names(): { [key: string]: string } {
3586
+ return {
3587
+ headers: 'headers',
3588
+ statusCode: 'statusCode',
3589
+ body: 'body',
3590
+ };
3591
+ }
3592
+
3593
+ static types(): { [key: string]: any } {
3594
+ return {
3595
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3596
+ statusCode: 'number',
3597
+ body: UntagResourcesResponseBody,
3598
+ };
3599
+ }
3600
+
3601
+ constructor(map?: { [key: string]: any }) {
3602
+ super(map);
3603
+ }
3604
+ }
3605
+
3606
+ export class AddRdMemberListRequestMemberList extends $tea.Model {
3607
+ uid?: string;
3608
+ static names(): { [key: string]: string } {
3609
+ return {
3610
+ uid: 'Uid',
3611
+ };
3612
+ }
3613
+
3614
+ static types(): { [key: string]: any } {
3615
+ return {
3616
+ uid: 'string',
3617
+ };
3618
+ }
3619
+
3620
+ constructor(map?: { [key: string]: any }) {
3621
+ super(map);
3622
+ }
3623
+ }
3624
+
3625
+ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3626
+ memberUid?: string;
3627
+ name?: string;
3628
+ region?: string;
3629
+ type?: string;
3630
+ static names(): { [key: string]: string } {
3631
+ return {
3632
+ memberUid: 'MemberUid',
3633
+ name: 'Name',
3634
+ region: 'Region',
3635
+ type: 'Type',
3636
+ };
3637
+ }
3638
+
3639
+ static types(): { [key: string]: any } {
3640
+ return {
3641
+ memberUid: 'string',
3642
+ name: 'string',
3643
+ region: 'string',
3644
+ type: 'string',
3645
+ };
3646
+ }
3647
+
3648
+ constructor(map?: { [key: string]: any }) {
3649
+ super(map);
3650
+ }
3651
+ }
3652
+
3653
+ export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3654
+ uid?: string;
3655
+ static names(): { [key: string]: string } {
3656
+ return {
3657
+ uid: 'Uid',
3658
+ };
3659
+ }
3660
+
3661
+ static types(): { [key: string]: any } {
3662
+ return {
3663
+ uid: 'string',
3664
+ };
3665
+ }
3666
+
3667
+ constructor(map?: { [key: string]: any }) {
3668
+ super(map);
3669
+ }
3670
+ }
3671
+
3672
+ export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
3673
+ name?: string;
3674
+ region?: string;
3675
+ type?: string;
3676
+ static names(): { [key: string]: string } {
3677
+ return {
3678
+ name: 'Name',
3679
+ region: 'Region',
3680
+ type: 'Type',
3681
+ };
3682
+ }
3683
+
3684
+ static types(): { [key: string]: any } {
3685
+ return {
3686
+ name: 'string',
3687
+ region: 'string',
3688
+ type: 'string',
3689
+ };
3690
+ }
3691
+
3692
+ constructor(map?: { [key: string]: any }) {
3693
+ super(map);
3694
+ }
3695
+ }
3696
+
3697
+ export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
3698
+ instanceId?: string;
3699
+ memberUid?: string;
3700
+ name?: string;
3701
+ region?: string;
3702
+ type?: string;
3703
+ static names(): { [key: string]: string } {
3704
+ return {
3705
+ instanceId: 'InstanceId',
3706
+ memberUid: 'MemberUid',
3707
+ name: 'Name',
3708
+ region: 'Region',
3709
+ type: 'Type',
3710
+ };
3711
+ }
3712
+
3713
+ static types(): { [key: string]: any } {
3714
+ return {
3715
+ instanceId: 'string',
3716
+ memberUid: 'string',
3717
+ name: 'string',
3718
+ region: 'string',
3719
+ type: 'string',
3720
+ };
3721
+ }
3722
+
3723
+ constructor(map?: { [key: string]: any }) {
3724
+ super(map);
3725
+ }
3726
+ }
3727
+
3728
+ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
3729
+ endTime?: number;
3730
+ ip?: string;
3731
+ mbps?: number;
3732
+ pps?: number;
3733
+ startTime?: number;
3734
+ status?: string;
3735
+ static names(): { [key: string]: string } {
3736
+ return {
3737
+ endTime: 'EndTime',
3738
+ ip: 'Ip',
3739
+ mbps: 'Mbps',
3740
+ pps: 'Pps',
3741
+ startTime: 'StartTime',
3742
+ status: 'Status',
3743
+ };
3744
+ }
3745
+
3746
+ static types(): { [key: string]: any } {
3747
+ return {
3748
+ endTime: 'number',
3749
+ ip: 'string',
3750
+ mbps: 'number',
3751
+ pps: 'number',
3752
+ startTime: 'number',
3753
+ status: 'string',
3754
+ };
3755
+ }
3756
+
3757
+ constructor(map?: { [key: string]: any }) {
3758
+ super(map);
3759
+ }
3760
+ }
3761
+
3762
+ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
3763
+ memberFlow?: string;
3764
+ regionFlow?: string;
3765
+ time?: number;
3766
+ totalFlow?: number;
3767
+ static names(): { [key: string]: string } {
3768
+ return {
3769
+ memberFlow: 'MemberFlow',
3770
+ regionFlow: 'RegionFlow',
3771
+ time: 'Time',
3772
+ totalFlow: 'TotalFlow',
3773
+ };
3774
+ }
3775
+
3776
+ static types(): { [key: string]: any } {
3777
+ return {
3778
+ memberFlow: 'string',
3779
+ regionFlow: 'string',
3780
+ time: 'number',
3781
+ totalFlow: 'number',
3782
+ };
3783
+ }
3784
+
3785
+ constructor(map?: { [key: string]: any }) {
3786
+ super(map);
3787
+ }
3788
+ }
3789
+
3790
+ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
3791
+ coverage?: string;
3792
+ ipCntCn?: number;
3793
+ ipCntOv?: number;
3794
+ memberIpCnt?: string;
3795
+ time?: number;
3796
+ static names(): { [key: string]: string } {
3797
+ return {
3798
+ coverage: 'Coverage',
3799
+ ipCntCn: 'IpCntCn',
3800
+ ipCntOv: 'IpCntOv',
3801
+ memberIpCnt: 'MemberIpCnt',
3802
+ time: 'Time',
3803
+ };
3804
+ }
3805
+
3806
+ static types(): { [key: string]: any } {
3807
+ return {
3808
+ coverage: 'string',
3809
+ ipCntCn: 'number',
3810
+ ipCntOv: 'number',
3811
+ memberIpCnt: 'string',
3812
+ time: 'number',
3813
+ };
3814
+ }
3815
+
3816
+ constructor(map?: { [key: string]: any }) {
3817
+ super(map);
3818
+ }
3819
+ }
3820
+
3821
+ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
3822
+ memberFlow?: string;
3823
+ regionFlow?: string;
3824
+ time?: number;
3825
+ totalFlow?: number;
3826
+ static names(): { [key: string]: string } {
3827
+ return {
3828
+ memberFlow: 'MemberFlow',
3829
+ regionFlow: 'RegionFlow',
3830
+ time: 'Time',
3831
+ totalFlow: 'TotalFlow',
3832
+ };
3833
+ }
3834
+
3835
+ static types(): { [key: string]: any } {
3836
+ return {
3837
+ memberFlow: 'string',
3838
+ regionFlow: 'string',
3839
+ time: 'number',
3840
+ totalFlow: 'number',
3841
+ };
3842
+ }
3843
+
3844
+ constructor(map?: { [key: string]: any }) {
3845
+ super(map);
3846
+ }
3847
+ }
3848
+
3849
+ export class DescribeInstanceListRequestTag extends $tea.Model {
3850
+ key?: string;
3851
+ value?: string;
3852
+ static names(): { [key: string]: string } {
3853
+ return {
3854
+ key: 'Key',
3855
+ value: 'Value',
3856
+ };
3857
+ }
3858
+
3859
+ static types(): { [key: string]: any } {
3860
+ return {
3861
+ key: 'string',
3862
+ value: 'string',
3863
+ };
3864
+ }
3865
+
3866
+ constructor(map?: { [key: string]: any }) {
3867
+ super(map);
3868
+ }
3869
+ }
3870
+
3871
+ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
3872
+ events?: string[];
3873
+ static names(): { [key: string]: string } {
3874
+ return {
3875
+ events: 'Events',
3876
+ };
3877
+ }
3878
+
3879
+ static types(): { [key: string]: any } {
3880
+ return {
3881
+ events: { 'type': 'array', 'itemType': 'string' },
3882
+ };
3883
+ }
3884
+
3885
+ constructor(map?: { [key: string]: any }) {
3886
+ super(map);
3887
+ }
3888
+ }
3889
+
3890
+ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
3891
+ autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
3892
+ autoRenewal?: boolean;
3893
+ blackholdingCount?: string;
3894
+ commodityType?: string;
3895
+ coverageType?: number;
3896
+ expireTime?: number;
3897
+ gmtCreate?: number;
3898
+ instanceId?: string;
3899
+ instanceType?: string;
3900
+ ipType?: string;
3901
+ product?: string;
3902
+ remark?: string;
3903
+ status?: string;
3904
+ static names(): { [key: string]: string } {
3905
+ return {
3906
+ autoProtectCondition: 'AutoProtectCondition',
3907
+ autoRenewal: 'AutoRenewal',
3908
+ blackholdingCount: 'BlackholdingCount',
3909
+ commodityType: 'CommodityType',
3910
+ coverageType: 'CoverageType',
3911
+ expireTime: 'ExpireTime',
3912
+ gmtCreate: 'GmtCreate',
3913
+ instanceId: 'InstanceId',
3914
+ instanceType: 'InstanceType',
3915
+ ipType: 'IpType',
3916
+ product: 'Product',
3917
+ remark: 'Remark',
3918
+ status: 'Status',
3919
+ };
3920
+ }
3921
+
3922
+ static types(): { [key: string]: any } {
3923
+ return {
3924
+ autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
3925
+ autoRenewal: 'boolean',
3926
+ blackholdingCount: 'string',
3927
+ commodityType: 'string',
3928
+ coverageType: 'number',
3929
+ expireTime: 'number',
3930
+ gmtCreate: 'number',
3931
+ instanceId: 'string',
3932
+ instanceType: 'string',
3933
+ ipType: 'string',
3934
+ product: 'string',
3935
+ remark: 'string',
3936
+ status: 'string',
3937
+ };
3938
+ }
3939
+
3940
+ constructor(map?: { [key: string]: any }) {
3941
+ super(map);
3942
+ }
3943
+ }
3944
+
3945
+ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $tea.Model {
3946
+ bandwidth?: number;
3947
+ bindIpCount?: number;
3948
+ ipAdvanceThre?: number;
3949
+ ipBasicThre?: number;
3950
+ ipSpec?: number;
3951
+ normalBandwidth?: number;
3952
+ packAdvThre?: number;
3953
+ packBasicThre?: number;
3954
+ static names(): { [key: string]: string } {
3955
+ return {
3956
+ bandwidth: 'Bandwidth',
3957
+ bindIpCount: 'BindIpCount',
3958
+ ipAdvanceThre: 'IpAdvanceThre',
3959
+ ipBasicThre: 'IpBasicThre',
3960
+ ipSpec: 'IpSpec',
3961
+ normalBandwidth: 'NormalBandwidth',
3962
+ packAdvThre: 'PackAdvThre',
3963
+ packBasicThre: 'PackBasicThre',
3964
+ };
3965
+ }
3966
+
3967
+ static types(): { [key: string]: any } {
3968
+ return {
3969
+ bandwidth: 'number',
3970
+ bindIpCount: 'number',
3971
+ ipAdvanceThre: 'number',
3972
+ ipBasicThre: 'number',
3973
+ ipSpec: 'number',
3974
+ normalBandwidth: 'number',
3975
+ packAdvThre: 'number',
3976
+ packBasicThre: 'number',
3977
+ };
3978
+ }
3979
+
3980
+ constructor(map?: { [key: string]: any }) {
3981
+ super(map);
3982
+ }
3983
+ }
3984
+
3985
+ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
3986
+ availableDefenseTimes?: number;
3987
+ availableDeleteBlackholeCount?: string;
3988
+ defenseTimesPercent?: number;
3989
+ instanceId?: string;
3990
+ isFullDefenseMode?: number;
3991
+ packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
3992
+ region?: string;
3993
+ totalDefenseTimes?: number;
3994
+ static names(): { [key: string]: string } {
3995
+ return {
3996
+ availableDefenseTimes: 'AvailableDefenseTimes',
3997
+ availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
3998
+ defenseTimesPercent: 'DefenseTimesPercent',
3999
+ instanceId: 'InstanceId',
4000
+ isFullDefenseMode: 'IsFullDefenseMode',
4001
+ packConfig: 'PackConfig',
4002
+ region: 'Region',
4003
+ totalDefenseTimes: 'TotalDefenseTimes',
4004
+ };
4005
+ }
4006
+
4007
+ static types(): { [key: string]: any } {
4008
+ return {
4009
+ availableDefenseTimes: 'number',
4010
+ availableDeleteBlackholeCount: 'string',
4011
+ defenseTimesPercent: 'number',
4012
+ instanceId: 'string',
4013
+ isFullDefenseMode: 'number',
4014
+ packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
4015
+ region: 'string',
4016
+ totalDefenseTimes: 'number',
4017
+ };
4018
+ }
4019
+
4020
+ constructor(map?: { [key: string]: any }) {
4021
+ super(map);
4022
+ }
4023
+ }
4024
+
4025
+ export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
4026
+ endTime?: number;
4027
+ ip?: string;
4028
+ mbps?: number;
4029
+ pps?: number;
4030
+ startTime?: number;
4031
+ status?: string;
4032
+ static names(): { [key: string]: string } {
4033
+ return {
4034
+ endTime: 'EndTime',
4035
+ ip: 'Ip',
4036
+ mbps: 'Mbps',
4037
+ pps: 'Pps',
4038
+ startTime: 'StartTime',
4039
+ status: 'Status',
4040
+ };
4041
+ }
4042
+
4043
+ static types(): { [key: string]: any } {
4044
+ return {
4045
+ endTime: 'number',
4046
+ ip: 'string',
4047
+ mbps: 'number',
4048
+ pps: 'number',
4049
+ startTime: 'number',
4050
+ status: 'string',
4051
+ };
4052
+ }
4053
+
4054
+ constructor(map?: { [key: string]: any }) {
4055
+ super(map);
4056
+ }
4057
+ }
4058
+
4059
+ export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Model {
4060
+ declared?: string;
4061
+ desc?: string;
4062
+ instanceId?: string;
4063
+ mode?: string;
4064
+ net?: string;
4065
+ registedAs?: string;
4066
+ userId?: string;
4067
+ static names(): { [key: string]: string } {
4068
+ return {
4069
+ declared: 'Declared',
4070
+ desc: 'Desc',
4071
+ instanceId: 'InstanceId',
4072
+ mode: 'Mode',
4073
+ net: 'Net',
4074
+ registedAs: 'RegistedAs',
4075
+ userId: 'UserId',
4076
+ };
4077
+ }
4078
+
4079
+ static types(): { [key: string]: any } {
4080
+ return {
4081
+ declared: 'string',
4082
+ desc: 'string',
4083
+ instanceId: 'string',
4084
+ mode: 'string',
4085
+ net: 'string',
4086
+ registedAs: 'string',
4087
+ userId: 'string',
4088
+ };
4089
+ }
4090
+
4091
+ constructor(map?: { [key: string]: any }) {
4092
+ super(map);
4093
+ }
4094
+ }
4095
+
4096
+ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
4097
+ entityObject?: string;
4098
+ entityType?: number;
4099
+ gmtCreate?: number;
4100
+ opAccount?: string;
4101
+ opAction?: number;
4102
+ opDesc?: string;
4103
+ static names(): { [key: string]: string } {
4104
+ return {
4105
+ entityObject: 'EntityObject',
4106
+ entityType: 'EntityType',
4107
+ gmtCreate: 'GmtCreate',
4108
+ opAccount: 'OpAccount',
4109
+ opAction: 'OpAction',
4110
+ opDesc: 'OpDesc',
4111
+ };
4112
+ }
4113
+
4114
+ static types(): { [key: string]: any } {
4115
+ return {
4116
+ entityObject: 'string',
4117
+ entityType: 'number',
4118
+ gmtCreate: 'number',
4119
+ opAccount: 'string',
4120
+ opAction: 'number',
4121
+ opDesc: 'string',
4122
+ };
4123
+ }
4124
+
4125
+ constructor(map?: { [key: string]: any }) {
4126
+ super(map);
4127
+ }
4128
+ }
4129
+
4130
+ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
4131
+ ip?: string;
4132
+ memberUid?: string;
4133
+ nsmExpireAt?: number;
4134
+ nsmStartAt?: number;
4135
+ nsmStatus?: number;
4136
+ product?: string;
4137
+ region?: string;
4138
+ remark?: string;
4139
+ status?: string;
4140
+ static names(): { [key: string]: string } {
4141
+ return {
4142
+ ip: 'Ip',
4143
+ memberUid: 'MemberUid',
4144
+ nsmExpireAt: 'NsmExpireAt',
4145
+ nsmStartAt: 'NsmStartAt',
4146
+ nsmStatus: 'NsmStatus',
4147
+ product: 'Product',
4148
+ region: 'Region',
4149
+ remark: 'Remark',
4150
+ status: 'Status',
4151
+ };
4152
+ }
4153
+
4154
+ static types(): { [key: string]: any } {
4155
+ return {
4156
+ ip: 'string',
4157
+ memberUid: 'string',
4158
+ nsmExpireAt: 'number',
4159
+ nsmStartAt: 'number',
4160
+ nsmStatus: 'number',
4161
+ product: 'string',
4162
+ region: 'string',
4163
+ remark: 'string',
4164
+ status: 'string',
4165
+ };
4166
+ }
4167
+
4168
+ constructor(map?: { [key: string]: any }) {
4169
+ super(map);
4170
+ }
4171
+ }
4172
+
4173
+ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
4174
+ gmtCreate?: number;
4175
+ name?: string;
4176
+ uid?: string;
4177
+ static names(): { [key: string]: string } {
4178
+ return {
4179
+ gmtCreate: 'GmtCreate',
4180
+ name: 'Name',
4181
+ uid: 'Uid',
4182
+ };
4183
+ }
4184
+
4185
+ static types(): { [key: string]: any } {
4186
+ return {
4187
+ gmtCreate: 'number',
4188
+ name: 'string',
4189
+ uid: 'string',
4190
+ };
4191
+ }
4192
+
4193
+ constructor(map?: { [key: string]: any }) {
4194
+ super(map);
4195
+ }
4196
+ }
4197
+
4198
+ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
4199
+ regionEnName?: string;
4200
+ regionId?: string;
4201
+ regionName?: string;
4202
+ static names(): { [key: string]: string } {
4203
+ return {
4204
+ regionEnName: 'RegionEnName',
4205
+ regionId: 'RegionId',
4206
+ regionName: 'RegionName',
4207
+ };
4208
+ }
4209
+
4210
+ static types(): { [key: string]: any } {
4211
+ return {
4212
+ regionEnName: 'string',
4213
+ regionId: 'string',
4214
+ regionName: 'string',
4215
+ };
4216
+ }
4217
+
4218
+ constructor(map?: { [key: string]: any }) {
4219
+ super(map);
4220
+ }
4221
+ }
4222
+
4223
+ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
4224
+ attackBps?: number;
4225
+ attackPps?: number;
4226
+ flowType?: string;
4227
+ kbps?: number;
4228
+ name?: string;
4229
+ pps?: number;
4230
+ time?: number;
4231
+ static names(): { [key: string]: string } {
4232
+ return {
4233
+ attackBps: 'AttackBps',
4234
+ attackPps: 'AttackPps',
4235
+ flowType: 'FlowType',
4236
+ kbps: 'Kbps',
4237
+ name: 'Name',
4238
+ pps: 'Pps',
4239
+ time: 'Time',
4240
+ };
4241
+ }
4242
+
4243
+ static types(): { [key: string]: any } {
4244
+ return {
4245
+ attackBps: 'number',
4246
+ attackPps: 'number',
4247
+ flowType: 'string',
4248
+ kbps: 'number',
4249
+ name: 'string',
4250
+ pps: 'number',
4251
+ time: 'number',
4252
+ };
4253
+ }
4254
+
4255
+ constructor(map?: { [key: string]: any }) {
4256
+ super(map);
4257
+ }
4258
+ }
4259
+
4260
+ export class DetachFromPolicyRequestIpPortProtocolList extends $tea.Model {
4261
+ ip?: string;
4262
+ port?: number;
4263
+ protocol?: string;
4264
+ static names(): { [key: string]: string } {
4265
+ return {
4266
+ ip: 'Ip',
4267
+ port: 'Port',
4268
+ protocol: 'Protocol',
4269
+ };
4270
+ }
4271
+
4272
+ static types(): { [key: string]: any } {
4273
+ return {
4274
+ ip: 'string',
4275
+ port: 'number',
4276
+ protocol: 'string',
4277
+ };
4278
+ }
4279
+
4280
+ constructor(map?: { [key: string]: any }) {
4281
+ super(map);
4282
+ }
4283
+ }
4284
+
4285
+ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
4286
+ name?: string;
4287
+ region?: string;
3043
4288
  type?: string;
3044
4289
  static names(): { [key: string]: string } {
3045
4290
  return {
3046
- memberUid: 'MemberUid',
3047
- name: 'Name',
3048
- region: 'Region',
3049
- type: 'Type',
4291
+ name: 'Name',
4292
+ region: 'Region',
4293
+ type: 'Type',
4294
+ };
4295
+ }
4296
+
4297
+ static types(): { [key: string]: any } {
4298
+ return {
4299
+ name: 'string',
4300
+ region: 'string',
4301
+ type: 'string',
4302
+ };
4303
+ }
4304
+
4305
+ constructor(map?: { [key: string]: any }) {
4306
+ super(map);
4307
+ }
4308
+ }
4309
+
4310
+ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
4311
+ enable?: boolean;
4312
+ instanceId?: string;
4313
+ static names(): { [key: string]: string } {
4314
+ return {
4315
+ enable: 'Enable',
4316
+ instanceId: 'InstanceId',
4317
+ };
4318
+ }
4319
+
4320
+ static types(): { [key: string]: any } {
4321
+ return {
4322
+ enable: 'boolean',
4323
+ instanceId: 'string',
4324
+ };
4325
+ }
4326
+
4327
+ constructor(map?: { [key: string]: any }) {
4328
+ super(map);
4329
+ }
4330
+ }
4331
+
4332
+ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $tea.Model {
4333
+ dstPortEnd?: number;
4334
+ dstPortStart?: number;
4335
+ id?: string;
4336
+ matchAction?: string;
4337
+ maxPktLen?: number;
4338
+ minPktLen?: number;
4339
+ offset?: number;
4340
+ payloadBytes?: string;
4341
+ protocol?: string;
4342
+ rateValue?: number;
4343
+ seqNo?: number;
4344
+ srcPortEnd?: number;
4345
+ srcPortStart?: number;
4346
+ static names(): { [key: string]: string } {
4347
+ return {
4348
+ dstPortEnd: 'DstPortEnd',
4349
+ dstPortStart: 'DstPortStart',
4350
+ id: 'Id',
4351
+ matchAction: 'MatchAction',
4352
+ maxPktLen: 'MaxPktLen',
4353
+ minPktLen: 'MinPktLen',
4354
+ offset: 'Offset',
4355
+ payloadBytes: 'PayloadBytes',
4356
+ protocol: 'Protocol',
4357
+ rateValue: 'RateValue',
4358
+ seqNo: 'SeqNo',
4359
+ srcPortEnd: 'SrcPortEnd',
4360
+ srcPortStart: 'SrcPortStart',
3050
4361
  };
3051
4362
  }
3052
4363
 
3053
4364
  static types(): { [key: string]: any } {
3054
4365
  return {
3055
- memberUid: 'string',
3056
- name: 'string',
3057
- region: 'string',
3058
- type: 'string',
4366
+ dstPortEnd: 'number',
4367
+ dstPortStart: 'number',
4368
+ id: 'string',
4369
+ matchAction: 'string',
4370
+ maxPktLen: 'number',
4371
+ minPktLen: 'number',
4372
+ offset: 'number',
4373
+ payloadBytes: 'string',
4374
+ protocol: 'string',
4375
+ rateValue: 'number',
4376
+ seqNo: 'number',
4377
+ srcPortEnd: 'number',
4378
+ srcPortStart: 'number',
3059
4379
  };
3060
4380
  }
3061
4381
 
@@ -3064,17 +4384,23 @@ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
3064
4384
  }
3065
4385
  }
3066
4386
 
3067
- export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3068
- uid?: string;
4387
+ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $tea.Model {
4388
+ arg?: string;
4389
+ depth?: number;
4390
+ position?: number;
3069
4391
  static names(): { [key: string]: string } {
3070
4392
  return {
3071
- uid: 'Uid',
4393
+ arg: 'Arg',
4394
+ depth: 'Depth',
4395
+ position: 'Position',
3072
4396
  };
3073
4397
  }
3074
4398
 
3075
4399
  static types(): { [key: string]: any } {
3076
4400
  return {
3077
- uid: 'string',
4401
+ arg: 'string',
4402
+ depth: 'number',
4403
+ position: 'number',
3078
4404
  };
3079
4405
  }
3080
4406
 
@@ -3083,23 +4409,35 @@ export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3083
4409
  }
3084
4410
  }
3085
4411
 
3086
- export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
4412
+ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $tea.Model {
4413
+ action?: string;
4414
+ conditionList?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionList[];
4415
+ limited?: number;
4416
+ match?: string;
4417
+ method?: string;
3087
4418
  name?: string;
3088
- region?: string;
3089
- type?: string;
4419
+ priority?: number;
3090
4420
  static names(): { [key: string]: string } {
3091
4421
  return {
4422
+ action: 'Action',
4423
+ conditionList: 'ConditionList',
4424
+ limited: 'Limited',
4425
+ match: 'Match',
4426
+ method: 'Method',
3092
4427
  name: 'Name',
3093
- region: 'Region',
3094
- type: 'Type',
4428
+ priority: 'Priority',
3095
4429
  };
3096
4430
  }
3097
4431
 
3098
4432
  static types(): { [key: string]: any } {
3099
4433
  return {
4434
+ action: 'string',
4435
+ conditionList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleListConditionList },
4436
+ limited: 'number',
4437
+ match: 'string',
4438
+ method: 'string',
3100
4439
  name: 'string',
3101
- region: 'string',
3102
- type: 'string',
4440
+ priority: 'number',
3103
4441
  };
3104
4442
  }
3105
4443
 
@@ -3108,29 +4446,66 @@ export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
3108
4446
  }
3109
4447
  }
3110
4448
 
3111
- export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
3112
- instanceId?: string;
3113
- memberUid?: string;
3114
- name?: string;
3115
- region?: string;
3116
- type?: string;
4449
+ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $tea.Model {
4450
+ dstPortEnd?: number;
4451
+ dstPortStart?: number;
4452
+ id?: string;
4453
+ matchAction?: string;
4454
+ protocol?: string;
4455
+ seqNo?: number;
4456
+ srcPortEnd?: number;
4457
+ srcPortStart?: number;
3117
4458
  static names(): { [key: string]: string } {
3118
4459
  return {
3119
- instanceId: 'InstanceId',
3120
- memberUid: 'MemberUid',
3121
- name: 'Name',
3122
- region: 'Region',
4460
+ dstPortEnd: 'DstPortEnd',
4461
+ dstPortStart: 'DstPortStart',
4462
+ id: 'Id',
4463
+ matchAction: 'MatchAction',
4464
+ protocol: 'Protocol',
4465
+ seqNo: 'SeqNo',
4466
+ srcPortEnd: 'SrcPortEnd',
4467
+ srcPortStart: 'SrcPortStart',
4468
+ };
4469
+ }
4470
+
4471
+ static types(): { [key: string]: any } {
4472
+ return {
4473
+ dstPortEnd: 'number',
4474
+ dstPortStart: 'number',
4475
+ id: 'string',
4476
+ matchAction: 'string',
4477
+ protocol: 'string',
4478
+ seqNo: 'number',
4479
+ srcPortEnd: 'number',
4480
+ srcPortStart: 'number',
4481
+ };
4482
+ }
4483
+
4484
+ constructor(map?: { [key: string]: any }) {
4485
+ super(map);
4486
+ }
4487
+ }
4488
+
4489
+ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $tea.Model {
4490
+ blockExpireSeconds?: number;
4491
+ everySeconds?: number;
4492
+ exceedLimitTimes?: number;
4493
+ type?: number;
4494
+ static names(): { [key: string]: string } {
4495
+ return {
4496
+ blockExpireSeconds: 'BlockExpireSeconds',
4497
+ everySeconds: 'EverySeconds',
4498
+ exceedLimitTimes: 'ExceedLimitTimes',
3123
4499
  type: 'Type',
3124
4500
  };
3125
4501
  }
3126
4502
 
3127
4503
  static types(): { [key: string]: any } {
3128
4504
  return {
3129
- instanceId: 'string',
3130
- memberUid: 'string',
3131
- name: 'string',
3132
- region: 'string',
3133
- type: 'string',
4505
+ blockExpireSeconds: 'number',
4506
+ everySeconds: 'number',
4507
+ exceedLimitTimes: 'number',
4508
+ type: 'number',
3134
4509
  };
3135
4510
  }
3136
4511
 
@@ -3139,32 +4514,26 @@ export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model
3139
4514
  }
3140
4515
  }
3141
4516
 
3142
- export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
3143
- endTime?: number;
3144
- ip?: string;
3145
- mbps?: number;
4517
+ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $tea.Model {
4518
+ bps?: number;
3146
4519
  pps?: number;
3147
- startTime?: number;
3148
- status?: string;
4520
+ synBps?: number;
4521
+ synPps?: number;
3149
4522
  static names(): { [key: string]: string } {
3150
4523
  return {
3151
- endTime: 'EndTime',
3152
- ip: 'Ip',
3153
- mbps: 'Mbps',
4524
+ bps: 'Bps',
3154
4525
  pps: 'Pps',
3155
- startTime: 'StartTime',
3156
- status: 'Status',
4526
+ synBps: 'SynBps',
4527
+ synPps: 'SynPps',
3157
4528
  };
3158
4529
  }
3159
4530
 
3160
4531
  static types(): { [key: string]: any } {
3161
4532
  return {
3162
- endTime: 'number',
3163
- ip: 'string',
3164
- mbps: 'number',
4533
+ bps: 'number',
3165
4534
  pps: 'number',
3166
- startTime: 'number',
3167
- status: 'string',
4535
+ synBps: 'number',
4536
+ synPps: 'number',
3168
4537
  };
3169
4538
  }
3170
4539
 
@@ -3173,26 +4542,56 @@ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
3173
4542
  }
3174
4543
  }
3175
4544
 
3176
- export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
3177
- memberFlow?: string;
3178
- regionFlow?: string;
3179
- time?: number;
3180
- totalFlow?: number;
4545
+ export class ListPolicyResponseBodyPolicyListContent extends $tea.Model {
4546
+ blackIpListExpireAt?: number;
4547
+ enableDropIcmp?: boolean;
4548
+ enableIntelligence?: boolean;
4549
+ enableL4Defense?: boolean;
4550
+ fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
4551
+ intelligenceLevel?: string;
4552
+ l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
4553
+ portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
4554
+ reflectBlockUdpPortList?: number[];
4555
+ regionBlockCountryList?: number[];
4556
+ regionBlockProvinceList?: number[];
4557
+ sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
4558
+ sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
4559
+ whitenGfbrNets?: boolean;
3181
4560
  static names(): { [key: string]: string } {
3182
4561
  return {
3183
- memberFlow: 'MemberFlow',
3184
- regionFlow: 'RegionFlow',
3185
- time: 'Time',
3186
- totalFlow: 'TotalFlow',
4562
+ blackIpListExpireAt: 'BlackIpListExpireAt',
4563
+ enableDropIcmp: 'EnableDropIcmp',
4564
+ enableIntelligence: 'EnableIntelligence',
4565
+ enableL4Defense: 'EnableL4Defense',
4566
+ fingerPrintRuleList: 'FingerPrintRuleList',
4567
+ intelligenceLevel: 'IntelligenceLevel',
4568
+ l4RuleList: 'L4RuleList',
4569
+ portRuleList: 'PortRuleList',
4570
+ reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
4571
+ regionBlockCountryList: 'RegionBlockCountryList',
4572
+ regionBlockProvinceList: 'RegionBlockProvinceList',
4573
+ sourceBlockList: 'SourceBlockList',
4574
+ sourceLimit: 'SourceLimit',
4575
+ whitenGfbrNets: 'WhitenGfbrNets',
3187
4576
  };
3188
4577
  }
3189
4578
 
3190
4579
  static types(): { [key: string]: any } {
3191
4580
  return {
3192
- memberFlow: 'string',
3193
- regionFlow: 'string',
3194
- time: 'number',
3195
- totalFlow: 'number',
4581
+ blackIpListExpireAt: 'number',
4582
+ enableDropIcmp: 'boolean',
4583
+ enableIntelligence: 'boolean',
4584
+ enableL4Defense: 'boolean',
4585
+ fingerPrintRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentFingerPrintRuleList },
4586
+ intelligenceLevel: 'string',
4587
+ l4RuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleList },
4588
+ portRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentPortRuleList },
4589
+ reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
4590
+ regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
4591
+ regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
4592
+ sourceBlockList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentSourceBlockList },
4593
+ sourceLimit: ListPolicyResponseBodyPolicyListContentSourceLimit,
4594
+ whitenGfbrNets: 'boolean',
3196
4595
  };
3197
4596
  }
3198
4597
 
@@ -3201,29 +4600,29 @@ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Mod
3201
4600
  }
3202
4601
  }
3203
4602
 
3204
- export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
3205
- coverage?: string;
3206
- ipCntCn?: number;
3207
- ipCntOv?: number;
3208
- memberIpCnt?: string;
3209
- time?: number;
4603
+ export class ListPolicyResponseBodyPolicyList extends $tea.Model {
4604
+ attachedCount?: number;
4605
+ content?: ListPolicyResponseBodyPolicyListContent;
4606
+ id?: string;
4607
+ name?: string;
4608
+ type?: string;
3210
4609
  static names(): { [key: string]: string } {
3211
4610
  return {
3212
- coverage: 'Coverage',
3213
- ipCntCn: 'IpCntCn',
3214
- ipCntOv: 'IpCntOv',
3215
- memberIpCnt: 'MemberIpCnt',
3216
- time: 'Time',
4611
+ attachedCount: 'AttachedCount',
4612
+ content: 'Content',
4613
+ id: 'Id',
4614
+ name: 'Name',
4615
+ type: 'Type',
3217
4616
  };
3218
4617
  }
3219
4618
 
3220
4619
  static types(): { [key: string]: any } {
3221
4620
  return {
3222
- coverage: 'string',
3223
- ipCntCn: 'number',
3224
- ipCntOv: 'number',
3225
- memberIpCnt: 'string',
3226
- time: 'number',
4621
+ attachedCount: 'number',
4622
+ content: ListPolicyResponseBodyPolicyListContent,
4623
+ id: 'string',
4624
+ name: 'string',
4625
+ type: 'string',
3227
4626
  };
3228
4627
  }
3229
4628
 
@@ -3232,26 +4631,23 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
3232
4631
  }
3233
4632
  }
3234
4633
 
3235
- export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
3236
- memberFlow?: string;
3237
- regionFlow?: string;
3238
- time?: number;
3239
- totalFlow?: number;
4634
+ export class ListPolicyAttachmentRequestIpPortProtocolList extends $tea.Model {
4635
+ ip?: string;
4636
+ port?: number;
4637
+ protocol?: string;
3240
4638
  static names(): { [key: string]: string } {
3241
4639
  return {
3242
- memberFlow: 'MemberFlow',
3243
- regionFlow: 'RegionFlow',
3244
- time: 'Time',
3245
- totalFlow: 'TotalFlow',
4640
+ ip: 'Ip',
4641
+ port: 'Port',
4642
+ protocol: 'Protocol',
3246
4643
  };
3247
4644
  }
3248
4645
 
3249
4646
  static types(): { [key: string]: any } {
3250
4647
  return {
3251
- memberFlow: 'string',
3252
- regionFlow: 'string',
3253
- time: 'number',
3254
- totalFlow: 'number',
4648
+ ip: 'string',
4649
+ port: 'number',
4650
+ protocol: 'string',
3255
4651
  };
3256
4652
  }
3257
4653
 
@@ -3260,20 +4656,38 @@ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList ex
3260
4656
  }
3261
4657
  }
3262
4658
 
3263
- export class DescribeInstanceListRequestTag extends $tea.Model {
3264
- key?: string;
3265
- value?: string;
4659
+ export class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
4660
+ ip?: string;
4661
+ memberUid?: string;
4662
+ policyId?: string;
4663
+ policyName?: string;
4664
+ policyType?: string;
4665
+ port?: number;
4666
+ protocol?: string;
4667
+ region?: string;
3266
4668
  static names(): { [key: string]: string } {
3267
4669
  return {
3268
- key: 'Key',
3269
- value: 'Value',
4670
+ ip: 'Ip',
4671
+ memberUid: 'MemberUid',
4672
+ policyId: 'PolicyId',
4673
+ policyName: 'PolicyName',
4674
+ policyType: 'PolicyType',
4675
+ port: 'Port',
4676
+ protocol: 'Protocol',
4677
+ region: 'Region',
3270
4678
  };
3271
4679
  }
3272
4680
 
3273
4681
  static types(): { [key: string]: any } {
3274
4682
  return {
3275
- key: 'string',
3276
- value: 'string',
4683
+ ip: 'string',
4684
+ memberUid: 'string',
4685
+ policyId: 'string',
4686
+ policyName: 'string',
4687
+ policyType: 'string',
4688
+ port: 'number',
4689
+ protocol: 'string',
4690
+ region: 'string',
3277
4691
  };
3278
4692
  }
3279
4693
 
@@ -3282,17 +4696,20 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
3282
4696
  }
3283
4697
  }
3284
4698
 
3285
- export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
3286
- events?: string[];
4699
+ export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
4700
+ tagCount?: number;
4701
+ tagKey?: string;
3287
4702
  static names(): { [key: string]: string } {
3288
4703
  return {
3289
- events: 'Events',
4704
+ tagCount: 'TagCount',
4705
+ tagKey: 'TagKey',
3290
4706
  };
3291
4707
  }
3292
4708
 
3293
4709
  static types(): { [key: string]: any } {
3294
4710
  return {
3295
- events: { 'type': 'array', 'itemType': 'string' },
4711
+ tagCount: 'number',
4712
+ tagKey: 'string',
3296
4713
  };
3297
4714
  }
3298
4715
 
@@ -3301,53 +4718,20 @@ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition ex
3301
4718
  }
3302
4719
  }
3303
4720
 
3304
- export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
3305
- autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
3306
- autoRenewal?: boolean;
3307
- blackholdingCount?: string;
3308
- commodityType?: string;
3309
- coverageType?: number;
3310
- expireTime?: number;
3311
- gmtCreate?: number;
3312
- instanceId?: string;
3313
- instanceType?: string;
3314
- ipType?: string;
3315
- product?: string;
3316
- remark?: string;
3317
- status?: string;
4721
+ export class ListTagResourcesRequestTag extends $tea.Model {
4722
+ key?: string;
4723
+ value?: string;
3318
4724
  static names(): { [key: string]: string } {
3319
4725
  return {
3320
- autoProtectCondition: 'AutoProtectCondition',
3321
- autoRenewal: 'AutoRenewal',
3322
- blackholdingCount: 'BlackholdingCount',
3323
- commodityType: 'CommodityType',
3324
- coverageType: 'CoverageType',
3325
- expireTime: 'ExpireTime',
3326
- gmtCreate: 'GmtCreate',
3327
- instanceId: 'InstanceId',
3328
- instanceType: 'InstanceType',
3329
- ipType: 'IpType',
3330
- product: 'Product',
3331
- remark: 'Remark',
3332
- status: 'Status',
4726
+ key: 'Key',
4727
+ value: 'Value',
3333
4728
  };
3334
4729
  }
3335
4730
 
3336
4731
  static types(): { [key: string]: any } {
3337
4732
  return {
3338
- autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
3339
- autoRenewal: 'boolean',
3340
- blackholdingCount: 'string',
3341
- commodityType: 'string',
3342
- coverageType: 'number',
3343
- expireTime: 'number',
3344
- gmtCreate: 'number',
3345
- instanceId: 'string',
3346
- instanceType: 'string',
3347
- ipType: 'string',
3348
- product: 'string',
3349
- remark: 'string',
3350
- status: 'string',
4733
+ key: 'string',
4734
+ value: 'string',
3351
4735
  };
3352
4736
  }
3353
4737
 
@@ -3356,38 +4740,45 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
3356
4740
  }
3357
4741
  }
3358
4742
 
3359
- export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $tea.Model {
3360
- bandwidth?: number;
3361
- bindIpCount?: number;
3362
- ipAdvanceThre?: number;
3363
- ipBasicThre?: number;
3364
- ipSpec?: number;
3365
- normalBandwidth?: number;
3366
- packAdvThre?: number;
3367
- packBasicThre?: number;
4743
+ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
4744
+ resourceId?: string;
4745
+ resourceType?: string;
4746
+ tagKey?: string;
4747
+ tagValue?: string;
3368
4748
  static names(): { [key: string]: string } {
3369
4749
  return {
3370
- bandwidth: 'Bandwidth',
3371
- bindIpCount: 'BindIpCount',
3372
- ipAdvanceThre: 'IpAdvanceThre',
3373
- ipBasicThre: 'IpBasicThre',
3374
- ipSpec: 'IpSpec',
3375
- normalBandwidth: 'NormalBandwidth',
3376
- packAdvThre: 'PackAdvThre',
3377
- packBasicThre: 'PackBasicThre',
4750
+ resourceId: 'ResourceId',
4751
+ resourceType: 'ResourceType',
4752
+ tagKey: 'TagKey',
4753
+ tagValue: 'TagValue',
3378
4754
  };
3379
4755
  }
3380
4756
 
3381
4757
  static types(): { [key: string]: any } {
3382
4758
  return {
3383
- bandwidth: 'number',
3384
- bindIpCount: 'number',
3385
- ipAdvanceThre: 'number',
3386
- ipBasicThre: 'number',
3387
- ipSpec: 'number',
3388
- normalBandwidth: 'number',
3389
- packAdvThre: 'number',
3390
- packBasicThre: 'number',
4759
+ resourceId: 'string',
4760
+ resourceType: 'string',
4761
+ tagKey: 'string',
4762
+ tagValue: 'string',
4763
+ };
4764
+ }
4765
+
4766
+ constructor(map?: { [key: string]: any }) {
4767
+ super(map);
4768
+ }
4769
+ }
4770
+
4771
+ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
4772
+ tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
4773
+ static names(): { [key: string]: string } {
4774
+ return {
4775
+ tagResource: 'TagResource',
4776
+ };
4777
+ }
4778
+
4779
+ static types(): { [key: string]: any } {
4780
+ return {
4781
+ tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
3391
4782
  };
3392
4783
  }
3393
4784
 
@@ -3396,38 +4787,53 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
3396
4787
  }
3397
4788
  }
3398
4789
 
3399
- export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
3400
- availableDefenseTimes?: number;
3401
- availableDeleteBlackholeCount?: string;
3402
- defenseTimesPercent?: number;
3403
- instanceId?: string;
3404
- isFullDefenseMode?: number;
3405
- packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
3406
- region?: string;
3407
- totalDefenseTimes?: number;
4790
+ export class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
4791
+ dstPortEnd?: number;
4792
+ dstPortStart?: number;
4793
+ id?: string;
4794
+ matchAction?: string;
4795
+ maxPktLen?: number;
4796
+ minPktLen?: number;
4797
+ offset?: number;
4798
+ payloadBytes?: string;
4799
+ protocol?: string;
4800
+ rateValue?: number;
4801
+ seqNo?: number;
4802
+ srcPortEnd?: number;
4803
+ srcPortStart?: number;
3408
4804
  static names(): { [key: string]: string } {
3409
4805
  return {
3410
- availableDefenseTimes: 'AvailableDefenseTimes',
3411
- availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
3412
- defenseTimesPercent: 'DefenseTimesPercent',
3413
- instanceId: 'InstanceId',
3414
- isFullDefenseMode: 'IsFullDefenseMode',
3415
- packConfig: 'PackConfig',
3416
- region: 'Region',
3417
- totalDefenseTimes: 'TotalDefenseTimes',
4806
+ dstPortEnd: 'DstPortEnd',
4807
+ dstPortStart: 'DstPortStart',
4808
+ id: 'Id',
4809
+ matchAction: 'MatchAction',
4810
+ maxPktLen: 'MaxPktLen',
4811
+ minPktLen: 'MinPktLen',
4812
+ offset: 'Offset',
4813
+ payloadBytes: 'PayloadBytes',
4814
+ protocol: 'Protocol',
4815
+ rateValue: 'RateValue',
4816
+ seqNo: 'SeqNo',
4817
+ srcPortEnd: 'SrcPortEnd',
4818
+ srcPortStart: 'SrcPortStart',
3418
4819
  };
3419
4820
  }
3420
4821
 
3421
4822
  static types(): { [key: string]: any } {
3422
4823
  return {
3423
- availableDefenseTimes: 'number',
3424
- availableDeleteBlackholeCount: 'string',
3425
- defenseTimesPercent: 'number',
3426
- instanceId: 'string',
3427
- isFullDefenseMode: 'number',
3428
- packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
3429
- region: 'string',
3430
- totalDefenseTimes: 'number',
4824
+ dstPortEnd: 'number',
4825
+ dstPortStart: 'number',
4826
+ id: 'string',
4827
+ matchAction: 'string',
4828
+ maxPktLen: 'number',
4829
+ minPktLen: 'number',
4830
+ offset: 'number',
4831
+ payloadBytes: 'string',
4832
+ protocol: 'string',
4833
+ rateValue: 'number',
4834
+ seqNo: 'number',
4835
+ srcPortEnd: 'number',
4836
+ srcPortStart: 'number',
3431
4837
  };
3432
4838
  }
3433
4839
 
@@ -3436,32 +4842,23 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
3436
4842
  }
3437
4843
  }
3438
4844
 
3439
- export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
3440
- endTime?: number;
3441
- ip?: string;
3442
- mbps?: number;
3443
- pps?: number;
3444
- startTime?: number;
3445
- status?: string;
4845
+ export class ModifyPolicyRequestContentL4RuleListConditionList extends $tea.Model {
4846
+ arg?: string;
4847
+ depth?: number;
4848
+ position?: number;
3446
4849
  static names(): { [key: string]: string } {
3447
4850
  return {
3448
- endTime: 'EndTime',
3449
- ip: 'Ip',
3450
- mbps: 'Mbps',
3451
- pps: 'Pps',
3452
- startTime: 'StartTime',
3453
- status: 'Status',
4851
+ arg: 'Arg',
4852
+ depth: 'Depth',
4853
+ position: 'Position',
3454
4854
  };
3455
4855
  }
3456
4856
 
3457
4857
  static types(): { [key: string]: any } {
3458
4858
  return {
3459
- endTime: 'number',
3460
- ip: 'string',
3461
- mbps: 'number',
3462
- pps: 'number',
3463
- startTime: 'number',
3464
- status: 'string',
4859
+ arg: 'string',
4860
+ depth: 'number',
4861
+ position: 'number',
3465
4862
  };
3466
4863
  }
3467
4864
 
@@ -3470,35 +4867,35 @@ export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
3470
4867
  }
3471
4868
  }
3472
4869
 
3473
- export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Model {
3474
- declared?: string;
3475
- desc?: string;
3476
- instanceId?: string;
3477
- mode?: string;
3478
- net?: string;
3479
- registedAs?: string;
3480
- userId?: string;
4870
+ export class ModifyPolicyRequestContentL4RuleList extends $tea.Model {
4871
+ action?: string;
4872
+ conditionList?: ModifyPolicyRequestContentL4RuleListConditionList[];
4873
+ limited?: number;
4874
+ match?: string;
4875
+ method?: string;
4876
+ name?: string;
4877
+ priority?: number;
3481
4878
  static names(): { [key: string]: string } {
3482
4879
  return {
3483
- declared: 'Declared',
3484
- desc: 'Desc',
3485
- instanceId: 'InstanceId',
3486
- mode: 'Mode',
3487
- net: 'Net',
3488
- registedAs: 'RegistedAs',
3489
- userId: 'UserId',
4880
+ action: 'Action',
4881
+ conditionList: 'ConditionList',
4882
+ limited: 'Limited',
4883
+ match: 'Match',
4884
+ method: 'Method',
4885
+ name: 'Name',
4886
+ priority: 'Priority',
3490
4887
  };
3491
4888
  }
3492
4889
 
3493
4890
  static types(): { [key: string]: any } {
3494
4891
  return {
3495
- declared: 'string',
3496
- desc: 'string',
3497
- instanceId: 'string',
3498
- mode: 'string',
3499
- net: 'string',
3500
- registedAs: 'string',
3501
- userId: 'string',
4892
+ action: 'string',
4893
+ conditionList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleListConditionList },
4894
+ limited: 'number',
4895
+ match: 'string',
4896
+ method: 'string',
4897
+ name: 'string',
4898
+ priority: 'number',
3502
4899
  };
3503
4900
  }
3504
4901
 
@@ -3507,32 +4904,38 @@ export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Mo
3507
4904
  }
3508
4905
  }
3509
4906
 
3510
- export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
3511
- entityObject?: string;
3512
- entityType?: number;
3513
- gmtCreate?: number;
3514
- opAccount?: string;
3515
- opAction?: number;
3516
- opDesc?: string;
4907
+ export class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
4908
+ dstPortEnd?: number;
4909
+ dstPortStart?: number;
4910
+ id?: string;
4911
+ matchAction?: string;
4912
+ protocol?: string;
4913
+ seqNo?: number;
4914
+ srcPortEnd?: number;
4915
+ srcPortStart?: number;
3517
4916
  static names(): { [key: string]: string } {
3518
4917
  return {
3519
- entityObject: 'EntityObject',
3520
- entityType: 'EntityType',
3521
- gmtCreate: 'GmtCreate',
3522
- opAccount: 'OpAccount',
3523
- opAction: 'OpAction',
3524
- opDesc: 'OpDesc',
4918
+ dstPortEnd: 'DstPortEnd',
4919
+ dstPortStart: 'DstPortStart',
4920
+ id: 'Id',
4921
+ matchAction: 'MatchAction',
4922
+ protocol: 'Protocol',
4923
+ seqNo: 'SeqNo',
4924
+ srcPortEnd: 'SrcPortEnd',
4925
+ srcPortStart: 'SrcPortStart',
3525
4926
  };
3526
4927
  }
3527
4928
 
3528
4929
  static types(): { [key: string]: any } {
3529
4930
  return {
3530
- entityObject: 'string',
3531
- entityType: 'number',
3532
- gmtCreate: 'number',
3533
- opAccount: 'string',
3534
- opAction: 'number',
3535
- opDesc: 'string',
4931
+ dstPortEnd: 'number',
4932
+ dstPortStart: 'number',
4933
+ id: 'string',
4934
+ matchAction: 'string',
4935
+ protocol: 'string',
4936
+ seqNo: 'number',
4937
+ srcPortEnd: 'number',
4938
+ srcPortStart: 'number',
3536
4939
  };
3537
4940
  }
3538
4941
 
@@ -3541,41 +4944,26 @@ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
3541
4944
  }
3542
4945
  }
3543
4946
 
3544
- export class DescribePackIpListResponseBodyIpList extends $tea.Model {
3545
- ip?: string;
3546
- memberUid?: string;
3547
- nsmExpireAt?: number;
3548
- nsmStartAt?: number;
3549
- nsmStatus?: number;
3550
- product?: string;
3551
- region?: string;
3552
- remark?: string;
3553
- status?: string;
4947
+ export class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
4948
+ blockExpireSeconds?: number;
4949
+ everySeconds?: number;
4950
+ exceedLimitTimes?: number;
4951
+ type?: number;
3554
4952
  static names(): { [key: string]: string } {
3555
4953
  return {
3556
- ip: 'Ip',
3557
- memberUid: 'MemberUid',
3558
- nsmExpireAt: 'NsmExpireAt',
3559
- nsmStartAt: 'NsmStartAt',
3560
- nsmStatus: 'NsmStatus',
3561
- product: 'Product',
3562
- region: 'Region',
3563
- remark: 'Remark',
3564
- status: 'Status',
4954
+ blockExpireSeconds: 'BlockExpireSeconds',
4955
+ everySeconds: 'EverySeconds',
4956
+ exceedLimitTimes: 'ExceedLimitTimes',
4957
+ type: 'Type',
3565
4958
  };
3566
4959
  }
3567
4960
 
3568
4961
  static types(): { [key: string]: any } {
3569
4962
  return {
3570
- ip: 'string',
3571
- memberUid: 'string',
3572
- nsmExpireAt: 'number',
3573
- nsmStartAt: 'number',
3574
- nsmStatus: 'number',
3575
- product: 'string',
3576
- region: 'string',
3577
- remark: 'string',
3578
- status: 'string',
4963
+ blockExpireSeconds: 'number',
4964
+ everySeconds: 'number',
4965
+ exceedLimitTimes: 'number',
4966
+ type: 'number',
3579
4967
  };
3580
4968
  }
3581
4969
 
@@ -3584,23 +4972,26 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
3584
4972
  }
3585
4973
  }
3586
4974
 
3587
- export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
3588
- gmtCreate?: number;
3589
- name?: string;
3590
- uid?: string;
4975
+ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
4976
+ bps?: number;
4977
+ pps?: number;
4978
+ synBps?: number;
4979
+ synPps?: number;
3591
4980
  static names(): { [key: string]: string } {
3592
4981
  return {
3593
- gmtCreate: 'GmtCreate',
3594
- name: 'Name',
3595
- uid: 'Uid',
4982
+ bps: 'Bps',
4983
+ pps: 'Pps',
4984
+ synBps: 'SynBps',
4985
+ synPps: 'SynPps',
3596
4986
  };
3597
4987
  }
3598
4988
 
3599
4989
  static types(): { [key: string]: any } {
3600
4990
  return {
3601
- gmtCreate: 'number',
3602
- name: 'string',
3603
- uid: 'string',
4991
+ bps: 'number',
4992
+ pps: 'number',
4993
+ synBps: 'number',
4994
+ synPps: 'number',
3604
4995
  };
3605
4996
  }
3606
4997
 
@@ -3609,23 +5000,62 @@ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
3609
5000
  }
3610
5001
  }
3611
5002
 
3612
- export class DescribeRegionsResponseBodyRegions extends $tea.Model {
3613
- regionEnName?: string;
3614
- regionId?: string;
3615
- regionName?: string;
5003
+ export class ModifyPolicyRequestContent extends $tea.Model {
5004
+ blackIpList?: string[];
5005
+ blackIpListExpireAt?: number;
5006
+ enableDropIcmp?: boolean;
5007
+ enableIntelligence?: boolean;
5008
+ enableL4Defense?: boolean;
5009
+ fingerPrintRuleList?: ModifyPolicyRequestContentFingerPrintRuleList[];
5010
+ intelligenceLevel?: string;
5011
+ l4RuleList?: ModifyPolicyRequestContentL4RuleList[];
5012
+ portRuleList?: ModifyPolicyRequestContentPortRuleList[];
5013
+ reflectBlockUdpPortList?: number[];
5014
+ regionBlockCountryList?: number[];
5015
+ regionBlockProvinceList?: number[];
5016
+ sourceBlockList?: ModifyPolicyRequestContentSourceBlockList[];
5017
+ sourceLimit?: ModifyPolicyRequestContentSourceLimit;
5018
+ whiteIpList?: string[];
5019
+ whitenGfbrNets?: boolean;
3616
5020
  static names(): { [key: string]: string } {
3617
5021
  return {
3618
- regionEnName: 'RegionEnName',
3619
- regionId: 'RegionId',
3620
- regionName: 'RegionName',
5022
+ blackIpList: 'BlackIpList',
5023
+ blackIpListExpireAt: 'BlackIpListExpireAt',
5024
+ enableDropIcmp: 'EnableDropIcmp',
5025
+ enableIntelligence: 'EnableIntelligence',
5026
+ enableL4Defense: 'EnableL4Defense',
5027
+ fingerPrintRuleList: 'FingerPrintRuleList',
5028
+ intelligenceLevel: 'IntelligenceLevel',
5029
+ l4RuleList: 'L4RuleList',
5030
+ portRuleList: 'PortRuleList',
5031
+ reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
5032
+ regionBlockCountryList: 'RegionBlockCountryList',
5033
+ regionBlockProvinceList: 'RegionBlockProvinceList',
5034
+ sourceBlockList: 'SourceBlockList',
5035
+ sourceLimit: 'SourceLimit',
5036
+ whiteIpList: 'WhiteIpList',
5037
+ whitenGfbrNets: 'WhitenGfbrNets',
3621
5038
  };
3622
5039
  }
3623
5040
 
3624
5041
  static types(): { [key: string]: any } {
3625
5042
  return {
3626
- regionEnName: 'string',
3627
- regionId: 'string',
3628
- regionName: 'string',
5043
+ blackIpList: { 'type': 'array', 'itemType': 'string' },
5044
+ blackIpListExpireAt: 'number',
5045
+ enableDropIcmp: 'boolean',
5046
+ enableIntelligence: 'boolean',
5047
+ enableL4Defense: 'boolean',
5048
+ fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentFingerPrintRuleList },
5049
+ intelligenceLevel: 'string',
5050
+ l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleList },
5051
+ portRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentPortRuleList },
5052
+ reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
5053
+ regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
5054
+ regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
5055
+ sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentSourceBlockList },
5056
+ sourceLimit: ModifyPolicyRequestContentSourceLimit,
5057
+ whiteIpList: { 'type': 'array', 'itemType': 'string' },
5058
+ whitenGfbrNets: 'boolean',
3629
5059
  };
3630
5060
  }
3631
5061
 
@@ -3634,35 +5064,53 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
3634
5064
  }
3635
5065
  }
3636
5066
 
3637
- export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
3638
- attackBps?: number;
3639
- attackPps?: number;
3640
- flowType?: string;
3641
- kbps?: number;
3642
- name?: string;
3643
- pps?: number;
3644
- time?: number;
5067
+ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $tea.Model {
5068
+ dstPortEnd?: number;
5069
+ dstPortStart?: number;
5070
+ id?: string;
5071
+ matchAction?: string;
5072
+ maxPktLen?: number;
5073
+ minPktLen?: number;
5074
+ offset?: number;
5075
+ payloadBytes?: string;
5076
+ protocol?: string;
5077
+ rateValue?: number;
5078
+ seqNo?: number;
5079
+ srcPortEnd?: number;
5080
+ srcPortStart?: number;
3645
5081
  static names(): { [key: string]: string } {
3646
5082
  return {
3647
- attackBps: 'AttackBps',
3648
- attackPps: 'AttackPps',
3649
- flowType: 'FlowType',
3650
- kbps: 'Kbps',
3651
- name: 'Name',
3652
- pps: 'Pps',
3653
- time: 'Time',
5083
+ dstPortEnd: 'DstPortEnd',
5084
+ dstPortStart: 'DstPortStart',
5085
+ id: 'Id',
5086
+ matchAction: 'MatchAction',
5087
+ maxPktLen: 'MaxPktLen',
5088
+ minPktLen: 'MinPktLen',
5089
+ offset: 'Offset',
5090
+ payloadBytes: 'PayloadBytes',
5091
+ protocol: 'Protocol',
5092
+ rateValue: 'RateValue',
5093
+ seqNo: 'SeqNo',
5094
+ srcPortEnd: 'SrcPortEnd',
5095
+ srcPortStart: 'SrcPortStart',
3654
5096
  };
3655
5097
  }
3656
5098
 
3657
5099
  static types(): { [key: string]: any } {
3658
5100
  return {
3659
- attackBps: 'number',
3660
- attackPps: 'number',
3661
- flowType: 'string',
3662
- kbps: 'number',
3663
- name: 'string',
3664
- pps: 'number',
3665
- time: 'number',
5101
+ dstPortEnd: 'number',
5102
+ dstPortStart: 'number',
5103
+ id: 'string',
5104
+ matchAction: 'string',
5105
+ maxPktLen: 'number',
5106
+ minPktLen: 'number',
5107
+ offset: 'number',
5108
+ payloadBytes: 'string',
5109
+ protocol: 'string',
5110
+ rateValue: 'number',
5111
+ seqNo: 'number',
5112
+ srcPortEnd: 'number',
5113
+ srcPortStart: 'number',
3666
5114
  };
3667
5115
  }
3668
5116
 
@@ -3671,23 +5119,23 @@ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
3671
5119
  }
3672
5120
  }
3673
5121
 
3674
- export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3675
- name?: string;
3676
- region?: string;
3677
- type?: string;
5122
+ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $tea.Model {
5123
+ arg?: string;
5124
+ depth?: number;
5125
+ position?: number;
3678
5126
  static names(): { [key: string]: string } {
3679
5127
  return {
3680
- name: 'Name',
3681
- region: 'Region',
3682
- type: 'Type',
5128
+ arg: 'Arg',
5129
+ depth: 'Depth',
5130
+ position: 'Position',
3683
5131
  };
3684
5132
  }
3685
5133
 
3686
5134
  static types(): { [key: string]: any } {
3687
5135
  return {
3688
- name: 'string',
3689
- region: 'string',
3690
- type: 'string',
5136
+ arg: 'string',
5137
+ depth: 'number',
5138
+ position: 'number',
3691
5139
  };
3692
5140
  }
3693
5141
 
@@ -3696,20 +5144,35 @@ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
3696
5144
  }
3697
5145
  }
3698
5146
 
3699
- export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
3700
- enable?: boolean;
3701
- instanceId?: string;
5147
+ export class ModifyPolicyContentRequestContentL4RuleList extends $tea.Model {
5148
+ action?: string;
5149
+ conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
5150
+ limited?: number;
5151
+ match?: string;
5152
+ method?: string;
5153
+ name?: string;
5154
+ priority?: number;
3702
5155
  static names(): { [key: string]: string } {
3703
5156
  return {
3704
- enable: 'Enable',
3705
- instanceId: 'InstanceId',
5157
+ action: 'Action',
5158
+ conditionList: 'ConditionList',
5159
+ limited: 'Limited',
5160
+ match: 'Match',
5161
+ method: 'Method',
5162
+ name: 'Name',
5163
+ priority: 'Priority',
3706
5164
  };
3707
5165
  }
3708
5166
 
3709
5167
  static types(): { [key: string]: any } {
3710
5168
  return {
3711
- enable: 'boolean',
3712
- instanceId: 'string',
5169
+ action: 'string',
5170
+ conditionList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleListConditionList },
5171
+ limited: 'number',
5172
+ match: 'string',
5173
+ method: 'string',
5174
+ name: 'string',
5175
+ priority: 'number',
3713
5176
  };
3714
5177
  }
3715
5178
 
@@ -3718,20 +5181,38 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $te
3718
5181
  }
3719
5182
  }
3720
5183
 
3721
- export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
3722
- tagCount?: number;
3723
- tagKey?: string;
5184
+ export class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
5185
+ dstPortEnd?: number;
5186
+ dstPortStart?: number;
5187
+ id?: string;
5188
+ matchAction?: string;
5189
+ protocol?: string;
5190
+ seqNo?: number;
5191
+ srcPortEnd?: number;
5192
+ srcPortStart?: number;
3724
5193
  static names(): { [key: string]: string } {
3725
5194
  return {
3726
- tagCount: 'TagCount',
3727
- tagKey: 'TagKey',
5195
+ dstPortEnd: 'DstPortEnd',
5196
+ dstPortStart: 'DstPortStart',
5197
+ id: 'Id',
5198
+ matchAction: 'MatchAction',
5199
+ protocol: 'Protocol',
5200
+ seqNo: 'SeqNo',
5201
+ srcPortEnd: 'SrcPortEnd',
5202
+ srcPortStart: 'SrcPortStart',
3728
5203
  };
3729
5204
  }
3730
5205
 
3731
5206
  static types(): { [key: string]: any } {
3732
5207
  return {
3733
- tagCount: 'number',
3734
- tagKey: 'string',
5208
+ dstPortEnd: 'number',
5209
+ dstPortStart: 'number',
5210
+ id: 'string',
5211
+ matchAction: 'string',
5212
+ protocol: 'string',
5213
+ seqNo: 'number',
5214
+ srcPortEnd: 'number',
5215
+ srcPortStart: 'number',
3735
5216
  };
3736
5217
  }
3737
5218
 
@@ -3740,20 +5221,26 @@ export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
3740
5221
  }
3741
5222
  }
3742
5223
 
3743
- export class ListTagResourcesRequestTag extends $tea.Model {
3744
- key?: string;
3745
- value?: string;
5224
+ export class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model {
5225
+ blockExpireSeconds?: number;
5226
+ everySeconds?: number;
5227
+ exceedLimitTimes?: number;
5228
+ type?: number;
3746
5229
  static names(): { [key: string]: string } {
3747
5230
  return {
3748
- key: 'Key',
3749
- value: 'Value',
5231
+ blockExpireSeconds: 'BlockExpireSeconds',
5232
+ everySeconds: 'EverySeconds',
5233
+ exceedLimitTimes: 'ExceedLimitTimes',
5234
+ type: 'Type',
3750
5235
  };
3751
5236
  }
3752
5237
 
3753
5238
  static types(): { [key: string]: any } {
3754
5239
  return {
3755
- key: 'string',
3756
- value: 'string',
5240
+ blockExpireSeconds: 'number',
5241
+ everySeconds: 'number',
5242
+ exceedLimitTimes: 'number',
5243
+ type: 'number',
3757
5244
  };
3758
5245
  }
3759
5246
 
@@ -3762,26 +5249,26 @@ export class ListTagResourcesRequestTag extends $tea.Model {
3762
5249
  }
3763
5250
  }
3764
5251
 
3765
- export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
3766
- resourceId?: string;
3767
- resourceType?: string;
3768
- tagKey?: string;
3769
- tagValue?: string;
5252
+ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
5253
+ bps?: number;
5254
+ pps?: number;
5255
+ synBps?: number;
5256
+ synPps?: number;
3770
5257
  static names(): { [key: string]: string } {
3771
5258
  return {
3772
- resourceId: 'ResourceId',
3773
- resourceType: 'ResourceType',
3774
- tagKey: 'TagKey',
3775
- tagValue: 'TagValue',
5259
+ bps: 'Bps',
5260
+ pps: 'Pps',
5261
+ synBps: 'SynBps',
5262
+ synPps: 'SynPps',
3776
5263
  };
3777
5264
  }
3778
5265
 
3779
5266
  static types(): { [key: string]: any } {
3780
5267
  return {
3781
- resourceId: 'string',
3782
- resourceType: 'string',
3783
- tagKey: 'string',
3784
- tagValue: 'string',
5268
+ bps: 'number',
5269
+ pps: 'number',
5270
+ synBps: 'number',
5271
+ synPps: 'number',
3785
5272
  };
3786
5273
  }
3787
5274
 
@@ -3790,17 +5277,56 @@ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Mo
3790
5277
  }
3791
5278
  }
3792
5279
 
3793
- export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
3794
- tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
5280
+ export class ModifyPolicyContentRequestContent extends $tea.Model {
5281
+ blackIpListExpireAt?: number;
5282
+ enableDropIcmp?: boolean;
5283
+ enableIntelligence?: boolean;
5284
+ enableL4Defense?: boolean;
5285
+ fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
5286
+ intelligenceLevel?: string;
5287
+ l4RuleList?: ModifyPolicyContentRequestContentL4RuleList[];
5288
+ portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
5289
+ reflectBlockUdpPortList?: number[];
5290
+ regionBlockCountryList?: number[];
5291
+ regionBlockProvinceList?: number[];
5292
+ sourceBlockList?: ModifyPolicyContentRequestContentSourceBlockList[];
5293
+ sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
5294
+ whitenGfbrNets?: boolean;
3795
5295
  static names(): { [key: string]: string } {
3796
5296
  return {
3797
- tagResource: 'TagResource',
5297
+ blackIpListExpireAt: 'BlackIpListExpireAt',
5298
+ enableDropIcmp: 'EnableDropIcmp',
5299
+ enableIntelligence: 'EnableIntelligence',
5300
+ enableL4Defense: 'EnableL4Defense',
5301
+ fingerPrintRuleList: 'FingerPrintRuleList',
5302
+ intelligenceLevel: 'IntelligenceLevel',
5303
+ l4RuleList: 'L4RuleList',
5304
+ portRuleList: 'PortRuleList',
5305
+ reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
5306
+ regionBlockCountryList: 'RegionBlockCountryList',
5307
+ regionBlockProvinceList: 'RegionBlockProvinceList',
5308
+ sourceBlockList: 'SourceBlockList',
5309
+ sourceLimit: 'SourceLimit',
5310
+ whitenGfbrNets: 'WhitenGfbrNets',
3798
5311
  };
3799
5312
  }
3800
5313
 
3801
5314
  static types(): { [key: string]: any } {
3802
5315
  return {
3803
- tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
5316
+ blackIpListExpireAt: 'number',
5317
+ enableDropIcmp: 'boolean',
5318
+ enableIntelligence: 'boolean',
5319
+ enableL4Defense: 'boolean',
5320
+ fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentFingerPrintRuleList },
5321
+ intelligenceLevel: 'string',
5322
+ l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleList },
5323
+ portRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentPortRuleList },
5324
+ reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
5325
+ regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
5326
+ regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
5327
+ sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentSourceBlockList },
5328
+ sourceLimit: ModifyPolicyContentRequestContentSourceLimit,
5329
+ whitenGfbrNets: 'boolean',
3804
5330
  };
3805
5331
  }
3806
5332
 
@@ -4074,10 +5600,6 @@ export default class Client extends OpenApi {
4074
5600
  query["RegionId"] = request.regionId;
4075
5601
  }
4076
5602
 
4077
- if (!Util.isUnset(request.sourceIp)) {
4078
- query["SourceIp"] = request.sourceIp;
4079
- }
4080
-
4081
5603
  let req = new $OpenApi.OpenApiRequest({
4082
5604
  query: OpenApiUtil.query(query),
4083
5605
  });
@@ -4246,19 +5768,63 @@ export default class Client extends OpenApi {
4246
5768
  query["RuleUndoEndTime"] = request.ruleUndoEndTime;
4247
5769
  }
4248
5770
 
4249
- if (!Util.isUnset(request.ruleUndoMode)) {
4250
- query["RuleUndoMode"] = request.ruleUndoMode;
5771
+ if (!Util.isUnset(request.ruleUndoMode)) {
5772
+ query["RuleUndoMode"] = request.ruleUndoMode;
5773
+ }
5774
+
5775
+ if (!Util.isUnset(request.timeZone)) {
5776
+ query["TimeZone"] = request.timeZone;
5777
+ }
5778
+
5779
+ let req = new $OpenApi.OpenApiRequest({
5780
+ query: OpenApiUtil.query(query),
5781
+ });
5782
+ let params = new $OpenApi.Params({
5783
+ action: "ConfigSchedruleOnDemand",
5784
+ version: "2018-07-20",
5785
+ protocol: "HTTPS",
5786
+ pathname: "/",
5787
+ method: "POST",
5788
+ authType: "AK",
5789
+ style: "RPC",
5790
+ reqBodyType: "formData",
5791
+ bodyType: "json",
5792
+ });
5793
+ return $tea.cast<ConfigSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
5794
+ }
5795
+
5796
+ /**
5797
+ * @param request ConfigSchedruleOnDemandRequest
5798
+ * @return ConfigSchedruleOnDemandResponse
5799
+ */
5800
+ async configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse> {
5801
+ let runtime = new $Util.RuntimeOptions({ });
5802
+ return await this.configSchedruleOnDemandWithOptions(request, runtime);
5803
+ }
5804
+
5805
+ /**
5806
+ * @summary 创建策略
5807
+ *
5808
+ * @param request CreatePolicyRequest
5809
+ * @param runtime runtime options for this request RuntimeOptions
5810
+ * @return CreatePolicyResponse
5811
+ */
5812
+ async createPolicyWithOptions(request: CreatePolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreatePolicyResponse> {
5813
+ Util.validateModel(request);
5814
+ let query = { };
5815
+ if (!Util.isUnset(request.name)) {
5816
+ query["Name"] = request.name;
4251
5817
  }
4252
5818
 
4253
- if (!Util.isUnset(request.timeZone)) {
4254
- query["TimeZone"] = request.timeZone;
5819
+ if (!Util.isUnset(request.type)) {
5820
+ query["Type"] = request.type;
4255
5821
  }
4256
5822
 
4257
5823
  let req = new $OpenApi.OpenApiRequest({
4258
5824
  query: OpenApiUtil.query(query),
4259
5825
  });
4260
5826
  let params = new $OpenApi.Params({
4261
- action: "ConfigSchedruleOnDemand",
5827
+ action: "CreatePolicy",
4262
5828
  version: "2018-07-20",
4263
5829
  protocol: "HTTPS",
4264
5830
  pathname: "/",
@@ -4268,16 +5834,18 @@ export default class Client extends OpenApi {
4268
5834
  reqBodyType: "formData",
4269
5835
  bodyType: "json",
4270
5836
  });
4271
- return $tea.cast<ConfigSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
5837
+ return $tea.cast<CreatePolicyResponse>(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
4272
5838
  }
4273
5839
 
4274
5840
  /**
4275
- * @param request ConfigSchedruleOnDemandRequest
4276
- * @return ConfigSchedruleOnDemandResponse
5841
+ * @summary 创建策略
5842
+ *
5843
+ * @param request CreatePolicyRequest
5844
+ * @return CreatePolicyResponse
4277
5845
  */
4278
- async configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse> {
5846
+ async createPolicy(request: CreatePolicyRequest): Promise<CreatePolicyResponse> {
4279
5847
  let runtime = new $Util.RuntimeOptions({ });
4280
- return await this.configSchedruleOnDemandWithOptions(request, runtime);
5848
+ return await this.createPolicyWithOptions(request, runtime);
4281
5849
  }
4282
5850
 
4283
5851
  /**
@@ -4488,6 +6056,48 @@ export default class Client extends OpenApi {
4488
6056
  return await this.deleteIpWithOptions(request, runtime);
4489
6057
  }
4490
6058
 
6059
+ /**
6060
+ * @summary 删除策略
6061
+ *
6062
+ * @param request DeletePolicyRequest
6063
+ * @param runtime runtime options for this request RuntimeOptions
6064
+ * @return DeletePolicyResponse
6065
+ */
6066
+ async deletePolicyWithOptions(request: DeletePolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeletePolicyResponse> {
6067
+ Util.validateModel(request);
6068
+ let query = { };
6069
+ if (!Util.isUnset(request.id)) {
6070
+ query["Id"] = request.id;
6071
+ }
6072
+
6073
+ let req = new $OpenApi.OpenApiRequest({
6074
+ query: OpenApiUtil.query(query),
6075
+ });
6076
+ let params = new $OpenApi.Params({
6077
+ action: "DeletePolicy",
6078
+ version: "2018-07-20",
6079
+ protocol: "HTTPS",
6080
+ pathname: "/",
6081
+ method: "POST",
6082
+ authType: "AK",
6083
+ style: "RPC",
6084
+ reqBodyType: "formData",
6085
+ bodyType: "json",
6086
+ });
6087
+ return $tea.cast<DeletePolicyResponse>(await this.callApi(params, req, runtime), new DeletePolicyResponse({}));
6088
+ }
6089
+
6090
+ /**
6091
+ * @summary 删除策略
6092
+ *
6093
+ * @param request DeletePolicyRequest
6094
+ * @return DeletePolicyResponse
6095
+ */
6096
+ async deletePolicy(request: DeletePolicyRequest): Promise<DeletePolicyResponse> {
6097
+ let runtime = new $Util.RuntimeOptions({ });
6098
+ return await this.deletePolicyWithOptions(request, runtime);
6099
+ }
6100
+
4491
6101
  /**
4492
6102
  * @summary 删除资源目录成员账号列表
4493
6103
  *
@@ -4604,10 +6214,6 @@ export default class Client extends OpenApi {
4604
6214
  query["RegionId"] = request.regionId;
4605
6215
  }
4606
6216
 
4607
- if (!Util.isUnset(request.sourceIp)) {
4608
- query["SourceIp"] = request.sourceIp;
4609
- }
4610
-
4611
6217
  if (!Util.isUnset(request.type)) {
4612
6218
  query["Type"] = request.type;
4613
6219
  }
@@ -4670,10 +6276,6 @@ export default class Client extends OpenApi {
4670
6276
  query["RegionId"] = request.regionId;
4671
6277
  }
4672
6278
 
4673
- if (!Util.isUnset(request.sourceIp)) {
4674
- query["SourceIp"] = request.sourceIp;
4675
- }
4676
-
4677
6279
  if (!Util.isUnset(request.type)) {
4678
6280
  query["Type"] = request.type;
4679
6281
  }
@@ -5525,6 +7127,58 @@ export default class Client extends OpenApi {
5525
7127
  return await this.describeTrafficWithOptions(request, runtime);
5526
7128
  }
5527
7129
 
7130
+ /**
7131
+ * @summary 策略解绑
7132
+ *
7133
+ * @param tmpReq DetachFromPolicyRequest
7134
+ * @param runtime runtime options for this request RuntimeOptions
7135
+ * @return DetachFromPolicyResponse
7136
+ */
7137
+ async detachFromPolicyWithOptions(tmpReq: DetachFromPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DetachFromPolicyResponse> {
7138
+ Util.validateModel(tmpReq);
7139
+ let request = new DetachFromPolicyShrinkRequest({ });
7140
+ OpenApiUtil.convert(tmpReq, request);
7141
+ if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
7142
+ request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
7143
+ }
7144
+
7145
+ let query = { };
7146
+ if (!Util.isUnset(request.ipPortProtocolListShrink)) {
7147
+ query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
7148
+ }
7149
+
7150
+ if (!Util.isUnset(request.policyType)) {
7151
+ query["PolicyType"] = request.policyType;
7152
+ }
7153
+
7154
+ let req = new $OpenApi.OpenApiRequest({
7155
+ query: OpenApiUtil.query(query),
7156
+ });
7157
+ let params = new $OpenApi.Params({
7158
+ action: "DetachFromPolicy",
7159
+ version: "2018-07-20",
7160
+ protocol: "HTTPS",
7161
+ pathname: "/",
7162
+ method: "POST",
7163
+ authType: "AK",
7164
+ style: "RPC",
7165
+ reqBodyType: "formData",
7166
+ bodyType: "json",
7167
+ });
7168
+ return $tea.cast<DetachFromPolicyResponse>(await this.callApi(params, req, runtime), new DetachFromPolicyResponse({}));
7169
+ }
7170
+
7171
+ /**
7172
+ * @summary 策略解绑
7173
+ *
7174
+ * @param request DetachFromPolicyRequest
7175
+ * @return DetachFromPolicyResponse
7176
+ */
7177
+ async detachFromPolicy(request: DetachFromPolicyRequest): Promise<DetachFromPolicyResponse> {
7178
+ let runtime = new $Util.RuntimeOptions({ });
7179
+ return await this.detachFromPolicyWithOptions(request, runtime);
7180
+ }
7181
+
5528
7182
  /**
5529
7183
  * @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
5530
7184
  *
@@ -5553,10 +7207,6 @@ export default class Client extends OpenApi {
5553
7207
  query["RegionId"] = request.regionId;
5554
7208
  }
5555
7209
 
5556
- if (!Util.isUnset(request.sourceIp)) {
5557
- query["SourceIp"] = request.sourceIp;
5558
- }
5559
-
5560
7210
  let req = new $OpenApi.OpenApiRequest({
5561
7211
  query: OpenApiUtil.query(query),
5562
7212
  });
@@ -5681,6 +7331,124 @@ export default class Client extends OpenApi {
5681
7331
  return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
5682
7332
  }
5683
7333
 
7334
+ /**
7335
+ * @summary 查询策略
7336
+ *
7337
+ * @param request ListPolicyRequest
7338
+ * @param runtime runtime options for this request RuntimeOptions
7339
+ * @return ListPolicyResponse
7340
+ */
7341
+ async listPolicyWithOptions(request: ListPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyResponse> {
7342
+ Util.validateModel(request);
7343
+ let query = { };
7344
+ if (!Util.isUnset(request.name)) {
7345
+ query["Name"] = request.name;
7346
+ }
7347
+
7348
+ if (!Util.isUnset(request.pageNo)) {
7349
+ query["PageNo"] = request.pageNo;
7350
+ }
7351
+
7352
+ if (!Util.isUnset(request.pageSize)) {
7353
+ query["PageSize"] = request.pageSize;
7354
+ }
7355
+
7356
+ if (!Util.isUnset(request.type)) {
7357
+ query["Type"] = request.type;
7358
+ }
7359
+
7360
+ let req = new $OpenApi.OpenApiRequest({
7361
+ query: OpenApiUtil.query(query),
7362
+ });
7363
+ let params = new $OpenApi.Params({
7364
+ action: "ListPolicy",
7365
+ version: "2018-07-20",
7366
+ protocol: "HTTPS",
7367
+ pathname: "/",
7368
+ method: "POST",
7369
+ authType: "AK",
7370
+ style: "RPC",
7371
+ reqBodyType: "formData",
7372
+ bodyType: "json",
7373
+ });
7374
+ return $tea.cast<ListPolicyResponse>(await this.callApi(params, req, runtime), new ListPolicyResponse({}));
7375
+ }
7376
+
7377
+ /**
7378
+ * @summary 查询策略
7379
+ *
7380
+ * @param request ListPolicyRequest
7381
+ * @return ListPolicyResponse
7382
+ */
7383
+ async listPolicy(request: ListPolicyRequest): Promise<ListPolicyResponse> {
7384
+ let runtime = new $Util.RuntimeOptions({ });
7385
+ return await this.listPolicyWithOptions(request, runtime);
7386
+ }
7387
+
7388
+ /**
7389
+ * @summary 查询策略绑定
7390
+ *
7391
+ * @param tmpReq ListPolicyAttachmentRequest
7392
+ * @param runtime runtime options for this request RuntimeOptions
7393
+ * @return ListPolicyAttachmentResponse
7394
+ */
7395
+ async listPolicyAttachmentWithOptions(tmpReq: ListPolicyAttachmentRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyAttachmentResponse> {
7396
+ Util.validateModel(tmpReq);
7397
+ let request = new ListPolicyAttachmentShrinkRequest({ });
7398
+ OpenApiUtil.convert(tmpReq, request);
7399
+ if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
7400
+ request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
7401
+ }
7402
+
7403
+ let query = { };
7404
+ if (!Util.isUnset(request.ipPortProtocolListShrink)) {
7405
+ query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
7406
+ }
7407
+
7408
+ if (!Util.isUnset(request.pageNo)) {
7409
+ query["PageNo"] = request.pageNo;
7410
+ }
7411
+
7412
+ if (!Util.isUnset(request.pageSize)) {
7413
+ query["PageSize"] = request.pageSize;
7414
+ }
7415
+
7416
+ if (!Util.isUnset(request.policyId)) {
7417
+ query["PolicyId"] = request.policyId;
7418
+ }
7419
+
7420
+ if (!Util.isUnset(request.policyType)) {
7421
+ query["PolicyType"] = request.policyType;
7422
+ }
7423
+
7424
+ let req = new $OpenApi.OpenApiRequest({
7425
+ query: OpenApiUtil.query(query),
7426
+ });
7427
+ let params = new $OpenApi.Params({
7428
+ action: "ListPolicyAttachment",
7429
+ version: "2018-07-20",
7430
+ protocol: "HTTPS",
7431
+ pathname: "/",
7432
+ method: "POST",
7433
+ authType: "AK",
7434
+ style: "RPC",
7435
+ reqBodyType: "formData",
7436
+ bodyType: "json",
7437
+ });
7438
+ return $tea.cast<ListPolicyAttachmentResponse>(await this.callApi(params, req, runtime), new ListPolicyAttachmentResponse({}));
7439
+ }
7440
+
7441
+ /**
7442
+ * @summary 查询策略绑定
7443
+ *
7444
+ * @param request ListPolicyAttachmentRequest
7445
+ * @return ListPolicyAttachmentResponse
7446
+ */
7447
+ async listPolicyAttachment(request: ListPolicyAttachmentRequest): Promise<ListPolicyAttachmentResponse> {
7448
+ let runtime = new $Util.RuntimeOptions({ });
7449
+ return await this.listPolicyAttachmentWithOptions(request, runtime);
7450
+ }
7451
+
5684
7452
  /**
5685
7453
  * @summary Queries all tags.
5686
7454
  *
@@ -5801,6 +7569,122 @@ export default class Client extends OpenApi {
5801
7569
  return await this.listTagResourcesWithOptions(request, runtime);
5802
7570
  }
5803
7571
 
7572
+ /**
7573
+ * @summary 修改策略
7574
+ *
7575
+ * @param tmpReq ModifyPolicyRequest
7576
+ * @param runtime runtime options for this request RuntimeOptions
7577
+ * @return ModifyPolicyResponse
7578
+ */
7579
+ async modifyPolicyWithOptions(tmpReq: ModifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyResponse> {
7580
+ Util.validateModel(tmpReq);
7581
+ let request = new ModifyPolicyShrinkRequest({ });
7582
+ OpenApiUtil.convert(tmpReq, request);
7583
+ if (!Util.isUnset(tmpReq.content)) {
7584
+ request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
7585
+ }
7586
+
7587
+ let query = { };
7588
+ if (!Util.isUnset(request.actionType)) {
7589
+ query["ActionType"] = request.actionType;
7590
+ }
7591
+
7592
+ if (!Util.isUnset(request.contentShrink)) {
7593
+ query["Content"] = request.contentShrink;
7594
+ }
7595
+
7596
+ if (!Util.isUnset(request.id)) {
7597
+ query["Id"] = request.id;
7598
+ }
7599
+
7600
+ if (!Util.isUnset(request.name)) {
7601
+ query["Name"] = request.name;
7602
+ }
7603
+
7604
+ let req = new $OpenApi.OpenApiRequest({
7605
+ query: OpenApiUtil.query(query),
7606
+ });
7607
+ let params = new $OpenApi.Params({
7608
+ action: "ModifyPolicy",
7609
+ version: "2018-07-20",
7610
+ protocol: "HTTPS",
7611
+ pathname: "/",
7612
+ method: "POST",
7613
+ authType: "AK",
7614
+ style: "RPC",
7615
+ reqBodyType: "formData",
7616
+ bodyType: "json",
7617
+ });
7618
+ return $tea.cast<ModifyPolicyResponse>(await this.callApi(params, req, runtime), new ModifyPolicyResponse({}));
7619
+ }
7620
+
7621
+ /**
7622
+ * @summary 修改策略
7623
+ *
7624
+ * @param request ModifyPolicyRequest
7625
+ * @return ModifyPolicyResponse
7626
+ */
7627
+ async modifyPolicy(request: ModifyPolicyRequest): Promise<ModifyPolicyResponse> {
7628
+ let runtime = new $Util.RuntimeOptions({ });
7629
+ return await this.modifyPolicyWithOptions(request, runtime);
7630
+ }
7631
+
7632
+ /**
7633
+ * @summary 修改策略
7634
+ *
7635
+ * @param tmpReq ModifyPolicyContentRequest
7636
+ * @param runtime runtime options for this request RuntimeOptions
7637
+ * @return ModifyPolicyContentResponse
7638
+ */
7639
+ async modifyPolicyContentWithOptions(tmpReq: ModifyPolicyContentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyContentResponse> {
7640
+ Util.validateModel(tmpReq);
7641
+ let request = new ModifyPolicyContentShrinkRequest({ });
7642
+ OpenApiUtil.convert(tmpReq, request);
7643
+ if (!Util.isUnset(tmpReq.content)) {
7644
+ request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
7645
+ }
7646
+
7647
+ let query = { };
7648
+ if (!Util.isUnset(request.contentShrink)) {
7649
+ query["Content"] = request.contentShrink;
7650
+ }
7651
+
7652
+ if (!Util.isUnset(request.id)) {
7653
+ query["Id"] = request.id;
7654
+ }
7655
+
7656
+ if (!Util.isUnset(request.name)) {
7657
+ query["Name"] = request.name;
7658
+ }
7659
+
7660
+ let req = new $OpenApi.OpenApiRequest({
7661
+ query: OpenApiUtil.query(query),
7662
+ });
7663
+ let params = new $OpenApi.Params({
7664
+ action: "ModifyPolicyContent",
7665
+ version: "2018-07-20",
7666
+ protocol: "HTTPS",
7667
+ pathname: "/",
7668
+ method: "POST",
7669
+ authType: "AK",
7670
+ style: "RPC",
7671
+ reqBodyType: "formData",
7672
+ bodyType: "json",
7673
+ });
7674
+ return $tea.cast<ModifyPolicyContentResponse>(await this.callApi(params, req, runtime), new ModifyPolicyContentResponse({}));
7675
+ }
7676
+
7677
+ /**
7678
+ * @summary 修改策略
7679
+ *
7680
+ * @param request ModifyPolicyContentRequest
7681
+ * @return ModifyPolicyContentResponse
7682
+ */
7683
+ async modifyPolicyContent(request: ModifyPolicyContentRequest): Promise<ModifyPolicyContentResponse> {
7684
+ let runtime = new $Util.RuntimeOptions({ });
7685
+ return await this.modifyPolicyContentWithOptions(request, runtime);
7686
+ }
7687
+
5804
7688
  /**
5805
7689
  * @summary Adds remarks for a specific Anti-DDoS Origin instance.
5806
7690
  *