@alicloud/ddosbgp20180720 2.4.0 → 2.6.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
 
@@ -262,6 +256,94 @@ export class AttachAssetGroupToInstanceResponse extends $tea.Model {
262
256
  }
263
257
  }
264
258
 
259
+ export class AttachToPolicyRequest extends $tea.Model {
260
+ ipPortProtocolList?: AttachToPolicyRequestIpPortProtocolList[];
261
+ policyId?: string;
262
+ static names(): { [key: string]: string } {
263
+ return {
264
+ ipPortProtocolList: 'IpPortProtocolList',
265
+ policyId: 'PolicyId',
266
+ };
267
+ }
268
+
269
+ static types(): { [key: string]: any } {
270
+ return {
271
+ ipPortProtocolList: { 'type': 'array', 'itemType': AttachToPolicyRequestIpPortProtocolList },
272
+ policyId: 'string',
273
+ };
274
+ }
275
+
276
+ constructor(map?: { [key: string]: any }) {
277
+ super(map);
278
+ }
279
+ }
280
+
281
+ export class AttachToPolicyShrinkRequest extends $tea.Model {
282
+ ipPortProtocolListShrink?: string;
283
+ policyId?: string;
284
+ static names(): { [key: string]: string } {
285
+ return {
286
+ ipPortProtocolListShrink: 'IpPortProtocolList',
287
+ policyId: 'PolicyId',
288
+ };
289
+ }
290
+
291
+ static types(): { [key: string]: any } {
292
+ return {
293
+ ipPortProtocolListShrink: 'string',
294
+ policyId: 'string',
295
+ };
296
+ }
297
+
298
+ constructor(map?: { [key: string]: any }) {
299
+ super(map);
300
+ }
301
+ }
302
+
303
+ export class AttachToPolicyResponseBody extends $tea.Model {
304
+ requestId?: string;
305
+ static names(): { [key: string]: string } {
306
+ return {
307
+ requestId: 'RequestId',
308
+ };
309
+ }
310
+
311
+ static types(): { [key: string]: any } {
312
+ return {
313
+ requestId: 'string',
314
+ };
315
+ }
316
+
317
+ constructor(map?: { [key: string]: any }) {
318
+ super(map);
319
+ }
320
+ }
321
+
322
+ export class AttachToPolicyResponse extends $tea.Model {
323
+ headers?: { [key: string]: string };
324
+ statusCode?: number;
325
+ body?: AttachToPolicyResponseBody;
326
+ static names(): { [key: string]: string } {
327
+ return {
328
+ headers: 'headers',
329
+ statusCode: 'statusCode',
330
+ body: 'body',
331
+ };
332
+ }
333
+
334
+ static types(): { [key: string]: any } {
335
+ return {
336
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
337
+ statusCode: 'number',
338
+ body: AttachToPolicyResponseBody,
339
+ };
340
+ }
341
+
342
+ constructor(map?: { [key: string]: any }) {
343
+ super(map);
344
+ }
345
+ }
346
+
265
347
  export class CheckAccessLogAuthRequest extends $tea.Model {
266
348
  regionId?: string;
267
349
  resourceGroupId?: string;
@@ -499,6 +581,75 @@ export class ConfigSchedruleOnDemandResponse extends $tea.Model {
499
581
  }
500
582
  }
501
583
 
584
+ export class CreatePolicyRequest extends $tea.Model {
585
+ name?: string;
586
+ type?: string;
587
+ static names(): { [key: string]: string } {
588
+ return {
589
+ name: 'Name',
590
+ type: 'Type',
591
+ };
592
+ }
593
+
594
+ static types(): { [key: string]: any } {
595
+ return {
596
+ name: 'string',
597
+ type: 'string',
598
+ };
599
+ }
600
+
601
+ constructor(map?: { [key: string]: any }) {
602
+ super(map);
603
+ }
604
+ }
605
+
606
+ export class CreatePolicyResponseBody extends $tea.Model {
607
+ id?: string;
608
+ requestId?: string;
609
+ static names(): { [key: string]: string } {
610
+ return {
611
+ id: 'Id',
612
+ requestId: 'RequestId',
613
+ };
614
+ }
615
+
616
+ static types(): { [key: string]: any } {
617
+ return {
618
+ id: 'string',
619
+ requestId: 'string',
620
+ };
621
+ }
622
+
623
+ constructor(map?: { [key: string]: any }) {
624
+ super(map);
625
+ }
626
+ }
627
+
628
+ export class CreatePolicyResponse extends $tea.Model {
629
+ headers?: { [key: string]: string };
630
+ statusCode?: number;
631
+ body?: CreatePolicyResponseBody;
632
+ static names(): { [key: string]: string } {
633
+ return {
634
+ headers: 'headers',
635
+ statusCode: 'statusCode',
636
+ body: 'body',
637
+ };
638
+ }
639
+
640
+ static types(): { [key: string]: any } {
641
+ return {
642
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
643
+ statusCode: 'number',
644
+ body: CreatePolicyResponseBody,
645
+ };
646
+ }
647
+
648
+ constructor(map?: { [key: string]: any }) {
649
+ super(map);
650
+ }
651
+ }
652
+
502
653
  export class CreateSchedruleOnDemandRequest extends $tea.Model {
503
654
  instanceId?: string;
504
655
  regionId?: string;
@@ -739,6 +890,69 @@ export class DeleteIpResponse extends $tea.Model {
739
890
  }
740
891
  }
741
892
 
893
+ export class DeletePolicyRequest extends $tea.Model {
894
+ id?: string;
895
+ static names(): { [key: string]: string } {
896
+ return {
897
+ id: 'Id',
898
+ };
899
+ }
900
+
901
+ static types(): { [key: string]: any } {
902
+ return {
903
+ id: 'string',
904
+ };
905
+ }
906
+
907
+ constructor(map?: { [key: string]: any }) {
908
+ super(map);
909
+ }
910
+ }
911
+
912
+ export class DeletePolicyResponseBody extends $tea.Model {
913
+ requestId?: string;
914
+ static names(): { [key: string]: string } {
915
+ return {
916
+ requestId: 'RequestId',
917
+ };
918
+ }
919
+
920
+ static types(): { [key: string]: any } {
921
+ return {
922
+ requestId: 'string',
923
+ };
924
+ }
925
+
926
+ constructor(map?: { [key: string]: any }) {
927
+ super(map);
928
+ }
929
+ }
930
+
931
+ export class DeletePolicyResponse extends $tea.Model {
932
+ headers?: { [key: string]: string };
933
+ statusCode?: number;
934
+ body?: DeletePolicyResponseBody;
935
+ static names(): { [key: string]: string } {
936
+ return {
937
+ headers: 'headers',
938
+ statusCode: 'statusCode',
939
+ body: 'body',
940
+ };
941
+ }
942
+
943
+ static types(): { [key: string]: any } {
944
+ return {
945
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
946
+ statusCode: 'number',
947
+ body: DeletePolicyResponseBody,
948
+ };
949
+ }
950
+
951
+ constructor(map?: { [key: string]: any }) {
952
+ super(map);
953
+ }
954
+ }
955
+
742
956
  export class DeleteRdMemberListRequest extends $tea.Model {
743
957
  memberList?: DeleteRdMemberListRequestMemberList[];
744
958
  static names(): { [key: string]: string } {
@@ -894,14 +1108,12 @@ export class DescribeAssetGroupRequest extends $tea.Model {
894
1108
  name?: string;
895
1109
  region?: string;
896
1110
  regionId?: string;
897
- sourceIp?: string;
898
1111
  type?: string;
899
1112
  static names(): { [key: string]: string } {
900
1113
  return {
901
1114
  name: 'Name',
902
1115
  region: 'Region',
903
1116
  regionId: 'RegionId',
904
- sourceIp: 'SourceIp',
905
1117
  type: 'Type',
906
1118
  };
907
1119
  }
@@ -911,7 +1123,6 @@ export class DescribeAssetGroupRequest extends $tea.Model {
911
1123
  name: 'string',
912
1124
  region: 'string',
913
1125
  regionId: 'string',
914
- sourceIp: 'string',
915
1126
  type: 'string',
916
1127
  };
917
1128
  }
@@ -977,7 +1188,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
977
1188
  name?: string;
978
1189
  region?: string;
979
1190
  regionId?: string;
980
- sourceIp?: string;
981
1191
  type?: string;
982
1192
  static names(): { [key: string]: string } {
983
1193
  return {
@@ -986,7 +1196,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
986
1196
  name: 'Name',
987
1197
  region: 'Region',
988
1198
  regionId: 'RegionId',
989
- sourceIp: 'SourceIp',
990
1199
  type: 'Type',
991
1200
  };
992
1201
  }
@@ -998,7 +1207,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
998
1207
  name: 'string',
999
1208
  region: 'string',
1000
1209
  regionId: 'string',
1001
- sourceIp: 'string',
1002
1210
  type: 'string',
1003
1211
  };
1004
1212
  }
@@ -2167,17 +2375,103 @@ export class DescribeTrafficResponse extends $tea.Model {
2167
2375
  }
2168
2376
  }
2169
2377
 
2378
+ export class DetachFromPolicyRequest extends $tea.Model {
2379
+ ipPortProtocolList?: DetachFromPolicyRequestIpPortProtocolList[];
2380
+ policyType?: string;
2381
+ static names(): { [key: string]: string } {
2382
+ return {
2383
+ ipPortProtocolList: 'IpPortProtocolList',
2384
+ policyType: 'PolicyType',
2385
+ };
2386
+ }
2387
+
2388
+ static types(): { [key: string]: any } {
2389
+ return {
2390
+ ipPortProtocolList: { 'type': 'array', 'itemType': DetachFromPolicyRequestIpPortProtocolList },
2391
+ policyType: 'string',
2392
+ };
2393
+ }
2394
+
2395
+ constructor(map?: { [key: string]: any }) {
2396
+ super(map);
2397
+ }
2398
+ }
2399
+
2400
+ export class DetachFromPolicyShrinkRequest extends $tea.Model {
2401
+ ipPortProtocolListShrink?: string;
2402
+ policyType?: string;
2403
+ static names(): { [key: string]: string } {
2404
+ return {
2405
+ ipPortProtocolListShrink: 'IpPortProtocolList',
2406
+ policyType: 'PolicyType',
2407
+ };
2408
+ }
2409
+
2410
+ static types(): { [key: string]: any } {
2411
+ return {
2412
+ ipPortProtocolListShrink: 'string',
2413
+ policyType: 'string',
2414
+ };
2415
+ }
2416
+
2417
+ constructor(map?: { [key: string]: any }) {
2418
+ super(map);
2419
+ }
2420
+ }
2421
+
2422
+ export class DetachFromPolicyResponseBody extends $tea.Model {
2423
+ requestId?: string;
2424
+ static names(): { [key: string]: string } {
2425
+ return {
2426
+ requestId: 'RequestId',
2427
+ };
2428
+ }
2429
+
2430
+ static types(): { [key: string]: any } {
2431
+ return {
2432
+ requestId: 'string',
2433
+ };
2434
+ }
2435
+
2436
+ constructor(map?: { [key: string]: any }) {
2437
+ super(map);
2438
+ }
2439
+ }
2440
+
2441
+ export class DetachFromPolicyResponse extends $tea.Model {
2442
+ headers?: { [key: string]: string };
2443
+ statusCode?: number;
2444
+ body?: DetachFromPolicyResponseBody;
2445
+ static names(): { [key: string]: string } {
2446
+ return {
2447
+ headers: 'headers',
2448
+ statusCode: 'statusCode',
2449
+ body: 'body',
2450
+ };
2451
+ }
2452
+
2453
+ static types(): { [key: string]: any } {
2454
+ return {
2455
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2456
+ statusCode: 'number',
2457
+ body: DetachFromPolicyResponseBody,
2458
+ };
2459
+ }
2460
+
2461
+ constructor(map?: { [key: string]: any }) {
2462
+ super(map);
2463
+ }
2464
+ }
2465
+
2170
2466
  export class DettachAssetGroupToInstanceRequest extends $tea.Model {
2171
2467
  assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
2172
2468
  instanceId?: string;
2173
2469
  regionId?: string;
2174
- sourceIp?: string;
2175
2470
  static names(): { [key: string]: string } {
2176
2471
  return {
2177
2472
  assetGroupList: 'AssetGroupList',
2178
2473
  instanceId: 'InstanceId',
2179
2474
  regionId: 'RegionId',
2180
- sourceIp: 'SourceIp',
2181
2475
  };
2182
2476
  }
2183
2477
 
@@ -2186,7 +2480,6 @@ export class DettachAssetGroupToInstanceRequest extends $tea.Model {
2186
2480
  assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
2187
2481
  instanceId: 'string',
2188
2482
  regionId: 'string',
2189
- sourceIp: 'string',
2190
2483
  };
2191
2484
  }
2192
2485
 
@@ -2199,13 +2492,11 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
2199
2492
  assetGroupListShrink?: string;
2200
2493
  instanceId?: string;
2201
2494
  regionId?: string;
2202
- sourceIp?: string;
2203
2495
  static names(): { [key: string]: string } {
2204
2496
  return {
2205
2497
  assetGroupListShrink: 'AssetGroupList',
2206
2498
  instanceId: 'InstanceId',
2207
2499
  regionId: 'RegionId',
2208
- sourceIp: 'SourceIp',
2209
2500
  };
2210
2501
  }
2211
2502
 
@@ -2214,7 +2505,6 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
2214
2505
  assetGroupListShrink: 'string',
2215
2506
  instanceId: 'string',
2216
2507
  regionId: 'string',
2217
- sourceIp: 'string',
2218
2508
  };
2219
2509
  }
2220
2510
 
@@ -2411,29 +2701,26 @@ export class ListOpenedAccessLogInstancesResponse extends $tea.Model {
2411
2701
  }
2412
2702
  }
2413
2703
 
2414
- export class ListTagKeysRequest extends $tea.Model {
2415
- currentPage?: number;
2704
+ export class ListPolicyRequest extends $tea.Model {
2705
+ name?: string;
2706
+ pageNo?: number;
2416
2707
  pageSize?: number;
2417
- regionId?: string;
2418
- resourceGroupId?: string;
2419
- resourceType?: string;
2708
+ type?: string;
2420
2709
  static names(): { [key: string]: string } {
2421
2710
  return {
2422
- currentPage: 'CurrentPage',
2711
+ name: 'Name',
2712
+ pageNo: 'PageNo',
2423
2713
  pageSize: 'PageSize',
2424
- regionId: 'RegionId',
2425
- resourceGroupId: 'ResourceGroupId',
2426
- resourceType: 'ResourceType',
2714
+ type: 'Type',
2427
2715
  };
2428
2716
  }
2429
2717
 
2430
2718
  static types(): { [key: string]: any } {
2431
2719
  return {
2432
- currentPage: 'number',
2720
+ name: 'string',
2721
+ pageNo: 'number',
2433
2722
  pageSize: 'number',
2434
- regionId: 'string',
2435
- resourceGroupId: 'string',
2436
- resourceType: 'string',
2723
+ type: 'string',
2437
2724
  };
2438
2725
  }
2439
2726
 
@@ -2442,29 +2729,23 @@ export class ListTagKeysRequest extends $tea.Model {
2442
2729
  }
2443
2730
  }
2444
2731
 
2445
- export class ListTagKeysResponseBody extends $tea.Model {
2446
- currentPage?: number;
2447
- pageSize?: number;
2732
+ export class ListPolicyResponseBody extends $tea.Model {
2733
+ policyList?: ListPolicyResponseBodyPolicyList[];
2448
2734
  requestId?: string;
2449
- tagKeys?: ListTagKeysResponseBodyTagKeys[];
2450
- totalCount?: number;
2735
+ total?: number;
2451
2736
  static names(): { [key: string]: string } {
2452
2737
  return {
2453
- currentPage: 'CurrentPage',
2454
- pageSize: 'PageSize',
2738
+ policyList: 'PolicyList',
2455
2739
  requestId: 'RequestId',
2456
- tagKeys: 'TagKeys',
2457
- totalCount: 'TotalCount',
2740
+ total: 'Total',
2458
2741
  };
2459
2742
  }
2460
2743
 
2461
2744
  static types(): { [key: string]: any } {
2462
2745
  return {
2463
- currentPage: 'number',
2464
- pageSize: 'number',
2746
+ policyList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyList },
2465
2747
  requestId: 'string',
2466
- tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
2467
- totalCount: 'number',
2748
+ total: 'number',
2468
2749
  };
2469
2750
  }
2470
2751
 
@@ -2473,10 +2754,10 @@ export class ListTagKeysResponseBody extends $tea.Model {
2473
2754
  }
2474
2755
  }
2475
2756
 
2476
- export class ListTagKeysResponse extends $tea.Model {
2757
+ export class ListPolicyResponse extends $tea.Model {
2477
2758
  headers?: { [key: string]: string };
2478
2759
  statusCode?: number;
2479
- body?: ListTagKeysResponseBody;
2760
+ body?: ListPolicyResponseBody;
2480
2761
  static names(): { [key: string]: string } {
2481
2762
  return {
2482
2763
  headers: 'headers',
@@ -2489,7 +2770,7 @@ export class ListTagKeysResponse extends $tea.Model {
2489
2770
  return {
2490
2771
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2491
2772
  statusCode: 'number',
2492
- body: ListTagKeysResponseBody,
2773
+ body: ListPolicyResponseBody,
2493
2774
  };
2494
2775
  }
2495
2776
 
@@ -2498,32 +2779,29 @@ export class ListTagKeysResponse extends $tea.Model {
2498
2779
  }
2499
2780
  }
2500
2781
 
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[];
2782
+ export class ListPolicyAttachmentRequest extends $tea.Model {
2783
+ ipPortProtocolList?: ListPolicyAttachmentRequestIpPortProtocolList[];
2784
+ pageNo?: number;
2785
+ pageSize?: number;
2786
+ policyId?: string;
2787
+ policyType?: string;
2508
2788
  static names(): { [key: string]: string } {
2509
2789
  return {
2510
- nextToken: 'NextToken',
2511
- regionId: 'RegionId',
2512
- resourceGroupId: 'ResourceGroupId',
2513
- resourceId: 'ResourceId',
2514
- resourceType: 'ResourceType',
2515
- tag: 'Tag',
2790
+ ipPortProtocolList: 'IpPortProtocolList',
2791
+ pageNo: 'PageNo',
2792
+ pageSize: 'PageSize',
2793
+ policyId: 'PolicyId',
2794
+ policyType: 'PolicyType',
2516
2795
  };
2517
2796
  }
2518
2797
 
2519
2798
  static types(): { [key: string]: any } {
2520
2799
  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 },
2800
+ ipPortProtocolList: { 'type': 'array', 'itemType': ListPolicyAttachmentRequestIpPortProtocolList },
2801
+ pageNo: 'number',
2802
+ pageSize: 'number',
2803
+ policyId: 'string',
2804
+ policyType: 'string',
2527
2805
  };
2528
2806
  }
2529
2807
 
@@ -2532,23 +2810,54 @@ export class ListTagResourcesRequest extends $tea.Model {
2532
2810
  }
2533
2811
  }
2534
2812
 
2535
- export class ListTagResourcesResponseBody extends $tea.Model {
2536
- nextToken?: string;
2813
+ export class ListPolicyAttachmentShrinkRequest extends $tea.Model {
2814
+ ipPortProtocolListShrink?: string;
2815
+ pageNo?: number;
2816
+ pageSize?: number;
2817
+ policyId?: string;
2818
+ policyType?: string;
2819
+ static names(): { [key: string]: string } {
2820
+ return {
2821
+ ipPortProtocolListShrink: 'IpPortProtocolList',
2822
+ pageNo: 'PageNo',
2823
+ pageSize: 'PageSize',
2824
+ policyId: 'PolicyId',
2825
+ policyType: 'PolicyType',
2826
+ };
2827
+ }
2828
+
2829
+ static types(): { [key: string]: any } {
2830
+ return {
2831
+ ipPortProtocolListShrink: 'string',
2832
+ pageNo: 'number',
2833
+ pageSize: 'number',
2834
+ policyId: 'string',
2835
+ policyType: 'string',
2836
+ };
2837
+ }
2838
+
2839
+ constructor(map?: { [key: string]: any }) {
2840
+ super(map);
2841
+ }
2842
+ }
2843
+
2844
+ export class ListPolicyAttachmentResponseBody extends $tea.Model {
2845
+ attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
2537
2846
  requestId?: string;
2538
- tagResources?: ListTagResourcesResponseBodyTagResources;
2847
+ total?: number;
2539
2848
  static names(): { [key: string]: string } {
2540
2849
  return {
2541
- nextToken: 'NextToken',
2850
+ attachmentList: 'AttachmentList',
2542
2851
  requestId: 'RequestId',
2543
- tagResources: 'TagResources',
2852
+ total: 'Total',
2544
2853
  };
2545
2854
  }
2546
2855
 
2547
2856
  static types(): { [key: string]: any } {
2548
2857
  return {
2549
- nextToken: 'string',
2858
+ attachmentList: { 'type': 'array', 'itemType': ListPolicyAttachmentResponseBodyAttachmentList },
2550
2859
  requestId: 'string',
2551
- tagResources: ListTagResourcesResponseBodyTagResources,
2860
+ total: 'number',
2552
2861
  };
2553
2862
  }
2554
2863
 
@@ -2557,10 +2866,10 @@ export class ListTagResourcesResponseBody extends $tea.Model {
2557
2866
  }
2558
2867
  }
2559
2868
 
2560
- export class ListTagResourcesResponse extends $tea.Model {
2869
+ export class ListPolicyAttachmentResponse extends $tea.Model {
2561
2870
  headers?: { [key: string]: string };
2562
2871
  statusCode?: number;
2563
- body?: ListTagResourcesResponseBody;
2872
+ body?: ListPolicyAttachmentResponseBody;
2564
2873
  static names(): { [key: string]: string } {
2565
2874
  return {
2566
2875
  headers: 'headers',
@@ -2573,7 +2882,7 @@ export class ListTagResourcesResponse extends $tea.Model {
2573
2882
  return {
2574
2883
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2575
2884
  statusCode: 'number',
2576
- body: ListTagResourcesResponseBody,
2885
+ body: ListPolicyAttachmentResponseBody,
2577
2886
  };
2578
2887
  }
2579
2888
 
@@ -2582,26 +2891,29 @@ export class ListTagResourcesResponse extends $tea.Model {
2582
2891
  }
2583
2892
  }
2584
2893
 
2585
- export class ModifyRemarkRequest extends $tea.Model {
2586
- instanceId?: string;
2894
+ export class ListTagKeysRequest extends $tea.Model {
2895
+ currentPage?: number;
2896
+ pageSize?: number;
2587
2897
  regionId?: string;
2588
- remark?: string;
2589
2898
  resourceGroupId?: string;
2899
+ resourceType?: string;
2590
2900
  static names(): { [key: string]: string } {
2591
2901
  return {
2592
- instanceId: 'InstanceId',
2902
+ currentPage: 'CurrentPage',
2903
+ pageSize: 'PageSize',
2593
2904
  regionId: 'RegionId',
2594
- remark: 'Remark',
2595
2905
  resourceGroupId: 'ResourceGroupId',
2906
+ resourceType: 'ResourceType',
2596
2907
  };
2597
2908
  }
2598
2909
 
2599
2910
  static types(): { [key: string]: any } {
2600
2911
  return {
2601
- instanceId: 'string',
2912
+ currentPage: 'number',
2913
+ pageSize: 'number',
2602
2914
  regionId: 'string',
2603
- remark: 'string',
2604
2915
  resourceGroupId: 'string',
2916
+ resourceType: 'string',
2605
2917
  };
2606
2918
  }
2607
2919
 
@@ -2610,17 +2922,29 @@ export class ModifyRemarkRequest extends $tea.Model {
2610
2922
  }
2611
2923
  }
2612
2924
 
2613
- export class ModifyRemarkResponseBody extends $tea.Model {
2925
+ export class ListTagKeysResponseBody extends $tea.Model {
2926
+ currentPage?: number;
2927
+ pageSize?: number;
2614
2928
  requestId?: string;
2929
+ tagKeys?: ListTagKeysResponseBodyTagKeys[];
2930
+ totalCount?: number;
2615
2931
  static names(): { [key: string]: string } {
2616
2932
  return {
2933
+ currentPage: 'CurrentPage',
2934
+ pageSize: 'PageSize',
2617
2935
  requestId: 'RequestId',
2936
+ tagKeys: 'TagKeys',
2937
+ totalCount: 'TotalCount',
2618
2938
  };
2619
2939
  }
2620
2940
 
2621
2941
  static types(): { [key: string]: any } {
2622
2942
  return {
2943
+ currentPage: 'number',
2944
+ pageSize: 'number',
2623
2945
  requestId: 'string',
2946
+ tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
2947
+ totalCount: 'number',
2624
2948
  };
2625
2949
  }
2626
2950
 
@@ -2629,10 +2953,10 @@ export class ModifyRemarkResponseBody extends $tea.Model {
2629
2953
  }
2630
2954
  }
2631
2955
 
2632
- export class ModifyRemarkResponse extends $tea.Model {
2956
+ export class ListTagKeysResponse extends $tea.Model {
2633
2957
  headers?: { [key: string]: string };
2634
2958
  statusCode?: number;
2635
- body?: ModifyRemarkResponseBody;
2959
+ body?: ListTagKeysResponseBody;
2636
2960
  static names(): { [key: string]: string } {
2637
2961
  return {
2638
2962
  headers: 'headers',
@@ -2645,7 +2969,7 @@ export class ModifyRemarkResponse extends $tea.Model {
2645
2969
  return {
2646
2970
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2647
2971
  statusCode: 'number',
2648
- body: ModifyRemarkResponseBody,
2972
+ body: ListTagKeysResponseBody,
2649
2973
  };
2650
2974
  }
2651
2975
 
@@ -2654,20 +2978,32 @@ export class ModifyRemarkResponse extends $tea.Model {
2654
2978
  }
2655
2979
  }
2656
2980
 
2657
- export class QuerySchedruleOnDemandRequest extends $tea.Model {
2658
- instanceId?: string;
2981
+ export class ListTagResourcesRequest extends $tea.Model {
2982
+ nextToken?: string;
2659
2983
  regionId?: string;
2984
+ resourceGroupId?: string;
2985
+ resourceId?: string[];
2986
+ resourceType?: string;
2987
+ tag?: ListTagResourcesRequestTag[];
2660
2988
  static names(): { [key: string]: string } {
2661
2989
  return {
2662
- instanceId: 'InstanceId',
2990
+ nextToken: 'NextToken',
2663
2991
  regionId: 'RegionId',
2992
+ resourceGroupId: 'ResourceGroupId',
2993
+ resourceId: 'ResourceId',
2994
+ resourceType: 'ResourceType',
2995
+ tag: 'Tag',
2664
2996
  };
2665
2997
  }
2666
2998
 
2667
2999
  static types(): { [key: string]: any } {
2668
3000
  return {
2669
- instanceId: 'string',
3001
+ nextToken: 'string',
2670
3002
  regionId: 'string',
3003
+ resourceGroupId: 'string',
3004
+ resourceId: { 'type': 'array', 'itemType': 'string' },
3005
+ resourceType: 'string',
3006
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
2671
3007
  };
2672
3008
  }
2673
3009
 
@@ -2676,29 +3012,23 @@ export class QuerySchedruleOnDemandRequest extends $tea.Model {
2676
3012
  }
2677
3013
  }
2678
3014
 
2679
- export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
2680
- instanceId?: string;
3015
+ export class ListTagResourcesResponseBody extends $tea.Model {
3016
+ nextToken?: string;
2681
3017
  requestId?: string;
2682
- ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
2683
- ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
2684
- userId?: string;
3018
+ tagResources?: ListTagResourcesResponseBodyTagResources;
2685
3019
  static names(): { [key: string]: string } {
2686
3020
  return {
2687
- instanceId: 'InstanceId',
3021
+ nextToken: 'NextToken',
2688
3022
  requestId: 'RequestId',
2689
- ruleConfig: 'RuleConfig',
2690
- ruleStatus: 'RuleStatus',
2691
- userId: 'UserId',
3023
+ tagResources: 'TagResources',
2692
3024
  };
2693
3025
  }
2694
3026
 
2695
3027
  static types(): { [key: string]: any } {
2696
3028
  return {
2697
- instanceId: 'string',
3029
+ nextToken: 'string',
2698
3030
  requestId: 'string',
2699
- ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
2700
- ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
2701
- userId: 'string',
3031
+ tagResources: ListTagResourcesResponseBodyTagResources,
2702
3032
  };
2703
3033
  }
2704
3034
 
@@ -2707,10 +3037,10 @@ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
2707
3037
  }
2708
3038
  }
2709
3039
 
2710
- export class QuerySchedruleOnDemandResponse extends $tea.Model {
3040
+ export class ListTagResourcesResponse extends $tea.Model {
2711
3041
  headers?: { [key: string]: string };
2712
3042
  statusCode?: number;
2713
- body?: QuerySchedruleOnDemandResponseBody;
3043
+ body?: ListTagResourcesResponseBody;
2714
3044
  static names(): { [key: string]: string } {
2715
3045
  return {
2716
3046
  headers: 'headers',
@@ -2723,7 +3053,7 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2723
3053
  return {
2724
3054
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2725
3055
  statusCode: 'number',
2726
- body: QuerySchedruleOnDemandResponseBody,
3056
+ body: ListTagResourcesResponseBody,
2727
3057
  };
2728
3058
  }
2729
3059
 
@@ -2732,17 +3062,26 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2732
3062
  }
2733
3063
  }
2734
3064
 
2735
- export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
2736
- instanceId?: string;
3065
+ export class ModifyPolicyRequest extends $tea.Model {
3066
+ actionType?: number;
3067
+ content?: ModifyPolicyRequestContent;
3068
+ id?: string;
3069
+ name?: string;
2737
3070
  static names(): { [key: string]: string } {
2738
3071
  return {
2739
- instanceId: 'InstanceId',
3072
+ actionType: 'ActionType',
3073
+ content: 'Content',
3074
+ id: 'Id',
3075
+ name: 'Name',
2740
3076
  };
2741
3077
  }
2742
3078
 
2743
3079
  static types(): { [key: string]: any } {
2744
3080
  return {
2745
- instanceId: 'string',
3081
+ actionType: 'number',
3082
+ content: ModifyPolicyRequestContent,
3083
+ id: 'string',
3084
+ name: 'string',
2746
3085
  };
2747
3086
  }
2748
3087
 
@@ -2751,7 +3090,35 @@ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
2751
3090
  }
2752
3091
  }
2753
3092
 
2754
- export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
3093
+ export class ModifyPolicyShrinkRequest extends $tea.Model {
3094
+ actionType?: number;
3095
+ contentShrink?: string;
3096
+ id?: string;
3097
+ name?: string;
3098
+ static names(): { [key: string]: string } {
3099
+ return {
3100
+ actionType: 'ActionType',
3101
+ contentShrink: 'Content',
3102
+ id: 'Id',
3103
+ name: 'Name',
3104
+ };
3105
+ }
3106
+
3107
+ static types(): { [key: string]: any } {
3108
+ return {
3109
+ actionType: 'number',
3110
+ contentShrink: 'string',
3111
+ id: 'string',
3112
+ name: 'string',
3113
+ };
3114
+ }
3115
+
3116
+ constructor(map?: { [key: string]: any }) {
3117
+ super(map);
3118
+ }
3119
+ }
3120
+
3121
+ export class ModifyPolicyResponseBody extends $tea.Model {
2755
3122
  requestId?: string;
2756
3123
  static names(): { [key: string]: string } {
2757
3124
  return {
@@ -2770,10 +3137,10 @@ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
2770
3137
  }
2771
3138
  }
2772
3139
 
2773
- export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
3140
+ export class ModifyPolicyResponse extends $tea.Model {
2774
3141
  headers?: { [key: string]: string };
2775
3142
  statusCode?: number;
2776
- body?: ReleaseDdosOriginInstanceResponseBody;
3143
+ body?: ModifyPolicyResponseBody;
2777
3144
  static names(): { [key: string]: string } {
2778
3145
  return {
2779
3146
  headers: 'headers',
@@ -2786,7 +3153,7 @@ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
2786
3153
  return {
2787
3154
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2788
3155
  statusCode: 'number',
2789
- body: ReleaseDdosOriginInstanceResponseBody,
3156
+ body: ModifyPolicyResponseBody,
2790
3157
  };
2791
3158
  }
2792
3159
 
@@ -2795,23 +3162,23 @@ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
2795
3162
  }
2796
3163
  }
2797
3164
 
2798
- export class SetInstanceModeOnDemandRequest extends $tea.Model {
2799
- instanceIdList?: string[];
2800
- mode?: string;
2801
- regionId?: string;
3165
+ export class ModifyPolicyContentRequest extends $tea.Model {
3166
+ content?: ModifyPolicyContentRequestContent;
3167
+ id?: string;
3168
+ name?: string;
2802
3169
  static names(): { [key: string]: string } {
2803
3170
  return {
2804
- instanceIdList: 'InstanceIdList',
2805
- mode: 'Mode',
2806
- regionId: 'RegionId',
3171
+ content: 'Content',
3172
+ id: 'Id',
3173
+ name: 'Name',
2807
3174
  };
2808
3175
  }
2809
3176
 
2810
3177
  static types(): { [key: string]: any } {
2811
3178
  return {
2812
- instanceIdList: { 'type': 'array', 'itemType': 'string' },
2813
- mode: 'string',
2814
- regionId: 'string',
3179
+ content: ModifyPolicyContentRequestContent,
3180
+ id: 'string',
3181
+ name: 'string',
2815
3182
  };
2816
3183
  }
2817
3184
 
@@ -2820,7 +3187,32 @@ export class SetInstanceModeOnDemandRequest extends $tea.Model {
2820
3187
  }
2821
3188
  }
2822
3189
 
2823
- export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
3190
+ export class ModifyPolicyContentShrinkRequest extends $tea.Model {
3191
+ contentShrink?: string;
3192
+ id?: string;
3193
+ name?: string;
3194
+ static names(): { [key: string]: string } {
3195
+ return {
3196
+ contentShrink: 'Content',
3197
+ id: 'Id',
3198
+ name: 'Name',
3199
+ };
3200
+ }
3201
+
3202
+ static types(): { [key: string]: any } {
3203
+ return {
3204
+ contentShrink: 'string',
3205
+ id: 'string',
3206
+ name: 'string',
3207
+ };
3208
+ }
3209
+
3210
+ constructor(map?: { [key: string]: any }) {
3211
+ super(map);
3212
+ }
3213
+ }
3214
+
3215
+ export class ModifyPolicyContentResponseBody extends $tea.Model {
2824
3216
  requestId?: string;
2825
3217
  static names(): { [key: string]: string } {
2826
3218
  return {
@@ -2839,10 +3231,10 @@ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
2839
3231
  }
2840
3232
  }
2841
3233
 
2842
- export class SetInstanceModeOnDemandResponse extends $tea.Model {
3234
+ export class ModifyPolicyContentResponse extends $tea.Model {
2843
3235
  headers?: { [key: string]: string };
2844
3236
  statusCode?: number;
2845
- body?: SetInstanceModeOnDemandResponseBody;
3237
+ body?: ModifyPolicyContentResponseBody;
2846
3238
  static names(): { [key: string]: string } {
2847
3239
  return {
2848
3240
  headers: 'headers',
@@ -2855,7 +3247,7 @@ export class SetInstanceModeOnDemandResponse extends $tea.Model {
2855
3247
  return {
2856
3248
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2857
3249
  statusCode: 'number',
2858
- body: SetInstanceModeOnDemandResponseBody,
3250
+ body: ModifyPolicyContentResponseBody,
2859
3251
  };
2860
3252
  }
2861
3253
 
@@ -2864,29 +3256,26 @@ export class SetInstanceModeOnDemandResponse extends $tea.Model {
2864
3256
  }
2865
3257
  }
2866
3258
 
2867
- export class TagResourcesRequest extends $tea.Model {
3259
+ export class ModifyRemarkRequest extends $tea.Model {
3260
+ instanceId?: string;
2868
3261
  regionId?: string;
3262
+ remark?: string;
2869
3263
  resourceGroupId?: string;
2870
- resourceId?: string[];
2871
- resourceType?: string;
2872
- tag?: TagResourcesRequestTag[];
2873
3264
  static names(): { [key: string]: string } {
2874
3265
  return {
3266
+ instanceId: 'InstanceId',
2875
3267
  regionId: 'RegionId',
3268
+ remark: 'Remark',
2876
3269
  resourceGroupId: 'ResourceGroupId',
2877
- resourceId: 'ResourceId',
2878
- resourceType: 'ResourceType',
2879
- tag: 'Tag',
2880
3270
  };
2881
3271
  }
2882
3272
 
2883
3273
  static types(): { [key: string]: any } {
2884
3274
  return {
3275
+ instanceId: 'string',
2885
3276
  regionId: 'string',
3277
+ remark: 'string',
2886
3278
  resourceGroupId: 'string',
2887
- resourceId: { 'type': 'array', 'itemType': 'string' },
2888
- resourceType: 'string',
2889
- tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
2890
3279
  };
2891
3280
  }
2892
3281
 
@@ -2895,7 +3284,7 @@ export class TagResourcesRequest extends $tea.Model {
2895
3284
  }
2896
3285
  }
2897
3286
 
2898
- export class TagResourcesResponseBody extends $tea.Model {
3287
+ export class ModifyRemarkResponseBody extends $tea.Model {
2899
3288
  requestId?: string;
2900
3289
  static names(): { [key: string]: string } {
2901
3290
  return {
@@ -2914,10 +3303,10 @@ export class TagResourcesResponseBody extends $tea.Model {
2914
3303
  }
2915
3304
  }
2916
3305
 
2917
- export class TagResourcesResponse extends $tea.Model {
3306
+ export class ModifyRemarkResponse extends $tea.Model {
2918
3307
  headers?: { [key: string]: string };
2919
3308
  statusCode?: number;
2920
- body?: TagResourcesResponseBody;
3309
+ body?: ModifyRemarkResponseBody;
2921
3310
  static names(): { [key: string]: string } {
2922
3311
  return {
2923
3312
  headers: 'headers',
@@ -2930,7 +3319,7 @@ export class TagResourcesResponse extends $tea.Model {
2930
3319
  return {
2931
3320
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2932
3321
  statusCode: 'number',
2933
- body: TagResourcesResponseBody,
3322
+ body: ModifyRemarkResponseBody,
2934
3323
  };
2935
3324
  }
2936
3325
 
@@ -2939,32 +3328,20 @@ export class TagResourcesResponse extends $tea.Model {
2939
3328
  }
2940
3329
  }
2941
3330
 
2942
- export class UntagResourcesRequest extends $tea.Model {
2943
- all?: boolean;
3331
+ export class QuerySchedruleOnDemandRequest extends $tea.Model {
3332
+ instanceId?: string;
2944
3333
  regionId?: string;
2945
- resourceGroupId?: string;
2946
- resourceId?: string[];
2947
- resourceType?: string;
2948
- tagKey?: string[];
2949
3334
  static names(): { [key: string]: string } {
2950
3335
  return {
2951
- all: 'All',
3336
+ instanceId: 'InstanceId',
2952
3337
  regionId: 'RegionId',
2953
- resourceGroupId: 'ResourceGroupId',
2954
- resourceId: 'ResourceId',
2955
- resourceType: 'ResourceType',
2956
- tagKey: 'TagKey',
2957
3338
  };
2958
3339
  }
2959
3340
 
2960
3341
  static types(): { [key: string]: any } {
2961
3342
  return {
2962
- all: 'boolean',
3343
+ instanceId: 'string',
2963
3344
  regionId: 'string',
2964
- resourceGroupId: 'string',
2965
- resourceId: { 'type': 'array', 'itemType': 'string' },
2966
- resourceType: 'string',
2967
- tagKey: { 'type': 'array', 'itemType': 'string' },
2968
3345
  };
2969
3346
  }
2970
3347
 
@@ -2973,17 +3350,29 @@ export class UntagResourcesRequest extends $tea.Model {
2973
3350
  }
2974
3351
  }
2975
3352
 
2976
- export class UntagResourcesResponseBody extends $tea.Model {
3353
+ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
3354
+ instanceId?: string;
2977
3355
  requestId?: string;
3356
+ ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
3357
+ ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
3358
+ userId?: string;
2978
3359
  static names(): { [key: string]: string } {
2979
3360
  return {
3361
+ instanceId: 'InstanceId',
2980
3362
  requestId: 'RequestId',
3363
+ ruleConfig: 'RuleConfig',
3364
+ ruleStatus: 'RuleStatus',
3365
+ userId: 'UserId',
2981
3366
  };
2982
3367
  }
2983
3368
 
2984
3369
  static types(): { [key: string]: any } {
2985
3370
  return {
3371
+ instanceId: 'string',
2986
3372
  requestId: 'string',
3373
+ ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
3374
+ ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
3375
+ userId: 'string',
2987
3376
  };
2988
3377
  }
2989
3378
 
@@ -2992,10 +3381,10 @@ export class UntagResourcesResponseBody extends $tea.Model {
2992
3381
  }
2993
3382
  }
2994
3383
 
2995
- export class UntagResourcesResponse extends $tea.Model {
3384
+ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2996
3385
  headers?: { [key: string]: string };
2997
3386
  statusCode?: number;
2998
- body?: UntagResourcesResponseBody;
3387
+ body?: QuerySchedruleOnDemandResponseBody;
2999
3388
  static names(): { [key: string]: string } {
3000
3389
  return {
3001
3390
  headers: 'headers',
@@ -3008,7 +3397,7 @@ export class UntagResourcesResponse extends $tea.Model {
3008
3397
  return {
3009
3398
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3010
3399
  statusCode: 'number',
3011
- body: UntagResourcesResponseBody,
3400
+ body: QuerySchedruleOnDemandResponseBody,
3012
3401
  };
3013
3402
  }
3014
3403
 
@@ -3017,17 +3406,17 @@ export class UntagResourcesResponse extends $tea.Model {
3017
3406
  }
3018
3407
  }
3019
3408
 
3020
- export class AddRdMemberListRequestMemberList extends $tea.Model {
3021
- uid?: string;
3409
+ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
3410
+ instanceId?: string;
3022
3411
  static names(): { [key: string]: string } {
3023
3412
  return {
3024
- uid: 'Uid',
3413
+ instanceId: 'InstanceId',
3025
3414
  };
3026
3415
  }
3027
3416
 
3028
3417
  static types(): { [key: string]: any } {
3029
3418
  return {
3030
- uid: 'string',
3419
+ instanceId: 'string',
3031
3420
  };
3032
3421
  }
3033
3422
 
@@ -3036,26 +3425,17 @@ export class AddRdMemberListRequestMemberList extends $tea.Model {
3036
3425
  }
3037
3426
  }
3038
3427
 
3039
- export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3040
- memberUid?: string;
3041
- name?: string;
3042
- region?: string;
3043
- type?: string;
3428
+ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
3429
+ requestId?: string;
3044
3430
  static names(): { [key: string]: string } {
3045
3431
  return {
3046
- memberUid: 'MemberUid',
3047
- name: 'Name',
3048
- region: 'Region',
3049
- type: 'Type',
3432
+ requestId: 'RequestId',
3050
3433
  };
3051
3434
  }
3052
3435
 
3053
3436
  static types(): { [key: string]: any } {
3054
3437
  return {
3055
- memberUid: 'string',
3056
- name: 'string',
3057
- region: 'string',
3058
- type: 'string',
3438
+ requestId: 'string',
3059
3439
  };
3060
3440
  }
3061
3441
 
@@ -3064,17 +3444,23 @@ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
3064
3444
  }
3065
3445
  }
3066
3446
 
3067
- export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3068
- uid?: string;
3447
+ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
3448
+ headers?: { [key: string]: string };
3449
+ statusCode?: number;
3450
+ body?: ReleaseDdosOriginInstanceResponseBody;
3069
3451
  static names(): { [key: string]: string } {
3070
3452
  return {
3071
- uid: 'Uid',
3453
+ headers: 'headers',
3454
+ statusCode: 'statusCode',
3455
+ body: 'body',
3072
3456
  };
3073
3457
  }
3074
3458
 
3075
3459
  static types(): { [key: string]: any } {
3076
3460
  return {
3077
- uid: 'string',
3461
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3462
+ statusCode: 'number',
3463
+ body: ReleaseDdosOriginInstanceResponseBody,
3078
3464
  };
3079
3465
  }
3080
3466
 
@@ -3083,23 +3469,23 @@ export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3083
3469
  }
3084
3470
  }
3085
3471
 
3086
- export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
3087
- name?: string;
3088
- region?: string;
3089
- type?: string;
3472
+ export class SetInstanceModeOnDemandRequest extends $tea.Model {
3473
+ instanceIdList?: string[];
3474
+ mode?: string;
3475
+ regionId?: string;
3090
3476
  static names(): { [key: string]: string } {
3091
3477
  return {
3092
- name: 'Name',
3093
- region: 'Region',
3094
- type: 'Type',
3478
+ instanceIdList: 'InstanceIdList',
3479
+ mode: 'Mode',
3480
+ regionId: 'RegionId',
3095
3481
  };
3096
3482
  }
3097
3483
 
3098
3484
  static types(): { [key: string]: any } {
3099
3485
  return {
3100
- name: 'string',
3101
- region: 'string',
3102
- type: 'string',
3486
+ instanceIdList: { 'type': 'array', 'itemType': 'string' },
3487
+ mode: 'string',
3488
+ regionId: 'string',
3103
3489
  };
3104
3490
  }
3105
3491
 
@@ -3108,29 +3494,17 @@ export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
3108
3494
  }
3109
3495
  }
3110
3496
 
3111
- export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
3112
- instanceId?: string;
3113
- memberUid?: string;
3114
- name?: string;
3115
- region?: string;
3116
- type?: string;
3497
+ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
3498
+ requestId?: string;
3117
3499
  static names(): { [key: string]: string } {
3118
3500
  return {
3119
- instanceId: 'InstanceId',
3120
- memberUid: 'MemberUid',
3121
- name: 'Name',
3122
- region: 'Region',
3123
- type: 'Type',
3501
+ requestId: 'RequestId',
3124
3502
  };
3125
3503
  }
3126
3504
 
3127
3505
  static types(): { [key: string]: any } {
3128
3506
  return {
3129
- instanceId: 'string',
3130
- memberUid: 'string',
3131
- name: 'string',
3132
- region: 'string',
3133
- type: 'string',
3507
+ requestId: 'string',
3134
3508
  };
3135
3509
  }
3136
3510
 
@@ -3139,32 +3513,23 @@ export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model
3139
3513
  }
3140
3514
  }
3141
3515
 
3142
- export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
3143
- endTime?: number;
3144
- ip?: string;
3145
- mbps?: number;
3146
- pps?: number;
3147
- startTime?: number;
3148
- status?: string;
3516
+ export class SetInstanceModeOnDemandResponse extends $tea.Model {
3517
+ headers?: { [key: string]: string };
3518
+ statusCode?: number;
3519
+ body?: SetInstanceModeOnDemandResponseBody;
3149
3520
  static names(): { [key: string]: string } {
3150
3521
  return {
3151
- endTime: 'EndTime',
3152
- ip: 'Ip',
3153
- mbps: 'Mbps',
3154
- pps: 'Pps',
3155
- startTime: 'StartTime',
3156
- status: 'Status',
3522
+ headers: 'headers',
3523
+ statusCode: 'statusCode',
3524
+ body: 'body',
3157
3525
  };
3158
3526
  }
3159
3527
 
3160
3528
  static types(): { [key: string]: any } {
3161
3529
  return {
3162
- endTime: 'number',
3163
- ip: 'string',
3164
- mbps: 'number',
3165
- pps: 'number',
3166
- startTime: 'number',
3167
- status: 'string',
3530
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3531
+ statusCode: 'number',
3532
+ body: SetInstanceModeOnDemandResponseBody,
3168
3533
  };
3169
3534
  }
3170
3535
 
@@ -3173,26 +3538,29 @@ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
3173
3538
  }
3174
3539
  }
3175
3540
 
3176
- export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
3177
- memberFlow?: string;
3178
- regionFlow?: string;
3179
- time?: number;
3180
- totalFlow?: number;
3541
+ export class TagResourcesRequest extends $tea.Model {
3542
+ regionId?: string;
3543
+ resourceGroupId?: string;
3544
+ resourceId?: string[];
3545
+ resourceType?: string;
3546
+ tag?: TagResourcesRequestTag[];
3181
3547
  static names(): { [key: string]: string } {
3182
3548
  return {
3183
- memberFlow: 'MemberFlow',
3184
- regionFlow: 'RegionFlow',
3185
- time: 'Time',
3186
- totalFlow: 'TotalFlow',
3549
+ regionId: 'RegionId',
3550
+ resourceGroupId: 'ResourceGroupId',
3551
+ resourceId: 'ResourceId',
3552
+ resourceType: 'ResourceType',
3553
+ tag: 'Tag',
3187
3554
  };
3188
3555
  }
3189
3556
 
3190
3557
  static types(): { [key: string]: any } {
3191
3558
  return {
3192
- memberFlow: 'string',
3193
- regionFlow: 'string',
3194
- time: 'number',
3195
- totalFlow: 'number',
3559
+ regionId: 'string',
3560
+ resourceGroupId: 'string',
3561
+ resourceId: { 'type': 'array', 'itemType': 'string' },
3562
+ resourceType: 'string',
3563
+ tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
3196
3564
  };
3197
3565
  }
3198
3566
 
@@ -3201,29 +3569,17 @@ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Mod
3201
3569
  }
3202
3570
  }
3203
3571
 
3204
- export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
3205
- coverage?: string;
3206
- ipCntCn?: number;
3207
- ipCntOv?: number;
3208
- memberIpCnt?: string;
3209
- time?: number;
3572
+ export class TagResourcesResponseBody extends $tea.Model {
3573
+ requestId?: string;
3210
3574
  static names(): { [key: string]: string } {
3211
3575
  return {
3212
- coverage: 'Coverage',
3213
- ipCntCn: 'IpCntCn',
3214
- ipCntOv: 'IpCntOv',
3215
- memberIpCnt: 'MemberIpCnt',
3216
- time: 'Time',
3576
+ requestId: 'RequestId',
3217
3577
  };
3218
3578
  }
3219
3579
 
3220
3580
  static types(): { [key: string]: any } {
3221
3581
  return {
3222
- coverage: 'string',
3223
- ipCntCn: 'number',
3224
- ipCntOv: 'number',
3225
- memberIpCnt: 'string',
3226
- time: 'number',
3582
+ requestId: 'string',
3227
3583
  };
3228
3584
  }
3229
3585
 
@@ -3232,26 +3588,23 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
3232
3588
  }
3233
3589
  }
3234
3590
 
3235
- export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
3236
- memberFlow?: string;
3237
- regionFlow?: string;
3238
- time?: number;
3239
- totalFlow?: number;
3591
+ export class TagResourcesResponse extends $tea.Model {
3592
+ headers?: { [key: string]: string };
3593
+ statusCode?: number;
3594
+ body?: TagResourcesResponseBody;
3240
3595
  static names(): { [key: string]: string } {
3241
3596
  return {
3242
- memberFlow: 'MemberFlow',
3243
- regionFlow: 'RegionFlow',
3244
- time: 'Time',
3245
- totalFlow: 'TotalFlow',
3597
+ headers: 'headers',
3598
+ statusCode: 'statusCode',
3599
+ body: 'body',
3246
3600
  };
3247
3601
  }
3248
3602
 
3249
3603
  static types(): { [key: string]: any } {
3250
3604
  return {
3251
- memberFlow: 'string',
3252
- regionFlow: 'string',
3253
- time: 'number',
3254
- totalFlow: 'number',
3605
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3606
+ statusCode: 'number',
3607
+ body: TagResourcesResponseBody,
3255
3608
  };
3256
3609
  }
3257
3610
 
@@ -3260,20 +3613,32 @@ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList ex
3260
3613
  }
3261
3614
  }
3262
3615
 
3263
- export class DescribeInstanceListRequestTag extends $tea.Model {
3264
- key?: string;
3265
- value?: string;
3616
+ export class UntagResourcesRequest extends $tea.Model {
3617
+ all?: boolean;
3618
+ regionId?: string;
3619
+ resourceGroupId?: string;
3620
+ resourceId?: string[];
3621
+ resourceType?: string;
3622
+ tagKey?: string[];
3266
3623
  static names(): { [key: string]: string } {
3267
3624
  return {
3268
- key: 'Key',
3269
- value: 'Value',
3625
+ all: 'All',
3626
+ regionId: 'RegionId',
3627
+ resourceGroupId: 'ResourceGroupId',
3628
+ resourceId: 'ResourceId',
3629
+ resourceType: 'ResourceType',
3630
+ tagKey: 'TagKey',
3270
3631
  };
3271
3632
  }
3272
3633
 
3273
3634
  static types(): { [key: string]: any } {
3274
3635
  return {
3275
- key: 'string',
3276
- value: 'string',
3636
+ all: 'boolean',
3637
+ regionId: 'string',
3638
+ resourceGroupId: 'string',
3639
+ resourceId: { 'type': 'array', 'itemType': 'string' },
3640
+ resourceType: 'string',
3641
+ tagKey: { 'type': 'array', 'itemType': 'string' },
3277
3642
  };
3278
3643
  }
3279
3644
 
@@ -3282,17 +3647,17 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
3282
3647
  }
3283
3648
  }
3284
3649
 
3285
- export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
3286
- events?: string[];
3650
+ export class UntagResourcesResponseBody extends $tea.Model {
3651
+ requestId?: string;
3287
3652
  static names(): { [key: string]: string } {
3288
3653
  return {
3289
- events: 'Events',
3654
+ requestId: 'RequestId',
3290
3655
  };
3291
3656
  }
3292
3657
 
3293
3658
  static types(): { [key: string]: any } {
3294
3659
  return {
3295
- events: { 'type': 'array', 'itemType': 'string' },
3660
+ requestId: 'string',
3296
3661
  };
3297
3662
  }
3298
3663
 
@@ -3301,53 +3666,23 @@ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition ex
3301
3666
  }
3302
3667
  }
3303
3668
 
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;
3669
+ export class UntagResourcesResponse extends $tea.Model {
3670
+ headers?: { [key: string]: string };
3671
+ statusCode?: number;
3672
+ body?: UntagResourcesResponseBody;
3318
3673
  static names(): { [key: string]: string } {
3319
3674
  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',
3675
+ headers: 'headers',
3676
+ statusCode: 'statusCode',
3677
+ body: 'body',
3333
3678
  };
3334
3679
  }
3335
3680
 
3336
3681
  static types(): { [key: string]: any } {
3337
3682
  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',
3683
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3684
+ statusCode: 'number',
3685
+ body: UntagResourcesResponseBody,
3351
3686
  };
3352
3687
  }
3353
3688
 
@@ -3356,38 +3691,17 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
3356
3691
  }
3357
3692
  }
3358
3693
 
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;
3694
+ export class AddRdMemberListRequestMemberList extends $tea.Model {
3695
+ uid?: string;
3368
3696
  static names(): { [key: string]: string } {
3369
3697
  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',
3698
+ uid: 'Uid',
3378
3699
  };
3379
3700
  }
3380
3701
 
3381
3702
  static types(): { [key: string]: any } {
3382
3703
  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',
3704
+ uid: 'string',
3391
3705
  };
3392
3706
  }
3393
3707
 
@@ -3396,38 +3710,126 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
3396
3710
  }
3397
3711
  }
3398
3712
 
3399
- export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
3400
- availableDefenseTimes?: number;
3401
- availableDeleteBlackholeCount?: string;
3402
- defenseTimesPercent?: number;
3713
+ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3714
+ memberUid?: string;
3715
+ name?: string;
3716
+ region?: string;
3717
+ type?: string;
3718
+ static names(): { [key: string]: string } {
3719
+ return {
3720
+ memberUid: 'MemberUid',
3721
+ name: 'Name',
3722
+ region: 'Region',
3723
+ type: 'Type',
3724
+ };
3725
+ }
3726
+
3727
+ static types(): { [key: string]: any } {
3728
+ return {
3729
+ memberUid: 'string',
3730
+ name: 'string',
3731
+ region: 'string',
3732
+ type: 'string',
3733
+ };
3734
+ }
3735
+
3736
+ constructor(map?: { [key: string]: any }) {
3737
+ super(map);
3738
+ }
3739
+ }
3740
+
3741
+ export class AttachToPolicyRequestIpPortProtocolList extends $tea.Model {
3742
+ ip?: string;
3743
+ port?: number;
3744
+ protocol?: string;
3745
+ static names(): { [key: string]: string } {
3746
+ return {
3747
+ ip: 'Ip',
3748
+ port: 'Port',
3749
+ protocol: 'Protocol',
3750
+ };
3751
+ }
3752
+
3753
+ static types(): { [key: string]: any } {
3754
+ return {
3755
+ ip: 'string',
3756
+ port: 'number',
3757
+ protocol: 'string',
3758
+ };
3759
+ }
3760
+
3761
+ constructor(map?: { [key: string]: any }) {
3762
+ super(map);
3763
+ }
3764
+ }
3765
+
3766
+ export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3767
+ uid?: string;
3768
+ static names(): { [key: string]: string } {
3769
+ return {
3770
+ uid: 'Uid',
3771
+ };
3772
+ }
3773
+
3774
+ static types(): { [key: string]: any } {
3775
+ return {
3776
+ uid: 'string',
3777
+ };
3778
+ }
3779
+
3780
+ constructor(map?: { [key: string]: any }) {
3781
+ super(map);
3782
+ }
3783
+ }
3784
+
3785
+ export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
3786
+ name?: string;
3787
+ region?: string;
3788
+ type?: string;
3789
+ static names(): { [key: string]: string } {
3790
+ return {
3791
+ name: 'Name',
3792
+ region: 'Region',
3793
+ type: 'Type',
3794
+ };
3795
+ }
3796
+
3797
+ static types(): { [key: string]: any } {
3798
+ return {
3799
+ name: 'string',
3800
+ region: 'string',
3801
+ type: 'string',
3802
+ };
3803
+ }
3804
+
3805
+ constructor(map?: { [key: string]: any }) {
3806
+ super(map);
3807
+ }
3808
+ }
3809
+
3810
+ export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
3403
3811
  instanceId?: string;
3404
- isFullDefenseMode?: number;
3405
- packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
3812
+ memberUid?: string;
3813
+ name?: string;
3406
3814
  region?: string;
3407
- totalDefenseTimes?: number;
3815
+ type?: string;
3408
3816
  static names(): { [key: string]: string } {
3409
3817
  return {
3410
- availableDefenseTimes: 'AvailableDefenseTimes',
3411
- availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
3412
- defenseTimesPercent: 'DefenseTimesPercent',
3413
3818
  instanceId: 'InstanceId',
3414
- isFullDefenseMode: 'IsFullDefenseMode',
3415
- packConfig: 'PackConfig',
3819
+ memberUid: 'MemberUid',
3820
+ name: 'Name',
3416
3821
  region: 'Region',
3417
- totalDefenseTimes: 'TotalDefenseTimes',
3822
+ type: 'Type',
3418
3823
  };
3419
3824
  }
3420
3825
 
3421
3826
  static types(): { [key: string]: any } {
3422
3827
  return {
3423
- availableDefenseTimes: 'number',
3424
- availableDeleteBlackholeCount: 'string',
3425
- defenseTimesPercent: 'number',
3426
3828
  instanceId: 'string',
3427
- isFullDefenseMode: 'number',
3428
- packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
3829
+ memberUid: 'string',
3830
+ name: 'string',
3429
3831
  region: 'string',
3430
- totalDefenseTimes: 'number',
3832
+ type: 'string',
3431
3833
  };
3432
3834
  }
3433
3835
 
@@ -3436,7 +3838,7 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
3436
3838
  }
3437
3839
  }
3438
3840
 
3439
- export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
3841
+ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
3440
3842
  endTime?: number;
3441
3843
  ip?: string;
3442
3844
  mbps?: number;
@@ -3445,23 +3847,1131 @@ export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
3445
3847
  status?: string;
3446
3848
  static names(): { [key: string]: string } {
3447
3849
  return {
3448
- endTime: 'EndTime',
3449
- ip: 'Ip',
3450
- mbps: 'Mbps',
3451
- pps: 'Pps',
3452
- startTime: 'StartTime',
3453
- status: 'Status',
3850
+ endTime: 'EndTime',
3851
+ ip: 'Ip',
3852
+ mbps: 'Mbps',
3853
+ pps: 'Pps',
3854
+ startTime: 'StartTime',
3855
+ status: 'Status',
3856
+ };
3857
+ }
3858
+
3859
+ static types(): { [key: string]: any } {
3860
+ return {
3861
+ endTime: 'number',
3862
+ ip: 'string',
3863
+ mbps: 'number',
3864
+ pps: 'number',
3865
+ startTime: 'number',
3866
+ status: 'string',
3867
+ };
3868
+ }
3869
+
3870
+ constructor(map?: { [key: string]: any }) {
3871
+ super(map);
3872
+ }
3873
+ }
3874
+
3875
+ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
3876
+ memberFlow?: string;
3877
+ regionFlow?: string;
3878
+ time?: number;
3879
+ totalFlow?: number;
3880
+ static names(): { [key: string]: string } {
3881
+ return {
3882
+ memberFlow: 'MemberFlow',
3883
+ regionFlow: 'RegionFlow',
3884
+ time: 'Time',
3885
+ totalFlow: 'TotalFlow',
3886
+ };
3887
+ }
3888
+
3889
+ static types(): { [key: string]: any } {
3890
+ return {
3891
+ memberFlow: 'string',
3892
+ regionFlow: 'string',
3893
+ time: 'number',
3894
+ totalFlow: 'number',
3895
+ };
3896
+ }
3897
+
3898
+ constructor(map?: { [key: string]: any }) {
3899
+ super(map);
3900
+ }
3901
+ }
3902
+
3903
+ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
3904
+ coverage?: string;
3905
+ ipCntCn?: number;
3906
+ ipCntOv?: number;
3907
+ memberIpCnt?: string;
3908
+ time?: number;
3909
+ static names(): { [key: string]: string } {
3910
+ return {
3911
+ coverage: 'Coverage',
3912
+ ipCntCn: 'IpCntCn',
3913
+ ipCntOv: 'IpCntOv',
3914
+ memberIpCnt: 'MemberIpCnt',
3915
+ time: 'Time',
3916
+ };
3917
+ }
3918
+
3919
+ static types(): { [key: string]: any } {
3920
+ return {
3921
+ coverage: 'string',
3922
+ ipCntCn: 'number',
3923
+ ipCntOv: 'number',
3924
+ memberIpCnt: 'string',
3925
+ time: 'number',
3926
+ };
3927
+ }
3928
+
3929
+ constructor(map?: { [key: string]: any }) {
3930
+ super(map);
3931
+ }
3932
+ }
3933
+
3934
+ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
3935
+ memberFlow?: string;
3936
+ regionFlow?: string;
3937
+ time?: number;
3938
+ totalFlow?: number;
3939
+ static names(): { [key: string]: string } {
3940
+ return {
3941
+ memberFlow: 'MemberFlow',
3942
+ regionFlow: 'RegionFlow',
3943
+ time: 'Time',
3944
+ totalFlow: 'TotalFlow',
3945
+ };
3946
+ }
3947
+
3948
+ static types(): { [key: string]: any } {
3949
+ return {
3950
+ memberFlow: 'string',
3951
+ regionFlow: 'string',
3952
+ time: 'number',
3953
+ totalFlow: 'number',
3954
+ };
3955
+ }
3956
+
3957
+ constructor(map?: { [key: string]: any }) {
3958
+ super(map);
3959
+ }
3960
+ }
3961
+
3962
+ export class DescribeInstanceListRequestTag extends $tea.Model {
3963
+ key?: string;
3964
+ value?: string;
3965
+ static names(): { [key: string]: string } {
3966
+ return {
3967
+ key: 'Key',
3968
+ value: 'Value',
3969
+ };
3970
+ }
3971
+
3972
+ static types(): { [key: string]: any } {
3973
+ return {
3974
+ key: 'string',
3975
+ value: 'string',
3976
+ };
3977
+ }
3978
+
3979
+ constructor(map?: { [key: string]: any }) {
3980
+ super(map);
3981
+ }
3982
+ }
3983
+
3984
+ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
3985
+ events?: string[];
3986
+ static names(): { [key: string]: string } {
3987
+ return {
3988
+ events: 'Events',
3989
+ };
3990
+ }
3991
+
3992
+ static types(): { [key: string]: any } {
3993
+ return {
3994
+ events: { 'type': 'array', 'itemType': 'string' },
3995
+ };
3996
+ }
3997
+
3998
+ constructor(map?: { [key: string]: any }) {
3999
+ super(map);
4000
+ }
4001
+ }
4002
+
4003
+ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
4004
+ autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
4005
+ autoRenewal?: boolean;
4006
+ blackholdingCount?: string;
4007
+ commodityType?: string;
4008
+ coverageType?: number;
4009
+ expireTime?: number;
4010
+ gmtCreate?: number;
4011
+ instanceId?: string;
4012
+ instanceType?: string;
4013
+ ipType?: string;
4014
+ product?: string;
4015
+ remark?: string;
4016
+ status?: string;
4017
+ static names(): { [key: string]: string } {
4018
+ return {
4019
+ autoProtectCondition: 'AutoProtectCondition',
4020
+ autoRenewal: 'AutoRenewal',
4021
+ blackholdingCount: 'BlackholdingCount',
4022
+ commodityType: 'CommodityType',
4023
+ coverageType: 'CoverageType',
4024
+ expireTime: 'ExpireTime',
4025
+ gmtCreate: 'GmtCreate',
4026
+ instanceId: 'InstanceId',
4027
+ instanceType: 'InstanceType',
4028
+ ipType: 'IpType',
4029
+ product: 'Product',
4030
+ remark: 'Remark',
4031
+ status: 'Status',
4032
+ };
4033
+ }
4034
+
4035
+ static types(): { [key: string]: any } {
4036
+ return {
4037
+ autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
4038
+ autoRenewal: 'boolean',
4039
+ blackholdingCount: 'string',
4040
+ commodityType: 'string',
4041
+ coverageType: 'number',
4042
+ expireTime: 'number',
4043
+ gmtCreate: 'number',
4044
+ instanceId: 'string',
4045
+ instanceType: 'string',
4046
+ ipType: 'string',
4047
+ product: 'string',
4048
+ remark: 'string',
4049
+ status: 'string',
4050
+ };
4051
+ }
4052
+
4053
+ constructor(map?: { [key: string]: any }) {
4054
+ super(map);
4055
+ }
4056
+ }
4057
+
4058
+ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $tea.Model {
4059
+ bandwidth?: number;
4060
+ bindIpCount?: number;
4061
+ ipAdvanceThre?: number;
4062
+ ipBasicThre?: number;
4063
+ ipSpec?: number;
4064
+ normalBandwidth?: number;
4065
+ packAdvThre?: number;
4066
+ packBasicThre?: number;
4067
+ static names(): { [key: string]: string } {
4068
+ return {
4069
+ bandwidth: 'Bandwidth',
4070
+ bindIpCount: 'BindIpCount',
4071
+ ipAdvanceThre: 'IpAdvanceThre',
4072
+ ipBasicThre: 'IpBasicThre',
4073
+ ipSpec: 'IpSpec',
4074
+ normalBandwidth: 'NormalBandwidth',
4075
+ packAdvThre: 'PackAdvThre',
4076
+ packBasicThre: 'PackBasicThre',
4077
+ };
4078
+ }
4079
+
4080
+ static types(): { [key: string]: any } {
4081
+ return {
4082
+ bandwidth: 'number',
4083
+ bindIpCount: 'number',
4084
+ ipAdvanceThre: 'number',
4085
+ ipBasicThre: 'number',
4086
+ ipSpec: 'number',
4087
+ normalBandwidth: 'number',
4088
+ packAdvThre: 'number',
4089
+ packBasicThre: 'number',
4090
+ };
4091
+ }
4092
+
4093
+ constructor(map?: { [key: string]: any }) {
4094
+ super(map);
4095
+ }
4096
+ }
4097
+
4098
+ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
4099
+ availableDefenseTimes?: number;
4100
+ availableDeleteBlackholeCount?: string;
4101
+ defenseTimesPercent?: number;
4102
+ instanceId?: string;
4103
+ isFullDefenseMode?: number;
4104
+ packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
4105
+ region?: string;
4106
+ totalDefenseTimes?: number;
4107
+ static names(): { [key: string]: string } {
4108
+ return {
4109
+ availableDefenseTimes: 'AvailableDefenseTimes',
4110
+ availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
4111
+ defenseTimesPercent: 'DefenseTimesPercent',
4112
+ instanceId: 'InstanceId',
4113
+ isFullDefenseMode: 'IsFullDefenseMode',
4114
+ packConfig: 'PackConfig',
4115
+ region: 'Region',
4116
+ totalDefenseTimes: 'TotalDefenseTimes',
4117
+ };
4118
+ }
4119
+
4120
+ static types(): { [key: string]: any } {
4121
+ return {
4122
+ availableDefenseTimes: 'number',
4123
+ availableDeleteBlackholeCount: 'string',
4124
+ defenseTimesPercent: 'number',
4125
+ instanceId: 'string',
4126
+ isFullDefenseMode: 'number',
4127
+ packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
4128
+ region: 'string',
4129
+ totalDefenseTimes: 'number',
4130
+ };
4131
+ }
4132
+
4133
+ constructor(map?: { [key: string]: any }) {
4134
+ super(map);
4135
+ }
4136
+ }
4137
+
4138
+ export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
4139
+ endTime?: number;
4140
+ ip?: string;
4141
+ mbps?: number;
4142
+ pps?: number;
4143
+ startTime?: number;
4144
+ status?: string;
4145
+ static names(): { [key: string]: string } {
4146
+ return {
4147
+ endTime: 'EndTime',
4148
+ ip: 'Ip',
4149
+ mbps: 'Mbps',
4150
+ pps: 'Pps',
4151
+ startTime: 'StartTime',
4152
+ status: 'Status',
4153
+ };
4154
+ }
4155
+
4156
+ static types(): { [key: string]: any } {
4157
+ return {
4158
+ endTime: 'number',
4159
+ ip: 'string',
4160
+ mbps: 'number',
4161
+ pps: 'number',
4162
+ startTime: 'number',
4163
+ status: 'string',
4164
+ };
4165
+ }
4166
+
4167
+ constructor(map?: { [key: string]: any }) {
4168
+ super(map);
4169
+ }
4170
+ }
4171
+
4172
+ export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Model {
4173
+ declared?: string;
4174
+ desc?: string;
4175
+ instanceId?: string;
4176
+ mode?: string;
4177
+ net?: string;
4178
+ registedAs?: string;
4179
+ userId?: string;
4180
+ static names(): { [key: string]: string } {
4181
+ return {
4182
+ declared: 'Declared',
4183
+ desc: 'Desc',
4184
+ instanceId: 'InstanceId',
4185
+ mode: 'Mode',
4186
+ net: 'Net',
4187
+ registedAs: 'RegistedAs',
4188
+ userId: 'UserId',
4189
+ };
4190
+ }
4191
+
4192
+ static types(): { [key: string]: any } {
4193
+ return {
4194
+ declared: 'string',
4195
+ desc: 'string',
4196
+ instanceId: 'string',
4197
+ mode: 'string',
4198
+ net: 'string',
4199
+ registedAs: 'string',
4200
+ userId: 'string',
4201
+ };
4202
+ }
4203
+
4204
+ constructor(map?: { [key: string]: any }) {
4205
+ super(map);
4206
+ }
4207
+ }
4208
+
4209
+ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
4210
+ entityObject?: string;
4211
+ entityType?: number;
4212
+ gmtCreate?: number;
4213
+ opAccount?: string;
4214
+ opAction?: number;
4215
+ opDesc?: string;
4216
+ static names(): { [key: string]: string } {
4217
+ return {
4218
+ entityObject: 'EntityObject',
4219
+ entityType: 'EntityType',
4220
+ gmtCreate: 'GmtCreate',
4221
+ opAccount: 'OpAccount',
4222
+ opAction: 'OpAction',
4223
+ opDesc: 'OpDesc',
4224
+ };
4225
+ }
4226
+
4227
+ static types(): { [key: string]: any } {
4228
+ return {
4229
+ entityObject: 'string',
4230
+ entityType: 'number',
4231
+ gmtCreate: 'number',
4232
+ opAccount: 'string',
4233
+ opAction: 'number',
4234
+ opDesc: 'string',
4235
+ };
4236
+ }
4237
+
4238
+ constructor(map?: { [key: string]: any }) {
4239
+ super(map);
4240
+ }
4241
+ }
4242
+
4243
+ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
4244
+ ip?: string;
4245
+ memberUid?: string;
4246
+ nsmExpireAt?: number;
4247
+ nsmStartAt?: number;
4248
+ nsmStatus?: number;
4249
+ product?: string;
4250
+ region?: string;
4251
+ remark?: string;
4252
+ status?: string;
4253
+ static names(): { [key: string]: string } {
4254
+ return {
4255
+ ip: 'Ip',
4256
+ memberUid: 'MemberUid',
4257
+ nsmExpireAt: 'NsmExpireAt',
4258
+ nsmStartAt: 'NsmStartAt',
4259
+ nsmStatus: 'NsmStatus',
4260
+ product: 'Product',
4261
+ region: 'Region',
4262
+ remark: 'Remark',
4263
+ status: 'Status',
4264
+ };
4265
+ }
4266
+
4267
+ static types(): { [key: string]: any } {
4268
+ return {
4269
+ ip: 'string',
4270
+ memberUid: 'string',
4271
+ nsmExpireAt: 'number',
4272
+ nsmStartAt: 'number',
4273
+ nsmStatus: 'number',
4274
+ product: 'string',
4275
+ region: 'string',
4276
+ remark: 'string',
4277
+ status: 'string',
4278
+ };
4279
+ }
4280
+
4281
+ constructor(map?: { [key: string]: any }) {
4282
+ super(map);
4283
+ }
4284
+ }
4285
+
4286
+ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
4287
+ gmtCreate?: number;
4288
+ name?: string;
4289
+ uid?: string;
4290
+ static names(): { [key: string]: string } {
4291
+ return {
4292
+ gmtCreate: 'GmtCreate',
4293
+ name: 'Name',
4294
+ uid: 'Uid',
4295
+ };
4296
+ }
4297
+
4298
+ static types(): { [key: string]: any } {
4299
+ return {
4300
+ gmtCreate: 'number',
4301
+ name: 'string',
4302
+ uid: 'string',
4303
+ };
4304
+ }
4305
+
4306
+ constructor(map?: { [key: string]: any }) {
4307
+ super(map);
4308
+ }
4309
+ }
4310
+
4311
+ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
4312
+ regionEnName?: string;
4313
+ regionId?: string;
4314
+ regionName?: string;
4315
+ static names(): { [key: string]: string } {
4316
+ return {
4317
+ regionEnName: 'RegionEnName',
4318
+ regionId: 'RegionId',
4319
+ regionName: 'RegionName',
4320
+ };
4321
+ }
4322
+
4323
+ static types(): { [key: string]: any } {
4324
+ return {
4325
+ regionEnName: 'string',
4326
+ regionId: 'string',
4327
+ regionName: 'string',
4328
+ };
4329
+ }
4330
+
4331
+ constructor(map?: { [key: string]: any }) {
4332
+ super(map);
4333
+ }
4334
+ }
4335
+
4336
+ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
4337
+ attackBps?: number;
4338
+ attackPps?: number;
4339
+ flowType?: string;
4340
+ kbps?: number;
4341
+ name?: string;
4342
+ pps?: number;
4343
+ time?: number;
4344
+ static names(): { [key: string]: string } {
4345
+ return {
4346
+ attackBps: 'AttackBps',
4347
+ attackPps: 'AttackPps',
4348
+ flowType: 'FlowType',
4349
+ kbps: 'Kbps',
4350
+ name: 'Name',
4351
+ pps: 'Pps',
4352
+ time: 'Time',
4353
+ };
4354
+ }
4355
+
4356
+ static types(): { [key: string]: any } {
4357
+ return {
4358
+ attackBps: 'number',
4359
+ attackPps: 'number',
4360
+ flowType: 'string',
4361
+ kbps: 'number',
4362
+ name: 'string',
4363
+ pps: 'number',
4364
+ time: 'number',
4365
+ };
4366
+ }
4367
+
4368
+ constructor(map?: { [key: string]: any }) {
4369
+ super(map);
4370
+ }
4371
+ }
4372
+
4373
+ export class DetachFromPolicyRequestIpPortProtocolList extends $tea.Model {
4374
+ ip?: string;
4375
+ port?: number;
4376
+ protocol?: string;
4377
+ static names(): { [key: string]: string } {
4378
+ return {
4379
+ ip: 'Ip',
4380
+ port: 'Port',
4381
+ protocol: 'Protocol',
4382
+ };
4383
+ }
4384
+
4385
+ static types(): { [key: string]: any } {
4386
+ return {
4387
+ ip: 'string',
4388
+ port: 'number',
4389
+ protocol: 'string',
4390
+ };
4391
+ }
4392
+
4393
+ constructor(map?: { [key: string]: any }) {
4394
+ super(map);
4395
+ }
4396
+ }
4397
+
4398
+ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
4399
+ name?: string;
4400
+ region?: string;
4401
+ type?: string;
4402
+ static names(): { [key: string]: string } {
4403
+ return {
4404
+ name: 'Name',
4405
+ region: 'Region',
4406
+ type: 'Type',
4407
+ };
4408
+ }
4409
+
4410
+ static types(): { [key: string]: any } {
4411
+ return {
4412
+ name: 'string',
4413
+ region: 'string',
4414
+ type: 'string',
4415
+ };
4416
+ }
4417
+
4418
+ constructor(map?: { [key: string]: any }) {
4419
+ super(map);
4420
+ }
4421
+ }
4422
+
4423
+ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
4424
+ enable?: boolean;
4425
+ instanceId?: string;
4426
+ static names(): { [key: string]: string } {
4427
+ return {
4428
+ enable: 'Enable',
4429
+ instanceId: 'InstanceId',
4430
+ };
4431
+ }
4432
+
4433
+ static types(): { [key: string]: any } {
4434
+ return {
4435
+ enable: 'boolean',
4436
+ instanceId: 'string',
4437
+ };
4438
+ }
4439
+
4440
+ constructor(map?: { [key: string]: any }) {
4441
+ super(map);
4442
+ }
4443
+ }
4444
+
4445
+ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $tea.Model {
4446
+ dstPortEnd?: number;
4447
+ dstPortStart?: number;
4448
+ id?: string;
4449
+ matchAction?: string;
4450
+ maxPktLen?: number;
4451
+ minPktLen?: number;
4452
+ offset?: number;
4453
+ payloadBytes?: string;
4454
+ protocol?: string;
4455
+ rateValue?: number;
4456
+ seqNo?: number;
4457
+ srcPortEnd?: number;
4458
+ srcPortStart?: number;
4459
+ static names(): { [key: string]: string } {
4460
+ return {
4461
+ dstPortEnd: 'DstPortEnd',
4462
+ dstPortStart: 'DstPortStart',
4463
+ id: 'Id',
4464
+ matchAction: 'MatchAction',
4465
+ maxPktLen: 'MaxPktLen',
4466
+ minPktLen: 'MinPktLen',
4467
+ offset: 'Offset',
4468
+ payloadBytes: 'PayloadBytes',
4469
+ protocol: 'Protocol',
4470
+ rateValue: 'RateValue',
4471
+ seqNo: 'SeqNo',
4472
+ srcPortEnd: 'SrcPortEnd',
4473
+ srcPortStart: 'SrcPortStart',
4474
+ };
4475
+ }
4476
+
4477
+ static types(): { [key: string]: any } {
4478
+ return {
4479
+ dstPortEnd: 'number',
4480
+ dstPortStart: 'number',
4481
+ id: 'string',
4482
+ matchAction: 'string',
4483
+ maxPktLen: 'number',
4484
+ minPktLen: 'number',
4485
+ offset: 'number',
4486
+ payloadBytes: 'string',
4487
+ protocol: 'string',
4488
+ rateValue: 'number',
4489
+ seqNo: 'number',
4490
+ srcPortEnd: 'number',
4491
+ srcPortStart: 'number',
4492
+ };
4493
+ }
4494
+
4495
+ constructor(map?: { [key: string]: any }) {
4496
+ super(map);
4497
+ }
4498
+ }
4499
+
4500
+ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $tea.Model {
4501
+ arg?: string;
4502
+ depth?: number;
4503
+ position?: number;
4504
+ static names(): { [key: string]: string } {
4505
+ return {
4506
+ arg: 'Arg',
4507
+ depth: 'Depth',
4508
+ position: 'Position',
4509
+ };
4510
+ }
4511
+
4512
+ static types(): { [key: string]: any } {
4513
+ return {
4514
+ arg: 'string',
4515
+ depth: 'number',
4516
+ position: 'number',
4517
+ };
4518
+ }
4519
+
4520
+ constructor(map?: { [key: string]: any }) {
4521
+ super(map);
4522
+ }
4523
+ }
4524
+
4525
+ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $tea.Model {
4526
+ action?: string;
4527
+ conditionList?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionList[];
4528
+ limited?: number;
4529
+ match?: string;
4530
+ method?: string;
4531
+ name?: string;
4532
+ priority?: number;
4533
+ static names(): { [key: string]: string } {
4534
+ return {
4535
+ action: 'Action',
4536
+ conditionList: 'ConditionList',
4537
+ limited: 'Limited',
4538
+ match: 'Match',
4539
+ method: 'Method',
4540
+ name: 'Name',
4541
+ priority: 'Priority',
4542
+ };
4543
+ }
4544
+
4545
+ static types(): { [key: string]: any } {
4546
+ return {
4547
+ action: 'string',
4548
+ conditionList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleListConditionList },
4549
+ limited: 'number',
4550
+ match: 'string',
4551
+ method: 'string',
4552
+ name: 'string',
4553
+ priority: 'number',
4554
+ };
4555
+ }
4556
+
4557
+ constructor(map?: { [key: string]: any }) {
4558
+ super(map);
4559
+ }
4560
+ }
4561
+
4562
+ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $tea.Model {
4563
+ dstPortEnd?: number;
4564
+ dstPortStart?: number;
4565
+ id?: string;
4566
+ matchAction?: string;
4567
+ protocol?: string;
4568
+ seqNo?: number;
4569
+ srcPortEnd?: number;
4570
+ srcPortStart?: number;
4571
+ static names(): { [key: string]: string } {
4572
+ return {
4573
+ dstPortEnd: 'DstPortEnd',
4574
+ dstPortStart: 'DstPortStart',
4575
+ id: 'Id',
4576
+ matchAction: 'MatchAction',
4577
+ protocol: 'Protocol',
4578
+ seqNo: 'SeqNo',
4579
+ srcPortEnd: 'SrcPortEnd',
4580
+ srcPortStart: 'SrcPortStart',
4581
+ };
4582
+ }
4583
+
4584
+ static types(): { [key: string]: any } {
4585
+ return {
4586
+ dstPortEnd: 'number',
4587
+ dstPortStart: 'number',
4588
+ id: 'string',
4589
+ matchAction: 'string',
4590
+ protocol: 'string',
4591
+ seqNo: 'number',
4592
+ srcPortEnd: 'number',
4593
+ srcPortStart: 'number',
4594
+ };
4595
+ }
4596
+
4597
+ constructor(map?: { [key: string]: any }) {
4598
+ super(map);
4599
+ }
4600
+ }
4601
+
4602
+ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $tea.Model {
4603
+ blockExpireSeconds?: number;
4604
+ everySeconds?: number;
4605
+ exceedLimitTimes?: number;
4606
+ type?: number;
4607
+ static names(): { [key: string]: string } {
4608
+ return {
4609
+ blockExpireSeconds: 'BlockExpireSeconds',
4610
+ everySeconds: 'EverySeconds',
4611
+ exceedLimitTimes: 'ExceedLimitTimes',
4612
+ type: 'Type',
4613
+ };
4614
+ }
4615
+
4616
+ static types(): { [key: string]: any } {
4617
+ return {
4618
+ blockExpireSeconds: 'number',
4619
+ everySeconds: 'number',
4620
+ exceedLimitTimes: 'number',
4621
+ type: 'number',
4622
+ };
4623
+ }
4624
+
4625
+ constructor(map?: { [key: string]: any }) {
4626
+ super(map);
4627
+ }
4628
+ }
4629
+
4630
+ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $tea.Model {
4631
+ bps?: number;
4632
+ pps?: number;
4633
+ synBps?: number;
4634
+ synPps?: number;
4635
+ static names(): { [key: string]: string } {
4636
+ return {
4637
+ bps: 'Bps',
4638
+ pps: 'Pps',
4639
+ synBps: 'SynBps',
4640
+ synPps: 'SynPps',
4641
+ };
4642
+ }
4643
+
4644
+ static types(): { [key: string]: any } {
4645
+ return {
4646
+ bps: 'number',
4647
+ pps: 'number',
4648
+ synBps: 'number',
4649
+ synPps: 'number',
4650
+ };
4651
+ }
4652
+
4653
+ constructor(map?: { [key: string]: any }) {
4654
+ super(map);
4655
+ }
4656
+ }
4657
+
4658
+ export class ListPolicyResponseBodyPolicyListContent extends $tea.Model {
4659
+ blackIpListExpireAt?: number;
4660
+ enableDropIcmp?: boolean;
4661
+ enableIntelligence?: boolean;
4662
+ enableL4Defense?: boolean;
4663
+ fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
4664
+ intelligenceLevel?: string;
4665
+ l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
4666
+ portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
4667
+ reflectBlockUdpPortList?: number[];
4668
+ regionBlockCountryList?: number[];
4669
+ regionBlockProvinceList?: number[];
4670
+ sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
4671
+ sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
4672
+ whitenGfbrNets?: boolean;
4673
+ static names(): { [key: string]: string } {
4674
+ return {
4675
+ blackIpListExpireAt: 'BlackIpListExpireAt',
4676
+ enableDropIcmp: 'EnableDropIcmp',
4677
+ enableIntelligence: 'EnableIntelligence',
4678
+ enableL4Defense: 'EnableL4Defense',
4679
+ fingerPrintRuleList: 'FingerPrintRuleList',
4680
+ intelligenceLevel: 'IntelligenceLevel',
4681
+ l4RuleList: 'L4RuleList',
4682
+ portRuleList: 'PortRuleList',
4683
+ reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
4684
+ regionBlockCountryList: 'RegionBlockCountryList',
4685
+ regionBlockProvinceList: 'RegionBlockProvinceList',
4686
+ sourceBlockList: 'SourceBlockList',
4687
+ sourceLimit: 'SourceLimit',
4688
+ whitenGfbrNets: 'WhitenGfbrNets',
4689
+ };
4690
+ }
4691
+
4692
+ static types(): { [key: string]: any } {
4693
+ return {
4694
+ blackIpListExpireAt: 'number',
4695
+ enableDropIcmp: 'boolean',
4696
+ enableIntelligence: 'boolean',
4697
+ enableL4Defense: 'boolean',
4698
+ fingerPrintRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentFingerPrintRuleList },
4699
+ intelligenceLevel: 'string',
4700
+ l4RuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleList },
4701
+ portRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentPortRuleList },
4702
+ reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
4703
+ regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
4704
+ regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
4705
+ sourceBlockList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentSourceBlockList },
4706
+ sourceLimit: ListPolicyResponseBodyPolicyListContentSourceLimit,
4707
+ whitenGfbrNets: 'boolean',
4708
+ };
4709
+ }
4710
+
4711
+ constructor(map?: { [key: string]: any }) {
4712
+ super(map);
4713
+ }
4714
+ }
4715
+
4716
+ export class ListPolicyResponseBodyPolicyList extends $tea.Model {
4717
+ attachedCount?: number;
4718
+ content?: ListPolicyResponseBodyPolicyListContent;
4719
+ id?: string;
4720
+ name?: string;
4721
+ type?: string;
4722
+ static names(): { [key: string]: string } {
4723
+ return {
4724
+ attachedCount: 'AttachedCount',
4725
+ content: 'Content',
4726
+ id: 'Id',
4727
+ name: 'Name',
4728
+ type: 'Type',
4729
+ };
4730
+ }
4731
+
4732
+ static types(): { [key: string]: any } {
4733
+ return {
4734
+ attachedCount: 'number',
4735
+ content: ListPolicyResponseBodyPolicyListContent,
4736
+ id: 'string',
4737
+ name: 'string',
4738
+ type: 'string',
4739
+ };
4740
+ }
4741
+
4742
+ constructor(map?: { [key: string]: any }) {
4743
+ super(map);
4744
+ }
4745
+ }
4746
+
4747
+ export class ListPolicyAttachmentRequestIpPortProtocolList extends $tea.Model {
4748
+ ip?: string;
4749
+ port?: number;
4750
+ protocol?: string;
4751
+ static names(): { [key: string]: string } {
4752
+ return {
4753
+ ip: 'Ip',
4754
+ port: 'Port',
4755
+ protocol: 'Protocol',
4756
+ };
4757
+ }
4758
+
4759
+ static types(): { [key: string]: any } {
4760
+ return {
4761
+ ip: 'string',
4762
+ port: 'number',
4763
+ protocol: 'string',
4764
+ };
4765
+ }
4766
+
4767
+ constructor(map?: { [key: string]: any }) {
4768
+ super(map);
4769
+ }
4770
+ }
4771
+
4772
+ export class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
4773
+ ip?: string;
4774
+ memberUid?: string;
4775
+ policyId?: string;
4776
+ policyName?: string;
4777
+ policyType?: string;
4778
+ port?: number;
4779
+ protocol?: string;
4780
+ region?: string;
4781
+ static names(): { [key: string]: string } {
4782
+ return {
4783
+ ip: 'Ip',
4784
+ memberUid: 'MemberUid',
4785
+ policyId: 'PolicyId',
4786
+ policyName: 'PolicyName',
4787
+ policyType: 'PolicyType',
4788
+ port: 'Port',
4789
+ protocol: 'Protocol',
4790
+ region: 'Region',
4791
+ };
4792
+ }
4793
+
4794
+ static types(): { [key: string]: any } {
4795
+ return {
4796
+ ip: 'string',
4797
+ memberUid: 'string',
4798
+ policyId: 'string',
4799
+ policyName: 'string',
4800
+ policyType: 'string',
4801
+ port: 'number',
4802
+ protocol: 'string',
4803
+ region: 'string',
4804
+ };
4805
+ }
4806
+
4807
+ constructor(map?: { [key: string]: any }) {
4808
+ super(map);
4809
+ }
4810
+ }
4811
+
4812
+ export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
4813
+ tagCount?: number;
4814
+ tagKey?: string;
4815
+ static names(): { [key: string]: string } {
4816
+ return {
4817
+ tagCount: 'TagCount',
4818
+ tagKey: 'TagKey',
4819
+ };
4820
+ }
4821
+
4822
+ static types(): { [key: string]: any } {
4823
+ return {
4824
+ tagCount: 'number',
4825
+ tagKey: 'string',
4826
+ };
4827
+ }
4828
+
4829
+ constructor(map?: { [key: string]: any }) {
4830
+ super(map);
4831
+ }
4832
+ }
4833
+
4834
+ export class ListTagResourcesRequestTag extends $tea.Model {
4835
+ key?: string;
4836
+ value?: string;
4837
+ static names(): { [key: string]: string } {
4838
+ return {
4839
+ key: 'Key',
4840
+ value: 'Value',
4841
+ };
4842
+ }
4843
+
4844
+ static types(): { [key: string]: any } {
4845
+ return {
4846
+ key: 'string',
4847
+ value: 'string',
4848
+ };
4849
+ }
4850
+
4851
+ constructor(map?: { [key: string]: any }) {
4852
+ super(map);
4853
+ }
4854
+ }
4855
+
4856
+ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
4857
+ resourceId?: string;
4858
+ resourceType?: string;
4859
+ tagKey?: string;
4860
+ tagValue?: string;
4861
+ static names(): { [key: string]: string } {
4862
+ return {
4863
+ resourceId: 'ResourceId',
4864
+ resourceType: 'ResourceType',
4865
+ tagKey: 'TagKey',
4866
+ tagValue: 'TagValue',
4867
+ };
4868
+ }
4869
+
4870
+ static types(): { [key: string]: any } {
4871
+ return {
4872
+ resourceId: 'string',
4873
+ resourceType: 'string',
4874
+ tagKey: 'string',
4875
+ tagValue: 'string',
4876
+ };
4877
+ }
4878
+
4879
+ constructor(map?: { [key: string]: any }) {
4880
+ super(map);
4881
+ }
4882
+ }
4883
+
4884
+ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
4885
+ tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
4886
+ static names(): { [key: string]: string } {
4887
+ return {
4888
+ tagResource: 'TagResource',
4889
+ };
4890
+ }
4891
+
4892
+ static types(): { [key: string]: any } {
4893
+ return {
4894
+ tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
4895
+ };
4896
+ }
4897
+
4898
+ constructor(map?: { [key: string]: any }) {
4899
+ super(map);
4900
+ }
4901
+ }
4902
+
4903
+ export class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
4904
+ dstPortEnd?: number;
4905
+ dstPortStart?: number;
4906
+ id?: string;
4907
+ matchAction?: string;
4908
+ maxPktLen?: number;
4909
+ minPktLen?: number;
4910
+ offset?: number;
4911
+ payloadBytes?: string;
4912
+ protocol?: string;
4913
+ rateValue?: number;
4914
+ seqNo?: number;
4915
+ srcPortEnd?: number;
4916
+ srcPortStart?: number;
4917
+ static names(): { [key: string]: string } {
4918
+ return {
4919
+ dstPortEnd: 'DstPortEnd',
4920
+ dstPortStart: 'DstPortStart',
4921
+ id: 'Id',
4922
+ matchAction: 'MatchAction',
4923
+ maxPktLen: 'MaxPktLen',
4924
+ minPktLen: 'MinPktLen',
4925
+ offset: 'Offset',
4926
+ payloadBytes: 'PayloadBytes',
4927
+ protocol: 'Protocol',
4928
+ rateValue: 'RateValue',
4929
+ seqNo: 'SeqNo',
4930
+ srcPortEnd: 'SrcPortEnd',
4931
+ srcPortStart: 'SrcPortStart',
4932
+ };
4933
+ }
4934
+
4935
+ static types(): { [key: string]: any } {
4936
+ return {
4937
+ dstPortEnd: 'number',
4938
+ dstPortStart: 'number',
4939
+ id: 'string',
4940
+ matchAction: 'string',
4941
+ maxPktLen: 'number',
4942
+ minPktLen: 'number',
4943
+ offset: 'number',
4944
+ payloadBytes: 'string',
4945
+ protocol: 'string',
4946
+ rateValue: 'number',
4947
+ seqNo: 'number',
4948
+ srcPortEnd: 'number',
4949
+ srcPortStart: 'number',
4950
+ };
4951
+ }
4952
+
4953
+ constructor(map?: { [key: string]: any }) {
4954
+ super(map);
4955
+ }
4956
+ }
4957
+
4958
+ export class ModifyPolicyRequestContentL4RuleListConditionList extends $tea.Model {
4959
+ arg?: string;
4960
+ depth?: number;
4961
+ position?: number;
4962
+ static names(): { [key: string]: string } {
4963
+ return {
4964
+ arg: 'Arg',
4965
+ depth: 'Depth',
4966
+ position: 'Position',
3454
4967
  };
3455
4968
  }
3456
4969
 
3457
4970
  static types(): { [key: string]: any } {
3458
4971
  return {
3459
- endTime: 'number',
3460
- ip: 'string',
3461
- mbps: 'number',
3462
- pps: 'number',
3463
- startTime: 'number',
3464
- status: 'string',
4972
+ arg: 'string',
4973
+ depth: 'number',
4974
+ position: 'number',
3465
4975
  };
3466
4976
  }
3467
4977
 
@@ -3470,35 +4980,35 @@ export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
3470
4980
  }
3471
4981
  }
3472
4982
 
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;
4983
+ export class ModifyPolicyRequestContentL4RuleList extends $tea.Model {
4984
+ action?: string;
4985
+ conditionList?: ModifyPolicyRequestContentL4RuleListConditionList[];
4986
+ limited?: number;
4987
+ match?: string;
4988
+ method?: string;
4989
+ name?: string;
4990
+ priority?: number;
3481
4991
  static names(): { [key: string]: string } {
3482
4992
  return {
3483
- declared: 'Declared',
3484
- desc: 'Desc',
3485
- instanceId: 'InstanceId',
3486
- mode: 'Mode',
3487
- net: 'Net',
3488
- registedAs: 'RegistedAs',
3489
- userId: 'UserId',
4993
+ action: 'Action',
4994
+ conditionList: 'ConditionList',
4995
+ limited: 'Limited',
4996
+ match: 'Match',
4997
+ method: 'Method',
4998
+ name: 'Name',
4999
+ priority: 'Priority',
3490
5000
  };
3491
5001
  }
3492
5002
 
3493
5003
  static types(): { [key: string]: any } {
3494
5004
  return {
3495
- declared: 'string',
3496
- desc: 'string',
3497
- instanceId: 'string',
3498
- mode: 'string',
3499
- net: 'string',
3500
- registedAs: 'string',
3501
- userId: 'string',
5005
+ action: 'string',
5006
+ conditionList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleListConditionList },
5007
+ limited: 'number',
5008
+ match: 'string',
5009
+ method: 'string',
5010
+ name: 'string',
5011
+ priority: 'number',
3502
5012
  };
3503
5013
  }
3504
5014
 
@@ -3507,32 +5017,38 @@ export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Mo
3507
5017
  }
3508
5018
  }
3509
5019
 
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;
5020
+ export class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
5021
+ dstPortEnd?: number;
5022
+ dstPortStart?: number;
5023
+ id?: string;
5024
+ matchAction?: string;
5025
+ protocol?: string;
5026
+ seqNo?: number;
5027
+ srcPortEnd?: number;
5028
+ srcPortStart?: number;
3517
5029
  static names(): { [key: string]: string } {
3518
5030
  return {
3519
- entityObject: 'EntityObject',
3520
- entityType: 'EntityType',
3521
- gmtCreate: 'GmtCreate',
3522
- opAccount: 'OpAccount',
3523
- opAction: 'OpAction',
3524
- opDesc: 'OpDesc',
5031
+ dstPortEnd: 'DstPortEnd',
5032
+ dstPortStart: 'DstPortStart',
5033
+ id: 'Id',
5034
+ matchAction: 'MatchAction',
5035
+ protocol: 'Protocol',
5036
+ seqNo: 'SeqNo',
5037
+ srcPortEnd: 'SrcPortEnd',
5038
+ srcPortStart: 'SrcPortStart',
3525
5039
  };
3526
5040
  }
3527
5041
 
3528
5042
  static types(): { [key: string]: any } {
3529
5043
  return {
3530
- entityObject: 'string',
3531
- entityType: 'number',
3532
- gmtCreate: 'number',
3533
- opAccount: 'string',
3534
- opAction: 'number',
3535
- opDesc: 'string',
5044
+ dstPortEnd: 'number',
5045
+ dstPortStart: 'number',
5046
+ id: 'string',
5047
+ matchAction: 'string',
5048
+ protocol: 'string',
5049
+ seqNo: 'number',
5050
+ srcPortEnd: 'number',
5051
+ srcPortStart: 'number',
3536
5052
  };
3537
5053
  }
3538
5054
 
@@ -3541,41 +5057,26 @@ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
3541
5057
  }
3542
5058
  }
3543
5059
 
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;
5060
+ export class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
5061
+ blockExpireSeconds?: number;
5062
+ everySeconds?: number;
5063
+ exceedLimitTimes?: number;
5064
+ type?: number;
3554
5065
  static names(): { [key: string]: string } {
3555
5066
  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',
5067
+ blockExpireSeconds: 'BlockExpireSeconds',
5068
+ everySeconds: 'EverySeconds',
5069
+ exceedLimitTimes: 'ExceedLimitTimes',
5070
+ type: 'Type',
3565
5071
  };
3566
5072
  }
3567
5073
 
3568
5074
  static types(): { [key: string]: any } {
3569
5075
  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',
5076
+ blockExpireSeconds: 'number',
5077
+ everySeconds: 'number',
5078
+ exceedLimitTimes: 'number',
5079
+ type: 'number',
3579
5080
  };
3580
5081
  }
3581
5082
 
@@ -3584,23 +5085,26 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
3584
5085
  }
3585
5086
  }
3586
5087
 
3587
- export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
3588
- gmtCreate?: number;
3589
- name?: string;
3590
- uid?: string;
5088
+ export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
5089
+ bps?: number;
5090
+ pps?: number;
5091
+ synBps?: number;
5092
+ synPps?: number;
3591
5093
  static names(): { [key: string]: string } {
3592
5094
  return {
3593
- gmtCreate: 'GmtCreate',
3594
- name: 'Name',
3595
- uid: 'Uid',
5095
+ bps: 'Bps',
5096
+ pps: 'Pps',
5097
+ synBps: 'SynBps',
5098
+ synPps: 'SynPps',
3596
5099
  };
3597
5100
  }
3598
5101
 
3599
5102
  static types(): { [key: string]: any } {
3600
5103
  return {
3601
- gmtCreate: 'number',
3602
- name: 'string',
3603
- uid: 'string',
5104
+ bps: 'number',
5105
+ pps: 'number',
5106
+ synBps: 'number',
5107
+ synPps: 'number',
3604
5108
  };
3605
5109
  }
3606
5110
 
@@ -3609,23 +5113,62 @@ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
3609
5113
  }
3610
5114
  }
3611
5115
 
3612
- export class DescribeRegionsResponseBodyRegions extends $tea.Model {
3613
- regionEnName?: string;
3614
- regionId?: string;
3615
- regionName?: string;
5116
+ export class ModifyPolicyRequestContent extends $tea.Model {
5117
+ blackIpList?: string[];
5118
+ blackIpListExpireAt?: number;
5119
+ enableDropIcmp?: boolean;
5120
+ enableIntelligence?: boolean;
5121
+ enableL4Defense?: boolean;
5122
+ fingerPrintRuleList?: ModifyPolicyRequestContentFingerPrintRuleList[];
5123
+ intelligenceLevel?: string;
5124
+ l4RuleList?: ModifyPolicyRequestContentL4RuleList[];
5125
+ portRuleList?: ModifyPolicyRequestContentPortRuleList[];
5126
+ reflectBlockUdpPortList?: number[];
5127
+ regionBlockCountryList?: number[];
5128
+ regionBlockProvinceList?: number[];
5129
+ sourceBlockList?: ModifyPolicyRequestContentSourceBlockList[];
5130
+ sourceLimit?: ModifyPolicyRequestContentSourceLimit;
5131
+ whiteIpList?: string[];
5132
+ whitenGfbrNets?: boolean;
3616
5133
  static names(): { [key: string]: string } {
3617
5134
  return {
3618
- regionEnName: 'RegionEnName',
3619
- regionId: 'RegionId',
3620
- regionName: 'RegionName',
5135
+ blackIpList: 'BlackIpList',
5136
+ blackIpListExpireAt: 'BlackIpListExpireAt',
5137
+ enableDropIcmp: 'EnableDropIcmp',
5138
+ enableIntelligence: 'EnableIntelligence',
5139
+ enableL4Defense: 'EnableL4Defense',
5140
+ fingerPrintRuleList: 'FingerPrintRuleList',
5141
+ intelligenceLevel: 'IntelligenceLevel',
5142
+ l4RuleList: 'L4RuleList',
5143
+ portRuleList: 'PortRuleList',
5144
+ reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
5145
+ regionBlockCountryList: 'RegionBlockCountryList',
5146
+ regionBlockProvinceList: 'RegionBlockProvinceList',
5147
+ sourceBlockList: 'SourceBlockList',
5148
+ sourceLimit: 'SourceLimit',
5149
+ whiteIpList: 'WhiteIpList',
5150
+ whitenGfbrNets: 'WhitenGfbrNets',
3621
5151
  };
3622
5152
  }
3623
5153
 
3624
5154
  static types(): { [key: string]: any } {
3625
5155
  return {
3626
- regionEnName: 'string',
3627
- regionId: 'string',
3628
- regionName: 'string',
5156
+ blackIpList: { 'type': 'array', 'itemType': 'string' },
5157
+ blackIpListExpireAt: 'number',
5158
+ enableDropIcmp: 'boolean',
5159
+ enableIntelligence: 'boolean',
5160
+ enableL4Defense: 'boolean',
5161
+ fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentFingerPrintRuleList },
5162
+ intelligenceLevel: 'string',
5163
+ l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleList },
5164
+ portRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentPortRuleList },
5165
+ reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
5166
+ regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
5167
+ regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
5168
+ sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentSourceBlockList },
5169
+ sourceLimit: ModifyPolicyRequestContentSourceLimit,
5170
+ whiteIpList: { 'type': 'array', 'itemType': 'string' },
5171
+ whitenGfbrNets: 'boolean',
3629
5172
  };
3630
5173
  }
3631
5174
 
@@ -3634,35 +5177,53 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
3634
5177
  }
3635
5178
  }
3636
5179
 
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;
5180
+ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $tea.Model {
5181
+ dstPortEnd?: number;
5182
+ dstPortStart?: number;
5183
+ id?: string;
5184
+ matchAction?: string;
5185
+ maxPktLen?: number;
5186
+ minPktLen?: number;
5187
+ offset?: number;
5188
+ payloadBytes?: string;
5189
+ protocol?: string;
5190
+ rateValue?: number;
5191
+ seqNo?: number;
5192
+ srcPortEnd?: number;
5193
+ srcPortStart?: number;
3645
5194
  static names(): { [key: string]: string } {
3646
5195
  return {
3647
- attackBps: 'AttackBps',
3648
- attackPps: 'AttackPps',
3649
- flowType: 'FlowType',
3650
- kbps: 'Kbps',
3651
- name: 'Name',
3652
- pps: 'Pps',
3653
- time: 'Time',
5196
+ dstPortEnd: 'DstPortEnd',
5197
+ dstPortStart: 'DstPortStart',
5198
+ id: 'Id',
5199
+ matchAction: 'MatchAction',
5200
+ maxPktLen: 'MaxPktLen',
5201
+ minPktLen: 'MinPktLen',
5202
+ offset: 'Offset',
5203
+ payloadBytes: 'PayloadBytes',
5204
+ protocol: 'Protocol',
5205
+ rateValue: 'RateValue',
5206
+ seqNo: 'SeqNo',
5207
+ srcPortEnd: 'SrcPortEnd',
5208
+ srcPortStart: 'SrcPortStart',
3654
5209
  };
3655
5210
  }
3656
5211
 
3657
5212
  static types(): { [key: string]: any } {
3658
5213
  return {
3659
- attackBps: 'number',
3660
- attackPps: 'number',
3661
- flowType: 'string',
3662
- kbps: 'number',
3663
- name: 'string',
3664
- pps: 'number',
3665
- time: 'number',
5214
+ dstPortEnd: 'number',
5215
+ dstPortStart: 'number',
5216
+ id: 'string',
5217
+ matchAction: 'string',
5218
+ maxPktLen: 'number',
5219
+ minPktLen: 'number',
5220
+ offset: 'number',
5221
+ payloadBytes: 'string',
5222
+ protocol: 'string',
5223
+ rateValue: 'number',
5224
+ seqNo: 'number',
5225
+ srcPortEnd: 'number',
5226
+ srcPortStart: 'number',
3666
5227
  };
3667
5228
  }
3668
5229
 
@@ -3671,23 +5232,23 @@ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
3671
5232
  }
3672
5233
  }
3673
5234
 
3674
- export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
3675
- name?: string;
3676
- region?: string;
3677
- type?: string;
5235
+ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $tea.Model {
5236
+ arg?: string;
5237
+ depth?: number;
5238
+ position?: number;
3678
5239
  static names(): { [key: string]: string } {
3679
5240
  return {
3680
- name: 'Name',
3681
- region: 'Region',
3682
- type: 'Type',
5241
+ arg: 'Arg',
5242
+ depth: 'Depth',
5243
+ position: 'Position',
3683
5244
  };
3684
5245
  }
3685
5246
 
3686
5247
  static types(): { [key: string]: any } {
3687
5248
  return {
3688
- name: 'string',
3689
- region: 'string',
3690
- type: 'string',
5249
+ arg: 'string',
5250
+ depth: 'number',
5251
+ position: 'number',
3691
5252
  };
3692
5253
  }
3693
5254
 
@@ -3696,20 +5257,35 @@ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
3696
5257
  }
3697
5258
  }
3698
5259
 
3699
- export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
3700
- enable?: boolean;
3701
- instanceId?: string;
5260
+ export class ModifyPolicyContentRequestContentL4RuleList extends $tea.Model {
5261
+ action?: string;
5262
+ conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
5263
+ limited?: number;
5264
+ match?: string;
5265
+ method?: string;
5266
+ name?: string;
5267
+ priority?: number;
3702
5268
  static names(): { [key: string]: string } {
3703
5269
  return {
3704
- enable: 'Enable',
3705
- instanceId: 'InstanceId',
5270
+ action: 'Action',
5271
+ conditionList: 'ConditionList',
5272
+ limited: 'Limited',
5273
+ match: 'Match',
5274
+ method: 'Method',
5275
+ name: 'Name',
5276
+ priority: 'Priority',
3706
5277
  };
3707
5278
  }
3708
5279
 
3709
5280
  static types(): { [key: string]: any } {
3710
5281
  return {
3711
- enable: 'boolean',
3712
- instanceId: 'string',
5282
+ action: 'string',
5283
+ conditionList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleListConditionList },
5284
+ limited: 'number',
5285
+ match: 'string',
5286
+ method: 'string',
5287
+ name: 'string',
5288
+ priority: 'number',
3713
5289
  };
3714
5290
  }
3715
5291
 
@@ -3718,20 +5294,38 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $te
3718
5294
  }
3719
5295
  }
3720
5296
 
3721
- export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
3722
- tagCount?: number;
3723
- tagKey?: string;
5297
+ export class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
5298
+ dstPortEnd?: number;
5299
+ dstPortStart?: number;
5300
+ id?: string;
5301
+ matchAction?: string;
5302
+ protocol?: string;
5303
+ seqNo?: number;
5304
+ srcPortEnd?: number;
5305
+ srcPortStart?: number;
3724
5306
  static names(): { [key: string]: string } {
3725
5307
  return {
3726
- tagCount: 'TagCount',
3727
- tagKey: 'TagKey',
5308
+ dstPortEnd: 'DstPortEnd',
5309
+ dstPortStart: 'DstPortStart',
5310
+ id: 'Id',
5311
+ matchAction: 'MatchAction',
5312
+ protocol: 'Protocol',
5313
+ seqNo: 'SeqNo',
5314
+ srcPortEnd: 'SrcPortEnd',
5315
+ srcPortStart: 'SrcPortStart',
3728
5316
  };
3729
5317
  }
3730
5318
 
3731
5319
  static types(): { [key: string]: any } {
3732
5320
  return {
3733
- tagCount: 'number',
3734
- tagKey: 'string',
5321
+ dstPortEnd: 'number',
5322
+ dstPortStart: 'number',
5323
+ id: 'string',
5324
+ matchAction: 'string',
5325
+ protocol: 'string',
5326
+ seqNo: 'number',
5327
+ srcPortEnd: 'number',
5328
+ srcPortStart: 'number',
3735
5329
  };
3736
5330
  }
3737
5331
 
@@ -3740,20 +5334,26 @@ export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
3740
5334
  }
3741
5335
  }
3742
5336
 
3743
- export class ListTagResourcesRequestTag extends $tea.Model {
3744
- key?: string;
3745
- value?: string;
5337
+ export class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model {
5338
+ blockExpireSeconds?: number;
5339
+ everySeconds?: number;
5340
+ exceedLimitTimes?: number;
5341
+ type?: number;
3746
5342
  static names(): { [key: string]: string } {
3747
5343
  return {
3748
- key: 'Key',
3749
- value: 'Value',
5344
+ blockExpireSeconds: 'BlockExpireSeconds',
5345
+ everySeconds: 'EverySeconds',
5346
+ exceedLimitTimes: 'ExceedLimitTimes',
5347
+ type: 'Type',
3750
5348
  };
3751
5349
  }
3752
5350
 
3753
5351
  static types(): { [key: string]: any } {
3754
5352
  return {
3755
- key: 'string',
3756
- value: 'string',
5353
+ blockExpireSeconds: 'number',
5354
+ everySeconds: 'number',
5355
+ exceedLimitTimes: 'number',
5356
+ type: 'number',
3757
5357
  };
3758
5358
  }
3759
5359
 
@@ -3762,26 +5362,26 @@ export class ListTagResourcesRequestTag extends $tea.Model {
3762
5362
  }
3763
5363
  }
3764
5364
 
3765
- export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
3766
- resourceId?: string;
3767
- resourceType?: string;
3768
- tagKey?: string;
3769
- tagValue?: string;
5365
+ export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
5366
+ bps?: number;
5367
+ pps?: number;
5368
+ synBps?: number;
5369
+ synPps?: number;
3770
5370
  static names(): { [key: string]: string } {
3771
5371
  return {
3772
- resourceId: 'ResourceId',
3773
- resourceType: 'ResourceType',
3774
- tagKey: 'TagKey',
3775
- tagValue: 'TagValue',
5372
+ bps: 'Bps',
5373
+ pps: 'Pps',
5374
+ synBps: 'SynBps',
5375
+ synPps: 'SynPps',
3776
5376
  };
3777
5377
  }
3778
5378
 
3779
5379
  static types(): { [key: string]: any } {
3780
5380
  return {
3781
- resourceId: 'string',
3782
- resourceType: 'string',
3783
- tagKey: 'string',
3784
- tagValue: 'string',
5381
+ bps: 'number',
5382
+ pps: 'number',
5383
+ synBps: 'number',
5384
+ synPps: 'number',
3785
5385
  };
3786
5386
  }
3787
5387
 
@@ -3790,17 +5390,56 @@ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Mo
3790
5390
  }
3791
5391
  }
3792
5392
 
3793
- export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
3794
- tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
5393
+ export class ModifyPolicyContentRequestContent extends $tea.Model {
5394
+ blackIpListExpireAt?: number;
5395
+ enableDropIcmp?: boolean;
5396
+ enableIntelligence?: boolean;
5397
+ enableL4Defense?: boolean;
5398
+ fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
5399
+ intelligenceLevel?: string;
5400
+ l4RuleList?: ModifyPolicyContentRequestContentL4RuleList[];
5401
+ portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
5402
+ reflectBlockUdpPortList?: number[];
5403
+ regionBlockCountryList?: number[];
5404
+ regionBlockProvinceList?: number[];
5405
+ sourceBlockList?: ModifyPolicyContentRequestContentSourceBlockList[];
5406
+ sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
5407
+ whitenGfbrNets?: boolean;
3795
5408
  static names(): { [key: string]: string } {
3796
5409
  return {
3797
- tagResource: 'TagResource',
5410
+ blackIpListExpireAt: 'BlackIpListExpireAt',
5411
+ enableDropIcmp: 'EnableDropIcmp',
5412
+ enableIntelligence: 'EnableIntelligence',
5413
+ enableL4Defense: 'EnableL4Defense',
5414
+ fingerPrintRuleList: 'FingerPrintRuleList',
5415
+ intelligenceLevel: 'IntelligenceLevel',
5416
+ l4RuleList: 'L4RuleList',
5417
+ portRuleList: 'PortRuleList',
5418
+ reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
5419
+ regionBlockCountryList: 'RegionBlockCountryList',
5420
+ regionBlockProvinceList: 'RegionBlockProvinceList',
5421
+ sourceBlockList: 'SourceBlockList',
5422
+ sourceLimit: 'SourceLimit',
5423
+ whitenGfbrNets: 'WhitenGfbrNets',
3798
5424
  };
3799
5425
  }
3800
5426
 
3801
5427
  static types(): { [key: string]: any } {
3802
5428
  return {
3803
- tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
5429
+ blackIpListExpireAt: 'number',
5430
+ enableDropIcmp: 'boolean',
5431
+ enableIntelligence: 'boolean',
5432
+ enableL4Defense: 'boolean',
5433
+ fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentFingerPrintRuleList },
5434
+ intelligenceLevel: 'string',
5435
+ l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleList },
5436
+ portRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentPortRuleList },
5437
+ reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
5438
+ regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
5439
+ regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
5440
+ sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentSourceBlockList },
5441
+ sourceLimit: ModifyPolicyContentRequestContentSourceLimit,
5442
+ whitenGfbrNets: 'boolean',
3804
5443
  };
3805
5444
  }
3806
5445
 
@@ -4074,10 +5713,6 @@ export default class Client extends OpenApi {
4074
5713
  query["RegionId"] = request.regionId;
4075
5714
  }
4076
5715
 
4077
- if (!Util.isUnset(request.sourceIp)) {
4078
- query["SourceIp"] = request.sourceIp;
4079
- }
4080
-
4081
5716
  let req = new $OpenApi.OpenApiRequest({
4082
5717
  query: OpenApiUtil.query(query),
4083
5718
  });
@@ -4106,6 +5741,58 @@ export default class Client extends OpenApi {
4106
5741
  return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
4107
5742
  }
4108
5743
 
5744
+ /**
5745
+ * @summary 策略绑定
5746
+ *
5747
+ * @param tmpReq AttachToPolicyRequest
5748
+ * @param runtime runtime options for this request RuntimeOptions
5749
+ * @return AttachToPolicyResponse
5750
+ */
5751
+ async attachToPolicyWithOptions(tmpReq: AttachToPolicyRequest, runtime: $Util.RuntimeOptions): Promise<AttachToPolicyResponse> {
5752
+ Util.validateModel(tmpReq);
5753
+ let request = new AttachToPolicyShrinkRequest({ });
5754
+ OpenApiUtil.convert(tmpReq, request);
5755
+ if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
5756
+ request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
5757
+ }
5758
+
5759
+ let query = { };
5760
+ if (!Util.isUnset(request.ipPortProtocolListShrink)) {
5761
+ query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
5762
+ }
5763
+
5764
+ if (!Util.isUnset(request.policyId)) {
5765
+ query["PolicyId"] = request.policyId;
5766
+ }
5767
+
5768
+ let req = new $OpenApi.OpenApiRequest({
5769
+ query: OpenApiUtil.query(query),
5770
+ });
5771
+ let params = new $OpenApi.Params({
5772
+ action: "AttachToPolicy",
5773
+ version: "2018-07-20",
5774
+ protocol: "HTTPS",
5775
+ pathname: "/",
5776
+ method: "POST",
5777
+ authType: "AK",
5778
+ style: "RPC",
5779
+ reqBodyType: "formData",
5780
+ bodyType: "json",
5781
+ });
5782
+ return $tea.cast<AttachToPolicyResponse>(await this.callApi(params, req, runtime), new AttachToPolicyResponse({}));
5783
+ }
5784
+
5785
+ /**
5786
+ * @summary 策略绑定
5787
+ *
5788
+ * @param request AttachToPolicyRequest
5789
+ * @return AttachToPolicyResponse
5790
+ */
5791
+ async attachToPolicy(request: AttachToPolicyRequest): Promise<AttachToPolicyResponse> {
5792
+ let runtime = new $Util.RuntimeOptions({ });
5793
+ return await this.attachToPolicyWithOptions(request, runtime);
5794
+ }
5795
+
4109
5796
  /**
4110
5797
  * @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
4111
5798
  *
@@ -4246,19 +5933,63 @@ export default class Client extends OpenApi {
4246
5933
  query["RuleUndoEndTime"] = request.ruleUndoEndTime;
4247
5934
  }
4248
5935
 
4249
- if (!Util.isUnset(request.ruleUndoMode)) {
4250
- query["RuleUndoMode"] = request.ruleUndoMode;
5936
+ if (!Util.isUnset(request.ruleUndoMode)) {
5937
+ query["RuleUndoMode"] = request.ruleUndoMode;
5938
+ }
5939
+
5940
+ if (!Util.isUnset(request.timeZone)) {
5941
+ query["TimeZone"] = request.timeZone;
5942
+ }
5943
+
5944
+ let req = new $OpenApi.OpenApiRequest({
5945
+ query: OpenApiUtil.query(query),
5946
+ });
5947
+ let params = new $OpenApi.Params({
5948
+ action: "ConfigSchedruleOnDemand",
5949
+ version: "2018-07-20",
5950
+ protocol: "HTTPS",
5951
+ pathname: "/",
5952
+ method: "POST",
5953
+ authType: "AK",
5954
+ style: "RPC",
5955
+ reqBodyType: "formData",
5956
+ bodyType: "json",
5957
+ });
5958
+ return $tea.cast<ConfigSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
5959
+ }
5960
+
5961
+ /**
5962
+ * @param request ConfigSchedruleOnDemandRequest
5963
+ * @return ConfigSchedruleOnDemandResponse
5964
+ */
5965
+ async configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse> {
5966
+ let runtime = new $Util.RuntimeOptions({ });
5967
+ return await this.configSchedruleOnDemandWithOptions(request, runtime);
5968
+ }
5969
+
5970
+ /**
5971
+ * @summary 创建策略
5972
+ *
5973
+ * @param request CreatePolicyRequest
5974
+ * @param runtime runtime options for this request RuntimeOptions
5975
+ * @return CreatePolicyResponse
5976
+ */
5977
+ async createPolicyWithOptions(request: CreatePolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreatePolicyResponse> {
5978
+ Util.validateModel(request);
5979
+ let query = { };
5980
+ if (!Util.isUnset(request.name)) {
5981
+ query["Name"] = request.name;
4251
5982
  }
4252
5983
 
4253
- if (!Util.isUnset(request.timeZone)) {
4254
- query["TimeZone"] = request.timeZone;
5984
+ if (!Util.isUnset(request.type)) {
5985
+ query["Type"] = request.type;
4255
5986
  }
4256
5987
 
4257
5988
  let req = new $OpenApi.OpenApiRequest({
4258
5989
  query: OpenApiUtil.query(query),
4259
5990
  });
4260
5991
  let params = new $OpenApi.Params({
4261
- action: "ConfigSchedruleOnDemand",
5992
+ action: "CreatePolicy",
4262
5993
  version: "2018-07-20",
4263
5994
  protocol: "HTTPS",
4264
5995
  pathname: "/",
@@ -4268,16 +5999,18 @@ export default class Client extends OpenApi {
4268
5999
  reqBodyType: "formData",
4269
6000
  bodyType: "json",
4270
6001
  });
4271
- return $tea.cast<ConfigSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
6002
+ return $tea.cast<CreatePolicyResponse>(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
4272
6003
  }
4273
6004
 
4274
6005
  /**
4275
- * @param request ConfigSchedruleOnDemandRequest
4276
- * @return ConfigSchedruleOnDemandResponse
6006
+ * @summary 创建策略
6007
+ *
6008
+ * @param request CreatePolicyRequest
6009
+ * @return CreatePolicyResponse
4277
6010
  */
4278
- async configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse> {
6011
+ async createPolicy(request: CreatePolicyRequest): Promise<CreatePolicyResponse> {
4279
6012
  let runtime = new $Util.RuntimeOptions({ });
4280
- return await this.configSchedruleOnDemandWithOptions(request, runtime);
6013
+ return await this.createPolicyWithOptions(request, runtime);
4281
6014
  }
4282
6015
 
4283
6016
  /**
@@ -4488,6 +6221,48 @@ export default class Client extends OpenApi {
4488
6221
  return await this.deleteIpWithOptions(request, runtime);
4489
6222
  }
4490
6223
 
6224
+ /**
6225
+ * @summary 删除策略
6226
+ *
6227
+ * @param request DeletePolicyRequest
6228
+ * @param runtime runtime options for this request RuntimeOptions
6229
+ * @return DeletePolicyResponse
6230
+ */
6231
+ async deletePolicyWithOptions(request: DeletePolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeletePolicyResponse> {
6232
+ Util.validateModel(request);
6233
+ let query = { };
6234
+ if (!Util.isUnset(request.id)) {
6235
+ query["Id"] = request.id;
6236
+ }
6237
+
6238
+ let req = new $OpenApi.OpenApiRequest({
6239
+ query: OpenApiUtil.query(query),
6240
+ });
6241
+ let params = new $OpenApi.Params({
6242
+ action: "DeletePolicy",
6243
+ version: "2018-07-20",
6244
+ protocol: "HTTPS",
6245
+ pathname: "/",
6246
+ method: "POST",
6247
+ authType: "AK",
6248
+ style: "RPC",
6249
+ reqBodyType: "formData",
6250
+ bodyType: "json",
6251
+ });
6252
+ return $tea.cast<DeletePolicyResponse>(await this.callApi(params, req, runtime), new DeletePolicyResponse({}));
6253
+ }
6254
+
6255
+ /**
6256
+ * @summary 删除策略
6257
+ *
6258
+ * @param request DeletePolicyRequest
6259
+ * @return DeletePolicyResponse
6260
+ */
6261
+ async deletePolicy(request: DeletePolicyRequest): Promise<DeletePolicyResponse> {
6262
+ let runtime = new $Util.RuntimeOptions({ });
6263
+ return await this.deletePolicyWithOptions(request, runtime);
6264
+ }
6265
+
4491
6266
  /**
4492
6267
  * @summary 删除资源目录成员账号列表
4493
6268
  *
@@ -4604,10 +6379,6 @@ export default class Client extends OpenApi {
4604
6379
  query["RegionId"] = request.regionId;
4605
6380
  }
4606
6381
 
4607
- if (!Util.isUnset(request.sourceIp)) {
4608
- query["SourceIp"] = request.sourceIp;
4609
- }
4610
-
4611
6382
  if (!Util.isUnset(request.type)) {
4612
6383
  query["Type"] = request.type;
4613
6384
  }
@@ -4670,10 +6441,6 @@ export default class Client extends OpenApi {
4670
6441
  query["RegionId"] = request.regionId;
4671
6442
  }
4672
6443
 
4673
- if (!Util.isUnset(request.sourceIp)) {
4674
- query["SourceIp"] = request.sourceIp;
4675
- }
4676
-
4677
6444
  if (!Util.isUnset(request.type)) {
4678
6445
  query["Type"] = request.type;
4679
6446
  }
@@ -5525,6 +7292,58 @@ export default class Client extends OpenApi {
5525
7292
  return await this.describeTrafficWithOptions(request, runtime);
5526
7293
  }
5527
7294
 
7295
+ /**
7296
+ * @summary 策略解绑
7297
+ *
7298
+ * @param tmpReq DetachFromPolicyRequest
7299
+ * @param runtime runtime options for this request RuntimeOptions
7300
+ * @return DetachFromPolicyResponse
7301
+ */
7302
+ async detachFromPolicyWithOptions(tmpReq: DetachFromPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DetachFromPolicyResponse> {
7303
+ Util.validateModel(tmpReq);
7304
+ let request = new DetachFromPolicyShrinkRequest({ });
7305
+ OpenApiUtil.convert(tmpReq, request);
7306
+ if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
7307
+ request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
7308
+ }
7309
+
7310
+ let query = { };
7311
+ if (!Util.isUnset(request.ipPortProtocolListShrink)) {
7312
+ query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
7313
+ }
7314
+
7315
+ if (!Util.isUnset(request.policyType)) {
7316
+ query["PolicyType"] = request.policyType;
7317
+ }
7318
+
7319
+ let req = new $OpenApi.OpenApiRequest({
7320
+ query: OpenApiUtil.query(query),
7321
+ });
7322
+ let params = new $OpenApi.Params({
7323
+ action: "DetachFromPolicy",
7324
+ version: "2018-07-20",
7325
+ protocol: "HTTPS",
7326
+ pathname: "/",
7327
+ method: "POST",
7328
+ authType: "AK",
7329
+ style: "RPC",
7330
+ reqBodyType: "formData",
7331
+ bodyType: "json",
7332
+ });
7333
+ return $tea.cast<DetachFromPolicyResponse>(await this.callApi(params, req, runtime), new DetachFromPolicyResponse({}));
7334
+ }
7335
+
7336
+ /**
7337
+ * @summary 策略解绑
7338
+ *
7339
+ * @param request DetachFromPolicyRequest
7340
+ * @return DetachFromPolicyResponse
7341
+ */
7342
+ async detachFromPolicy(request: DetachFromPolicyRequest): Promise<DetachFromPolicyResponse> {
7343
+ let runtime = new $Util.RuntimeOptions({ });
7344
+ return await this.detachFromPolicyWithOptions(request, runtime);
7345
+ }
7346
+
5528
7347
  /**
5529
7348
  * @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
5530
7349
  *
@@ -5553,10 +7372,6 @@ export default class Client extends OpenApi {
5553
7372
  query["RegionId"] = request.regionId;
5554
7373
  }
5555
7374
 
5556
- if (!Util.isUnset(request.sourceIp)) {
5557
- query["SourceIp"] = request.sourceIp;
5558
- }
5559
-
5560
7375
  let req = new $OpenApi.OpenApiRequest({
5561
7376
  query: OpenApiUtil.query(query),
5562
7377
  });
@@ -5681,6 +7496,124 @@ export default class Client extends OpenApi {
5681
7496
  return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
5682
7497
  }
5683
7498
 
7499
+ /**
7500
+ * @summary 查询策略
7501
+ *
7502
+ * @param request ListPolicyRequest
7503
+ * @param runtime runtime options for this request RuntimeOptions
7504
+ * @return ListPolicyResponse
7505
+ */
7506
+ async listPolicyWithOptions(request: ListPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyResponse> {
7507
+ Util.validateModel(request);
7508
+ let query = { };
7509
+ if (!Util.isUnset(request.name)) {
7510
+ query["Name"] = request.name;
7511
+ }
7512
+
7513
+ if (!Util.isUnset(request.pageNo)) {
7514
+ query["PageNo"] = request.pageNo;
7515
+ }
7516
+
7517
+ if (!Util.isUnset(request.pageSize)) {
7518
+ query["PageSize"] = request.pageSize;
7519
+ }
7520
+
7521
+ if (!Util.isUnset(request.type)) {
7522
+ query["Type"] = request.type;
7523
+ }
7524
+
7525
+ let req = new $OpenApi.OpenApiRequest({
7526
+ query: OpenApiUtil.query(query),
7527
+ });
7528
+ let params = new $OpenApi.Params({
7529
+ action: "ListPolicy",
7530
+ version: "2018-07-20",
7531
+ protocol: "HTTPS",
7532
+ pathname: "/",
7533
+ method: "POST",
7534
+ authType: "AK",
7535
+ style: "RPC",
7536
+ reqBodyType: "formData",
7537
+ bodyType: "json",
7538
+ });
7539
+ return $tea.cast<ListPolicyResponse>(await this.callApi(params, req, runtime), new ListPolicyResponse({}));
7540
+ }
7541
+
7542
+ /**
7543
+ * @summary 查询策略
7544
+ *
7545
+ * @param request ListPolicyRequest
7546
+ * @return ListPolicyResponse
7547
+ */
7548
+ async listPolicy(request: ListPolicyRequest): Promise<ListPolicyResponse> {
7549
+ let runtime = new $Util.RuntimeOptions({ });
7550
+ return await this.listPolicyWithOptions(request, runtime);
7551
+ }
7552
+
7553
+ /**
7554
+ * @summary 查询策略绑定
7555
+ *
7556
+ * @param tmpReq ListPolicyAttachmentRequest
7557
+ * @param runtime runtime options for this request RuntimeOptions
7558
+ * @return ListPolicyAttachmentResponse
7559
+ */
7560
+ async listPolicyAttachmentWithOptions(tmpReq: ListPolicyAttachmentRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyAttachmentResponse> {
7561
+ Util.validateModel(tmpReq);
7562
+ let request = new ListPolicyAttachmentShrinkRequest({ });
7563
+ OpenApiUtil.convert(tmpReq, request);
7564
+ if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
7565
+ request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
7566
+ }
7567
+
7568
+ let query = { };
7569
+ if (!Util.isUnset(request.ipPortProtocolListShrink)) {
7570
+ query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
7571
+ }
7572
+
7573
+ if (!Util.isUnset(request.pageNo)) {
7574
+ query["PageNo"] = request.pageNo;
7575
+ }
7576
+
7577
+ if (!Util.isUnset(request.pageSize)) {
7578
+ query["PageSize"] = request.pageSize;
7579
+ }
7580
+
7581
+ if (!Util.isUnset(request.policyId)) {
7582
+ query["PolicyId"] = request.policyId;
7583
+ }
7584
+
7585
+ if (!Util.isUnset(request.policyType)) {
7586
+ query["PolicyType"] = request.policyType;
7587
+ }
7588
+
7589
+ let req = new $OpenApi.OpenApiRequest({
7590
+ query: OpenApiUtil.query(query),
7591
+ });
7592
+ let params = new $OpenApi.Params({
7593
+ action: "ListPolicyAttachment",
7594
+ version: "2018-07-20",
7595
+ protocol: "HTTPS",
7596
+ pathname: "/",
7597
+ method: "POST",
7598
+ authType: "AK",
7599
+ style: "RPC",
7600
+ reqBodyType: "formData",
7601
+ bodyType: "json",
7602
+ });
7603
+ return $tea.cast<ListPolicyAttachmentResponse>(await this.callApi(params, req, runtime), new ListPolicyAttachmentResponse({}));
7604
+ }
7605
+
7606
+ /**
7607
+ * @summary 查询策略绑定
7608
+ *
7609
+ * @param request ListPolicyAttachmentRequest
7610
+ * @return ListPolicyAttachmentResponse
7611
+ */
7612
+ async listPolicyAttachment(request: ListPolicyAttachmentRequest): Promise<ListPolicyAttachmentResponse> {
7613
+ let runtime = new $Util.RuntimeOptions({ });
7614
+ return await this.listPolicyAttachmentWithOptions(request, runtime);
7615
+ }
7616
+
5684
7617
  /**
5685
7618
  * @summary Queries all tags.
5686
7619
  *
@@ -5801,6 +7734,122 @@ export default class Client extends OpenApi {
5801
7734
  return await this.listTagResourcesWithOptions(request, runtime);
5802
7735
  }
5803
7736
 
7737
+ /**
7738
+ * @summary 修改策略
7739
+ *
7740
+ * @param tmpReq ModifyPolicyRequest
7741
+ * @param runtime runtime options for this request RuntimeOptions
7742
+ * @return ModifyPolicyResponse
7743
+ */
7744
+ async modifyPolicyWithOptions(tmpReq: ModifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyResponse> {
7745
+ Util.validateModel(tmpReq);
7746
+ let request = new ModifyPolicyShrinkRequest({ });
7747
+ OpenApiUtil.convert(tmpReq, request);
7748
+ if (!Util.isUnset(tmpReq.content)) {
7749
+ request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
7750
+ }
7751
+
7752
+ let query = { };
7753
+ if (!Util.isUnset(request.actionType)) {
7754
+ query["ActionType"] = request.actionType;
7755
+ }
7756
+
7757
+ if (!Util.isUnset(request.contentShrink)) {
7758
+ query["Content"] = request.contentShrink;
7759
+ }
7760
+
7761
+ if (!Util.isUnset(request.id)) {
7762
+ query["Id"] = request.id;
7763
+ }
7764
+
7765
+ if (!Util.isUnset(request.name)) {
7766
+ query["Name"] = request.name;
7767
+ }
7768
+
7769
+ let req = new $OpenApi.OpenApiRequest({
7770
+ query: OpenApiUtil.query(query),
7771
+ });
7772
+ let params = new $OpenApi.Params({
7773
+ action: "ModifyPolicy",
7774
+ version: "2018-07-20",
7775
+ protocol: "HTTPS",
7776
+ pathname: "/",
7777
+ method: "POST",
7778
+ authType: "AK",
7779
+ style: "RPC",
7780
+ reqBodyType: "formData",
7781
+ bodyType: "json",
7782
+ });
7783
+ return $tea.cast<ModifyPolicyResponse>(await this.callApi(params, req, runtime), new ModifyPolicyResponse({}));
7784
+ }
7785
+
7786
+ /**
7787
+ * @summary 修改策略
7788
+ *
7789
+ * @param request ModifyPolicyRequest
7790
+ * @return ModifyPolicyResponse
7791
+ */
7792
+ async modifyPolicy(request: ModifyPolicyRequest): Promise<ModifyPolicyResponse> {
7793
+ let runtime = new $Util.RuntimeOptions({ });
7794
+ return await this.modifyPolicyWithOptions(request, runtime);
7795
+ }
7796
+
7797
+ /**
7798
+ * @summary 修改策略
7799
+ *
7800
+ * @param tmpReq ModifyPolicyContentRequest
7801
+ * @param runtime runtime options for this request RuntimeOptions
7802
+ * @return ModifyPolicyContentResponse
7803
+ */
7804
+ async modifyPolicyContentWithOptions(tmpReq: ModifyPolicyContentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyContentResponse> {
7805
+ Util.validateModel(tmpReq);
7806
+ let request = new ModifyPolicyContentShrinkRequest({ });
7807
+ OpenApiUtil.convert(tmpReq, request);
7808
+ if (!Util.isUnset(tmpReq.content)) {
7809
+ request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
7810
+ }
7811
+
7812
+ let query = { };
7813
+ if (!Util.isUnset(request.contentShrink)) {
7814
+ query["Content"] = request.contentShrink;
7815
+ }
7816
+
7817
+ if (!Util.isUnset(request.id)) {
7818
+ query["Id"] = request.id;
7819
+ }
7820
+
7821
+ if (!Util.isUnset(request.name)) {
7822
+ query["Name"] = request.name;
7823
+ }
7824
+
7825
+ let req = new $OpenApi.OpenApiRequest({
7826
+ query: OpenApiUtil.query(query),
7827
+ });
7828
+ let params = new $OpenApi.Params({
7829
+ action: "ModifyPolicyContent",
7830
+ version: "2018-07-20",
7831
+ protocol: "HTTPS",
7832
+ pathname: "/",
7833
+ method: "POST",
7834
+ authType: "AK",
7835
+ style: "RPC",
7836
+ reqBodyType: "formData",
7837
+ bodyType: "json",
7838
+ });
7839
+ return $tea.cast<ModifyPolicyContentResponse>(await this.callApi(params, req, runtime), new ModifyPolicyContentResponse({}));
7840
+ }
7841
+
7842
+ /**
7843
+ * @summary 修改策略
7844
+ *
7845
+ * @param request ModifyPolicyContentRequest
7846
+ * @return ModifyPolicyContentResponse
7847
+ */
7848
+ async modifyPolicyContent(request: ModifyPolicyContentRequest): Promise<ModifyPolicyContentResponse> {
7849
+ let runtime = new $Util.RuntimeOptions({ });
7850
+ return await this.modifyPolicyContentWithOptions(request, runtime);
7851
+ }
7852
+
5804
7853
  /**
5805
7854
  * @summary Adds remarks for a specific Anti-DDoS Origin instance.
5806
7855
  *