@alicloud/esa20240910 2.11.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 +1510 -67
- package/dist/client.js +1694 -19
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2671 -48
package/src/client.ts
CHANGED
|
@@ -11852,6 +11852,82 @@ export class ListHttpsBasicConfigurationsResponseBodyConfigs extends $dara.Model
|
|
|
11852
11852
|
}
|
|
11853
11853
|
}
|
|
11854
11854
|
|
|
11855
|
+
export class ListImageTransformsResponseBodyConfigs extends $dara.Model {
|
|
11856
|
+
/**
|
|
11857
|
+
* @example
|
|
11858
|
+
* 395386449776640
|
|
11859
|
+
*/
|
|
11860
|
+
configId?: number;
|
|
11861
|
+
/**
|
|
11862
|
+
* @example
|
|
11863
|
+
* global
|
|
11864
|
+
*/
|
|
11865
|
+
configType?: string;
|
|
11866
|
+
/**
|
|
11867
|
+
* @example
|
|
11868
|
+
* on
|
|
11869
|
+
*/
|
|
11870
|
+
enable?: string;
|
|
11871
|
+
/**
|
|
11872
|
+
* @example
|
|
11873
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
11874
|
+
*/
|
|
11875
|
+
rule?: string;
|
|
11876
|
+
/**
|
|
11877
|
+
* @example
|
|
11878
|
+
* on
|
|
11879
|
+
*/
|
|
11880
|
+
ruleEnable?: string;
|
|
11881
|
+
/**
|
|
11882
|
+
* @example
|
|
11883
|
+
* test
|
|
11884
|
+
*/
|
|
11885
|
+
ruleName?: string;
|
|
11886
|
+
/**
|
|
11887
|
+
* @example
|
|
11888
|
+
* 1
|
|
11889
|
+
*/
|
|
11890
|
+
sequence?: number;
|
|
11891
|
+
/**
|
|
11892
|
+
* @example
|
|
11893
|
+
* 1
|
|
11894
|
+
*/
|
|
11895
|
+
siteVersion?: number;
|
|
11896
|
+
static names(): { [key: string]: string } {
|
|
11897
|
+
return {
|
|
11898
|
+
configId: 'ConfigId',
|
|
11899
|
+
configType: 'ConfigType',
|
|
11900
|
+
enable: 'Enable',
|
|
11901
|
+
rule: 'Rule',
|
|
11902
|
+
ruleEnable: 'RuleEnable',
|
|
11903
|
+
ruleName: 'RuleName',
|
|
11904
|
+
sequence: 'Sequence',
|
|
11905
|
+
siteVersion: 'SiteVersion',
|
|
11906
|
+
};
|
|
11907
|
+
}
|
|
11908
|
+
|
|
11909
|
+
static types(): { [key: string]: any } {
|
|
11910
|
+
return {
|
|
11911
|
+
configId: 'number',
|
|
11912
|
+
configType: 'string',
|
|
11913
|
+
enable: 'string',
|
|
11914
|
+
rule: 'string',
|
|
11915
|
+
ruleEnable: 'string',
|
|
11916
|
+
ruleName: 'string',
|
|
11917
|
+
sequence: 'number',
|
|
11918
|
+
siteVersion: 'number',
|
|
11919
|
+
};
|
|
11920
|
+
}
|
|
11921
|
+
|
|
11922
|
+
validate() {
|
|
11923
|
+
super.validate();
|
|
11924
|
+
}
|
|
11925
|
+
|
|
11926
|
+
constructor(map?: { [key: string]: any }) {
|
|
11927
|
+
super(map);
|
|
11928
|
+
}
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11855
11931
|
export class ListInstanceQuotasResponseBodyQuotas extends $dara.Model {
|
|
11856
11932
|
/**
|
|
11857
11933
|
* @remarks
|
|
@@ -12940,6 +13016,110 @@ export class ListManagedRulesGroupsResponseBodyManagedRulesGroups extends $dara.
|
|
|
12940
13016
|
}
|
|
12941
13017
|
}
|
|
12942
13018
|
|
|
13019
|
+
export class ListNetworkOptimizationsResponseBodyConfigs extends $dara.Model {
|
|
13020
|
+
/**
|
|
13021
|
+
* @example
|
|
13022
|
+
* 395386449776640
|
|
13023
|
+
*/
|
|
13024
|
+
configId?: number;
|
|
13025
|
+
/**
|
|
13026
|
+
* @example
|
|
13027
|
+
* global
|
|
13028
|
+
*/
|
|
13029
|
+
configType?: string;
|
|
13030
|
+
/**
|
|
13031
|
+
* @example
|
|
13032
|
+
* on
|
|
13033
|
+
*/
|
|
13034
|
+
grpc?: string;
|
|
13035
|
+
/**
|
|
13036
|
+
* @example
|
|
13037
|
+
* on
|
|
13038
|
+
*/
|
|
13039
|
+
http2Origin?: string;
|
|
13040
|
+
/**
|
|
13041
|
+
* @example
|
|
13042
|
+
* (http.host eq \\"video.example.com\\")
|
|
13043
|
+
*/
|
|
13044
|
+
rule?: string;
|
|
13045
|
+
/**
|
|
13046
|
+
* @example
|
|
13047
|
+
* on
|
|
13048
|
+
*/
|
|
13049
|
+
ruleEnable?: string;
|
|
13050
|
+
/**
|
|
13051
|
+
* @example
|
|
13052
|
+
* rule_example
|
|
13053
|
+
*/
|
|
13054
|
+
ruleName?: string;
|
|
13055
|
+
/**
|
|
13056
|
+
* @example
|
|
13057
|
+
* 1
|
|
13058
|
+
*/
|
|
13059
|
+
sequence?: number;
|
|
13060
|
+
/**
|
|
13061
|
+
* @example
|
|
13062
|
+
* 1
|
|
13063
|
+
*/
|
|
13064
|
+
siteVersion?: number;
|
|
13065
|
+
/**
|
|
13066
|
+
* @example
|
|
13067
|
+
* on
|
|
13068
|
+
*/
|
|
13069
|
+
smartRouting?: string;
|
|
13070
|
+
/**
|
|
13071
|
+
* @example
|
|
13072
|
+
* 500
|
|
13073
|
+
*/
|
|
13074
|
+
uploadMaxFilesize?: string;
|
|
13075
|
+
/**
|
|
13076
|
+
* @example
|
|
13077
|
+
* on
|
|
13078
|
+
*/
|
|
13079
|
+
websocket?: string;
|
|
13080
|
+
static names(): { [key: string]: string } {
|
|
13081
|
+
return {
|
|
13082
|
+
configId: 'ConfigId',
|
|
13083
|
+
configType: 'ConfigType',
|
|
13084
|
+
grpc: 'Grpc',
|
|
13085
|
+
http2Origin: 'Http2Origin',
|
|
13086
|
+
rule: 'Rule',
|
|
13087
|
+
ruleEnable: 'RuleEnable',
|
|
13088
|
+
ruleName: 'RuleName',
|
|
13089
|
+
sequence: 'Sequence',
|
|
13090
|
+
siteVersion: 'SiteVersion',
|
|
13091
|
+
smartRouting: 'SmartRouting',
|
|
13092
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
13093
|
+
websocket: 'Websocket',
|
|
13094
|
+
};
|
|
13095
|
+
}
|
|
13096
|
+
|
|
13097
|
+
static types(): { [key: string]: any } {
|
|
13098
|
+
return {
|
|
13099
|
+
configId: 'number',
|
|
13100
|
+
configType: 'string',
|
|
13101
|
+
grpc: 'string',
|
|
13102
|
+
http2Origin: 'string',
|
|
13103
|
+
rule: 'string',
|
|
13104
|
+
ruleEnable: 'string',
|
|
13105
|
+
ruleName: 'string',
|
|
13106
|
+
sequence: 'number',
|
|
13107
|
+
siteVersion: 'number',
|
|
13108
|
+
smartRouting: 'string',
|
|
13109
|
+
uploadMaxFilesize: 'string',
|
|
13110
|
+
websocket: 'string',
|
|
13111
|
+
};
|
|
13112
|
+
}
|
|
13113
|
+
|
|
13114
|
+
validate() {
|
|
13115
|
+
super.validate();
|
|
13116
|
+
}
|
|
13117
|
+
|
|
13118
|
+
constructor(map?: { [key: string]: any }) {
|
|
13119
|
+
super(map);
|
|
13120
|
+
}
|
|
13121
|
+
}
|
|
13122
|
+
|
|
12943
13123
|
export class ListOriginPoolsResponseBodyOriginPoolsOriginsAuthConf extends $dara.Model {
|
|
12944
13124
|
accessKey?: string;
|
|
12945
13125
|
authType?: string;
|
|
@@ -16161,7 +16341,37 @@ export class ListWaitingRoomsResponseBodyWaitingRooms extends $dara.Model {
|
|
|
16161
16341
|
}
|
|
16162
16342
|
}
|
|
16163
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
|
+
|
|
16164
16373
|
export class PurgeCachesRequestContent extends $dara.Model {
|
|
16374
|
+
cacheKeys?: PurgeCachesRequestContentCacheKeys[];
|
|
16165
16375
|
/**
|
|
16166
16376
|
* @remarks
|
|
16167
16377
|
* The cache tags that are used to purge the cache. This parameter is required if Type is set to cachetag.
|
|
@@ -16197,6 +16407,7 @@ export class PurgeCachesRequestContent extends $dara.Model {
|
|
|
16197
16407
|
purgeAll?: boolean;
|
|
16198
16408
|
static names(): { [key: string]: string } {
|
|
16199
16409
|
return {
|
|
16410
|
+
cacheKeys: 'CacheKeys',
|
|
16200
16411
|
cacheTags: 'CacheTags',
|
|
16201
16412
|
directories: 'Directories',
|
|
16202
16413
|
files: 'Files',
|
|
@@ -16208,6 +16419,7 @@ export class PurgeCachesRequestContent extends $dara.Model {
|
|
|
16208
16419
|
|
|
16209
16420
|
static types(): { [key: string]: any } {
|
|
16210
16421
|
return {
|
|
16422
|
+
cacheKeys: { 'type': 'array', 'itemType': PurgeCachesRequestContentCacheKeys },
|
|
16211
16423
|
cacheTags: { 'type': 'array', 'itemType': 'string' },
|
|
16212
16424
|
directories: { 'type': 'array', 'itemType': 'string' },
|
|
16213
16425
|
files: { 'type': 'array', 'itemType': 'any' },
|
|
@@ -16218,6 +16430,9 @@ export class PurgeCachesRequestContent extends $dara.Model {
|
|
|
16218
16430
|
}
|
|
16219
16431
|
|
|
16220
16432
|
validate() {
|
|
16433
|
+
if(Array.isArray(this.cacheKeys)) {
|
|
16434
|
+
$dara.Model.validateArray(this.cacheKeys);
|
|
16435
|
+
}
|
|
16221
16436
|
if(Array.isArray(this.cacheTags)) {
|
|
16222
16437
|
$dara.Model.validateArray(this.cacheTags);
|
|
16223
16438
|
}
|
|
@@ -21996,6 +22211,140 @@ export class CreateHttpsBasicConfigurationResponse extends $dara.Model {
|
|
|
21996
22211
|
}
|
|
21997
22212
|
}
|
|
21998
22213
|
|
|
22214
|
+
export class CreateImageTransformRequest extends $dara.Model {
|
|
22215
|
+
/**
|
|
22216
|
+
* @example
|
|
22217
|
+
* on
|
|
22218
|
+
*/
|
|
22219
|
+
enable?: string;
|
|
22220
|
+
/**
|
|
22221
|
+
* @example
|
|
22222
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
22223
|
+
*/
|
|
22224
|
+
rule?: string;
|
|
22225
|
+
/**
|
|
22226
|
+
* @example
|
|
22227
|
+
* on
|
|
22228
|
+
*/
|
|
22229
|
+
ruleEnable?: string;
|
|
22230
|
+
/**
|
|
22231
|
+
* @example
|
|
22232
|
+
* test
|
|
22233
|
+
*/
|
|
22234
|
+
ruleName?: string;
|
|
22235
|
+
/**
|
|
22236
|
+
* @remarks
|
|
22237
|
+
* This parameter is required.
|
|
22238
|
+
*
|
|
22239
|
+
* @example
|
|
22240
|
+
* 123456****
|
|
22241
|
+
*/
|
|
22242
|
+
siteId?: number;
|
|
22243
|
+
/**
|
|
22244
|
+
* @example
|
|
22245
|
+
* 0
|
|
22246
|
+
*/
|
|
22247
|
+
siteVersion?: number;
|
|
22248
|
+
static names(): { [key: string]: string } {
|
|
22249
|
+
return {
|
|
22250
|
+
enable: 'Enable',
|
|
22251
|
+
rule: 'Rule',
|
|
22252
|
+
ruleEnable: 'RuleEnable',
|
|
22253
|
+
ruleName: 'RuleName',
|
|
22254
|
+
siteId: 'SiteId',
|
|
22255
|
+
siteVersion: 'SiteVersion',
|
|
22256
|
+
};
|
|
22257
|
+
}
|
|
22258
|
+
|
|
22259
|
+
static types(): { [key: string]: any } {
|
|
22260
|
+
return {
|
|
22261
|
+
enable: 'string',
|
|
22262
|
+
rule: 'string',
|
|
22263
|
+
ruleEnable: 'string',
|
|
22264
|
+
ruleName: 'string',
|
|
22265
|
+
siteId: 'number',
|
|
22266
|
+
siteVersion: 'number',
|
|
22267
|
+
};
|
|
22268
|
+
}
|
|
22269
|
+
|
|
22270
|
+
validate() {
|
|
22271
|
+
super.validate();
|
|
22272
|
+
}
|
|
22273
|
+
|
|
22274
|
+
constructor(map?: { [key: string]: any }) {
|
|
22275
|
+
super(map);
|
|
22276
|
+
}
|
|
22277
|
+
}
|
|
22278
|
+
|
|
22279
|
+
export class CreateImageTransformResponseBody extends $dara.Model {
|
|
22280
|
+
/**
|
|
22281
|
+
* @example
|
|
22282
|
+
* 352816096987136
|
|
22283
|
+
*/
|
|
22284
|
+
configId?: number;
|
|
22285
|
+
/**
|
|
22286
|
+
* @example
|
|
22287
|
+
* 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
|
|
22288
|
+
*/
|
|
22289
|
+
requestId?: string;
|
|
22290
|
+
static names(): { [key: string]: string } {
|
|
22291
|
+
return {
|
|
22292
|
+
configId: 'ConfigId',
|
|
22293
|
+
requestId: 'RequestId',
|
|
22294
|
+
};
|
|
22295
|
+
}
|
|
22296
|
+
|
|
22297
|
+
static types(): { [key: string]: any } {
|
|
22298
|
+
return {
|
|
22299
|
+
configId: 'number',
|
|
22300
|
+
requestId: 'string',
|
|
22301
|
+
};
|
|
22302
|
+
}
|
|
22303
|
+
|
|
22304
|
+
validate() {
|
|
22305
|
+
super.validate();
|
|
22306
|
+
}
|
|
22307
|
+
|
|
22308
|
+
constructor(map?: { [key: string]: any }) {
|
|
22309
|
+
super(map);
|
|
22310
|
+
}
|
|
22311
|
+
}
|
|
22312
|
+
|
|
22313
|
+
export class CreateImageTransformResponse extends $dara.Model {
|
|
22314
|
+
headers?: { [key: string]: string };
|
|
22315
|
+
statusCode?: number;
|
|
22316
|
+
body?: CreateImageTransformResponseBody;
|
|
22317
|
+
static names(): { [key: string]: string } {
|
|
22318
|
+
return {
|
|
22319
|
+
headers: 'headers',
|
|
22320
|
+
statusCode: 'statusCode',
|
|
22321
|
+
body: 'body',
|
|
22322
|
+
};
|
|
22323
|
+
}
|
|
22324
|
+
|
|
22325
|
+
static types(): { [key: string]: any } {
|
|
22326
|
+
return {
|
|
22327
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22328
|
+
statusCode: 'number',
|
|
22329
|
+
body: CreateImageTransformResponseBody,
|
|
22330
|
+
};
|
|
22331
|
+
}
|
|
22332
|
+
|
|
22333
|
+
validate() {
|
|
22334
|
+
if(this.headers) {
|
|
22335
|
+
$dara.Model.validateMap(this.headers);
|
|
22336
|
+
}
|
|
22337
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
22338
|
+
(this.body as any).validate();
|
|
22339
|
+
}
|
|
22340
|
+
super.validate();
|
|
22341
|
+
}
|
|
22342
|
+
|
|
22343
|
+
constructor(map?: { [key: string]: any }) {
|
|
22344
|
+
super(map);
|
|
22345
|
+
}
|
|
22346
|
+
}
|
|
22347
|
+
|
|
21999
22348
|
export class CreateKvNamespaceRequest extends $dara.Model {
|
|
22000
22349
|
/**
|
|
22001
22350
|
* @remarks
|
|
@@ -22357,17 +22706,26 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
22357
22706
|
*/
|
|
22358
22707
|
adaptiveRouting?: CreateLoadBalancerRequestAdaptiveRouting;
|
|
22359
22708
|
/**
|
|
22709
|
+
* @remarks
|
|
22710
|
+
* This parameter is required.
|
|
22711
|
+
*
|
|
22360
22712
|
* @example
|
|
22361
22713
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
22362
22714
|
*/
|
|
22363
22715
|
defaultPools?: number[];
|
|
22364
22716
|
description?: string;
|
|
22365
22717
|
/**
|
|
22718
|
+
* @remarks
|
|
22719
|
+
* This parameter is required.
|
|
22720
|
+
*
|
|
22366
22721
|
* @example
|
|
22367
22722
|
* 123
|
|
22368
22723
|
*/
|
|
22369
22724
|
fallbackPool?: number;
|
|
22370
22725
|
/**
|
|
22726
|
+
* @remarks
|
|
22727
|
+
* This parameter is required.
|
|
22728
|
+
*
|
|
22371
22729
|
* @example
|
|
22372
22730
|
* order
|
|
22373
22731
|
*/
|
|
@@ -22407,6 +22765,9 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
22407
22765
|
*/
|
|
22408
22766
|
siteId?: number;
|
|
22409
22767
|
/**
|
|
22768
|
+
* @remarks
|
|
22769
|
+
* This parameter is required.
|
|
22770
|
+
*
|
|
22410
22771
|
* @example
|
|
22411
22772
|
* ip
|
|
22412
22773
|
*/
|
|
@@ -22487,17 +22848,26 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
22487
22848
|
*/
|
|
22488
22849
|
adaptiveRoutingShrink?: string;
|
|
22489
22850
|
/**
|
|
22851
|
+
* @remarks
|
|
22852
|
+
* This parameter is required.
|
|
22853
|
+
*
|
|
22490
22854
|
* @example
|
|
22491
22855
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
22492
22856
|
*/
|
|
22493
22857
|
defaultPoolsShrink?: string;
|
|
22494
22858
|
description?: string;
|
|
22495
22859
|
/**
|
|
22860
|
+
* @remarks
|
|
22861
|
+
* This parameter is required.
|
|
22862
|
+
*
|
|
22496
22863
|
* @example
|
|
22497
22864
|
* 123
|
|
22498
22865
|
*/
|
|
22499
22866
|
fallbackPool?: number;
|
|
22500
22867
|
/**
|
|
22868
|
+
* @remarks
|
|
22869
|
+
* This parameter is required.
|
|
22870
|
+
*
|
|
22501
22871
|
* @example
|
|
22502
22872
|
* order
|
|
22503
22873
|
*/
|
|
@@ -22537,6 +22907,9 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
22537
22907
|
*/
|
|
22538
22908
|
siteId?: number;
|
|
22539
22909
|
/**
|
|
22910
|
+
* @remarks
|
|
22911
|
+
* This parameter is required.
|
|
22912
|
+
*
|
|
22540
22913
|
* @example
|
|
22541
22914
|
* ip
|
|
22542
22915
|
*/
|
|
@@ -22664,6 +23037,168 @@ export class CreateLoadBalancerResponse extends $dara.Model {
|
|
|
22664
23037
|
}
|
|
22665
23038
|
}
|
|
22666
23039
|
|
|
23040
|
+
export class CreateNetworkOptimizationRequest extends $dara.Model {
|
|
23041
|
+
/**
|
|
23042
|
+
* @example
|
|
23043
|
+
* on
|
|
23044
|
+
*/
|
|
23045
|
+
grpc?: string;
|
|
23046
|
+
/**
|
|
23047
|
+
* @example
|
|
23048
|
+
* on
|
|
23049
|
+
*/
|
|
23050
|
+
http2Origin?: string;
|
|
23051
|
+
/**
|
|
23052
|
+
* @example
|
|
23053
|
+
* (http.host eq \\"video.example.com\\")
|
|
23054
|
+
*/
|
|
23055
|
+
rule?: string;
|
|
23056
|
+
/**
|
|
23057
|
+
* @example
|
|
23058
|
+
* on
|
|
23059
|
+
*/
|
|
23060
|
+
ruleEnable?: string;
|
|
23061
|
+
/**
|
|
23062
|
+
* @example
|
|
23063
|
+
* rule_example
|
|
23064
|
+
*/
|
|
23065
|
+
ruleName?: string;
|
|
23066
|
+
/**
|
|
23067
|
+
* @remarks
|
|
23068
|
+
* This parameter is required.
|
|
23069
|
+
*
|
|
23070
|
+
* @example
|
|
23071
|
+
* 340035003106221
|
|
23072
|
+
*/
|
|
23073
|
+
siteId?: number;
|
|
23074
|
+
/**
|
|
23075
|
+
* @example
|
|
23076
|
+
* 1
|
|
23077
|
+
*/
|
|
23078
|
+
siteVersion?: number;
|
|
23079
|
+
/**
|
|
23080
|
+
* @example
|
|
23081
|
+
* on
|
|
23082
|
+
*/
|
|
23083
|
+
smartRouting?: string;
|
|
23084
|
+
/**
|
|
23085
|
+
* @example
|
|
23086
|
+
* 100
|
|
23087
|
+
*/
|
|
23088
|
+
uploadMaxFilesize?: string;
|
|
23089
|
+
/**
|
|
23090
|
+
* @example
|
|
23091
|
+
* on
|
|
23092
|
+
*/
|
|
23093
|
+
websocket?: string;
|
|
23094
|
+
static names(): { [key: string]: string } {
|
|
23095
|
+
return {
|
|
23096
|
+
grpc: 'Grpc',
|
|
23097
|
+
http2Origin: 'Http2Origin',
|
|
23098
|
+
rule: 'Rule',
|
|
23099
|
+
ruleEnable: 'RuleEnable',
|
|
23100
|
+
ruleName: 'RuleName',
|
|
23101
|
+
siteId: 'SiteId',
|
|
23102
|
+
siteVersion: 'SiteVersion',
|
|
23103
|
+
smartRouting: 'SmartRouting',
|
|
23104
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
23105
|
+
websocket: 'Websocket',
|
|
23106
|
+
};
|
|
23107
|
+
}
|
|
23108
|
+
|
|
23109
|
+
static types(): { [key: string]: any } {
|
|
23110
|
+
return {
|
|
23111
|
+
grpc: 'string',
|
|
23112
|
+
http2Origin: 'string',
|
|
23113
|
+
rule: 'string',
|
|
23114
|
+
ruleEnable: 'string',
|
|
23115
|
+
ruleName: 'string',
|
|
23116
|
+
siteId: 'number',
|
|
23117
|
+
siteVersion: 'number',
|
|
23118
|
+
smartRouting: 'string',
|
|
23119
|
+
uploadMaxFilesize: 'string',
|
|
23120
|
+
websocket: 'string',
|
|
23121
|
+
};
|
|
23122
|
+
}
|
|
23123
|
+
|
|
23124
|
+
validate() {
|
|
23125
|
+
super.validate();
|
|
23126
|
+
}
|
|
23127
|
+
|
|
23128
|
+
constructor(map?: { [key: string]: any }) {
|
|
23129
|
+
super(map);
|
|
23130
|
+
}
|
|
23131
|
+
}
|
|
23132
|
+
|
|
23133
|
+
export class CreateNetworkOptimizationResponseBody extends $dara.Model {
|
|
23134
|
+
/**
|
|
23135
|
+
* @example
|
|
23136
|
+
* 352816096987136
|
|
23137
|
+
*/
|
|
23138
|
+
configId?: number;
|
|
23139
|
+
/**
|
|
23140
|
+
* @example
|
|
23141
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
23142
|
+
*/
|
|
23143
|
+
requestId?: string;
|
|
23144
|
+
static names(): { [key: string]: string } {
|
|
23145
|
+
return {
|
|
23146
|
+
configId: 'ConfigId',
|
|
23147
|
+
requestId: 'RequestId',
|
|
23148
|
+
};
|
|
23149
|
+
}
|
|
23150
|
+
|
|
23151
|
+
static types(): { [key: string]: any } {
|
|
23152
|
+
return {
|
|
23153
|
+
configId: 'number',
|
|
23154
|
+
requestId: 'string',
|
|
23155
|
+
};
|
|
23156
|
+
}
|
|
23157
|
+
|
|
23158
|
+
validate() {
|
|
23159
|
+
super.validate();
|
|
23160
|
+
}
|
|
23161
|
+
|
|
23162
|
+
constructor(map?: { [key: string]: any }) {
|
|
23163
|
+
super(map);
|
|
23164
|
+
}
|
|
23165
|
+
}
|
|
23166
|
+
|
|
23167
|
+
export class CreateNetworkOptimizationResponse extends $dara.Model {
|
|
23168
|
+
headers?: { [key: string]: string };
|
|
23169
|
+
statusCode?: number;
|
|
23170
|
+
body?: CreateNetworkOptimizationResponseBody;
|
|
23171
|
+
static names(): { [key: string]: string } {
|
|
23172
|
+
return {
|
|
23173
|
+
headers: 'headers',
|
|
23174
|
+
statusCode: 'statusCode',
|
|
23175
|
+
body: 'body',
|
|
23176
|
+
};
|
|
23177
|
+
}
|
|
23178
|
+
|
|
23179
|
+
static types(): { [key: string]: any } {
|
|
23180
|
+
return {
|
|
23181
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
23182
|
+
statusCode: 'number',
|
|
23183
|
+
body: CreateNetworkOptimizationResponseBody,
|
|
23184
|
+
};
|
|
23185
|
+
}
|
|
23186
|
+
|
|
23187
|
+
validate() {
|
|
23188
|
+
if(this.headers) {
|
|
23189
|
+
$dara.Model.validateMap(this.headers);
|
|
23190
|
+
}
|
|
23191
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
23192
|
+
(this.body as any).validate();
|
|
23193
|
+
}
|
|
23194
|
+
super.validate();
|
|
23195
|
+
}
|
|
23196
|
+
|
|
23197
|
+
constructor(map?: { [key: string]: any }) {
|
|
23198
|
+
super(map);
|
|
23199
|
+
}
|
|
23200
|
+
}
|
|
23201
|
+
|
|
22667
23202
|
export class CreateOriginPoolRequest extends $dara.Model {
|
|
22668
23203
|
enabled?: boolean;
|
|
22669
23204
|
/**
|
|
@@ -28584,38 +29119,38 @@ export class DeleteHttpsBasicConfigurationResponse extends $dara.Model {
|
|
|
28584
29119
|
}
|
|
28585
29120
|
}
|
|
28586
29121
|
|
|
28587
|
-
export class
|
|
29122
|
+
export class DeleteImageTransformRequest extends $dara.Model {
|
|
28588
29123
|
/**
|
|
28589
29124
|
* @remarks
|
|
28590
|
-
* The
|
|
29125
|
+
* The configuration ID, which can be obtained by calling the [ListImageTransforms](~~ListImageTransforms~~) operation.
|
|
28591
29126
|
*
|
|
28592
29127
|
* This parameter is required.
|
|
28593
29128
|
*
|
|
28594
29129
|
* @example
|
|
28595
|
-
*
|
|
29130
|
+
* 352816096987136
|
|
28596
29131
|
*/
|
|
28597
|
-
|
|
29132
|
+
configId?: number;
|
|
28598
29133
|
/**
|
|
28599
29134
|
* @remarks
|
|
28600
|
-
* The
|
|
29135
|
+
* The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
|
|
28601
29136
|
*
|
|
28602
29137
|
* This parameter is required.
|
|
28603
29138
|
*
|
|
28604
29139
|
* @example
|
|
28605
|
-
*
|
|
29140
|
+
* 123456****
|
|
28606
29141
|
*/
|
|
28607
|
-
|
|
29142
|
+
siteId?: number;
|
|
28608
29143
|
static names(): { [key: string]: string } {
|
|
28609
29144
|
return {
|
|
28610
|
-
|
|
28611
|
-
|
|
29145
|
+
configId: 'ConfigId',
|
|
29146
|
+
siteId: 'SiteId',
|
|
28612
29147
|
};
|
|
28613
29148
|
}
|
|
28614
29149
|
|
|
28615
29150
|
static types(): { [key: string]: any } {
|
|
28616
29151
|
return {
|
|
28617
|
-
|
|
28618
|
-
|
|
29152
|
+
configId: 'number',
|
|
29153
|
+
siteId: 'number',
|
|
28619
29154
|
};
|
|
28620
29155
|
}
|
|
28621
29156
|
|
|
@@ -28628,13 +29163,13 @@ export class DeleteKvRequest extends $dara.Model {
|
|
|
28628
29163
|
}
|
|
28629
29164
|
}
|
|
28630
29165
|
|
|
28631
|
-
export class
|
|
29166
|
+
export class DeleteImageTransformResponseBody extends $dara.Model {
|
|
28632
29167
|
/**
|
|
28633
29168
|
* @remarks
|
|
28634
29169
|
* The request ID.
|
|
28635
29170
|
*
|
|
28636
29171
|
* @example
|
|
28637
|
-
*
|
|
29172
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
28638
29173
|
*/
|
|
28639
29174
|
requestId?: string;
|
|
28640
29175
|
static names(): { [key: string]: string } {
|
|
@@ -28658,10 +29193,10 @@ export class DeleteKvResponseBody extends $dara.Model {
|
|
|
28658
29193
|
}
|
|
28659
29194
|
}
|
|
28660
29195
|
|
|
28661
|
-
export class
|
|
29196
|
+
export class DeleteImageTransformResponse extends $dara.Model {
|
|
28662
29197
|
headers?: { [key: string]: string };
|
|
28663
29198
|
statusCode?: number;
|
|
28664
|
-
body?:
|
|
29199
|
+
body?: DeleteImageTransformResponseBody;
|
|
28665
29200
|
static names(): { [key: string]: string } {
|
|
28666
29201
|
return {
|
|
28667
29202
|
headers: 'headers',
|
|
@@ -28674,7 +29209,7 @@ export class DeleteKvResponse extends $dara.Model {
|
|
|
28674
29209
|
return {
|
|
28675
29210
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28676
29211
|
statusCode: 'number',
|
|
28677
|
-
body:
|
|
29212
|
+
body: DeleteImageTransformResponseBody,
|
|
28678
29213
|
};
|
|
28679
29214
|
}
|
|
28680
29215
|
|
|
@@ -28693,7 +29228,17 @@ export class DeleteKvResponse extends $dara.Model {
|
|
|
28693
29228
|
}
|
|
28694
29229
|
}
|
|
28695
29230
|
|
|
28696
|
-
export class
|
|
29231
|
+
export class DeleteKvRequest extends $dara.Model {
|
|
29232
|
+
/**
|
|
29233
|
+
* @remarks
|
|
29234
|
+
* The name of the key that you want to delete.
|
|
29235
|
+
*
|
|
29236
|
+
* This parameter is required.
|
|
29237
|
+
*
|
|
29238
|
+
* @example
|
|
29239
|
+
* test_key
|
|
29240
|
+
*/
|
|
29241
|
+
key?: string;
|
|
28697
29242
|
/**
|
|
28698
29243
|
* @remarks
|
|
28699
29244
|
* The name of the namespace that you specify when you call the [CreateKvNamespace](https://help.aliyun.com/document_detail/2850317.html) operation.
|
|
@@ -28706,12 +29251,14 @@ export class DeleteKvNamespaceRequest extends $dara.Model {
|
|
|
28706
29251
|
namespace?: string;
|
|
28707
29252
|
static names(): { [key: string]: string } {
|
|
28708
29253
|
return {
|
|
29254
|
+
key: 'Key',
|
|
28709
29255
|
namespace: 'Namespace',
|
|
28710
29256
|
};
|
|
28711
29257
|
}
|
|
28712
29258
|
|
|
28713
29259
|
static types(): { [key: string]: any } {
|
|
28714
29260
|
return {
|
|
29261
|
+
key: 'string',
|
|
28715
29262
|
namespace: 'string',
|
|
28716
29263
|
};
|
|
28717
29264
|
}
|
|
@@ -28725,7 +29272,7 @@ export class DeleteKvNamespaceRequest extends $dara.Model {
|
|
|
28725
29272
|
}
|
|
28726
29273
|
}
|
|
28727
29274
|
|
|
28728
|
-
export class
|
|
29275
|
+
export class DeleteKvResponseBody extends $dara.Model {
|
|
28729
29276
|
/**
|
|
28730
29277
|
* @remarks
|
|
28731
29278
|
* The request ID.
|
|
@@ -28755,10 +29302,10 @@ export class DeleteKvNamespaceResponseBody extends $dara.Model {
|
|
|
28755
29302
|
}
|
|
28756
29303
|
}
|
|
28757
29304
|
|
|
28758
|
-
export class
|
|
29305
|
+
export class DeleteKvResponse extends $dara.Model {
|
|
28759
29306
|
headers?: { [key: string]: string };
|
|
28760
29307
|
statusCode?: number;
|
|
28761
|
-
body?:
|
|
29308
|
+
body?: DeleteKvResponseBody;
|
|
28762
29309
|
static names(): { [key: string]: string } {
|
|
28763
29310
|
return {
|
|
28764
29311
|
headers: 'headers',
|
|
@@ -28771,7 +29318,7 @@ export class DeleteKvNamespaceResponse extends $dara.Model {
|
|
|
28771
29318
|
return {
|
|
28772
29319
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28773
29320
|
statusCode: 'number',
|
|
28774
|
-
body:
|
|
29321
|
+
body: DeleteKvResponseBody,
|
|
28775
29322
|
};
|
|
28776
29323
|
}
|
|
28777
29324
|
|
|
@@ -28790,26 +29337,26 @@ export class DeleteKvNamespaceResponse extends $dara.Model {
|
|
|
28790
29337
|
}
|
|
28791
29338
|
}
|
|
28792
29339
|
|
|
28793
|
-
export class
|
|
29340
|
+
export class DeleteKvNamespaceRequest extends $dara.Model {
|
|
28794
29341
|
/**
|
|
28795
29342
|
* @remarks
|
|
28796
|
-
* The
|
|
29343
|
+
* The name of the namespace that you specify when you call the [CreateKvNamespace](https://help.aliyun.com/document_detail/2850317.html) operation.
|
|
28797
29344
|
*
|
|
28798
29345
|
* This parameter is required.
|
|
28799
29346
|
*
|
|
28800
29347
|
* @example
|
|
28801
|
-
*
|
|
29348
|
+
* test_namespace
|
|
28802
29349
|
*/
|
|
28803
|
-
|
|
29350
|
+
namespace?: string;
|
|
28804
29351
|
static names(): { [key: string]: string } {
|
|
28805
29352
|
return {
|
|
28806
|
-
|
|
29353
|
+
namespace: 'Namespace',
|
|
28807
29354
|
};
|
|
28808
29355
|
}
|
|
28809
29356
|
|
|
28810
29357
|
static types(): { [key: string]: any } {
|
|
28811
29358
|
return {
|
|
28812
|
-
|
|
29359
|
+
namespace: 'string',
|
|
28813
29360
|
};
|
|
28814
29361
|
}
|
|
28815
29362
|
|
|
@@ -28822,13 +29369,13 @@ export class DeleteListRequest extends $dara.Model {
|
|
|
28822
29369
|
}
|
|
28823
29370
|
}
|
|
28824
29371
|
|
|
28825
|
-
export class
|
|
29372
|
+
export class DeleteKvNamespaceResponseBody extends $dara.Model {
|
|
28826
29373
|
/**
|
|
28827
29374
|
* @remarks
|
|
28828
29375
|
* The request ID.
|
|
28829
29376
|
*
|
|
28830
29377
|
* @example
|
|
28831
|
-
*
|
|
29378
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
28832
29379
|
*/
|
|
28833
29380
|
requestId?: string;
|
|
28834
29381
|
static names(): { [key: string]: string } {
|
|
@@ -28852,10 +29399,10 @@ export class DeleteListResponseBody extends $dara.Model {
|
|
|
28852
29399
|
}
|
|
28853
29400
|
}
|
|
28854
29401
|
|
|
28855
|
-
export class
|
|
29402
|
+
export class DeleteKvNamespaceResponse extends $dara.Model {
|
|
28856
29403
|
headers?: { [key: string]: string };
|
|
28857
29404
|
statusCode?: number;
|
|
28858
|
-
body?:
|
|
29405
|
+
body?: DeleteKvNamespaceResponseBody;
|
|
28859
29406
|
static names(): { [key: string]: string } {
|
|
28860
29407
|
return {
|
|
28861
29408
|
headers: 'headers',
|
|
@@ -28868,7 +29415,7 @@ export class DeleteListResponse extends $dara.Model {
|
|
|
28868
29415
|
return {
|
|
28869
29416
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28870
29417
|
statusCode: 'number',
|
|
28871
|
-
body:
|
|
29418
|
+
body: DeleteKvNamespaceResponseBody,
|
|
28872
29419
|
};
|
|
28873
29420
|
}
|
|
28874
29421
|
|
|
@@ -28887,31 +29434,26 @@ export class DeleteListResponse extends $dara.Model {
|
|
|
28887
29434
|
}
|
|
28888
29435
|
}
|
|
28889
29436
|
|
|
28890
|
-
export class
|
|
29437
|
+
export class DeleteListRequest extends $dara.Model {
|
|
28891
29438
|
/**
|
|
28892
29439
|
* @remarks
|
|
29440
|
+
* The ID of the custom list, which can be obtained by calling the [ListLists](https://help.aliyun.com/document_detail/2850217.html) operation.
|
|
29441
|
+
*
|
|
28893
29442
|
* This parameter is required.
|
|
28894
29443
|
*
|
|
28895
29444
|
* @example
|
|
28896
|
-
*
|
|
29445
|
+
* 40000001
|
|
28897
29446
|
*/
|
|
28898
29447
|
id?: number;
|
|
28899
|
-
/**
|
|
28900
|
-
* @remarks
|
|
28901
|
-
* This parameter is required.
|
|
28902
|
-
*/
|
|
28903
|
-
siteId?: number;
|
|
28904
29448
|
static names(): { [key: string]: string } {
|
|
28905
29449
|
return {
|
|
28906
29450
|
id: 'Id',
|
|
28907
|
-
siteId: 'SiteId',
|
|
28908
29451
|
};
|
|
28909
29452
|
}
|
|
28910
29453
|
|
|
28911
29454
|
static types(): { [key: string]: any } {
|
|
28912
29455
|
return {
|
|
28913
29456
|
id: 'number',
|
|
28914
|
-
siteId: 'number',
|
|
28915
29457
|
};
|
|
28916
29458
|
}
|
|
28917
29459
|
|
|
@@ -28924,10 +29466,13 @@ export class DeleteLoadBalancerRequest extends $dara.Model {
|
|
|
28924
29466
|
}
|
|
28925
29467
|
}
|
|
28926
29468
|
|
|
28927
|
-
export class
|
|
29469
|
+
export class DeleteListResponseBody extends $dara.Model {
|
|
28928
29470
|
/**
|
|
28929
29471
|
* @remarks
|
|
28930
|
-
*
|
|
29472
|
+
* The request ID.
|
|
29473
|
+
*
|
|
29474
|
+
* @example
|
|
29475
|
+
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
28931
29476
|
*/
|
|
28932
29477
|
requestId?: string;
|
|
28933
29478
|
static names(): { [key: string]: string } {
|
|
@@ -28951,10 +29496,10 @@ export class DeleteLoadBalancerResponseBody extends $dara.Model {
|
|
|
28951
29496
|
}
|
|
28952
29497
|
}
|
|
28953
29498
|
|
|
28954
|
-
export class
|
|
29499
|
+
export class DeleteListResponse extends $dara.Model {
|
|
28955
29500
|
headers?: { [key: string]: string };
|
|
28956
29501
|
statusCode?: number;
|
|
28957
|
-
body?:
|
|
29502
|
+
body?: DeleteListResponseBody;
|
|
28958
29503
|
static names(): { [key: string]: string } {
|
|
28959
29504
|
return {
|
|
28960
29505
|
headers: 'headers',
|
|
@@ -28967,7 +29512,7 @@ export class DeleteLoadBalancerResponse extends $dara.Model {
|
|
|
28967
29512
|
return {
|
|
28968
29513
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28969
29514
|
statusCode: 'number',
|
|
28970
|
-
body:
|
|
29515
|
+
body: DeleteListResponseBody,
|
|
28971
29516
|
};
|
|
28972
29517
|
}
|
|
28973
29518
|
|
|
@@ -28986,13 +29531,214 @@ export class DeleteLoadBalancerResponse extends $dara.Model {
|
|
|
28986
29531
|
}
|
|
28987
29532
|
}
|
|
28988
29533
|
|
|
28989
|
-
export class
|
|
29534
|
+
export class DeleteLoadBalancerRequest extends $dara.Model {
|
|
28990
29535
|
/**
|
|
28991
29536
|
* @remarks
|
|
28992
29537
|
* This parameter is required.
|
|
28993
29538
|
*
|
|
28994
29539
|
* @example
|
|
28995
|
-
*
|
|
29540
|
+
* DeleteLoadBalancer
|
|
29541
|
+
*/
|
|
29542
|
+
id?: number;
|
|
29543
|
+
/**
|
|
29544
|
+
* @remarks
|
|
29545
|
+
* This parameter is required.
|
|
29546
|
+
*/
|
|
29547
|
+
siteId?: number;
|
|
29548
|
+
static names(): { [key: string]: string } {
|
|
29549
|
+
return {
|
|
29550
|
+
id: 'Id',
|
|
29551
|
+
siteId: 'SiteId',
|
|
29552
|
+
};
|
|
29553
|
+
}
|
|
29554
|
+
|
|
29555
|
+
static types(): { [key: string]: any } {
|
|
29556
|
+
return {
|
|
29557
|
+
id: 'number',
|
|
29558
|
+
siteId: 'number',
|
|
29559
|
+
};
|
|
29560
|
+
}
|
|
29561
|
+
|
|
29562
|
+
validate() {
|
|
29563
|
+
super.validate();
|
|
29564
|
+
}
|
|
29565
|
+
|
|
29566
|
+
constructor(map?: { [key: string]: any }) {
|
|
29567
|
+
super(map);
|
|
29568
|
+
}
|
|
29569
|
+
}
|
|
29570
|
+
|
|
29571
|
+
export class DeleteLoadBalancerResponseBody extends $dara.Model {
|
|
29572
|
+
/**
|
|
29573
|
+
* @remarks
|
|
29574
|
+
* Id of the request
|
|
29575
|
+
*/
|
|
29576
|
+
requestId?: string;
|
|
29577
|
+
static names(): { [key: string]: string } {
|
|
29578
|
+
return {
|
|
29579
|
+
requestId: 'RequestId',
|
|
29580
|
+
};
|
|
29581
|
+
}
|
|
29582
|
+
|
|
29583
|
+
static types(): { [key: string]: any } {
|
|
29584
|
+
return {
|
|
29585
|
+
requestId: 'string',
|
|
29586
|
+
};
|
|
29587
|
+
}
|
|
29588
|
+
|
|
29589
|
+
validate() {
|
|
29590
|
+
super.validate();
|
|
29591
|
+
}
|
|
29592
|
+
|
|
29593
|
+
constructor(map?: { [key: string]: any }) {
|
|
29594
|
+
super(map);
|
|
29595
|
+
}
|
|
29596
|
+
}
|
|
29597
|
+
|
|
29598
|
+
export class DeleteLoadBalancerResponse extends $dara.Model {
|
|
29599
|
+
headers?: { [key: string]: string };
|
|
29600
|
+
statusCode?: number;
|
|
29601
|
+
body?: DeleteLoadBalancerResponseBody;
|
|
29602
|
+
static names(): { [key: string]: string } {
|
|
29603
|
+
return {
|
|
29604
|
+
headers: 'headers',
|
|
29605
|
+
statusCode: 'statusCode',
|
|
29606
|
+
body: 'body',
|
|
29607
|
+
};
|
|
29608
|
+
}
|
|
29609
|
+
|
|
29610
|
+
static types(): { [key: string]: any } {
|
|
29611
|
+
return {
|
|
29612
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
29613
|
+
statusCode: 'number',
|
|
29614
|
+
body: DeleteLoadBalancerResponseBody,
|
|
29615
|
+
};
|
|
29616
|
+
}
|
|
29617
|
+
|
|
29618
|
+
validate() {
|
|
29619
|
+
if(this.headers) {
|
|
29620
|
+
$dara.Model.validateMap(this.headers);
|
|
29621
|
+
}
|
|
29622
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
29623
|
+
(this.body as any).validate();
|
|
29624
|
+
}
|
|
29625
|
+
super.validate();
|
|
29626
|
+
}
|
|
29627
|
+
|
|
29628
|
+
constructor(map?: { [key: string]: any }) {
|
|
29629
|
+
super(map);
|
|
29630
|
+
}
|
|
29631
|
+
}
|
|
29632
|
+
|
|
29633
|
+
export class DeleteNetworkOptimizationRequest extends $dara.Model {
|
|
29634
|
+
/**
|
|
29635
|
+
* @remarks
|
|
29636
|
+
* This parameter is required.
|
|
29637
|
+
*
|
|
29638
|
+
* @example
|
|
29639
|
+
* 352816**********
|
|
29640
|
+
*/
|
|
29641
|
+
configId?: number;
|
|
29642
|
+
/**
|
|
29643
|
+
* @remarks
|
|
29644
|
+
* This parameter is required.
|
|
29645
|
+
*
|
|
29646
|
+
* @example
|
|
29647
|
+
* 123456****
|
|
29648
|
+
*/
|
|
29649
|
+
siteId?: number;
|
|
29650
|
+
static names(): { [key: string]: string } {
|
|
29651
|
+
return {
|
|
29652
|
+
configId: 'ConfigId',
|
|
29653
|
+
siteId: 'SiteId',
|
|
29654
|
+
};
|
|
29655
|
+
}
|
|
29656
|
+
|
|
29657
|
+
static types(): { [key: string]: any } {
|
|
29658
|
+
return {
|
|
29659
|
+
configId: 'number',
|
|
29660
|
+
siteId: 'number',
|
|
29661
|
+
};
|
|
29662
|
+
}
|
|
29663
|
+
|
|
29664
|
+
validate() {
|
|
29665
|
+
super.validate();
|
|
29666
|
+
}
|
|
29667
|
+
|
|
29668
|
+
constructor(map?: { [key: string]: any }) {
|
|
29669
|
+
super(map);
|
|
29670
|
+
}
|
|
29671
|
+
}
|
|
29672
|
+
|
|
29673
|
+
export class DeleteNetworkOptimizationResponseBody extends $dara.Model {
|
|
29674
|
+
/**
|
|
29675
|
+
* @example
|
|
29676
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
29677
|
+
*/
|
|
29678
|
+
requestId?: string;
|
|
29679
|
+
static names(): { [key: string]: string } {
|
|
29680
|
+
return {
|
|
29681
|
+
requestId: 'RequestId',
|
|
29682
|
+
};
|
|
29683
|
+
}
|
|
29684
|
+
|
|
29685
|
+
static types(): { [key: string]: any } {
|
|
29686
|
+
return {
|
|
29687
|
+
requestId: 'string',
|
|
29688
|
+
};
|
|
29689
|
+
}
|
|
29690
|
+
|
|
29691
|
+
validate() {
|
|
29692
|
+
super.validate();
|
|
29693
|
+
}
|
|
29694
|
+
|
|
29695
|
+
constructor(map?: { [key: string]: any }) {
|
|
29696
|
+
super(map);
|
|
29697
|
+
}
|
|
29698
|
+
}
|
|
29699
|
+
|
|
29700
|
+
export class DeleteNetworkOptimizationResponse extends $dara.Model {
|
|
29701
|
+
headers?: { [key: string]: string };
|
|
29702
|
+
statusCode?: number;
|
|
29703
|
+
body?: DeleteNetworkOptimizationResponseBody;
|
|
29704
|
+
static names(): { [key: string]: string } {
|
|
29705
|
+
return {
|
|
29706
|
+
headers: 'headers',
|
|
29707
|
+
statusCode: 'statusCode',
|
|
29708
|
+
body: 'body',
|
|
29709
|
+
};
|
|
29710
|
+
}
|
|
29711
|
+
|
|
29712
|
+
static types(): { [key: string]: any } {
|
|
29713
|
+
return {
|
|
29714
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
29715
|
+
statusCode: 'number',
|
|
29716
|
+
body: DeleteNetworkOptimizationResponseBody,
|
|
29717
|
+
};
|
|
29718
|
+
}
|
|
29719
|
+
|
|
29720
|
+
validate() {
|
|
29721
|
+
if(this.headers) {
|
|
29722
|
+
$dara.Model.validateMap(this.headers);
|
|
29723
|
+
}
|
|
29724
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
29725
|
+
(this.body as any).validate();
|
|
29726
|
+
}
|
|
29727
|
+
super.validate();
|
|
29728
|
+
}
|
|
29729
|
+
|
|
29730
|
+
constructor(map?: { [key: string]: any }) {
|
|
29731
|
+
super(map);
|
|
29732
|
+
}
|
|
29733
|
+
}
|
|
29734
|
+
|
|
29735
|
+
export class DeleteOriginPoolRequest extends $dara.Model {
|
|
29736
|
+
/**
|
|
29737
|
+
* @remarks
|
|
29738
|
+
* This parameter is required.
|
|
29739
|
+
*
|
|
29740
|
+
* @example
|
|
29741
|
+
* DeleteOriginPool
|
|
28996
29742
|
*/
|
|
28997
29743
|
id?: number;
|
|
28998
29744
|
/**
|
|
@@ -36449,6 +37195,204 @@ export class GetIPv6Response extends $dara.Model {
|
|
|
36449
37195
|
}
|
|
36450
37196
|
}
|
|
36451
37197
|
|
|
37198
|
+
export class GetImageTransformRequest extends $dara.Model {
|
|
37199
|
+
/**
|
|
37200
|
+
* @remarks
|
|
37201
|
+
* The configuration ID, which can be obtained by calling the [ListImageTransforms](~~ListImageTransforms~~) operation.
|
|
37202
|
+
*
|
|
37203
|
+
* This parameter is required.
|
|
37204
|
+
*
|
|
37205
|
+
* @example
|
|
37206
|
+
* 352816096987136
|
|
37207
|
+
*/
|
|
37208
|
+
configId?: number;
|
|
37209
|
+
/**
|
|
37210
|
+
* @remarks
|
|
37211
|
+
* The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
|
|
37212
|
+
*
|
|
37213
|
+
* This parameter is required.
|
|
37214
|
+
*
|
|
37215
|
+
* @example
|
|
37216
|
+
* 123456****
|
|
37217
|
+
*/
|
|
37218
|
+
siteId?: number;
|
|
37219
|
+
static names(): { [key: string]: string } {
|
|
37220
|
+
return {
|
|
37221
|
+
configId: 'ConfigId',
|
|
37222
|
+
siteId: 'SiteId',
|
|
37223
|
+
};
|
|
37224
|
+
}
|
|
37225
|
+
|
|
37226
|
+
static types(): { [key: string]: any } {
|
|
37227
|
+
return {
|
|
37228
|
+
configId: 'number',
|
|
37229
|
+
siteId: 'number',
|
|
37230
|
+
};
|
|
37231
|
+
}
|
|
37232
|
+
|
|
37233
|
+
validate() {
|
|
37234
|
+
super.validate();
|
|
37235
|
+
}
|
|
37236
|
+
|
|
37237
|
+
constructor(map?: { [key: string]: any }) {
|
|
37238
|
+
super(map);
|
|
37239
|
+
}
|
|
37240
|
+
}
|
|
37241
|
+
|
|
37242
|
+
export class GetImageTransformResponseBody extends $dara.Model {
|
|
37243
|
+
/**
|
|
37244
|
+
* @remarks
|
|
37245
|
+
* The configuration ID.
|
|
37246
|
+
*
|
|
37247
|
+
* @example
|
|
37248
|
+
* 352816096987136
|
|
37249
|
+
*/
|
|
37250
|
+
configId?: number;
|
|
37251
|
+
/**
|
|
37252
|
+
* @remarks
|
|
37253
|
+
* The configuration type. Valid values:
|
|
37254
|
+
*
|
|
37255
|
+
* * global: global configuration.
|
|
37256
|
+
* * rule: rule configuration.
|
|
37257
|
+
*
|
|
37258
|
+
* @example
|
|
37259
|
+
* global
|
|
37260
|
+
*/
|
|
37261
|
+
configType?: string;
|
|
37262
|
+
/**
|
|
37263
|
+
* @remarks
|
|
37264
|
+
* Indicates whether the image transformations feature is enabled. Valid values:
|
|
37265
|
+
*
|
|
37266
|
+
* * on
|
|
37267
|
+
* * off
|
|
37268
|
+
*
|
|
37269
|
+
* @example
|
|
37270
|
+
* on
|
|
37271
|
+
*/
|
|
37272
|
+
enable?: string;
|
|
37273
|
+
/**
|
|
37274
|
+
* @remarks
|
|
37275
|
+
* The request ID.
|
|
37276
|
+
*
|
|
37277
|
+
* @example
|
|
37278
|
+
* CB1A380B-09F0-41BB-280B-72F8FD6DA2FE
|
|
37279
|
+
*/
|
|
37280
|
+
requestId?: string;
|
|
37281
|
+
/**
|
|
37282
|
+
* @remarks
|
|
37283
|
+
* The rule content, which is a policy or conditional expression.
|
|
37284
|
+
*
|
|
37285
|
+
* @example
|
|
37286
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
37287
|
+
*/
|
|
37288
|
+
rule?: string;
|
|
37289
|
+
/**
|
|
37290
|
+
* @remarks
|
|
37291
|
+
* Indicates whether the rule is enabled. Valid values:
|
|
37292
|
+
*
|
|
37293
|
+
* * **on**
|
|
37294
|
+
* * **off**
|
|
37295
|
+
*
|
|
37296
|
+
* @example
|
|
37297
|
+
* on
|
|
37298
|
+
*/
|
|
37299
|
+
ruleEnable?: string;
|
|
37300
|
+
/**
|
|
37301
|
+
* @remarks
|
|
37302
|
+
* The rule name.
|
|
37303
|
+
*
|
|
37304
|
+
* @example
|
|
37305
|
+
* test
|
|
37306
|
+
*/
|
|
37307
|
+
ruleName?: string;
|
|
37308
|
+
/**
|
|
37309
|
+
* @remarks
|
|
37310
|
+
* The order in which the rule is executed.
|
|
37311
|
+
*
|
|
37312
|
+
* @example
|
|
37313
|
+
* 2
|
|
37314
|
+
*/
|
|
37315
|
+
sequence?: number;
|
|
37316
|
+
/**
|
|
37317
|
+
* @remarks
|
|
37318
|
+
* The version number of the website.
|
|
37319
|
+
*
|
|
37320
|
+
* @example
|
|
37321
|
+
* 0
|
|
37322
|
+
*/
|
|
37323
|
+
siteVersion?: number;
|
|
37324
|
+
static names(): { [key: string]: string } {
|
|
37325
|
+
return {
|
|
37326
|
+
configId: 'ConfigId',
|
|
37327
|
+
configType: 'ConfigType',
|
|
37328
|
+
enable: 'Enable',
|
|
37329
|
+
requestId: 'RequestId',
|
|
37330
|
+
rule: 'Rule',
|
|
37331
|
+
ruleEnable: 'RuleEnable',
|
|
37332
|
+
ruleName: 'RuleName',
|
|
37333
|
+
sequence: 'Sequence',
|
|
37334
|
+
siteVersion: 'SiteVersion',
|
|
37335
|
+
};
|
|
37336
|
+
}
|
|
37337
|
+
|
|
37338
|
+
static types(): { [key: string]: any } {
|
|
37339
|
+
return {
|
|
37340
|
+
configId: 'number',
|
|
37341
|
+
configType: 'string',
|
|
37342
|
+
enable: 'string',
|
|
37343
|
+
requestId: 'string',
|
|
37344
|
+
rule: 'string',
|
|
37345
|
+
ruleEnable: 'string',
|
|
37346
|
+
ruleName: 'string',
|
|
37347
|
+
sequence: 'number',
|
|
37348
|
+
siteVersion: 'number',
|
|
37349
|
+
};
|
|
37350
|
+
}
|
|
37351
|
+
|
|
37352
|
+
validate() {
|
|
37353
|
+
super.validate();
|
|
37354
|
+
}
|
|
37355
|
+
|
|
37356
|
+
constructor(map?: { [key: string]: any }) {
|
|
37357
|
+
super(map);
|
|
37358
|
+
}
|
|
37359
|
+
}
|
|
37360
|
+
|
|
37361
|
+
export class GetImageTransformResponse extends $dara.Model {
|
|
37362
|
+
headers?: { [key: string]: string };
|
|
37363
|
+
statusCode?: number;
|
|
37364
|
+
body?: GetImageTransformResponseBody;
|
|
37365
|
+
static names(): { [key: string]: string } {
|
|
37366
|
+
return {
|
|
37367
|
+
headers: 'headers',
|
|
37368
|
+
statusCode: 'statusCode',
|
|
37369
|
+
body: 'body',
|
|
37370
|
+
};
|
|
37371
|
+
}
|
|
37372
|
+
|
|
37373
|
+
static types(): { [key: string]: any } {
|
|
37374
|
+
return {
|
|
37375
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
37376
|
+
statusCode: 'number',
|
|
37377
|
+
body: GetImageTransformResponseBody,
|
|
37378
|
+
};
|
|
37379
|
+
}
|
|
37380
|
+
|
|
37381
|
+
validate() {
|
|
37382
|
+
if(this.headers) {
|
|
37383
|
+
$dara.Model.validateMap(this.headers);
|
|
37384
|
+
}
|
|
37385
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
37386
|
+
(this.body as any).validate();
|
|
37387
|
+
}
|
|
37388
|
+
super.validate();
|
|
37389
|
+
}
|
|
37390
|
+
|
|
37391
|
+
constructor(map?: { [key: string]: any }) {
|
|
37392
|
+
super(map);
|
|
37393
|
+
}
|
|
37394
|
+
}
|
|
37395
|
+
|
|
36452
37396
|
export class GetKvRequest extends $dara.Model {
|
|
36453
37397
|
/**
|
|
36454
37398
|
* @remarks
|
|
@@ -37442,6 +38386,192 @@ export class GetManagedTransformResponse extends $dara.Model {
|
|
|
37442
38386
|
}
|
|
37443
38387
|
}
|
|
37444
38388
|
|
|
38389
|
+
export class GetNetworkOptimizationRequest extends $dara.Model {
|
|
38390
|
+
/**
|
|
38391
|
+
* @remarks
|
|
38392
|
+
* This parameter is required.
|
|
38393
|
+
*
|
|
38394
|
+
* @example
|
|
38395
|
+
* 35281609698****
|
|
38396
|
+
*/
|
|
38397
|
+
configId?: number;
|
|
38398
|
+
/**
|
|
38399
|
+
* @remarks
|
|
38400
|
+
* This parameter is required.
|
|
38401
|
+
*
|
|
38402
|
+
* @example
|
|
38403
|
+
* 12312312213212
|
|
38404
|
+
*/
|
|
38405
|
+
siteId?: number;
|
|
38406
|
+
static names(): { [key: string]: string } {
|
|
38407
|
+
return {
|
|
38408
|
+
configId: 'ConfigId',
|
|
38409
|
+
siteId: 'SiteId',
|
|
38410
|
+
};
|
|
38411
|
+
}
|
|
38412
|
+
|
|
38413
|
+
static types(): { [key: string]: any } {
|
|
38414
|
+
return {
|
|
38415
|
+
configId: 'number',
|
|
38416
|
+
siteId: 'number',
|
|
38417
|
+
};
|
|
38418
|
+
}
|
|
38419
|
+
|
|
38420
|
+
validate() {
|
|
38421
|
+
super.validate();
|
|
38422
|
+
}
|
|
38423
|
+
|
|
38424
|
+
constructor(map?: { [key: string]: any }) {
|
|
38425
|
+
super(map);
|
|
38426
|
+
}
|
|
38427
|
+
}
|
|
38428
|
+
|
|
38429
|
+
export class GetNetworkOptimizationResponseBody extends $dara.Model {
|
|
38430
|
+
/**
|
|
38431
|
+
* @example
|
|
38432
|
+
* 35281609698****
|
|
38433
|
+
*/
|
|
38434
|
+
configId?: number;
|
|
38435
|
+
/**
|
|
38436
|
+
* @example
|
|
38437
|
+
* global
|
|
38438
|
+
*/
|
|
38439
|
+
configType?: string;
|
|
38440
|
+
/**
|
|
38441
|
+
* @example
|
|
38442
|
+
* on
|
|
38443
|
+
*/
|
|
38444
|
+
grpc?: string;
|
|
38445
|
+
/**
|
|
38446
|
+
* @example
|
|
38447
|
+
* on
|
|
38448
|
+
*/
|
|
38449
|
+
http2Origin?: string;
|
|
38450
|
+
/**
|
|
38451
|
+
* @example
|
|
38452
|
+
* C370DAF1-C838-4288-A1A0-9A87633D248E
|
|
38453
|
+
*/
|
|
38454
|
+
requestId?: string;
|
|
38455
|
+
/**
|
|
38456
|
+
* @example
|
|
38457
|
+
* (http.host eq \\"video.example.com\\")
|
|
38458
|
+
*/
|
|
38459
|
+
rule?: string;
|
|
38460
|
+
/**
|
|
38461
|
+
* @example
|
|
38462
|
+
* on
|
|
38463
|
+
*/
|
|
38464
|
+
ruleEnable?: string;
|
|
38465
|
+
/**
|
|
38466
|
+
* @example
|
|
38467
|
+
* rule_example
|
|
38468
|
+
*/
|
|
38469
|
+
ruleName?: string;
|
|
38470
|
+
/**
|
|
38471
|
+
* @example
|
|
38472
|
+
* 2
|
|
38473
|
+
*/
|
|
38474
|
+
sequence?: number;
|
|
38475
|
+
/**
|
|
38476
|
+
* @example
|
|
38477
|
+
* 1
|
|
38478
|
+
*/
|
|
38479
|
+
siteVersion?: number;
|
|
38480
|
+
/**
|
|
38481
|
+
* @example
|
|
38482
|
+
* on
|
|
38483
|
+
*/
|
|
38484
|
+
smartRouting?: string;
|
|
38485
|
+
/**
|
|
38486
|
+
* @example
|
|
38487
|
+
* 500
|
|
38488
|
+
*/
|
|
38489
|
+
uploadMaxFilesize?: string;
|
|
38490
|
+
/**
|
|
38491
|
+
* @example
|
|
38492
|
+
* on
|
|
38493
|
+
*/
|
|
38494
|
+
websocket?: string;
|
|
38495
|
+
static names(): { [key: string]: string } {
|
|
38496
|
+
return {
|
|
38497
|
+
configId: 'ConfigId',
|
|
38498
|
+
configType: 'ConfigType',
|
|
38499
|
+
grpc: 'Grpc',
|
|
38500
|
+
http2Origin: 'Http2Origin',
|
|
38501
|
+
requestId: 'RequestId',
|
|
38502
|
+
rule: 'Rule',
|
|
38503
|
+
ruleEnable: 'RuleEnable',
|
|
38504
|
+
ruleName: 'RuleName',
|
|
38505
|
+
sequence: 'Sequence',
|
|
38506
|
+
siteVersion: 'SiteVersion',
|
|
38507
|
+
smartRouting: 'SmartRouting',
|
|
38508
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
38509
|
+
websocket: 'Websocket',
|
|
38510
|
+
};
|
|
38511
|
+
}
|
|
38512
|
+
|
|
38513
|
+
static types(): { [key: string]: any } {
|
|
38514
|
+
return {
|
|
38515
|
+
configId: 'number',
|
|
38516
|
+
configType: 'string',
|
|
38517
|
+
grpc: 'string',
|
|
38518
|
+
http2Origin: 'string',
|
|
38519
|
+
requestId: 'string',
|
|
38520
|
+
rule: 'string',
|
|
38521
|
+
ruleEnable: 'string',
|
|
38522
|
+
ruleName: 'string',
|
|
38523
|
+
sequence: 'number',
|
|
38524
|
+
siteVersion: 'number',
|
|
38525
|
+
smartRouting: 'string',
|
|
38526
|
+
uploadMaxFilesize: 'string',
|
|
38527
|
+
websocket: 'string',
|
|
38528
|
+
};
|
|
38529
|
+
}
|
|
38530
|
+
|
|
38531
|
+
validate() {
|
|
38532
|
+
super.validate();
|
|
38533
|
+
}
|
|
38534
|
+
|
|
38535
|
+
constructor(map?: { [key: string]: any }) {
|
|
38536
|
+
super(map);
|
|
38537
|
+
}
|
|
38538
|
+
}
|
|
38539
|
+
|
|
38540
|
+
export class GetNetworkOptimizationResponse extends $dara.Model {
|
|
38541
|
+
headers?: { [key: string]: string };
|
|
38542
|
+
statusCode?: number;
|
|
38543
|
+
body?: GetNetworkOptimizationResponseBody;
|
|
38544
|
+
static names(): { [key: string]: string } {
|
|
38545
|
+
return {
|
|
38546
|
+
headers: 'headers',
|
|
38547
|
+
statusCode: 'statusCode',
|
|
38548
|
+
body: 'body',
|
|
38549
|
+
};
|
|
38550
|
+
}
|
|
38551
|
+
|
|
38552
|
+
static types(): { [key: string]: any } {
|
|
38553
|
+
return {
|
|
38554
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
38555
|
+
statusCode: 'number',
|
|
38556
|
+
body: GetNetworkOptimizationResponseBody,
|
|
38557
|
+
};
|
|
38558
|
+
}
|
|
38559
|
+
|
|
38560
|
+
validate() {
|
|
38561
|
+
if(this.headers) {
|
|
38562
|
+
$dara.Model.validateMap(this.headers);
|
|
38563
|
+
}
|
|
38564
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
38565
|
+
(this.body as any).validate();
|
|
38566
|
+
}
|
|
38567
|
+
super.validate();
|
|
38568
|
+
}
|
|
38569
|
+
|
|
38570
|
+
constructor(map?: { [key: string]: any }) {
|
|
38571
|
+
super(map);
|
|
38572
|
+
}
|
|
38573
|
+
}
|
|
38574
|
+
|
|
37445
38575
|
export class GetOriginPoolRequest extends $dara.Model {
|
|
37446
38576
|
/**
|
|
37447
38577
|
* @remarks
|
|
@@ -40580,6 +41710,105 @@ export class GetSiteNameExclusiveResponse extends $dara.Model {
|
|
|
40580
41710
|
}
|
|
40581
41711
|
}
|
|
40582
41712
|
|
|
41713
|
+
export class GetSitePauseRequest extends $dara.Model {
|
|
41714
|
+
/**
|
|
41715
|
+
* @remarks
|
|
41716
|
+
* This parameter is required.
|
|
41717
|
+
*
|
|
41718
|
+
* @example
|
|
41719
|
+
* 123456****
|
|
41720
|
+
*/
|
|
41721
|
+
siteId?: number;
|
|
41722
|
+
static names(): { [key: string]: string } {
|
|
41723
|
+
return {
|
|
41724
|
+
siteId: 'SiteId',
|
|
41725
|
+
};
|
|
41726
|
+
}
|
|
41727
|
+
|
|
41728
|
+
static types(): { [key: string]: any } {
|
|
41729
|
+
return {
|
|
41730
|
+
siteId: 'number',
|
|
41731
|
+
};
|
|
41732
|
+
}
|
|
41733
|
+
|
|
41734
|
+
validate() {
|
|
41735
|
+
super.validate();
|
|
41736
|
+
}
|
|
41737
|
+
|
|
41738
|
+
constructor(map?: { [key: string]: any }) {
|
|
41739
|
+
super(map);
|
|
41740
|
+
}
|
|
41741
|
+
}
|
|
41742
|
+
|
|
41743
|
+
export class GetSitePauseResponseBody extends $dara.Model {
|
|
41744
|
+
/**
|
|
41745
|
+
* @example
|
|
41746
|
+
* true
|
|
41747
|
+
*/
|
|
41748
|
+
paused?: boolean;
|
|
41749
|
+
/**
|
|
41750
|
+
* @example
|
|
41751
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
41752
|
+
*/
|
|
41753
|
+
requestId?: string;
|
|
41754
|
+
static names(): { [key: string]: string } {
|
|
41755
|
+
return {
|
|
41756
|
+
paused: 'Paused',
|
|
41757
|
+
requestId: 'RequestId',
|
|
41758
|
+
};
|
|
41759
|
+
}
|
|
41760
|
+
|
|
41761
|
+
static types(): { [key: string]: any } {
|
|
41762
|
+
return {
|
|
41763
|
+
paused: 'boolean',
|
|
41764
|
+
requestId: 'string',
|
|
41765
|
+
};
|
|
41766
|
+
}
|
|
41767
|
+
|
|
41768
|
+
validate() {
|
|
41769
|
+
super.validate();
|
|
41770
|
+
}
|
|
41771
|
+
|
|
41772
|
+
constructor(map?: { [key: string]: any }) {
|
|
41773
|
+
super(map);
|
|
41774
|
+
}
|
|
41775
|
+
}
|
|
41776
|
+
|
|
41777
|
+
export class GetSitePauseResponse extends $dara.Model {
|
|
41778
|
+
headers?: { [key: string]: string };
|
|
41779
|
+
statusCode?: number;
|
|
41780
|
+
body?: GetSitePauseResponseBody;
|
|
41781
|
+
static names(): { [key: string]: string } {
|
|
41782
|
+
return {
|
|
41783
|
+
headers: 'headers',
|
|
41784
|
+
statusCode: 'statusCode',
|
|
41785
|
+
body: 'body',
|
|
41786
|
+
};
|
|
41787
|
+
}
|
|
41788
|
+
|
|
41789
|
+
static types(): { [key: string]: any } {
|
|
41790
|
+
return {
|
|
41791
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
41792
|
+
statusCode: 'number',
|
|
41793
|
+
body: GetSitePauseResponseBody,
|
|
41794
|
+
};
|
|
41795
|
+
}
|
|
41796
|
+
|
|
41797
|
+
validate() {
|
|
41798
|
+
if(this.headers) {
|
|
41799
|
+
$dara.Model.validateMap(this.headers);
|
|
41800
|
+
}
|
|
41801
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
41802
|
+
(this.body as any).validate();
|
|
41803
|
+
}
|
|
41804
|
+
super.validate();
|
|
41805
|
+
}
|
|
41806
|
+
|
|
41807
|
+
constructor(map?: { [key: string]: any }) {
|
|
41808
|
+
super(map);
|
|
41809
|
+
}
|
|
41810
|
+
}
|
|
41811
|
+
|
|
40583
41812
|
export class GetSiteWafSettingsRequest extends $dara.Model {
|
|
40584
41813
|
path?: string;
|
|
40585
41814
|
/**
|
|
@@ -44544,6 +45773,174 @@ export class ListHttpsBasicConfigurationsResponse extends $dara.Model {
|
|
|
44544
45773
|
}
|
|
44545
45774
|
}
|
|
44546
45775
|
|
|
45776
|
+
export class ListImageTransformsRequest extends $dara.Model {
|
|
45777
|
+
/**
|
|
45778
|
+
* @example
|
|
45779
|
+
* 352816096987136
|
|
45780
|
+
*/
|
|
45781
|
+
configId?: number;
|
|
45782
|
+
/**
|
|
45783
|
+
* @example
|
|
45784
|
+
* global
|
|
45785
|
+
*/
|
|
45786
|
+
configType?: string;
|
|
45787
|
+
/**
|
|
45788
|
+
* @example
|
|
45789
|
+
* 1
|
|
45790
|
+
*/
|
|
45791
|
+
pageNumber?: number;
|
|
45792
|
+
/**
|
|
45793
|
+
* @example
|
|
45794
|
+
* 20
|
|
45795
|
+
*/
|
|
45796
|
+
pageSize?: number;
|
|
45797
|
+
/**
|
|
45798
|
+
* @example
|
|
45799
|
+
* test1
|
|
45800
|
+
*/
|
|
45801
|
+
ruleName?: string;
|
|
45802
|
+
/**
|
|
45803
|
+
* @remarks
|
|
45804
|
+
* This parameter is required.
|
|
45805
|
+
*
|
|
45806
|
+
* @example
|
|
45807
|
+
* 123456****
|
|
45808
|
+
*/
|
|
45809
|
+
siteId?: number;
|
|
45810
|
+
/**
|
|
45811
|
+
* @example
|
|
45812
|
+
* 1
|
|
45813
|
+
*/
|
|
45814
|
+
siteVersion?: number;
|
|
45815
|
+
static names(): { [key: string]: string } {
|
|
45816
|
+
return {
|
|
45817
|
+
configId: 'ConfigId',
|
|
45818
|
+
configType: 'ConfigType',
|
|
45819
|
+
pageNumber: 'PageNumber',
|
|
45820
|
+
pageSize: 'PageSize',
|
|
45821
|
+
ruleName: 'RuleName',
|
|
45822
|
+
siteId: 'SiteId',
|
|
45823
|
+
siteVersion: 'SiteVersion',
|
|
45824
|
+
};
|
|
45825
|
+
}
|
|
45826
|
+
|
|
45827
|
+
static types(): { [key: string]: any } {
|
|
45828
|
+
return {
|
|
45829
|
+
configId: 'number',
|
|
45830
|
+
configType: 'string',
|
|
45831
|
+
pageNumber: 'number',
|
|
45832
|
+
pageSize: 'number',
|
|
45833
|
+
ruleName: 'string',
|
|
45834
|
+
siteId: 'number',
|
|
45835
|
+
siteVersion: 'number',
|
|
45836
|
+
};
|
|
45837
|
+
}
|
|
45838
|
+
|
|
45839
|
+
validate() {
|
|
45840
|
+
super.validate();
|
|
45841
|
+
}
|
|
45842
|
+
|
|
45843
|
+
constructor(map?: { [key: string]: any }) {
|
|
45844
|
+
super(map);
|
|
45845
|
+
}
|
|
45846
|
+
}
|
|
45847
|
+
|
|
45848
|
+
export class ListImageTransformsResponseBody extends $dara.Model {
|
|
45849
|
+
configs?: ListImageTransformsResponseBodyConfigs[];
|
|
45850
|
+
/**
|
|
45851
|
+
* @example
|
|
45852
|
+
* 1
|
|
45853
|
+
*/
|
|
45854
|
+
pageNumber?: number;
|
|
45855
|
+
/**
|
|
45856
|
+
* @example
|
|
45857
|
+
* 10
|
|
45858
|
+
*/
|
|
45859
|
+
pageSize?: number;
|
|
45860
|
+
/**
|
|
45861
|
+
* @example
|
|
45862
|
+
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
45863
|
+
*/
|
|
45864
|
+
requestId?: string;
|
|
45865
|
+
/**
|
|
45866
|
+
* @example
|
|
45867
|
+
* 16
|
|
45868
|
+
*/
|
|
45869
|
+
totalCount?: number;
|
|
45870
|
+
/**
|
|
45871
|
+
* @example
|
|
45872
|
+
* 2
|
|
45873
|
+
*/
|
|
45874
|
+
totalPage?: number;
|
|
45875
|
+
static names(): { [key: string]: string } {
|
|
45876
|
+
return {
|
|
45877
|
+
configs: 'Configs',
|
|
45878
|
+
pageNumber: 'PageNumber',
|
|
45879
|
+
pageSize: 'PageSize',
|
|
45880
|
+
requestId: 'RequestId',
|
|
45881
|
+
totalCount: 'TotalCount',
|
|
45882
|
+
totalPage: 'TotalPage',
|
|
45883
|
+
};
|
|
45884
|
+
}
|
|
45885
|
+
|
|
45886
|
+
static types(): { [key: string]: any } {
|
|
45887
|
+
return {
|
|
45888
|
+
configs: { 'type': 'array', 'itemType': ListImageTransformsResponseBodyConfigs },
|
|
45889
|
+
pageNumber: 'number',
|
|
45890
|
+
pageSize: 'number',
|
|
45891
|
+
requestId: 'string',
|
|
45892
|
+
totalCount: 'number',
|
|
45893
|
+
totalPage: 'number',
|
|
45894
|
+
};
|
|
45895
|
+
}
|
|
45896
|
+
|
|
45897
|
+
validate() {
|
|
45898
|
+
if(Array.isArray(this.configs)) {
|
|
45899
|
+
$dara.Model.validateArray(this.configs);
|
|
45900
|
+
}
|
|
45901
|
+
super.validate();
|
|
45902
|
+
}
|
|
45903
|
+
|
|
45904
|
+
constructor(map?: { [key: string]: any }) {
|
|
45905
|
+
super(map);
|
|
45906
|
+
}
|
|
45907
|
+
}
|
|
45908
|
+
|
|
45909
|
+
export class ListImageTransformsResponse extends $dara.Model {
|
|
45910
|
+
headers?: { [key: string]: string };
|
|
45911
|
+
statusCode?: number;
|
|
45912
|
+
body?: ListImageTransformsResponseBody;
|
|
45913
|
+
static names(): { [key: string]: string } {
|
|
45914
|
+
return {
|
|
45915
|
+
headers: 'headers',
|
|
45916
|
+
statusCode: 'statusCode',
|
|
45917
|
+
body: 'body',
|
|
45918
|
+
};
|
|
45919
|
+
}
|
|
45920
|
+
|
|
45921
|
+
static types(): { [key: string]: any } {
|
|
45922
|
+
return {
|
|
45923
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
45924
|
+
statusCode: 'number',
|
|
45925
|
+
body: ListImageTransformsResponseBody,
|
|
45926
|
+
};
|
|
45927
|
+
}
|
|
45928
|
+
|
|
45929
|
+
validate() {
|
|
45930
|
+
if(this.headers) {
|
|
45931
|
+
$dara.Model.validateMap(this.headers);
|
|
45932
|
+
}
|
|
45933
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
45934
|
+
(this.body as any).validate();
|
|
45935
|
+
}
|
|
45936
|
+
super.validate();
|
|
45937
|
+
}
|
|
45938
|
+
|
|
45939
|
+
constructor(map?: { [key: string]: any }) {
|
|
45940
|
+
super(map);
|
|
45941
|
+
}
|
|
45942
|
+
}
|
|
45943
|
+
|
|
44547
45944
|
export class ListInstanceQuotasRequest extends $dara.Model {
|
|
44548
45945
|
/**
|
|
44549
45946
|
* @remarks
|
|
@@ -45909,6 +47306,174 @@ export class ListManagedRulesGroupsResponse extends $dara.Model {
|
|
|
45909
47306
|
}
|
|
45910
47307
|
}
|
|
45911
47308
|
|
|
47309
|
+
export class ListNetworkOptimizationsRequest extends $dara.Model {
|
|
47310
|
+
/**
|
|
47311
|
+
* @example
|
|
47312
|
+
* 3528160969****
|
|
47313
|
+
*/
|
|
47314
|
+
configId?: number;
|
|
47315
|
+
/**
|
|
47316
|
+
* @example
|
|
47317
|
+
* global
|
|
47318
|
+
*/
|
|
47319
|
+
configType?: string;
|
|
47320
|
+
/**
|
|
47321
|
+
* @example
|
|
47322
|
+
* 1
|
|
47323
|
+
*/
|
|
47324
|
+
pageNumber?: number;
|
|
47325
|
+
/**
|
|
47326
|
+
* @example
|
|
47327
|
+
* 20
|
|
47328
|
+
*/
|
|
47329
|
+
pageSize?: number;
|
|
47330
|
+
/**
|
|
47331
|
+
* @example
|
|
47332
|
+
* test
|
|
47333
|
+
*/
|
|
47334
|
+
ruleName?: string;
|
|
47335
|
+
/**
|
|
47336
|
+
* @remarks
|
|
47337
|
+
* This parameter is required.
|
|
47338
|
+
*
|
|
47339
|
+
* @example
|
|
47340
|
+
* 1231231221****
|
|
47341
|
+
*/
|
|
47342
|
+
siteId?: number;
|
|
47343
|
+
/**
|
|
47344
|
+
* @example
|
|
47345
|
+
* 1
|
|
47346
|
+
*/
|
|
47347
|
+
siteVersion?: number;
|
|
47348
|
+
static names(): { [key: string]: string } {
|
|
47349
|
+
return {
|
|
47350
|
+
configId: 'ConfigId',
|
|
47351
|
+
configType: 'ConfigType',
|
|
47352
|
+
pageNumber: 'PageNumber',
|
|
47353
|
+
pageSize: 'PageSize',
|
|
47354
|
+
ruleName: 'RuleName',
|
|
47355
|
+
siteId: 'SiteId',
|
|
47356
|
+
siteVersion: 'SiteVersion',
|
|
47357
|
+
};
|
|
47358
|
+
}
|
|
47359
|
+
|
|
47360
|
+
static types(): { [key: string]: any } {
|
|
47361
|
+
return {
|
|
47362
|
+
configId: 'number',
|
|
47363
|
+
configType: 'string',
|
|
47364
|
+
pageNumber: 'number',
|
|
47365
|
+
pageSize: 'number',
|
|
47366
|
+
ruleName: 'string',
|
|
47367
|
+
siteId: 'number',
|
|
47368
|
+
siteVersion: 'number',
|
|
47369
|
+
};
|
|
47370
|
+
}
|
|
47371
|
+
|
|
47372
|
+
validate() {
|
|
47373
|
+
super.validate();
|
|
47374
|
+
}
|
|
47375
|
+
|
|
47376
|
+
constructor(map?: { [key: string]: any }) {
|
|
47377
|
+
super(map);
|
|
47378
|
+
}
|
|
47379
|
+
}
|
|
47380
|
+
|
|
47381
|
+
export class ListNetworkOptimizationsResponseBody extends $dara.Model {
|
|
47382
|
+
configs?: ListNetworkOptimizationsResponseBodyConfigs[];
|
|
47383
|
+
/**
|
|
47384
|
+
* @example
|
|
47385
|
+
* 1
|
|
47386
|
+
*/
|
|
47387
|
+
pageNumber?: number;
|
|
47388
|
+
/**
|
|
47389
|
+
* @example
|
|
47390
|
+
* 10
|
|
47391
|
+
*/
|
|
47392
|
+
pageSize?: number;
|
|
47393
|
+
/**
|
|
47394
|
+
* @example
|
|
47395
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
47396
|
+
*/
|
|
47397
|
+
requestId?: string;
|
|
47398
|
+
/**
|
|
47399
|
+
* @example
|
|
47400
|
+
* 100
|
|
47401
|
+
*/
|
|
47402
|
+
totalCount?: number;
|
|
47403
|
+
/**
|
|
47404
|
+
* @example
|
|
47405
|
+
* 2
|
|
47406
|
+
*/
|
|
47407
|
+
totalPage?: number;
|
|
47408
|
+
static names(): { [key: string]: string } {
|
|
47409
|
+
return {
|
|
47410
|
+
configs: 'Configs',
|
|
47411
|
+
pageNumber: 'PageNumber',
|
|
47412
|
+
pageSize: 'PageSize',
|
|
47413
|
+
requestId: 'RequestId',
|
|
47414
|
+
totalCount: 'TotalCount',
|
|
47415
|
+
totalPage: 'TotalPage',
|
|
47416
|
+
};
|
|
47417
|
+
}
|
|
47418
|
+
|
|
47419
|
+
static types(): { [key: string]: any } {
|
|
47420
|
+
return {
|
|
47421
|
+
configs: { 'type': 'array', 'itemType': ListNetworkOptimizationsResponseBodyConfigs },
|
|
47422
|
+
pageNumber: 'number',
|
|
47423
|
+
pageSize: 'number',
|
|
47424
|
+
requestId: 'string',
|
|
47425
|
+
totalCount: 'number',
|
|
47426
|
+
totalPage: 'number',
|
|
47427
|
+
};
|
|
47428
|
+
}
|
|
47429
|
+
|
|
47430
|
+
validate() {
|
|
47431
|
+
if(Array.isArray(this.configs)) {
|
|
47432
|
+
$dara.Model.validateArray(this.configs);
|
|
47433
|
+
}
|
|
47434
|
+
super.validate();
|
|
47435
|
+
}
|
|
47436
|
+
|
|
47437
|
+
constructor(map?: { [key: string]: any }) {
|
|
47438
|
+
super(map);
|
|
47439
|
+
}
|
|
47440
|
+
}
|
|
47441
|
+
|
|
47442
|
+
export class ListNetworkOptimizationsResponse extends $dara.Model {
|
|
47443
|
+
headers?: { [key: string]: string };
|
|
47444
|
+
statusCode?: number;
|
|
47445
|
+
body?: ListNetworkOptimizationsResponseBody;
|
|
47446
|
+
static names(): { [key: string]: string } {
|
|
47447
|
+
return {
|
|
47448
|
+
headers: 'headers',
|
|
47449
|
+
statusCode: 'statusCode',
|
|
47450
|
+
body: 'body',
|
|
47451
|
+
};
|
|
47452
|
+
}
|
|
47453
|
+
|
|
47454
|
+
static types(): { [key: string]: any } {
|
|
47455
|
+
return {
|
|
47456
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
47457
|
+
statusCode: 'number',
|
|
47458
|
+
body: ListNetworkOptimizationsResponseBody,
|
|
47459
|
+
};
|
|
47460
|
+
}
|
|
47461
|
+
|
|
47462
|
+
validate() {
|
|
47463
|
+
if(this.headers) {
|
|
47464
|
+
$dara.Model.validateMap(this.headers);
|
|
47465
|
+
}
|
|
47466
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
47467
|
+
(this.body as any).validate();
|
|
47468
|
+
}
|
|
47469
|
+
super.validate();
|
|
47470
|
+
}
|
|
47471
|
+
|
|
47472
|
+
constructor(map?: { [key: string]: any }) {
|
|
47473
|
+
super(map);
|
|
47474
|
+
}
|
|
47475
|
+
}
|
|
47476
|
+
|
|
45912
47477
|
export class ListOriginPoolsRequest extends $dara.Model {
|
|
45913
47478
|
matchType?: string;
|
|
45914
47479
|
name?: string;
|
|
@@ -54758,6 +56323,136 @@ export class UpdateIPv6Response extends $dara.Model {
|
|
|
54758
56323
|
}
|
|
54759
56324
|
}
|
|
54760
56325
|
|
|
56326
|
+
export class UpdateImageTransformRequest extends $dara.Model {
|
|
56327
|
+
/**
|
|
56328
|
+
* @remarks
|
|
56329
|
+
* This parameter is required.
|
|
56330
|
+
*
|
|
56331
|
+
* @example
|
|
56332
|
+
* 352816096987136
|
|
56333
|
+
*/
|
|
56334
|
+
configId?: number;
|
|
56335
|
+
/**
|
|
56336
|
+
* @example
|
|
56337
|
+
* on
|
|
56338
|
+
*/
|
|
56339
|
+
enable?: string;
|
|
56340
|
+
/**
|
|
56341
|
+
* @example
|
|
56342
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
56343
|
+
*/
|
|
56344
|
+
rule?: string;
|
|
56345
|
+
/**
|
|
56346
|
+
* @example
|
|
56347
|
+
* on
|
|
56348
|
+
*/
|
|
56349
|
+
ruleEnable?: string;
|
|
56350
|
+
/**
|
|
56351
|
+
* @example
|
|
56352
|
+
* test
|
|
56353
|
+
*/
|
|
56354
|
+
ruleName?: string;
|
|
56355
|
+
/**
|
|
56356
|
+
* @remarks
|
|
56357
|
+
* This parameter is required.
|
|
56358
|
+
*
|
|
56359
|
+
* @example
|
|
56360
|
+
* 1234567890123
|
|
56361
|
+
*/
|
|
56362
|
+
siteId?: number;
|
|
56363
|
+
static names(): { [key: string]: string } {
|
|
56364
|
+
return {
|
|
56365
|
+
configId: 'ConfigId',
|
|
56366
|
+
enable: 'Enable',
|
|
56367
|
+
rule: 'Rule',
|
|
56368
|
+
ruleEnable: 'RuleEnable',
|
|
56369
|
+
ruleName: 'RuleName',
|
|
56370
|
+
siteId: 'SiteId',
|
|
56371
|
+
};
|
|
56372
|
+
}
|
|
56373
|
+
|
|
56374
|
+
static types(): { [key: string]: any } {
|
|
56375
|
+
return {
|
|
56376
|
+
configId: 'number',
|
|
56377
|
+
enable: 'string',
|
|
56378
|
+
rule: 'string',
|
|
56379
|
+
ruleEnable: 'string',
|
|
56380
|
+
ruleName: 'string',
|
|
56381
|
+
siteId: 'number',
|
|
56382
|
+
};
|
|
56383
|
+
}
|
|
56384
|
+
|
|
56385
|
+
validate() {
|
|
56386
|
+
super.validate();
|
|
56387
|
+
}
|
|
56388
|
+
|
|
56389
|
+
constructor(map?: { [key: string]: any }) {
|
|
56390
|
+
super(map);
|
|
56391
|
+
}
|
|
56392
|
+
}
|
|
56393
|
+
|
|
56394
|
+
export class UpdateImageTransformResponseBody extends $dara.Model {
|
|
56395
|
+
/**
|
|
56396
|
+
* @example
|
|
56397
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
56398
|
+
*/
|
|
56399
|
+
requestId?: string;
|
|
56400
|
+
static names(): { [key: string]: string } {
|
|
56401
|
+
return {
|
|
56402
|
+
requestId: 'RequestId',
|
|
56403
|
+
};
|
|
56404
|
+
}
|
|
56405
|
+
|
|
56406
|
+
static types(): { [key: string]: any } {
|
|
56407
|
+
return {
|
|
56408
|
+
requestId: 'string',
|
|
56409
|
+
};
|
|
56410
|
+
}
|
|
56411
|
+
|
|
56412
|
+
validate() {
|
|
56413
|
+
super.validate();
|
|
56414
|
+
}
|
|
56415
|
+
|
|
56416
|
+
constructor(map?: { [key: string]: any }) {
|
|
56417
|
+
super(map);
|
|
56418
|
+
}
|
|
56419
|
+
}
|
|
56420
|
+
|
|
56421
|
+
export class UpdateImageTransformResponse extends $dara.Model {
|
|
56422
|
+
headers?: { [key: string]: string };
|
|
56423
|
+
statusCode?: number;
|
|
56424
|
+
body?: UpdateImageTransformResponseBody;
|
|
56425
|
+
static names(): { [key: string]: string } {
|
|
56426
|
+
return {
|
|
56427
|
+
headers: 'headers',
|
|
56428
|
+
statusCode: 'statusCode',
|
|
56429
|
+
body: 'body',
|
|
56430
|
+
};
|
|
56431
|
+
}
|
|
56432
|
+
|
|
56433
|
+
static types(): { [key: string]: any } {
|
|
56434
|
+
return {
|
|
56435
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
56436
|
+
statusCode: 'number',
|
|
56437
|
+
body: UpdateImageTransformResponseBody,
|
|
56438
|
+
};
|
|
56439
|
+
}
|
|
56440
|
+
|
|
56441
|
+
validate() {
|
|
56442
|
+
if(this.headers) {
|
|
56443
|
+
$dara.Model.validateMap(this.headers);
|
|
56444
|
+
}
|
|
56445
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
56446
|
+
(this.body as any).validate();
|
|
56447
|
+
}
|
|
56448
|
+
super.validate();
|
|
56449
|
+
}
|
|
56450
|
+
|
|
56451
|
+
constructor(map?: { [key: string]: any }) {
|
|
56452
|
+
super(map);
|
|
56453
|
+
}
|
|
56454
|
+
}
|
|
56455
|
+
|
|
54761
56456
|
export class UpdateKvNamespaceRequest extends $dara.Model {
|
|
54762
56457
|
/**
|
|
54763
56458
|
* @remarks
|
|
@@ -55556,6 +57251,164 @@ export class UpdateManagedTransformResponse extends $dara.Model {
|
|
|
55556
57251
|
}
|
|
55557
57252
|
}
|
|
55558
57253
|
|
|
57254
|
+
export class UpdateNetworkOptimizationRequest extends $dara.Model {
|
|
57255
|
+
/**
|
|
57256
|
+
* @remarks
|
|
57257
|
+
* This parameter is required.
|
|
57258
|
+
*
|
|
57259
|
+
* @example
|
|
57260
|
+
* 352816096987136
|
|
57261
|
+
*/
|
|
57262
|
+
configId?: number;
|
|
57263
|
+
/**
|
|
57264
|
+
* @example
|
|
57265
|
+
* on
|
|
57266
|
+
*/
|
|
57267
|
+
grpc?: string;
|
|
57268
|
+
/**
|
|
57269
|
+
* @example
|
|
57270
|
+
* on
|
|
57271
|
+
*/
|
|
57272
|
+
http2Origin?: string;
|
|
57273
|
+
/**
|
|
57274
|
+
* @example
|
|
57275
|
+
* (http.host eq \\"video.example.com\\")
|
|
57276
|
+
*/
|
|
57277
|
+
rule?: string;
|
|
57278
|
+
/**
|
|
57279
|
+
* @example
|
|
57280
|
+
* on
|
|
57281
|
+
*/
|
|
57282
|
+
ruleEnable?: string;
|
|
57283
|
+
/**
|
|
57284
|
+
* @example
|
|
57285
|
+
* rule_example
|
|
57286
|
+
*/
|
|
57287
|
+
ruleName?: string;
|
|
57288
|
+
/**
|
|
57289
|
+
* @remarks
|
|
57290
|
+
* This parameter is required.
|
|
57291
|
+
*
|
|
57292
|
+
* @example
|
|
57293
|
+
* 123456****
|
|
57294
|
+
*/
|
|
57295
|
+
siteId?: number;
|
|
57296
|
+
/**
|
|
57297
|
+
* @example
|
|
57298
|
+
* on
|
|
57299
|
+
*/
|
|
57300
|
+
smartRouting?: string;
|
|
57301
|
+
/**
|
|
57302
|
+
* @example
|
|
57303
|
+
* 100
|
|
57304
|
+
*/
|
|
57305
|
+
uploadMaxFilesize?: string;
|
|
57306
|
+
/**
|
|
57307
|
+
* @example
|
|
57308
|
+
* on
|
|
57309
|
+
*/
|
|
57310
|
+
websocket?: string;
|
|
57311
|
+
static names(): { [key: string]: string } {
|
|
57312
|
+
return {
|
|
57313
|
+
configId: 'ConfigId',
|
|
57314
|
+
grpc: 'Grpc',
|
|
57315
|
+
http2Origin: 'Http2Origin',
|
|
57316
|
+
rule: 'Rule',
|
|
57317
|
+
ruleEnable: 'RuleEnable',
|
|
57318
|
+
ruleName: 'RuleName',
|
|
57319
|
+
siteId: 'SiteId',
|
|
57320
|
+
smartRouting: 'SmartRouting',
|
|
57321
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
57322
|
+
websocket: 'Websocket',
|
|
57323
|
+
};
|
|
57324
|
+
}
|
|
57325
|
+
|
|
57326
|
+
static types(): { [key: string]: any } {
|
|
57327
|
+
return {
|
|
57328
|
+
configId: 'number',
|
|
57329
|
+
grpc: 'string',
|
|
57330
|
+
http2Origin: 'string',
|
|
57331
|
+
rule: 'string',
|
|
57332
|
+
ruleEnable: 'string',
|
|
57333
|
+
ruleName: 'string',
|
|
57334
|
+
siteId: 'number',
|
|
57335
|
+
smartRouting: 'string',
|
|
57336
|
+
uploadMaxFilesize: 'string',
|
|
57337
|
+
websocket: 'string',
|
|
57338
|
+
};
|
|
57339
|
+
}
|
|
57340
|
+
|
|
57341
|
+
validate() {
|
|
57342
|
+
super.validate();
|
|
57343
|
+
}
|
|
57344
|
+
|
|
57345
|
+
constructor(map?: { [key: string]: any }) {
|
|
57346
|
+
super(map);
|
|
57347
|
+
}
|
|
57348
|
+
}
|
|
57349
|
+
|
|
57350
|
+
export class UpdateNetworkOptimizationResponseBody extends $dara.Model {
|
|
57351
|
+
/**
|
|
57352
|
+
* @example
|
|
57353
|
+
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
57354
|
+
*/
|
|
57355
|
+
requestId?: string;
|
|
57356
|
+
static names(): { [key: string]: string } {
|
|
57357
|
+
return {
|
|
57358
|
+
requestId: 'RequestId',
|
|
57359
|
+
};
|
|
57360
|
+
}
|
|
57361
|
+
|
|
57362
|
+
static types(): { [key: string]: any } {
|
|
57363
|
+
return {
|
|
57364
|
+
requestId: 'string',
|
|
57365
|
+
};
|
|
57366
|
+
}
|
|
57367
|
+
|
|
57368
|
+
validate() {
|
|
57369
|
+
super.validate();
|
|
57370
|
+
}
|
|
57371
|
+
|
|
57372
|
+
constructor(map?: { [key: string]: any }) {
|
|
57373
|
+
super(map);
|
|
57374
|
+
}
|
|
57375
|
+
}
|
|
57376
|
+
|
|
57377
|
+
export class UpdateNetworkOptimizationResponse extends $dara.Model {
|
|
57378
|
+
headers?: { [key: string]: string };
|
|
57379
|
+
statusCode?: number;
|
|
57380
|
+
body?: UpdateNetworkOptimizationResponseBody;
|
|
57381
|
+
static names(): { [key: string]: string } {
|
|
57382
|
+
return {
|
|
57383
|
+
headers: 'headers',
|
|
57384
|
+
statusCode: 'statusCode',
|
|
57385
|
+
body: 'body',
|
|
57386
|
+
};
|
|
57387
|
+
}
|
|
57388
|
+
|
|
57389
|
+
static types(): { [key: string]: any } {
|
|
57390
|
+
return {
|
|
57391
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
57392
|
+
statusCode: 'number',
|
|
57393
|
+
body: UpdateNetworkOptimizationResponseBody,
|
|
57394
|
+
};
|
|
57395
|
+
}
|
|
57396
|
+
|
|
57397
|
+
validate() {
|
|
57398
|
+
if(this.headers) {
|
|
57399
|
+
$dara.Model.validateMap(this.headers);
|
|
57400
|
+
}
|
|
57401
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
57402
|
+
(this.body as any).validate();
|
|
57403
|
+
}
|
|
57404
|
+
super.validate();
|
|
57405
|
+
}
|
|
57406
|
+
|
|
57407
|
+
constructor(map?: { [key: string]: any }) {
|
|
57408
|
+
super(map);
|
|
57409
|
+
}
|
|
57410
|
+
}
|
|
57411
|
+
|
|
55559
57412
|
export class UpdateOriginPoolRequest extends $dara.Model {
|
|
55560
57413
|
enabled?: boolean;
|
|
55561
57414
|
/**
|
|
@@ -57991,6 +59844,108 @@ export class UpdateSiteNameExclusiveResponse extends $dara.Model {
|
|
|
57991
59844
|
}
|
|
57992
59845
|
}
|
|
57993
59846
|
|
|
59847
|
+
export class UpdateSitePauseRequest extends $dara.Model {
|
|
59848
|
+
/**
|
|
59849
|
+
* @remarks
|
|
59850
|
+
* This parameter is required.
|
|
59851
|
+
*
|
|
59852
|
+
* @example
|
|
59853
|
+
* true
|
|
59854
|
+
*/
|
|
59855
|
+
paused?: boolean;
|
|
59856
|
+
/**
|
|
59857
|
+
* @remarks
|
|
59858
|
+
* This parameter is required.
|
|
59859
|
+
*
|
|
59860
|
+
* @example
|
|
59861
|
+
* 123456****
|
|
59862
|
+
*/
|
|
59863
|
+
siteId?: number;
|
|
59864
|
+
static names(): { [key: string]: string } {
|
|
59865
|
+
return {
|
|
59866
|
+
paused: 'Paused',
|
|
59867
|
+
siteId: 'SiteId',
|
|
59868
|
+
};
|
|
59869
|
+
}
|
|
59870
|
+
|
|
59871
|
+
static types(): { [key: string]: any } {
|
|
59872
|
+
return {
|
|
59873
|
+
paused: 'boolean',
|
|
59874
|
+
siteId: 'number',
|
|
59875
|
+
};
|
|
59876
|
+
}
|
|
59877
|
+
|
|
59878
|
+
validate() {
|
|
59879
|
+
super.validate();
|
|
59880
|
+
}
|
|
59881
|
+
|
|
59882
|
+
constructor(map?: { [key: string]: any }) {
|
|
59883
|
+
super(map);
|
|
59884
|
+
}
|
|
59885
|
+
}
|
|
59886
|
+
|
|
59887
|
+
export class UpdateSitePauseResponseBody extends $dara.Model {
|
|
59888
|
+
/**
|
|
59889
|
+
* @example
|
|
59890
|
+
* 6abd807e-ed2a-44de-ac54-ac38a62472e6
|
|
59891
|
+
*/
|
|
59892
|
+
requestId?: string;
|
|
59893
|
+
static names(): { [key: string]: string } {
|
|
59894
|
+
return {
|
|
59895
|
+
requestId: 'RequestId',
|
|
59896
|
+
};
|
|
59897
|
+
}
|
|
59898
|
+
|
|
59899
|
+
static types(): { [key: string]: any } {
|
|
59900
|
+
return {
|
|
59901
|
+
requestId: 'string',
|
|
59902
|
+
};
|
|
59903
|
+
}
|
|
59904
|
+
|
|
59905
|
+
validate() {
|
|
59906
|
+
super.validate();
|
|
59907
|
+
}
|
|
59908
|
+
|
|
59909
|
+
constructor(map?: { [key: string]: any }) {
|
|
59910
|
+
super(map);
|
|
59911
|
+
}
|
|
59912
|
+
}
|
|
59913
|
+
|
|
59914
|
+
export class UpdateSitePauseResponse extends $dara.Model {
|
|
59915
|
+
headers?: { [key: string]: string };
|
|
59916
|
+
statusCode?: number;
|
|
59917
|
+
body?: UpdateSitePauseResponseBody;
|
|
59918
|
+
static names(): { [key: string]: string } {
|
|
59919
|
+
return {
|
|
59920
|
+
headers: 'headers',
|
|
59921
|
+
statusCode: 'statusCode',
|
|
59922
|
+
body: 'body',
|
|
59923
|
+
};
|
|
59924
|
+
}
|
|
59925
|
+
|
|
59926
|
+
static types(): { [key: string]: any } {
|
|
59927
|
+
return {
|
|
59928
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
59929
|
+
statusCode: 'number',
|
|
59930
|
+
body: UpdateSitePauseResponseBody,
|
|
59931
|
+
};
|
|
59932
|
+
}
|
|
59933
|
+
|
|
59934
|
+
validate() {
|
|
59935
|
+
if(this.headers) {
|
|
59936
|
+
$dara.Model.validateMap(this.headers);
|
|
59937
|
+
}
|
|
59938
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
59939
|
+
(this.body as any).validate();
|
|
59940
|
+
}
|
|
59941
|
+
super.validate();
|
|
59942
|
+
}
|
|
59943
|
+
|
|
59944
|
+
constructor(map?: { [key: string]: any }) {
|
|
59945
|
+
super(map);
|
|
59946
|
+
}
|
|
59947
|
+
}
|
|
59948
|
+
|
|
57994
59949
|
export class UpdateSiteVanityNSRequest extends $dara.Model {
|
|
57995
59950
|
/**
|
|
57996
59951
|
* @remarks
|
|
@@ -61927,6 +63882,73 @@ export default class Client extends OpenApi {
|
|
|
61927
63882
|
return await this.createHttpsBasicConfigurationWithOptions(request, runtime);
|
|
61928
63883
|
}
|
|
61929
63884
|
|
|
63885
|
+
/**
|
|
63886
|
+
* 新增站点图片转换配置
|
|
63887
|
+
*
|
|
63888
|
+
* @param request - CreateImageTransformRequest
|
|
63889
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
63890
|
+
* @returns CreateImageTransformResponse
|
|
63891
|
+
*/
|
|
63892
|
+
async createImageTransformWithOptions(request: CreateImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<CreateImageTransformResponse> {
|
|
63893
|
+
request.validate();
|
|
63894
|
+
let query = { };
|
|
63895
|
+
if (!$dara.isNull(request.enable)) {
|
|
63896
|
+
query["Enable"] = request.enable;
|
|
63897
|
+
}
|
|
63898
|
+
|
|
63899
|
+
if (!$dara.isNull(request.rule)) {
|
|
63900
|
+
query["Rule"] = request.rule;
|
|
63901
|
+
}
|
|
63902
|
+
|
|
63903
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
63904
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
63905
|
+
}
|
|
63906
|
+
|
|
63907
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
63908
|
+
query["RuleName"] = request.ruleName;
|
|
63909
|
+
}
|
|
63910
|
+
|
|
63911
|
+
if (!$dara.isNull(request.siteId)) {
|
|
63912
|
+
query["SiteId"] = request.siteId;
|
|
63913
|
+
}
|
|
63914
|
+
|
|
63915
|
+
if (!$dara.isNull(request.siteVersion)) {
|
|
63916
|
+
query["SiteVersion"] = request.siteVersion;
|
|
63917
|
+
}
|
|
63918
|
+
|
|
63919
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
63920
|
+
query: OpenApiUtil.query(query),
|
|
63921
|
+
});
|
|
63922
|
+
let params = new $OpenApiUtil.Params({
|
|
63923
|
+
action: "CreateImageTransform",
|
|
63924
|
+
version: "2024-09-10",
|
|
63925
|
+
protocol: "HTTPS",
|
|
63926
|
+
pathname: "/",
|
|
63927
|
+
method: "POST",
|
|
63928
|
+
authType: "AK",
|
|
63929
|
+
style: "RPC",
|
|
63930
|
+
reqBodyType: "formData",
|
|
63931
|
+
bodyType: "json",
|
|
63932
|
+
});
|
|
63933
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
63934
|
+
return $dara.cast<CreateImageTransformResponse>(await this.callApi(params, req, runtime), new CreateImageTransformResponse({}));
|
|
63935
|
+
} else {
|
|
63936
|
+
return $dara.cast<CreateImageTransformResponse>(await this.execute(params, req, runtime), new CreateImageTransformResponse({}));
|
|
63937
|
+
}
|
|
63938
|
+
|
|
63939
|
+
}
|
|
63940
|
+
|
|
63941
|
+
/**
|
|
63942
|
+
* 新增站点图片转换配置
|
|
63943
|
+
*
|
|
63944
|
+
* @param request - CreateImageTransformRequest
|
|
63945
|
+
* @returns CreateImageTransformResponse
|
|
63946
|
+
*/
|
|
63947
|
+
async createImageTransform(request: CreateImageTransformRequest): Promise<CreateImageTransformResponse> {
|
|
63948
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
63949
|
+
return await this.createImageTransformWithOptions(request, runtime);
|
|
63950
|
+
}
|
|
63951
|
+
|
|
61930
63952
|
/**
|
|
61931
63953
|
* Create a namespace in your Alibaba Cloud account.
|
|
61932
63954
|
*
|
|
@@ -62172,6 +64194,89 @@ export default class Client extends OpenApi {
|
|
|
62172
64194
|
return await this.createLoadBalancerWithOptions(request, runtime);
|
|
62173
64195
|
}
|
|
62174
64196
|
|
|
64197
|
+
/**
|
|
64198
|
+
* 新增站点网络优化配置
|
|
64199
|
+
*
|
|
64200
|
+
* @param request - CreateNetworkOptimizationRequest
|
|
64201
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
64202
|
+
* @returns CreateNetworkOptimizationResponse
|
|
64203
|
+
*/
|
|
64204
|
+
async createNetworkOptimizationWithOptions(request: CreateNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<CreateNetworkOptimizationResponse> {
|
|
64205
|
+
request.validate();
|
|
64206
|
+
let query = { };
|
|
64207
|
+
if (!$dara.isNull(request.grpc)) {
|
|
64208
|
+
query["Grpc"] = request.grpc;
|
|
64209
|
+
}
|
|
64210
|
+
|
|
64211
|
+
if (!$dara.isNull(request.http2Origin)) {
|
|
64212
|
+
query["Http2Origin"] = request.http2Origin;
|
|
64213
|
+
}
|
|
64214
|
+
|
|
64215
|
+
if (!$dara.isNull(request.rule)) {
|
|
64216
|
+
query["Rule"] = request.rule;
|
|
64217
|
+
}
|
|
64218
|
+
|
|
64219
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
64220
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
64221
|
+
}
|
|
64222
|
+
|
|
64223
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
64224
|
+
query["RuleName"] = request.ruleName;
|
|
64225
|
+
}
|
|
64226
|
+
|
|
64227
|
+
if (!$dara.isNull(request.siteId)) {
|
|
64228
|
+
query["SiteId"] = request.siteId;
|
|
64229
|
+
}
|
|
64230
|
+
|
|
64231
|
+
if (!$dara.isNull(request.siteVersion)) {
|
|
64232
|
+
query["SiteVersion"] = request.siteVersion;
|
|
64233
|
+
}
|
|
64234
|
+
|
|
64235
|
+
if (!$dara.isNull(request.smartRouting)) {
|
|
64236
|
+
query["SmartRouting"] = request.smartRouting;
|
|
64237
|
+
}
|
|
64238
|
+
|
|
64239
|
+
if (!$dara.isNull(request.uploadMaxFilesize)) {
|
|
64240
|
+
query["UploadMaxFilesize"] = request.uploadMaxFilesize;
|
|
64241
|
+
}
|
|
64242
|
+
|
|
64243
|
+
if (!$dara.isNull(request.websocket)) {
|
|
64244
|
+
query["Websocket"] = request.websocket;
|
|
64245
|
+
}
|
|
64246
|
+
|
|
64247
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
64248
|
+
query: OpenApiUtil.query(query),
|
|
64249
|
+
});
|
|
64250
|
+
let params = new $OpenApiUtil.Params({
|
|
64251
|
+
action: "CreateNetworkOptimization",
|
|
64252
|
+
version: "2024-09-10",
|
|
64253
|
+
protocol: "HTTPS",
|
|
64254
|
+
pathname: "/",
|
|
64255
|
+
method: "POST",
|
|
64256
|
+
authType: "AK",
|
|
64257
|
+
style: "RPC",
|
|
64258
|
+
reqBodyType: "formData",
|
|
64259
|
+
bodyType: "json",
|
|
64260
|
+
});
|
|
64261
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
64262
|
+
return $dara.cast<CreateNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new CreateNetworkOptimizationResponse({}));
|
|
64263
|
+
} else {
|
|
64264
|
+
return $dara.cast<CreateNetworkOptimizationResponse>(await this.execute(params, req, runtime), new CreateNetworkOptimizationResponse({}));
|
|
64265
|
+
}
|
|
64266
|
+
|
|
64267
|
+
}
|
|
64268
|
+
|
|
64269
|
+
/**
|
|
64270
|
+
* 新增站点网络优化配置
|
|
64271
|
+
*
|
|
64272
|
+
* @param request - CreateNetworkOptimizationRequest
|
|
64273
|
+
* @returns CreateNetworkOptimizationResponse
|
|
64274
|
+
*/
|
|
64275
|
+
async createNetworkOptimization(request: CreateNetworkOptimizationRequest): Promise<CreateNetworkOptimizationResponse> {
|
|
64276
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
64277
|
+
return await this.createNetworkOptimizationWithOptions(request, runtime);
|
|
64278
|
+
}
|
|
64279
|
+
|
|
62175
64280
|
/**
|
|
62176
64281
|
* 新增源地址池
|
|
62177
64282
|
*
|
|
@@ -64367,6 +66472,57 @@ export default class Client extends OpenApi {
|
|
|
64367
66472
|
return await this.deleteHttpsBasicConfigurationWithOptions(request, runtime);
|
|
64368
66473
|
}
|
|
64369
66474
|
|
|
66475
|
+
/**
|
|
66476
|
+
* Deletes the configuration of image transformations for a website.
|
|
66477
|
+
*
|
|
66478
|
+
* @param request - DeleteImageTransformRequest
|
|
66479
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
66480
|
+
* @returns DeleteImageTransformResponse
|
|
66481
|
+
*/
|
|
66482
|
+
async deleteImageTransformWithOptions(request: DeleteImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<DeleteImageTransformResponse> {
|
|
66483
|
+
request.validate();
|
|
66484
|
+
let query = { };
|
|
66485
|
+
if (!$dara.isNull(request.configId)) {
|
|
66486
|
+
query["ConfigId"] = request.configId;
|
|
66487
|
+
}
|
|
66488
|
+
|
|
66489
|
+
if (!$dara.isNull(request.siteId)) {
|
|
66490
|
+
query["SiteId"] = request.siteId;
|
|
66491
|
+
}
|
|
66492
|
+
|
|
66493
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
66494
|
+
query: OpenApiUtil.query(query),
|
|
66495
|
+
});
|
|
66496
|
+
let params = new $OpenApiUtil.Params({
|
|
66497
|
+
action: "DeleteImageTransform",
|
|
66498
|
+
version: "2024-09-10",
|
|
66499
|
+
protocol: "HTTPS",
|
|
66500
|
+
pathname: "/",
|
|
66501
|
+
method: "POST",
|
|
66502
|
+
authType: "AK",
|
|
66503
|
+
style: "RPC",
|
|
66504
|
+
reqBodyType: "formData",
|
|
66505
|
+
bodyType: "json",
|
|
66506
|
+
});
|
|
66507
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
66508
|
+
return $dara.cast<DeleteImageTransformResponse>(await this.callApi(params, req, runtime), new DeleteImageTransformResponse({}));
|
|
66509
|
+
} else {
|
|
66510
|
+
return $dara.cast<DeleteImageTransformResponse>(await this.execute(params, req, runtime), new DeleteImageTransformResponse({}));
|
|
66511
|
+
}
|
|
66512
|
+
|
|
66513
|
+
}
|
|
66514
|
+
|
|
66515
|
+
/**
|
|
66516
|
+
* Deletes the configuration of image transformations for a website.
|
|
66517
|
+
*
|
|
66518
|
+
* @param request - DeleteImageTransformRequest
|
|
66519
|
+
* @returns DeleteImageTransformResponse
|
|
66520
|
+
*/
|
|
66521
|
+
async deleteImageTransform(request: DeleteImageTransformRequest): Promise<DeleteImageTransformResponse> {
|
|
66522
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
66523
|
+
return await this.deleteImageTransformWithOptions(request, runtime);
|
|
66524
|
+
}
|
|
66525
|
+
|
|
64370
66526
|
/**
|
|
64371
66527
|
* Deletes a key-value pair from a namespace.
|
|
64372
66528
|
*
|
|
@@ -64555,6 +66711,57 @@ export default class Client extends OpenApi {
|
|
|
64555
66711
|
return await this.deleteLoadBalancerWithOptions(request, runtime);
|
|
64556
66712
|
}
|
|
64557
66713
|
|
|
66714
|
+
/**
|
|
66715
|
+
* 删除网络优化配置
|
|
66716
|
+
*
|
|
66717
|
+
* @param request - DeleteNetworkOptimizationRequest
|
|
66718
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
66719
|
+
* @returns DeleteNetworkOptimizationResponse
|
|
66720
|
+
*/
|
|
66721
|
+
async deleteNetworkOptimizationWithOptions(request: DeleteNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<DeleteNetworkOptimizationResponse> {
|
|
66722
|
+
request.validate();
|
|
66723
|
+
let query = { };
|
|
66724
|
+
if (!$dara.isNull(request.configId)) {
|
|
66725
|
+
query["ConfigId"] = request.configId;
|
|
66726
|
+
}
|
|
66727
|
+
|
|
66728
|
+
if (!$dara.isNull(request.siteId)) {
|
|
66729
|
+
query["SiteId"] = request.siteId;
|
|
66730
|
+
}
|
|
66731
|
+
|
|
66732
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
66733
|
+
query: OpenApiUtil.query(query),
|
|
66734
|
+
});
|
|
66735
|
+
let params = new $OpenApiUtil.Params({
|
|
66736
|
+
action: "DeleteNetworkOptimization",
|
|
66737
|
+
version: "2024-09-10",
|
|
66738
|
+
protocol: "HTTPS",
|
|
66739
|
+
pathname: "/",
|
|
66740
|
+
method: "POST",
|
|
66741
|
+
authType: "AK",
|
|
66742
|
+
style: "RPC",
|
|
66743
|
+
reqBodyType: "formData",
|
|
66744
|
+
bodyType: "json",
|
|
66745
|
+
});
|
|
66746
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
66747
|
+
return $dara.cast<DeleteNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new DeleteNetworkOptimizationResponse({}));
|
|
66748
|
+
} else {
|
|
66749
|
+
return $dara.cast<DeleteNetworkOptimizationResponse>(await this.execute(params, req, runtime), new DeleteNetworkOptimizationResponse({}));
|
|
66750
|
+
}
|
|
66751
|
+
|
|
66752
|
+
}
|
|
66753
|
+
|
|
66754
|
+
/**
|
|
66755
|
+
* 删除网络优化配置
|
|
66756
|
+
*
|
|
66757
|
+
* @param request - DeleteNetworkOptimizationRequest
|
|
66758
|
+
* @returns DeleteNetworkOptimizationResponse
|
|
66759
|
+
*/
|
|
66760
|
+
async deleteNetworkOptimization(request: DeleteNetworkOptimizationRequest): Promise<DeleteNetworkOptimizationResponse> {
|
|
66761
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
66762
|
+
return await this.deleteNetworkOptimizationWithOptions(request, runtime);
|
|
66763
|
+
}
|
|
66764
|
+
|
|
64558
66765
|
/**
|
|
64559
66766
|
* 删除源地址池
|
|
64560
66767
|
*
|
|
@@ -67174,6 +69381,49 @@ export default class Client extends OpenApi {
|
|
|
67174
69381
|
return await this.getIPv6WithOptions(request, runtime);
|
|
67175
69382
|
}
|
|
67176
69383
|
|
|
69384
|
+
/**
|
|
69385
|
+
* Queries the configuration of image transformations for a website.
|
|
69386
|
+
*
|
|
69387
|
+
* @param request - GetImageTransformRequest
|
|
69388
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69389
|
+
* @returns GetImageTransformResponse
|
|
69390
|
+
*/
|
|
69391
|
+
async getImageTransformWithOptions(request: GetImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<GetImageTransformResponse> {
|
|
69392
|
+
request.validate();
|
|
69393
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
69394
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
69395
|
+
query: OpenApiUtil.query(query),
|
|
69396
|
+
});
|
|
69397
|
+
let params = new $OpenApiUtil.Params({
|
|
69398
|
+
action: "GetImageTransform",
|
|
69399
|
+
version: "2024-09-10",
|
|
69400
|
+
protocol: "HTTPS",
|
|
69401
|
+
pathname: "/",
|
|
69402
|
+
method: "GET",
|
|
69403
|
+
authType: "AK",
|
|
69404
|
+
style: "RPC",
|
|
69405
|
+
reqBodyType: "formData",
|
|
69406
|
+
bodyType: "json",
|
|
69407
|
+
});
|
|
69408
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
69409
|
+
return $dara.cast<GetImageTransformResponse>(await this.callApi(params, req, runtime), new GetImageTransformResponse({}));
|
|
69410
|
+
} else {
|
|
69411
|
+
return $dara.cast<GetImageTransformResponse>(await this.execute(params, req, runtime), new GetImageTransformResponse({}));
|
|
69412
|
+
}
|
|
69413
|
+
|
|
69414
|
+
}
|
|
69415
|
+
|
|
69416
|
+
/**
|
|
69417
|
+
* Queries the configuration of image transformations for a website.
|
|
69418
|
+
*
|
|
69419
|
+
* @param request - GetImageTransformRequest
|
|
69420
|
+
* @returns GetImageTransformResponse
|
|
69421
|
+
*/
|
|
69422
|
+
async getImageTransform(request: GetImageTransformRequest): Promise<GetImageTransformResponse> {
|
|
69423
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
69424
|
+
return await this.getImageTransformWithOptions(request, runtime);
|
|
69425
|
+
}
|
|
69426
|
+
|
|
67177
69427
|
/**
|
|
67178
69428
|
* Queries the value of a key in a key-value pair.
|
|
67179
69429
|
*
|
|
@@ -67430,6 +69680,49 @@ export default class Client extends OpenApi {
|
|
|
67430
69680
|
return await this.getManagedTransformWithOptions(request, runtime);
|
|
67431
69681
|
}
|
|
67432
69682
|
|
|
69683
|
+
/**
|
|
69684
|
+
* 查询单条网络优化配置
|
|
69685
|
+
*
|
|
69686
|
+
* @param request - GetNetworkOptimizationRequest
|
|
69687
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69688
|
+
* @returns GetNetworkOptimizationResponse
|
|
69689
|
+
*/
|
|
69690
|
+
async getNetworkOptimizationWithOptions(request: GetNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<GetNetworkOptimizationResponse> {
|
|
69691
|
+
request.validate();
|
|
69692
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
69693
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
69694
|
+
query: OpenApiUtil.query(query),
|
|
69695
|
+
});
|
|
69696
|
+
let params = new $OpenApiUtil.Params({
|
|
69697
|
+
action: "GetNetworkOptimization",
|
|
69698
|
+
version: "2024-09-10",
|
|
69699
|
+
protocol: "HTTPS",
|
|
69700
|
+
pathname: "/",
|
|
69701
|
+
method: "GET",
|
|
69702
|
+
authType: "AK",
|
|
69703
|
+
style: "RPC",
|
|
69704
|
+
reqBodyType: "formData",
|
|
69705
|
+
bodyType: "json",
|
|
69706
|
+
});
|
|
69707
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
69708
|
+
return $dara.cast<GetNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new GetNetworkOptimizationResponse({}));
|
|
69709
|
+
} else {
|
|
69710
|
+
return $dara.cast<GetNetworkOptimizationResponse>(await this.execute(params, req, runtime), new GetNetworkOptimizationResponse({}));
|
|
69711
|
+
}
|
|
69712
|
+
|
|
69713
|
+
}
|
|
69714
|
+
|
|
69715
|
+
/**
|
|
69716
|
+
* 查询单条网络优化配置
|
|
69717
|
+
*
|
|
69718
|
+
* @param request - GetNetworkOptimizationRequest
|
|
69719
|
+
* @returns GetNetworkOptimizationResponse
|
|
69720
|
+
*/
|
|
69721
|
+
async getNetworkOptimization(request: GetNetworkOptimizationRequest): Promise<GetNetworkOptimizationResponse> {
|
|
69722
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
69723
|
+
return await this.getNetworkOptimizationWithOptions(request, runtime);
|
|
69724
|
+
}
|
|
69725
|
+
|
|
67433
69726
|
/**
|
|
67434
69727
|
* 查询特定源地址池
|
|
67435
69728
|
*
|
|
@@ -68373,6 +70666,49 @@ export default class Client extends OpenApi {
|
|
|
68373
70666
|
return await this.getSiteNameExclusiveWithOptions(request, runtime);
|
|
68374
70667
|
}
|
|
68375
70668
|
|
|
70669
|
+
/**
|
|
70670
|
+
* 查询站点暂停配置
|
|
70671
|
+
*
|
|
70672
|
+
* @param request - GetSitePauseRequest
|
|
70673
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
70674
|
+
* @returns GetSitePauseResponse
|
|
70675
|
+
*/
|
|
70676
|
+
async getSitePauseWithOptions(request: GetSitePauseRequest, runtime: $dara.RuntimeOptions): Promise<GetSitePauseResponse> {
|
|
70677
|
+
request.validate();
|
|
70678
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
70679
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
70680
|
+
query: OpenApiUtil.query(query),
|
|
70681
|
+
});
|
|
70682
|
+
let params = new $OpenApiUtil.Params({
|
|
70683
|
+
action: "GetSitePause",
|
|
70684
|
+
version: "2024-09-10",
|
|
70685
|
+
protocol: "HTTPS",
|
|
70686
|
+
pathname: "/",
|
|
70687
|
+
method: "GET",
|
|
70688
|
+
authType: "AK",
|
|
70689
|
+
style: "RPC",
|
|
70690
|
+
reqBodyType: "formData",
|
|
70691
|
+
bodyType: "json",
|
|
70692
|
+
});
|
|
70693
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
70694
|
+
return $dara.cast<GetSitePauseResponse>(await this.callApi(params, req, runtime), new GetSitePauseResponse({}));
|
|
70695
|
+
} else {
|
|
70696
|
+
return $dara.cast<GetSitePauseResponse>(await this.execute(params, req, runtime), new GetSitePauseResponse({}));
|
|
70697
|
+
}
|
|
70698
|
+
|
|
70699
|
+
}
|
|
70700
|
+
|
|
70701
|
+
/**
|
|
70702
|
+
* 查询站点暂停配置
|
|
70703
|
+
*
|
|
70704
|
+
* @param request - GetSitePauseRequest
|
|
70705
|
+
* @returns GetSitePauseResponse
|
|
70706
|
+
*/
|
|
70707
|
+
async getSitePause(request: GetSitePauseRequest): Promise<GetSitePauseResponse> {
|
|
70708
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
70709
|
+
return await this.getSitePauseWithOptions(request, runtime);
|
|
70710
|
+
}
|
|
70711
|
+
|
|
68376
70712
|
/**
|
|
68377
70713
|
* Queries the Web Application Firewall (WAF) configurations of a website.
|
|
68378
70714
|
*
|
|
@@ -69514,6 +71850,49 @@ export default class Client extends OpenApi {
|
|
|
69514
71850
|
return await this.listHttpsBasicConfigurationsWithOptions(request, runtime);
|
|
69515
71851
|
}
|
|
69516
71852
|
|
|
71853
|
+
/**
|
|
71854
|
+
* 查询多条站点图片转换配置
|
|
71855
|
+
*
|
|
71856
|
+
* @param request - ListImageTransformsRequest
|
|
71857
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
71858
|
+
* @returns ListImageTransformsResponse
|
|
71859
|
+
*/
|
|
71860
|
+
async listImageTransformsWithOptions(request: ListImageTransformsRequest, runtime: $dara.RuntimeOptions): Promise<ListImageTransformsResponse> {
|
|
71861
|
+
request.validate();
|
|
71862
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
71863
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
71864
|
+
query: OpenApiUtil.query(query),
|
|
71865
|
+
});
|
|
71866
|
+
let params = new $OpenApiUtil.Params({
|
|
71867
|
+
action: "ListImageTransforms",
|
|
71868
|
+
version: "2024-09-10",
|
|
71869
|
+
protocol: "HTTPS",
|
|
71870
|
+
pathname: "/",
|
|
71871
|
+
method: "GET",
|
|
71872
|
+
authType: "AK",
|
|
71873
|
+
style: "RPC",
|
|
71874
|
+
reqBodyType: "formData",
|
|
71875
|
+
bodyType: "json",
|
|
71876
|
+
});
|
|
71877
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
71878
|
+
return $dara.cast<ListImageTransformsResponse>(await this.callApi(params, req, runtime), new ListImageTransformsResponse({}));
|
|
71879
|
+
} else {
|
|
71880
|
+
return $dara.cast<ListImageTransformsResponse>(await this.execute(params, req, runtime), new ListImageTransformsResponse({}));
|
|
71881
|
+
}
|
|
71882
|
+
|
|
71883
|
+
}
|
|
71884
|
+
|
|
71885
|
+
/**
|
|
71886
|
+
* 查询多条站点图片转换配置
|
|
71887
|
+
*
|
|
71888
|
+
* @param request - ListImageTransformsRequest
|
|
71889
|
+
* @returns ListImageTransformsResponse
|
|
71890
|
+
*/
|
|
71891
|
+
async listImageTransforms(request: ListImageTransformsRequest): Promise<ListImageTransformsResponse> {
|
|
71892
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
71893
|
+
return await this.listImageTransformsWithOptions(request, runtime);
|
|
71894
|
+
}
|
|
71895
|
+
|
|
69517
71896
|
/**
|
|
69518
71897
|
* Queries the quota details in a subscription plan.
|
|
69519
71898
|
*
|
|
@@ -69890,6 +72269,49 @@ export default class Client extends OpenApi {
|
|
|
69890
72269
|
return await this.listManagedRulesGroupsWithOptions(request, runtime);
|
|
69891
72270
|
}
|
|
69892
72271
|
|
|
72272
|
+
/**
|
|
72273
|
+
* 查询多条网络优化配置
|
|
72274
|
+
*
|
|
72275
|
+
* @param request - ListNetworkOptimizationsRequest
|
|
72276
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
72277
|
+
* @returns ListNetworkOptimizationsResponse
|
|
72278
|
+
*/
|
|
72279
|
+
async listNetworkOptimizationsWithOptions(request: ListNetworkOptimizationsRequest, runtime: $dara.RuntimeOptions): Promise<ListNetworkOptimizationsResponse> {
|
|
72280
|
+
request.validate();
|
|
72281
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
72282
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
72283
|
+
query: OpenApiUtil.query(query),
|
|
72284
|
+
});
|
|
72285
|
+
let params = new $OpenApiUtil.Params({
|
|
72286
|
+
action: "ListNetworkOptimizations",
|
|
72287
|
+
version: "2024-09-10",
|
|
72288
|
+
protocol: "HTTPS",
|
|
72289
|
+
pathname: "/",
|
|
72290
|
+
method: "GET",
|
|
72291
|
+
authType: "AK",
|
|
72292
|
+
style: "RPC",
|
|
72293
|
+
reqBodyType: "formData",
|
|
72294
|
+
bodyType: "json",
|
|
72295
|
+
});
|
|
72296
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
72297
|
+
return $dara.cast<ListNetworkOptimizationsResponse>(await this.callApi(params, req, runtime), new ListNetworkOptimizationsResponse({}));
|
|
72298
|
+
} else {
|
|
72299
|
+
return $dara.cast<ListNetworkOptimizationsResponse>(await this.execute(params, req, runtime), new ListNetworkOptimizationsResponse({}));
|
|
72300
|
+
}
|
|
72301
|
+
|
|
72302
|
+
}
|
|
72303
|
+
|
|
72304
|
+
/**
|
|
72305
|
+
* 查询多条网络优化配置
|
|
72306
|
+
*
|
|
72307
|
+
* @param request - ListNetworkOptimizationsRequest
|
|
72308
|
+
* @returns ListNetworkOptimizationsResponse
|
|
72309
|
+
*/
|
|
72310
|
+
async listNetworkOptimizations(request: ListNetworkOptimizationsRequest): Promise<ListNetworkOptimizationsResponse> {
|
|
72311
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
72312
|
+
return await this.listNetworkOptimizationsWithOptions(request, runtime);
|
|
72313
|
+
}
|
|
72314
|
+
|
|
69893
72315
|
/**
|
|
69894
72316
|
* 查询源地址池列表
|
|
69895
72317
|
*
|
|
@@ -73052,6 +75474,73 @@ export default class Client extends OpenApi {
|
|
|
73052
75474
|
return await this.updateIPv6WithOptions(request, runtime);
|
|
73053
75475
|
}
|
|
73054
75476
|
|
|
75477
|
+
/**
|
|
75478
|
+
* 修改站点图片转换配置
|
|
75479
|
+
*
|
|
75480
|
+
* @param request - UpdateImageTransformRequest
|
|
75481
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
75482
|
+
* @returns UpdateImageTransformResponse
|
|
75483
|
+
*/
|
|
75484
|
+
async updateImageTransformWithOptions(request: UpdateImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<UpdateImageTransformResponse> {
|
|
75485
|
+
request.validate();
|
|
75486
|
+
let query = { };
|
|
75487
|
+
if (!$dara.isNull(request.configId)) {
|
|
75488
|
+
query["ConfigId"] = request.configId;
|
|
75489
|
+
}
|
|
75490
|
+
|
|
75491
|
+
if (!$dara.isNull(request.enable)) {
|
|
75492
|
+
query["Enable"] = request.enable;
|
|
75493
|
+
}
|
|
75494
|
+
|
|
75495
|
+
if (!$dara.isNull(request.rule)) {
|
|
75496
|
+
query["Rule"] = request.rule;
|
|
75497
|
+
}
|
|
75498
|
+
|
|
75499
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
75500
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
75501
|
+
}
|
|
75502
|
+
|
|
75503
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
75504
|
+
query["RuleName"] = request.ruleName;
|
|
75505
|
+
}
|
|
75506
|
+
|
|
75507
|
+
if (!$dara.isNull(request.siteId)) {
|
|
75508
|
+
query["SiteId"] = request.siteId;
|
|
75509
|
+
}
|
|
75510
|
+
|
|
75511
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
75512
|
+
query: OpenApiUtil.query(query),
|
|
75513
|
+
});
|
|
75514
|
+
let params = new $OpenApiUtil.Params({
|
|
75515
|
+
action: "UpdateImageTransform",
|
|
75516
|
+
version: "2024-09-10",
|
|
75517
|
+
protocol: "HTTPS",
|
|
75518
|
+
pathname: "/",
|
|
75519
|
+
method: "POST",
|
|
75520
|
+
authType: "AK",
|
|
75521
|
+
style: "RPC",
|
|
75522
|
+
reqBodyType: "formData",
|
|
75523
|
+
bodyType: "json",
|
|
75524
|
+
});
|
|
75525
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
75526
|
+
return $dara.cast<UpdateImageTransformResponse>(await this.callApi(params, req, runtime), new UpdateImageTransformResponse({}));
|
|
75527
|
+
} else {
|
|
75528
|
+
return $dara.cast<UpdateImageTransformResponse>(await this.execute(params, req, runtime), new UpdateImageTransformResponse({}));
|
|
75529
|
+
}
|
|
75530
|
+
|
|
75531
|
+
}
|
|
75532
|
+
|
|
75533
|
+
/**
|
|
75534
|
+
* 修改站点图片转换配置
|
|
75535
|
+
*
|
|
75536
|
+
* @param request - UpdateImageTransformRequest
|
|
75537
|
+
* @returns UpdateImageTransformResponse
|
|
75538
|
+
*/
|
|
75539
|
+
async updateImageTransform(request: UpdateImageTransformRequest): Promise<UpdateImageTransformResponse> {
|
|
75540
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
75541
|
+
return await this.updateImageTransformWithOptions(request, runtime);
|
|
75542
|
+
}
|
|
75543
|
+
|
|
73055
75544
|
/**
|
|
73056
75545
|
* Updates the name of a namespace in Edge KV.
|
|
73057
75546
|
*
|
|
@@ -73356,6 +75845,89 @@ export default class Client extends OpenApi {
|
|
|
73356
75845
|
return await this.updateManagedTransformWithOptions(request, runtime);
|
|
73357
75846
|
}
|
|
73358
75847
|
|
|
75848
|
+
/**
|
|
75849
|
+
* 修改网络优化配置
|
|
75850
|
+
*
|
|
75851
|
+
* @param request - UpdateNetworkOptimizationRequest
|
|
75852
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
75853
|
+
* @returns UpdateNetworkOptimizationResponse
|
|
75854
|
+
*/
|
|
75855
|
+
async updateNetworkOptimizationWithOptions(request: UpdateNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<UpdateNetworkOptimizationResponse> {
|
|
75856
|
+
request.validate();
|
|
75857
|
+
let query = { };
|
|
75858
|
+
if (!$dara.isNull(request.configId)) {
|
|
75859
|
+
query["ConfigId"] = request.configId;
|
|
75860
|
+
}
|
|
75861
|
+
|
|
75862
|
+
if (!$dara.isNull(request.grpc)) {
|
|
75863
|
+
query["Grpc"] = request.grpc;
|
|
75864
|
+
}
|
|
75865
|
+
|
|
75866
|
+
if (!$dara.isNull(request.http2Origin)) {
|
|
75867
|
+
query["Http2Origin"] = request.http2Origin;
|
|
75868
|
+
}
|
|
75869
|
+
|
|
75870
|
+
if (!$dara.isNull(request.rule)) {
|
|
75871
|
+
query["Rule"] = request.rule;
|
|
75872
|
+
}
|
|
75873
|
+
|
|
75874
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
75875
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
75876
|
+
}
|
|
75877
|
+
|
|
75878
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
75879
|
+
query["RuleName"] = request.ruleName;
|
|
75880
|
+
}
|
|
75881
|
+
|
|
75882
|
+
if (!$dara.isNull(request.siteId)) {
|
|
75883
|
+
query["SiteId"] = request.siteId;
|
|
75884
|
+
}
|
|
75885
|
+
|
|
75886
|
+
if (!$dara.isNull(request.smartRouting)) {
|
|
75887
|
+
query["SmartRouting"] = request.smartRouting;
|
|
75888
|
+
}
|
|
75889
|
+
|
|
75890
|
+
if (!$dara.isNull(request.uploadMaxFilesize)) {
|
|
75891
|
+
query["UploadMaxFilesize"] = request.uploadMaxFilesize;
|
|
75892
|
+
}
|
|
75893
|
+
|
|
75894
|
+
if (!$dara.isNull(request.websocket)) {
|
|
75895
|
+
query["Websocket"] = request.websocket;
|
|
75896
|
+
}
|
|
75897
|
+
|
|
75898
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
75899
|
+
query: OpenApiUtil.query(query),
|
|
75900
|
+
});
|
|
75901
|
+
let params = new $OpenApiUtil.Params({
|
|
75902
|
+
action: "UpdateNetworkOptimization",
|
|
75903
|
+
version: "2024-09-10",
|
|
75904
|
+
protocol: "HTTPS",
|
|
75905
|
+
pathname: "/",
|
|
75906
|
+
method: "POST",
|
|
75907
|
+
authType: "AK",
|
|
75908
|
+
style: "RPC",
|
|
75909
|
+
reqBodyType: "formData",
|
|
75910
|
+
bodyType: "json",
|
|
75911
|
+
});
|
|
75912
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
75913
|
+
return $dara.cast<UpdateNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new UpdateNetworkOptimizationResponse({}));
|
|
75914
|
+
} else {
|
|
75915
|
+
return $dara.cast<UpdateNetworkOptimizationResponse>(await this.execute(params, req, runtime), new UpdateNetworkOptimizationResponse({}));
|
|
75916
|
+
}
|
|
75917
|
+
|
|
75918
|
+
}
|
|
75919
|
+
|
|
75920
|
+
/**
|
|
75921
|
+
* 修改网络优化配置
|
|
75922
|
+
*
|
|
75923
|
+
* @param request - UpdateNetworkOptimizationRequest
|
|
75924
|
+
* @returns UpdateNetworkOptimizationResponse
|
|
75925
|
+
*/
|
|
75926
|
+
async updateNetworkOptimization(request: UpdateNetworkOptimizationRequest): Promise<UpdateNetworkOptimizationResponse> {
|
|
75927
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
75928
|
+
return await this.updateNetworkOptimizationWithOptions(request, runtime);
|
|
75929
|
+
}
|
|
75930
|
+
|
|
73359
75931
|
/**
|
|
73360
75932
|
* 修改监视器
|
|
73361
75933
|
*
|
|
@@ -74396,6 +76968,57 @@ export default class Client extends OpenApi {
|
|
|
74396
76968
|
return await this.updateSiteNameExclusiveWithOptions(request, runtime);
|
|
74397
76969
|
}
|
|
74398
76970
|
|
|
76971
|
+
/**
|
|
76972
|
+
* 修改站点暂停配置
|
|
76973
|
+
*
|
|
76974
|
+
* @param request - UpdateSitePauseRequest
|
|
76975
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
76976
|
+
* @returns UpdateSitePauseResponse
|
|
76977
|
+
*/
|
|
76978
|
+
async updateSitePauseWithOptions(request: UpdateSitePauseRequest, runtime: $dara.RuntimeOptions): Promise<UpdateSitePauseResponse> {
|
|
76979
|
+
request.validate();
|
|
76980
|
+
let query = { };
|
|
76981
|
+
if (!$dara.isNull(request.paused)) {
|
|
76982
|
+
query["Paused"] = request.paused;
|
|
76983
|
+
}
|
|
76984
|
+
|
|
76985
|
+
if (!$dara.isNull(request.siteId)) {
|
|
76986
|
+
query["SiteId"] = request.siteId;
|
|
76987
|
+
}
|
|
76988
|
+
|
|
76989
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
76990
|
+
query: OpenApiUtil.query(query),
|
|
76991
|
+
});
|
|
76992
|
+
let params = new $OpenApiUtil.Params({
|
|
76993
|
+
action: "UpdateSitePause",
|
|
76994
|
+
version: "2024-09-10",
|
|
76995
|
+
protocol: "HTTPS",
|
|
76996
|
+
pathname: "/",
|
|
76997
|
+
method: "POST",
|
|
76998
|
+
authType: "AK",
|
|
76999
|
+
style: "RPC",
|
|
77000
|
+
reqBodyType: "formData",
|
|
77001
|
+
bodyType: "json",
|
|
77002
|
+
});
|
|
77003
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
77004
|
+
return $dara.cast<UpdateSitePauseResponse>(await this.callApi(params, req, runtime), new UpdateSitePauseResponse({}));
|
|
77005
|
+
} else {
|
|
77006
|
+
return $dara.cast<UpdateSitePauseResponse>(await this.execute(params, req, runtime), new UpdateSitePauseResponse({}));
|
|
77007
|
+
}
|
|
77008
|
+
|
|
77009
|
+
}
|
|
77010
|
+
|
|
77011
|
+
/**
|
|
77012
|
+
* 修改站点暂停配置
|
|
77013
|
+
*
|
|
77014
|
+
* @param request - UpdateSitePauseRequest
|
|
77015
|
+
* @returns UpdateSitePauseResponse
|
|
77016
|
+
*/
|
|
77017
|
+
async updateSitePause(request: UpdateSitePauseRequest): Promise<UpdateSitePauseResponse> {
|
|
77018
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
77019
|
+
return await this.updateSitePauseWithOptions(request, runtime);
|
|
77020
|
+
}
|
|
77021
|
+
|
|
74399
77022
|
/**
|
|
74400
77023
|
* Updates the custom nameserver names for a single website.
|
|
74401
77024
|
*
|