@alicloud/ddosbgp20180720 2.3.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1548 -290
- package/dist/client.js +2109 -252
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2928 -693
package/src/client.ts
CHANGED
|
@@ -166,13 +166,11 @@ export class AttachAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
166
166
|
assetGroupList?: AttachAssetGroupToInstanceRequestAssetGroupList[];
|
|
167
167
|
instanceId?: string;
|
|
168
168
|
regionId?: string;
|
|
169
|
-
sourceIp?: string;
|
|
170
169
|
static names(): { [key: string]: string } {
|
|
171
170
|
return {
|
|
172
171
|
assetGroupList: 'AssetGroupList',
|
|
173
172
|
instanceId: 'InstanceId',
|
|
174
173
|
regionId: 'RegionId',
|
|
175
|
-
sourceIp: 'SourceIp',
|
|
176
174
|
};
|
|
177
175
|
}
|
|
178
176
|
|
|
@@ -181,7 +179,6 @@ export class AttachAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
181
179
|
assetGroupList: { 'type': 'array', 'itemType': AttachAssetGroupToInstanceRequestAssetGroupList },
|
|
182
180
|
instanceId: 'string',
|
|
183
181
|
regionId: 'string',
|
|
184
|
-
sourceIp: 'string',
|
|
185
182
|
};
|
|
186
183
|
}
|
|
187
184
|
|
|
@@ -194,13 +191,11 @@ export class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
194
191
|
assetGroupListShrink?: string;
|
|
195
192
|
instanceId?: string;
|
|
196
193
|
regionId?: string;
|
|
197
|
-
sourceIp?: string;
|
|
198
194
|
static names(): { [key: string]: string } {
|
|
199
195
|
return {
|
|
200
196
|
assetGroupListShrink: 'AssetGroupList',
|
|
201
197
|
instanceId: 'InstanceId',
|
|
202
198
|
regionId: 'RegionId',
|
|
203
|
-
sourceIp: 'SourceIp',
|
|
204
199
|
};
|
|
205
200
|
}
|
|
206
201
|
|
|
@@ -209,7 +204,6 @@ export class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
209
204
|
assetGroupListShrink: 'string',
|
|
210
205
|
instanceId: 'string',
|
|
211
206
|
regionId: 'string',
|
|
212
|
-
sourceIp: 'string',
|
|
213
207
|
};
|
|
214
208
|
}
|
|
215
209
|
|
|
@@ -499,6 +493,75 @@ export class ConfigSchedruleOnDemandResponse extends $tea.Model {
|
|
|
499
493
|
}
|
|
500
494
|
}
|
|
501
495
|
|
|
496
|
+
export class CreatePolicyRequest extends $tea.Model {
|
|
497
|
+
name?: string;
|
|
498
|
+
type?: string;
|
|
499
|
+
static names(): { [key: string]: string } {
|
|
500
|
+
return {
|
|
501
|
+
name: 'Name',
|
|
502
|
+
type: 'Type',
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
static types(): { [key: string]: any } {
|
|
507
|
+
return {
|
|
508
|
+
name: 'string',
|
|
509
|
+
type: 'string',
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
constructor(map?: { [key: string]: any }) {
|
|
514
|
+
super(map);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export class CreatePolicyResponseBody extends $tea.Model {
|
|
519
|
+
id?: string;
|
|
520
|
+
requestId?: string;
|
|
521
|
+
static names(): { [key: string]: string } {
|
|
522
|
+
return {
|
|
523
|
+
id: 'Id',
|
|
524
|
+
requestId: 'RequestId',
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
static types(): { [key: string]: any } {
|
|
529
|
+
return {
|
|
530
|
+
id: 'string',
|
|
531
|
+
requestId: 'string',
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
constructor(map?: { [key: string]: any }) {
|
|
536
|
+
super(map);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export class CreatePolicyResponse extends $tea.Model {
|
|
541
|
+
headers?: { [key: string]: string };
|
|
542
|
+
statusCode?: number;
|
|
543
|
+
body?: CreatePolicyResponseBody;
|
|
544
|
+
static names(): { [key: string]: string } {
|
|
545
|
+
return {
|
|
546
|
+
headers: 'headers',
|
|
547
|
+
statusCode: 'statusCode',
|
|
548
|
+
body: 'body',
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
static types(): { [key: string]: any } {
|
|
553
|
+
return {
|
|
554
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
555
|
+
statusCode: 'number',
|
|
556
|
+
body: CreatePolicyResponseBody,
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
constructor(map?: { [key: string]: any }) {
|
|
561
|
+
super(map);
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
502
565
|
export class CreateSchedruleOnDemandRequest extends $tea.Model {
|
|
503
566
|
instanceId?: string;
|
|
504
567
|
regionId?: string;
|
|
@@ -739,6 +802,69 @@ export class DeleteIpResponse extends $tea.Model {
|
|
|
739
802
|
}
|
|
740
803
|
}
|
|
741
804
|
|
|
805
|
+
export class DeletePolicyRequest extends $tea.Model {
|
|
806
|
+
id?: string;
|
|
807
|
+
static names(): { [key: string]: string } {
|
|
808
|
+
return {
|
|
809
|
+
id: 'Id',
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
static types(): { [key: string]: any } {
|
|
814
|
+
return {
|
|
815
|
+
id: 'string',
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
constructor(map?: { [key: string]: any }) {
|
|
820
|
+
super(map);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export class DeletePolicyResponseBody extends $tea.Model {
|
|
825
|
+
requestId?: string;
|
|
826
|
+
static names(): { [key: string]: string } {
|
|
827
|
+
return {
|
|
828
|
+
requestId: 'RequestId',
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
static types(): { [key: string]: any } {
|
|
833
|
+
return {
|
|
834
|
+
requestId: 'string',
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
constructor(map?: { [key: string]: any }) {
|
|
839
|
+
super(map);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
export class DeletePolicyResponse extends $tea.Model {
|
|
844
|
+
headers?: { [key: string]: string };
|
|
845
|
+
statusCode?: number;
|
|
846
|
+
body?: DeletePolicyResponseBody;
|
|
847
|
+
static names(): { [key: string]: string } {
|
|
848
|
+
return {
|
|
849
|
+
headers: 'headers',
|
|
850
|
+
statusCode: 'statusCode',
|
|
851
|
+
body: 'body',
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
static types(): { [key: string]: any } {
|
|
856
|
+
return {
|
|
857
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
858
|
+
statusCode: 'number',
|
|
859
|
+
body: DeletePolicyResponseBody,
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
constructor(map?: { [key: string]: any }) {
|
|
864
|
+
super(map);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
742
868
|
export class DeleteRdMemberListRequest extends $tea.Model {
|
|
743
869
|
memberList?: DeleteRdMemberListRequestMemberList[];
|
|
744
870
|
static names(): { [key: string]: string } {
|
|
@@ -894,14 +1020,12 @@ export class DescribeAssetGroupRequest extends $tea.Model {
|
|
|
894
1020
|
name?: string;
|
|
895
1021
|
region?: string;
|
|
896
1022
|
regionId?: string;
|
|
897
|
-
sourceIp?: string;
|
|
898
1023
|
type?: string;
|
|
899
1024
|
static names(): { [key: string]: string } {
|
|
900
1025
|
return {
|
|
901
1026
|
name: 'Name',
|
|
902
1027
|
region: 'Region',
|
|
903
1028
|
regionId: 'RegionId',
|
|
904
|
-
sourceIp: 'SourceIp',
|
|
905
1029
|
type: 'Type',
|
|
906
1030
|
};
|
|
907
1031
|
}
|
|
@@ -911,7 +1035,6 @@ export class DescribeAssetGroupRequest extends $tea.Model {
|
|
|
911
1035
|
name: 'string',
|
|
912
1036
|
region: 'string',
|
|
913
1037
|
regionId: 'string',
|
|
914
|
-
sourceIp: 'string',
|
|
915
1038
|
type: 'string',
|
|
916
1039
|
};
|
|
917
1040
|
}
|
|
@@ -977,7 +1100,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
977
1100
|
name?: string;
|
|
978
1101
|
region?: string;
|
|
979
1102
|
regionId?: string;
|
|
980
|
-
sourceIp?: string;
|
|
981
1103
|
type?: string;
|
|
982
1104
|
static names(): { [key: string]: string } {
|
|
983
1105
|
return {
|
|
@@ -986,7 +1108,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
986
1108
|
name: 'Name',
|
|
987
1109
|
region: 'Region',
|
|
988
1110
|
regionId: 'RegionId',
|
|
989
|
-
sourceIp: 'SourceIp',
|
|
990
1111
|
type: 'Type',
|
|
991
1112
|
};
|
|
992
1113
|
}
|
|
@@ -998,7 +1119,6 @@ export class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
998
1119
|
name: 'string',
|
|
999
1120
|
region: 'string',
|
|
1000
1121
|
regionId: 'string',
|
|
1001
|
-
sourceIp: 'string',
|
|
1002
1122
|
type: 'string',
|
|
1003
1123
|
};
|
|
1004
1124
|
}
|
|
@@ -2167,17 +2287,103 @@ export class DescribeTrafficResponse extends $tea.Model {
|
|
|
2167
2287
|
}
|
|
2168
2288
|
}
|
|
2169
2289
|
|
|
2290
|
+
export class DetachFromPolicyRequest extends $tea.Model {
|
|
2291
|
+
ipPortProtocolList?: DetachFromPolicyRequestIpPortProtocolList[];
|
|
2292
|
+
policyType?: string;
|
|
2293
|
+
static names(): { [key: string]: string } {
|
|
2294
|
+
return {
|
|
2295
|
+
ipPortProtocolList: 'IpPortProtocolList',
|
|
2296
|
+
policyType: 'PolicyType',
|
|
2297
|
+
};
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
static types(): { [key: string]: any } {
|
|
2301
|
+
return {
|
|
2302
|
+
ipPortProtocolList: { 'type': 'array', 'itemType': DetachFromPolicyRequestIpPortProtocolList },
|
|
2303
|
+
policyType: 'string',
|
|
2304
|
+
};
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
constructor(map?: { [key: string]: any }) {
|
|
2308
|
+
super(map);
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
export class DetachFromPolicyShrinkRequest extends $tea.Model {
|
|
2313
|
+
ipPortProtocolListShrink?: string;
|
|
2314
|
+
policyType?: string;
|
|
2315
|
+
static names(): { [key: string]: string } {
|
|
2316
|
+
return {
|
|
2317
|
+
ipPortProtocolListShrink: 'IpPortProtocolList',
|
|
2318
|
+
policyType: 'PolicyType',
|
|
2319
|
+
};
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
static types(): { [key: string]: any } {
|
|
2323
|
+
return {
|
|
2324
|
+
ipPortProtocolListShrink: 'string',
|
|
2325
|
+
policyType: 'string',
|
|
2326
|
+
};
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
constructor(map?: { [key: string]: any }) {
|
|
2330
|
+
super(map);
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
export class DetachFromPolicyResponseBody extends $tea.Model {
|
|
2335
|
+
requestId?: string;
|
|
2336
|
+
static names(): { [key: string]: string } {
|
|
2337
|
+
return {
|
|
2338
|
+
requestId: 'RequestId',
|
|
2339
|
+
};
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
static types(): { [key: string]: any } {
|
|
2343
|
+
return {
|
|
2344
|
+
requestId: 'string',
|
|
2345
|
+
};
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
constructor(map?: { [key: string]: any }) {
|
|
2349
|
+
super(map);
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
export class DetachFromPolicyResponse extends $tea.Model {
|
|
2354
|
+
headers?: { [key: string]: string };
|
|
2355
|
+
statusCode?: number;
|
|
2356
|
+
body?: DetachFromPolicyResponseBody;
|
|
2357
|
+
static names(): { [key: string]: string } {
|
|
2358
|
+
return {
|
|
2359
|
+
headers: 'headers',
|
|
2360
|
+
statusCode: 'statusCode',
|
|
2361
|
+
body: 'body',
|
|
2362
|
+
};
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
static types(): { [key: string]: any } {
|
|
2366
|
+
return {
|
|
2367
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2368
|
+
statusCode: 'number',
|
|
2369
|
+
body: DetachFromPolicyResponseBody,
|
|
2370
|
+
};
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
constructor(map?: { [key: string]: any }) {
|
|
2374
|
+
super(map);
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2170
2378
|
export class DettachAssetGroupToInstanceRequest extends $tea.Model {
|
|
2171
2379
|
assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
|
|
2172
2380
|
instanceId?: string;
|
|
2173
2381
|
regionId?: string;
|
|
2174
|
-
sourceIp?: string;
|
|
2175
2382
|
static names(): { [key: string]: string } {
|
|
2176
2383
|
return {
|
|
2177
2384
|
assetGroupList: 'AssetGroupList',
|
|
2178
2385
|
instanceId: 'InstanceId',
|
|
2179
2386
|
regionId: 'RegionId',
|
|
2180
|
-
sourceIp: 'SourceIp',
|
|
2181
2387
|
};
|
|
2182
2388
|
}
|
|
2183
2389
|
|
|
@@ -2186,7 +2392,6 @@ export class DettachAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
2186
2392
|
assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
|
|
2187
2393
|
instanceId: 'string',
|
|
2188
2394
|
regionId: 'string',
|
|
2189
|
-
sourceIp: 'string',
|
|
2190
2395
|
};
|
|
2191
2396
|
}
|
|
2192
2397
|
|
|
@@ -2199,13 +2404,11 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
2199
2404
|
assetGroupListShrink?: string;
|
|
2200
2405
|
instanceId?: string;
|
|
2201
2406
|
regionId?: string;
|
|
2202
|
-
sourceIp?: string;
|
|
2203
2407
|
static names(): { [key: string]: string } {
|
|
2204
2408
|
return {
|
|
2205
2409
|
assetGroupListShrink: 'AssetGroupList',
|
|
2206
2410
|
instanceId: 'InstanceId',
|
|
2207
2411
|
regionId: 'RegionId',
|
|
2208
|
-
sourceIp: 'SourceIp',
|
|
2209
2412
|
};
|
|
2210
2413
|
}
|
|
2211
2414
|
|
|
@@ -2214,7 +2417,6 @@ export class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
2214
2417
|
assetGroupListShrink: 'string',
|
|
2215
2418
|
instanceId: 'string',
|
|
2216
2419
|
regionId: 'string',
|
|
2217
|
-
sourceIp: 'string',
|
|
2218
2420
|
};
|
|
2219
2421
|
}
|
|
2220
2422
|
|
|
@@ -2411,29 +2613,26 @@ export class ListOpenedAccessLogInstancesResponse extends $tea.Model {
|
|
|
2411
2613
|
}
|
|
2412
2614
|
}
|
|
2413
2615
|
|
|
2414
|
-
export class
|
|
2415
|
-
|
|
2616
|
+
export class ListPolicyRequest extends $tea.Model {
|
|
2617
|
+
name?: string;
|
|
2618
|
+
pageNo?: number;
|
|
2416
2619
|
pageSize?: number;
|
|
2417
|
-
|
|
2418
|
-
resourceGroupId?: string;
|
|
2419
|
-
resourceType?: string;
|
|
2620
|
+
type?: string;
|
|
2420
2621
|
static names(): { [key: string]: string } {
|
|
2421
2622
|
return {
|
|
2422
|
-
|
|
2623
|
+
name: 'Name',
|
|
2624
|
+
pageNo: 'PageNo',
|
|
2423
2625
|
pageSize: 'PageSize',
|
|
2424
|
-
|
|
2425
|
-
resourceGroupId: 'ResourceGroupId',
|
|
2426
|
-
resourceType: 'ResourceType',
|
|
2626
|
+
type: 'Type',
|
|
2427
2627
|
};
|
|
2428
2628
|
}
|
|
2429
2629
|
|
|
2430
2630
|
static types(): { [key: string]: any } {
|
|
2431
2631
|
return {
|
|
2432
|
-
|
|
2632
|
+
name: 'string',
|
|
2633
|
+
pageNo: 'number',
|
|
2433
2634
|
pageSize: 'number',
|
|
2434
|
-
|
|
2435
|
-
resourceGroupId: 'string',
|
|
2436
|
-
resourceType: 'string',
|
|
2635
|
+
type: 'string',
|
|
2437
2636
|
};
|
|
2438
2637
|
}
|
|
2439
2638
|
|
|
@@ -2442,29 +2641,23 @@ export class ListTagKeysRequest extends $tea.Model {
|
|
|
2442
2641
|
}
|
|
2443
2642
|
}
|
|
2444
2643
|
|
|
2445
|
-
export class
|
|
2446
|
-
|
|
2447
|
-
pageSize?: number;
|
|
2644
|
+
export class ListPolicyResponseBody extends $tea.Model {
|
|
2645
|
+
policyList?: ListPolicyResponseBodyPolicyList[];
|
|
2448
2646
|
requestId?: string;
|
|
2449
|
-
|
|
2450
|
-
totalCount?: number;
|
|
2647
|
+
total?: number;
|
|
2451
2648
|
static names(): { [key: string]: string } {
|
|
2452
2649
|
return {
|
|
2453
|
-
|
|
2454
|
-
pageSize: 'PageSize',
|
|
2650
|
+
policyList: 'PolicyList',
|
|
2455
2651
|
requestId: 'RequestId',
|
|
2456
|
-
|
|
2457
|
-
totalCount: 'TotalCount',
|
|
2652
|
+
total: 'Total',
|
|
2458
2653
|
};
|
|
2459
2654
|
}
|
|
2460
2655
|
|
|
2461
2656
|
static types(): { [key: string]: any } {
|
|
2462
2657
|
return {
|
|
2463
|
-
|
|
2464
|
-
pageSize: 'number',
|
|
2658
|
+
policyList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyList },
|
|
2465
2659
|
requestId: 'string',
|
|
2466
|
-
|
|
2467
|
-
totalCount: 'number',
|
|
2660
|
+
total: 'number',
|
|
2468
2661
|
};
|
|
2469
2662
|
}
|
|
2470
2663
|
|
|
@@ -2473,10 +2666,10 @@ export class ListTagKeysResponseBody extends $tea.Model {
|
|
|
2473
2666
|
}
|
|
2474
2667
|
}
|
|
2475
2668
|
|
|
2476
|
-
export class
|
|
2669
|
+
export class ListPolicyResponse extends $tea.Model {
|
|
2477
2670
|
headers?: { [key: string]: string };
|
|
2478
2671
|
statusCode?: number;
|
|
2479
|
-
body?:
|
|
2672
|
+
body?: ListPolicyResponseBody;
|
|
2480
2673
|
static names(): { [key: string]: string } {
|
|
2481
2674
|
return {
|
|
2482
2675
|
headers: 'headers',
|
|
@@ -2489,7 +2682,7 @@ export class ListTagKeysResponse extends $tea.Model {
|
|
|
2489
2682
|
return {
|
|
2490
2683
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2491
2684
|
statusCode: 'number',
|
|
2492
|
-
body:
|
|
2685
|
+
body: ListPolicyResponseBody,
|
|
2493
2686
|
};
|
|
2494
2687
|
}
|
|
2495
2688
|
|
|
@@ -2498,32 +2691,29 @@ export class ListTagKeysResponse extends $tea.Model {
|
|
|
2498
2691
|
}
|
|
2499
2692
|
}
|
|
2500
2693
|
|
|
2501
|
-
export class
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
tag?: ListTagResourcesRequestTag[];
|
|
2694
|
+
export class ListPolicyAttachmentRequest extends $tea.Model {
|
|
2695
|
+
ipPortProtocolList?: ListPolicyAttachmentRequestIpPortProtocolList[];
|
|
2696
|
+
pageNo?: number;
|
|
2697
|
+
pageSize?: number;
|
|
2698
|
+
policyId?: string;
|
|
2699
|
+
policyType?: string;
|
|
2508
2700
|
static names(): { [key: string]: string } {
|
|
2509
2701
|
return {
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
tag: 'Tag',
|
|
2702
|
+
ipPortProtocolList: 'IpPortProtocolList',
|
|
2703
|
+
pageNo: 'PageNo',
|
|
2704
|
+
pageSize: 'PageSize',
|
|
2705
|
+
policyId: 'PolicyId',
|
|
2706
|
+
policyType: 'PolicyType',
|
|
2516
2707
|
};
|
|
2517
2708
|
}
|
|
2518
2709
|
|
|
2519
2710
|
static types(): { [key: string]: any } {
|
|
2520
2711
|
return {
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
2712
|
+
ipPortProtocolList: { 'type': 'array', 'itemType': ListPolicyAttachmentRequestIpPortProtocolList },
|
|
2713
|
+
pageNo: 'number',
|
|
2714
|
+
pageSize: 'number',
|
|
2715
|
+
policyId: 'string',
|
|
2716
|
+
policyType: 'string',
|
|
2527
2717
|
};
|
|
2528
2718
|
}
|
|
2529
2719
|
|
|
@@ -2532,23 +2722,54 @@ export class ListTagResourcesRequest extends $tea.Model {
|
|
|
2532
2722
|
}
|
|
2533
2723
|
}
|
|
2534
2724
|
|
|
2535
|
-
export class
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2725
|
+
export class ListPolicyAttachmentShrinkRequest extends $tea.Model {
|
|
2726
|
+
ipPortProtocolListShrink?: string;
|
|
2727
|
+
pageNo?: number;
|
|
2728
|
+
pageSize?: number;
|
|
2729
|
+
policyId?: string;
|
|
2730
|
+
policyType?: string;
|
|
2539
2731
|
static names(): { [key: string]: string } {
|
|
2540
2732
|
return {
|
|
2541
|
-
|
|
2733
|
+
ipPortProtocolListShrink: 'IpPortProtocolList',
|
|
2734
|
+
pageNo: 'PageNo',
|
|
2735
|
+
pageSize: 'PageSize',
|
|
2736
|
+
policyId: 'PolicyId',
|
|
2737
|
+
policyType: 'PolicyType',
|
|
2738
|
+
};
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
static types(): { [key: string]: any } {
|
|
2742
|
+
return {
|
|
2743
|
+
ipPortProtocolListShrink: 'string',
|
|
2744
|
+
pageNo: 'number',
|
|
2745
|
+
pageSize: 'number',
|
|
2746
|
+
policyId: 'string',
|
|
2747
|
+
policyType: 'string',
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
constructor(map?: { [key: string]: any }) {
|
|
2752
|
+
super(map);
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
export class ListPolicyAttachmentResponseBody extends $tea.Model {
|
|
2757
|
+
attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
|
|
2758
|
+
requestId?: string;
|
|
2759
|
+
total?: number;
|
|
2760
|
+
static names(): { [key: string]: string } {
|
|
2761
|
+
return {
|
|
2762
|
+
attachmentList: 'AttachmentList',
|
|
2542
2763
|
requestId: 'RequestId',
|
|
2543
|
-
|
|
2764
|
+
total: 'Total',
|
|
2544
2765
|
};
|
|
2545
2766
|
}
|
|
2546
2767
|
|
|
2547
2768
|
static types(): { [key: string]: any } {
|
|
2548
2769
|
return {
|
|
2549
|
-
|
|
2770
|
+
attachmentList: { 'type': 'array', 'itemType': ListPolicyAttachmentResponseBodyAttachmentList },
|
|
2550
2771
|
requestId: 'string',
|
|
2551
|
-
|
|
2772
|
+
total: 'number',
|
|
2552
2773
|
};
|
|
2553
2774
|
}
|
|
2554
2775
|
|
|
@@ -2557,10 +2778,10 @@ export class ListTagResourcesResponseBody extends $tea.Model {
|
|
|
2557
2778
|
}
|
|
2558
2779
|
}
|
|
2559
2780
|
|
|
2560
|
-
export class
|
|
2781
|
+
export class ListPolicyAttachmentResponse extends $tea.Model {
|
|
2561
2782
|
headers?: { [key: string]: string };
|
|
2562
2783
|
statusCode?: number;
|
|
2563
|
-
body?:
|
|
2784
|
+
body?: ListPolicyAttachmentResponseBody;
|
|
2564
2785
|
static names(): { [key: string]: string } {
|
|
2565
2786
|
return {
|
|
2566
2787
|
headers: 'headers',
|
|
@@ -2573,7 +2794,7 @@ export class ListTagResourcesResponse extends $tea.Model {
|
|
|
2573
2794
|
return {
|
|
2574
2795
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2575
2796
|
statusCode: 'number',
|
|
2576
|
-
body:
|
|
2797
|
+
body: ListPolicyAttachmentResponseBody,
|
|
2577
2798
|
};
|
|
2578
2799
|
}
|
|
2579
2800
|
|
|
@@ -2582,26 +2803,29 @@ export class ListTagResourcesResponse extends $tea.Model {
|
|
|
2582
2803
|
}
|
|
2583
2804
|
}
|
|
2584
2805
|
|
|
2585
|
-
export class
|
|
2586
|
-
|
|
2806
|
+
export class ListTagKeysRequest extends $tea.Model {
|
|
2807
|
+
currentPage?: number;
|
|
2808
|
+
pageSize?: number;
|
|
2587
2809
|
regionId?: string;
|
|
2588
|
-
remark?: string;
|
|
2589
2810
|
resourceGroupId?: string;
|
|
2811
|
+
resourceType?: string;
|
|
2590
2812
|
static names(): { [key: string]: string } {
|
|
2591
2813
|
return {
|
|
2592
|
-
|
|
2814
|
+
currentPage: 'CurrentPage',
|
|
2815
|
+
pageSize: 'PageSize',
|
|
2593
2816
|
regionId: 'RegionId',
|
|
2594
|
-
remark: 'Remark',
|
|
2595
2817
|
resourceGroupId: 'ResourceGroupId',
|
|
2818
|
+
resourceType: 'ResourceType',
|
|
2596
2819
|
};
|
|
2597
2820
|
}
|
|
2598
2821
|
|
|
2599
2822
|
static types(): { [key: string]: any } {
|
|
2600
2823
|
return {
|
|
2601
|
-
|
|
2824
|
+
currentPage: 'number',
|
|
2825
|
+
pageSize: 'number',
|
|
2602
2826
|
regionId: 'string',
|
|
2603
|
-
remark: 'string',
|
|
2604
2827
|
resourceGroupId: 'string',
|
|
2828
|
+
resourceType: 'string',
|
|
2605
2829
|
};
|
|
2606
2830
|
}
|
|
2607
2831
|
|
|
@@ -2610,17 +2834,29 @@ export class ModifyRemarkRequest extends $tea.Model {
|
|
|
2610
2834
|
}
|
|
2611
2835
|
}
|
|
2612
2836
|
|
|
2613
|
-
export class
|
|
2837
|
+
export class ListTagKeysResponseBody extends $tea.Model {
|
|
2838
|
+
currentPage?: number;
|
|
2839
|
+
pageSize?: number;
|
|
2614
2840
|
requestId?: string;
|
|
2841
|
+
tagKeys?: ListTagKeysResponseBodyTagKeys[];
|
|
2842
|
+
totalCount?: number;
|
|
2615
2843
|
static names(): { [key: string]: string } {
|
|
2616
2844
|
return {
|
|
2845
|
+
currentPage: 'CurrentPage',
|
|
2846
|
+
pageSize: 'PageSize',
|
|
2617
2847
|
requestId: 'RequestId',
|
|
2848
|
+
tagKeys: 'TagKeys',
|
|
2849
|
+
totalCount: 'TotalCount',
|
|
2618
2850
|
};
|
|
2619
2851
|
}
|
|
2620
2852
|
|
|
2621
2853
|
static types(): { [key: string]: any } {
|
|
2622
2854
|
return {
|
|
2855
|
+
currentPage: 'number',
|
|
2856
|
+
pageSize: 'number',
|
|
2623
2857
|
requestId: 'string',
|
|
2858
|
+
tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
|
|
2859
|
+
totalCount: 'number',
|
|
2624
2860
|
};
|
|
2625
2861
|
}
|
|
2626
2862
|
|
|
@@ -2629,10 +2865,10 @@ export class ModifyRemarkResponseBody extends $tea.Model {
|
|
|
2629
2865
|
}
|
|
2630
2866
|
}
|
|
2631
2867
|
|
|
2632
|
-
export class
|
|
2868
|
+
export class ListTagKeysResponse extends $tea.Model {
|
|
2633
2869
|
headers?: { [key: string]: string };
|
|
2634
2870
|
statusCode?: number;
|
|
2635
|
-
body?:
|
|
2871
|
+
body?: ListTagKeysResponseBody;
|
|
2636
2872
|
static names(): { [key: string]: string } {
|
|
2637
2873
|
return {
|
|
2638
2874
|
headers: 'headers',
|
|
@@ -2645,7 +2881,7 @@ export class ModifyRemarkResponse extends $tea.Model {
|
|
|
2645
2881
|
return {
|
|
2646
2882
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2647
2883
|
statusCode: 'number',
|
|
2648
|
-
body:
|
|
2884
|
+
body: ListTagKeysResponseBody,
|
|
2649
2885
|
};
|
|
2650
2886
|
}
|
|
2651
2887
|
|
|
@@ -2654,20 +2890,32 @@ export class ModifyRemarkResponse extends $tea.Model {
|
|
|
2654
2890
|
}
|
|
2655
2891
|
}
|
|
2656
2892
|
|
|
2657
|
-
export class
|
|
2658
|
-
|
|
2893
|
+
export class ListTagResourcesRequest extends $tea.Model {
|
|
2894
|
+
nextToken?: string;
|
|
2659
2895
|
regionId?: string;
|
|
2896
|
+
resourceGroupId?: string;
|
|
2897
|
+
resourceId?: string[];
|
|
2898
|
+
resourceType?: string;
|
|
2899
|
+
tag?: ListTagResourcesRequestTag[];
|
|
2660
2900
|
static names(): { [key: string]: string } {
|
|
2661
2901
|
return {
|
|
2662
|
-
|
|
2902
|
+
nextToken: 'NextToken',
|
|
2663
2903
|
regionId: 'RegionId',
|
|
2904
|
+
resourceGroupId: 'ResourceGroupId',
|
|
2905
|
+
resourceId: 'ResourceId',
|
|
2906
|
+
resourceType: 'ResourceType',
|
|
2907
|
+
tag: 'Tag',
|
|
2664
2908
|
};
|
|
2665
2909
|
}
|
|
2666
2910
|
|
|
2667
2911
|
static types(): { [key: string]: any } {
|
|
2668
2912
|
return {
|
|
2669
|
-
|
|
2913
|
+
nextToken: 'string',
|
|
2670
2914
|
regionId: 'string',
|
|
2915
|
+
resourceGroupId: 'string',
|
|
2916
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2917
|
+
resourceType: 'string',
|
|
2918
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
2671
2919
|
};
|
|
2672
2920
|
}
|
|
2673
2921
|
|
|
@@ -2676,29 +2924,23 @@ export class QuerySchedruleOnDemandRequest extends $tea.Model {
|
|
|
2676
2924
|
}
|
|
2677
2925
|
}
|
|
2678
2926
|
|
|
2679
|
-
export class
|
|
2680
|
-
|
|
2927
|
+
export class ListTagResourcesResponseBody extends $tea.Model {
|
|
2928
|
+
nextToken?: string;
|
|
2681
2929
|
requestId?: string;
|
|
2682
|
-
|
|
2683
|
-
ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
|
|
2684
|
-
userId?: string;
|
|
2930
|
+
tagResources?: ListTagResourcesResponseBodyTagResources;
|
|
2685
2931
|
static names(): { [key: string]: string } {
|
|
2686
2932
|
return {
|
|
2687
|
-
|
|
2933
|
+
nextToken: 'NextToken',
|
|
2688
2934
|
requestId: 'RequestId',
|
|
2689
|
-
|
|
2690
|
-
ruleStatus: 'RuleStatus',
|
|
2691
|
-
userId: 'UserId',
|
|
2935
|
+
tagResources: 'TagResources',
|
|
2692
2936
|
};
|
|
2693
2937
|
}
|
|
2694
2938
|
|
|
2695
2939
|
static types(): { [key: string]: any } {
|
|
2696
2940
|
return {
|
|
2697
|
-
|
|
2941
|
+
nextToken: 'string',
|
|
2698
2942
|
requestId: 'string',
|
|
2699
|
-
|
|
2700
|
-
ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
|
|
2701
|
-
userId: 'string',
|
|
2943
|
+
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
2702
2944
|
};
|
|
2703
2945
|
}
|
|
2704
2946
|
|
|
@@ -2707,10 +2949,10 @@ export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
|
|
|
2707
2949
|
}
|
|
2708
2950
|
}
|
|
2709
2951
|
|
|
2710
|
-
export class
|
|
2952
|
+
export class ListTagResourcesResponse extends $tea.Model {
|
|
2711
2953
|
headers?: { [key: string]: string };
|
|
2712
2954
|
statusCode?: number;
|
|
2713
|
-
body?:
|
|
2955
|
+
body?: ListTagResourcesResponseBody;
|
|
2714
2956
|
static names(): { [key: string]: string } {
|
|
2715
2957
|
return {
|
|
2716
2958
|
headers: 'headers',
|
|
@@ -2723,7 +2965,7 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
|
2723
2965
|
return {
|
|
2724
2966
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2725
2967
|
statusCode: 'number',
|
|
2726
|
-
body:
|
|
2968
|
+
body: ListTagResourcesResponseBody,
|
|
2727
2969
|
};
|
|
2728
2970
|
}
|
|
2729
2971
|
|
|
@@ -2732,17 +2974,26 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
|
2732
2974
|
}
|
|
2733
2975
|
}
|
|
2734
2976
|
|
|
2735
|
-
export class
|
|
2736
|
-
|
|
2977
|
+
export class ModifyPolicyRequest extends $tea.Model {
|
|
2978
|
+
actionType?: number;
|
|
2979
|
+
content?: ModifyPolicyRequestContent;
|
|
2980
|
+
id?: string;
|
|
2981
|
+
name?: string;
|
|
2737
2982
|
static names(): { [key: string]: string } {
|
|
2738
2983
|
return {
|
|
2739
|
-
|
|
2984
|
+
actionType: 'ActionType',
|
|
2985
|
+
content: 'Content',
|
|
2986
|
+
id: 'Id',
|
|
2987
|
+
name: 'Name',
|
|
2740
2988
|
};
|
|
2741
2989
|
}
|
|
2742
2990
|
|
|
2743
2991
|
static types(): { [key: string]: any } {
|
|
2744
2992
|
return {
|
|
2745
|
-
|
|
2993
|
+
actionType: 'number',
|
|
2994
|
+
content: ModifyPolicyRequestContent,
|
|
2995
|
+
id: 'string',
|
|
2996
|
+
name: 'string',
|
|
2746
2997
|
};
|
|
2747
2998
|
}
|
|
2748
2999
|
|
|
@@ -2751,7 +3002,35 @@ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
|
|
|
2751
3002
|
}
|
|
2752
3003
|
}
|
|
2753
3004
|
|
|
2754
|
-
export class
|
|
3005
|
+
export class ModifyPolicyShrinkRequest extends $tea.Model {
|
|
3006
|
+
actionType?: number;
|
|
3007
|
+
contentShrink?: string;
|
|
3008
|
+
id?: string;
|
|
3009
|
+
name?: string;
|
|
3010
|
+
static names(): { [key: string]: string } {
|
|
3011
|
+
return {
|
|
3012
|
+
actionType: 'ActionType',
|
|
3013
|
+
contentShrink: 'Content',
|
|
3014
|
+
id: 'Id',
|
|
3015
|
+
name: 'Name',
|
|
3016
|
+
};
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3019
|
+
static types(): { [key: string]: any } {
|
|
3020
|
+
return {
|
|
3021
|
+
actionType: 'number',
|
|
3022
|
+
contentShrink: 'string',
|
|
3023
|
+
id: 'string',
|
|
3024
|
+
name: 'string',
|
|
3025
|
+
};
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
constructor(map?: { [key: string]: any }) {
|
|
3029
|
+
super(map);
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
export class ModifyPolicyResponseBody extends $tea.Model {
|
|
2755
3034
|
requestId?: string;
|
|
2756
3035
|
static names(): { [key: string]: string } {
|
|
2757
3036
|
return {
|
|
@@ -2770,10 +3049,10 @@ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
|
|
|
2770
3049
|
}
|
|
2771
3050
|
}
|
|
2772
3051
|
|
|
2773
|
-
export class
|
|
3052
|
+
export class ModifyPolicyResponse extends $tea.Model {
|
|
2774
3053
|
headers?: { [key: string]: string };
|
|
2775
3054
|
statusCode?: number;
|
|
2776
|
-
body?:
|
|
3055
|
+
body?: ModifyPolicyResponseBody;
|
|
2777
3056
|
static names(): { [key: string]: string } {
|
|
2778
3057
|
return {
|
|
2779
3058
|
headers: 'headers',
|
|
@@ -2786,7 +3065,7 @@ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
|
|
|
2786
3065
|
return {
|
|
2787
3066
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2788
3067
|
statusCode: 'number',
|
|
2789
|
-
body:
|
|
3068
|
+
body: ModifyPolicyResponseBody,
|
|
2790
3069
|
};
|
|
2791
3070
|
}
|
|
2792
3071
|
|
|
@@ -2795,23 +3074,23 @@ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
|
|
|
2795
3074
|
}
|
|
2796
3075
|
}
|
|
2797
3076
|
|
|
2798
|
-
export class
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
3077
|
+
export class ModifyPolicyContentRequest extends $tea.Model {
|
|
3078
|
+
content?: ModifyPolicyContentRequestContent;
|
|
3079
|
+
id?: string;
|
|
3080
|
+
name?: string;
|
|
2802
3081
|
static names(): { [key: string]: string } {
|
|
2803
3082
|
return {
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
3083
|
+
content: 'Content',
|
|
3084
|
+
id: 'Id',
|
|
3085
|
+
name: 'Name',
|
|
2807
3086
|
};
|
|
2808
3087
|
}
|
|
2809
3088
|
|
|
2810
3089
|
static types(): { [key: string]: any } {
|
|
2811
3090
|
return {
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
3091
|
+
content: ModifyPolicyContentRequestContent,
|
|
3092
|
+
id: 'string',
|
|
3093
|
+
name: 'string',
|
|
2815
3094
|
};
|
|
2816
3095
|
}
|
|
2817
3096
|
|
|
@@ -2820,7 +3099,32 @@ export class SetInstanceModeOnDemandRequest extends $tea.Model {
|
|
|
2820
3099
|
}
|
|
2821
3100
|
}
|
|
2822
3101
|
|
|
2823
|
-
export class
|
|
3102
|
+
export class ModifyPolicyContentShrinkRequest extends $tea.Model {
|
|
3103
|
+
contentShrink?: string;
|
|
3104
|
+
id?: string;
|
|
3105
|
+
name?: string;
|
|
3106
|
+
static names(): { [key: string]: string } {
|
|
3107
|
+
return {
|
|
3108
|
+
contentShrink: 'Content',
|
|
3109
|
+
id: 'Id',
|
|
3110
|
+
name: 'Name',
|
|
3111
|
+
};
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
static types(): { [key: string]: any } {
|
|
3115
|
+
return {
|
|
3116
|
+
contentShrink: 'string',
|
|
3117
|
+
id: 'string',
|
|
3118
|
+
name: 'string',
|
|
3119
|
+
};
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
constructor(map?: { [key: string]: any }) {
|
|
3123
|
+
super(map);
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
export class ModifyPolicyContentResponseBody extends $tea.Model {
|
|
2824
3128
|
requestId?: string;
|
|
2825
3129
|
static names(): { [key: string]: string } {
|
|
2826
3130
|
return {
|
|
@@ -2839,10 +3143,10 @@ export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
|
|
|
2839
3143
|
}
|
|
2840
3144
|
}
|
|
2841
3145
|
|
|
2842
|
-
export class
|
|
3146
|
+
export class ModifyPolicyContentResponse extends $tea.Model {
|
|
2843
3147
|
headers?: { [key: string]: string };
|
|
2844
3148
|
statusCode?: number;
|
|
2845
|
-
body?:
|
|
3149
|
+
body?: ModifyPolicyContentResponseBody;
|
|
2846
3150
|
static names(): { [key: string]: string } {
|
|
2847
3151
|
return {
|
|
2848
3152
|
headers: 'headers',
|
|
@@ -2855,7 +3159,7 @@ export class SetInstanceModeOnDemandResponse extends $tea.Model {
|
|
|
2855
3159
|
return {
|
|
2856
3160
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2857
3161
|
statusCode: 'number',
|
|
2858
|
-
body:
|
|
3162
|
+
body: ModifyPolicyContentResponseBody,
|
|
2859
3163
|
};
|
|
2860
3164
|
}
|
|
2861
3165
|
|
|
@@ -2864,29 +3168,26 @@ export class SetInstanceModeOnDemandResponse extends $tea.Model {
|
|
|
2864
3168
|
}
|
|
2865
3169
|
}
|
|
2866
3170
|
|
|
2867
|
-
export class
|
|
3171
|
+
export class ModifyRemarkRequest extends $tea.Model {
|
|
3172
|
+
instanceId?: string;
|
|
2868
3173
|
regionId?: string;
|
|
3174
|
+
remark?: string;
|
|
2869
3175
|
resourceGroupId?: string;
|
|
2870
|
-
resourceId?: string[];
|
|
2871
|
-
resourceType?: string;
|
|
2872
|
-
tag?: TagResourcesRequestTag[];
|
|
2873
3176
|
static names(): { [key: string]: string } {
|
|
2874
3177
|
return {
|
|
3178
|
+
instanceId: 'InstanceId',
|
|
2875
3179
|
regionId: 'RegionId',
|
|
3180
|
+
remark: 'Remark',
|
|
2876
3181
|
resourceGroupId: 'ResourceGroupId',
|
|
2877
|
-
resourceId: 'ResourceId',
|
|
2878
|
-
resourceType: 'ResourceType',
|
|
2879
|
-
tag: 'Tag',
|
|
2880
3182
|
};
|
|
2881
3183
|
}
|
|
2882
3184
|
|
|
2883
3185
|
static types(): { [key: string]: any } {
|
|
2884
3186
|
return {
|
|
3187
|
+
instanceId: 'string',
|
|
2885
3188
|
regionId: 'string',
|
|
3189
|
+
remark: 'string',
|
|
2886
3190
|
resourceGroupId: 'string',
|
|
2887
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2888
|
-
resourceType: 'string',
|
|
2889
|
-
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
2890
3191
|
};
|
|
2891
3192
|
}
|
|
2892
3193
|
|
|
@@ -2895,7 +3196,7 @@ export class TagResourcesRequest extends $tea.Model {
|
|
|
2895
3196
|
}
|
|
2896
3197
|
}
|
|
2897
3198
|
|
|
2898
|
-
export class
|
|
3199
|
+
export class ModifyRemarkResponseBody extends $tea.Model {
|
|
2899
3200
|
requestId?: string;
|
|
2900
3201
|
static names(): { [key: string]: string } {
|
|
2901
3202
|
return {
|
|
@@ -2914,10 +3215,10 @@ export class TagResourcesResponseBody extends $tea.Model {
|
|
|
2914
3215
|
}
|
|
2915
3216
|
}
|
|
2916
3217
|
|
|
2917
|
-
export class
|
|
3218
|
+
export class ModifyRemarkResponse extends $tea.Model {
|
|
2918
3219
|
headers?: { [key: string]: string };
|
|
2919
3220
|
statusCode?: number;
|
|
2920
|
-
body?:
|
|
3221
|
+
body?: ModifyRemarkResponseBody;
|
|
2921
3222
|
static names(): { [key: string]: string } {
|
|
2922
3223
|
return {
|
|
2923
3224
|
headers: 'headers',
|
|
@@ -2930,7 +3231,7 @@ export class TagResourcesResponse extends $tea.Model {
|
|
|
2930
3231
|
return {
|
|
2931
3232
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2932
3233
|
statusCode: 'number',
|
|
2933
|
-
body:
|
|
3234
|
+
body: ModifyRemarkResponseBody,
|
|
2934
3235
|
};
|
|
2935
3236
|
}
|
|
2936
3237
|
|
|
@@ -2939,32 +3240,20 @@ export class TagResourcesResponse extends $tea.Model {
|
|
|
2939
3240
|
}
|
|
2940
3241
|
}
|
|
2941
3242
|
|
|
2942
|
-
export class
|
|
2943
|
-
|
|
3243
|
+
export class QuerySchedruleOnDemandRequest extends $tea.Model {
|
|
3244
|
+
instanceId?: string;
|
|
2944
3245
|
regionId?: string;
|
|
2945
|
-
resourceGroupId?: string;
|
|
2946
|
-
resourceId?: string[];
|
|
2947
|
-
resourceType?: string;
|
|
2948
|
-
tagKey?: string[];
|
|
2949
3246
|
static names(): { [key: string]: string } {
|
|
2950
3247
|
return {
|
|
2951
|
-
|
|
3248
|
+
instanceId: 'InstanceId',
|
|
2952
3249
|
regionId: 'RegionId',
|
|
2953
|
-
resourceGroupId: 'ResourceGroupId',
|
|
2954
|
-
resourceId: 'ResourceId',
|
|
2955
|
-
resourceType: 'ResourceType',
|
|
2956
|
-
tagKey: 'TagKey',
|
|
2957
3250
|
};
|
|
2958
3251
|
}
|
|
2959
3252
|
|
|
2960
3253
|
static types(): { [key: string]: any } {
|
|
2961
3254
|
return {
|
|
2962
|
-
|
|
3255
|
+
instanceId: 'string',
|
|
2963
3256
|
regionId: 'string',
|
|
2964
|
-
resourceGroupId: 'string',
|
|
2965
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2966
|
-
resourceType: 'string',
|
|
2967
|
-
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
2968
3257
|
};
|
|
2969
3258
|
}
|
|
2970
3259
|
|
|
@@ -2973,17 +3262,29 @@ export class UntagResourcesRequest extends $tea.Model {
|
|
|
2973
3262
|
}
|
|
2974
3263
|
}
|
|
2975
3264
|
|
|
2976
|
-
export class
|
|
3265
|
+
export class QuerySchedruleOnDemandResponseBody extends $tea.Model {
|
|
3266
|
+
instanceId?: string;
|
|
2977
3267
|
requestId?: string;
|
|
3268
|
+
ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
|
|
3269
|
+
ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
|
|
3270
|
+
userId?: string;
|
|
2978
3271
|
static names(): { [key: string]: string } {
|
|
2979
3272
|
return {
|
|
3273
|
+
instanceId: 'InstanceId',
|
|
2980
3274
|
requestId: 'RequestId',
|
|
3275
|
+
ruleConfig: 'RuleConfig',
|
|
3276
|
+
ruleStatus: 'RuleStatus',
|
|
3277
|
+
userId: 'UserId',
|
|
2981
3278
|
};
|
|
2982
3279
|
}
|
|
2983
3280
|
|
|
2984
3281
|
static types(): { [key: string]: any } {
|
|
2985
3282
|
return {
|
|
3283
|
+
instanceId: 'string',
|
|
2986
3284
|
requestId: 'string',
|
|
3285
|
+
ruleConfig: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleConfig },
|
|
3286
|
+
ruleStatus: { 'type': 'array', 'itemType': QuerySchedruleOnDemandResponseBodyRuleStatus },
|
|
3287
|
+
userId: 'string',
|
|
2987
3288
|
};
|
|
2988
3289
|
}
|
|
2989
3290
|
|
|
@@ -2992,10 +3293,10 @@ export class UntagResourcesResponseBody extends $tea.Model {
|
|
|
2992
3293
|
}
|
|
2993
3294
|
}
|
|
2994
3295
|
|
|
2995
|
-
export class
|
|
3296
|
+
export class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
2996
3297
|
headers?: { [key: string]: string };
|
|
2997
3298
|
statusCode?: number;
|
|
2998
|
-
body?:
|
|
3299
|
+
body?: QuerySchedruleOnDemandResponseBody;
|
|
2999
3300
|
static names(): { [key: string]: string } {
|
|
3000
3301
|
return {
|
|
3001
3302
|
headers: 'headers',
|
|
@@ -3008,7 +3309,7 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
3008
3309
|
return {
|
|
3009
3310
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3010
3311
|
statusCode: 'number',
|
|
3011
|
-
body:
|
|
3312
|
+
body: QuerySchedruleOnDemandResponseBody,
|
|
3012
3313
|
};
|
|
3013
3314
|
}
|
|
3014
3315
|
|
|
@@ -3017,17 +3318,17 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
3017
3318
|
}
|
|
3018
3319
|
}
|
|
3019
3320
|
|
|
3020
|
-
export class
|
|
3021
|
-
|
|
3321
|
+
export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
|
|
3322
|
+
instanceId?: string;
|
|
3022
3323
|
static names(): { [key: string]: string } {
|
|
3023
3324
|
return {
|
|
3024
|
-
|
|
3325
|
+
instanceId: 'InstanceId',
|
|
3025
3326
|
};
|
|
3026
3327
|
}
|
|
3027
3328
|
|
|
3028
3329
|
static types(): { [key: string]: any } {
|
|
3029
3330
|
return {
|
|
3030
|
-
|
|
3331
|
+
instanceId: 'string',
|
|
3031
3332
|
};
|
|
3032
3333
|
}
|
|
3033
3334
|
|
|
@@ -3036,26 +3337,831 @@ export class AddRdMemberListRequestMemberList extends $tea.Model {
|
|
|
3036
3337
|
}
|
|
3037
3338
|
}
|
|
3038
3339
|
|
|
3039
|
-
export class
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3340
|
+
export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
|
|
3341
|
+
requestId?: string;
|
|
3342
|
+
static names(): { [key: string]: string } {
|
|
3343
|
+
return {
|
|
3344
|
+
requestId: 'RequestId',
|
|
3345
|
+
};
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
static types(): { [key: string]: any } {
|
|
3349
|
+
return {
|
|
3350
|
+
requestId: 'string',
|
|
3351
|
+
};
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
constructor(map?: { [key: string]: any }) {
|
|
3355
|
+
super(map);
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
|
|
3360
|
+
headers?: { [key: string]: string };
|
|
3361
|
+
statusCode?: number;
|
|
3362
|
+
body?: ReleaseDdosOriginInstanceResponseBody;
|
|
3363
|
+
static names(): { [key: string]: string } {
|
|
3364
|
+
return {
|
|
3365
|
+
headers: 'headers',
|
|
3366
|
+
statusCode: 'statusCode',
|
|
3367
|
+
body: 'body',
|
|
3368
|
+
};
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
static types(): { [key: string]: any } {
|
|
3372
|
+
return {
|
|
3373
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3374
|
+
statusCode: 'number',
|
|
3375
|
+
body: ReleaseDdosOriginInstanceResponseBody,
|
|
3376
|
+
};
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
constructor(map?: { [key: string]: any }) {
|
|
3380
|
+
super(map);
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
export class SetInstanceModeOnDemandRequest extends $tea.Model {
|
|
3385
|
+
instanceIdList?: string[];
|
|
3386
|
+
mode?: string;
|
|
3387
|
+
regionId?: string;
|
|
3388
|
+
static names(): { [key: string]: string } {
|
|
3389
|
+
return {
|
|
3390
|
+
instanceIdList: 'InstanceIdList',
|
|
3391
|
+
mode: 'Mode',
|
|
3392
|
+
regionId: 'RegionId',
|
|
3393
|
+
};
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
static types(): { [key: string]: any } {
|
|
3397
|
+
return {
|
|
3398
|
+
instanceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
3399
|
+
mode: 'string',
|
|
3400
|
+
regionId: 'string',
|
|
3401
|
+
};
|
|
3402
|
+
}
|
|
3403
|
+
|
|
3404
|
+
constructor(map?: { [key: string]: any }) {
|
|
3405
|
+
super(map);
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
export class SetInstanceModeOnDemandResponseBody extends $tea.Model {
|
|
3410
|
+
requestId?: string;
|
|
3411
|
+
static names(): { [key: string]: string } {
|
|
3412
|
+
return {
|
|
3413
|
+
requestId: 'RequestId',
|
|
3414
|
+
};
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
static types(): { [key: string]: any } {
|
|
3418
|
+
return {
|
|
3419
|
+
requestId: 'string',
|
|
3420
|
+
};
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3423
|
+
constructor(map?: { [key: string]: any }) {
|
|
3424
|
+
super(map);
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
export class SetInstanceModeOnDemandResponse extends $tea.Model {
|
|
3429
|
+
headers?: { [key: string]: string };
|
|
3430
|
+
statusCode?: number;
|
|
3431
|
+
body?: SetInstanceModeOnDemandResponseBody;
|
|
3432
|
+
static names(): { [key: string]: string } {
|
|
3433
|
+
return {
|
|
3434
|
+
headers: 'headers',
|
|
3435
|
+
statusCode: 'statusCode',
|
|
3436
|
+
body: 'body',
|
|
3437
|
+
};
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
static types(): { [key: string]: any } {
|
|
3441
|
+
return {
|
|
3442
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3443
|
+
statusCode: 'number',
|
|
3444
|
+
body: SetInstanceModeOnDemandResponseBody,
|
|
3445
|
+
};
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
constructor(map?: { [key: string]: any }) {
|
|
3449
|
+
super(map);
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
export class TagResourcesRequest extends $tea.Model {
|
|
3454
|
+
regionId?: string;
|
|
3455
|
+
resourceGroupId?: string;
|
|
3456
|
+
resourceId?: string[];
|
|
3457
|
+
resourceType?: string;
|
|
3458
|
+
tag?: TagResourcesRequestTag[];
|
|
3459
|
+
static names(): { [key: string]: string } {
|
|
3460
|
+
return {
|
|
3461
|
+
regionId: 'RegionId',
|
|
3462
|
+
resourceGroupId: 'ResourceGroupId',
|
|
3463
|
+
resourceId: 'ResourceId',
|
|
3464
|
+
resourceType: 'ResourceType',
|
|
3465
|
+
tag: 'Tag',
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
static types(): { [key: string]: any } {
|
|
3470
|
+
return {
|
|
3471
|
+
regionId: 'string',
|
|
3472
|
+
resourceGroupId: 'string',
|
|
3473
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
3474
|
+
resourceType: 'string',
|
|
3475
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
3476
|
+
};
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
constructor(map?: { [key: string]: any }) {
|
|
3480
|
+
super(map);
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
export class TagResourcesResponseBody extends $tea.Model {
|
|
3485
|
+
requestId?: string;
|
|
3486
|
+
static names(): { [key: string]: string } {
|
|
3487
|
+
return {
|
|
3488
|
+
requestId: 'RequestId',
|
|
3489
|
+
};
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
static types(): { [key: string]: any } {
|
|
3493
|
+
return {
|
|
3494
|
+
requestId: 'string',
|
|
3495
|
+
};
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
constructor(map?: { [key: string]: any }) {
|
|
3499
|
+
super(map);
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3503
|
+
export class TagResourcesResponse extends $tea.Model {
|
|
3504
|
+
headers?: { [key: string]: string };
|
|
3505
|
+
statusCode?: number;
|
|
3506
|
+
body?: TagResourcesResponseBody;
|
|
3507
|
+
static names(): { [key: string]: string } {
|
|
3508
|
+
return {
|
|
3509
|
+
headers: 'headers',
|
|
3510
|
+
statusCode: 'statusCode',
|
|
3511
|
+
body: 'body',
|
|
3512
|
+
};
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
static types(): { [key: string]: any } {
|
|
3516
|
+
return {
|
|
3517
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3518
|
+
statusCode: 'number',
|
|
3519
|
+
body: TagResourcesResponseBody,
|
|
3520
|
+
};
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
constructor(map?: { [key: string]: any }) {
|
|
3524
|
+
super(map);
|
|
3525
|
+
}
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
export class UntagResourcesRequest extends $tea.Model {
|
|
3529
|
+
all?: boolean;
|
|
3530
|
+
regionId?: string;
|
|
3531
|
+
resourceGroupId?: string;
|
|
3532
|
+
resourceId?: string[];
|
|
3533
|
+
resourceType?: string;
|
|
3534
|
+
tagKey?: string[];
|
|
3535
|
+
static names(): { [key: string]: string } {
|
|
3536
|
+
return {
|
|
3537
|
+
all: 'All',
|
|
3538
|
+
regionId: 'RegionId',
|
|
3539
|
+
resourceGroupId: 'ResourceGroupId',
|
|
3540
|
+
resourceId: 'ResourceId',
|
|
3541
|
+
resourceType: 'ResourceType',
|
|
3542
|
+
tagKey: 'TagKey',
|
|
3543
|
+
};
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
static types(): { [key: string]: any } {
|
|
3547
|
+
return {
|
|
3548
|
+
all: 'boolean',
|
|
3549
|
+
regionId: 'string',
|
|
3550
|
+
resourceGroupId: 'string',
|
|
3551
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
3552
|
+
resourceType: 'string',
|
|
3553
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
3554
|
+
};
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
constructor(map?: { [key: string]: any }) {
|
|
3558
|
+
super(map);
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
export class UntagResourcesResponseBody extends $tea.Model {
|
|
3563
|
+
requestId?: string;
|
|
3564
|
+
static names(): { [key: string]: string } {
|
|
3565
|
+
return {
|
|
3566
|
+
requestId: 'RequestId',
|
|
3567
|
+
};
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
static types(): { [key: string]: any } {
|
|
3571
|
+
return {
|
|
3572
|
+
requestId: 'string',
|
|
3573
|
+
};
|
|
3574
|
+
}
|
|
3575
|
+
|
|
3576
|
+
constructor(map?: { [key: string]: any }) {
|
|
3577
|
+
super(map);
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
export class UntagResourcesResponse extends $tea.Model {
|
|
3582
|
+
headers?: { [key: string]: string };
|
|
3583
|
+
statusCode?: number;
|
|
3584
|
+
body?: UntagResourcesResponseBody;
|
|
3585
|
+
static names(): { [key: string]: string } {
|
|
3586
|
+
return {
|
|
3587
|
+
headers: 'headers',
|
|
3588
|
+
statusCode: 'statusCode',
|
|
3589
|
+
body: 'body',
|
|
3590
|
+
};
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
static types(): { [key: string]: any } {
|
|
3594
|
+
return {
|
|
3595
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3596
|
+
statusCode: 'number',
|
|
3597
|
+
body: UntagResourcesResponseBody,
|
|
3598
|
+
};
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
constructor(map?: { [key: string]: any }) {
|
|
3602
|
+
super(map);
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
export class AddRdMemberListRequestMemberList extends $tea.Model {
|
|
3607
|
+
uid?: string;
|
|
3608
|
+
static names(): { [key: string]: string } {
|
|
3609
|
+
return {
|
|
3610
|
+
uid: 'Uid',
|
|
3611
|
+
};
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
static types(): { [key: string]: any } {
|
|
3615
|
+
return {
|
|
3616
|
+
uid: 'string',
|
|
3617
|
+
};
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
constructor(map?: { [key: string]: any }) {
|
|
3621
|
+
super(map);
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3624
|
+
|
|
3625
|
+
export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
3626
|
+
memberUid?: string;
|
|
3627
|
+
name?: string;
|
|
3628
|
+
region?: string;
|
|
3629
|
+
type?: string;
|
|
3630
|
+
static names(): { [key: string]: string } {
|
|
3631
|
+
return {
|
|
3632
|
+
memberUid: 'MemberUid',
|
|
3633
|
+
name: 'Name',
|
|
3634
|
+
region: 'Region',
|
|
3635
|
+
type: 'Type',
|
|
3636
|
+
};
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
static types(): { [key: string]: any } {
|
|
3640
|
+
return {
|
|
3641
|
+
memberUid: 'string',
|
|
3642
|
+
name: 'string',
|
|
3643
|
+
region: 'string',
|
|
3644
|
+
type: 'string',
|
|
3645
|
+
};
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
constructor(map?: { [key: string]: any }) {
|
|
3649
|
+
super(map);
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
export class DeleteRdMemberListRequestMemberList extends $tea.Model {
|
|
3654
|
+
uid?: string;
|
|
3655
|
+
static names(): { [key: string]: string } {
|
|
3656
|
+
return {
|
|
3657
|
+
uid: 'Uid',
|
|
3658
|
+
};
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
static types(): { [key: string]: any } {
|
|
3662
|
+
return {
|
|
3663
|
+
uid: 'string',
|
|
3664
|
+
};
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
constructor(map?: { [key: string]: any }) {
|
|
3668
|
+
super(map);
|
|
3669
|
+
}
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
|
|
3673
|
+
name?: string;
|
|
3674
|
+
region?: string;
|
|
3675
|
+
type?: string;
|
|
3676
|
+
static names(): { [key: string]: string } {
|
|
3677
|
+
return {
|
|
3678
|
+
name: 'Name',
|
|
3679
|
+
region: 'Region',
|
|
3680
|
+
type: 'Type',
|
|
3681
|
+
};
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
static types(): { [key: string]: any } {
|
|
3685
|
+
return {
|
|
3686
|
+
name: 'string',
|
|
3687
|
+
region: 'string',
|
|
3688
|
+
type: 'string',
|
|
3689
|
+
};
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
constructor(map?: { [key: string]: any }) {
|
|
3693
|
+
super(map);
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
|
|
3698
|
+
instanceId?: string;
|
|
3699
|
+
memberUid?: string;
|
|
3700
|
+
name?: string;
|
|
3701
|
+
region?: string;
|
|
3043
3702
|
type?: string;
|
|
3044
3703
|
static names(): { [key: string]: string } {
|
|
3045
3704
|
return {
|
|
3705
|
+
instanceId: 'InstanceId',
|
|
3706
|
+
memberUid: 'MemberUid',
|
|
3707
|
+
name: 'Name',
|
|
3708
|
+
region: 'Region',
|
|
3709
|
+
type: 'Type',
|
|
3710
|
+
};
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
static types(): { [key: string]: any } {
|
|
3714
|
+
return {
|
|
3715
|
+
instanceId: 'string',
|
|
3716
|
+
memberUid: 'string',
|
|
3717
|
+
name: 'string',
|
|
3718
|
+
region: 'string',
|
|
3719
|
+
type: 'string',
|
|
3720
|
+
};
|
|
3721
|
+
}
|
|
3722
|
+
|
|
3723
|
+
constructor(map?: { [key: string]: any }) {
|
|
3724
|
+
super(map);
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
|
|
3729
|
+
endTime?: number;
|
|
3730
|
+
ip?: string;
|
|
3731
|
+
mbps?: number;
|
|
3732
|
+
pps?: number;
|
|
3733
|
+
startTime?: number;
|
|
3734
|
+
status?: string;
|
|
3735
|
+
static names(): { [key: string]: string } {
|
|
3736
|
+
return {
|
|
3737
|
+
endTime: 'EndTime',
|
|
3738
|
+
ip: 'Ip',
|
|
3739
|
+
mbps: 'Mbps',
|
|
3740
|
+
pps: 'Pps',
|
|
3741
|
+
startTime: 'StartTime',
|
|
3742
|
+
status: 'Status',
|
|
3743
|
+
};
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
static types(): { [key: string]: any } {
|
|
3747
|
+
return {
|
|
3748
|
+
endTime: 'number',
|
|
3749
|
+
ip: 'string',
|
|
3750
|
+
mbps: 'number',
|
|
3751
|
+
pps: 'number',
|
|
3752
|
+
startTime: 'number',
|
|
3753
|
+
status: 'string',
|
|
3754
|
+
};
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3757
|
+
constructor(map?: { [key: string]: any }) {
|
|
3758
|
+
super(map);
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
|
|
3763
|
+
memberFlow?: string;
|
|
3764
|
+
regionFlow?: string;
|
|
3765
|
+
time?: number;
|
|
3766
|
+
totalFlow?: number;
|
|
3767
|
+
static names(): { [key: string]: string } {
|
|
3768
|
+
return {
|
|
3769
|
+
memberFlow: 'MemberFlow',
|
|
3770
|
+
regionFlow: 'RegionFlow',
|
|
3771
|
+
time: 'Time',
|
|
3772
|
+
totalFlow: 'TotalFlow',
|
|
3773
|
+
};
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
static types(): { [key: string]: any } {
|
|
3777
|
+
return {
|
|
3778
|
+
memberFlow: 'string',
|
|
3779
|
+
regionFlow: 'string',
|
|
3780
|
+
time: 'number',
|
|
3781
|
+
totalFlow: 'number',
|
|
3782
|
+
};
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3785
|
+
constructor(map?: { [key: string]: any }) {
|
|
3786
|
+
super(map);
|
|
3787
|
+
}
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
|
+
export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
|
|
3791
|
+
coverage?: string;
|
|
3792
|
+
ipCntCn?: number;
|
|
3793
|
+
ipCntOv?: number;
|
|
3794
|
+
memberIpCnt?: string;
|
|
3795
|
+
time?: number;
|
|
3796
|
+
static names(): { [key: string]: string } {
|
|
3797
|
+
return {
|
|
3798
|
+
coverage: 'Coverage',
|
|
3799
|
+
ipCntCn: 'IpCntCn',
|
|
3800
|
+
ipCntOv: 'IpCntOv',
|
|
3801
|
+
memberIpCnt: 'MemberIpCnt',
|
|
3802
|
+
time: 'Time',
|
|
3803
|
+
};
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
static types(): { [key: string]: any } {
|
|
3807
|
+
return {
|
|
3808
|
+
coverage: 'string',
|
|
3809
|
+
ipCntCn: 'number',
|
|
3810
|
+
ipCntOv: 'number',
|
|
3811
|
+
memberIpCnt: 'string',
|
|
3812
|
+
time: 'number',
|
|
3813
|
+
};
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3816
|
+
constructor(map?: { [key: string]: any }) {
|
|
3817
|
+
super(map);
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
|
|
3822
|
+
memberFlow?: string;
|
|
3823
|
+
regionFlow?: string;
|
|
3824
|
+
time?: number;
|
|
3825
|
+
totalFlow?: number;
|
|
3826
|
+
static names(): { [key: string]: string } {
|
|
3827
|
+
return {
|
|
3828
|
+
memberFlow: 'MemberFlow',
|
|
3829
|
+
regionFlow: 'RegionFlow',
|
|
3830
|
+
time: 'Time',
|
|
3831
|
+
totalFlow: 'TotalFlow',
|
|
3832
|
+
};
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
static types(): { [key: string]: any } {
|
|
3836
|
+
return {
|
|
3837
|
+
memberFlow: 'string',
|
|
3838
|
+
regionFlow: 'string',
|
|
3839
|
+
time: 'number',
|
|
3840
|
+
totalFlow: 'number',
|
|
3841
|
+
};
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
constructor(map?: { [key: string]: any }) {
|
|
3845
|
+
super(map);
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
export class DescribeInstanceListRequestTag extends $tea.Model {
|
|
3850
|
+
key?: string;
|
|
3851
|
+
value?: string;
|
|
3852
|
+
static names(): { [key: string]: string } {
|
|
3853
|
+
return {
|
|
3854
|
+
key: 'Key',
|
|
3855
|
+
value: 'Value',
|
|
3856
|
+
};
|
|
3857
|
+
}
|
|
3858
|
+
|
|
3859
|
+
static types(): { [key: string]: any } {
|
|
3860
|
+
return {
|
|
3861
|
+
key: 'string',
|
|
3862
|
+
value: 'string',
|
|
3863
|
+
};
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
constructor(map?: { [key: string]: any }) {
|
|
3867
|
+
super(map);
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
|
|
3872
|
+
events?: string[];
|
|
3873
|
+
static names(): { [key: string]: string } {
|
|
3874
|
+
return {
|
|
3875
|
+
events: 'Events',
|
|
3876
|
+
};
|
|
3877
|
+
}
|
|
3878
|
+
|
|
3879
|
+
static types(): { [key: string]: any } {
|
|
3880
|
+
return {
|
|
3881
|
+
events: { 'type': 'array', 'itemType': 'string' },
|
|
3882
|
+
};
|
|
3883
|
+
}
|
|
3884
|
+
|
|
3885
|
+
constructor(map?: { [key: string]: any }) {
|
|
3886
|
+
super(map);
|
|
3887
|
+
}
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3890
|
+
export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
3891
|
+
autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
|
|
3892
|
+
autoRenewal?: boolean;
|
|
3893
|
+
blackholdingCount?: string;
|
|
3894
|
+
commodityType?: string;
|
|
3895
|
+
coverageType?: number;
|
|
3896
|
+
expireTime?: number;
|
|
3897
|
+
gmtCreate?: number;
|
|
3898
|
+
instanceId?: string;
|
|
3899
|
+
instanceType?: string;
|
|
3900
|
+
ipType?: string;
|
|
3901
|
+
product?: string;
|
|
3902
|
+
remark?: string;
|
|
3903
|
+
status?: string;
|
|
3904
|
+
static names(): { [key: string]: string } {
|
|
3905
|
+
return {
|
|
3906
|
+
autoProtectCondition: 'AutoProtectCondition',
|
|
3907
|
+
autoRenewal: 'AutoRenewal',
|
|
3908
|
+
blackholdingCount: 'BlackholdingCount',
|
|
3909
|
+
commodityType: 'CommodityType',
|
|
3910
|
+
coverageType: 'CoverageType',
|
|
3911
|
+
expireTime: 'ExpireTime',
|
|
3912
|
+
gmtCreate: 'GmtCreate',
|
|
3913
|
+
instanceId: 'InstanceId',
|
|
3914
|
+
instanceType: 'InstanceType',
|
|
3915
|
+
ipType: 'IpType',
|
|
3916
|
+
product: 'Product',
|
|
3917
|
+
remark: 'Remark',
|
|
3918
|
+
status: 'Status',
|
|
3919
|
+
};
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3922
|
+
static types(): { [key: string]: any } {
|
|
3923
|
+
return {
|
|
3924
|
+
autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
|
|
3925
|
+
autoRenewal: 'boolean',
|
|
3926
|
+
blackholdingCount: 'string',
|
|
3927
|
+
commodityType: 'string',
|
|
3928
|
+
coverageType: 'number',
|
|
3929
|
+
expireTime: 'number',
|
|
3930
|
+
gmtCreate: 'number',
|
|
3931
|
+
instanceId: 'string',
|
|
3932
|
+
instanceType: 'string',
|
|
3933
|
+
ipType: 'string',
|
|
3934
|
+
product: 'string',
|
|
3935
|
+
remark: 'string',
|
|
3936
|
+
status: 'string',
|
|
3937
|
+
};
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
constructor(map?: { [key: string]: any }) {
|
|
3941
|
+
super(map);
|
|
3942
|
+
}
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $tea.Model {
|
|
3946
|
+
bandwidth?: number;
|
|
3947
|
+
bindIpCount?: number;
|
|
3948
|
+
ipAdvanceThre?: number;
|
|
3949
|
+
ipBasicThre?: number;
|
|
3950
|
+
ipSpec?: number;
|
|
3951
|
+
normalBandwidth?: number;
|
|
3952
|
+
packAdvThre?: number;
|
|
3953
|
+
packBasicThre?: number;
|
|
3954
|
+
static names(): { [key: string]: string } {
|
|
3955
|
+
return {
|
|
3956
|
+
bandwidth: 'Bandwidth',
|
|
3957
|
+
bindIpCount: 'BindIpCount',
|
|
3958
|
+
ipAdvanceThre: 'IpAdvanceThre',
|
|
3959
|
+
ipBasicThre: 'IpBasicThre',
|
|
3960
|
+
ipSpec: 'IpSpec',
|
|
3961
|
+
normalBandwidth: 'NormalBandwidth',
|
|
3962
|
+
packAdvThre: 'PackAdvThre',
|
|
3963
|
+
packBasicThre: 'PackBasicThre',
|
|
3964
|
+
};
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
static types(): { [key: string]: any } {
|
|
3968
|
+
return {
|
|
3969
|
+
bandwidth: 'number',
|
|
3970
|
+
bindIpCount: 'number',
|
|
3971
|
+
ipAdvanceThre: 'number',
|
|
3972
|
+
ipBasicThre: 'number',
|
|
3973
|
+
ipSpec: 'number',
|
|
3974
|
+
normalBandwidth: 'number',
|
|
3975
|
+
packAdvThre: 'number',
|
|
3976
|
+
packBasicThre: 'number',
|
|
3977
|
+
};
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3980
|
+
constructor(map?: { [key: string]: any }) {
|
|
3981
|
+
super(map);
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3985
|
+
export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
3986
|
+
availableDefenseTimes?: number;
|
|
3987
|
+
availableDeleteBlackholeCount?: string;
|
|
3988
|
+
defenseTimesPercent?: number;
|
|
3989
|
+
instanceId?: string;
|
|
3990
|
+
isFullDefenseMode?: number;
|
|
3991
|
+
packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
3992
|
+
region?: string;
|
|
3993
|
+
totalDefenseTimes?: number;
|
|
3994
|
+
static names(): { [key: string]: string } {
|
|
3995
|
+
return {
|
|
3996
|
+
availableDefenseTimes: 'AvailableDefenseTimes',
|
|
3997
|
+
availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
|
|
3998
|
+
defenseTimesPercent: 'DefenseTimesPercent',
|
|
3999
|
+
instanceId: 'InstanceId',
|
|
4000
|
+
isFullDefenseMode: 'IsFullDefenseMode',
|
|
4001
|
+
packConfig: 'PackConfig',
|
|
4002
|
+
region: 'Region',
|
|
4003
|
+
totalDefenseTimes: 'TotalDefenseTimes',
|
|
4004
|
+
};
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
static types(): { [key: string]: any } {
|
|
4008
|
+
return {
|
|
4009
|
+
availableDefenseTimes: 'number',
|
|
4010
|
+
availableDeleteBlackholeCount: 'string',
|
|
4011
|
+
defenseTimesPercent: 'number',
|
|
4012
|
+
instanceId: 'string',
|
|
4013
|
+
isFullDefenseMode: 'number',
|
|
4014
|
+
packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
|
|
4015
|
+
region: 'string',
|
|
4016
|
+
totalDefenseTimes: 'number',
|
|
4017
|
+
};
|
|
4018
|
+
}
|
|
4019
|
+
|
|
4020
|
+
constructor(map?: { [key: string]: any }) {
|
|
4021
|
+
super(map);
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
|
|
4026
|
+
endTime?: number;
|
|
4027
|
+
ip?: string;
|
|
4028
|
+
mbps?: number;
|
|
4029
|
+
pps?: number;
|
|
4030
|
+
startTime?: number;
|
|
4031
|
+
status?: string;
|
|
4032
|
+
static names(): { [key: string]: string } {
|
|
4033
|
+
return {
|
|
4034
|
+
endTime: 'EndTime',
|
|
4035
|
+
ip: 'Ip',
|
|
4036
|
+
mbps: 'Mbps',
|
|
4037
|
+
pps: 'Pps',
|
|
4038
|
+
startTime: 'StartTime',
|
|
4039
|
+
status: 'Status',
|
|
4040
|
+
};
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
static types(): { [key: string]: any } {
|
|
4044
|
+
return {
|
|
4045
|
+
endTime: 'number',
|
|
4046
|
+
ip: 'string',
|
|
4047
|
+
mbps: 'number',
|
|
4048
|
+
pps: 'number',
|
|
4049
|
+
startTime: 'number',
|
|
4050
|
+
status: 'string',
|
|
4051
|
+
};
|
|
4052
|
+
}
|
|
4053
|
+
|
|
4054
|
+
constructor(map?: { [key: string]: any }) {
|
|
4055
|
+
super(map);
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
4058
|
+
|
|
4059
|
+
export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Model {
|
|
4060
|
+
declared?: string;
|
|
4061
|
+
desc?: string;
|
|
4062
|
+
instanceId?: string;
|
|
4063
|
+
mode?: string;
|
|
4064
|
+
net?: string;
|
|
4065
|
+
registedAs?: string;
|
|
4066
|
+
userId?: string;
|
|
4067
|
+
static names(): { [key: string]: string } {
|
|
4068
|
+
return {
|
|
4069
|
+
declared: 'Declared',
|
|
4070
|
+
desc: 'Desc',
|
|
4071
|
+
instanceId: 'InstanceId',
|
|
4072
|
+
mode: 'Mode',
|
|
4073
|
+
net: 'Net',
|
|
4074
|
+
registedAs: 'RegistedAs',
|
|
4075
|
+
userId: 'UserId',
|
|
4076
|
+
};
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4079
|
+
static types(): { [key: string]: any } {
|
|
4080
|
+
return {
|
|
4081
|
+
declared: 'string',
|
|
4082
|
+
desc: 'string',
|
|
4083
|
+
instanceId: 'string',
|
|
4084
|
+
mode: 'string',
|
|
4085
|
+
net: 'string',
|
|
4086
|
+
registedAs: 'string',
|
|
4087
|
+
userId: 'string',
|
|
4088
|
+
};
|
|
4089
|
+
}
|
|
4090
|
+
|
|
4091
|
+
constructor(map?: { [key: string]: any }) {
|
|
4092
|
+
super(map);
|
|
4093
|
+
}
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
|
|
4097
|
+
entityObject?: string;
|
|
4098
|
+
entityType?: number;
|
|
4099
|
+
gmtCreate?: number;
|
|
4100
|
+
opAccount?: string;
|
|
4101
|
+
opAction?: number;
|
|
4102
|
+
opDesc?: string;
|
|
4103
|
+
static names(): { [key: string]: string } {
|
|
4104
|
+
return {
|
|
4105
|
+
entityObject: 'EntityObject',
|
|
4106
|
+
entityType: 'EntityType',
|
|
4107
|
+
gmtCreate: 'GmtCreate',
|
|
4108
|
+
opAccount: 'OpAccount',
|
|
4109
|
+
opAction: 'OpAction',
|
|
4110
|
+
opDesc: 'OpDesc',
|
|
4111
|
+
};
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
static types(): { [key: string]: any } {
|
|
4115
|
+
return {
|
|
4116
|
+
entityObject: 'string',
|
|
4117
|
+
entityType: 'number',
|
|
4118
|
+
gmtCreate: 'number',
|
|
4119
|
+
opAccount: 'string',
|
|
4120
|
+
opAction: 'number',
|
|
4121
|
+
opDesc: 'string',
|
|
4122
|
+
};
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
constructor(map?: { [key: string]: any }) {
|
|
4126
|
+
super(map);
|
|
4127
|
+
}
|
|
4128
|
+
}
|
|
4129
|
+
|
|
4130
|
+
export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
4131
|
+
ip?: string;
|
|
4132
|
+
memberUid?: string;
|
|
4133
|
+
nsmExpireAt?: number;
|
|
4134
|
+
nsmStartAt?: number;
|
|
4135
|
+
nsmStatus?: number;
|
|
4136
|
+
product?: string;
|
|
4137
|
+
region?: string;
|
|
4138
|
+
remark?: string;
|
|
4139
|
+
status?: string;
|
|
4140
|
+
static names(): { [key: string]: string } {
|
|
4141
|
+
return {
|
|
4142
|
+
ip: 'Ip',
|
|
3046
4143
|
memberUid: 'MemberUid',
|
|
3047
|
-
|
|
4144
|
+
nsmExpireAt: 'NsmExpireAt',
|
|
4145
|
+
nsmStartAt: 'NsmStartAt',
|
|
4146
|
+
nsmStatus: 'NsmStatus',
|
|
4147
|
+
product: 'Product',
|
|
3048
4148
|
region: 'Region',
|
|
3049
|
-
|
|
4149
|
+
remark: 'Remark',
|
|
4150
|
+
status: 'Status',
|
|
3050
4151
|
};
|
|
3051
4152
|
}
|
|
3052
4153
|
|
|
3053
4154
|
static types(): { [key: string]: any } {
|
|
3054
4155
|
return {
|
|
4156
|
+
ip: 'string',
|
|
3055
4157
|
memberUid: 'string',
|
|
3056
|
-
|
|
4158
|
+
nsmExpireAt: 'number',
|
|
4159
|
+
nsmStartAt: 'number',
|
|
4160
|
+
nsmStatus: 'number',
|
|
4161
|
+
product: 'string',
|
|
3057
4162
|
region: 'string',
|
|
3058
|
-
|
|
4163
|
+
remark: 'string',
|
|
4164
|
+
status: 'string',
|
|
3059
4165
|
};
|
|
3060
4166
|
}
|
|
3061
4167
|
|
|
@@ -3064,16 +4170,22 @@ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
|
|
|
3064
4170
|
}
|
|
3065
4171
|
}
|
|
3066
4172
|
|
|
3067
|
-
export class
|
|
4173
|
+
export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
|
|
4174
|
+
gmtCreate?: number;
|
|
4175
|
+
name?: string;
|
|
3068
4176
|
uid?: string;
|
|
3069
4177
|
static names(): { [key: string]: string } {
|
|
3070
4178
|
return {
|
|
4179
|
+
gmtCreate: 'GmtCreate',
|
|
4180
|
+
name: 'Name',
|
|
3071
4181
|
uid: 'Uid',
|
|
3072
4182
|
};
|
|
3073
4183
|
}
|
|
3074
4184
|
|
|
3075
4185
|
static types(): { [key: string]: any } {
|
|
3076
4186
|
return {
|
|
4187
|
+
gmtCreate: 'number',
|
|
4188
|
+
name: 'string',
|
|
3077
4189
|
uid: 'string',
|
|
3078
4190
|
};
|
|
3079
4191
|
}
|
|
@@ -3083,7 +4195,94 @@ export class DeleteRdMemberListRequestMemberList extends $tea.Model {
|
|
|
3083
4195
|
}
|
|
3084
4196
|
}
|
|
3085
4197
|
|
|
3086
|
-
export class
|
|
4198
|
+
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
4199
|
+
regionEnName?: string;
|
|
4200
|
+
regionId?: string;
|
|
4201
|
+
regionName?: string;
|
|
4202
|
+
static names(): { [key: string]: string } {
|
|
4203
|
+
return {
|
|
4204
|
+
regionEnName: 'RegionEnName',
|
|
4205
|
+
regionId: 'RegionId',
|
|
4206
|
+
regionName: 'RegionName',
|
|
4207
|
+
};
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
static types(): { [key: string]: any } {
|
|
4211
|
+
return {
|
|
4212
|
+
regionEnName: 'string',
|
|
4213
|
+
regionId: 'string',
|
|
4214
|
+
regionName: 'string',
|
|
4215
|
+
};
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4218
|
+
constructor(map?: { [key: string]: any }) {
|
|
4219
|
+
super(map);
|
|
4220
|
+
}
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
4224
|
+
attackBps?: number;
|
|
4225
|
+
attackPps?: number;
|
|
4226
|
+
flowType?: string;
|
|
4227
|
+
kbps?: number;
|
|
4228
|
+
name?: string;
|
|
4229
|
+
pps?: number;
|
|
4230
|
+
time?: number;
|
|
4231
|
+
static names(): { [key: string]: string } {
|
|
4232
|
+
return {
|
|
4233
|
+
attackBps: 'AttackBps',
|
|
4234
|
+
attackPps: 'AttackPps',
|
|
4235
|
+
flowType: 'FlowType',
|
|
4236
|
+
kbps: 'Kbps',
|
|
4237
|
+
name: 'Name',
|
|
4238
|
+
pps: 'Pps',
|
|
4239
|
+
time: 'Time',
|
|
4240
|
+
};
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4243
|
+
static types(): { [key: string]: any } {
|
|
4244
|
+
return {
|
|
4245
|
+
attackBps: 'number',
|
|
4246
|
+
attackPps: 'number',
|
|
4247
|
+
flowType: 'string',
|
|
4248
|
+
kbps: 'number',
|
|
4249
|
+
name: 'string',
|
|
4250
|
+
pps: 'number',
|
|
4251
|
+
time: 'number',
|
|
4252
|
+
};
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4255
|
+
constructor(map?: { [key: string]: any }) {
|
|
4256
|
+
super(map);
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4260
|
+
export class DetachFromPolicyRequestIpPortProtocolList extends $tea.Model {
|
|
4261
|
+
ip?: string;
|
|
4262
|
+
port?: number;
|
|
4263
|
+
protocol?: string;
|
|
4264
|
+
static names(): { [key: string]: string } {
|
|
4265
|
+
return {
|
|
4266
|
+
ip: 'Ip',
|
|
4267
|
+
port: 'Port',
|
|
4268
|
+
protocol: 'Protocol',
|
|
4269
|
+
};
|
|
4270
|
+
}
|
|
4271
|
+
|
|
4272
|
+
static types(): { [key: string]: any } {
|
|
4273
|
+
return {
|
|
4274
|
+
ip: 'string',
|
|
4275
|
+
port: 'number',
|
|
4276
|
+
protocol: 'string',
|
|
4277
|
+
};
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
constructor(map?: { [key: string]: any }) {
|
|
4281
|
+
super(map);
|
|
4282
|
+
}
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
3087
4286
|
name?: string;
|
|
3088
4287
|
region?: string;
|
|
3089
4288
|
type?: string;
|
|
@@ -3108,29 +4307,205 @@ export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
|
|
|
3108
4307
|
}
|
|
3109
4308
|
}
|
|
3110
4309
|
|
|
3111
|
-
export class
|
|
4310
|
+
export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
|
|
4311
|
+
enable?: boolean;
|
|
3112
4312
|
instanceId?: string;
|
|
3113
|
-
|
|
4313
|
+
static names(): { [key: string]: string } {
|
|
4314
|
+
return {
|
|
4315
|
+
enable: 'Enable',
|
|
4316
|
+
instanceId: 'InstanceId',
|
|
4317
|
+
};
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4320
|
+
static types(): { [key: string]: any } {
|
|
4321
|
+
return {
|
|
4322
|
+
enable: 'boolean',
|
|
4323
|
+
instanceId: 'string',
|
|
4324
|
+
};
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4327
|
+
constructor(map?: { [key: string]: any }) {
|
|
4328
|
+
super(map);
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $tea.Model {
|
|
4333
|
+
dstPortEnd?: number;
|
|
4334
|
+
dstPortStart?: number;
|
|
4335
|
+
id?: string;
|
|
4336
|
+
matchAction?: string;
|
|
4337
|
+
maxPktLen?: number;
|
|
4338
|
+
minPktLen?: number;
|
|
4339
|
+
offset?: number;
|
|
4340
|
+
payloadBytes?: string;
|
|
4341
|
+
protocol?: string;
|
|
4342
|
+
rateValue?: number;
|
|
4343
|
+
seqNo?: number;
|
|
4344
|
+
srcPortEnd?: number;
|
|
4345
|
+
srcPortStart?: number;
|
|
4346
|
+
static names(): { [key: string]: string } {
|
|
4347
|
+
return {
|
|
4348
|
+
dstPortEnd: 'DstPortEnd',
|
|
4349
|
+
dstPortStart: 'DstPortStart',
|
|
4350
|
+
id: 'Id',
|
|
4351
|
+
matchAction: 'MatchAction',
|
|
4352
|
+
maxPktLen: 'MaxPktLen',
|
|
4353
|
+
minPktLen: 'MinPktLen',
|
|
4354
|
+
offset: 'Offset',
|
|
4355
|
+
payloadBytes: 'PayloadBytes',
|
|
4356
|
+
protocol: 'Protocol',
|
|
4357
|
+
rateValue: 'RateValue',
|
|
4358
|
+
seqNo: 'SeqNo',
|
|
4359
|
+
srcPortEnd: 'SrcPortEnd',
|
|
4360
|
+
srcPortStart: 'SrcPortStart',
|
|
4361
|
+
};
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
static types(): { [key: string]: any } {
|
|
4365
|
+
return {
|
|
4366
|
+
dstPortEnd: 'number',
|
|
4367
|
+
dstPortStart: 'number',
|
|
4368
|
+
id: 'string',
|
|
4369
|
+
matchAction: 'string',
|
|
4370
|
+
maxPktLen: 'number',
|
|
4371
|
+
minPktLen: 'number',
|
|
4372
|
+
offset: 'number',
|
|
4373
|
+
payloadBytes: 'string',
|
|
4374
|
+
protocol: 'string',
|
|
4375
|
+
rateValue: 'number',
|
|
4376
|
+
seqNo: 'number',
|
|
4377
|
+
srcPortEnd: 'number',
|
|
4378
|
+
srcPortStart: 'number',
|
|
4379
|
+
};
|
|
4380
|
+
}
|
|
4381
|
+
|
|
4382
|
+
constructor(map?: { [key: string]: any }) {
|
|
4383
|
+
super(map);
|
|
4384
|
+
}
|
|
4385
|
+
}
|
|
4386
|
+
|
|
4387
|
+
export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $tea.Model {
|
|
4388
|
+
arg?: string;
|
|
4389
|
+
depth?: number;
|
|
4390
|
+
position?: number;
|
|
4391
|
+
static names(): { [key: string]: string } {
|
|
4392
|
+
return {
|
|
4393
|
+
arg: 'Arg',
|
|
4394
|
+
depth: 'Depth',
|
|
4395
|
+
position: 'Position',
|
|
4396
|
+
};
|
|
4397
|
+
}
|
|
4398
|
+
|
|
4399
|
+
static types(): { [key: string]: any } {
|
|
4400
|
+
return {
|
|
4401
|
+
arg: 'string',
|
|
4402
|
+
depth: 'number',
|
|
4403
|
+
position: 'number',
|
|
4404
|
+
};
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
constructor(map?: { [key: string]: any }) {
|
|
4408
|
+
super(map);
|
|
4409
|
+
}
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $tea.Model {
|
|
4413
|
+
action?: string;
|
|
4414
|
+
conditionList?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionList[];
|
|
4415
|
+
limited?: number;
|
|
4416
|
+
match?: string;
|
|
4417
|
+
method?: string;
|
|
3114
4418
|
name?: string;
|
|
3115
|
-
|
|
3116
|
-
|
|
4419
|
+
priority?: number;
|
|
4420
|
+
static names(): { [key: string]: string } {
|
|
4421
|
+
return {
|
|
4422
|
+
action: 'Action',
|
|
4423
|
+
conditionList: 'ConditionList',
|
|
4424
|
+
limited: 'Limited',
|
|
4425
|
+
match: 'Match',
|
|
4426
|
+
method: 'Method',
|
|
4427
|
+
name: 'Name',
|
|
4428
|
+
priority: 'Priority',
|
|
4429
|
+
};
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
static types(): { [key: string]: any } {
|
|
4433
|
+
return {
|
|
4434
|
+
action: 'string',
|
|
4435
|
+
conditionList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleListConditionList },
|
|
4436
|
+
limited: 'number',
|
|
4437
|
+
match: 'string',
|
|
4438
|
+
method: 'string',
|
|
4439
|
+
name: 'string',
|
|
4440
|
+
priority: 'number',
|
|
4441
|
+
};
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
constructor(map?: { [key: string]: any }) {
|
|
4445
|
+
super(map);
|
|
4446
|
+
}
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4449
|
+
export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $tea.Model {
|
|
4450
|
+
dstPortEnd?: number;
|
|
4451
|
+
dstPortStart?: number;
|
|
4452
|
+
id?: string;
|
|
4453
|
+
matchAction?: string;
|
|
4454
|
+
protocol?: string;
|
|
4455
|
+
seqNo?: number;
|
|
4456
|
+
srcPortEnd?: number;
|
|
4457
|
+
srcPortStart?: number;
|
|
4458
|
+
static names(): { [key: string]: string } {
|
|
4459
|
+
return {
|
|
4460
|
+
dstPortEnd: 'DstPortEnd',
|
|
4461
|
+
dstPortStart: 'DstPortStart',
|
|
4462
|
+
id: 'Id',
|
|
4463
|
+
matchAction: 'MatchAction',
|
|
4464
|
+
protocol: 'Protocol',
|
|
4465
|
+
seqNo: 'SeqNo',
|
|
4466
|
+
srcPortEnd: 'SrcPortEnd',
|
|
4467
|
+
srcPortStart: 'SrcPortStart',
|
|
4468
|
+
};
|
|
4469
|
+
}
|
|
4470
|
+
|
|
4471
|
+
static types(): { [key: string]: any } {
|
|
4472
|
+
return {
|
|
4473
|
+
dstPortEnd: 'number',
|
|
4474
|
+
dstPortStart: 'number',
|
|
4475
|
+
id: 'string',
|
|
4476
|
+
matchAction: 'string',
|
|
4477
|
+
protocol: 'string',
|
|
4478
|
+
seqNo: 'number',
|
|
4479
|
+
srcPortEnd: 'number',
|
|
4480
|
+
srcPortStart: 'number',
|
|
4481
|
+
};
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4484
|
+
constructor(map?: { [key: string]: any }) {
|
|
4485
|
+
super(map);
|
|
4486
|
+
}
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4489
|
+
export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $tea.Model {
|
|
4490
|
+
blockExpireSeconds?: number;
|
|
4491
|
+
everySeconds?: number;
|
|
4492
|
+
exceedLimitTimes?: number;
|
|
4493
|
+
type?: number;
|
|
3117
4494
|
static names(): { [key: string]: string } {
|
|
3118
4495
|
return {
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
region: 'Region',
|
|
4496
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
4497
|
+
everySeconds: 'EverySeconds',
|
|
4498
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
3123
4499
|
type: 'Type',
|
|
3124
4500
|
};
|
|
3125
4501
|
}
|
|
3126
4502
|
|
|
3127
4503
|
static types(): { [key: string]: any } {
|
|
3128
4504
|
return {
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
type: 'string',
|
|
4505
|
+
blockExpireSeconds: 'number',
|
|
4506
|
+
everySeconds: 'number',
|
|
4507
|
+
exceedLimitTimes: 'number',
|
|
4508
|
+
type: 'number',
|
|
3134
4509
|
};
|
|
3135
4510
|
}
|
|
3136
4511
|
|
|
@@ -3139,32 +4514,26 @@ export class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model
|
|
|
3139
4514
|
}
|
|
3140
4515
|
}
|
|
3141
4516
|
|
|
3142
|
-
export class
|
|
3143
|
-
|
|
3144
|
-
ip?: string;
|
|
3145
|
-
mbps?: number;
|
|
4517
|
+
export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $tea.Model {
|
|
4518
|
+
bps?: number;
|
|
3146
4519
|
pps?: number;
|
|
3147
|
-
|
|
3148
|
-
|
|
4520
|
+
synBps?: number;
|
|
4521
|
+
synPps?: number;
|
|
3149
4522
|
static names(): { [key: string]: string } {
|
|
3150
4523
|
return {
|
|
3151
|
-
|
|
3152
|
-
ip: 'Ip',
|
|
3153
|
-
mbps: 'Mbps',
|
|
4524
|
+
bps: 'Bps',
|
|
3154
4525
|
pps: 'Pps',
|
|
3155
|
-
|
|
3156
|
-
|
|
4526
|
+
synBps: 'SynBps',
|
|
4527
|
+
synPps: 'SynPps',
|
|
3157
4528
|
};
|
|
3158
4529
|
}
|
|
3159
4530
|
|
|
3160
4531
|
static types(): { [key: string]: any } {
|
|
3161
4532
|
return {
|
|
3162
|
-
|
|
3163
|
-
ip: 'string',
|
|
3164
|
-
mbps: 'number',
|
|
4533
|
+
bps: 'number',
|
|
3165
4534
|
pps: 'number',
|
|
3166
|
-
|
|
3167
|
-
|
|
4535
|
+
synBps: 'number',
|
|
4536
|
+
synPps: 'number',
|
|
3168
4537
|
};
|
|
3169
4538
|
}
|
|
3170
4539
|
|
|
@@ -3173,26 +4542,56 @@ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
|
|
|
3173
4542
|
}
|
|
3174
4543
|
}
|
|
3175
4544
|
|
|
3176
|
-
export class
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
4545
|
+
export class ListPolicyResponseBodyPolicyListContent extends $tea.Model {
|
|
4546
|
+
blackIpListExpireAt?: number;
|
|
4547
|
+
enableDropIcmp?: boolean;
|
|
4548
|
+
enableIntelligence?: boolean;
|
|
4549
|
+
enableL4Defense?: boolean;
|
|
4550
|
+
fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
|
|
4551
|
+
intelligenceLevel?: string;
|
|
4552
|
+
l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
|
|
4553
|
+
portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
|
|
4554
|
+
reflectBlockUdpPortList?: number[];
|
|
4555
|
+
regionBlockCountryList?: number[];
|
|
4556
|
+
regionBlockProvinceList?: number[];
|
|
4557
|
+
sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
|
|
4558
|
+
sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
|
|
4559
|
+
whitenGfbrNets?: boolean;
|
|
3181
4560
|
static names(): { [key: string]: string } {
|
|
3182
4561
|
return {
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
4562
|
+
blackIpListExpireAt: 'BlackIpListExpireAt',
|
|
4563
|
+
enableDropIcmp: 'EnableDropIcmp',
|
|
4564
|
+
enableIntelligence: 'EnableIntelligence',
|
|
4565
|
+
enableL4Defense: 'EnableL4Defense',
|
|
4566
|
+
fingerPrintRuleList: 'FingerPrintRuleList',
|
|
4567
|
+
intelligenceLevel: 'IntelligenceLevel',
|
|
4568
|
+
l4RuleList: 'L4RuleList',
|
|
4569
|
+
portRuleList: 'PortRuleList',
|
|
4570
|
+
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
4571
|
+
regionBlockCountryList: 'RegionBlockCountryList',
|
|
4572
|
+
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
4573
|
+
sourceBlockList: 'SourceBlockList',
|
|
4574
|
+
sourceLimit: 'SourceLimit',
|
|
4575
|
+
whitenGfbrNets: 'WhitenGfbrNets',
|
|
3187
4576
|
};
|
|
3188
4577
|
}
|
|
3189
4578
|
|
|
3190
4579
|
static types(): { [key: string]: any } {
|
|
3191
4580
|
return {
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
4581
|
+
blackIpListExpireAt: 'number',
|
|
4582
|
+
enableDropIcmp: 'boolean',
|
|
4583
|
+
enableIntelligence: 'boolean',
|
|
4584
|
+
enableL4Defense: 'boolean',
|
|
4585
|
+
fingerPrintRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentFingerPrintRuleList },
|
|
4586
|
+
intelligenceLevel: 'string',
|
|
4587
|
+
l4RuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleList },
|
|
4588
|
+
portRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentPortRuleList },
|
|
4589
|
+
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
4590
|
+
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
4591
|
+
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
4592
|
+
sourceBlockList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentSourceBlockList },
|
|
4593
|
+
sourceLimit: ListPolicyResponseBodyPolicyListContentSourceLimit,
|
|
4594
|
+
whitenGfbrNets: 'boolean',
|
|
3196
4595
|
};
|
|
3197
4596
|
}
|
|
3198
4597
|
|
|
@@ -3201,29 +4600,29 @@ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Mod
|
|
|
3201
4600
|
}
|
|
3202
4601
|
}
|
|
3203
4602
|
|
|
3204
|
-
export class
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
4603
|
+
export class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
4604
|
+
attachedCount?: number;
|
|
4605
|
+
content?: ListPolicyResponseBodyPolicyListContent;
|
|
4606
|
+
id?: string;
|
|
4607
|
+
name?: string;
|
|
4608
|
+
type?: string;
|
|
3210
4609
|
static names(): { [key: string]: string } {
|
|
3211
4610
|
return {
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
4611
|
+
attachedCount: 'AttachedCount',
|
|
4612
|
+
content: 'Content',
|
|
4613
|
+
id: 'Id',
|
|
4614
|
+
name: 'Name',
|
|
4615
|
+
type: 'Type',
|
|
3217
4616
|
};
|
|
3218
4617
|
}
|
|
3219
4618
|
|
|
3220
4619
|
static types(): { [key: string]: any } {
|
|
3221
4620
|
return {
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
4621
|
+
attachedCount: 'number',
|
|
4622
|
+
content: ListPolicyResponseBodyPolicyListContent,
|
|
4623
|
+
id: 'string',
|
|
4624
|
+
name: 'string',
|
|
4625
|
+
type: 'string',
|
|
3227
4626
|
};
|
|
3228
4627
|
}
|
|
3229
4628
|
|
|
@@ -3232,26 +4631,23 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
|
|
|
3232
4631
|
}
|
|
3233
4632
|
}
|
|
3234
4633
|
|
|
3235
|
-
export class
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
totalFlow?: number;
|
|
4634
|
+
export class ListPolicyAttachmentRequestIpPortProtocolList extends $tea.Model {
|
|
4635
|
+
ip?: string;
|
|
4636
|
+
port?: number;
|
|
4637
|
+
protocol?: string;
|
|
3240
4638
|
static names(): { [key: string]: string } {
|
|
3241
4639
|
return {
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
totalFlow: 'TotalFlow',
|
|
4640
|
+
ip: 'Ip',
|
|
4641
|
+
port: 'Port',
|
|
4642
|
+
protocol: 'Protocol',
|
|
3246
4643
|
};
|
|
3247
4644
|
}
|
|
3248
4645
|
|
|
3249
4646
|
static types(): { [key: string]: any } {
|
|
3250
4647
|
return {
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
totalFlow: 'number',
|
|
4648
|
+
ip: 'string',
|
|
4649
|
+
port: 'number',
|
|
4650
|
+
protocol: 'string',
|
|
3255
4651
|
};
|
|
3256
4652
|
}
|
|
3257
4653
|
|
|
@@ -3260,20 +4656,38 @@ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList ex
|
|
|
3260
4656
|
}
|
|
3261
4657
|
}
|
|
3262
4658
|
|
|
3263
|
-
export class
|
|
3264
|
-
|
|
3265
|
-
|
|
4659
|
+
export class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
|
|
4660
|
+
ip?: string;
|
|
4661
|
+
memberUid?: string;
|
|
4662
|
+
policyId?: string;
|
|
4663
|
+
policyName?: string;
|
|
4664
|
+
policyType?: string;
|
|
4665
|
+
port?: number;
|
|
4666
|
+
protocol?: string;
|
|
4667
|
+
region?: string;
|
|
3266
4668
|
static names(): { [key: string]: string } {
|
|
3267
4669
|
return {
|
|
3268
|
-
|
|
3269
|
-
|
|
4670
|
+
ip: 'Ip',
|
|
4671
|
+
memberUid: 'MemberUid',
|
|
4672
|
+
policyId: 'PolicyId',
|
|
4673
|
+
policyName: 'PolicyName',
|
|
4674
|
+
policyType: 'PolicyType',
|
|
4675
|
+
port: 'Port',
|
|
4676
|
+
protocol: 'Protocol',
|
|
4677
|
+
region: 'Region',
|
|
3270
4678
|
};
|
|
3271
4679
|
}
|
|
3272
4680
|
|
|
3273
4681
|
static types(): { [key: string]: any } {
|
|
3274
4682
|
return {
|
|
3275
|
-
|
|
3276
|
-
|
|
4683
|
+
ip: 'string',
|
|
4684
|
+
memberUid: 'string',
|
|
4685
|
+
policyId: 'string',
|
|
4686
|
+
policyName: 'string',
|
|
4687
|
+
policyType: 'string',
|
|
4688
|
+
port: 'number',
|
|
4689
|
+
protocol: 'string',
|
|
4690
|
+
region: 'string',
|
|
3277
4691
|
};
|
|
3278
4692
|
}
|
|
3279
4693
|
|
|
@@ -3282,17 +4696,20 @@ export class DescribeInstanceListRequestTag extends $tea.Model {
|
|
|
3282
4696
|
}
|
|
3283
4697
|
}
|
|
3284
4698
|
|
|
3285
|
-
export class
|
|
3286
|
-
|
|
4699
|
+
export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
|
|
4700
|
+
tagCount?: number;
|
|
4701
|
+
tagKey?: string;
|
|
3287
4702
|
static names(): { [key: string]: string } {
|
|
3288
4703
|
return {
|
|
3289
|
-
|
|
4704
|
+
tagCount: 'TagCount',
|
|
4705
|
+
tagKey: 'TagKey',
|
|
3290
4706
|
};
|
|
3291
4707
|
}
|
|
3292
4708
|
|
|
3293
4709
|
static types(): { [key: string]: any } {
|
|
3294
4710
|
return {
|
|
3295
|
-
|
|
4711
|
+
tagCount: 'number',
|
|
4712
|
+
tagKey: 'string',
|
|
3296
4713
|
};
|
|
3297
4714
|
}
|
|
3298
4715
|
|
|
@@ -3301,53 +4718,20 @@ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition ex
|
|
|
3301
4718
|
}
|
|
3302
4719
|
}
|
|
3303
4720
|
|
|
3304
|
-
export class
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
blackholdingCount?: string;
|
|
3308
|
-
commodityType?: string;
|
|
3309
|
-
coverageType?: number;
|
|
3310
|
-
expireTime?: number;
|
|
3311
|
-
gmtCreate?: number;
|
|
3312
|
-
instanceId?: string;
|
|
3313
|
-
instanceType?: string;
|
|
3314
|
-
ipType?: string;
|
|
3315
|
-
product?: string;
|
|
3316
|
-
remark?: string;
|
|
3317
|
-
status?: string;
|
|
4721
|
+
export class ListTagResourcesRequestTag extends $tea.Model {
|
|
4722
|
+
key?: string;
|
|
4723
|
+
value?: string;
|
|
3318
4724
|
static names(): { [key: string]: string } {
|
|
3319
4725
|
return {
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
blackholdingCount: 'BlackholdingCount',
|
|
3323
|
-
commodityType: 'CommodityType',
|
|
3324
|
-
coverageType: 'CoverageType',
|
|
3325
|
-
expireTime: 'ExpireTime',
|
|
3326
|
-
gmtCreate: 'GmtCreate',
|
|
3327
|
-
instanceId: 'InstanceId',
|
|
3328
|
-
instanceType: 'InstanceType',
|
|
3329
|
-
ipType: 'IpType',
|
|
3330
|
-
product: 'Product',
|
|
3331
|
-
remark: 'Remark',
|
|
3332
|
-
status: 'Status',
|
|
4726
|
+
key: 'Key',
|
|
4727
|
+
value: 'Value',
|
|
3333
4728
|
};
|
|
3334
4729
|
}
|
|
3335
4730
|
|
|
3336
4731
|
static types(): { [key: string]: any } {
|
|
3337
4732
|
return {
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
blackholdingCount: 'string',
|
|
3341
|
-
commodityType: 'string',
|
|
3342
|
-
coverageType: 'number',
|
|
3343
|
-
expireTime: 'number',
|
|
3344
|
-
gmtCreate: 'number',
|
|
3345
|
-
instanceId: 'string',
|
|
3346
|
-
instanceType: 'string',
|
|
3347
|
-
ipType: 'string',
|
|
3348
|
-
product: 'string',
|
|
3349
|
-
remark: 'string',
|
|
3350
|
-
status: 'string',
|
|
4733
|
+
key: 'string',
|
|
4734
|
+
value: 'string',
|
|
3351
4735
|
};
|
|
3352
4736
|
}
|
|
3353
4737
|
|
|
@@ -3356,38 +4740,26 @@ export class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
|
3356
4740
|
}
|
|
3357
4741
|
}
|
|
3358
4742
|
|
|
3359
|
-
export class
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
ipSpec?: number;
|
|
3365
|
-
normalBandwidth?: number;
|
|
3366
|
-
packAdvThre?: number;
|
|
3367
|
-
packBasicThre?: number;
|
|
4743
|
+
export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
4744
|
+
resourceId?: string;
|
|
4745
|
+
resourceType?: string;
|
|
4746
|
+
tagKey?: string;
|
|
4747
|
+
tagValue?: string;
|
|
3368
4748
|
static names(): { [key: string]: string } {
|
|
3369
4749
|
return {
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
ipSpec: 'IpSpec',
|
|
3375
|
-
normalBandwidth: 'NormalBandwidth',
|
|
3376
|
-
packAdvThre: 'PackAdvThre',
|
|
3377
|
-
packBasicThre: 'PackBasicThre',
|
|
4750
|
+
resourceId: 'ResourceId',
|
|
4751
|
+
resourceType: 'ResourceType',
|
|
4752
|
+
tagKey: 'TagKey',
|
|
4753
|
+
tagValue: 'TagValue',
|
|
3378
4754
|
};
|
|
3379
4755
|
}
|
|
3380
4756
|
|
|
3381
4757
|
static types(): { [key: string]: any } {
|
|
3382
4758
|
return {
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
ipSpec: 'number',
|
|
3388
|
-
normalBandwidth: 'number',
|
|
3389
|
-
packAdvThre: 'number',
|
|
3390
|
-
packBasicThre: 'number',
|
|
4759
|
+
resourceId: 'string',
|
|
4760
|
+
resourceType: 'string',
|
|
4761
|
+
tagKey: 'string',
|
|
4762
|
+
tagValue: 'string',
|
|
3391
4763
|
};
|
|
3392
4764
|
}
|
|
3393
4765
|
|
|
@@ -3396,38 +4768,17 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig extends $t
|
|
|
3396
4768
|
}
|
|
3397
4769
|
}
|
|
3398
4770
|
|
|
3399
|
-
export class
|
|
3400
|
-
|
|
3401
|
-
availableDeleteBlackholeCount?: string;
|
|
3402
|
-
defenseTimesPercent?: number;
|
|
3403
|
-
instanceId?: string;
|
|
3404
|
-
isFullDefenseMode?: number;
|
|
3405
|
-
packConfig?: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig;
|
|
3406
|
-
region?: string;
|
|
3407
|
-
totalDefenseTimes?: number;
|
|
4771
|
+
export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
4772
|
+
tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
|
|
3408
4773
|
static names(): { [key: string]: string } {
|
|
3409
4774
|
return {
|
|
3410
|
-
|
|
3411
|
-
availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
|
|
3412
|
-
defenseTimesPercent: 'DefenseTimesPercent',
|
|
3413
|
-
instanceId: 'InstanceId',
|
|
3414
|
-
isFullDefenseMode: 'IsFullDefenseMode',
|
|
3415
|
-
packConfig: 'PackConfig',
|
|
3416
|
-
region: 'Region',
|
|
3417
|
-
totalDefenseTimes: 'TotalDefenseTimes',
|
|
4775
|
+
tagResource: 'TagResource',
|
|
3418
4776
|
};
|
|
3419
4777
|
}
|
|
3420
4778
|
|
|
3421
4779
|
static types(): { [key: string]: any } {
|
|
3422
4780
|
return {
|
|
3423
|
-
|
|
3424
|
-
availableDeleteBlackholeCount: 'string',
|
|
3425
|
-
defenseTimesPercent: 'number',
|
|
3426
|
-
instanceId: 'string',
|
|
3427
|
-
isFullDefenseMode: 'number',
|
|
3428
|
-
packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
|
|
3429
|
-
region: 'string',
|
|
3430
|
-
totalDefenseTimes: 'number',
|
|
4781
|
+
tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
|
|
3431
4782
|
};
|
|
3432
4783
|
}
|
|
3433
4784
|
|
|
@@ -3436,32 +4787,53 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
3436
4787
|
}
|
|
3437
4788
|
}
|
|
3438
4789
|
|
|
3439
|
-
export class
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
4790
|
+
export class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
|
|
4791
|
+
dstPortEnd?: number;
|
|
4792
|
+
dstPortStart?: number;
|
|
4793
|
+
id?: string;
|
|
4794
|
+
matchAction?: string;
|
|
4795
|
+
maxPktLen?: number;
|
|
4796
|
+
minPktLen?: number;
|
|
4797
|
+
offset?: number;
|
|
4798
|
+
payloadBytes?: string;
|
|
4799
|
+
protocol?: string;
|
|
4800
|
+
rateValue?: number;
|
|
4801
|
+
seqNo?: number;
|
|
4802
|
+
srcPortEnd?: number;
|
|
4803
|
+
srcPortStart?: number;
|
|
3446
4804
|
static names(): { [key: string]: string } {
|
|
3447
4805
|
return {
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
4806
|
+
dstPortEnd: 'DstPortEnd',
|
|
4807
|
+
dstPortStart: 'DstPortStart',
|
|
4808
|
+
id: 'Id',
|
|
4809
|
+
matchAction: 'MatchAction',
|
|
4810
|
+
maxPktLen: 'MaxPktLen',
|
|
4811
|
+
minPktLen: 'MinPktLen',
|
|
4812
|
+
offset: 'Offset',
|
|
4813
|
+
payloadBytes: 'PayloadBytes',
|
|
4814
|
+
protocol: 'Protocol',
|
|
4815
|
+
rateValue: 'RateValue',
|
|
4816
|
+
seqNo: 'SeqNo',
|
|
4817
|
+
srcPortEnd: 'SrcPortEnd',
|
|
4818
|
+
srcPortStart: 'SrcPortStart',
|
|
3454
4819
|
};
|
|
3455
4820
|
}
|
|
3456
4821
|
|
|
3457
4822
|
static types(): { [key: string]: any } {
|
|
3458
4823
|
return {
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
4824
|
+
dstPortEnd: 'number',
|
|
4825
|
+
dstPortStart: 'number',
|
|
4826
|
+
id: 'string',
|
|
4827
|
+
matchAction: 'string',
|
|
4828
|
+
maxPktLen: 'number',
|
|
4829
|
+
minPktLen: 'number',
|
|
4830
|
+
offset: 'number',
|
|
4831
|
+
payloadBytes: 'string',
|
|
4832
|
+
protocol: 'string',
|
|
4833
|
+
rateValue: 'number',
|
|
4834
|
+
seqNo: 'number',
|
|
4835
|
+
srcPortEnd: 'number',
|
|
4836
|
+
srcPortStart: 'number',
|
|
3465
4837
|
};
|
|
3466
4838
|
}
|
|
3467
4839
|
|
|
@@ -3470,35 +4842,60 @@ export class DescribeOnDemandDdosEventResponseBodyEvents extends $tea.Model {
|
|
|
3470
4842
|
}
|
|
3471
4843
|
}
|
|
3472
4844
|
|
|
3473
|
-
export class
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
4845
|
+
export class ModifyPolicyRequestContentL4RuleListConditionList extends $tea.Model {
|
|
4846
|
+
arg?: string;
|
|
4847
|
+
depth?: number;
|
|
4848
|
+
position?: number;
|
|
4849
|
+
static names(): { [key: string]: string } {
|
|
4850
|
+
return {
|
|
4851
|
+
arg: 'Arg',
|
|
4852
|
+
depth: 'Depth',
|
|
4853
|
+
position: 'Position',
|
|
4854
|
+
};
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
static types(): { [key: string]: any } {
|
|
4858
|
+
return {
|
|
4859
|
+
arg: 'string',
|
|
4860
|
+
depth: 'number',
|
|
4861
|
+
position: 'number',
|
|
4862
|
+
};
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
constructor(map?: { [key: string]: any }) {
|
|
4866
|
+
super(map);
|
|
4867
|
+
}
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
export class ModifyPolicyRequestContentL4RuleList extends $tea.Model {
|
|
4871
|
+
action?: string;
|
|
4872
|
+
conditionList?: ModifyPolicyRequestContentL4RuleListConditionList[];
|
|
4873
|
+
limited?: number;
|
|
4874
|
+
match?: string;
|
|
4875
|
+
method?: string;
|
|
4876
|
+
name?: string;
|
|
4877
|
+
priority?: number;
|
|
3481
4878
|
static names(): { [key: string]: string } {
|
|
3482
4879
|
return {
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
4880
|
+
action: 'Action',
|
|
4881
|
+
conditionList: 'ConditionList',
|
|
4882
|
+
limited: 'Limited',
|
|
4883
|
+
match: 'Match',
|
|
4884
|
+
method: 'Method',
|
|
4885
|
+
name: 'Name',
|
|
4886
|
+
priority: 'Priority',
|
|
3490
4887
|
};
|
|
3491
4888
|
}
|
|
3492
4889
|
|
|
3493
4890
|
static types(): { [key: string]: any } {
|
|
3494
4891
|
return {
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
4892
|
+
action: 'string',
|
|
4893
|
+
conditionList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleListConditionList },
|
|
4894
|
+
limited: 'number',
|
|
4895
|
+
match: 'string',
|
|
4896
|
+
method: 'string',
|
|
4897
|
+
name: 'string',
|
|
4898
|
+
priority: 'number',
|
|
3502
4899
|
};
|
|
3503
4900
|
}
|
|
3504
4901
|
|
|
@@ -3507,32 +4904,38 @@ export class DescribeOnDemandInstanceStatusResponseBodyInstances extends $tea.Mo
|
|
|
3507
4904
|
}
|
|
3508
4905
|
}
|
|
3509
4906
|
|
|
3510
|
-
export class
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
4907
|
+
export class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
|
|
4908
|
+
dstPortEnd?: number;
|
|
4909
|
+
dstPortStart?: number;
|
|
4910
|
+
id?: string;
|
|
4911
|
+
matchAction?: string;
|
|
4912
|
+
protocol?: string;
|
|
4913
|
+
seqNo?: number;
|
|
4914
|
+
srcPortEnd?: number;
|
|
4915
|
+
srcPortStart?: number;
|
|
3517
4916
|
static names(): { [key: string]: string } {
|
|
3518
4917
|
return {
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
4918
|
+
dstPortEnd: 'DstPortEnd',
|
|
4919
|
+
dstPortStart: 'DstPortStart',
|
|
4920
|
+
id: 'Id',
|
|
4921
|
+
matchAction: 'MatchAction',
|
|
4922
|
+
protocol: 'Protocol',
|
|
4923
|
+
seqNo: 'SeqNo',
|
|
4924
|
+
srcPortEnd: 'SrcPortEnd',
|
|
4925
|
+
srcPortStart: 'SrcPortStart',
|
|
3525
4926
|
};
|
|
3526
4927
|
}
|
|
3527
4928
|
|
|
3528
4929
|
static types(): { [key: string]: any } {
|
|
3529
4930
|
return {
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
4931
|
+
dstPortEnd: 'number',
|
|
4932
|
+
dstPortStart: 'number',
|
|
4933
|
+
id: 'string',
|
|
4934
|
+
matchAction: 'string',
|
|
4935
|
+
protocol: 'string',
|
|
4936
|
+
seqNo: 'number',
|
|
4937
|
+
srcPortEnd: 'number',
|
|
4938
|
+
srcPortStart: 'number',
|
|
3536
4939
|
};
|
|
3537
4940
|
}
|
|
3538
4941
|
|
|
@@ -3541,35 +4944,26 @@ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
|
|
|
3541
4944
|
}
|
|
3542
4945
|
}
|
|
3543
4946
|
|
|
3544
|
-
export class
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
region?: string;
|
|
3550
|
-
remark?: string;
|
|
3551
|
-
status?: string;
|
|
4947
|
+
export class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
|
|
4948
|
+
blockExpireSeconds?: number;
|
|
4949
|
+
everySeconds?: number;
|
|
4950
|
+
exceedLimitTimes?: number;
|
|
4951
|
+
type?: number;
|
|
3552
4952
|
static names(): { [key: string]: string } {
|
|
3553
4953
|
return {
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
region: 'Region',
|
|
3559
|
-
remark: 'Remark',
|
|
3560
|
-
status: 'Status',
|
|
4954
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
4955
|
+
everySeconds: 'EverySeconds',
|
|
4956
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
4957
|
+
type: 'Type',
|
|
3561
4958
|
};
|
|
3562
4959
|
}
|
|
3563
4960
|
|
|
3564
4961
|
static types(): { [key: string]: any } {
|
|
3565
4962
|
return {
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
region: 'string',
|
|
3571
|
-
remark: 'string',
|
|
3572
|
-
status: 'string',
|
|
4963
|
+
blockExpireSeconds: 'number',
|
|
4964
|
+
everySeconds: 'number',
|
|
4965
|
+
exceedLimitTimes: 'number',
|
|
4966
|
+
type: 'number',
|
|
3573
4967
|
};
|
|
3574
4968
|
}
|
|
3575
4969
|
|
|
@@ -3578,23 +4972,26 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
3578
4972
|
}
|
|
3579
4973
|
}
|
|
3580
4974
|
|
|
3581
|
-
export class
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
4975
|
+
export class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
4976
|
+
bps?: number;
|
|
4977
|
+
pps?: number;
|
|
4978
|
+
synBps?: number;
|
|
4979
|
+
synPps?: number;
|
|
3585
4980
|
static names(): { [key: string]: string } {
|
|
3586
4981
|
return {
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
4982
|
+
bps: 'Bps',
|
|
4983
|
+
pps: 'Pps',
|
|
4984
|
+
synBps: 'SynBps',
|
|
4985
|
+
synPps: 'SynPps',
|
|
3590
4986
|
};
|
|
3591
4987
|
}
|
|
3592
4988
|
|
|
3593
4989
|
static types(): { [key: string]: any } {
|
|
3594
4990
|
return {
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
4991
|
+
bps: 'number',
|
|
4992
|
+
pps: 'number',
|
|
4993
|
+
synBps: 'number',
|
|
4994
|
+
synPps: 'number',
|
|
3598
4995
|
};
|
|
3599
4996
|
}
|
|
3600
4997
|
|
|
@@ -3603,23 +5000,62 @@ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
|
|
|
3603
5000
|
}
|
|
3604
5001
|
}
|
|
3605
5002
|
|
|
3606
|
-
export class
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
5003
|
+
export class ModifyPolicyRequestContent extends $tea.Model {
|
|
5004
|
+
blackIpList?: string[];
|
|
5005
|
+
blackIpListExpireAt?: number;
|
|
5006
|
+
enableDropIcmp?: boolean;
|
|
5007
|
+
enableIntelligence?: boolean;
|
|
5008
|
+
enableL4Defense?: boolean;
|
|
5009
|
+
fingerPrintRuleList?: ModifyPolicyRequestContentFingerPrintRuleList[];
|
|
5010
|
+
intelligenceLevel?: string;
|
|
5011
|
+
l4RuleList?: ModifyPolicyRequestContentL4RuleList[];
|
|
5012
|
+
portRuleList?: ModifyPolicyRequestContentPortRuleList[];
|
|
5013
|
+
reflectBlockUdpPortList?: number[];
|
|
5014
|
+
regionBlockCountryList?: number[];
|
|
5015
|
+
regionBlockProvinceList?: number[];
|
|
5016
|
+
sourceBlockList?: ModifyPolicyRequestContentSourceBlockList[];
|
|
5017
|
+
sourceLimit?: ModifyPolicyRequestContentSourceLimit;
|
|
5018
|
+
whiteIpList?: string[];
|
|
5019
|
+
whitenGfbrNets?: boolean;
|
|
3610
5020
|
static names(): { [key: string]: string } {
|
|
3611
5021
|
return {
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
5022
|
+
blackIpList: 'BlackIpList',
|
|
5023
|
+
blackIpListExpireAt: 'BlackIpListExpireAt',
|
|
5024
|
+
enableDropIcmp: 'EnableDropIcmp',
|
|
5025
|
+
enableIntelligence: 'EnableIntelligence',
|
|
5026
|
+
enableL4Defense: 'EnableL4Defense',
|
|
5027
|
+
fingerPrintRuleList: 'FingerPrintRuleList',
|
|
5028
|
+
intelligenceLevel: 'IntelligenceLevel',
|
|
5029
|
+
l4RuleList: 'L4RuleList',
|
|
5030
|
+
portRuleList: 'PortRuleList',
|
|
5031
|
+
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
5032
|
+
regionBlockCountryList: 'RegionBlockCountryList',
|
|
5033
|
+
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
5034
|
+
sourceBlockList: 'SourceBlockList',
|
|
5035
|
+
sourceLimit: 'SourceLimit',
|
|
5036
|
+
whiteIpList: 'WhiteIpList',
|
|
5037
|
+
whitenGfbrNets: 'WhitenGfbrNets',
|
|
3615
5038
|
};
|
|
3616
5039
|
}
|
|
3617
5040
|
|
|
3618
5041
|
static types(): { [key: string]: any } {
|
|
3619
5042
|
return {
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
5043
|
+
blackIpList: { 'type': 'array', 'itemType': 'string' },
|
|
5044
|
+
blackIpListExpireAt: 'number',
|
|
5045
|
+
enableDropIcmp: 'boolean',
|
|
5046
|
+
enableIntelligence: 'boolean',
|
|
5047
|
+
enableL4Defense: 'boolean',
|
|
5048
|
+
fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentFingerPrintRuleList },
|
|
5049
|
+
intelligenceLevel: 'string',
|
|
5050
|
+
l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleList },
|
|
5051
|
+
portRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentPortRuleList },
|
|
5052
|
+
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
5053
|
+
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
5054
|
+
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
5055
|
+
sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentSourceBlockList },
|
|
5056
|
+
sourceLimit: ModifyPolicyRequestContentSourceLimit,
|
|
5057
|
+
whiteIpList: { 'type': 'array', 'itemType': 'string' },
|
|
5058
|
+
whitenGfbrNets: 'boolean',
|
|
3623
5059
|
};
|
|
3624
5060
|
}
|
|
3625
5061
|
|
|
@@ -3628,35 +5064,53 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
3628
5064
|
}
|
|
3629
5065
|
}
|
|
3630
5066
|
|
|
3631
|
-
export class
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
5067
|
+
export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $tea.Model {
|
|
5068
|
+
dstPortEnd?: number;
|
|
5069
|
+
dstPortStart?: number;
|
|
5070
|
+
id?: string;
|
|
5071
|
+
matchAction?: string;
|
|
5072
|
+
maxPktLen?: number;
|
|
5073
|
+
minPktLen?: number;
|
|
5074
|
+
offset?: number;
|
|
5075
|
+
payloadBytes?: string;
|
|
5076
|
+
protocol?: string;
|
|
5077
|
+
rateValue?: number;
|
|
5078
|
+
seqNo?: number;
|
|
5079
|
+
srcPortEnd?: number;
|
|
5080
|
+
srcPortStart?: number;
|
|
3639
5081
|
static names(): { [key: string]: string } {
|
|
3640
5082
|
return {
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
5083
|
+
dstPortEnd: 'DstPortEnd',
|
|
5084
|
+
dstPortStart: 'DstPortStart',
|
|
5085
|
+
id: 'Id',
|
|
5086
|
+
matchAction: 'MatchAction',
|
|
5087
|
+
maxPktLen: 'MaxPktLen',
|
|
5088
|
+
minPktLen: 'MinPktLen',
|
|
5089
|
+
offset: 'Offset',
|
|
5090
|
+
payloadBytes: 'PayloadBytes',
|
|
5091
|
+
protocol: 'Protocol',
|
|
5092
|
+
rateValue: 'RateValue',
|
|
5093
|
+
seqNo: 'SeqNo',
|
|
5094
|
+
srcPortEnd: 'SrcPortEnd',
|
|
5095
|
+
srcPortStart: 'SrcPortStart',
|
|
3648
5096
|
};
|
|
3649
5097
|
}
|
|
3650
5098
|
|
|
3651
5099
|
static types(): { [key: string]: any } {
|
|
3652
5100
|
return {
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
5101
|
+
dstPortEnd: 'number',
|
|
5102
|
+
dstPortStart: 'number',
|
|
5103
|
+
id: 'string',
|
|
5104
|
+
matchAction: 'string',
|
|
5105
|
+
maxPktLen: 'number',
|
|
5106
|
+
minPktLen: 'number',
|
|
5107
|
+
offset: 'number',
|
|
5108
|
+
payloadBytes: 'string',
|
|
5109
|
+
protocol: 'string',
|
|
5110
|
+
rateValue: 'number',
|
|
5111
|
+
seqNo: 'number',
|
|
5112
|
+
srcPortEnd: 'number',
|
|
5113
|
+
srcPortStart: 'number',
|
|
3660
5114
|
};
|
|
3661
5115
|
}
|
|
3662
5116
|
|
|
@@ -3665,23 +5119,23 @@ export class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
|
3665
5119
|
}
|
|
3666
5120
|
}
|
|
3667
5121
|
|
|
3668
|
-
export class
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
5122
|
+
export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $tea.Model {
|
|
5123
|
+
arg?: string;
|
|
5124
|
+
depth?: number;
|
|
5125
|
+
position?: number;
|
|
3672
5126
|
static names(): { [key: string]: string } {
|
|
3673
5127
|
return {
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
5128
|
+
arg: 'Arg',
|
|
5129
|
+
depth: 'Depth',
|
|
5130
|
+
position: 'Position',
|
|
3677
5131
|
};
|
|
3678
5132
|
}
|
|
3679
5133
|
|
|
3680
5134
|
static types(): { [key: string]: any } {
|
|
3681
5135
|
return {
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
5136
|
+
arg: 'string',
|
|
5137
|
+
depth: 'number',
|
|
5138
|
+
position: 'number',
|
|
3685
5139
|
};
|
|
3686
5140
|
}
|
|
3687
5141
|
|
|
@@ -3690,20 +5144,35 @@ export class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
|
|
|
3690
5144
|
}
|
|
3691
5145
|
}
|
|
3692
5146
|
|
|
3693
|
-
export class
|
|
3694
|
-
|
|
3695
|
-
|
|
5147
|
+
export class ModifyPolicyContentRequestContentL4RuleList extends $tea.Model {
|
|
5148
|
+
action?: string;
|
|
5149
|
+
conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
|
|
5150
|
+
limited?: number;
|
|
5151
|
+
match?: string;
|
|
5152
|
+
method?: string;
|
|
5153
|
+
name?: string;
|
|
5154
|
+
priority?: number;
|
|
3696
5155
|
static names(): { [key: string]: string } {
|
|
3697
5156
|
return {
|
|
3698
|
-
|
|
3699
|
-
|
|
5157
|
+
action: 'Action',
|
|
5158
|
+
conditionList: 'ConditionList',
|
|
5159
|
+
limited: 'Limited',
|
|
5160
|
+
match: 'Match',
|
|
5161
|
+
method: 'Method',
|
|
5162
|
+
name: 'Name',
|
|
5163
|
+
priority: 'Priority',
|
|
3700
5164
|
};
|
|
3701
5165
|
}
|
|
3702
5166
|
|
|
3703
5167
|
static types(): { [key: string]: any } {
|
|
3704
5168
|
return {
|
|
3705
|
-
|
|
3706
|
-
|
|
5169
|
+
action: 'string',
|
|
5170
|
+
conditionList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleListConditionList },
|
|
5171
|
+
limited: 'number',
|
|
5172
|
+
match: 'string',
|
|
5173
|
+
method: 'string',
|
|
5174
|
+
name: 'string',
|
|
5175
|
+
priority: 'number',
|
|
3707
5176
|
};
|
|
3708
5177
|
}
|
|
3709
5178
|
|
|
@@ -3712,20 +5181,38 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $te
|
|
|
3712
5181
|
}
|
|
3713
5182
|
}
|
|
3714
5183
|
|
|
3715
|
-
export class
|
|
3716
|
-
|
|
3717
|
-
|
|
5184
|
+
export class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
|
|
5185
|
+
dstPortEnd?: number;
|
|
5186
|
+
dstPortStart?: number;
|
|
5187
|
+
id?: string;
|
|
5188
|
+
matchAction?: string;
|
|
5189
|
+
protocol?: string;
|
|
5190
|
+
seqNo?: number;
|
|
5191
|
+
srcPortEnd?: number;
|
|
5192
|
+
srcPortStart?: number;
|
|
3718
5193
|
static names(): { [key: string]: string } {
|
|
3719
5194
|
return {
|
|
3720
|
-
|
|
3721
|
-
|
|
5195
|
+
dstPortEnd: 'DstPortEnd',
|
|
5196
|
+
dstPortStart: 'DstPortStart',
|
|
5197
|
+
id: 'Id',
|
|
5198
|
+
matchAction: 'MatchAction',
|
|
5199
|
+
protocol: 'Protocol',
|
|
5200
|
+
seqNo: 'SeqNo',
|
|
5201
|
+
srcPortEnd: 'SrcPortEnd',
|
|
5202
|
+
srcPortStart: 'SrcPortStart',
|
|
3722
5203
|
};
|
|
3723
5204
|
}
|
|
3724
5205
|
|
|
3725
5206
|
static types(): { [key: string]: any } {
|
|
3726
5207
|
return {
|
|
3727
|
-
|
|
3728
|
-
|
|
5208
|
+
dstPortEnd: 'number',
|
|
5209
|
+
dstPortStart: 'number',
|
|
5210
|
+
id: 'string',
|
|
5211
|
+
matchAction: 'string',
|
|
5212
|
+
protocol: 'string',
|
|
5213
|
+
seqNo: 'number',
|
|
5214
|
+
srcPortEnd: 'number',
|
|
5215
|
+
srcPortStart: 'number',
|
|
3729
5216
|
};
|
|
3730
5217
|
}
|
|
3731
5218
|
|
|
@@ -3734,20 +5221,26 @@ export class ListTagKeysResponseBodyTagKeys extends $tea.Model {
|
|
|
3734
5221
|
}
|
|
3735
5222
|
}
|
|
3736
5223
|
|
|
3737
|
-
export class
|
|
3738
|
-
|
|
3739
|
-
|
|
5224
|
+
export class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model {
|
|
5225
|
+
blockExpireSeconds?: number;
|
|
5226
|
+
everySeconds?: number;
|
|
5227
|
+
exceedLimitTimes?: number;
|
|
5228
|
+
type?: number;
|
|
3740
5229
|
static names(): { [key: string]: string } {
|
|
3741
5230
|
return {
|
|
3742
|
-
|
|
3743
|
-
|
|
5231
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
5232
|
+
everySeconds: 'EverySeconds',
|
|
5233
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
5234
|
+
type: 'Type',
|
|
3744
5235
|
};
|
|
3745
5236
|
}
|
|
3746
5237
|
|
|
3747
5238
|
static types(): { [key: string]: any } {
|
|
3748
5239
|
return {
|
|
3749
|
-
|
|
3750
|
-
|
|
5240
|
+
blockExpireSeconds: 'number',
|
|
5241
|
+
everySeconds: 'number',
|
|
5242
|
+
exceedLimitTimes: 'number',
|
|
5243
|
+
type: 'number',
|
|
3751
5244
|
};
|
|
3752
5245
|
}
|
|
3753
5246
|
|
|
@@ -3756,26 +5249,26 @@ export class ListTagResourcesRequestTag extends $tea.Model {
|
|
|
3756
5249
|
}
|
|
3757
5250
|
}
|
|
3758
5251
|
|
|
3759
|
-
export class
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
5252
|
+
export class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
|
|
5253
|
+
bps?: number;
|
|
5254
|
+
pps?: number;
|
|
5255
|
+
synBps?: number;
|
|
5256
|
+
synPps?: number;
|
|
3764
5257
|
static names(): { [key: string]: string } {
|
|
3765
5258
|
return {
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
5259
|
+
bps: 'Bps',
|
|
5260
|
+
pps: 'Pps',
|
|
5261
|
+
synBps: 'SynBps',
|
|
5262
|
+
synPps: 'SynPps',
|
|
3770
5263
|
};
|
|
3771
5264
|
}
|
|
3772
5265
|
|
|
3773
5266
|
static types(): { [key: string]: any } {
|
|
3774
5267
|
return {
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
5268
|
+
bps: 'number',
|
|
5269
|
+
pps: 'number',
|
|
5270
|
+
synBps: 'number',
|
|
5271
|
+
synPps: 'number',
|
|
3779
5272
|
};
|
|
3780
5273
|
}
|
|
3781
5274
|
|
|
@@ -3784,17 +5277,56 @@ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Mo
|
|
|
3784
5277
|
}
|
|
3785
5278
|
}
|
|
3786
5279
|
|
|
3787
|
-
export class
|
|
3788
|
-
|
|
5280
|
+
export class ModifyPolicyContentRequestContent extends $tea.Model {
|
|
5281
|
+
blackIpListExpireAt?: number;
|
|
5282
|
+
enableDropIcmp?: boolean;
|
|
5283
|
+
enableIntelligence?: boolean;
|
|
5284
|
+
enableL4Defense?: boolean;
|
|
5285
|
+
fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
|
|
5286
|
+
intelligenceLevel?: string;
|
|
5287
|
+
l4RuleList?: ModifyPolicyContentRequestContentL4RuleList[];
|
|
5288
|
+
portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
|
|
5289
|
+
reflectBlockUdpPortList?: number[];
|
|
5290
|
+
regionBlockCountryList?: number[];
|
|
5291
|
+
regionBlockProvinceList?: number[];
|
|
5292
|
+
sourceBlockList?: ModifyPolicyContentRequestContentSourceBlockList[];
|
|
5293
|
+
sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
|
|
5294
|
+
whitenGfbrNets?: boolean;
|
|
3789
5295
|
static names(): { [key: string]: string } {
|
|
3790
5296
|
return {
|
|
3791
|
-
|
|
5297
|
+
blackIpListExpireAt: 'BlackIpListExpireAt',
|
|
5298
|
+
enableDropIcmp: 'EnableDropIcmp',
|
|
5299
|
+
enableIntelligence: 'EnableIntelligence',
|
|
5300
|
+
enableL4Defense: 'EnableL4Defense',
|
|
5301
|
+
fingerPrintRuleList: 'FingerPrintRuleList',
|
|
5302
|
+
intelligenceLevel: 'IntelligenceLevel',
|
|
5303
|
+
l4RuleList: 'L4RuleList',
|
|
5304
|
+
portRuleList: 'PortRuleList',
|
|
5305
|
+
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
5306
|
+
regionBlockCountryList: 'RegionBlockCountryList',
|
|
5307
|
+
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
5308
|
+
sourceBlockList: 'SourceBlockList',
|
|
5309
|
+
sourceLimit: 'SourceLimit',
|
|
5310
|
+
whitenGfbrNets: 'WhitenGfbrNets',
|
|
3792
5311
|
};
|
|
3793
5312
|
}
|
|
3794
5313
|
|
|
3795
5314
|
static types(): { [key: string]: any } {
|
|
3796
5315
|
return {
|
|
3797
|
-
|
|
5316
|
+
blackIpListExpireAt: 'number',
|
|
5317
|
+
enableDropIcmp: 'boolean',
|
|
5318
|
+
enableIntelligence: 'boolean',
|
|
5319
|
+
enableL4Defense: 'boolean',
|
|
5320
|
+
fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentFingerPrintRuleList },
|
|
5321
|
+
intelligenceLevel: 'string',
|
|
5322
|
+
l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleList },
|
|
5323
|
+
portRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentPortRuleList },
|
|
5324
|
+
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
5325
|
+
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
5326
|
+
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
5327
|
+
sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentSourceBlockList },
|
|
5328
|
+
sourceLimit: ModifyPolicyContentRequestContentSourceLimit,
|
|
5329
|
+
whitenGfbrNets: 'boolean',
|
|
3798
5330
|
};
|
|
3799
5331
|
}
|
|
3800
5332
|
|
|
@@ -3938,6 +5470,13 @@ export default class Client extends OpenApi {
|
|
|
3938
5470
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3939
5471
|
}
|
|
3940
5472
|
|
|
5473
|
+
/**
|
|
5474
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
5475
|
+
*
|
|
5476
|
+
* @param request AddIpRequest
|
|
5477
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5478
|
+
* @return AddIpResponse
|
|
5479
|
+
*/
|
|
3941
5480
|
async addIpWithOptions(request: AddIpRequest, runtime: $Util.RuntimeOptions): Promise<AddIpResponse> {
|
|
3942
5481
|
Util.validateModel(request);
|
|
3943
5482
|
let query = { };
|
|
@@ -3974,11 +5513,24 @@ export default class Client extends OpenApi {
|
|
|
3974
5513
|
return $tea.cast<AddIpResponse>(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
3975
5514
|
}
|
|
3976
5515
|
|
|
5516
|
+
/**
|
|
5517
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
5518
|
+
*
|
|
5519
|
+
* @param request AddIpRequest
|
|
5520
|
+
* @return AddIpResponse
|
|
5521
|
+
*/
|
|
3977
5522
|
async addIp(request: AddIpRequest): Promise<AddIpResponse> {
|
|
3978
5523
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3979
5524
|
return await this.addIpWithOptions(request, runtime);
|
|
3980
5525
|
}
|
|
3981
5526
|
|
|
5527
|
+
/**
|
|
5528
|
+
* @summary 添加资源目录成员账号列表
|
|
5529
|
+
*
|
|
5530
|
+
* @param tmpReq AddRdMemberListRequest
|
|
5531
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5532
|
+
* @return AddRdMemberListResponse
|
|
5533
|
+
*/
|
|
3982
5534
|
async addRdMemberListWithOptions(tmpReq: AddRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<AddRdMemberListResponse> {
|
|
3983
5535
|
Util.validateModel(tmpReq);
|
|
3984
5536
|
let request = new AddRdMemberListShrinkRequest({ });
|
|
@@ -4009,11 +5561,24 @@ export default class Client extends OpenApi {
|
|
|
4009
5561
|
return $tea.cast<AddRdMemberListResponse>(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
|
|
4010
5562
|
}
|
|
4011
5563
|
|
|
5564
|
+
/**
|
|
5565
|
+
* @summary 添加资源目录成员账号列表
|
|
5566
|
+
*
|
|
5567
|
+
* @param request AddRdMemberListRequest
|
|
5568
|
+
* @return AddRdMemberListResponse
|
|
5569
|
+
*/
|
|
4012
5570
|
async addRdMemberList(request: AddRdMemberListRequest): Promise<AddRdMemberListResponse> {
|
|
4013
5571
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4014
5572
|
return await this.addRdMemberListWithOptions(request, runtime);
|
|
4015
5573
|
}
|
|
4016
5574
|
|
|
5575
|
+
/**
|
|
5576
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
5577
|
+
*
|
|
5578
|
+
* @param tmpReq AttachAssetGroupToInstanceRequest
|
|
5579
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5580
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
5581
|
+
*/
|
|
4017
5582
|
async attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse> {
|
|
4018
5583
|
Util.validateModel(tmpReq);
|
|
4019
5584
|
let request = new AttachAssetGroupToInstanceShrinkRequest({ });
|
|
@@ -4035,10 +5600,6 @@ export default class Client extends OpenApi {
|
|
|
4035
5600
|
query["RegionId"] = request.regionId;
|
|
4036
5601
|
}
|
|
4037
5602
|
|
|
4038
|
-
if (!Util.isUnset(request.sourceIp)) {
|
|
4039
|
-
query["SourceIp"] = request.sourceIp;
|
|
4040
|
-
}
|
|
4041
|
-
|
|
4042
5603
|
let req = new $OpenApi.OpenApiRequest({
|
|
4043
5604
|
query: OpenApiUtil.query(query),
|
|
4044
5605
|
});
|
|
@@ -4056,11 +5617,24 @@ export default class Client extends OpenApi {
|
|
|
4056
5617
|
return $tea.cast<AttachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
4057
5618
|
}
|
|
4058
5619
|
|
|
5620
|
+
/**
|
|
5621
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
5622
|
+
*
|
|
5623
|
+
* @param request AttachAssetGroupToInstanceRequest
|
|
5624
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
5625
|
+
*/
|
|
4059
5626
|
async attachAssetGroupToInstance(request: AttachAssetGroupToInstanceRequest): Promise<AttachAssetGroupToInstanceResponse> {
|
|
4060
5627
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4061
5628
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4062
5629
|
}
|
|
4063
5630
|
|
|
5631
|
+
/**
|
|
5632
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
5633
|
+
*
|
|
5634
|
+
* @param request CheckAccessLogAuthRequest
|
|
5635
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5636
|
+
* @return CheckAccessLogAuthResponse
|
|
5637
|
+
*/
|
|
4064
5638
|
async checkAccessLogAuthWithOptions(request: CheckAccessLogAuthRequest, runtime: $Util.RuntimeOptions): Promise<CheckAccessLogAuthResponse> {
|
|
4065
5639
|
Util.validateModel(request);
|
|
4066
5640
|
let query = { };
|
|
@@ -4089,19 +5663,27 @@ export default class Client extends OpenApi {
|
|
|
4089
5663
|
return $tea.cast<CheckAccessLogAuthResponse>(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
4090
5664
|
}
|
|
4091
5665
|
|
|
5666
|
+
/**
|
|
5667
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
5668
|
+
*
|
|
5669
|
+
* @param request CheckAccessLogAuthRequest
|
|
5670
|
+
* @return CheckAccessLogAuthResponse
|
|
5671
|
+
*/
|
|
4092
5672
|
async checkAccessLogAuth(request: CheckAccessLogAuthRequest): Promise<CheckAccessLogAuthResponse> {
|
|
4093
5673
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4094
5674
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
4095
5675
|
}
|
|
4096
5676
|
|
|
4097
5677
|
/**
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
5678
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
5679
|
+
*
|
|
5680
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
5681
|
+
* ### Limits
|
|
5682
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5683
|
+
*
|
|
5684
|
+
* @param request CheckGrantRequest
|
|
5685
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5686
|
+
* @return CheckGrantResponse
|
|
4105
5687
|
*/
|
|
4106
5688
|
async checkGrantWithOptions(request: CheckGrantRequest, runtime: $Util.RuntimeOptions): Promise<CheckGrantResponse> {
|
|
4107
5689
|
Util.validateModel(request);
|
|
@@ -4124,18 +5706,25 @@ export default class Client extends OpenApi {
|
|
|
4124
5706
|
}
|
|
4125
5707
|
|
|
4126
5708
|
/**
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
5709
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
5710
|
+
*
|
|
5711
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
5712
|
+
* ### Limits
|
|
5713
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5714
|
+
*
|
|
5715
|
+
* @param request CheckGrantRequest
|
|
5716
|
+
* @return CheckGrantResponse
|
|
4133
5717
|
*/
|
|
4134
5718
|
async checkGrant(request: CheckGrantRequest): Promise<CheckGrantResponse> {
|
|
4135
5719
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4136
5720
|
return await this.checkGrantWithOptions(request, runtime);
|
|
4137
5721
|
}
|
|
4138
5722
|
|
|
5723
|
+
/**
|
|
5724
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
5725
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5726
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
5727
|
+
*/
|
|
4139
5728
|
async configSchedruleOnDemandWithOptions(request: ConfigSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<ConfigSchedruleOnDemandResponse> {
|
|
4140
5729
|
Util.validateModel(request);
|
|
4141
5730
|
let query = { };
|
|
@@ -4204,11 +5793,68 @@ export default class Client extends OpenApi {
|
|
|
4204
5793
|
return $tea.cast<ConfigSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
4205
5794
|
}
|
|
4206
5795
|
|
|
5796
|
+
/**
|
|
5797
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
5798
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
5799
|
+
*/
|
|
4207
5800
|
async configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse> {
|
|
4208
5801
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4209
5802
|
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
4210
5803
|
}
|
|
4211
5804
|
|
|
5805
|
+
/**
|
|
5806
|
+
* @summary 创建策略
|
|
5807
|
+
*
|
|
5808
|
+
* @param request CreatePolicyRequest
|
|
5809
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5810
|
+
* @return CreatePolicyResponse
|
|
5811
|
+
*/
|
|
5812
|
+
async createPolicyWithOptions(request: CreatePolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreatePolicyResponse> {
|
|
5813
|
+
Util.validateModel(request);
|
|
5814
|
+
let query = { };
|
|
5815
|
+
if (!Util.isUnset(request.name)) {
|
|
5816
|
+
query["Name"] = request.name;
|
|
5817
|
+
}
|
|
5818
|
+
|
|
5819
|
+
if (!Util.isUnset(request.type)) {
|
|
5820
|
+
query["Type"] = request.type;
|
|
5821
|
+
}
|
|
5822
|
+
|
|
5823
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5824
|
+
query: OpenApiUtil.query(query),
|
|
5825
|
+
});
|
|
5826
|
+
let params = new $OpenApi.Params({
|
|
5827
|
+
action: "CreatePolicy",
|
|
5828
|
+
version: "2018-07-20",
|
|
5829
|
+
protocol: "HTTPS",
|
|
5830
|
+
pathname: "/",
|
|
5831
|
+
method: "POST",
|
|
5832
|
+
authType: "AK",
|
|
5833
|
+
style: "RPC",
|
|
5834
|
+
reqBodyType: "formData",
|
|
5835
|
+
bodyType: "json",
|
|
5836
|
+
});
|
|
5837
|
+
return $tea.cast<CreatePolicyResponse>(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
|
|
5838
|
+
}
|
|
5839
|
+
|
|
5840
|
+
/**
|
|
5841
|
+
* @summary 创建策略
|
|
5842
|
+
*
|
|
5843
|
+
* @param request CreatePolicyRequest
|
|
5844
|
+
* @return CreatePolicyResponse
|
|
5845
|
+
*/
|
|
5846
|
+
async createPolicy(request: CreatePolicyRequest): Promise<CreatePolicyResponse> {
|
|
5847
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5848
|
+
return await this.createPolicyWithOptions(request, runtime);
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5851
|
+
/**
|
|
5852
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
5853
|
+
*
|
|
5854
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
5855
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5856
|
+
* @return CreateSchedruleOnDemandResponse
|
|
5857
|
+
*/
|
|
4212
5858
|
async createSchedruleOnDemandWithOptions(request: CreateSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<CreateSchedruleOnDemandResponse> {
|
|
4213
5859
|
Util.validateModel(request);
|
|
4214
5860
|
let query = { };
|
|
@@ -4277,20 +5923,28 @@ export default class Client extends OpenApi {
|
|
|
4277
5923
|
return $tea.cast<CreateSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
4278
5924
|
}
|
|
4279
5925
|
|
|
5926
|
+
/**
|
|
5927
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
5928
|
+
*
|
|
5929
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
5930
|
+
* @return CreateSchedruleOnDemandResponse
|
|
5931
|
+
*/
|
|
4280
5932
|
async createSchedruleOnDemand(request: CreateSchedruleOnDemandRequest): Promise<CreateSchedruleOnDemandResponse> {
|
|
4281
5933
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4282
5934
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
4283
5935
|
}
|
|
4284
5936
|
|
|
4285
5937
|
/**
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
5938
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
5939
|
+
*
|
|
5940
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
5941
|
+
* Before you call this operation, you can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
5942
|
+
* ### Limits
|
|
5943
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5944
|
+
*
|
|
5945
|
+
* @param request DeleteBlackholeRequest
|
|
5946
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5947
|
+
* @return DeleteBlackholeResponse
|
|
4294
5948
|
*/
|
|
4295
5949
|
async deleteBlackholeWithOptions(request: DeleteBlackholeRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBlackholeResponse> {
|
|
4296
5950
|
Util.validateModel(request);
|
|
@@ -4329,13 +5983,15 @@ export default class Client extends OpenApi {
|
|
|
4329
5983
|
}
|
|
4330
5984
|
|
|
4331
5985
|
/**
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
5986
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
5987
|
+
*
|
|
5988
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
5989
|
+
* Before you call this operation, you can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
5990
|
+
* ### Limits
|
|
5991
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5992
|
+
*
|
|
5993
|
+
* @param request DeleteBlackholeRequest
|
|
5994
|
+
* @return DeleteBlackholeResponse
|
|
4339
5995
|
*/
|
|
4340
5996
|
async deleteBlackhole(request: DeleteBlackholeRequest): Promise<DeleteBlackholeResponse> {
|
|
4341
5997
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -4343,11 +5999,13 @@ export default class Client extends OpenApi {
|
|
|
4343
5999
|
}
|
|
4344
6000
|
|
|
4345
6001
|
/**
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
6002
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
6003
|
+
*
|
|
6004
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
6005
|
+
*
|
|
6006
|
+
* @param request DeleteIpRequest
|
|
6007
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6008
|
+
* @return DeleteIpResponse
|
|
4351
6009
|
*/
|
|
4352
6010
|
async deleteIpWithOptions(request: DeleteIpRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpResponse> {
|
|
4353
6011
|
Util.validateModel(request);
|
|
@@ -4386,16 +6044,67 @@ export default class Client extends OpenApi {
|
|
|
4386
6044
|
}
|
|
4387
6045
|
|
|
4388
6046
|
/**
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
6047
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
6048
|
+
*
|
|
6049
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
6050
|
+
*
|
|
6051
|
+
* @param request DeleteIpRequest
|
|
6052
|
+
* @return DeleteIpResponse
|
|
4393
6053
|
*/
|
|
4394
6054
|
async deleteIp(request: DeleteIpRequest): Promise<DeleteIpResponse> {
|
|
4395
6055
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4396
6056
|
return await this.deleteIpWithOptions(request, runtime);
|
|
4397
6057
|
}
|
|
4398
6058
|
|
|
6059
|
+
/**
|
|
6060
|
+
* @summary 删除策略
|
|
6061
|
+
*
|
|
6062
|
+
* @param request DeletePolicyRequest
|
|
6063
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6064
|
+
* @return DeletePolicyResponse
|
|
6065
|
+
*/
|
|
6066
|
+
async deletePolicyWithOptions(request: DeletePolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeletePolicyResponse> {
|
|
6067
|
+
Util.validateModel(request);
|
|
6068
|
+
let query = { };
|
|
6069
|
+
if (!Util.isUnset(request.id)) {
|
|
6070
|
+
query["Id"] = request.id;
|
|
6071
|
+
}
|
|
6072
|
+
|
|
6073
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6074
|
+
query: OpenApiUtil.query(query),
|
|
6075
|
+
});
|
|
6076
|
+
let params = new $OpenApi.Params({
|
|
6077
|
+
action: "DeletePolicy",
|
|
6078
|
+
version: "2018-07-20",
|
|
6079
|
+
protocol: "HTTPS",
|
|
6080
|
+
pathname: "/",
|
|
6081
|
+
method: "POST",
|
|
6082
|
+
authType: "AK",
|
|
6083
|
+
style: "RPC",
|
|
6084
|
+
reqBodyType: "formData",
|
|
6085
|
+
bodyType: "json",
|
|
6086
|
+
});
|
|
6087
|
+
return $tea.cast<DeletePolicyResponse>(await this.callApi(params, req, runtime), new DeletePolicyResponse({}));
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
/**
|
|
6091
|
+
* @summary 删除策略
|
|
6092
|
+
*
|
|
6093
|
+
* @param request DeletePolicyRequest
|
|
6094
|
+
* @return DeletePolicyResponse
|
|
6095
|
+
*/
|
|
6096
|
+
async deletePolicy(request: DeletePolicyRequest): Promise<DeletePolicyResponse> {
|
|
6097
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6098
|
+
return await this.deletePolicyWithOptions(request, runtime);
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
/**
|
|
6102
|
+
* @summary 删除资源目录成员账号列表
|
|
6103
|
+
*
|
|
6104
|
+
* @param tmpReq DeleteRdMemberListRequest
|
|
6105
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6106
|
+
* @return DeleteRdMemberListResponse
|
|
6107
|
+
*/
|
|
4399
6108
|
async deleteRdMemberListWithOptions(tmpReq: DeleteRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRdMemberListResponse> {
|
|
4400
6109
|
Util.validateModel(tmpReq);
|
|
4401
6110
|
let request = new DeleteRdMemberListShrinkRequest({ });
|
|
@@ -4426,11 +6135,22 @@ export default class Client extends OpenApi {
|
|
|
4426
6135
|
return $tea.cast<DeleteRdMemberListResponse>(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
|
|
4427
6136
|
}
|
|
4428
6137
|
|
|
6138
|
+
/**
|
|
6139
|
+
* @summary 删除资源目录成员账号列表
|
|
6140
|
+
*
|
|
6141
|
+
* @param request DeleteRdMemberListRequest
|
|
6142
|
+
* @return DeleteRdMemberListResponse
|
|
6143
|
+
*/
|
|
4429
6144
|
async deleteRdMemberList(request: DeleteRdMemberListRequest): Promise<DeleteRdMemberListResponse> {
|
|
4430
6145
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4431
6146
|
return await this.deleteRdMemberListWithOptions(request, runtime);
|
|
4432
6147
|
}
|
|
4433
6148
|
|
|
6149
|
+
/**
|
|
6150
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
6151
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6152
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
6153
|
+
*/
|
|
4434
6154
|
async deleteSchedruleOnDemandWithOptions(request: DeleteSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSchedruleOnDemandResponse> {
|
|
4435
6155
|
Util.validateModel(request);
|
|
4436
6156
|
let query = { };
|
|
@@ -4463,11 +6183,22 @@ export default class Client extends OpenApi {
|
|
|
4463
6183
|
return $tea.cast<DeleteSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
4464
6184
|
}
|
|
4465
6185
|
|
|
6186
|
+
/**
|
|
6187
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
6188
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
6189
|
+
*/
|
|
4466
6190
|
async deleteSchedruleOnDemand(request: DeleteSchedruleOnDemandRequest): Promise<DeleteSchedruleOnDemandResponse> {
|
|
4467
6191
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4468
6192
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
4469
6193
|
}
|
|
4470
6194
|
|
|
6195
|
+
/**
|
|
6196
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
6197
|
+
*
|
|
6198
|
+
* @param request DescribeAssetGroupRequest
|
|
6199
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6200
|
+
* @return DescribeAssetGroupResponse
|
|
6201
|
+
*/
|
|
4471
6202
|
async describeAssetGroupWithOptions(request: DescribeAssetGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupResponse> {
|
|
4472
6203
|
Util.validateModel(request);
|
|
4473
6204
|
let query = { };
|
|
@@ -4483,10 +6214,6 @@ export default class Client extends OpenApi {
|
|
|
4483
6214
|
query["RegionId"] = request.regionId;
|
|
4484
6215
|
}
|
|
4485
6216
|
|
|
4486
|
-
if (!Util.isUnset(request.sourceIp)) {
|
|
4487
|
-
query["SourceIp"] = request.sourceIp;
|
|
4488
|
-
}
|
|
4489
|
-
|
|
4490
6217
|
if (!Util.isUnset(request.type)) {
|
|
4491
6218
|
query["Type"] = request.type;
|
|
4492
6219
|
}
|
|
@@ -4508,11 +6235,24 @@ export default class Client extends OpenApi {
|
|
|
4508
6235
|
return $tea.cast<DescribeAssetGroupResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
4509
6236
|
}
|
|
4510
6237
|
|
|
6238
|
+
/**
|
|
6239
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
6240
|
+
*
|
|
6241
|
+
* @param request DescribeAssetGroupRequest
|
|
6242
|
+
* @return DescribeAssetGroupResponse
|
|
6243
|
+
*/
|
|
4511
6244
|
async describeAssetGroup(request: DescribeAssetGroupRequest): Promise<DescribeAssetGroupResponse> {
|
|
4512
6245
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4513
6246
|
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
4514
6247
|
}
|
|
4515
6248
|
|
|
6249
|
+
/**
|
|
6250
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
6251
|
+
*
|
|
6252
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
6253
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6254
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
6255
|
+
*/
|
|
4516
6256
|
async describeAssetGroupToInstanceWithOptions(request: DescribeAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupToInstanceResponse> {
|
|
4517
6257
|
Util.validateModel(request);
|
|
4518
6258
|
let query = { };
|
|
@@ -4536,10 +6276,6 @@ export default class Client extends OpenApi {
|
|
|
4536
6276
|
query["RegionId"] = request.regionId;
|
|
4537
6277
|
}
|
|
4538
6278
|
|
|
4539
|
-
if (!Util.isUnset(request.sourceIp)) {
|
|
4540
|
-
query["SourceIp"] = request.sourceIp;
|
|
4541
|
-
}
|
|
4542
|
-
|
|
4543
6279
|
if (!Util.isUnset(request.type)) {
|
|
4544
6280
|
query["Type"] = request.type;
|
|
4545
6281
|
}
|
|
@@ -4561,19 +6297,27 @@ export default class Client extends OpenApi {
|
|
|
4561
6297
|
return $tea.cast<DescribeAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
4562
6298
|
}
|
|
4563
6299
|
|
|
6300
|
+
/**
|
|
6301
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
6302
|
+
*
|
|
6303
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
6304
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
6305
|
+
*/
|
|
4564
6306
|
async describeAssetGroupToInstance(request: DescribeAssetGroupToInstanceRequest): Promise<DescribeAssetGroupToInstanceResponse> {
|
|
4565
6307
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4566
6308
|
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
4567
6309
|
}
|
|
4568
6310
|
|
|
4569
6311
|
/**
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
6312
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
6313
|
+
*
|
|
6314
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
6315
|
+
* ## Limits
|
|
6316
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6317
|
+
*
|
|
6318
|
+
* @param request DescribeDdosEventRequest
|
|
6319
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6320
|
+
* @return DescribeDdosEventResponse
|
|
4577
6321
|
*/
|
|
4578
6322
|
async describeDdosEventWithOptions(request: DescribeDdosEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosEventResponse> {
|
|
4579
6323
|
Util.validateModel(request);
|
|
@@ -4628,18 +6372,27 @@ export default class Client extends OpenApi {
|
|
|
4628
6372
|
}
|
|
4629
6373
|
|
|
4630
6374
|
/**
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
6375
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
6376
|
+
*
|
|
6377
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
6378
|
+
* ## Limits
|
|
6379
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6380
|
+
*
|
|
6381
|
+
* @param request DescribeDdosEventRequest
|
|
6382
|
+
* @return DescribeDdosEventResponse
|
|
4637
6383
|
*/
|
|
4638
6384
|
async describeDdosEvent(request: DescribeDdosEventRequest): Promise<DescribeDdosEventResponse> {
|
|
4639
6385
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4640
6386
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
4641
6387
|
}
|
|
4642
6388
|
|
|
6389
|
+
/**
|
|
6390
|
+
* @summary 查询账单
|
|
6391
|
+
*
|
|
6392
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
6393
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6394
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
6395
|
+
*/
|
|
4643
6396
|
async describeDdosOriginInstanceBillWithOptions(request: DescribeDdosOriginInstanceBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosOriginInstanceBillResponse> {
|
|
4644
6397
|
Util.validateModel(request);
|
|
4645
6398
|
let query = { };
|
|
@@ -4676,18 +6429,29 @@ export default class Client extends OpenApi {
|
|
|
4676
6429
|
return $tea.cast<DescribeDdosOriginInstanceBillResponse>(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
4677
6430
|
}
|
|
4678
6431
|
|
|
6432
|
+
/**
|
|
6433
|
+
* @summary 查询账单
|
|
6434
|
+
*
|
|
6435
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
6436
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
6437
|
+
*/
|
|
4679
6438
|
async describeDdosOriginInstanceBill(request: DescribeDdosOriginInstanceBillRequest): Promise<DescribeDdosOriginInstanceBillResponse> {
|
|
4680
6439
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4681
6440
|
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
4682
6441
|
}
|
|
4683
6442
|
|
|
4684
6443
|
/**
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
6444
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
6445
|
+
* Origin instances that are about to expire in a specific region. The assets can be
|
|
6446
|
+
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
6447
|
+
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
6448
|
+
*
|
|
6449
|
+
* @description ## Usage notes
|
|
6450
|
+
* You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
|
|
6451
|
+
*
|
|
6452
|
+
* @param request DescribeExcpetionCountRequest
|
|
6453
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6454
|
+
* @return DescribeExcpetionCountResponse
|
|
4691
6455
|
*/
|
|
4692
6456
|
async describeExcpetionCountWithOptions(request: DescribeExcpetionCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeExcpetionCountResponse> {
|
|
4693
6457
|
Util.validateModel(request);
|
|
@@ -4718,11 +6482,16 @@ export default class Client extends OpenApi {
|
|
|
4718
6482
|
}
|
|
4719
6483
|
|
|
4720
6484
|
/**
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
6485
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
6486
|
+
* Origin instances that are about to expire in a specific region. The assets can be
|
|
6487
|
+
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
6488
|
+
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
6489
|
+
*
|
|
6490
|
+
* @description ## Usage notes
|
|
6491
|
+
* You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
|
|
6492
|
+
*
|
|
6493
|
+
* @param request DescribeExcpetionCountRequest
|
|
6494
|
+
* @return DescribeExcpetionCountResponse
|
|
4726
6495
|
*/
|
|
4727
6496
|
async describeExcpetionCount(request: DescribeExcpetionCountRequest): Promise<DescribeExcpetionCountResponse> {
|
|
4728
6497
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -4730,13 +6499,15 @@ export default class Client extends OpenApi {
|
|
|
4730
6499
|
}
|
|
4731
6500
|
|
|
4732
6501
|
/**
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
6502
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
6503
|
+
*
|
|
6504
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
6505
|
+
* ## Limits
|
|
6506
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6507
|
+
*
|
|
6508
|
+
* @param request DescribeInstanceListRequest
|
|
6509
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6510
|
+
* @return DescribeInstanceListResponse
|
|
4740
6511
|
*/
|
|
4741
6512
|
async describeInstanceListWithOptions(request: DescribeInstanceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceListResponse> {
|
|
4742
6513
|
Util.validateModel(request);
|
|
@@ -4811,18 +6582,25 @@ export default class Client extends OpenApi {
|
|
|
4811
6582
|
}
|
|
4812
6583
|
|
|
4813
6584
|
/**
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
6585
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
6586
|
+
*
|
|
6587
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
6588
|
+
* ## Limits
|
|
6589
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6590
|
+
*
|
|
6591
|
+
* @param request DescribeInstanceListRequest
|
|
6592
|
+
* @return DescribeInstanceListResponse
|
|
4820
6593
|
*/
|
|
4821
6594
|
async describeInstanceList(request: DescribeInstanceListRequest): Promise<DescribeInstanceListResponse> {
|
|
4822
6595
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4823
6596
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
4824
6597
|
}
|
|
4825
6598
|
|
|
6599
|
+
/**
|
|
6600
|
+
* @param request DescribeInstanceSpecsRequest
|
|
6601
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6602
|
+
* @return DescribeInstanceSpecsResponse
|
|
6603
|
+
*/
|
|
4826
6604
|
async describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse> {
|
|
4827
6605
|
Util.validateModel(request);
|
|
4828
6606
|
let query = { };
|
|
@@ -4855,17 +6633,23 @@ export default class Client extends OpenApi {
|
|
|
4855
6633
|
return $tea.cast<DescribeInstanceSpecsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
4856
6634
|
}
|
|
4857
6635
|
|
|
6636
|
+
/**
|
|
6637
|
+
* @param request DescribeInstanceSpecsRequest
|
|
6638
|
+
* @return DescribeInstanceSpecsResponse
|
|
6639
|
+
*/
|
|
4858
6640
|
async describeInstanceSpecs(request: DescribeInstanceSpecsRequest): Promise<DescribeInstanceSpecsResponse> {
|
|
4859
6641
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4860
6642
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
4861
6643
|
}
|
|
4862
6644
|
|
|
4863
6645
|
/**
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
6646
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
6647
|
+
*
|
|
6648
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
6649
|
+
*
|
|
6650
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
6651
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6652
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
4869
6653
|
*/
|
|
4870
6654
|
async describeOnDemandDdosEventWithOptions(request: DescribeOnDemandDdosEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOnDemandDdosEventResponse> {
|
|
4871
6655
|
Util.validateModel(request);
|
|
@@ -4920,16 +6704,23 @@ export default class Client extends OpenApi {
|
|
|
4920
6704
|
}
|
|
4921
6705
|
|
|
4922
6706
|
/**
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
6707
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
6708
|
+
*
|
|
6709
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
6710
|
+
*
|
|
6711
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
6712
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
4927
6713
|
*/
|
|
4928
6714
|
async describeOnDemandDdosEvent(request: DescribeOnDemandDdosEventRequest): Promise<DescribeOnDemandDdosEventResponse> {
|
|
4929
6715
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4930
6716
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
4931
6717
|
}
|
|
4932
6718
|
|
|
6719
|
+
/**
|
|
6720
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
6721
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6722
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
6723
|
+
*/
|
|
4933
6724
|
async describeOnDemandInstanceStatusWithOptions(request: DescribeOnDemandInstanceStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOnDemandInstanceStatusResponse> {
|
|
4934
6725
|
Util.validateModel(request);
|
|
4935
6726
|
let query = { };
|
|
@@ -4958,17 +6749,23 @@ export default class Client extends OpenApi {
|
|
|
4958
6749
|
return $tea.cast<DescribeOnDemandInstanceStatusResponse>(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
4959
6750
|
}
|
|
4960
6751
|
|
|
6752
|
+
/**
|
|
6753
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
6754
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
6755
|
+
*/
|
|
4961
6756
|
async describeOnDemandInstanceStatus(request: DescribeOnDemandInstanceStatusRequest): Promise<DescribeOnDemandInstanceStatusResponse> {
|
|
4962
6757
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4963
6758
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
4964
6759
|
}
|
|
4965
6760
|
|
|
4966
6761
|
/**
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
6762
|
+
* @summary The number of entries to return on each page.
|
|
6763
|
+
*
|
|
6764
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
6765
|
+
*
|
|
6766
|
+
* @param request DescribeOpEntitiesRequest
|
|
6767
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6768
|
+
* @return DescribeOpEntitiesResponse
|
|
4972
6769
|
*/
|
|
4973
6770
|
async describeOpEntitiesWithOptions(request: DescribeOpEntitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOpEntitiesResponse> {
|
|
4974
6771
|
Util.validateModel(request);
|
|
@@ -5027,10 +6824,12 @@ export default class Client extends OpenApi {
|
|
|
5027
6824
|
}
|
|
5028
6825
|
|
|
5029
6826
|
/**
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
6827
|
+
* @summary The number of entries to return on each page.
|
|
6828
|
+
*
|
|
6829
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
6830
|
+
*
|
|
6831
|
+
* @param request DescribeOpEntitiesRequest
|
|
6832
|
+
* @return DescribeOpEntitiesResponse
|
|
5034
6833
|
*/
|
|
5035
6834
|
async describeOpEntities(request: DescribeOpEntitiesRequest): Promise<DescribeOpEntitiesResponse> {
|
|
5036
6835
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -5038,13 +6837,15 @@ export default class Client extends OpenApi {
|
|
|
5038
6837
|
}
|
|
5039
6838
|
|
|
5040
6839
|
/**
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
6840
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
6841
|
+
*
|
|
6842
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
6843
|
+
* ## Limits
|
|
6844
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6845
|
+
*
|
|
6846
|
+
* @param request DescribePackIpListRequest
|
|
6847
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6848
|
+
* @return DescribePackIpListResponse
|
|
5048
6849
|
*/
|
|
5049
6850
|
async describePackIpListWithOptions(request: DescribePackIpListRequest, runtime: $Util.RuntimeOptions): Promise<DescribePackIpListResponse> {
|
|
5050
6851
|
Util.validateModel(request);
|
|
@@ -5099,18 +6900,27 @@ export default class Client extends OpenApi {
|
|
|
5099
6900
|
}
|
|
5100
6901
|
|
|
5101
6902
|
/**
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
6903
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
6904
|
+
*
|
|
6905
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
6906
|
+
* ## Limits
|
|
6907
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6908
|
+
*
|
|
6909
|
+
* @param request DescribePackIpListRequest
|
|
6910
|
+
* @return DescribePackIpListResponse
|
|
5108
6911
|
*/
|
|
5109
6912
|
async describePackIpList(request: DescribePackIpListRequest): Promise<DescribePackIpListResponse> {
|
|
5110
6913
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5111
6914
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
5112
6915
|
}
|
|
5113
6916
|
|
|
6917
|
+
/**
|
|
6918
|
+
* @summary 查询资源目录成员账号列表
|
|
6919
|
+
*
|
|
6920
|
+
* @param request DescribeRdMemberListRequest
|
|
6921
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6922
|
+
* @return DescribeRdMemberListResponse
|
|
6923
|
+
*/
|
|
5114
6924
|
async describeRdMemberListWithOptions(request: DescribeRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRdMemberListResponse> {
|
|
5115
6925
|
Util.validateModel(request);
|
|
5116
6926
|
let query = { };
|
|
@@ -5143,11 +6953,24 @@ export default class Client extends OpenApi {
|
|
|
5143
6953
|
return $tea.cast<DescribeRdMemberListResponse>(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
|
|
5144
6954
|
}
|
|
5145
6955
|
|
|
6956
|
+
/**
|
|
6957
|
+
* @summary 查询资源目录成员账号列表
|
|
6958
|
+
*
|
|
6959
|
+
* @param request DescribeRdMemberListRequest
|
|
6960
|
+
* @return DescribeRdMemberListResponse
|
|
6961
|
+
*/
|
|
5146
6962
|
async describeRdMemberList(request: DescribeRdMemberListRequest): Promise<DescribeRdMemberListResponse> {
|
|
5147
6963
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5148
6964
|
return await this.describeRdMemberListWithOptions(request, runtime);
|
|
5149
6965
|
}
|
|
5150
6966
|
|
|
6967
|
+
/**
|
|
6968
|
+
* @summary 查询RD状态
|
|
6969
|
+
*
|
|
6970
|
+
* @param request DescribeRdStatusRequest
|
|
6971
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6972
|
+
* @return DescribeRdStatusResponse
|
|
6973
|
+
*/
|
|
5151
6974
|
async describeRdStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeRdStatusResponse> {
|
|
5152
6975
|
let req = new $OpenApi.OpenApiRequest({ });
|
|
5153
6976
|
let params = new $OpenApi.Params({
|
|
@@ -5164,11 +6987,23 @@ export default class Client extends OpenApi {
|
|
|
5164
6987
|
return $tea.cast<DescribeRdStatusResponse>(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
|
|
5165
6988
|
}
|
|
5166
6989
|
|
|
6990
|
+
/**
|
|
6991
|
+
* @summary 查询RD状态
|
|
6992
|
+
*
|
|
6993
|
+
* @return DescribeRdStatusResponse
|
|
6994
|
+
*/
|
|
5167
6995
|
async describeRdStatus(): Promise<DescribeRdStatusResponse> {
|
|
5168
6996
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5169
6997
|
return await this.describeRdStatusWithOptions(runtime);
|
|
5170
6998
|
}
|
|
5171
6999
|
|
|
7000
|
+
/**
|
|
7001
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
7002
|
+
*
|
|
7003
|
+
* @param request DescribeRegionsRequest
|
|
7004
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7005
|
+
* @return DescribeRegionsResponse
|
|
7006
|
+
*/
|
|
5172
7007
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
5173
7008
|
Util.validateModel(request);
|
|
5174
7009
|
let query = { };
|
|
@@ -5197,20 +7032,28 @@ export default class Client extends OpenApi {
|
|
|
5197
7032
|
return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
5198
7033
|
}
|
|
5199
7034
|
|
|
7035
|
+
/**
|
|
7036
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
7037
|
+
*
|
|
7038
|
+
* @param request DescribeRegionsRequest
|
|
7039
|
+
* @return DescribeRegionsResponse
|
|
7040
|
+
*/
|
|
5200
7041
|
async describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse> {
|
|
5201
7042
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5202
7043
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
5203
7044
|
}
|
|
5204
7045
|
|
|
5205
7046
|
/**
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
7047
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
7048
|
+
*
|
|
7049
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
7050
|
+
* > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
|
|
7051
|
+
* ## Limits
|
|
7052
|
+
* You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7053
|
+
*
|
|
7054
|
+
* @param request DescribeTrafficRequest
|
|
7055
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7056
|
+
* @return DescribeTrafficResponse
|
|
5214
7057
|
*/
|
|
5215
7058
|
async describeTrafficWithOptions(request: DescribeTrafficRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficResponse> {
|
|
5216
7059
|
Util.validateModel(request);
|
|
@@ -5269,19 +7112,80 @@ export default class Client extends OpenApi {
|
|
|
5269
7112
|
}
|
|
5270
7113
|
|
|
5271
7114
|
/**
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
7115
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
7116
|
+
*
|
|
7117
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
7118
|
+
* > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
|
|
7119
|
+
* ## Limits
|
|
7120
|
+
* You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7121
|
+
*
|
|
7122
|
+
* @param request DescribeTrafficRequest
|
|
7123
|
+
* @return DescribeTrafficResponse
|
|
5279
7124
|
*/
|
|
5280
7125
|
async describeTraffic(request: DescribeTrafficRequest): Promise<DescribeTrafficResponse> {
|
|
5281
7126
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5282
7127
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
5283
7128
|
}
|
|
5284
7129
|
|
|
7130
|
+
/**
|
|
7131
|
+
* @summary 策略解绑
|
|
7132
|
+
*
|
|
7133
|
+
* @param tmpReq DetachFromPolicyRequest
|
|
7134
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7135
|
+
* @return DetachFromPolicyResponse
|
|
7136
|
+
*/
|
|
7137
|
+
async detachFromPolicyWithOptions(tmpReq: DetachFromPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DetachFromPolicyResponse> {
|
|
7138
|
+
Util.validateModel(tmpReq);
|
|
7139
|
+
let request = new DetachFromPolicyShrinkRequest({ });
|
|
7140
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7141
|
+
if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
|
|
7142
|
+
request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7145
|
+
let query = { };
|
|
7146
|
+
if (!Util.isUnset(request.ipPortProtocolListShrink)) {
|
|
7147
|
+
query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
|
|
7148
|
+
}
|
|
7149
|
+
|
|
7150
|
+
if (!Util.isUnset(request.policyType)) {
|
|
7151
|
+
query["PolicyType"] = request.policyType;
|
|
7152
|
+
}
|
|
7153
|
+
|
|
7154
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7155
|
+
query: OpenApiUtil.query(query),
|
|
7156
|
+
});
|
|
7157
|
+
let params = new $OpenApi.Params({
|
|
7158
|
+
action: "DetachFromPolicy",
|
|
7159
|
+
version: "2018-07-20",
|
|
7160
|
+
protocol: "HTTPS",
|
|
7161
|
+
pathname: "/",
|
|
7162
|
+
method: "POST",
|
|
7163
|
+
authType: "AK",
|
|
7164
|
+
style: "RPC",
|
|
7165
|
+
reqBodyType: "formData",
|
|
7166
|
+
bodyType: "json",
|
|
7167
|
+
});
|
|
7168
|
+
return $tea.cast<DetachFromPolicyResponse>(await this.callApi(params, req, runtime), new DetachFromPolicyResponse({}));
|
|
7169
|
+
}
|
|
7170
|
+
|
|
7171
|
+
/**
|
|
7172
|
+
* @summary 策略解绑
|
|
7173
|
+
*
|
|
7174
|
+
* @param request DetachFromPolicyRequest
|
|
7175
|
+
* @return DetachFromPolicyResponse
|
|
7176
|
+
*/
|
|
7177
|
+
async detachFromPolicy(request: DetachFromPolicyRequest): Promise<DetachFromPolicyResponse> {
|
|
7178
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7179
|
+
return await this.detachFromPolicyWithOptions(request, runtime);
|
|
7180
|
+
}
|
|
7181
|
+
|
|
7182
|
+
/**
|
|
7183
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
7184
|
+
*
|
|
7185
|
+
* @param tmpReq DettachAssetGroupToInstanceRequest
|
|
7186
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7187
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
7188
|
+
*/
|
|
5285
7189
|
async dettachAssetGroupToInstanceWithOptions(tmpReq: DettachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DettachAssetGroupToInstanceResponse> {
|
|
5286
7190
|
Util.validateModel(tmpReq);
|
|
5287
7191
|
let request = new DettachAssetGroupToInstanceShrinkRequest({ });
|
|
@@ -5303,10 +7207,6 @@ export default class Client extends OpenApi {
|
|
|
5303
7207
|
query["RegionId"] = request.regionId;
|
|
5304
7208
|
}
|
|
5305
7209
|
|
|
5306
|
-
if (!Util.isUnset(request.sourceIp)) {
|
|
5307
|
-
query["SourceIp"] = request.sourceIp;
|
|
5308
|
-
}
|
|
5309
|
-
|
|
5310
7210
|
let req = new $OpenApi.OpenApiRequest({
|
|
5311
7211
|
query: OpenApiUtil.query(query),
|
|
5312
7212
|
});
|
|
@@ -5324,11 +7224,24 @@ export default class Client extends OpenApi {
|
|
|
5324
7224
|
return $tea.cast<DettachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
5325
7225
|
}
|
|
5326
7226
|
|
|
7227
|
+
/**
|
|
7228
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
7229
|
+
*
|
|
7230
|
+
* @param request DettachAssetGroupToInstanceRequest
|
|
7231
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
7232
|
+
*/
|
|
5327
7233
|
async dettachAssetGroupToInstance(request: DettachAssetGroupToInstanceRequest): Promise<DettachAssetGroupToInstanceResponse> {
|
|
5328
7234
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5329
7235
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
5330
7236
|
}
|
|
5331
7237
|
|
|
7238
|
+
/**
|
|
7239
|
+
* @summary Checks whether Log Service is activated.
|
|
7240
|
+
*
|
|
7241
|
+
* @param request GetSlsOpenStatusRequest
|
|
7242
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7243
|
+
* @return GetSlsOpenStatusResponse
|
|
7244
|
+
*/
|
|
5332
7245
|
async getSlsOpenStatusWithOptions(request: GetSlsOpenStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSlsOpenStatusResponse> {
|
|
5333
7246
|
Util.validateModel(request);
|
|
5334
7247
|
let query = { };
|
|
@@ -5357,11 +7270,24 @@ export default class Client extends OpenApi {
|
|
|
5357
7270
|
return $tea.cast<GetSlsOpenStatusResponse>(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
5358
7271
|
}
|
|
5359
7272
|
|
|
7273
|
+
/**
|
|
7274
|
+
* @summary Checks whether Log Service is activated.
|
|
7275
|
+
*
|
|
7276
|
+
* @param request GetSlsOpenStatusRequest
|
|
7277
|
+
* @return GetSlsOpenStatusResponse
|
|
7278
|
+
*/
|
|
5360
7279
|
async getSlsOpenStatus(request: GetSlsOpenStatusRequest): Promise<GetSlsOpenStatusResponse> {
|
|
5361
7280
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5362
7281
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
5363
7282
|
}
|
|
5364
7283
|
|
|
7284
|
+
/**
|
|
7285
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
7286
|
+
*
|
|
7287
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
7288
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7289
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
7290
|
+
*/
|
|
5365
7291
|
async listOpenedAccessLogInstancesWithOptions(request: ListOpenedAccessLogInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ListOpenedAccessLogInstancesResponse> {
|
|
5366
7292
|
Util.validateModel(request);
|
|
5367
7293
|
let query = { };
|
|
@@ -5394,11 +7320,142 @@ export default class Client extends OpenApi {
|
|
|
5394
7320
|
return $tea.cast<ListOpenedAccessLogInstancesResponse>(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
5395
7321
|
}
|
|
5396
7322
|
|
|
7323
|
+
/**
|
|
7324
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
7325
|
+
*
|
|
7326
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
7327
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
7328
|
+
*/
|
|
5397
7329
|
async listOpenedAccessLogInstances(request: ListOpenedAccessLogInstancesRequest): Promise<ListOpenedAccessLogInstancesResponse> {
|
|
5398
7330
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5399
7331
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
5400
7332
|
}
|
|
5401
7333
|
|
|
7334
|
+
/**
|
|
7335
|
+
* @summary 查询策略
|
|
7336
|
+
*
|
|
7337
|
+
* @param request ListPolicyRequest
|
|
7338
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7339
|
+
* @return ListPolicyResponse
|
|
7340
|
+
*/
|
|
7341
|
+
async listPolicyWithOptions(request: ListPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyResponse> {
|
|
7342
|
+
Util.validateModel(request);
|
|
7343
|
+
let query = { };
|
|
7344
|
+
if (!Util.isUnset(request.name)) {
|
|
7345
|
+
query["Name"] = request.name;
|
|
7346
|
+
}
|
|
7347
|
+
|
|
7348
|
+
if (!Util.isUnset(request.pageNo)) {
|
|
7349
|
+
query["PageNo"] = request.pageNo;
|
|
7350
|
+
}
|
|
7351
|
+
|
|
7352
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
7353
|
+
query["PageSize"] = request.pageSize;
|
|
7354
|
+
}
|
|
7355
|
+
|
|
7356
|
+
if (!Util.isUnset(request.type)) {
|
|
7357
|
+
query["Type"] = request.type;
|
|
7358
|
+
}
|
|
7359
|
+
|
|
7360
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7361
|
+
query: OpenApiUtil.query(query),
|
|
7362
|
+
});
|
|
7363
|
+
let params = new $OpenApi.Params({
|
|
7364
|
+
action: "ListPolicy",
|
|
7365
|
+
version: "2018-07-20",
|
|
7366
|
+
protocol: "HTTPS",
|
|
7367
|
+
pathname: "/",
|
|
7368
|
+
method: "POST",
|
|
7369
|
+
authType: "AK",
|
|
7370
|
+
style: "RPC",
|
|
7371
|
+
reqBodyType: "formData",
|
|
7372
|
+
bodyType: "json",
|
|
7373
|
+
});
|
|
7374
|
+
return $tea.cast<ListPolicyResponse>(await this.callApi(params, req, runtime), new ListPolicyResponse({}));
|
|
7375
|
+
}
|
|
7376
|
+
|
|
7377
|
+
/**
|
|
7378
|
+
* @summary 查询策略
|
|
7379
|
+
*
|
|
7380
|
+
* @param request ListPolicyRequest
|
|
7381
|
+
* @return ListPolicyResponse
|
|
7382
|
+
*/
|
|
7383
|
+
async listPolicy(request: ListPolicyRequest): Promise<ListPolicyResponse> {
|
|
7384
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7385
|
+
return await this.listPolicyWithOptions(request, runtime);
|
|
7386
|
+
}
|
|
7387
|
+
|
|
7388
|
+
/**
|
|
7389
|
+
* @summary 查询策略绑定
|
|
7390
|
+
*
|
|
7391
|
+
* @param tmpReq ListPolicyAttachmentRequest
|
|
7392
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7393
|
+
* @return ListPolicyAttachmentResponse
|
|
7394
|
+
*/
|
|
7395
|
+
async listPolicyAttachmentWithOptions(tmpReq: ListPolicyAttachmentRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyAttachmentResponse> {
|
|
7396
|
+
Util.validateModel(tmpReq);
|
|
7397
|
+
let request = new ListPolicyAttachmentShrinkRequest({ });
|
|
7398
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7399
|
+
if (!Util.isUnset(tmpReq.ipPortProtocolList)) {
|
|
7400
|
+
request.ipPortProtocolListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
|
|
7401
|
+
}
|
|
7402
|
+
|
|
7403
|
+
let query = { };
|
|
7404
|
+
if (!Util.isUnset(request.ipPortProtocolListShrink)) {
|
|
7405
|
+
query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
|
|
7406
|
+
}
|
|
7407
|
+
|
|
7408
|
+
if (!Util.isUnset(request.pageNo)) {
|
|
7409
|
+
query["PageNo"] = request.pageNo;
|
|
7410
|
+
}
|
|
7411
|
+
|
|
7412
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
7413
|
+
query["PageSize"] = request.pageSize;
|
|
7414
|
+
}
|
|
7415
|
+
|
|
7416
|
+
if (!Util.isUnset(request.policyId)) {
|
|
7417
|
+
query["PolicyId"] = request.policyId;
|
|
7418
|
+
}
|
|
7419
|
+
|
|
7420
|
+
if (!Util.isUnset(request.policyType)) {
|
|
7421
|
+
query["PolicyType"] = request.policyType;
|
|
7422
|
+
}
|
|
7423
|
+
|
|
7424
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7425
|
+
query: OpenApiUtil.query(query),
|
|
7426
|
+
});
|
|
7427
|
+
let params = new $OpenApi.Params({
|
|
7428
|
+
action: "ListPolicyAttachment",
|
|
7429
|
+
version: "2018-07-20",
|
|
7430
|
+
protocol: "HTTPS",
|
|
7431
|
+
pathname: "/",
|
|
7432
|
+
method: "POST",
|
|
7433
|
+
authType: "AK",
|
|
7434
|
+
style: "RPC",
|
|
7435
|
+
reqBodyType: "formData",
|
|
7436
|
+
bodyType: "json",
|
|
7437
|
+
});
|
|
7438
|
+
return $tea.cast<ListPolicyAttachmentResponse>(await this.callApi(params, req, runtime), new ListPolicyAttachmentResponse({}));
|
|
7439
|
+
}
|
|
7440
|
+
|
|
7441
|
+
/**
|
|
7442
|
+
* @summary 查询策略绑定
|
|
7443
|
+
*
|
|
7444
|
+
* @param request ListPolicyAttachmentRequest
|
|
7445
|
+
* @return ListPolicyAttachmentResponse
|
|
7446
|
+
*/
|
|
7447
|
+
async listPolicyAttachment(request: ListPolicyAttachmentRequest): Promise<ListPolicyAttachmentResponse> {
|
|
7448
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7449
|
+
return await this.listPolicyAttachmentWithOptions(request, runtime);
|
|
7450
|
+
}
|
|
7451
|
+
|
|
7452
|
+
/**
|
|
7453
|
+
* @summary Queries all tags.
|
|
7454
|
+
*
|
|
7455
|
+
* @param request ListTagKeysRequest
|
|
7456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7457
|
+
* @return ListTagKeysResponse
|
|
7458
|
+
*/
|
|
5402
7459
|
async listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse> {
|
|
5403
7460
|
Util.validateModel(request);
|
|
5404
7461
|
let query = { };
|
|
@@ -5439,17 +7496,23 @@ export default class Client extends OpenApi {
|
|
|
5439
7496
|
return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
5440
7497
|
}
|
|
5441
7498
|
|
|
7499
|
+
/**
|
|
7500
|
+
* @summary Queries all tags.
|
|
7501
|
+
*
|
|
7502
|
+
* @param request ListTagKeysRequest
|
|
7503
|
+
* @return ListTagKeysResponse
|
|
7504
|
+
*/
|
|
5442
7505
|
async listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse> {
|
|
5443
7506
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5444
7507
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
5445
7508
|
}
|
|
5446
7509
|
|
|
5447
7510
|
/**
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
7511
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
7512
|
+
*
|
|
7513
|
+
* @param request ListTagResourcesRequest
|
|
7514
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7515
|
+
* @return ListTagResourcesResponse
|
|
5453
7516
|
*/
|
|
5454
7517
|
async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
5455
7518
|
Util.validateModel(request);
|
|
@@ -5496,10 +7559,10 @@ export default class Client extends OpenApi {
|
|
|
5496
7559
|
}
|
|
5497
7560
|
|
|
5498
7561
|
/**
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
7562
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
7563
|
+
*
|
|
7564
|
+
* @param request ListTagResourcesRequest
|
|
7565
|
+
* @return ListTagResourcesResponse
|
|
5503
7566
|
*/
|
|
5504
7567
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
5505
7568
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -5507,13 +7570,131 @@ export default class Client extends OpenApi {
|
|
|
5507
7570
|
}
|
|
5508
7571
|
|
|
5509
7572
|
/**
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
7573
|
+
* @summary 修改策略
|
|
7574
|
+
*
|
|
7575
|
+
* @param tmpReq ModifyPolicyRequest
|
|
7576
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7577
|
+
* @return ModifyPolicyResponse
|
|
7578
|
+
*/
|
|
7579
|
+
async modifyPolicyWithOptions(tmpReq: ModifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyResponse> {
|
|
7580
|
+
Util.validateModel(tmpReq);
|
|
7581
|
+
let request = new ModifyPolicyShrinkRequest({ });
|
|
7582
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7583
|
+
if (!Util.isUnset(tmpReq.content)) {
|
|
7584
|
+
request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
7585
|
+
}
|
|
7586
|
+
|
|
7587
|
+
let query = { };
|
|
7588
|
+
if (!Util.isUnset(request.actionType)) {
|
|
7589
|
+
query["ActionType"] = request.actionType;
|
|
7590
|
+
}
|
|
7591
|
+
|
|
7592
|
+
if (!Util.isUnset(request.contentShrink)) {
|
|
7593
|
+
query["Content"] = request.contentShrink;
|
|
7594
|
+
}
|
|
7595
|
+
|
|
7596
|
+
if (!Util.isUnset(request.id)) {
|
|
7597
|
+
query["Id"] = request.id;
|
|
7598
|
+
}
|
|
7599
|
+
|
|
7600
|
+
if (!Util.isUnset(request.name)) {
|
|
7601
|
+
query["Name"] = request.name;
|
|
7602
|
+
}
|
|
7603
|
+
|
|
7604
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7605
|
+
query: OpenApiUtil.query(query),
|
|
7606
|
+
});
|
|
7607
|
+
let params = new $OpenApi.Params({
|
|
7608
|
+
action: "ModifyPolicy",
|
|
7609
|
+
version: "2018-07-20",
|
|
7610
|
+
protocol: "HTTPS",
|
|
7611
|
+
pathname: "/",
|
|
7612
|
+
method: "POST",
|
|
7613
|
+
authType: "AK",
|
|
7614
|
+
style: "RPC",
|
|
7615
|
+
reqBodyType: "formData",
|
|
7616
|
+
bodyType: "json",
|
|
7617
|
+
});
|
|
7618
|
+
return $tea.cast<ModifyPolicyResponse>(await this.callApi(params, req, runtime), new ModifyPolicyResponse({}));
|
|
7619
|
+
}
|
|
7620
|
+
|
|
7621
|
+
/**
|
|
7622
|
+
* @summary 修改策略
|
|
7623
|
+
*
|
|
7624
|
+
* @param request ModifyPolicyRequest
|
|
7625
|
+
* @return ModifyPolicyResponse
|
|
7626
|
+
*/
|
|
7627
|
+
async modifyPolicy(request: ModifyPolicyRequest): Promise<ModifyPolicyResponse> {
|
|
7628
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7629
|
+
return await this.modifyPolicyWithOptions(request, runtime);
|
|
7630
|
+
}
|
|
7631
|
+
|
|
7632
|
+
/**
|
|
7633
|
+
* @summary 修改策略
|
|
7634
|
+
*
|
|
7635
|
+
* @param tmpReq ModifyPolicyContentRequest
|
|
7636
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7637
|
+
* @return ModifyPolicyContentResponse
|
|
7638
|
+
*/
|
|
7639
|
+
async modifyPolicyContentWithOptions(tmpReq: ModifyPolicyContentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyContentResponse> {
|
|
7640
|
+
Util.validateModel(tmpReq);
|
|
7641
|
+
let request = new ModifyPolicyContentShrinkRequest({ });
|
|
7642
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7643
|
+
if (!Util.isUnset(tmpReq.content)) {
|
|
7644
|
+
request.contentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
7645
|
+
}
|
|
7646
|
+
|
|
7647
|
+
let query = { };
|
|
7648
|
+
if (!Util.isUnset(request.contentShrink)) {
|
|
7649
|
+
query["Content"] = request.contentShrink;
|
|
7650
|
+
}
|
|
7651
|
+
|
|
7652
|
+
if (!Util.isUnset(request.id)) {
|
|
7653
|
+
query["Id"] = request.id;
|
|
7654
|
+
}
|
|
7655
|
+
|
|
7656
|
+
if (!Util.isUnset(request.name)) {
|
|
7657
|
+
query["Name"] = request.name;
|
|
7658
|
+
}
|
|
7659
|
+
|
|
7660
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7661
|
+
query: OpenApiUtil.query(query),
|
|
7662
|
+
});
|
|
7663
|
+
let params = new $OpenApi.Params({
|
|
7664
|
+
action: "ModifyPolicyContent",
|
|
7665
|
+
version: "2018-07-20",
|
|
7666
|
+
protocol: "HTTPS",
|
|
7667
|
+
pathname: "/",
|
|
7668
|
+
method: "POST",
|
|
7669
|
+
authType: "AK",
|
|
7670
|
+
style: "RPC",
|
|
7671
|
+
reqBodyType: "formData",
|
|
7672
|
+
bodyType: "json",
|
|
7673
|
+
});
|
|
7674
|
+
return $tea.cast<ModifyPolicyContentResponse>(await this.callApi(params, req, runtime), new ModifyPolicyContentResponse({}));
|
|
7675
|
+
}
|
|
7676
|
+
|
|
7677
|
+
/**
|
|
7678
|
+
* @summary 修改策略
|
|
7679
|
+
*
|
|
7680
|
+
* @param request ModifyPolicyContentRequest
|
|
7681
|
+
* @return ModifyPolicyContentResponse
|
|
7682
|
+
*/
|
|
7683
|
+
async modifyPolicyContent(request: ModifyPolicyContentRequest): Promise<ModifyPolicyContentResponse> {
|
|
7684
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7685
|
+
return await this.modifyPolicyContentWithOptions(request, runtime);
|
|
7686
|
+
}
|
|
7687
|
+
|
|
7688
|
+
/**
|
|
7689
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
7690
|
+
*
|
|
7691
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
7692
|
+
* ## Limits
|
|
7693
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7694
|
+
*
|
|
7695
|
+
* @param request ModifyRemarkRequest
|
|
7696
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7697
|
+
* @return ModifyRemarkResponse
|
|
5517
7698
|
*/
|
|
5518
7699
|
async modifyRemarkWithOptions(request: ModifyRemarkRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRemarkResponse> {
|
|
5519
7700
|
Util.validateModel(request);
|
|
@@ -5552,18 +7733,27 @@ export default class Client extends OpenApi {
|
|
|
5552
7733
|
}
|
|
5553
7734
|
|
|
5554
7735
|
/**
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
7736
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
7737
|
+
*
|
|
7738
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
7739
|
+
* ## Limits
|
|
7740
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7741
|
+
*
|
|
7742
|
+
* @param request ModifyRemarkRequest
|
|
7743
|
+
* @return ModifyRemarkResponse
|
|
5561
7744
|
*/
|
|
5562
7745
|
async modifyRemark(request: ModifyRemarkRequest): Promise<ModifyRemarkResponse> {
|
|
5563
7746
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5564
7747
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
5565
7748
|
}
|
|
5566
7749
|
|
|
7750
|
+
/**
|
|
7751
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
7752
|
+
*
|
|
7753
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
7754
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7755
|
+
* @return QuerySchedruleOnDemandResponse
|
|
7756
|
+
*/
|
|
5567
7757
|
async querySchedruleOnDemandWithOptions(request: QuerySchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<QuerySchedruleOnDemandResponse> {
|
|
5568
7758
|
Util.validateModel(request);
|
|
5569
7759
|
let query = { };
|
|
@@ -5592,11 +7782,24 @@ export default class Client extends OpenApi {
|
|
|
5592
7782
|
return $tea.cast<QuerySchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
5593
7783
|
}
|
|
5594
7784
|
|
|
7785
|
+
/**
|
|
7786
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
7787
|
+
*
|
|
7788
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
7789
|
+
* @return QuerySchedruleOnDemandResponse
|
|
7790
|
+
*/
|
|
5595
7791
|
async querySchedruleOnDemand(request: QuerySchedruleOnDemandRequest): Promise<QuerySchedruleOnDemandResponse> {
|
|
5596
7792
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5597
7793
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
5598
7794
|
}
|
|
5599
7795
|
|
|
7796
|
+
/**
|
|
7797
|
+
* @summary 释放原生防护全局实例
|
|
7798
|
+
*
|
|
7799
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
7800
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7801
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
7802
|
+
*/
|
|
5600
7803
|
async releaseDdosOriginInstanceWithOptions(request: ReleaseDdosOriginInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDdosOriginInstanceResponse> {
|
|
5601
7804
|
Util.validateModel(request);
|
|
5602
7805
|
let query = { };
|
|
@@ -5621,11 +7824,22 @@ export default class Client extends OpenApi {
|
|
|
5621
7824
|
return $tea.cast<ReleaseDdosOriginInstanceResponse>(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
5622
7825
|
}
|
|
5623
7826
|
|
|
7827
|
+
/**
|
|
7828
|
+
* @summary 释放原生防护全局实例
|
|
7829
|
+
*
|
|
7830
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
7831
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
7832
|
+
*/
|
|
5624
7833
|
async releaseDdosOriginInstance(request: ReleaseDdosOriginInstanceRequest): Promise<ReleaseDdosOriginInstanceResponse> {
|
|
5625
7834
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5626
7835
|
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
5627
7836
|
}
|
|
5628
7837
|
|
|
7838
|
+
/**
|
|
7839
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
7840
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7841
|
+
* @return SetInstanceModeOnDemandResponse
|
|
7842
|
+
*/
|
|
5629
7843
|
async setInstanceModeOnDemandWithOptions(request: SetInstanceModeOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceModeOnDemandResponse> {
|
|
5630
7844
|
Util.validateModel(request);
|
|
5631
7845
|
let query = { };
|
|
@@ -5658,19 +7872,25 @@ export default class Client extends OpenApi {
|
|
|
5658
7872
|
return $tea.cast<SetInstanceModeOnDemandResponse>(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
5659
7873
|
}
|
|
5660
7874
|
|
|
7875
|
+
/**
|
|
7876
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
7877
|
+
* @return SetInstanceModeOnDemandResponse
|
|
7878
|
+
*/
|
|
5661
7879
|
async setInstanceModeOnDemand(request: SetInstanceModeOnDemandRequest): Promise<SetInstanceModeOnDemandResponse> {
|
|
5662
7880
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5663
7881
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
5664
7882
|
}
|
|
5665
7883
|
|
|
5666
7884
|
/**
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
7885
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
7886
|
+
*
|
|
7887
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
7888
|
+
* ## Limits
|
|
7889
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7890
|
+
*
|
|
7891
|
+
* @param request TagResourcesRequest
|
|
7892
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7893
|
+
* @return TagResourcesResponse
|
|
5674
7894
|
*/
|
|
5675
7895
|
async tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
5676
7896
|
Util.validateModel(request);
|
|
@@ -5713,18 +7933,27 @@ export default class Client extends OpenApi {
|
|
|
5713
7933
|
}
|
|
5714
7934
|
|
|
5715
7935
|
/**
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
7936
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
7937
|
+
*
|
|
7938
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
7939
|
+
* ## Limits
|
|
7940
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7941
|
+
*
|
|
7942
|
+
* @param request TagResourcesRequest
|
|
7943
|
+
* @return TagResourcesResponse
|
|
5722
7944
|
*/
|
|
5723
7945
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
5724
7946
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5725
7947
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
5726
7948
|
}
|
|
5727
7949
|
|
|
7950
|
+
/**
|
|
7951
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
7952
|
+
*
|
|
7953
|
+
* @param request UntagResourcesRequest
|
|
7954
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7955
|
+
* @return UntagResourcesResponse
|
|
7956
|
+
*/
|
|
5728
7957
|
async untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
5729
7958
|
Util.validateModel(request);
|
|
5730
7959
|
let query = { };
|
|
@@ -5769,6 +7998,12 @@ export default class Client extends OpenApi {
|
|
|
5769
7998
|
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
5770
7999
|
}
|
|
5771
8000
|
|
|
8001
|
+
/**
|
|
8002
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
8003
|
+
*
|
|
8004
|
+
* @param request UntagResourcesRequest
|
|
8005
|
+
* @return UntagResourcesResponse
|
|
8006
|
+
*/
|
|
5772
8007
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
5773
8008
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5774
8009
|
return await this.untagResourcesWithOptions(request, runtime);
|