@alicloud/esa20240910 2.5.1 → 2.5.3
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 +34 -195
- package/dist/client.js +71 -246
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +93 -350
package/dist/client.d.ts
CHANGED
|
@@ -10423,6 +10423,7 @@ export declare class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
10423
10423
|
* 20
|
|
10424
10424
|
*/
|
|
10425
10425
|
pageSize?: number;
|
|
10426
|
+
protectionLevel?: number;
|
|
10426
10427
|
queryArgs?: ListWafManagedRulesRequestQueryArgs;
|
|
10427
10428
|
/**
|
|
10428
10429
|
* @remarks
|
|
@@ -10474,6 +10475,7 @@ export declare class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
10474
10475
|
* 20
|
|
10475
10476
|
*/
|
|
10476
10477
|
pageSize?: number;
|
|
10478
|
+
protectionLevel?: number;
|
|
10477
10479
|
queryArgsShrink?: string;
|
|
10478
10480
|
/**
|
|
10479
10481
|
* @remarks
|
|
@@ -10893,6 +10895,7 @@ export declare class ListWafTemplateRulesRequest extends $tea.Model {
|
|
|
10893
10895
|
*/
|
|
10894
10896
|
phase?: string;
|
|
10895
10897
|
queryArgs?: ListWafTemplateRulesRequestQueryArgs;
|
|
10898
|
+
siteId?: number;
|
|
10896
10899
|
static names(): {
|
|
10897
10900
|
[key: string]: string;
|
|
10898
10901
|
};
|
|
@@ -10910,6 +10913,7 @@ export declare class ListWafTemplateRulesShrinkRequest extends $tea.Model {
|
|
|
10910
10913
|
*/
|
|
10911
10914
|
phase?: string;
|
|
10912
10915
|
queryArgsShrink?: string;
|
|
10916
|
+
siteId?: number;
|
|
10913
10917
|
static names(): {
|
|
10914
10918
|
[key: string]: string;
|
|
10915
10919
|
};
|
|
@@ -12378,156 +12382,6 @@ export declare class StopScheduledPreloadExecutionResponse extends $tea.Model {
|
|
|
12378
12382
|
[key: string]: any;
|
|
12379
12383
|
});
|
|
12380
12384
|
}
|
|
12381
|
-
export declare class TransformExpressionToMatchRequest extends $tea.Model {
|
|
12382
|
-
/**
|
|
12383
|
-
* @example
|
|
12384
|
-
* http_bot
|
|
12385
|
-
*/
|
|
12386
|
-
expression?: string;
|
|
12387
|
-
/**
|
|
12388
|
-
* @example
|
|
12389
|
-
* http_bot
|
|
12390
|
-
*/
|
|
12391
|
-
phase?: string;
|
|
12392
|
-
/**
|
|
12393
|
-
* @example
|
|
12394
|
-
* 1
|
|
12395
|
-
*/
|
|
12396
|
-
siteId?: number;
|
|
12397
|
-
static names(): {
|
|
12398
|
-
[key: string]: string;
|
|
12399
|
-
};
|
|
12400
|
-
static types(): {
|
|
12401
|
-
[key: string]: any;
|
|
12402
|
-
};
|
|
12403
|
-
constructor(map?: {
|
|
12404
|
-
[key: string]: any;
|
|
12405
|
-
});
|
|
12406
|
-
}
|
|
12407
|
-
export declare class TransformExpressionToMatchResponseBody extends $tea.Model {
|
|
12408
|
-
match?: WafRuleMatch;
|
|
12409
|
-
/**
|
|
12410
|
-
* @remarks
|
|
12411
|
-
* Id of the request
|
|
12412
|
-
*
|
|
12413
|
-
* @example
|
|
12414
|
-
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
12415
|
-
*/
|
|
12416
|
-
requestId?: string;
|
|
12417
|
-
static names(): {
|
|
12418
|
-
[key: string]: string;
|
|
12419
|
-
};
|
|
12420
|
-
static types(): {
|
|
12421
|
-
[key: string]: any;
|
|
12422
|
-
};
|
|
12423
|
-
constructor(map?: {
|
|
12424
|
-
[key: string]: any;
|
|
12425
|
-
});
|
|
12426
|
-
}
|
|
12427
|
-
export declare class TransformExpressionToMatchResponse extends $tea.Model {
|
|
12428
|
-
headers?: {
|
|
12429
|
-
[key: string]: string;
|
|
12430
|
-
};
|
|
12431
|
-
statusCode?: number;
|
|
12432
|
-
body?: TransformExpressionToMatchResponseBody;
|
|
12433
|
-
static names(): {
|
|
12434
|
-
[key: string]: string;
|
|
12435
|
-
};
|
|
12436
|
-
static types(): {
|
|
12437
|
-
[key: string]: any;
|
|
12438
|
-
};
|
|
12439
|
-
constructor(map?: {
|
|
12440
|
-
[key: string]: any;
|
|
12441
|
-
});
|
|
12442
|
-
}
|
|
12443
|
-
export declare class TransformMatchToExpressionRequest extends $tea.Model {
|
|
12444
|
-
/**
|
|
12445
|
-
* @example
|
|
12446
|
-
* http_bot
|
|
12447
|
-
*/
|
|
12448
|
-
match?: WafRuleMatch;
|
|
12449
|
-
/**
|
|
12450
|
-
* @example
|
|
12451
|
-
* http_bot
|
|
12452
|
-
*/
|
|
12453
|
-
phase?: string;
|
|
12454
|
-
/**
|
|
12455
|
-
* @example
|
|
12456
|
-
* 1
|
|
12457
|
-
*/
|
|
12458
|
-
siteId?: number;
|
|
12459
|
-
static names(): {
|
|
12460
|
-
[key: string]: string;
|
|
12461
|
-
};
|
|
12462
|
-
static types(): {
|
|
12463
|
-
[key: string]: any;
|
|
12464
|
-
};
|
|
12465
|
-
constructor(map?: {
|
|
12466
|
-
[key: string]: any;
|
|
12467
|
-
});
|
|
12468
|
-
}
|
|
12469
|
-
export declare class TransformMatchToExpressionShrinkRequest extends $tea.Model {
|
|
12470
|
-
/**
|
|
12471
|
-
* @example
|
|
12472
|
-
* http_bot
|
|
12473
|
-
*/
|
|
12474
|
-
matchShrink?: string;
|
|
12475
|
-
/**
|
|
12476
|
-
* @example
|
|
12477
|
-
* http_bot
|
|
12478
|
-
*/
|
|
12479
|
-
phase?: string;
|
|
12480
|
-
/**
|
|
12481
|
-
* @example
|
|
12482
|
-
* 1
|
|
12483
|
-
*/
|
|
12484
|
-
siteId?: number;
|
|
12485
|
-
static names(): {
|
|
12486
|
-
[key: string]: string;
|
|
12487
|
-
};
|
|
12488
|
-
static types(): {
|
|
12489
|
-
[key: string]: any;
|
|
12490
|
-
};
|
|
12491
|
-
constructor(map?: {
|
|
12492
|
-
[key: string]: any;
|
|
12493
|
-
});
|
|
12494
|
-
}
|
|
12495
|
-
export declare class TransformMatchToExpressionResponseBody extends $tea.Model {
|
|
12496
|
-
expression?: string;
|
|
12497
|
-
/**
|
|
12498
|
-
* @remarks
|
|
12499
|
-
* Id of the request
|
|
12500
|
-
*
|
|
12501
|
-
* @example
|
|
12502
|
-
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
12503
|
-
*/
|
|
12504
|
-
requestId?: string;
|
|
12505
|
-
static names(): {
|
|
12506
|
-
[key: string]: string;
|
|
12507
|
-
};
|
|
12508
|
-
static types(): {
|
|
12509
|
-
[key: string]: any;
|
|
12510
|
-
};
|
|
12511
|
-
constructor(map?: {
|
|
12512
|
-
[key: string]: any;
|
|
12513
|
-
});
|
|
12514
|
-
}
|
|
12515
|
-
export declare class TransformMatchToExpressionResponse extends $tea.Model {
|
|
12516
|
-
headers?: {
|
|
12517
|
-
[key: string]: string;
|
|
12518
|
-
};
|
|
12519
|
-
statusCode?: number;
|
|
12520
|
-
body?: TransformMatchToExpressionResponseBody;
|
|
12521
|
-
static names(): {
|
|
12522
|
-
[key: string]: string;
|
|
12523
|
-
};
|
|
12524
|
-
static types(): {
|
|
12525
|
-
[key: string]: any;
|
|
12526
|
-
};
|
|
12527
|
-
constructor(map?: {
|
|
12528
|
-
[key: string]: any;
|
|
12529
|
-
});
|
|
12530
|
-
}
|
|
12531
12385
|
export declare class UntagResourcesRequest extends $tea.Model {
|
|
12532
12386
|
/**
|
|
12533
12387
|
* @remarks
|
|
@@ -14527,6 +14381,7 @@ export declare class WafBatchRuleSharedActions extends $tea.Model {
|
|
|
14527
14381
|
});
|
|
14528
14382
|
}
|
|
14529
14383
|
export declare class WafRuleConfigActionsBypass extends $tea.Model {
|
|
14384
|
+
customRules?: number[];
|
|
14530
14385
|
regularRules?: number[];
|
|
14531
14386
|
regularTypes?: string[];
|
|
14532
14387
|
skip?: string;
|
|
@@ -14878,6 +14733,22 @@ export declare class FieldContentValueFieldList extends $tea.Model {
|
|
|
14878
14733
|
[key: string]: any;
|
|
14879
14734
|
});
|
|
14880
14735
|
}
|
|
14736
|
+
export declare class BatchCreateRecordsRequestRecordListAuthConf extends $tea.Model {
|
|
14737
|
+
accessKey?: string;
|
|
14738
|
+
authType?: string;
|
|
14739
|
+
region?: string;
|
|
14740
|
+
secretKey?: string;
|
|
14741
|
+
version?: string;
|
|
14742
|
+
static names(): {
|
|
14743
|
+
[key: string]: string;
|
|
14744
|
+
};
|
|
14745
|
+
static types(): {
|
|
14746
|
+
[key: string]: any;
|
|
14747
|
+
};
|
|
14748
|
+
constructor(map?: {
|
|
14749
|
+
[key: string]: any;
|
|
14750
|
+
});
|
|
14751
|
+
}
|
|
14881
14752
|
export declare class BatchCreateRecordsRequestRecordListData extends $tea.Model {
|
|
14882
14753
|
/**
|
|
14883
14754
|
* @example
|
|
@@ -14960,6 +14831,7 @@ export declare class BatchCreateRecordsRequestRecordListData extends $tea.Model
|
|
|
14960
14831
|
});
|
|
14961
14832
|
}
|
|
14962
14833
|
export declare class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
14834
|
+
authConf?: BatchCreateRecordsRequestRecordListAuthConf;
|
|
14963
14835
|
/**
|
|
14964
14836
|
* @example
|
|
14965
14837
|
* web
|
|
@@ -16615,11 +16487,6 @@ export declare class GetEdgeContainerAppVersionResponseBodyVersionContainers ext
|
|
|
16615
16487
|
* {\\"exec\\":{\\"command\\":[\\"touch\\",\\"/home/admin/checkpoststartV1\\"]}}
|
|
16616
16488
|
*/
|
|
16617
16489
|
postStart?: string;
|
|
16618
|
-
/**
|
|
16619
|
-
* @example
|
|
16620
|
-
* sh prestart.sh "echo hello world"
|
|
16621
|
-
*/
|
|
16622
|
-
preStart?: string;
|
|
16623
16490
|
/**
|
|
16624
16491
|
* @example
|
|
16625
16492
|
* sh prestop.sh "echo hello world"
|
|
@@ -17635,11 +17502,6 @@ export declare class ListEdgeContainerAppVersionsResponseBodyVersionsContainers
|
|
|
17635
17502
|
* {\\"exec\\":{\\"command\\":[\\"bash\\",\\"-c\\",\\"cd /home/admin/
|
|
17636
17503
|
*/
|
|
17637
17504
|
postStart?: string;
|
|
17638
|
-
/**
|
|
17639
|
-
* @example
|
|
17640
|
-
* sh start.sh
|
|
17641
|
-
*/
|
|
17642
|
-
preStart?: string;
|
|
17643
17505
|
/**
|
|
17644
17506
|
* @example
|
|
17645
17507
|
* sh stop.sh
|
|
@@ -18870,6 +18732,7 @@ export declare class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $
|
|
|
18870
18732
|
* PREPAY
|
|
18871
18733
|
*/
|
|
18872
18734
|
billingMode?: string;
|
|
18735
|
+
botInstanceLevel?: string;
|
|
18873
18736
|
/**
|
|
18874
18737
|
* @example
|
|
18875
18738
|
* domestic,overseas
|
|
@@ -18880,11 +18743,17 @@ export declare class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $
|
|
|
18880
18743
|
* YYYY-MM-DDThh:mm:ssZ
|
|
18881
18744
|
*/
|
|
18882
18745
|
createTime?: string;
|
|
18746
|
+
crossborderTraffic?: string;
|
|
18747
|
+
ddosBurstableDomesticProtection?: string;
|
|
18748
|
+
ddosBurstableOverseasProtection?: string;
|
|
18749
|
+
ddosInstanceLevel?: string;
|
|
18883
18750
|
/**
|
|
18884
18751
|
* @example
|
|
18885
18752
|
* 3
|
|
18886
18753
|
*/
|
|
18887
18754
|
duration?: number;
|
|
18755
|
+
edgeRoutineRquest?: string;
|
|
18756
|
+
edgeWafRequest?: string;
|
|
18888
18757
|
/**
|
|
18889
18758
|
* @example
|
|
18890
18759
|
* YYYY-MM-DDThh:mm:ssZ
|
|
@@ -18895,11 +18764,14 @@ export declare class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $
|
|
|
18895
18764
|
* sp-xcdn-96wblslz****
|
|
18896
18765
|
*/
|
|
18897
18766
|
instanceId?: string;
|
|
18767
|
+
layer4Traffic?: string;
|
|
18768
|
+
layer4TrafficIntl?: string;
|
|
18898
18769
|
/**
|
|
18899
18770
|
* @example
|
|
18900
18771
|
* basic
|
|
18901
18772
|
*/
|
|
18902
18773
|
planName?: string;
|
|
18774
|
+
planTraffic?: string;
|
|
18903
18775
|
/**
|
|
18904
18776
|
* @example
|
|
18905
18777
|
* normal
|
|
@@ -18911,6 +18783,8 @@ export declare class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $
|
|
|
18911
18783
|
*/
|
|
18912
18784
|
siteQuota?: string;
|
|
18913
18785
|
sites?: ListUserRatePlanInstancesResponseBodyInstanceInfoSites[];
|
|
18786
|
+
smartRoutingRequest?: string;
|
|
18787
|
+
staticRequest?: string;
|
|
18914
18788
|
/**
|
|
18915
18789
|
* @example
|
|
18916
18790
|
* online
|
|
@@ -18937,11 +18811,6 @@ export declare class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
18937
18811
|
* example
|
|
18938
18812
|
*/
|
|
18939
18813
|
idNameLike?: string;
|
|
18940
|
-
/**
|
|
18941
|
-
* @example
|
|
18942
|
-
* 1
|
|
18943
|
-
*/
|
|
18944
|
-
protectionLevel?: number;
|
|
18945
18814
|
protectionLevels?: number[];
|
|
18946
18815
|
/**
|
|
18947
18816
|
* @example
|
|
@@ -21927,36 +21796,6 @@ export default class Client extends OpenApi {
|
|
|
21927
21796
|
* @returns StopScheduledPreloadExecutionResponse
|
|
21928
21797
|
*/
|
|
21929
21798
|
stopScheduledPreloadExecution(request: StopScheduledPreloadExecutionRequest): Promise<StopScheduledPreloadExecutionResponse>;
|
|
21930
|
-
/**
|
|
21931
|
-
* 将表达式转换为匹配项
|
|
21932
|
-
*
|
|
21933
|
-
* @param request - TransformExpressionToMatchRequest
|
|
21934
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
21935
|
-
* @returns TransformExpressionToMatchResponse
|
|
21936
|
-
*/
|
|
21937
|
-
transformExpressionToMatchWithOptions(request: TransformExpressionToMatchRequest, runtime: $Util.RuntimeOptions): Promise<TransformExpressionToMatchResponse>;
|
|
21938
|
-
/**
|
|
21939
|
-
* 将表达式转换为匹配项
|
|
21940
|
-
*
|
|
21941
|
-
* @param request - TransformExpressionToMatchRequest
|
|
21942
|
-
* @returns TransformExpressionToMatchResponse
|
|
21943
|
-
*/
|
|
21944
|
-
transformExpressionToMatch(request: TransformExpressionToMatchRequest): Promise<TransformExpressionToMatchResponse>;
|
|
21945
|
-
/**
|
|
21946
|
-
* 将匹配项转换为表达式
|
|
21947
|
-
*
|
|
21948
|
-
* @param tmpReq - TransformMatchToExpressionRequest
|
|
21949
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
21950
|
-
* @returns TransformMatchToExpressionResponse
|
|
21951
|
-
*/
|
|
21952
|
-
transformMatchToExpressionWithOptions(tmpReq: TransformMatchToExpressionRequest, runtime: $Util.RuntimeOptions): Promise<TransformMatchToExpressionResponse>;
|
|
21953
|
-
/**
|
|
21954
|
-
* 将匹配项转换为表达式
|
|
21955
|
-
*
|
|
21956
|
-
* @param request - TransformMatchToExpressionRequest
|
|
21957
|
-
* @returns TransformMatchToExpressionResponse
|
|
21958
|
-
*/
|
|
21959
|
-
transformMatchToExpression(request: TransformMatchToExpressionRequest): Promise<TransformMatchToExpressionResponse>;
|
|
21960
21799
|
/**
|
|
21961
21800
|
* 为资源列表统一解绑标签
|
|
21962
21801
|
*
|