@alicloud/esa20240910 2.18.0 → 2.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +77 -16
- package/dist/client.js +92 -26
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +133 -17
package/dist/client.d.ts
CHANGED
|
@@ -212,6 +212,19 @@ export declare class WafRuleConfigRateLimit extends $dara.Model {
|
|
|
212
212
|
[key: string]: any;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
|
+
export declare class WafRuleConfigSecurityLevel extends $dara.Model {
|
|
216
|
+
value?: string;
|
|
217
|
+
static names(): {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
};
|
|
220
|
+
static types(): {
|
|
221
|
+
[key: string]: any;
|
|
222
|
+
};
|
|
223
|
+
validate(): void;
|
|
224
|
+
constructor(map?: {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
});
|
|
227
|
+
}
|
|
215
228
|
export declare class WafRuleMatch2CriteriaCriteriaCriteria extends $dara.Model {
|
|
216
229
|
convertToLower?: boolean;
|
|
217
230
|
matchOperator?: string;
|
|
@@ -6912,6 +6925,7 @@ export declare class GetWafFilterResponseBodyFilterFieldsLogics extends $dara.Mo
|
|
|
6912
6925
|
* 1
|
|
6913
6926
|
*/
|
|
6914
6927
|
attributes?: number;
|
|
6928
|
+
enable?: boolean;
|
|
6915
6929
|
/**
|
|
6916
6930
|
* @remarks
|
|
6917
6931
|
* The type of the value input box. Valid values:
|
|
@@ -6925,6 +6939,7 @@ export declare class GetWafFilterResponseBodyFilterFieldsLogics extends $dara.Mo
|
|
|
6925
6939
|
* input:single
|
|
6926
6940
|
*/
|
|
6927
6941
|
kind?: string;
|
|
6942
|
+
minPlan?: string;
|
|
6928
6943
|
/**
|
|
6929
6944
|
* @remarks
|
|
6930
6945
|
* Indicates whether the match result is inverted.
|
|
@@ -7037,6 +7052,7 @@ export declare class GetWafFilterResponseBodyFilterFieldsSelector extends $dara.
|
|
|
7037
7052
|
});
|
|
7038
7053
|
}
|
|
7039
7054
|
export declare class GetWafFilterResponseBodyFilterFields extends $dara.Model {
|
|
7055
|
+
enable?: boolean;
|
|
7040
7056
|
/**
|
|
7041
7057
|
* @remarks
|
|
7042
7058
|
* The field for matched objects in the system.
|
|
@@ -7058,6 +7074,7 @@ export declare class GetWafFilterResponseBodyFilterFields extends $dara.Model {
|
|
|
7058
7074
|
* The logical conditions.
|
|
7059
7075
|
*/
|
|
7060
7076
|
logics?: GetWafFilterResponseBodyFilterFieldsLogics[];
|
|
7077
|
+
minPlan?: string;
|
|
7061
7078
|
/**
|
|
7062
7079
|
* @remarks
|
|
7063
7080
|
* The selector, which defines how to select a matched object.
|
|
@@ -11027,6 +11044,7 @@ export declare class ListOriginRulesResponseBodyConfigs extends $dara.Model {
|
|
|
11027
11044
|
* 4433
|
|
11028
11045
|
*/
|
|
11029
11046
|
originHttpsPort?: string;
|
|
11047
|
+
originMtls?: string;
|
|
11030
11048
|
/**
|
|
11031
11049
|
* @remarks
|
|
11032
11050
|
* Protocol used for the origin request. Value range:
|
|
@@ -11046,6 +11064,7 @@ export declare class ListOriginRulesResponseBodyConfigs extends $dara.Model {
|
|
|
11046
11064
|
* origin.example.com
|
|
11047
11065
|
*/
|
|
11048
11066
|
originSni?: string;
|
|
11067
|
+
originVerify?: string;
|
|
11049
11068
|
/**
|
|
11050
11069
|
* @remarks
|
|
11051
11070
|
* Use range slicing to download files from the origin. The value range is:
|
|
@@ -14257,6 +14276,7 @@ export declare class WafRuleConfig extends $dara.Model {
|
|
|
14257
14276
|
name?: string;
|
|
14258
14277
|
notes?: string;
|
|
14259
14278
|
rateLimit?: WafRuleConfigRateLimit;
|
|
14279
|
+
securityLevel?: WafRuleConfigSecurityLevel;
|
|
14260
14280
|
sigchl?: string[];
|
|
14261
14281
|
status?: string;
|
|
14262
14282
|
timer?: WafTimer;
|
|
@@ -18967,6 +18987,7 @@ export declare class CreateOriginRuleRequest extends $dara.Model {
|
|
|
18967
18987
|
* 4433
|
|
18968
18988
|
*/
|
|
18969
18989
|
originHttpsPort?: string;
|
|
18990
|
+
originMtls?: string;
|
|
18970
18991
|
/**
|
|
18971
18992
|
* @remarks
|
|
18972
18993
|
* Protocol used for the origin request. Possible values:
|
|
@@ -18986,6 +19007,7 @@ export declare class CreateOriginRuleRequest extends $dara.Model {
|
|
|
18986
19007
|
* origin.example.com
|
|
18987
19008
|
*/
|
|
18988
19009
|
originSni?: string;
|
|
19010
|
+
originVerify?: string;
|
|
18989
19011
|
/**
|
|
18990
19012
|
* @remarks
|
|
18991
19013
|
* Use range chunking for downloading files from the origin. Possible values:
|
|
@@ -20887,7 +20909,7 @@ export declare class CreateSiteDeliveryTaskResponseBody extends $dara.Model {
|
|
|
20887
20909
|
* @example
|
|
20888
20910
|
* 123456****
|
|
20889
20911
|
*/
|
|
20890
|
-
siteId?:
|
|
20912
|
+
siteId?: number;
|
|
20891
20913
|
/**
|
|
20892
20914
|
* @remarks
|
|
20893
20915
|
* The name of the delivery task.
|
|
@@ -22094,7 +22116,7 @@ export declare class DeactivateVersionManagementResponse extends $dara.Model {
|
|
|
22094
22116
|
export declare class DeleteCacheRuleRequest extends $dara.Model {
|
|
22095
22117
|
/**
|
|
22096
22118
|
* @remarks
|
|
22097
|
-
* ConfigId of the configuration, which can be obtained by calling the [ListCacheRules](
|
|
22119
|
+
* ConfigId of the configuration, which can be obtained by calling the [ListCacheRules](https://help.aliyun.com/document_detail/2866985.html) interface.
|
|
22098
22120
|
*
|
|
22099
22121
|
* This parameter is required.
|
|
22100
22122
|
*
|
|
@@ -23321,7 +23343,7 @@ export declare class DeleteListResponse extends $dara.Model {
|
|
|
23321
23343
|
export declare class DeleteLoadBalancerRequest extends $dara.Model {
|
|
23322
23344
|
/**
|
|
23323
23345
|
* @remarks
|
|
23324
|
-
* The ID of the load balancer, used to uniquely identify the load balancer to be queried. This ID is returned directly upon creation of the load balancer and can also be obtained through the [ListLoadBalancers](
|
|
23346
|
+
* The ID of the load balancer, used to uniquely identify the load balancer to be queried. This ID is returned directly upon creation of the load balancer and can also be obtained through the [ListLoadBalancers](https://help.aliyun.com/document_detail/2868897.html) interface for querying all load balancers under a site.
|
|
23325
23347
|
*
|
|
23326
23348
|
* This parameter is required.
|
|
23327
23349
|
*
|
|
@@ -23390,7 +23412,7 @@ export declare class DeleteLoadBalancerResponse extends $dara.Model {
|
|
|
23390
23412
|
export declare class DeleteNetworkOptimizationRequest extends $dara.Model {
|
|
23391
23413
|
/**
|
|
23392
23414
|
* @remarks
|
|
23393
|
-
* ConfigId of the configuration, which can be obtained by calling the
|
|
23415
|
+
* ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations.
|
|
23394
23416
|
*
|
|
23395
23417
|
* This parameter is required.
|
|
23396
23418
|
*
|
|
@@ -23459,7 +23481,7 @@ export declare class DeleteNetworkOptimizationResponse extends $dara.Model {
|
|
|
23459
23481
|
export declare class DeleteOriginPoolRequest extends $dara.Model {
|
|
23460
23482
|
/**
|
|
23461
23483
|
* @remarks
|
|
23462
|
-
* The ID of the origin address pool, which can be obtained by calling the [ListOriginPools](
|
|
23484
|
+
* The ID of the origin address pool, which can be obtained by calling the [ListOriginPools](https://help.aliyun.com/document_detail/2863947.html) API.
|
|
23463
23485
|
*
|
|
23464
23486
|
* This parameter is required.
|
|
23465
23487
|
*
|
|
@@ -23587,7 +23609,7 @@ export declare class DeleteOriginProtectionResponse extends $dara.Model {
|
|
|
23587
23609
|
export declare class DeleteOriginRuleRequest extends $dara.Model {
|
|
23588
23610
|
/**
|
|
23589
23611
|
* @remarks
|
|
23590
|
-
* ConfigId of the configuration, which can be obtained by calling the [ListOriginRules](
|
|
23612
|
+
* ConfigId of the configuration, which can be obtained by calling the [ListOriginRules](https://help.aliyun.com/document_detail/2866989.html) interface.
|
|
23591
23613
|
*
|
|
23592
23614
|
* This parameter is required.
|
|
23593
23615
|
*
|
|
@@ -25924,6 +25946,9 @@ export declare class DescribePurgeTasksResponse extends $dara.Model {
|
|
|
25924
25946
|
}
|
|
25925
25947
|
export declare class DescribeRatePlanInstanceStatusRequest extends $dara.Model {
|
|
25926
25948
|
/**
|
|
25949
|
+
* @remarks
|
|
25950
|
+
* Instance ID, obtained from the [ListUserRatePlanInstances](~~ListUserRatePlanInstances~~) API.
|
|
25951
|
+
*
|
|
25927
25952
|
* @example
|
|
25928
25953
|
* xcdn-91fknmb80f0g***
|
|
25929
25954
|
*/
|
|
@@ -25941,18 +25966,31 @@ export declare class DescribeRatePlanInstanceStatusRequest extends $dara.Model {
|
|
|
25941
25966
|
}
|
|
25942
25967
|
export declare class DescribeRatePlanInstanceStatusResponseBody extends $dara.Model {
|
|
25943
25968
|
/**
|
|
25969
|
+
* @remarks
|
|
25970
|
+
* Instance ID.
|
|
25971
|
+
*
|
|
25944
25972
|
* @example
|
|
25945
25973
|
* xcdn-91fknmb80f0g***
|
|
25946
25974
|
*/
|
|
25947
25975
|
instanceId?: string;
|
|
25948
25976
|
/**
|
|
25977
|
+
* @remarks
|
|
25978
|
+
* Instance status, with possible values:
|
|
25979
|
+
* - running: Running
|
|
25980
|
+
* - renewing: Renewing
|
|
25981
|
+
* - upgrading: Upgrading
|
|
25982
|
+
* - releasePrepaidService: Prepaid service released due to expiration
|
|
25983
|
+
* - creating: Creating
|
|
25984
|
+
* - downgrading: Downgrading
|
|
25985
|
+
* - ceasePrepaidService: Prepaid service ceased upon expiration
|
|
25986
|
+
*
|
|
25949
25987
|
* @example
|
|
25950
25988
|
* running
|
|
25951
25989
|
*/
|
|
25952
25990
|
instanceStatus?: string;
|
|
25953
25991
|
/**
|
|
25954
25992
|
* @remarks
|
|
25955
|
-
*
|
|
25993
|
+
* Request ID.
|
|
25956
25994
|
*
|
|
25957
25995
|
* @example
|
|
25958
25996
|
* 60423A7F-A83D-1E24-B80E-86DD25790759
|
|
@@ -29576,7 +29614,7 @@ export declare class GetListResponse extends $dara.Model {
|
|
|
29576
29614
|
export declare class GetLoadBalancerRequest extends $dara.Model {
|
|
29577
29615
|
/**
|
|
29578
29616
|
* @remarks
|
|
29579
|
-
* The ID of the load balancer, used to uniquely identify the load balancer to be queried. This ID is returned directly when the load balancer is created, or it can be obtained through the [ListLoadBalancers](
|
|
29617
|
+
* The ID of the load balancer, used to uniquely identify the load balancer to be queried. This ID is returned directly when the load balancer is created, or it can be obtained through the [ListLoadBalancers](https://help.aliyun.com/document_detail/2868897.html) interface for querying all load balancers under a site.
|
|
29580
29618
|
*
|
|
29581
29619
|
* This parameter is required.
|
|
29582
29620
|
*
|
|
@@ -29877,7 +29915,7 @@ export declare class GetManagedTransformResponse extends $dara.Model {
|
|
|
29877
29915
|
export declare class GetNetworkOptimizationRequest extends $dara.Model {
|
|
29878
29916
|
/**
|
|
29879
29917
|
* @remarks
|
|
29880
|
-
* ConfigId of the configuration, which can be obtained by calling the
|
|
29918
|
+
* ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations.
|
|
29881
29919
|
*
|
|
29882
29920
|
* This parameter is required.
|
|
29883
29921
|
*
|
|
@@ -30382,6 +30420,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
30382
30420
|
* 4433
|
|
30383
30421
|
*/
|
|
30384
30422
|
originHttpsPort?: string;
|
|
30423
|
+
originMtls?: string;
|
|
30385
30424
|
/**
|
|
30386
30425
|
* @remarks
|
|
30387
30426
|
* Protocol used for the origin request. Value range:
|
|
@@ -30402,6 +30441,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
30402
30441
|
* origin.example.com
|
|
30403
30442
|
*/
|
|
30404
30443
|
originSni?: string;
|
|
30444
|
+
originVerify?: string;
|
|
30405
30445
|
/**
|
|
30406
30446
|
* @remarks
|
|
30407
30447
|
* Use range chunking method for origin download. Value range:
|
|
@@ -35923,7 +35963,7 @@ export declare class ListListsResponse extends $dara.Model {
|
|
|
35923
35963
|
export declare class ListLoadBalancerOriginStatusRequest extends $dara.Model {
|
|
35924
35964
|
/**
|
|
35925
35965
|
* @remarks
|
|
35926
|
-
* Load balancer ID. When querying multiple load balancers, separate the IDs with commas. A maximum of 100 load balancer IDs can be passed at once. Load balancer IDs can be obtained by calling the [ListLoadBalancers](
|
|
35966
|
+
* Load balancer ID. When querying multiple load balancers, separate the IDs with commas. A maximum of 100 load balancer IDs can be passed at once. Load balancer IDs can be obtained by calling the [ListLoadBalancers](https://help.aliyun.com/document_detail/2868897.html) interface.
|
|
35927
35967
|
*
|
|
35928
35968
|
* This parameter is required.
|
|
35929
35969
|
*
|
|
@@ -43501,7 +43541,7 @@ export declare class UpdateLoadBalancerRequest extends $dara.Model {
|
|
|
43501
43541
|
fallbackPool?: number;
|
|
43502
43542
|
/**
|
|
43503
43543
|
* @remarks
|
|
43504
|
-
* Load balancer ID, which can be obtained by calling the [ListLoadBalancers](
|
|
43544
|
+
* Load balancer ID, which can be obtained by calling the [ListLoadBalancers](https://help.aliyun.com/document_detail/2868897.html) interface.
|
|
43505
43545
|
*
|
|
43506
43546
|
* This parameter is required.
|
|
43507
43547
|
*
|
|
@@ -43639,7 +43679,7 @@ export declare class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
43639
43679
|
fallbackPool?: number;
|
|
43640
43680
|
/**
|
|
43641
43681
|
* @remarks
|
|
43642
|
-
* Load balancer ID, which can be obtained by calling the [ListLoadBalancers](
|
|
43682
|
+
* Load balancer ID, which can be obtained by calling the [ListLoadBalancers](https://help.aliyun.com/document_detail/2868897.html) interface.
|
|
43643
43683
|
*
|
|
43644
43684
|
* This parameter is required.
|
|
43645
43685
|
*
|
|
@@ -44018,7 +44058,7 @@ export declare class UpdateOriginPoolRequest extends $dara.Model {
|
|
|
44018
44058
|
enabled?: boolean;
|
|
44019
44059
|
/**
|
|
44020
44060
|
* @remarks
|
|
44021
|
-
* The ID of the origin pool, which can be obtained by calling the [ListOriginPools](
|
|
44061
|
+
* The ID of the origin pool, which can be obtained by calling the [ListOriginPools](https://help.aliyun.com/document_detail/2863947.html) interface.
|
|
44022
44062
|
*
|
|
44023
44063
|
* This parameter is required.
|
|
44024
44064
|
*
|
|
@@ -44066,7 +44106,7 @@ export declare class UpdateOriginPoolShrinkRequest extends $dara.Model {
|
|
|
44066
44106
|
enabled?: boolean;
|
|
44067
44107
|
/**
|
|
44068
44108
|
* @remarks
|
|
44069
|
-
* The ID of the origin pool, which can be obtained by calling the [ListOriginPools](
|
|
44109
|
+
* The ID of the origin pool, which can be obtained by calling the [ListOriginPools](https://help.aliyun.com/document_detail/2863947.html) interface.
|
|
44070
44110
|
*
|
|
44071
44111
|
* This parameter is required.
|
|
44072
44112
|
*
|
|
@@ -44319,6 +44359,7 @@ export declare class UpdateOriginRuleRequest extends $dara.Model {
|
|
|
44319
44359
|
* 4433
|
|
44320
44360
|
*/
|
|
44321
44361
|
originHttpsPort?: string;
|
|
44362
|
+
originMtls?: string;
|
|
44322
44363
|
/**
|
|
44323
44364
|
* @remarks
|
|
44324
44365
|
* Protocol used for the origin request. Possible values:
|
|
@@ -44338,6 +44379,7 @@ export declare class UpdateOriginRuleRequest extends $dara.Model {
|
|
|
44338
44379
|
* origin.example.com
|
|
44339
44380
|
*/
|
|
44340
44381
|
originSni?: string;
|
|
44382
|
+
originVerify?: string;
|
|
44341
44383
|
/**
|
|
44342
44384
|
* @remarks
|
|
44343
44385
|
* Use range chunked transfer to download files from the origin. Possible values:
|
|
@@ -44536,6 +44578,13 @@ export declare class UpdatePageResponse extends $dara.Model {
|
|
|
44536
44578
|
});
|
|
44537
44579
|
}
|
|
44538
44580
|
export declare class UpdateRatePlanSpecRequest extends $dara.Model {
|
|
44581
|
+
/**
|
|
44582
|
+
* @remarks
|
|
44583
|
+
* Specifies whether to enable auto payment.
|
|
44584
|
+
*
|
|
44585
|
+
* @example
|
|
44586
|
+
* true
|
|
44587
|
+
*/
|
|
44539
44588
|
autoPay?: boolean;
|
|
44540
44589
|
/**
|
|
44541
44590
|
* @example
|
|
@@ -44548,6 +44597,12 @@ export declare class UpdateRatePlanSpecRequest extends $dara.Model {
|
|
|
44548
44597
|
*/
|
|
44549
44598
|
instanceId?: string;
|
|
44550
44599
|
/**
|
|
44600
|
+
* @remarks
|
|
44601
|
+
* The specification update type. Valid values:
|
|
44602
|
+
*
|
|
44603
|
+
* * DOWNGRADE
|
|
44604
|
+
* * UPGRADE
|
|
44605
|
+
*
|
|
44551
44606
|
* @example
|
|
44552
44607
|
* UPGRADE
|
|
44553
44608
|
*/
|
|
@@ -49142,7 +49197,10 @@ export default class Client extends OpenApi {
|
|
|
49142
49197
|
*/
|
|
49143
49198
|
describePurgeTasks(request: DescribePurgeTasksRequest): Promise<DescribePurgeTasksResponse>;
|
|
49144
49199
|
/**
|
|
49145
|
-
*
|
|
49200
|
+
* Query Package Instance Status
|
|
49201
|
+
*
|
|
49202
|
+
* @remarks
|
|
49203
|
+
* You can only query the status of a package instance after purchasing and creating it.
|
|
49146
49204
|
*
|
|
49147
49205
|
* @param request - DescribeRatePlanInstanceStatusRequest
|
|
49148
49206
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -49150,7 +49208,10 @@ export default class Client extends OpenApi {
|
|
|
49150
49208
|
*/
|
|
49151
49209
|
describeRatePlanInstanceStatusWithOptions(request: DescribeRatePlanInstanceStatusRequest, runtime: $dara.RuntimeOptions): Promise<DescribeRatePlanInstanceStatusResponse>;
|
|
49152
49210
|
/**
|
|
49153
|
-
*
|
|
49211
|
+
* Query Package Instance Status
|
|
49212
|
+
*
|
|
49213
|
+
* @remarks
|
|
49214
|
+
* You can only query the status of a package instance after purchasing and creating it.
|
|
49154
49215
|
*
|
|
49155
49216
|
* @param request - DescribeRatePlanInstanceStatusRequest
|
|
49156
49217
|
* @returns DescribeRatePlanInstanceStatusResponse
|