@alicloud/esa20240910 2.12.0 → 2.13.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 +41 -0
- package/dist/client.js +47 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +59 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -16341,7 +16341,37 @@ export class ListWaitingRoomsResponseBodyWaitingRooms extends $dara.Model {
|
|
|
16341
16341
|
}
|
|
16342
16342
|
}
|
|
16343
16343
|
|
|
16344
|
+
export class PurgeCachesRequestContentCacheKeys extends $dara.Model {
|
|
16345
|
+
headers?: { [key: string]: string };
|
|
16346
|
+
url?: string;
|
|
16347
|
+
static names(): { [key: string]: string } {
|
|
16348
|
+
return {
|
|
16349
|
+
headers: 'Headers',
|
|
16350
|
+
url: 'Url',
|
|
16351
|
+
};
|
|
16352
|
+
}
|
|
16353
|
+
|
|
16354
|
+
static types(): { [key: string]: any } {
|
|
16355
|
+
return {
|
|
16356
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16357
|
+
url: 'string',
|
|
16358
|
+
};
|
|
16359
|
+
}
|
|
16360
|
+
|
|
16361
|
+
validate() {
|
|
16362
|
+
if(this.headers) {
|
|
16363
|
+
$dara.Model.validateMap(this.headers);
|
|
16364
|
+
}
|
|
16365
|
+
super.validate();
|
|
16366
|
+
}
|
|
16367
|
+
|
|
16368
|
+
constructor(map?: { [key: string]: any }) {
|
|
16369
|
+
super(map);
|
|
16370
|
+
}
|
|
16371
|
+
}
|
|
16372
|
+
|
|
16344
16373
|
export class PurgeCachesRequestContent extends $dara.Model {
|
|
16374
|
+
cacheKeys?: PurgeCachesRequestContentCacheKeys[];
|
|
16345
16375
|
/**
|
|
16346
16376
|
* @remarks
|
|
16347
16377
|
* The cache tags that are used to purge the cache. This parameter is required if Type is set to cachetag.
|
|
@@ -16377,6 +16407,7 @@ export class PurgeCachesRequestContent extends $dara.Model {
|
|
|
16377
16407
|
purgeAll?: boolean;
|
|
16378
16408
|
static names(): { [key: string]: string } {
|
|
16379
16409
|
return {
|
|
16410
|
+
cacheKeys: 'CacheKeys',
|
|
16380
16411
|
cacheTags: 'CacheTags',
|
|
16381
16412
|
directories: 'Directories',
|
|
16382
16413
|
files: 'Files',
|
|
@@ -16388,6 +16419,7 @@ export class PurgeCachesRequestContent extends $dara.Model {
|
|
|
16388
16419
|
|
|
16389
16420
|
static types(): { [key: string]: any } {
|
|
16390
16421
|
return {
|
|
16422
|
+
cacheKeys: { 'type': 'array', 'itemType': PurgeCachesRequestContentCacheKeys },
|
|
16391
16423
|
cacheTags: { 'type': 'array', 'itemType': 'string' },
|
|
16392
16424
|
directories: { 'type': 'array', 'itemType': 'string' },
|
|
16393
16425
|
files: { 'type': 'array', 'itemType': 'any' },
|
|
@@ -16398,6 +16430,9 @@ export class PurgeCachesRequestContent extends $dara.Model {
|
|
|
16398
16430
|
}
|
|
16399
16431
|
|
|
16400
16432
|
validate() {
|
|
16433
|
+
if(Array.isArray(this.cacheKeys)) {
|
|
16434
|
+
$dara.Model.validateArray(this.cacheKeys);
|
|
16435
|
+
}
|
|
16401
16436
|
if(Array.isArray(this.cacheTags)) {
|
|
16402
16437
|
$dara.Model.validateArray(this.cacheTags);
|
|
16403
16438
|
}
|
|
@@ -22671,17 +22706,26 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
22671
22706
|
*/
|
|
22672
22707
|
adaptiveRouting?: CreateLoadBalancerRequestAdaptiveRouting;
|
|
22673
22708
|
/**
|
|
22709
|
+
* @remarks
|
|
22710
|
+
* This parameter is required.
|
|
22711
|
+
*
|
|
22674
22712
|
* @example
|
|
22675
22713
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
22676
22714
|
*/
|
|
22677
22715
|
defaultPools?: number[];
|
|
22678
22716
|
description?: string;
|
|
22679
22717
|
/**
|
|
22718
|
+
* @remarks
|
|
22719
|
+
* This parameter is required.
|
|
22720
|
+
*
|
|
22680
22721
|
* @example
|
|
22681
22722
|
* 123
|
|
22682
22723
|
*/
|
|
22683
22724
|
fallbackPool?: number;
|
|
22684
22725
|
/**
|
|
22726
|
+
* @remarks
|
|
22727
|
+
* This parameter is required.
|
|
22728
|
+
*
|
|
22685
22729
|
* @example
|
|
22686
22730
|
* order
|
|
22687
22731
|
*/
|
|
@@ -22721,6 +22765,9 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
22721
22765
|
*/
|
|
22722
22766
|
siteId?: number;
|
|
22723
22767
|
/**
|
|
22768
|
+
* @remarks
|
|
22769
|
+
* This parameter is required.
|
|
22770
|
+
*
|
|
22724
22771
|
* @example
|
|
22725
22772
|
* ip
|
|
22726
22773
|
*/
|
|
@@ -22801,17 +22848,26 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
22801
22848
|
*/
|
|
22802
22849
|
adaptiveRoutingShrink?: string;
|
|
22803
22850
|
/**
|
|
22851
|
+
* @remarks
|
|
22852
|
+
* This parameter is required.
|
|
22853
|
+
*
|
|
22804
22854
|
* @example
|
|
22805
22855
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
22806
22856
|
*/
|
|
22807
22857
|
defaultPoolsShrink?: string;
|
|
22808
22858
|
description?: string;
|
|
22809
22859
|
/**
|
|
22860
|
+
* @remarks
|
|
22861
|
+
* This parameter is required.
|
|
22862
|
+
*
|
|
22810
22863
|
* @example
|
|
22811
22864
|
* 123
|
|
22812
22865
|
*/
|
|
22813
22866
|
fallbackPool?: number;
|
|
22814
22867
|
/**
|
|
22868
|
+
* @remarks
|
|
22869
|
+
* This parameter is required.
|
|
22870
|
+
*
|
|
22815
22871
|
* @example
|
|
22816
22872
|
* order
|
|
22817
22873
|
*/
|
|
@@ -22851,6 +22907,9 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
22851
22907
|
*/
|
|
22852
22908
|
siteId?: number;
|
|
22853
22909
|
/**
|
|
22910
|
+
* @remarks
|
|
22911
|
+
* This parameter is required.
|
|
22912
|
+
*
|
|
22854
22913
|
* @example
|
|
22855
22914
|
* ip
|
|
22856
22915
|
*/
|