@alicloud/esa20240910 2.12.0 → 2.14.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 +160 -0
- package/dist/client.js +241 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +312 -0
package/dist/client.d.ts
CHANGED
|
@@ -7188,6 +7188,7 @@ export declare class ListCompressionRulesResponseBodyConfigs extends $dara.Model
|
|
|
7188
7188
|
* 1
|
|
7189
7189
|
*/
|
|
7190
7190
|
siteVersion?: number;
|
|
7191
|
+
zstd?: string;
|
|
7191
7192
|
static names(): {
|
|
7192
7193
|
[key: string]: string;
|
|
7193
7194
|
};
|
|
@@ -10806,6 +10807,7 @@ export declare class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $
|
|
|
10806
10807
|
* online
|
|
10807
10808
|
*/
|
|
10808
10809
|
status?: string;
|
|
10810
|
+
subscribeType?: string;
|
|
10809
10811
|
static names(): {
|
|
10810
10812
|
[key: string]: string;
|
|
10811
10813
|
};
|
|
@@ -11522,7 +11524,24 @@ export declare class ListWaitingRoomsResponseBodyWaitingRooms extends $dara.Mode
|
|
|
11522
11524
|
[key: string]: any;
|
|
11523
11525
|
});
|
|
11524
11526
|
}
|
|
11527
|
+
export declare class PurgeCachesRequestContentCacheKeys extends $dara.Model {
|
|
11528
|
+
headers?: {
|
|
11529
|
+
[key: string]: string;
|
|
11530
|
+
};
|
|
11531
|
+
url?: string;
|
|
11532
|
+
static names(): {
|
|
11533
|
+
[key: string]: string;
|
|
11534
|
+
};
|
|
11535
|
+
static types(): {
|
|
11536
|
+
[key: string]: any;
|
|
11537
|
+
};
|
|
11538
|
+
validate(): void;
|
|
11539
|
+
constructor(map?: {
|
|
11540
|
+
[key: string]: any;
|
|
11541
|
+
});
|
|
11542
|
+
}
|
|
11525
11543
|
export declare class PurgeCachesRequestContent extends $dara.Model {
|
|
11544
|
+
cacheKeys?: PurgeCachesRequestContentCacheKeys[];
|
|
11526
11545
|
/**
|
|
11527
11546
|
* @remarks
|
|
11528
11547
|
* The cache tags that are used to purge the cache. This parameter is required if Type is set to cachetag.
|
|
@@ -13431,6 +13450,53 @@ export declare class BlockObjectResponse extends $dara.Model {
|
|
|
13431
13450
|
[key: string]: any;
|
|
13432
13451
|
});
|
|
13433
13452
|
}
|
|
13453
|
+
export declare class CheckAssumeSlrRoleResponseBody extends $dara.Model {
|
|
13454
|
+
/**
|
|
13455
|
+
* @example
|
|
13456
|
+
* aliuid:xxx assumeOssRole not exist,serviceName:realtimelogpush.dcdnservices.aliyuncs.com
|
|
13457
|
+
*/
|
|
13458
|
+
errorMsg?: string;
|
|
13459
|
+
/**
|
|
13460
|
+
* @example
|
|
13461
|
+
* true
|
|
13462
|
+
*/
|
|
13463
|
+
isExist?: string;
|
|
13464
|
+
/**
|
|
13465
|
+
* @remarks
|
|
13466
|
+
* Id of the request
|
|
13467
|
+
*
|
|
13468
|
+
* @example
|
|
13469
|
+
* 34DCBC8A-****-****-****-6DAA11D7DDBD
|
|
13470
|
+
*/
|
|
13471
|
+
requestId?: string;
|
|
13472
|
+
static names(): {
|
|
13473
|
+
[key: string]: string;
|
|
13474
|
+
};
|
|
13475
|
+
static types(): {
|
|
13476
|
+
[key: string]: any;
|
|
13477
|
+
};
|
|
13478
|
+
validate(): void;
|
|
13479
|
+
constructor(map?: {
|
|
13480
|
+
[key: string]: any;
|
|
13481
|
+
});
|
|
13482
|
+
}
|
|
13483
|
+
export declare class CheckAssumeSlrRoleResponse extends $dara.Model {
|
|
13484
|
+
headers?: {
|
|
13485
|
+
[key: string]: string;
|
|
13486
|
+
};
|
|
13487
|
+
statusCode?: number;
|
|
13488
|
+
body?: CheckAssumeSlrRoleResponseBody;
|
|
13489
|
+
static names(): {
|
|
13490
|
+
[key: string]: string;
|
|
13491
|
+
};
|
|
13492
|
+
static types(): {
|
|
13493
|
+
[key: string]: any;
|
|
13494
|
+
};
|
|
13495
|
+
validate(): void;
|
|
13496
|
+
constructor(map?: {
|
|
13497
|
+
[key: string]: any;
|
|
13498
|
+
});
|
|
13499
|
+
}
|
|
13434
13500
|
export declare class CheckSiteNameRequest extends $dara.Model {
|
|
13435
13501
|
/**
|
|
13436
13502
|
* @remarks
|
|
@@ -14141,6 +14207,7 @@ export declare class CreateCompressionRuleRequest extends $dara.Model {
|
|
|
14141
14207
|
* 0
|
|
14142
14208
|
*/
|
|
14143
14209
|
siteVersion?: number;
|
|
14210
|
+
zstd?: string;
|
|
14144
14211
|
static names(): {
|
|
14145
14212
|
[key: string]: string;
|
|
14146
14213
|
};
|
|
@@ -15632,17 +15699,26 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
15632
15699
|
*/
|
|
15633
15700
|
adaptiveRouting?: CreateLoadBalancerRequestAdaptiveRouting;
|
|
15634
15701
|
/**
|
|
15702
|
+
* @remarks
|
|
15703
|
+
* This parameter is required.
|
|
15704
|
+
*
|
|
15635
15705
|
* @example
|
|
15636
15706
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
15637
15707
|
*/
|
|
15638
15708
|
defaultPools?: number[];
|
|
15639
15709
|
description?: string;
|
|
15640
15710
|
/**
|
|
15711
|
+
* @remarks
|
|
15712
|
+
* This parameter is required.
|
|
15713
|
+
*
|
|
15641
15714
|
* @example
|
|
15642
15715
|
* 123
|
|
15643
15716
|
*/
|
|
15644
15717
|
fallbackPool?: number;
|
|
15645
15718
|
/**
|
|
15719
|
+
* @remarks
|
|
15720
|
+
* This parameter is required.
|
|
15721
|
+
*
|
|
15646
15722
|
* @example
|
|
15647
15723
|
* order
|
|
15648
15724
|
*/
|
|
@@ -15682,6 +15758,9 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
15682
15758
|
*/
|
|
15683
15759
|
siteId?: number;
|
|
15684
15760
|
/**
|
|
15761
|
+
* @remarks
|
|
15762
|
+
* This parameter is required.
|
|
15763
|
+
*
|
|
15685
15764
|
* @example
|
|
15686
15765
|
* ip
|
|
15687
15766
|
*/
|
|
@@ -15706,17 +15785,26 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
15706
15785
|
*/
|
|
15707
15786
|
adaptiveRoutingShrink?: string;
|
|
15708
15787
|
/**
|
|
15788
|
+
* @remarks
|
|
15789
|
+
* This parameter is required.
|
|
15790
|
+
*
|
|
15709
15791
|
* @example
|
|
15710
15792
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
15711
15793
|
*/
|
|
15712
15794
|
defaultPoolsShrink?: string;
|
|
15713
15795
|
description?: string;
|
|
15714
15796
|
/**
|
|
15797
|
+
* @remarks
|
|
15798
|
+
* This parameter is required.
|
|
15799
|
+
*
|
|
15715
15800
|
* @example
|
|
15716
15801
|
* 123
|
|
15717
15802
|
*/
|
|
15718
15803
|
fallbackPool?: number;
|
|
15719
15804
|
/**
|
|
15805
|
+
* @remarks
|
|
15806
|
+
* This parameter is required.
|
|
15807
|
+
*
|
|
15720
15808
|
* @example
|
|
15721
15809
|
* order
|
|
15722
15810
|
*/
|
|
@@ -15756,6 +15844,9 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
15756
15844
|
*/
|
|
15757
15845
|
siteId?: number;
|
|
15758
15846
|
/**
|
|
15847
|
+
* @remarks
|
|
15848
|
+
* This parameter is required.
|
|
15849
|
+
*
|
|
15759
15850
|
* @example
|
|
15760
15851
|
* ip
|
|
15761
15852
|
*/
|
|
@@ -17927,6 +18018,43 @@ export declare class CreateSiteDeliveryTaskResponse extends $dara.Model {
|
|
|
17927
18018
|
[key: string]: any;
|
|
17928
18019
|
});
|
|
17929
18020
|
}
|
|
18021
|
+
export declare class CreateSlrRoleForRealtimeLogResponseBody extends $dara.Model {
|
|
18022
|
+
/**
|
|
18023
|
+
* @remarks
|
|
18024
|
+
* Id of the request
|
|
18025
|
+
*
|
|
18026
|
+
* @example
|
|
18027
|
+
* 156A6B-677B1A-4297B7-9187B7-2B44792
|
|
18028
|
+
*/
|
|
18029
|
+
requestId?: string;
|
|
18030
|
+
static names(): {
|
|
18031
|
+
[key: string]: string;
|
|
18032
|
+
};
|
|
18033
|
+
static types(): {
|
|
18034
|
+
[key: string]: any;
|
|
18035
|
+
};
|
|
18036
|
+
validate(): void;
|
|
18037
|
+
constructor(map?: {
|
|
18038
|
+
[key: string]: any;
|
|
18039
|
+
});
|
|
18040
|
+
}
|
|
18041
|
+
export declare class CreateSlrRoleForRealtimeLogResponse extends $dara.Model {
|
|
18042
|
+
headers?: {
|
|
18043
|
+
[key: string]: string;
|
|
18044
|
+
};
|
|
18045
|
+
statusCode?: number;
|
|
18046
|
+
body?: CreateSlrRoleForRealtimeLogResponseBody;
|
|
18047
|
+
static names(): {
|
|
18048
|
+
[key: string]: string;
|
|
18049
|
+
};
|
|
18050
|
+
static types(): {
|
|
18051
|
+
[key: string]: any;
|
|
18052
|
+
};
|
|
18053
|
+
validate(): void;
|
|
18054
|
+
constructor(map?: {
|
|
18055
|
+
[key: string]: any;
|
|
18056
|
+
});
|
|
18057
|
+
}
|
|
17930
18058
|
export declare class CreateUserDeliveryTaskRequest extends $dara.Model {
|
|
17931
18059
|
/**
|
|
17932
18060
|
* @remarks
|
|
@@ -18606,6 +18734,7 @@ export declare class CreateWaitingRoomResponseBody extends $dara.Model {
|
|
|
18606
18734
|
* 85H66C7B-671A-4297-9187-2C4477247A74
|
|
18607
18735
|
*/
|
|
18608
18736
|
requestId?: string;
|
|
18737
|
+
waitingRoomId?: string;
|
|
18609
18738
|
static names(): {
|
|
18610
18739
|
[key: string]: string;
|
|
18611
18740
|
};
|
|
@@ -18865,6 +18994,7 @@ export declare class CreateWaitingRoomEventResponseBody extends $dara.Model {
|
|
|
18865
18994
|
* 15C66C7B-671A-4297-9187-2C4477247A123425345
|
|
18866
18995
|
*/
|
|
18867
18996
|
requestId?: string;
|
|
18997
|
+
waitingRoomEventId?: number;
|
|
18868
18998
|
static names(): {
|
|
18869
18999
|
[key: string]: string;
|
|
18870
19000
|
};
|
|
@@ -18967,6 +19097,7 @@ export declare class CreateWaitingRoomRuleResponseBody extends $dara.Model {
|
|
|
18967
19097
|
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
18968
19098
|
*/
|
|
18969
19099
|
requestId?: string;
|
|
19100
|
+
waitingRoomRuleId?: number;
|
|
18970
19101
|
static names(): {
|
|
18971
19102
|
[key: string]: string;
|
|
18972
19103
|
};
|
|
@@ -23885,6 +24016,7 @@ export declare class GetCompressionRuleResponseBody extends $dara.Model {
|
|
|
23885
24016
|
* 0
|
|
23886
24017
|
*/
|
|
23887
24018
|
siteVersion?: number;
|
|
24019
|
+
zstd?: string;
|
|
23888
24020
|
static names(): {
|
|
23889
24021
|
[key: string]: string;
|
|
23890
24022
|
};
|
|
@@ -33758,6 +33890,7 @@ export declare class ListUserRatePlanInstancesRequest extends $dara.Model {
|
|
|
33758
33890
|
* false
|
|
33759
33891
|
*/
|
|
33760
33892
|
status?: string;
|
|
33893
|
+
subscribeType?: string;
|
|
33761
33894
|
static names(): {
|
|
33762
33895
|
[key: string]: string;
|
|
33763
33896
|
};
|
|
@@ -37076,6 +37209,7 @@ export declare class UpdateCompressionRuleRequest extends $dara.Model {
|
|
|
37076
37209
|
* 5407498413****
|
|
37077
37210
|
*/
|
|
37078
37211
|
siteId?: number;
|
|
37212
|
+
zstd?: string;
|
|
37079
37213
|
static names(): {
|
|
37080
37214
|
[key: string]: string;
|
|
37081
37215
|
};
|
|
@@ -41997,6 +42131,19 @@ export default class Client extends OpenApi {
|
|
|
41997
42131
|
* @returns BlockObjectResponse
|
|
41998
42132
|
*/
|
|
41999
42133
|
blockObject(request: BlockObjectRequest): Promise<BlockObjectResponse>;
|
|
42134
|
+
/**
|
|
42135
|
+
* 检查实时日志slr角色是否已创建
|
|
42136
|
+
*
|
|
42137
|
+
* @param request - CheckAssumeSlrRoleRequest
|
|
42138
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
42139
|
+
* @returns CheckAssumeSlrRoleResponse
|
|
42140
|
+
*/
|
|
42141
|
+
checkAssumeSlrRoleWithOptions(runtime: $dara.RuntimeOptions): Promise<CheckAssumeSlrRoleResponse>;
|
|
42142
|
+
/**
|
|
42143
|
+
* 检查实时日志slr角色是否已创建
|
|
42144
|
+
* @returns CheckAssumeSlrRoleResponse
|
|
42145
|
+
*/
|
|
42146
|
+
checkAssumeSlrRole(): Promise<CheckAssumeSlrRoleResponse>;
|
|
42000
42147
|
/**
|
|
42001
42148
|
* Checks whether a specified website name is available.
|
|
42002
42149
|
*
|
|
@@ -42540,6 +42687,19 @@ export default class Client extends OpenApi {
|
|
|
42540
42687
|
* @returns CreateSiteDeliveryTaskResponse
|
|
42541
42688
|
*/
|
|
42542
42689
|
createSiteDeliveryTask(request: CreateSiteDeliveryTaskRequest): Promise<CreateSiteDeliveryTaskResponse>;
|
|
42690
|
+
/**
|
|
42691
|
+
* 创建一个实时日志slr角色
|
|
42692
|
+
*
|
|
42693
|
+
* @param request - CreateSlrRoleForRealtimeLogRequest
|
|
42694
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
42695
|
+
* @returns CreateSlrRoleForRealtimeLogResponse
|
|
42696
|
+
*/
|
|
42697
|
+
createSlrRoleForRealtimeLogWithOptions(runtime: $dara.RuntimeOptions): Promise<CreateSlrRoleForRealtimeLogResponse>;
|
|
42698
|
+
/**
|
|
42699
|
+
* 创建一个实时日志slr角色
|
|
42700
|
+
* @returns CreateSlrRoleForRealtimeLogResponse
|
|
42701
|
+
*/
|
|
42702
|
+
createSlrRoleForRealtimeLog(): Promise<CreateSlrRoleForRealtimeLogResponse>;
|
|
42543
42703
|
/**
|
|
42544
42704
|
* Creates a log delivery task to ship logs to the specified destination.
|
|
42545
42705
|
*
|