@alicloud/esa20240910 2.11.0 → 2.12.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 +1469 -67
- package/dist/client.js +1665 -19
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2696 -132
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;
|
|
@@ -21996,6 +22176,140 @@ export class CreateHttpsBasicConfigurationResponse extends $dara.Model {
|
|
|
21996
22176
|
}
|
|
21997
22177
|
}
|
|
21998
22178
|
|
|
22179
|
+
export class CreateImageTransformRequest extends $dara.Model {
|
|
22180
|
+
/**
|
|
22181
|
+
* @example
|
|
22182
|
+
* on
|
|
22183
|
+
*/
|
|
22184
|
+
enable?: string;
|
|
22185
|
+
/**
|
|
22186
|
+
* @example
|
|
22187
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
22188
|
+
*/
|
|
22189
|
+
rule?: string;
|
|
22190
|
+
/**
|
|
22191
|
+
* @example
|
|
22192
|
+
* on
|
|
22193
|
+
*/
|
|
22194
|
+
ruleEnable?: string;
|
|
22195
|
+
/**
|
|
22196
|
+
* @example
|
|
22197
|
+
* test
|
|
22198
|
+
*/
|
|
22199
|
+
ruleName?: string;
|
|
22200
|
+
/**
|
|
22201
|
+
* @remarks
|
|
22202
|
+
* This parameter is required.
|
|
22203
|
+
*
|
|
22204
|
+
* @example
|
|
22205
|
+
* 123456****
|
|
22206
|
+
*/
|
|
22207
|
+
siteId?: number;
|
|
22208
|
+
/**
|
|
22209
|
+
* @example
|
|
22210
|
+
* 0
|
|
22211
|
+
*/
|
|
22212
|
+
siteVersion?: number;
|
|
22213
|
+
static names(): { [key: string]: string } {
|
|
22214
|
+
return {
|
|
22215
|
+
enable: 'Enable',
|
|
22216
|
+
rule: 'Rule',
|
|
22217
|
+
ruleEnable: 'RuleEnable',
|
|
22218
|
+
ruleName: 'RuleName',
|
|
22219
|
+
siteId: 'SiteId',
|
|
22220
|
+
siteVersion: 'SiteVersion',
|
|
22221
|
+
};
|
|
22222
|
+
}
|
|
22223
|
+
|
|
22224
|
+
static types(): { [key: string]: any } {
|
|
22225
|
+
return {
|
|
22226
|
+
enable: 'string',
|
|
22227
|
+
rule: 'string',
|
|
22228
|
+
ruleEnable: 'string',
|
|
22229
|
+
ruleName: 'string',
|
|
22230
|
+
siteId: 'number',
|
|
22231
|
+
siteVersion: 'number',
|
|
22232
|
+
};
|
|
22233
|
+
}
|
|
22234
|
+
|
|
22235
|
+
validate() {
|
|
22236
|
+
super.validate();
|
|
22237
|
+
}
|
|
22238
|
+
|
|
22239
|
+
constructor(map?: { [key: string]: any }) {
|
|
22240
|
+
super(map);
|
|
22241
|
+
}
|
|
22242
|
+
}
|
|
22243
|
+
|
|
22244
|
+
export class CreateImageTransformResponseBody extends $dara.Model {
|
|
22245
|
+
/**
|
|
22246
|
+
* @example
|
|
22247
|
+
* 352816096987136
|
|
22248
|
+
*/
|
|
22249
|
+
configId?: number;
|
|
22250
|
+
/**
|
|
22251
|
+
* @example
|
|
22252
|
+
* 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
|
|
22253
|
+
*/
|
|
22254
|
+
requestId?: string;
|
|
22255
|
+
static names(): { [key: string]: string } {
|
|
22256
|
+
return {
|
|
22257
|
+
configId: 'ConfigId',
|
|
22258
|
+
requestId: 'RequestId',
|
|
22259
|
+
};
|
|
22260
|
+
}
|
|
22261
|
+
|
|
22262
|
+
static types(): { [key: string]: any } {
|
|
22263
|
+
return {
|
|
22264
|
+
configId: 'number',
|
|
22265
|
+
requestId: 'string',
|
|
22266
|
+
};
|
|
22267
|
+
}
|
|
22268
|
+
|
|
22269
|
+
validate() {
|
|
22270
|
+
super.validate();
|
|
22271
|
+
}
|
|
22272
|
+
|
|
22273
|
+
constructor(map?: { [key: string]: any }) {
|
|
22274
|
+
super(map);
|
|
22275
|
+
}
|
|
22276
|
+
}
|
|
22277
|
+
|
|
22278
|
+
export class CreateImageTransformResponse extends $dara.Model {
|
|
22279
|
+
headers?: { [key: string]: string };
|
|
22280
|
+
statusCode?: number;
|
|
22281
|
+
body?: CreateImageTransformResponseBody;
|
|
22282
|
+
static names(): { [key: string]: string } {
|
|
22283
|
+
return {
|
|
22284
|
+
headers: 'headers',
|
|
22285
|
+
statusCode: 'statusCode',
|
|
22286
|
+
body: 'body',
|
|
22287
|
+
};
|
|
22288
|
+
}
|
|
22289
|
+
|
|
22290
|
+
static types(): { [key: string]: any } {
|
|
22291
|
+
return {
|
|
22292
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22293
|
+
statusCode: 'number',
|
|
22294
|
+
body: CreateImageTransformResponseBody,
|
|
22295
|
+
};
|
|
22296
|
+
}
|
|
22297
|
+
|
|
22298
|
+
validate() {
|
|
22299
|
+
if(this.headers) {
|
|
22300
|
+
$dara.Model.validateMap(this.headers);
|
|
22301
|
+
}
|
|
22302
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
22303
|
+
(this.body as any).validate();
|
|
22304
|
+
}
|
|
22305
|
+
super.validate();
|
|
22306
|
+
}
|
|
22307
|
+
|
|
22308
|
+
constructor(map?: { [key: string]: any }) {
|
|
22309
|
+
super(map);
|
|
22310
|
+
}
|
|
22311
|
+
}
|
|
22312
|
+
|
|
21999
22313
|
export class CreateKvNamespaceRequest extends $dara.Model {
|
|
22000
22314
|
/**
|
|
22001
22315
|
* @remarks
|
|
@@ -22664,6 +22978,168 @@ export class CreateLoadBalancerResponse extends $dara.Model {
|
|
|
22664
22978
|
}
|
|
22665
22979
|
}
|
|
22666
22980
|
|
|
22981
|
+
export class CreateNetworkOptimizationRequest extends $dara.Model {
|
|
22982
|
+
/**
|
|
22983
|
+
* @example
|
|
22984
|
+
* on
|
|
22985
|
+
*/
|
|
22986
|
+
grpc?: string;
|
|
22987
|
+
/**
|
|
22988
|
+
* @example
|
|
22989
|
+
* on
|
|
22990
|
+
*/
|
|
22991
|
+
http2Origin?: string;
|
|
22992
|
+
/**
|
|
22993
|
+
* @example
|
|
22994
|
+
* (http.host eq \\"video.example.com\\")
|
|
22995
|
+
*/
|
|
22996
|
+
rule?: string;
|
|
22997
|
+
/**
|
|
22998
|
+
* @example
|
|
22999
|
+
* on
|
|
23000
|
+
*/
|
|
23001
|
+
ruleEnable?: string;
|
|
23002
|
+
/**
|
|
23003
|
+
* @example
|
|
23004
|
+
* rule_example
|
|
23005
|
+
*/
|
|
23006
|
+
ruleName?: string;
|
|
23007
|
+
/**
|
|
23008
|
+
* @remarks
|
|
23009
|
+
* This parameter is required.
|
|
23010
|
+
*
|
|
23011
|
+
* @example
|
|
23012
|
+
* 340035003106221
|
|
23013
|
+
*/
|
|
23014
|
+
siteId?: number;
|
|
23015
|
+
/**
|
|
23016
|
+
* @example
|
|
23017
|
+
* 1
|
|
23018
|
+
*/
|
|
23019
|
+
siteVersion?: number;
|
|
23020
|
+
/**
|
|
23021
|
+
* @example
|
|
23022
|
+
* on
|
|
23023
|
+
*/
|
|
23024
|
+
smartRouting?: string;
|
|
23025
|
+
/**
|
|
23026
|
+
* @example
|
|
23027
|
+
* 100
|
|
23028
|
+
*/
|
|
23029
|
+
uploadMaxFilesize?: string;
|
|
23030
|
+
/**
|
|
23031
|
+
* @example
|
|
23032
|
+
* on
|
|
23033
|
+
*/
|
|
23034
|
+
websocket?: string;
|
|
23035
|
+
static names(): { [key: string]: string } {
|
|
23036
|
+
return {
|
|
23037
|
+
grpc: 'Grpc',
|
|
23038
|
+
http2Origin: 'Http2Origin',
|
|
23039
|
+
rule: 'Rule',
|
|
23040
|
+
ruleEnable: 'RuleEnable',
|
|
23041
|
+
ruleName: 'RuleName',
|
|
23042
|
+
siteId: 'SiteId',
|
|
23043
|
+
siteVersion: 'SiteVersion',
|
|
23044
|
+
smartRouting: 'SmartRouting',
|
|
23045
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
23046
|
+
websocket: 'Websocket',
|
|
23047
|
+
};
|
|
23048
|
+
}
|
|
23049
|
+
|
|
23050
|
+
static types(): { [key: string]: any } {
|
|
23051
|
+
return {
|
|
23052
|
+
grpc: 'string',
|
|
23053
|
+
http2Origin: 'string',
|
|
23054
|
+
rule: 'string',
|
|
23055
|
+
ruleEnable: 'string',
|
|
23056
|
+
ruleName: 'string',
|
|
23057
|
+
siteId: 'number',
|
|
23058
|
+
siteVersion: 'number',
|
|
23059
|
+
smartRouting: 'string',
|
|
23060
|
+
uploadMaxFilesize: 'string',
|
|
23061
|
+
websocket: 'string',
|
|
23062
|
+
};
|
|
23063
|
+
}
|
|
23064
|
+
|
|
23065
|
+
validate() {
|
|
23066
|
+
super.validate();
|
|
23067
|
+
}
|
|
23068
|
+
|
|
23069
|
+
constructor(map?: { [key: string]: any }) {
|
|
23070
|
+
super(map);
|
|
23071
|
+
}
|
|
23072
|
+
}
|
|
23073
|
+
|
|
23074
|
+
export class CreateNetworkOptimizationResponseBody extends $dara.Model {
|
|
23075
|
+
/**
|
|
23076
|
+
* @example
|
|
23077
|
+
* 352816096987136
|
|
23078
|
+
*/
|
|
23079
|
+
configId?: number;
|
|
23080
|
+
/**
|
|
23081
|
+
* @example
|
|
23082
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
23083
|
+
*/
|
|
23084
|
+
requestId?: string;
|
|
23085
|
+
static names(): { [key: string]: string } {
|
|
23086
|
+
return {
|
|
23087
|
+
configId: 'ConfigId',
|
|
23088
|
+
requestId: 'RequestId',
|
|
23089
|
+
};
|
|
23090
|
+
}
|
|
23091
|
+
|
|
23092
|
+
static types(): { [key: string]: any } {
|
|
23093
|
+
return {
|
|
23094
|
+
configId: 'number',
|
|
23095
|
+
requestId: 'string',
|
|
23096
|
+
};
|
|
23097
|
+
}
|
|
23098
|
+
|
|
23099
|
+
validate() {
|
|
23100
|
+
super.validate();
|
|
23101
|
+
}
|
|
23102
|
+
|
|
23103
|
+
constructor(map?: { [key: string]: any }) {
|
|
23104
|
+
super(map);
|
|
23105
|
+
}
|
|
23106
|
+
}
|
|
23107
|
+
|
|
23108
|
+
export class CreateNetworkOptimizationResponse extends $dara.Model {
|
|
23109
|
+
headers?: { [key: string]: string };
|
|
23110
|
+
statusCode?: number;
|
|
23111
|
+
body?: CreateNetworkOptimizationResponseBody;
|
|
23112
|
+
static names(): { [key: string]: string } {
|
|
23113
|
+
return {
|
|
23114
|
+
headers: 'headers',
|
|
23115
|
+
statusCode: 'statusCode',
|
|
23116
|
+
body: 'body',
|
|
23117
|
+
};
|
|
23118
|
+
}
|
|
23119
|
+
|
|
23120
|
+
static types(): { [key: string]: any } {
|
|
23121
|
+
return {
|
|
23122
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
23123
|
+
statusCode: 'number',
|
|
23124
|
+
body: CreateNetworkOptimizationResponseBody,
|
|
23125
|
+
};
|
|
23126
|
+
}
|
|
23127
|
+
|
|
23128
|
+
validate() {
|
|
23129
|
+
if(this.headers) {
|
|
23130
|
+
$dara.Model.validateMap(this.headers);
|
|
23131
|
+
}
|
|
23132
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
23133
|
+
(this.body as any).validate();
|
|
23134
|
+
}
|
|
23135
|
+
super.validate();
|
|
23136
|
+
}
|
|
23137
|
+
|
|
23138
|
+
constructor(map?: { [key: string]: any }) {
|
|
23139
|
+
super(map);
|
|
23140
|
+
}
|
|
23141
|
+
}
|
|
23142
|
+
|
|
22667
23143
|
export class CreateOriginPoolRequest extends $dara.Model {
|
|
22668
23144
|
enabled?: boolean;
|
|
22669
23145
|
/**
|
|
@@ -28584,6 +29060,115 @@ export class DeleteHttpsBasicConfigurationResponse extends $dara.Model {
|
|
|
28584
29060
|
}
|
|
28585
29061
|
}
|
|
28586
29062
|
|
|
29063
|
+
export class DeleteImageTransformRequest extends $dara.Model {
|
|
29064
|
+
/**
|
|
29065
|
+
* @remarks
|
|
29066
|
+
* The configuration ID, which can be obtained by calling the [ListImageTransforms](~~ListImageTransforms~~) operation.
|
|
29067
|
+
*
|
|
29068
|
+
* This parameter is required.
|
|
29069
|
+
*
|
|
29070
|
+
* @example
|
|
29071
|
+
* 352816096987136
|
|
29072
|
+
*/
|
|
29073
|
+
configId?: number;
|
|
29074
|
+
/**
|
|
29075
|
+
* @remarks
|
|
29076
|
+
* The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
|
|
29077
|
+
*
|
|
29078
|
+
* This parameter is required.
|
|
29079
|
+
*
|
|
29080
|
+
* @example
|
|
29081
|
+
* 123456****
|
|
29082
|
+
*/
|
|
29083
|
+
siteId?: number;
|
|
29084
|
+
static names(): { [key: string]: string } {
|
|
29085
|
+
return {
|
|
29086
|
+
configId: 'ConfigId',
|
|
29087
|
+
siteId: 'SiteId',
|
|
29088
|
+
};
|
|
29089
|
+
}
|
|
29090
|
+
|
|
29091
|
+
static types(): { [key: string]: any } {
|
|
29092
|
+
return {
|
|
29093
|
+
configId: 'number',
|
|
29094
|
+
siteId: 'number',
|
|
29095
|
+
};
|
|
29096
|
+
}
|
|
29097
|
+
|
|
29098
|
+
validate() {
|
|
29099
|
+
super.validate();
|
|
29100
|
+
}
|
|
29101
|
+
|
|
29102
|
+
constructor(map?: { [key: string]: any }) {
|
|
29103
|
+
super(map);
|
|
29104
|
+
}
|
|
29105
|
+
}
|
|
29106
|
+
|
|
29107
|
+
export class DeleteImageTransformResponseBody extends $dara.Model {
|
|
29108
|
+
/**
|
|
29109
|
+
* @remarks
|
|
29110
|
+
* The request ID.
|
|
29111
|
+
*
|
|
29112
|
+
* @example
|
|
29113
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
29114
|
+
*/
|
|
29115
|
+
requestId?: string;
|
|
29116
|
+
static names(): { [key: string]: string } {
|
|
29117
|
+
return {
|
|
29118
|
+
requestId: 'RequestId',
|
|
29119
|
+
};
|
|
29120
|
+
}
|
|
29121
|
+
|
|
29122
|
+
static types(): { [key: string]: any } {
|
|
29123
|
+
return {
|
|
29124
|
+
requestId: 'string',
|
|
29125
|
+
};
|
|
29126
|
+
}
|
|
29127
|
+
|
|
29128
|
+
validate() {
|
|
29129
|
+
super.validate();
|
|
29130
|
+
}
|
|
29131
|
+
|
|
29132
|
+
constructor(map?: { [key: string]: any }) {
|
|
29133
|
+
super(map);
|
|
29134
|
+
}
|
|
29135
|
+
}
|
|
29136
|
+
|
|
29137
|
+
export class DeleteImageTransformResponse extends $dara.Model {
|
|
29138
|
+
headers?: { [key: string]: string };
|
|
29139
|
+
statusCode?: number;
|
|
29140
|
+
body?: DeleteImageTransformResponseBody;
|
|
29141
|
+
static names(): { [key: string]: string } {
|
|
29142
|
+
return {
|
|
29143
|
+
headers: 'headers',
|
|
29144
|
+
statusCode: 'statusCode',
|
|
29145
|
+
body: 'body',
|
|
29146
|
+
};
|
|
29147
|
+
}
|
|
29148
|
+
|
|
29149
|
+
static types(): { [key: string]: any } {
|
|
29150
|
+
return {
|
|
29151
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
29152
|
+
statusCode: 'number',
|
|
29153
|
+
body: DeleteImageTransformResponseBody,
|
|
29154
|
+
};
|
|
29155
|
+
}
|
|
29156
|
+
|
|
29157
|
+
validate() {
|
|
29158
|
+
if(this.headers) {
|
|
29159
|
+
$dara.Model.validateMap(this.headers);
|
|
29160
|
+
}
|
|
29161
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
29162
|
+
(this.body as any).validate();
|
|
29163
|
+
}
|
|
29164
|
+
super.validate();
|
|
29165
|
+
}
|
|
29166
|
+
|
|
29167
|
+
constructor(map?: { [key: string]: any }) {
|
|
29168
|
+
super(map);
|
|
29169
|
+
}
|
|
29170
|
+
}
|
|
29171
|
+
|
|
28587
29172
|
export class DeleteKvRequest extends $dara.Model {
|
|
28588
29173
|
/**
|
|
28589
29174
|
* @remarks
|
|
@@ -28986,30 +29571,33 @@ export class DeleteLoadBalancerResponse extends $dara.Model {
|
|
|
28986
29571
|
}
|
|
28987
29572
|
}
|
|
28988
29573
|
|
|
28989
|
-
export class
|
|
29574
|
+
export class DeleteNetworkOptimizationRequest extends $dara.Model {
|
|
28990
29575
|
/**
|
|
28991
29576
|
* @remarks
|
|
28992
29577
|
* This parameter is required.
|
|
28993
29578
|
*
|
|
28994
29579
|
* @example
|
|
28995
|
-
*
|
|
29580
|
+
* 352816**********
|
|
28996
29581
|
*/
|
|
28997
|
-
|
|
29582
|
+
configId?: number;
|
|
28998
29583
|
/**
|
|
28999
29584
|
* @remarks
|
|
29000
29585
|
* This parameter is required.
|
|
29586
|
+
*
|
|
29587
|
+
* @example
|
|
29588
|
+
* 123456****
|
|
29001
29589
|
*/
|
|
29002
29590
|
siteId?: number;
|
|
29003
29591
|
static names(): { [key: string]: string } {
|
|
29004
29592
|
return {
|
|
29005
|
-
|
|
29593
|
+
configId: 'ConfigId',
|
|
29006
29594
|
siteId: 'SiteId',
|
|
29007
29595
|
};
|
|
29008
29596
|
}
|
|
29009
29597
|
|
|
29010
29598
|
static types(): { [key: string]: any } {
|
|
29011
29599
|
return {
|
|
29012
|
-
|
|
29600
|
+
configId: 'number',
|
|
29013
29601
|
siteId: 'number',
|
|
29014
29602
|
};
|
|
29015
29603
|
}
|
|
@@ -29023,10 +29611,109 @@ export class DeleteOriginPoolRequest extends $dara.Model {
|
|
|
29023
29611
|
}
|
|
29024
29612
|
}
|
|
29025
29613
|
|
|
29026
|
-
export class
|
|
29614
|
+
export class DeleteNetworkOptimizationResponseBody extends $dara.Model {
|
|
29027
29615
|
/**
|
|
29028
|
-
* @
|
|
29029
|
-
*
|
|
29616
|
+
* @example
|
|
29617
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
29618
|
+
*/
|
|
29619
|
+
requestId?: string;
|
|
29620
|
+
static names(): { [key: string]: string } {
|
|
29621
|
+
return {
|
|
29622
|
+
requestId: 'RequestId',
|
|
29623
|
+
};
|
|
29624
|
+
}
|
|
29625
|
+
|
|
29626
|
+
static types(): { [key: string]: any } {
|
|
29627
|
+
return {
|
|
29628
|
+
requestId: 'string',
|
|
29629
|
+
};
|
|
29630
|
+
}
|
|
29631
|
+
|
|
29632
|
+
validate() {
|
|
29633
|
+
super.validate();
|
|
29634
|
+
}
|
|
29635
|
+
|
|
29636
|
+
constructor(map?: { [key: string]: any }) {
|
|
29637
|
+
super(map);
|
|
29638
|
+
}
|
|
29639
|
+
}
|
|
29640
|
+
|
|
29641
|
+
export class DeleteNetworkOptimizationResponse extends $dara.Model {
|
|
29642
|
+
headers?: { [key: string]: string };
|
|
29643
|
+
statusCode?: number;
|
|
29644
|
+
body?: DeleteNetworkOptimizationResponseBody;
|
|
29645
|
+
static names(): { [key: string]: string } {
|
|
29646
|
+
return {
|
|
29647
|
+
headers: 'headers',
|
|
29648
|
+
statusCode: 'statusCode',
|
|
29649
|
+
body: 'body',
|
|
29650
|
+
};
|
|
29651
|
+
}
|
|
29652
|
+
|
|
29653
|
+
static types(): { [key: string]: any } {
|
|
29654
|
+
return {
|
|
29655
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
29656
|
+
statusCode: 'number',
|
|
29657
|
+
body: DeleteNetworkOptimizationResponseBody,
|
|
29658
|
+
};
|
|
29659
|
+
}
|
|
29660
|
+
|
|
29661
|
+
validate() {
|
|
29662
|
+
if(this.headers) {
|
|
29663
|
+
$dara.Model.validateMap(this.headers);
|
|
29664
|
+
}
|
|
29665
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
29666
|
+
(this.body as any).validate();
|
|
29667
|
+
}
|
|
29668
|
+
super.validate();
|
|
29669
|
+
}
|
|
29670
|
+
|
|
29671
|
+
constructor(map?: { [key: string]: any }) {
|
|
29672
|
+
super(map);
|
|
29673
|
+
}
|
|
29674
|
+
}
|
|
29675
|
+
|
|
29676
|
+
export class DeleteOriginPoolRequest extends $dara.Model {
|
|
29677
|
+
/**
|
|
29678
|
+
* @remarks
|
|
29679
|
+
* This parameter is required.
|
|
29680
|
+
*
|
|
29681
|
+
* @example
|
|
29682
|
+
* DeleteOriginPool
|
|
29683
|
+
*/
|
|
29684
|
+
id?: number;
|
|
29685
|
+
/**
|
|
29686
|
+
* @remarks
|
|
29687
|
+
* This parameter is required.
|
|
29688
|
+
*/
|
|
29689
|
+
siteId?: number;
|
|
29690
|
+
static names(): { [key: string]: string } {
|
|
29691
|
+
return {
|
|
29692
|
+
id: 'Id',
|
|
29693
|
+
siteId: 'SiteId',
|
|
29694
|
+
};
|
|
29695
|
+
}
|
|
29696
|
+
|
|
29697
|
+
static types(): { [key: string]: any } {
|
|
29698
|
+
return {
|
|
29699
|
+
id: 'number',
|
|
29700
|
+
siteId: 'number',
|
|
29701
|
+
};
|
|
29702
|
+
}
|
|
29703
|
+
|
|
29704
|
+
validate() {
|
|
29705
|
+
super.validate();
|
|
29706
|
+
}
|
|
29707
|
+
|
|
29708
|
+
constructor(map?: { [key: string]: any }) {
|
|
29709
|
+
super(map);
|
|
29710
|
+
}
|
|
29711
|
+
}
|
|
29712
|
+
|
|
29713
|
+
export class DeleteOriginPoolResponseBody extends $dara.Model {
|
|
29714
|
+
/**
|
|
29715
|
+
* @remarks
|
|
29716
|
+
* Id of the request
|
|
29030
29717
|
*/
|
|
29031
29718
|
requestId?: string;
|
|
29032
29719
|
static names(): { [key: string]: string } {
|
|
@@ -36449,6 +37136,204 @@ export class GetIPv6Response extends $dara.Model {
|
|
|
36449
37136
|
}
|
|
36450
37137
|
}
|
|
36451
37138
|
|
|
37139
|
+
export class GetImageTransformRequest extends $dara.Model {
|
|
37140
|
+
/**
|
|
37141
|
+
* @remarks
|
|
37142
|
+
* The configuration ID, which can be obtained by calling the [ListImageTransforms](~~ListImageTransforms~~) operation.
|
|
37143
|
+
*
|
|
37144
|
+
* This parameter is required.
|
|
37145
|
+
*
|
|
37146
|
+
* @example
|
|
37147
|
+
* 352816096987136
|
|
37148
|
+
*/
|
|
37149
|
+
configId?: number;
|
|
37150
|
+
/**
|
|
37151
|
+
* @remarks
|
|
37152
|
+
* The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
|
|
37153
|
+
*
|
|
37154
|
+
* This parameter is required.
|
|
37155
|
+
*
|
|
37156
|
+
* @example
|
|
37157
|
+
* 123456****
|
|
37158
|
+
*/
|
|
37159
|
+
siteId?: number;
|
|
37160
|
+
static names(): { [key: string]: string } {
|
|
37161
|
+
return {
|
|
37162
|
+
configId: 'ConfigId',
|
|
37163
|
+
siteId: 'SiteId',
|
|
37164
|
+
};
|
|
37165
|
+
}
|
|
37166
|
+
|
|
37167
|
+
static types(): { [key: string]: any } {
|
|
37168
|
+
return {
|
|
37169
|
+
configId: 'number',
|
|
37170
|
+
siteId: 'number',
|
|
37171
|
+
};
|
|
37172
|
+
}
|
|
37173
|
+
|
|
37174
|
+
validate() {
|
|
37175
|
+
super.validate();
|
|
37176
|
+
}
|
|
37177
|
+
|
|
37178
|
+
constructor(map?: { [key: string]: any }) {
|
|
37179
|
+
super(map);
|
|
37180
|
+
}
|
|
37181
|
+
}
|
|
37182
|
+
|
|
37183
|
+
export class GetImageTransformResponseBody extends $dara.Model {
|
|
37184
|
+
/**
|
|
37185
|
+
* @remarks
|
|
37186
|
+
* The configuration ID.
|
|
37187
|
+
*
|
|
37188
|
+
* @example
|
|
37189
|
+
* 352816096987136
|
|
37190
|
+
*/
|
|
37191
|
+
configId?: number;
|
|
37192
|
+
/**
|
|
37193
|
+
* @remarks
|
|
37194
|
+
* The configuration type. Valid values:
|
|
37195
|
+
*
|
|
37196
|
+
* * global: global configuration.
|
|
37197
|
+
* * rule: rule configuration.
|
|
37198
|
+
*
|
|
37199
|
+
* @example
|
|
37200
|
+
* global
|
|
37201
|
+
*/
|
|
37202
|
+
configType?: string;
|
|
37203
|
+
/**
|
|
37204
|
+
* @remarks
|
|
37205
|
+
* Indicates whether the image transformations feature is enabled. Valid values:
|
|
37206
|
+
*
|
|
37207
|
+
* * on
|
|
37208
|
+
* * off
|
|
37209
|
+
*
|
|
37210
|
+
* @example
|
|
37211
|
+
* on
|
|
37212
|
+
*/
|
|
37213
|
+
enable?: string;
|
|
37214
|
+
/**
|
|
37215
|
+
* @remarks
|
|
37216
|
+
* The request ID.
|
|
37217
|
+
*
|
|
37218
|
+
* @example
|
|
37219
|
+
* CB1A380B-09F0-41BB-280B-72F8FD6DA2FE
|
|
37220
|
+
*/
|
|
37221
|
+
requestId?: string;
|
|
37222
|
+
/**
|
|
37223
|
+
* @remarks
|
|
37224
|
+
* The rule content, which is a policy or conditional expression.
|
|
37225
|
+
*
|
|
37226
|
+
* @example
|
|
37227
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
37228
|
+
*/
|
|
37229
|
+
rule?: string;
|
|
37230
|
+
/**
|
|
37231
|
+
* @remarks
|
|
37232
|
+
* Indicates whether the rule is enabled. Valid values:
|
|
37233
|
+
*
|
|
37234
|
+
* * **on**
|
|
37235
|
+
* * **off**
|
|
37236
|
+
*
|
|
37237
|
+
* @example
|
|
37238
|
+
* on
|
|
37239
|
+
*/
|
|
37240
|
+
ruleEnable?: string;
|
|
37241
|
+
/**
|
|
37242
|
+
* @remarks
|
|
37243
|
+
* The rule name.
|
|
37244
|
+
*
|
|
37245
|
+
* @example
|
|
37246
|
+
* test
|
|
37247
|
+
*/
|
|
37248
|
+
ruleName?: string;
|
|
37249
|
+
/**
|
|
37250
|
+
* @remarks
|
|
37251
|
+
* The order in which the rule is executed.
|
|
37252
|
+
*
|
|
37253
|
+
* @example
|
|
37254
|
+
* 2
|
|
37255
|
+
*/
|
|
37256
|
+
sequence?: number;
|
|
37257
|
+
/**
|
|
37258
|
+
* @remarks
|
|
37259
|
+
* The version number of the website.
|
|
37260
|
+
*
|
|
37261
|
+
* @example
|
|
37262
|
+
* 0
|
|
37263
|
+
*/
|
|
37264
|
+
siteVersion?: number;
|
|
37265
|
+
static names(): { [key: string]: string } {
|
|
37266
|
+
return {
|
|
37267
|
+
configId: 'ConfigId',
|
|
37268
|
+
configType: 'ConfigType',
|
|
37269
|
+
enable: 'Enable',
|
|
37270
|
+
requestId: 'RequestId',
|
|
37271
|
+
rule: 'Rule',
|
|
37272
|
+
ruleEnable: 'RuleEnable',
|
|
37273
|
+
ruleName: 'RuleName',
|
|
37274
|
+
sequence: 'Sequence',
|
|
37275
|
+
siteVersion: 'SiteVersion',
|
|
37276
|
+
};
|
|
37277
|
+
}
|
|
37278
|
+
|
|
37279
|
+
static types(): { [key: string]: any } {
|
|
37280
|
+
return {
|
|
37281
|
+
configId: 'number',
|
|
37282
|
+
configType: 'string',
|
|
37283
|
+
enable: 'string',
|
|
37284
|
+
requestId: 'string',
|
|
37285
|
+
rule: 'string',
|
|
37286
|
+
ruleEnable: 'string',
|
|
37287
|
+
ruleName: 'string',
|
|
37288
|
+
sequence: 'number',
|
|
37289
|
+
siteVersion: 'number',
|
|
37290
|
+
};
|
|
37291
|
+
}
|
|
37292
|
+
|
|
37293
|
+
validate() {
|
|
37294
|
+
super.validate();
|
|
37295
|
+
}
|
|
37296
|
+
|
|
37297
|
+
constructor(map?: { [key: string]: any }) {
|
|
37298
|
+
super(map);
|
|
37299
|
+
}
|
|
37300
|
+
}
|
|
37301
|
+
|
|
37302
|
+
export class GetImageTransformResponse extends $dara.Model {
|
|
37303
|
+
headers?: { [key: string]: string };
|
|
37304
|
+
statusCode?: number;
|
|
37305
|
+
body?: GetImageTransformResponseBody;
|
|
37306
|
+
static names(): { [key: string]: string } {
|
|
37307
|
+
return {
|
|
37308
|
+
headers: 'headers',
|
|
37309
|
+
statusCode: 'statusCode',
|
|
37310
|
+
body: 'body',
|
|
37311
|
+
};
|
|
37312
|
+
}
|
|
37313
|
+
|
|
37314
|
+
static types(): { [key: string]: any } {
|
|
37315
|
+
return {
|
|
37316
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
37317
|
+
statusCode: 'number',
|
|
37318
|
+
body: GetImageTransformResponseBody,
|
|
37319
|
+
};
|
|
37320
|
+
}
|
|
37321
|
+
|
|
37322
|
+
validate() {
|
|
37323
|
+
if(this.headers) {
|
|
37324
|
+
$dara.Model.validateMap(this.headers);
|
|
37325
|
+
}
|
|
37326
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
37327
|
+
(this.body as any).validate();
|
|
37328
|
+
}
|
|
37329
|
+
super.validate();
|
|
37330
|
+
}
|
|
37331
|
+
|
|
37332
|
+
constructor(map?: { [key: string]: any }) {
|
|
37333
|
+
super(map);
|
|
37334
|
+
}
|
|
37335
|
+
}
|
|
37336
|
+
|
|
36452
37337
|
export class GetKvRequest extends $dara.Model {
|
|
36453
37338
|
/**
|
|
36454
37339
|
* @remarks
|
|
@@ -37442,6 +38327,192 @@ export class GetManagedTransformResponse extends $dara.Model {
|
|
|
37442
38327
|
}
|
|
37443
38328
|
}
|
|
37444
38329
|
|
|
38330
|
+
export class GetNetworkOptimizationRequest extends $dara.Model {
|
|
38331
|
+
/**
|
|
38332
|
+
* @remarks
|
|
38333
|
+
* This parameter is required.
|
|
38334
|
+
*
|
|
38335
|
+
* @example
|
|
38336
|
+
* 35281609698****
|
|
38337
|
+
*/
|
|
38338
|
+
configId?: number;
|
|
38339
|
+
/**
|
|
38340
|
+
* @remarks
|
|
38341
|
+
* This parameter is required.
|
|
38342
|
+
*
|
|
38343
|
+
* @example
|
|
38344
|
+
* 12312312213212
|
|
38345
|
+
*/
|
|
38346
|
+
siteId?: number;
|
|
38347
|
+
static names(): { [key: string]: string } {
|
|
38348
|
+
return {
|
|
38349
|
+
configId: 'ConfigId',
|
|
38350
|
+
siteId: 'SiteId',
|
|
38351
|
+
};
|
|
38352
|
+
}
|
|
38353
|
+
|
|
38354
|
+
static types(): { [key: string]: any } {
|
|
38355
|
+
return {
|
|
38356
|
+
configId: 'number',
|
|
38357
|
+
siteId: 'number',
|
|
38358
|
+
};
|
|
38359
|
+
}
|
|
38360
|
+
|
|
38361
|
+
validate() {
|
|
38362
|
+
super.validate();
|
|
38363
|
+
}
|
|
38364
|
+
|
|
38365
|
+
constructor(map?: { [key: string]: any }) {
|
|
38366
|
+
super(map);
|
|
38367
|
+
}
|
|
38368
|
+
}
|
|
38369
|
+
|
|
38370
|
+
export class GetNetworkOptimizationResponseBody extends $dara.Model {
|
|
38371
|
+
/**
|
|
38372
|
+
* @example
|
|
38373
|
+
* 35281609698****
|
|
38374
|
+
*/
|
|
38375
|
+
configId?: number;
|
|
38376
|
+
/**
|
|
38377
|
+
* @example
|
|
38378
|
+
* global
|
|
38379
|
+
*/
|
|
38380
|
+
configType?: string;
|
|
38381
|
+
/**
|
|
38382
|
+
* @example
|
|
38383
|
+
* on
|
|
38384
|
+
*/
|
|
38385
|
+
grpc?: string;
|
|
38386
|
+
/**
|
|
38387
|
+
* @example
|
|
38388
|
+
* on
|
|
38389
|
+
*/
|
|
38390
|
+
http2Origin?: string;
|
|
38391
|
+
/**
|
|
38392
|
+
* @example
|
|
38393
|
+
* C370DAF1-C838-4288-A1A0-9A87633D248E
|
|
38394
|
+
*/
|
|
38395
|
+
requestId?: string;
|
|
38396
|
+
/**
|
|
38397
|
+
* @example
|
|
38398
|
+
* (http.host eq \\"video.example.com\\")
|
|
38399
|
+
*/
|
|
38400
|
+
rule?: string;
|
|
38401
|
+
/**
|
|
38402
|
+
* @example
|
|
38403
|
+
* on
|
|
38404
|
+
*/
|
|
38405
|
+
ruleEnable?: string;
|
|
38406
|
+
/**
|
|
38407
|
+
* @example
|
|
38408
|
+
* rule_example
|
|
38409
|
+
*/
|
|
38410
|
+
ruleName?: string;
|
|
38411
|
+
/**
|
|
38412
|
+
* @example
|
|
38413
|
+
* 2
|
|
38414
|
+
*/
|
|
38415
|
+
sequence?: number;
|
|
38416
|
+
/**
|
|
38417
|
+
* @example
|
|
38418
|
+
* 1
|
|
38419
|
+
*/
|
|
38420
|
+
siteVersion?: number;
|
|
38421
|
+
/**
|
|
38422
|
+
* @example
|
|
38423
|
+
* on
|
|
38424
|
+
*/
|
|
38425
|
+
smartRouting?: string;
|
|
38426
|
+
/**
|
|
38427
|
+
* @example
|
|
38428
|
+
* 500
|
|
38429
|
+
*/
|
|
38430
|
+
uploadMaxFilesize?: string;
|
|
38431
|
+
/**
|
|
38432
|
+
* @example
|
|
38433
|
+
* on
|
|
38434
|
+
*/
|
|
38435
|
+
websocket?: string;
|
|
38436
|
+
static names(): { [key: string]: string } {
|
|
38437
|
+
return {
|
|
38438
|
+
configId: 'ConfigId',
|
|
38439
|
+
configType: 'ConfigType',
|
|
38440
|
+
grpc: 'Grpc',
|
|
38441
|
+
http2Origin: 'Http2Origin',
|
|
38442
|
+
requestId: 'RequestId',
|
|
38443
|
+
rule: 'Rule',
|
|
38444
|
+
ruleEnable: 'RuleEnable',
|
|
38445
|
+
ruleName: 'RuleName',
|
|
38446
|
+
sequence: 'Sequence',
|
|
38447
|
+
siteVersion: 'SiteVersion',
|
|
38448
|
+
smartRouting: 'SmartRouting',
|
|
38449
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
38450
|
+
websocket: 'Websocket',
|
|
38451
|
+
};
|
|
38452
|
+
}
|
|
38453
|
+
|
|
38454
|
+
static types(): { [key: string]: any } {
|
|
38455
|
+
return {
|
|
38456
|
+
configId: 'number',
|
|
38457
|
+
configType: 'string',
|
|
38458
|
+
grpc: 'string',
|
|
38459
|
+
http2Origin: 'string',
|
|
38460
|
+
requestId: 'string',
|
|
38461
|
+
rule: 'string',
|
|
38462
|
+
ruleEnable: 'string',
|
|
38463
|
+
ruleName: 'string',
|
|
38464
|
+
sequence: 'number',
|
|
38465
|
+
siteVersion: 'number',
|
|
38466
|
+
smartRouting: 'string',
|
|
38467
|
+
uploadMaxFilesize: 'string',
|
|
38468
|
+
websocket: 'string',
|
|
38469
|
+
};
|
|
38470
|
+
}
|
|
38471
|
+
|
|
38472
|
+
validate() {
|
|
38473
|
+
super.validate();
|
|
38474
|
+
}
|
|
38475
|
+
|
|
38476
|
+
constructor(map?: { [key: string]: any }) {
|
|
38477
|
+
super(map);
|
|
38478
|
+
}
|
|
38479
|
+
}
|
|
38480
|
+
|
|
38481
|
+
export class GetNetworkOptimizationResponse extends $dara.Model {
|
|
38482
|
+
headers?: { [key: string]: string };
|
|
38483
|
+
statusCode?: number;
|
|
38484
|
+
body?: GetNetworkOptimizationResponseBody;
|
|
38485
|
+
static names(): { [key: string]: string } {
|
|
38486
|
+
return {
|
|
38487
|
+
headers: 'headers',
|
|
38488
|
+
statusCode: 'statusCode',
|
|
38489
|
+
body: 'body',
|
|
38490
|
+
};
|
|
38491
|
+
}
|
|
38492
|
+
|
|
38493
|
+
static types(): { [key: string]: any } {
|
|
38494
|
+
return {
|
|
38495
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
38496
|
+
statusCode: 'number',
|
|
38497
|
+
body: GetNetworkOptimizationResponseBody,
|
|
38498
|
+
};
|
|
38499
|
+
}
|
|
38500
|
+
|
|
38501
|
+
validate() {
|
|
38502
|
+
if(this.headers) {
|
|
38503
|
+
$dara.Model.validateMap(this.headers);
|
|
38504
|
+
}
|
|
38505
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
38506
|
+
(this.body as any).validate();
|
|
38507
|
+
}
|
|
38508
|
+
super.validate();
|
|
38509
|
+
}
|
|
38510
|
+
|
|
38511
|
+
constructor(map?: { [key: string]: any }) {
|
|
38512
|
+
super(map);
|
|
38513
|
+
}
|
|
38514
|
+
}
|
|
38515
|
+
|
|
37445
38516
|
export class GetOriginPoolRequest extends $dara.Model {
|
|
37446
38517
|
/**
|
|
37447
38518
|
* @remarks
|
|
@@ -40580,6 +41651,105 @@ export class GetSiteNameExclusiveResponse extends $dara.Model {
|
|
|
40580
41651
|
}
|
|
40581
41652
|
}
|
|
40582
41653
|
|
|
41654
|
+
export class GetSitePauseRequest extends $dara.Model {
|
|
41655
|
+
/**
|
|
41656
|
+
* @remarks
|
|
41657
|
+
* This parameter is required.
|
|
41658
|
+
*
|
|
41659
|
+
* @example
|
|
41660
|
+
* 123456****
|
|
41661
|
+
*/
|
|
41662
|
+
siteId?: number;
|
|
41663
|
+
static names(): { [key: string]: string } {
|
|
41664
|
+
return {
|
|
41665
|
+
siteId: 'SiteId',
|
|
41666
|
+
};
|
|
41667
|
+
}
|
|
41668
|
+
|
|
41669
|
+
static types(): { [key: string]: any } {
|
|
41670
|
+
return {
|
|
41671
|
+
siteId: 'number',
|
|
41672
|
+
};
|
|
41673
|
+
}
|
|
41674
|
+
|
|
41675
|
+
validate() {
|
|
41676
|
+
super.validate();
|
|
41677
|
+
}
|
|
41678
|
+
|
|
41679
|
+
constructor(map?: { [key: string]: any }) {
|
|
41680
|
+
super(map);
|
|
41681
|
+
}
|
|
41682
|
+
}
|
|
41683
|
+
|
|
41684
|
+
export class GetSitePauseResponseBody extends $dara.Model {
|
|
41685
|
+
/**
|
|
41686
|
+
* @example
|
|
41687
|
+
* true
|
|
41688
|
+
*/
|
|
41689
|
+
paused?: boolean;
|
|
41690
|
+
/**
|
|
41691
|
+
* @example
|
|
41692
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
41693
|
+
*/
|
|
41694
|
+
requestId?: string;
|
|
41695
|
+
static names(): { [key: string]: string } {
|
|
41696
|
+
return {
|
|
41697
|
+
paused: 'Paused',
|
|
41698
|
+
requestId: 'RequestId',
|
|
41699
|
+
};
|
|
41700
|
+
}
|
|
41701
|
+
|
|
41702
|
+
static types(): { [key: string]: any } {
|
|
41703
|
+
return {
|
|
41704
|
+
paused: 'boolean',
|
|
41705
|
+
requestId: 'string',
|
|
41706
|
+
};
|
|
41707
|
+
}
|
|
41708
|
+
|
|
41709
|
+
validate() {
|
|
41710
|
+
super.validate();
|
|
41711
|
+
}
|
|
41712
|
+
|
|
41713
|
+
constructor(map?: { [key: string]: any }) {
|
|
41714
|
+
super(map);
|
|
41715
|
+
}
|
|
41716
|
+
}
|
|
41717
|
+
|
|
41718
|
+
export class GetSitePauseResponse extends $dara.Model {
|
|
41719
|
+
headers?: { [key: string]: string };
|
|
41720
|
+
statusCode?: number;
|
|
41721
|
+
body?: GetSitePauseResponseBody;
|
|
41722
|
+
static names(): { [key: string]: string } {
|
|
41723
|
+
return {
|
|
41724
|
+
headers: 'headers',
|
|
41725
|
+
statusCode: 'statusCode',
|
|
41726
|
+
body: 'body',
|
|
41727
|
+
};
|
|
41728
|
+
}
|
|
41729
|
+
|
|
41730
|
+
static types(): { [key: string]: any } {
|
|
41731
|
+
return {
|
|
41732
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
41733
|
+
statusCode: 'number',
|
|
41734
|
+
body: GetSitePauseResponseBody,
|
|
41735
|
+
};
|
|
41736
|
+
}
|
|
41737
|
+
|
|
41738
|
+
validate() {
|
|
41739
|
+
if(this.headers) {
|
|
41740
|
+
$dara.Model.validateMap(this.headers);
|
|
41741
|
+
}
|
|
41742
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
41743
|
+
(this.body as any).validate();
|
|
41744
|
+
}
|
|
41745
|
+
super.validate();
|
|
41746
|
+
}
|
|
41747
|
+
|
|
41748
|
+
constructor(map?: { [key: string]: any }) {
|
|
41749
|
+
super(map);
|
|
41750
|
+
}
|
|
41751
|
+
}
|
|
41752
|
+
|
|
40583
41753
|
export class GetSiteWafSettingsRequest extends $dara.Model {
|
|
40584
41754
|
path?: string;
|
|
40585
41755
|
/**
|
|
@@ -44544,6 +45714,174 @@ export class ListHttpsBasicConfigurationsResponse extends $dara.Model {
|
|
|
44544
45714
|
}
|
|
44545
45715
|
}
|
|
44546
45716
|
|
|
45717
|
+
export class ListImageTransformsRequest extends $dara.Model {
|
|
45718
|
+
/**
|
|
45719
|
+
* @example
|
|
45720
|
+
* 352816096987136
|
|
45721
|
+
*/
|
|
45722
|
+
configId?: number;
|
|
45723
|
+
/**
|
|
45724
|
+
* @example
|
|
45725
|
+
* global
|
|
45726
|
+
*/
|
|
45727
|
+
configType?: string;
|
|
45728
|
+
/**
|
|
45729
|
+
* @example
|
|
45730
|
+
* 1
|
|
45731
|
+
*/
|
|
45732
|
+
pageNumber?: number;
|
|
45733
|
+
/**
|
|
45734
|
+
* @example
|
|
45735
|
+
* 20
|
|
45736
|
+
*/
|
|
45737
|
+
pageSize?: number;
|
|
45738
|
+
/**
|
|
45739
|
+
* @example
|
|
45740
|
+
* test1
|
|
45741
|
+
*/
|
|
45742
|
+
ruleName?: string;
|
|
45743
|
+
/**
|
|
45744
|
+
* @remarks
|
|
45745
|
+
* This parameter is required.
|
|
45746
|
+
*
|
|
45747
|
+
* @example
|
|
45748
|
+
* 123456****
|
|
45749
|
+
*/
|
|
45750
|
+
siteId?: number;
|
|
45751
|
+
/**
|
|
45752
|
+
* @example
|
|
45753
|
+
* 1
|
|
45754
|
+
*/
|
|
45755
|
+
siteVersion?: number;
|
|
45756
|
+
static names(): { [key: string]: string } {
|
|
45757
|
+
return {
|
|
45758
|
+
configId: 'ConfigId',
|
|
45759
|
+
configType: 'ConfigType',
|
|
45760
|
+
pageNumber: 'PageNumber',
|
|
45761
|
+
pageSize: 'PageSize',
|
|
45762
|
+
ruleName: 'RuleName',
|
|
45763
|
+
siteId: 'SiteId',
|
|
45764
|
+
siteVersion: 'SiteVersion',
|
|
45765
|
+
};
|
|
45766
|
+
}
|
|
45767
|
+
|
|
45768
|
+
static types(): { [key: string]: any } {
|
|
45769
|
+
return {
|
|
45770
|
+
configId: 'number',
|
|
45771
|
+
configType: 'string',
|
|
45772
|
+
pageNumber: 'number',
|
|
45773
|
+
pageSize: 'number',
|
|
45774
|
+
ruleName: 'string',
|
|
45775
|
+
siteId: 'number',
|
|
45776
|
+
siteVersion: 'number',
|
|
45777
|
+
};
|
|
45778
|
+
}
|
|
45779
|
+
|
|
45780
|
+
validate() {
|
|
45781
|
+
super.validate();
|
|
45782
|
+
}
|
|
45783
|
+
|
|
45784
|
+
constructor(map?: { [key: string]: any }) {
|
|
45785
|
+
super(map);
|
|
45786
|
+
}
|
|
45787
|
+
}
|
|
45788
|
+
|
|
45789
|
+
export class ListImageTransformsResponseBody extends $dara.Model {
|
|
45790
|
+
configs?: ListImageTransformsResponseBodyConfigs[];
|
|
45791
|
+
/**
|
|
45792
|
+
* @example
|
|
45793
|
+
* 1
|
|
45794
|
+
*/
|
|
45795
|
+
pageNumber?: number;
|
|
45796
|
+
/**
|
|
45797
|
+
* @example
|
|
45798
|
+
* 10
|
|
45799
|
+
*/
|
|
45800
|
+
pageSize?: number;
|
|
45801
|
+
/**
|
|
45802
|
+
* @example
|
|
45803
|
+
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
45804
|
+
*/
|
|
45805
|
+
requestId?: string;
|
|
45806
|
+
/**
|
|
45807
|
+
* @example
|
|
45808
|
+
* 16
|
|
45809
|
+
*/
|
|
45810
|
+
totalCount?: number;
|
|
45811
|
+
/**
|
|
45812
|
+
* @example
|
|
45813
|
+
* 2
|
|
45814
|
+
*/
|
|
45815
|
+
totalPage?: number;
|
|
45816
|
+
static names(): { [key: string]: string } {
|
|
45817
|
+
return {
|
|
45818
|
+
configs: 'Configs',
|
|
45819
|
+
pageNumber: 'PageNumber',
|
|
45820
|
+
pageSize: 'PageSize',
|
|
45821
|
+
requestId: 'RequestId',
|
|
45822
|
+
totalCount: 'TotalCount',
|
|
45823
|
+
totalPage: 'TotalPage',
|
|
45824
|
+
};
|
|
45825
|
+
}
|
|
45826
|
+
|
|
45827
|
+
static types(): { [key: string]: any } {
|
|
45828
|
+
return {
|
|
45829
|
+
configs: { 'type': 'array', 'itemType': ListImageTransformsResponseBodyConfigs },
|
|
45830
|
+
pageNumber: 'number',
|
|
45831
|
+
pageSize: 'number',
|
|
45832
|
+
requestId: 'string',
|
|
45833
|
+
totalCount: 'number',
|
|
45834
|
+
totalPage: 'number',
|
|
45835
|
+
};
|
|
45836
|
+
}
|
|
45837
|
+
|
|
45838
|
+
validate() {
|
|
45839
|
+
if(Array.isArray(this.configs)) {
|
|
45840
|
+
$dara.Model.validateArray(this.configs);
|
|
45841
|
+
}
|
|
45842
|
+
super.validate();
|
|
45843
|
+
}
|
|
45844
|
+
|
|
45845
|
+
constructor(map?: { [key: string]: any }) {
|
|
45846
|
+
super(map);
|
|
45847
|
+
}
|
|
45848
|
+
}
|
|
45849
|
+
|
|
45850
|
+
export class ListImageTransformsResponse extends $dara.Model {
|
|
45851
|
+
headers?: { [key: string]: string };
|
|
45852
|
+
statusCode?: number;
|
|
45853
|
+
body?: ListImageTransformsResponseBody;
|
|
45854
|
+
static names(): { [key: string]: string } {
|
|
45855
|
+
return {
|
|
45856
|
+
headers: 'headers',
|
|
45857
|
+
statusCode: 'statusCode',
|
|
45858
|
+
body: 'body',
|
|
45859
|
+
};
|
|
45860
|
+
}
|
|
45861
|
+
|
|
45862
|
+
static types(): { [key: string]: any } {
|
|
45863
|
+
return {
|
|
45864
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
45865
|
+
statusCode: 'number',
|
|
45866
|
+
body: ListImageTransformsResponseBody,
|
|
45867
|
+
};
|
|
45868
|
+
}
|
|
45869
|
+
|
|
45870
|
+
validate() {
|
|
45871
|
+
if(this.headers) {
|
|
45872
|
+
$dara.Model.validateMap(this.headers);
|
|
45873
|
+
}
|
|
45874
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
45875
|
+
(this.body as any).validate();
|
|
45876
|
+
}
|
|
45877
|
+
super.validate();
|
|
45878
|
+
}
|
|
45879
|
+
|
|
45880
|
+
constructor(map?: { [key: string]: any }) {
|
|
45881
|
+
super(map);
|
|
45882
|
+
}
|
|
45883
|
+
}
|
|
45884
|
+
|
|
44547
45885
|
export class ListInstanceQuotasRequest extends $dara.Model {
|
|
44548
45886
|
/**
|
|
44549
45887
|
* @remarks
|
|
@@ -45909,132 +47247,300 @@ export class ListManagedRulesGroupsResponse extends $dara.Model {
|
|
|
45909
47247
|
}
|
|
45910
47248
|
}
|
|
45911
47249
|
|
|
45912
|
-
export class
|
|
45913
|
-
matchType?: string;
|
|
45914
|
-
name?: string;
|
|
45915
|
-
orderBy?: string;
|
|
47250
|
+
export class ListNetworkOptimizationsRequest extends $dara.Model {
|
|
45916
47251
|
/**
|
|
45917
47252
|
* @example
|
|
45918
|
-
*
|
|
45919
|
-
*/
|
|
45920
|
-
|
|
45921
|
-
|
|
45922
|
-
|
|
45923
|
-
*
|
|
45924
|
-
|
|
45925
|
-
|
|
45926
|
-
|
|
45927
|
-
|
|
45928
|
-
|
|
45929
|
-
|
|
45930
|
-
|
|
45931
|
-
|
|
45932
|
-
|
|
45933
|
-
|
|
45934
|
-
|
|
45935
|
-
|
|
45936
|
-
|
|
45937
|
-
|
|
45938
|
-
|
|
45939
|
-
|
|
45940
|
-
|
|
45941
|
-
|
|
45942
|
-
|
|
45943
|
-
|
|
45944
|
-
|
|
45945
|
-
|
|
45946
|
-
|
|
45947
|
-
|
|
45948
|
-
|
|
45949
|
-
|
|
45950
|
-
|
|
45951
|
-
|
|
45952
|
-
|
|
45953
|
-
|
|
45954
|
-
|
|
45955
|
-
|
|
45956
|
-
|
|
45957
|
-
|
|
45958
|
-
|
|
45959
|
-
|
|
45960
|
-
|
|
45961
|
-
|
|
45962
|
-
|
|
45963
|
-
|
|
45964
|
-
|
|
45965
|
-
|
|
45966
|
-
|
|
45967
|
-
|
|
45968
|
-
|
|
45969
|
-
|
|
45970
|
-
|
|
45971
|
-
|
|
45972
|
-
|
|
45973
|
-
|
|
45974
|
-
|
|
45975
|
-
|
|
45976
|
-
|
|
45977
|
-
|
|
45978
|
-
|
|
45979
|
-
|
|
45980
|
-
|
|
45981
|
-
|
|
45982
|
-
|
|
45983
|
-
|
|
45984
|
-
|
|
45985
|
-
|
|
45986
|
-
|
|
45987
|
-
|
|
45988
|
-
|
|
45989
|
-
|
|
45990
|
-
|
|
45991
|
-
|
|
45992
|
-
|
|
45993
|
-
|
|
45994
|
-
|
|
45995
|
-
|
|
45996
|
-
|
|
45997
|
-
|
|
45998
|
-
|
|
45999
|
-
|
|
46000
|
-
|
|
46001
|
-
|
|
46002
|
-
|
|
46003
|
-
|
|
46004
|
-
|
|
46005
|
-
|
|
46006
|
-
|
|
46007
|
-
|
|
46008
|
-
|
|
46009
|
-
|
|
46010
|
-
|
|
46011
|
-
|
|
46012
|
-
|
|
46013
|
-
|
|
46014
|
-
|
|
46015
|
-
|
|
46016
|
-
|
|
46017
|
-
|
|
46018
|
-
|
|
46019
|
-
|
|
46020
|
-
|
|
46021
|
-
|
|
46022
|
-
}
|
|
46023
|
-
|
|
46024
|
-
|
|
46025
|
-
|
|
46026
|
-
|
|
46027
|
-
|
|
46028
|
-
|
|
46029
|
-
|
|
46030
|
-
|
|
46031
|
-
|
|
46032
|
-
|
|
46033
|
-
|
|
46034
|
-
|
|
46035
|
-
|
|
46036
|
-
|
|
46037
|
-
|
|
47253
|
+
* 3528160969****
|
|
47254
|
+
*/
|
|
47255
|
+
configId?: number;
|
|
47256
|
+
/**
|
|
47257
|
+
* @example
|
|
47258
|
+
* global
|
|
47259
|
+
*/
|
|
47260
|
+
configType?: string;
|
|
47261
|
+
/**
|
|
47262
|
+
* @example
|
|
47263
|
+
* 1
|
|
47264
|
+
*/
|
|
47265
|
+
pageNumber?: number;
|
|
47266
|
+
/**
|
|
47267
|
+
* @example
|
|
47268
|
+
* 20
|
|
47269
|
+
*/
|
|
47270
|
+
pageSize?: number;
|
|
47271
|
+
/**
|
|
47272
|
+
* @example
|
|
47273
|
+
* test
|
|
47274
|
+
*/
|
|
47275
|
+
ruleName?: string;
|
|
47276
|
+
/**
|
|
47277
|
+
* @remarks
|
|
47278
|
+
* This parameter is required.
|
|
47279
|
+
*
|
|
47280
|
+
* @example
|
|
47281
|
+
* 1231231221****
|
|
47282
|
+
*/
|
|
47283
|
+
siteId?: number;
|
|
47284
|
+
/**
|
|
47285
|
+
* @example
|
|
47286
|
+
* 1
|
|
47287
|
+
*/
|
|
47288
|
+
siteVersion?: number;
|
|
47289
|
+
static names(): { [key: string]: string } {
|
|
47290
|
+
return {
|
|
47291
|
+
configId: 'ConfigId',
|
|
47292
|
+
configType: 'ConfigType',
|
|
47293
|
+
pageNumber: 'PageNumber',
|
|
47294
|
+
pageSize: 'PageSize',
|
|
47295
|
+
ruleName: 'RuleName',
|
|
47296
|
+
siteId: 'SiteId',
|
|
47297
|
+
siteVersion: 'SiteVersion',
|
|
47298
|
+
};
|
|
47299
|
+
}
|
|
47300
|
+
|
|
47301
|
+
static types(): { [key: string]: any } {
|
|
47302
|
+
return {
|
|
47303
|
+
configId: 'number',
|
|
47304
|
+
configType: 'string',
|
|
47305
|
+
pageNumber: 'number',
|
|
47306
|
+
pageSize: 'number',
|
|
47307
|
+
ruleName: 'string',
|
|
47308
|
+
siteId: 'number',
|
|
47309
|
+
siteVersion: 'number',
|
|
47310
|
+
};
|
|
47311
|
+
}
|
|
47312
|
+
|
|
47313
|
+
validate() {
|
|
47314
|
+
super.validate();
|
|
47315
|
+
}
|
|
47316
|
+
|
|
47317
|
+
constructor(map?: { [key: string]: any }) {
|
|
47318
|
+
super(map);
|
|
47319
|
+
}
|
|
47320
|
+
}
|
|
47321
|
+
|
|
47322
|
+
export class ListNetworkOptimizationsResponseBody extends $dara.Model {
|
|
47323
|
+
configs?: ListNetworkOptimizationsResponseBodyConfigs[];
|
|
47324
|
+
/**
|
|
47325
|
+
* @example
|
|
47326
|
+
* 1
|
|
47327
|
+
*/
|
|
47328
|
+
pageNumber?: number;
|
|
47329
|
+
/**
|
|
47330
|
+
* @example
|
|
47331
|
+
* 10
|
|
47332
|
+
*/
|
|
47333
|
+
pageSize?: number;
|
|
47334
|
+
/**
|
|
47335
|
+
* @example
|
|
47336
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
47337
|
+
*/
|
|
47338
|
+
requestId?: string;
|
|
47339
|
+
/**
|
|
47340
|
+
* @example
|
|
47341
|
+
* 100
|
|
47342
|
+
*/
|
|
47343
|
+
totalCount?: number;
|
|
47344
|
+
/**
|
|
47345
|
+
* @example
|
|
47346
|
+
* 2
|
|
47347
|
+
*/
|
|
47348
|
+
totalPage?: number;
|
|
47349
|
+
static names(): { [key: string]: string } {
|
|
47350
|
+
return {
|
|
47351
|
+
configs: 'Configs',
|
|
47352
|
+
pageNumber: 'PageNumber',
|
|
47353
|
+
pageSize: 'PageSize',
|
|
47354
|
+
requestId: 'RequestId',
|
|
47355
|
+
totalCount: 'TotalCount',
|
|
47356
|
+
totalPage: 'TotalPage',
|
|
47357
|
+
};
|
|
47358
|
+
}
|
|
47359
|
+
|
|
47360
|
+
static types(): { [key: string]: any } {
|
|
47361
|
+
return {
|
|
47362
|
+
configs: { 'type': 'array', 'itemType': ListNetworkOptimizationsResponseBodyConfigs },
|
|
47363
|
+
pageNumber: 'number',
|
|
47364
|
+
pageSize: 'number',
|
|
47365
|
+
requestId: 'string',
|
|
47366
|
+
totalCount: 'number',
|
|
47367
|
+
totalPage: 'number',
|
|
47368
|
+
};
|
|
47369
|
+
}
|
|
47370
|
+
|
|
47371
|
+
validate() {
|
|
47372
|
+
if(Array.isArray(this.configs)) {
|
|
47373
|
+
$dara.Model.validateArray(this.configs);
|
|
47374
|
+
}
|
|
47375
|
+
super.validate();
|
|
47376
|
+
}
|
|
47377
|
+
|
|
47378
|
+
constructor(map?: { [key: string]: any }) {
|
|
47379
|
+
super(map);
|
|
47380
|
+
}
|
|
47381
|
+
}
|
|
47382
|
+
|
|
47383
|
+
export class ListNetworkOptimizationsResponse extends $dara.Model {
|
|
47384
|
+
headers?: { [key: string]: string };
|
|
47385
|
+
statusCode?: number;
|
|
47386
|
+
body?: ListNetworkOptimizationsResponseBody;
|
|
47387
|
+
static names(): { [key: string]: string } {
|
|
47388
|
+
return {
|
|
47389
|
+
headers: 'headers',
|
|
47390
|
+
statusCode: 'statusCode',
|
|
47391
|
+
body: 'body',
|
|
47392
|
+
};
|
|
47393
|
+
}
|
|
47394
|
+
|
|
47395
|
+
static types(): { [key: string]: any } {
|
|
47396
|
+
return {
|
|
47397
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
47398
|
+
statusCode: 'number',
|
|
47399
|
+
body: ListNetworkOptimizationsResponseBody,
|
|
47400
|
+
};
|
|
47401
|
+
}
|
|
47402
|
+
|
|
47403
|
+
validate() {
|
|
47404
|
+
if(this.headers) {
|
|
47405
|
+
$dara.Model.validateMap(this.headers);
|
|
47406
|
+
}
|
|
47407
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
47408
|
+
(this.body as any).validate();
|
|
47409
|
+
}
|
|
47410
|
+
super.validate();
|
|
47411
|
+
}
|
|
47412
|
+
|
|
47413
|
+
constructor(map?: { [key: string]: any }) {
|
|
47414
|
+
super(map);
|
|
47415
|
+
}
|
|
47416
|
+
}
|
|
47417
|
+
|
|
47418
|
+
export class ListOriginPoolsRequest extends $dara.Model {
|
|
47419
|
+
matchType?: string;
|
|
47420
|
+
name?: string;
|
|
47421
|
+
orderBy?: string;
|
|
47422
|
+
/**
|
|
47423
|
+
* @example
|
|
47424
|
+
* ListOriginPools
|
|
47425
|
+
*/
|
|
47426
|
+
pageNumber?: number;
|
|
47427
|
+
pageSize?: number;
|
|
47428
|
+
/**
|
|
47429
|
+
* @remarks
|
|
47430
|
+
* This parameter is required.
|
|
47431
|
+
*/
|
|
47432
|
+
siteId?: number;
|
|
47433
|
+
static names(): { [key: string]: string } {
|
|
47434
|
+
return {
|
|
47435
|
+
matchType: 'MatchType',
|
|
47436
|
+
name: 'Name',
|
|
47437
|
+
orderBy: 'OrderBy',
|
|
47438
|
+
pageNumber: 'PageNumber',
|
|
47439
|
+
pageSize: 'PageSize',
|
|
47440
|
+
siteId: 'SiteId',
|
|
47441
|
+
};
|
|
47442
|
+
}
|
|
47443
|
+
|
|
47444
|
+
static types(): { [key: string]: any } {
|
|
47445
|
+
return {
|
|
47446
|
+
matchType: 'string',
|
|
47447
|
+
name: 'string',
|
|
47448
|
+
orderBy: 'string',
|
|
47449
|
+
pageNumber: 'number',
|
|
47450
|
+
pageSize: 'number',
|
|
47451
|
+
siteId: 'number',
|
|
47452
|
+
};
|
|
47453
|
+
}
|
|
47454
|
+
|
|
47455
|
+
validate() {
|
|
47456
|
+
super.validate();
|
|
47457
|
+
}
|
|
47458
|
+
|
|
47459
|
+
constructor(map?: { [key: string]: any }) {
|
|
47460
|
+
super(map);
|
|
47461
|
+
}
|
|
47462
|
+
}
|
|
47463
|
+
|
|
47464
|
+
export class ListOriginPoolsResponseBody extends $dara.Model {
|
|
47465
|
+
originPools?: ListOriginPoolsResponseBodyOriginPools[];
|
|
47466
|
+
pageNumber?: number;
|
|
47467
|
+
pageSize?: number;
|
|
47468
|
+
requestId?: string;
|
|
47469
|
+
totalCount?: number;
|
|
47470
|
+
totalPage?: number;
|
|
47471
|
+
static names(): { [key: string]: string } {
|
|
47472
|
+
return {
|
|
47473
|
+
originPools: 'OriginPools',
|
|
47474
|
+
pageNumber: 'PageNumber',
|
|
47475
|
+
pageSize: 'PageSize',
|
|
47476
|
+
requestId: 'RequestId',
|
|
47477
|
+
totalCount: 'TotalCount',
|
|
47478
|
+
totalPage: 'TotalPage',
|
|
47479
|
+
};
|
|
47480
|
+
}
|
|
47481
|
+
|
|
47482
|
+
static types(): { [key: string]: any } {
|
|
47483
|
+
return {
|
|
47484
|
+
originPools: { 'type': 'array', 'itemType': ListOriginPoolsResponseBodyOriginPools },
|
|
47485
|
+
pageNumber: 'number',
|
|
47486
|
+
pageSize: 'number',
|
|
47487
|
+
requestId: 'string',
|
|
47488
|
+
totalCount: 'number',
|
|
47489
|
+
totalPage: 'number',
|
|
47490
|
+
};
|
|
47491
|
+
}
|
|
47492
|
+
|
|
47493
|
+
validate() {
|
|
47494
|
+
if(Array.isArray(this.originPools)) {
|
|
47495
|
+
$dara.Model.validateArray(this.originPools);
|
|
47496
|
+
}
|
|
47497
|
+
super.validate();
|
|
47498
|
+
}
|
|
47499
|
+
|
|
47500
|
+
constructor(map?: { [key: string]: any }) {
|
|
47501
|
+
super(map);
|
|
47502
|
+
}
|
|
47503
|
+
}
|
|
47504
|
+
|
|
47505
|
+
export class ListOriginPoolsResponse extends $dara.Model {
|
|
47506
|
+
headers?: { [key: string]: string };
|
|
47507
|
+
statusCode?: number;
|
|
47508
|
+
body?: ListOriginPoolsResponseBody;
|
|
47509
|
+
static names(): { [key: string]: string } {
|
|
47510
|
+
return {
|
|
47511
|
+
headers: 'headers',
|
|
47512
|
+
statusCode: 'statusCode',
|
|
47513
|
+
body: 'body',
|
|
47514
|
+
};
|
|
47515
|
+
}
|
|
47516
|
+
|
|
47517
|
+
static types(): { [key: string]: any } {
|
|
47518
|
+
return {
|
|
47519
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
47520
|
+
statusCode: 'number',
|
|
47521
|
+
body: ListOriginPoolsResponseBody,
|
|
47522
|
+
};
|
|
47523
|
+
}
|
|
47524
|
+
|
|
47525
|
+
validate() {
|
|
47526
|
+
if(this.headers) {
|
|
47527
|
+
$dara.Model.validateMap(this.headers);
|
|
47528
|
+
}
|
|
47529
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
47530
|
+
(this.body as any).validate();
|
|
47531
|
+
}
|
|
47532
|
+
super.validate();
|
|
47533
|
+
}
|
|
47534
|
+
|
|
47535
|
+
constructor(map?: { [key: string]: any }) {
|
|
47536
|
+
super(map);
|
|
47537
|
+
}
|
|
47538
|
+
}
|
|
47539
|
+
|
|
47540
|
+
export class ListOriginRulesRequest extends $dara.Model {
|
|
47541
|
+
/**
|
|
47542
|
+
* @example
|
|
47543
|
+
* 35281609698****
|
|
46038
47544
|
*/
|
|
46039
47545
|
configId?: number;
|
|
46040
47546
|
/**
|
|
@@ -54758,6 +56264,136 @@ export class UpdateIPv6Response extends $dara.Model {
|
|
|
54758
56264
|
}
|
|
54759
56265
|
}
|
|
54760
56266
|
|
|
56267
|
+
export class UpdateImageTransformRequest extends $dara.Model {
|
|
56268
|
+
/**
|
|
56269
|
+
* @remarks
|
|
56270
|
+
* This parameter is required.
|
|
56271
|
+
*
|
|
56272
|
+
* @example
|
|
56273
|
+
* 352816096987136
|
|
56274
|
+
*/
|
|
56275
|
+
configId?: number;
|
|
56276
|
+
/**
|
|
56277
|
+
* @example
|
|
56278
|
+
* on
|
|
56279
|
+
*/
|
|
56280
|
+
enable?: string;
|
|
56281
|
+
/**
|
|
56282
|
+
* @example
|
|
56283
|
+
* (http.request.uri.path.file_name eq \\"jpg\\")
|
|
56284
|
+
*/
|
|
56285
|
+
rule?: string;
|
|
56286
|
+
/**
|
|
56287
|
+
* @example
|
|
56288
|
+
* on
|
|
56289
|
+
*/
|
|
56290
|
+
ruleEnable?: string;
|
|
56291
|
+
/**
|
|
56292
|
+
* @example
|
|
56293
|
+
* test
|
|
56294
|
+
*/
|
|
56295
|
+
ruleName?: string;
|
|
56296
|
+
/**
|
|
56297
|
+
* @remarks
|
|
56298
|
+
* This parameter is required.
|
|
56299
|
+
*
|
|
56300
|
+
* @example
|
|
56301
|
+
* 1234567890123
|
|
56302
|
+
*/
|
|
56303
|
+
siteId?: number;
|
|
56304
|
+
static names(): { [key: string]: string } {
|
|
56305
|
+
return {
|
|
56306
|
+
configId: 'ConfigId',
|
|
56307
|
+
enable: 'Enable',
|
|
56308
|
+
rule: 'Rule',
|
|
56309
|
+
ruleEnable: 'RuleEnable',
|
|
56310
|
+
ruleName: 'RuleName',
|
|
56311
|
+
siteId: 'SiteId',
|
|
56312
|
+
};
|
|
56313
|
+
}
|
|
56314
|
+
|
|
56315
|
+
static types(): { [key: string]: any } {
|
|
56316
|
+
return {
|
|
56317
|
+
configId: 'number',
|
|
56318
|
+
enable: 'string',
|
|
56319
|
+
rule: 'string',
|
|
56320
|
+
ruleEnable: 'string',
|
|
56321
|
+
ruleName: 'string',
|
|
56322
|
+
siteId: 'number',
|
|
56323
|
+
};
|
|
56324
|
+
}
|
|
56325
|
+
|
|
56326
|
+
validate() {
|
|
56327
|
+
super.validate();
|
|
56328
|
+
}
|
|
56329
|
+
|
|
56330
|
+
constructor(map?: { [key: string]: any }) {
|
|
56331
|
+
super(map);
|
|
56332
|
+
}
|
|
56333
|
+
}
|
|
56334
|
+
|
|
56335
|
+
export class UpdateImageTransformResponseBody extends $dara.Model {
|
|
56336
|
+
/**
|
|
56337
|
+
* @example
|
|
56338
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
56339
|
+
*/
|
|
56340
|
+
requestId?: string;
|
|
56341
|
+
static names(): { [key: string]: string } {
|
|
56342
|
+
return {
|
|
56343
|
+
requestId: 'RequestId',
|
|
56344
|
+
};
|
|
56345
|
+
}
|
|
56346
|
+
|
|
56347
|
+
static types(): { [key: string]: any } {
|
|
56348
|
+
return {
|
|
56349
|
+
requestId: 'string',
|
|
56350
|
+
};
|
|
56351
|
+
}
|
|
56352
|
+
|
|
56353
|
+
validate() {
|
|
56354
|
+
super.validate();
|
|
56355
|
+
}
|
|
56356
|
+
|
|
56357
|
+
constructor(map?: { [key: string]: any }) {
|
|
56358
|
+
super(map);
|
|
56359
|
+
}
|
|
56360
|
+
}
|
|
56361
|
+
|
|
56362
|
+
export class UpdateImageTransformResponse extends $dara.Model {
|
|
56363
|
+
headers?: { [key: string]: string };
|
|
56364
|
+
statusCode?: number;
|
|
56365
|
+
body?: UpdateImageTransformResponseBody;
|
|
56366
|
+
static names(): { [key: string]: string } {
|
|
56367
|
+
return {
|
|
56368
|
+
headers: 'headers',
|
|
56369
|
+
statusCode: 'statusCode',
|
|
56370
|
+
body: 'body',
|
|
56371
|
+
};
|
|
56372
|
+
}
|
|
56373
|
+
|
|
56374
|
+
static types(): { [key: string]: any } {
|
|
56375
|
+
return {
|
|
56376
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
56377
|
+
statusCode: 'number',
|
|
56378
|
+
body: UpdateImageTransformResponseBody,
|
|
56379
|
+
};
|
|
56380
|
+
}
|
|
56381
|
+
|
|
56382
|
+
validate() {
|
|
56383
|
+
if(this.headers) {
|
|
56384
|
+
$dara.Model.validateMap(this.headers);
|
|
56385
|
+
}
|
|
56386
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
56387
|
+
(this.body as any).validate();
|
|
56388
|
+
}
|
|
56389
|
+
super.validate();
|
|
56390
|
+
}
|
|
56391
|
+
|
|
56392
|
+
constructor(map?: { [key: string]: any }) {
|
|
56393
|
+
super(map);
|
|
56394
|
+
}
|
|
56395
|
+
}
|
|
56396
|
+
|
|
54761
56397
|
export class UpdateKvNamespaceRequest extends $dara.Model {
|
|
54762
56398
|
/**
|
|
54763
56399
|
* @remarks
|
|
@@ -55556,6 +57192,164 @@ export class UpdateManagedTransformResponse extends $dara.Model {
|
|
|
55556
57192
|
}
|
|
55557
57193
|
}
|
|
55558
57194
|
|
|
57195
|
+
export class UpdateNetworkOptimizationRequest extends $dara.Model {
|
|
57196
|
+
/**
|
|
57197
|
+
* @remarks
|
|
57198
|
+
* This parameter is required.
|
|
57199
|
+
*
|
|
57200
|
+
* @example
|
|
57201
|
+
* 352816096987136
|
|
57202
|
+
*/
|
|
57203
|
+
configId?: number;
|
|
57204
|
+
/**
|
|
57205
|
+
* @example
|
|
57206
|
+
* on
|
|
57207
|
+
*/
|
|
57208
|
+
grpc?: string;
|
|
57209
|
+
/**
|
|
57210
|
+
* @example
|
|
57211
|
+
* on
|
|
57212
|
+
*/
|
|
57213
|
+
http2Origin?: string;
|
|
57214
|
+
/**
|
|
57215
|
+
* @example
|
|
57216
|
+
* (http.host eq \\"video.example.com\\")
|
|
57217
|
+
*/
|
|
57218
|
+
rule?: string;
|
|
57219
|
+
/**
|
|
57220
|
+
* @example
|
|
57221
|
+
* on
|
|
57222
|
+
*/
|
|
57223
|
+
ruleEnable?: string;
|
|
57224
|
+
/**
|
|
57225
|
+
* @example
|
|
57226
|
+
* rule_example
|
|
57227
|
+
*/
|
|
57228
|
+
ruleName?: string;
|
|
57229
|
+
/**
|
|
57230
|
+
* @remarks
|
|
57231
|
+
* This parameter is required.
|
|
57232
|
+
*
|
|
57233
|
+
* @example
|
|
57234
|
+
* 123456****
|
|
57235
|
+
*/
|
|
57236
|
+
siteId?: number;
|
|
57237
|
+
/**
|
|
57238
|
+
* @example
|
|
57239
|
+
* on
|
|
57240
|
+
*/
|
|
57241
|
+
smartRouting?: string;
|
|
57242
|
+
/**
|
|
57243
|
+
* @example
|
|
57244
|
+
* 100
|
|
57245
|
+
*/
|
|
57246
|
+
uploadMaxFilesize?: string;
|
|
57247
|
+
/**
|
|
57248
|
+
* @example
|
|
57249
|
+
* on
|
|
57250
|
+
*/
|
|
57251
|
+
websocket?: string;
|
|
57252
|
+
static names(): { [key: string]: string } {
|
|
57253
|
+
return {
|
|
57254
|
+
configId: 'ConfigId',
|
|
57255
|
+
grpc: 'Grpc',
|
|
57256
|
+
http2Origin: 'Http2Origin',
|
|
57257
|
+
rule: 'Rule',
|
|
57258
|
+
ruleEnable: 'RuleEnable',
|
|
57259
|
+
ruleName: 'RuleName',
|
|
57260
|
+
siteId: 'SiteId',
|
|
57261
|
+
smartRouting: 'SmartRouting',
|
|
57262
|
+
uploadMaxFilesize: 'UploadMaxFilesize',
|
|
57263
|
+
websocket: 'Websocket',
|
|
57264
|
+
};
|
|
57265
|
+
}
|
|
57266
|
+
|
|
57267
|
+
static types(): { [key: string]: any } {
|
|
57268
|
+
return {
|
|
57269
|
+
configId: 'number',
|
|
57270
|
+
grpc: 'string',
|
|
57271
|
+
http2Origin: 'string',
|
|
57272
|
+
rule: 'string',
|
|
57273
|
+
ruleEnable: 'string',
|
|
57274
|
+
ruleName: 'string',
|
|
57275
|
+
siteId: 'number',
|
|
57276
|
+
smartRouting: 'string',
|
|
57277
|
+
uploadMaxFilesize: 'string',
|
|
57278
|
+
websocket: 'string',
|
|
57279
|
+
};
|
|
57280
|
+
}
|
|
57281
|
+
|
|
57282
|
+
validate() {
|
|
57283
|
+
super.validate();
|
|
57284
|
+
}
|
|
57285
|
+
|
|
57286
|
+
constructor(map?: { [key: string]: any }) {
|
|
57287
|
+
super(map);
|
|
57288
|
+
}
|
|
57289
|
+
}
|
|
57290
|
+
|
|
57291
|
+
export class UpdateNetworkOptimizationResponseBody extends $dara.Model {
|
|
57292
|
+
/**
|
|
57293
|
+
* @example
|
|
57294
|
+
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
57295
|
+
*/
|
|
57296
|
+
requestId?: string;
|
|
57297
|
+
static names(): { [key: string]: string } {
|
|
57298
|
+
return {
|
|
57299
|
+
requestId: 'RequestId',
|
|
57300
|
+
};
|
|
57301
|
+
}
|
|
57302
|
+
|
|
57303
|
+
static types(): { [key: string]: any } {
|
|
57304
|
+
return {
|
|
57305
|
+
requestId: 'string',
|
|
57306
|
+
};
|
|
57307
|
+
}
|
|
57308
|
+
|
|
57309
|
+
validate() {
|
|
57310
|
+
super.validate();
|
|
57311
|
+
}
|
|
57312
|
+
|
|
57313
|
+
constructor(map?: { [key: string]: any }) {
|
|
57314
|
+
super(map);
|
|
57315
|
+
}
|
|
57316
|
+
}
|
|
57317
|
+
|
|
57318
|
+
export class UpdateNetworkOptimizationResponse extends $dara.Model {
|
|
57319
|
+
headers?: { [key: string]: string };
|
|
57320
|
+
statusCode?: number;
|
|
57321
|
+
body?: UpdateNetworkOptimizationResponseBody;
|
|
57322
|
+
static names(): { [key: string]: string } {
|
|
57323
|
+
return {
|
|
57324
|
+
headers: 'headers',
|
|
57325
|
+
statusCode: 'statusCode',
|
|
57326
|
+
body: 'body',
|
|
57327
|
+
};
|
|
57328
|
+
}
|
|
57329
|
+
|
|
57330
|
+
static types(): { [key: string]: any } {
|
|
57331
|
+
return {
|
|
57332
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
57333
|
+
statusCode: 'number',
|
|
57334
|
+
body: UpdateNetworkOptimizationResponseBody,
|
|
57335
|
+
};
|
|
57336
|
+
}
|
|
57337
|
+
|
|
57338
|
+
validate() {
|
|
57339
|
+
if(this.headers) {
|
|
57340
|
+
$dara.Model.validateMap(this.headers);
|
|
57341
|
+
}
|
|
57342
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
57343
|
+
(this.body as any).validate();
|
|
57344
|
+
}
|
|
57345
|
+
super.validate();
|
|
57346
|
+
}
|
|
57347
|
+
|
|
57348
|
+
constructor(map?: { [key: string]: any }) {
|
|
57349
|
+
super(map);
|
|
57350
|
+
}
|
|
57351
|
+
}
|
|
57352
|
+
|
|
55559
57353
|
export class UpdateOriginPoolRequest extends $dara.Model {
|
|
55560
57354
|
enabled?: boolean;
|
|
55561
57355
|
/**
|
|
@@ -57991,6 +59785,108 @@ export class UpdateSiteNameExclusiveResponse extends $dara.Model {
|
|
|
57991
59785
|
}
|
|
57992
59786
|
}
|
|
57993
59787
|
|
|
59788
|
+
export class UpdateSitePauseRequest extends $dara.Model {
|
|
59789
|
+
/**
|
|
59790
|
+
* @remarks
|
|
59791
|
+
* This parameter is required.
|
|
59792
|
+
*
|
|
59793
|
+
* @example
|
|
59794
|
+
* true
|
|
59795
|
+
*/
|
|
59796
|
+
paused?: boolean;
|
|
59797
|
+
/**
|
|
59798
|
+
* @remarks
|
|
59799
|
+
* This parameter is required.
|
|
59800
|
+
*
|
|
59801
|
+
* @example
|
|
59802
|
+
* 123456****
|
|
59803
|
+
*/
|
|
59804
|
+
siteId?: number;
|
|
59805
|
+
static names(): { [key: string]: string } {
|
|
59806
|
+
return {
|
|
59807
|
+
paused: 'Paused',
|
|
59808
|
+
siteId: 'SiteId',
|
|
59809
|
+
};
|
|
59810
|
+
}
|
|
59811
|
+
|
|
59812
|
+
static types(): { [key: string]: any } {
|
|
59813
|
+
return {
|
|
59814
|
+
paused: 'boolean',
|
|
59815
|
+
siteId: 'number',
|
|
59816
|
+
};
|
|
59817
|
+
}
|
|
59818
|
+
|
|
59819
|
+
validate() {
|
|
59820
|
+
super.validate();
|
|
59821
|
+
}
|
|
59822
|
+
|
|
59823
|
+
constructor(map?: { [key: string]: any }) {
|
|
59824
|
+
super(map);
|
|
59825
|
+
}
|
|
59826
|
+
}
|
|
59827
|
+
|
|
59828
|
+
export class UpdateSitePauseResponseBody extends $dara.Model {
|
|
59829
|
+
/**
|
|
59830
|
+
* @example
|
|
59831
|
+
* 6abd807e-ed2a-44de-ac54-ac38a62472e6
|
|
59832
|
+
*/
|
|
59833
|
+
requestId?: string;
|
|
59834
|
+
static names(): { [key: string]: string } {
|
|
59835
|
+
return {
|
|
59836
|
+
requestId: 'RequestId',
|
|
59837
|
+
};
|
|
59838
|
+
}
|
|
59839
|
+
|
|
59840
|
+
static types(): { [key: string]: any } {
|
|
59841
|
+
return {
|
|
59842
|
+
requestId: 'string',
|
|
59843
|
+
};
|
|
59844
|
+
}
|
|
59845
|
+
|
|
59846
|
+
validate() {
|
|
59847
|
+
super.validate();
|
|
59848
|
+
}
|
|
59849
|
+
|
|
59850
|
+
constructor(map?: { [key: string]: any }) {
|
|
59851
|
+
super(map);
|
|
59852
|
+
}
|
|
59853
|
+
}
|
|
59854
|
+
|
|
59855
|
+
export class UpdateSitePauseResponse extends $dara.Model {
|
|
59856
|
+
headers?: { [key: string]: string };
|
|
59857
|
+
statusCode?: number;
|
|
59858
|
+
body?: UpdateSitePauseResponseBody;
|
|
59859
|
+
static names(): { [key: string]: string } {
|
|
59860
|
+
return {
|
|
59861
|
+
headers: 'headers',
|
|
59862
|
+
statusCode: 'statusCode',
|
|
59863
|
+
body: 'body',
|
|
59864
|
+
};
|
|
59865
|
+
}
|
|
59866
|
+
|
|
59867
|
+
static types(): { [key: string]: any } {
|
|
59868
|
+
return {
|
|
59869
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
59870
|
+
statusCode: 'number',
|
|
59871
|
+
body: UpdateSitePauseResponseBody,
|
|
59872
|
+
};
|
|
59873
|
+
}
|
|
59874
|
+
|
|
59875
|
+
validate() {
|
|
59876
|
+
if(this.headers) {
|
|
59877
|
+
$dara.Model.validateMap(this.headers);
|
|
59878
|
+
}
|
|
59879
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
59880
|
+
(this.body as any).validate();
|
|
59881
|
+
}
|
|
59882
|
+
super.validate();
|
|
59883
|
+
}
|
|
59884
|
+
|
|
59885
|
+
constructor(map?: { [key: string]: any }) {
|
|
59886
|
+
super(map);
|
|
59887
|
+
}
|
|
59888
|
+
}
|
|
59889
|
+
|
|
57994
59890
|
export class UpdateSiteVanityNSRequest extends $dara.Model {
|
|
57995
59891
|
/**
|
|
57996
59892
|
* @remarks
|
|
@@ -61927,6 +63823,73 @@ export default class Client extends OpenApi {
|
|
|
61927
63823
|
return await this.createHttpsBasicConfigurationWithOptions(request, runtime);
|
|
61928
63824
|
}
|
|
61929
63825
|
|
|
63826
|
+
/**
|
|
63827
|
+
* 新增站点图片转换配置
|
|
63828
|
+
*
|
|
63829
|
+
* @param request - CreateImageTransformRequest
|
|
63830
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
63831
|
+
* @returns CreateImageTransformResponse
|
|
63832
|
+
*/
|
|
63833
|
+
async createImageTransformWithOptions(request: CreateImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<CreateImageTransformResponse> {
|
|
63834
|
+
request.validate();
|
|
63835
|
+
let query = { };
|
|
63836
|
+
if (!$dara.isNull(request.enable)) {
|
|
63837
|
+
query["Enable"] = request.enable;
|
|
63838
|
+
}
|
|
63839
|
+
|
|
63840
|
+
if (!$dara.isNull(request.rule)) {
|
|
63841
|
+
query["Rule"] = request.rule;
|
|
63842
|
+
}
|
|
63843
|
+
|
|
63844
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
63845
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
63846
|
+
}
|
|
63847
|
+
|
|
63848
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
63849
|
+
query["RuleName"] = request.ruleName;
|
|
63850
|
+
}
|
|
63851
|
+
|
|
63852
|
+
if (!$dara.isNull(request.siteId)) {
|
|
63853
|
+
query["SiteId"] = request.siteId;
|
|
63854
|
+
}
|
|
63855
|
+
|
|
63856
|
+
if (!$dara.isNull(request.siteVersion)) {
|
|
63857
|
+
query["SiteVersion"] = request.siteVersion;
|
|
63858
|
+
}
|
|
63859
|
+
|
|
63860
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
63861
|
+
query: OpenApiUtil.query(query),
|
|
63862
|
+
});
|
|
63863
|
+
let params = new $OpenApiUtil.Params({
|
|
63864
|
+
action: "CreateImageTransform",
|
|
63865
|
+
version: "2024-09-10",
|
|
63866
|
+
protocol: "HTTPS",
|
|
63867
|
+
pathname: "/",
|
|
63868
|
+
method: "POST",
|
|
63869
|
+
authType: "AK",
|
|
63870
|
+
style: "RPC",
|
|
63871
|
+
reqBodyType: "formData",
|
|
63872
|
+
bodyType: "json",
|
|
63873
|
+
});
|
|
63874
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
63875
|
+
return $dara.cast<CreateImageTransformResponse>(await this.callApi(params, req, runtime), new CreateImageTransformResponse({}));
|
|
63876
|
+
} else {
|
|
63877
|
+
return $dara.cast<CreateImageTransformResponse>(await this.execute(params, req, runtime), new CreateImageTransformResponse({}));
|
|
63878
|
+
}
|
|
63879
|
+
|
|
63880
|
+
}
|
|
63881
|
+
|
|
63882
|
+
/**
|
|
63883
|
+
* 新增站点图片转换配置
|
|
63884
|
+
*
|
|
63885
|
+
* @param request - CreateImageTransformRequest
|
|
63886
|
+
* @returns CreateImageTransformResponse
|
|
63887
|
+
*/
|
|
63888
|
+
async createImageTransform(request: CreateImageTransformRequest): Promise<CreateImageTransformResponse> {
|
|
63889
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
63890
|
+
return await this.createImageTransformWithOptions(request, runtime);
|
|
63891
|
+
}
|
|
63892
|
+
|
|
61930
63893
|
/**
|
|
61931
63894
|
* Create a namespace in your Alibaba Cloud account.
|
|
61932
63895
|
*
|
|
@@ -62172,6 +64135,89 @@ export default class Client extends OpenApi {
|
|
|
62172
64135
|
return await this.createLoadBalancerWithOptions(request, runtime);
|
|
62173
64136
|
}
|
|
62174
64137
|
|
|
64138
|
+
/**
|
|
64139
|
+
* 新增站点网络优化配置
|
|
64140
|
+
*
|
|
64141
|
+
* @param request - CreateNetworkOptimizationRequest
|
|
64142
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
64143
|
+
* @returns CreateNetworkOptimizationResponse
|
|
64144
|
+
*/
|
|
64145
|
+
async createNetworkOptimizationWithOptions(request: CreateNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<CreateNetworkOptimizationResponse> {
|
|
64146
|
+
request.validate();
|
|
64147
|
+
let query = { };
|
|
64148
|
+
if (!$dara.isNull(request.grpc)) {
|
|
64149
|
+
query["Grpc"] = request.grpc;
|
|
64150
|
+
}
|
|
64151
|
+
|
|
64152
|
+
if (!$dara.isNull(request.http2Origin)) {
|
|
64153
|
+
query["Http2Origin"] = request.http2Origin;
|
|
64154
|
+
}
|
|
64155
|
+
|
|
64156
|
+
if (!$dara.isNull(request.rule)) {
|
|
64157
|
+
query["Rule"] = request.rule;
|
|
64158
|
+
}
|
|
64159
|
+
|
|
64160
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
64161
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
64162
|
+
}
|
|
64163
|
+
|
|
64164
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
64165
|
+
query["RuleName"] = request.ruleName;
|
|
64166
|
+
}
|
|
64167
|
+
|
|
64168
|
+
if (!$dara.isNull(request.siteId)) {
|
|
64169
|
+
query["SiteId"] = request.siteId;
|
|
64170
|
+
}
|
|
64171
|
+
|
|
64172
|
+
if (!$dara.isNull(request.siteVersion)) {
|
|
64173
|
+
query["SiteVersion"] = request.siteVersion;
|
|
64174
|
+
}
|
|
64175
|
+
|
|
64176
|
+
if (!$dara.isNull(request.smartRouting)) {
|
|
64177
|
+
query["SmartRouting"] = request.smartRouting;
|
|
64178
|
+
}
|
|
64179
|
+
|
|
64180
|
+
if (!$dara.isNull(request.uploadMaxFilesize)) {
|
|
64181
|
+
query["UploadMaxFilesize"] = request.uploadMaxFilesize;
|
|
64182
|
+
}
|
|
64183
|
+
|
|
64184
|
+
if (!$dara.isNull(request.websocket)) {
|
|
64185
|
+
query["Websocket"] = request.websocket;
|
|
64186
|
+
}
|
|
64187
|
+
|
|
64188
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
64189
|
+
query: OpenApiUtil.query(query),
|
|
64190
|
+
});
|
|
64191
|
+
let params = new $OpenApiUtil.Params({
|
|
64192
|
+
action: "CreateNetworkOptimization",
|
|
64193
|
+
version: "2024-09-10",
|
|
64194
|
+
protocol: "HTTPS",
|
|
64195
|
+
pathname: "/",
|
|
64196
|
+
method: "POST",
|
|
64197
|
+
authType: "AK",
|
|
64198
|
+
style: "RPC",
|
|
64199
|
+
reqBodyType: "formData",
|
|
64200
|
+
bodyType: "json",
|
|
64201
|
+
});
|
|
64202
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
64203
|
+
return $dara.cast<CreateNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new CreateNetworkOptimizationResponse({}));
|
|
64204
|
+
} else {
|
|
64205
|
+
return $dara.cast<CreateNetworkOptimizationResponse>(await this.execute(params, req, runtime), new CreateNetworkOptimizationResponse({}));
|
|
64206
|
+
}
|
|
64207
|
+
|
|
64208
|
+
}
|
|
64209
|
+
|
|
64210
|
+
/**
|
|
64211
|
+
* 新增站点网络优化配置
|
|
64212
|
+
*
|
|
64213
|
+
* @param request - CreateNetworkOptimizationRequest
|
|
64214
|
+
* @returns CreateNetworkOptimizationResponse
|
|
64215
|
+
*/
|
|
64216
|
+
async createNetworkOptimization(request: CreateNetworkOptimizationRequest): Promise<CreateNetworkOptimizationResponse> {
|
|
64217
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
64218
|
+
return await this.createNetworkOptimizationWithOptions(request, runtime);
|
|
64219
|
+
}
|
|
64220
|
+
|
|
62175
64221
|
/**
|
|
62176
64222
|
* 新增源地址池
|
|
62177
64223
|
*
|
|
@@ -64367,6 +66413,57 @@ export default class Client extends OpenApi {
|
|
|
64367
66413
|
return await this.deleteHttpsBasicConfigurationWithOptions(request, runtime);
|
|
64368
66414
|
}
|
|
64369
66415
|
|
|
66416
|
+
/**
|
|
66417
|
+
* Deletes the configuration of image transformations for a website.
|
|
66418
|
+
*
|
|
66419
|
+
* @param request - DeleteImageTransformRequest
|
|
66420
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
66421
|
+
* @returns DeleteImageTransformResponse
|
|
66422
|
+
*/
|
|
66423
|
+
async deleteImageTransformWithOptions(request: DeleteImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<DeleteImageTransformResponse> {
|
|
66424
|
+
request.validate();
|
|
66425
|
+
let query = { };
|
|
66426
|
+
if (!$dara.isNull(request.configId)) {
|
|
66427
|
+
query["ConfigId"] = request.configId;
|
|
66428
|
+
}
|
|
66429
|
+
|
|
66430
|
+
if (!$dara.isNull(request.siteId)) {
|
|
66431
|
+
query["SiteId"] = request.siteId;
|
|
66432
|
+
}
|
|
66433
|
+
|
|
66434
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
66435
|
+
query: OpenApiUtil.query(query),
|
|
66436
|
+
});
|
|
66437
|
+
let params = new $OpenApiUtil.Params({
|
|
66438
|
+
action: "DeleteImageTransform",
|
|
66439
|
+
version: "2024-09-10",
|
|
66440
|
+
protocol: "HTTPS",
|
|
66441
|
+
pathname: "/",
|
|
66442
|
+
method: "POST",
|
|
66443
|
+
authType: "AK",
|
|
66444
|
+
style: "RPC",
|
|
66445
|
+
reqBodyType: "formData",
|
|
66446
|
+
bodyType: "json",
|
|
66447
|
+
});
|
|
66448
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
66449
|
+
return $dara.cast<DeleteImageTransformResponse>(await this.callApi(params, req, runtime), new DeleteImageTransformResponse({}));
|
|
66450
|
+
} else {
|
|
66451
|
+
return $dara.cast<DeleteImageTransformResponse>(await this.execute(params, req, runtime), new DeleteImageTransformResponse({}));
|
|
66452
|
+
}
|
|
66453
|
+
|
|
66454
|
+
}
|
|
66455
|
+
|
|
66456
|
+
/**
|
|
66457
|
+
* Deletes the configuration of image transformations for a website.
|
|
66458
|
+
*
|
|
66459
|
+
* @param request - DeleteImageTransformRequest
|
|
66460
|
+
* @returns DeleteImageTransformResponse
|
|
66461
|
+
*/
|
|
66462
|
+
async deleteImageTransform(request: DeleteImageTransformRequest): Promise<DeleteImageTransformResponse> {
|
|
66463
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
66464
|
+
return await this.deleteImageTransformWithOptions(request, runtime);
|
|
66465
|
+
}
|
|
66466
|
+
|
|
64370
66467
|
/**
|
|
64371
66468
|
* Deletes a key-value pair from a namespace.
|
|
64372
66469
|
*
|
|
@@ -64555,6 +66652,57 @@ export default class Client extends OpenApi {
|
|
|
64555
66652
|
return await this.deleteLoadBalancerWithOptions(request, runtime);
|
|
64556
66653
|
}
|
|
64557
66654
|
|
|
66655
|
+
/**
|
|
66656
|
+
* 删除网络优化配置
|
|
66657
|
+
*
|
|
66658
|
+
* @param request - DeleteNetworkOptimizationRequest
|
|
66659
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
66660
|
+
* @returns DeleteNetworkOptimizationResponse
|
|
66661
|
+
*/
|
|
66662
|
+
async deleteNetworkOptimizationWithOptions(request: DeleteNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<DeleteNetworkOptimizationResponse> {
|
|
66663
|
+
request.validate();
|
|
66664
|
+
let query = { };
|
|
66665
|
+
if (!$dara.isNull(request.configId)) {
|
|
66666
|
+
query["ConfigId"] = request.configId;
|
|
66667
|
+
}
|
|
66668
|
+
|
|
66669
|
+
if (!$dara.isNull(request.siteId)) {
|
|
66670
|
+
query["SiteId"] = request.siteId;
|
|
66671
|
+
}
|
|
66672
|
+
|
|
66673
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
66674
|
+
query: OpenApiUtil.query(query),
|
|
66675
|
+
});
|
|
66676
|
+
let params = new $OpenApiUtil.Params({
|
|
66677
|
+
action: "DeleteNetworkOptimization",
|
|
66678
|
+
version: "2024-09-10",
|
|
66679
|
+
protocol: "HTTPS",
|
|
66680
|
+
pathname: "/",
|
|
66681
|
+
method: "POST",
|
|
66682
|
+
authType: "AK",
|
|
66683
|
+
style: "RPC",
|
|
66684
|
+
reqBodyType: "formData",
|
|
66685
|
+
bodyType: "json",
|
|
66686
|
+
});
|
|
66687
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
66688
|
+
return $dara.cast<DeleteNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new DeleteNetworkOptimizationResponse({}));
|
|
66689
|
+
} else {
|
|
66690
|
+
return $dara.cast<DeleteNetworkOptimizationResponse>(await this.execute(params, req, runtime), new DeleteNetworkOptimizationResponse({}));
|
|
66691
|
+
}
|
|
66692
|
+
|
|
66693
|
+
}
|
|
66694
|
+
|
|
66695
|
+
/**
|
|
66696
|
+
* 删除网络优化配置
|
|
66697
|
+
*
|
|
66698
|
+
* @param request - DeleteNetworkOptimizationRequest
|
|
66699
|
+
* @returns DeleteNetworkOptimizationResponse
|
|
66700
|
+
*/
|
|
66701
|
+
async deleteNetworkOptimization(request: DeleteNetworkOptimizationRequest): Promise<DeleteNetworkOptimizationResponse> {
|
|
66702
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
66703
|
+
return await this.deleteNetworkOptimizationWithOptions(request, runtime);
|
|
66704
|
+
}
|
|
66705
|
+
|
|
64558
66706
|
/**
|
|
64559
66707
|
* 删除源地址池
|
|
64560
66708
|
*
|
|
@@ -67174,6 +69322,49 @@ export default class Client extends OpenApi {
|
|
|
67174
69322
|
return await this.getIPv6WithOptions(request, runtime);
|
|
67175
69323
|
}
|
|
67176
69324
|
|
|
69325
|
+
/**
|
|
69326
|
+
* Queries the configuration of image transformations for a website.
|
|
69327
|
+
*
|
|
69328
|
+
* @param request - GetImageTransformRequest
|
|
69329
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69330
|
+
* @returns GetImageTransformResponse
|
|
69331
|
+
*/
|
|
69332
|
+
async getImageTransformWithOptions(request: GetImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<GetImageTransformResponse> {
|
|
69333
|
+
request.validate();
|
|
69334
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
69335
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
69336
|
+
query: OpenApiUtil.query(query),
|
|
69337
|
+
});
|
|
69338
|
+
let params = new $OpenApiUtil.Params({
|
|
69339
|
+
action: "GetImageTransform",
|
|
69340
|
+
version: "2024-09-10",
|
|
69341
|
+
protocol: "HTTPS",
|
|
69342
|
+
pathname: "/",
|
|
69343
|
+
method: "GET",
|
|
69344
|
+
authType: "AK",
|
|
69345
|
+
style: "RPC",
|
|
69346
|
+
reqBodyType: "formData",
|
|
69347
|
+
bodyType: "json",
|
|
69348
|
+
});
|
|
69349
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
69350
|
+
return $dara.cast<GetImageTransformResponse>(await this.callApi(params, req, runtime), new GetImageTransformResponse({}));
|
|
69351
|
+
} else {
|
|
69352
|
+
return $dara.cast<GetImageTransformResponse>(await this.execute(params, req, runtime), new GetImageTransformResponse({}));
|
|
69353
|
+
}
|
|
69354
|
+
|
|
69355
|
+
}
|
|
69356
|
+
|
|
69357
|
+
/**
|
|
69358
|
+
* Queries the configuration of image transformations for a website.
|
|
69359
|
+
*
|
|
69360
|
+
* @param request - GetImageTransformRequest
|
|
69361
|
+
* @returns GetImageTransformResponse
|
|
69362
|
+
*/
|
|
69363
|
+
async getImageTransform(request: GetImageTransformRequest): Promise<GetImageTransformResponse> {
|
|
69364
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
69365
|
+
return await this.getImageTransformWithOptions(request, runtime);
|
|
69366
|
+
}
|
|
69367
|
+
|
|
67177
69368
|
/**
|
|
67178
69369
|
* Queries the value of a key in a key-value pair.
|
|
67179
69370
|
*
|
|
@@ -67430,6 +69621,49 @@ export default class Client extends OpenApi {
|
|
|
67430
69621
|
return await this.getManagedTransformWithOptions(request, runtime);
|
|
67431
69622
|
}
|
|
67432
69623
|
|
|
69624
|
+
/**
|
|
69625
|
+
* 查询单条网络优化配置
|
|
69626
|
+
*
|
|
69627
|
+
* @param request - GetNetworkOptimizationRequest
|
|
69628
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69629
|
+
* @returns GetNetworkOptimizationResponse
|
|
69630
|
+
*/
|
|
69631
|
+
async getNetworkOptimizationWithOptions(request: GetNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<GetNetworkOptimizationResponse> {
|
|
69632
|
+
request.validate();
|
|
69633
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
69634
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
69635
|
+
query: OpenApiUtil.query(query),
|
|
69636
|
+
});
|
|
69637
|
+
let params = new $OpenApiUtil.Params({
|
|
69638
|
+
action: "GetNetworkOptimization",
|
|
69639
|
+
version: "2024-09-10",
|
|
69640
|
+
protocol: "HTTPS",
|
|
69641
|
+
pathname: "/",
|
|
69642
|
+
method: "GET",
|
|
69643
|
+
authType: "AK",
|
|
69644
|
+
style: "RPC",
|
|
69645
|
+
reqBodyType: "formData",
|
|
69646
|
+
bodyType: "json",
|
|
69647
|
+
});
|
|
69648
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
69649
|
+
return $dara.cast<GetNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new GetNetworkOptimizationResponse({}));
|
|
69650
|
+
} else {
|
|
69651
|
+
return $dara.cast<GetNetworkOptimizationResponse>(await this.execute(params, req, runtime), new GetNetworkOptimizationResponse({}));
|
|
69652
|
+
}
|
|
69653
|
+
|
|
69654
|
+
}
|
|
69655
|
+
|
|
69656
|
+
/**
|
|
69657
|
+
* 查询单条网络优化配置
|
|
69658
|
+
*
|
|
69659
|
+
* @param request - GetNetworkOptimizationRequest
|
|
69660
|
+
* @returns GetNetworkOptimizationResponse
|
|
69661
|
+
*/
|
|
69662
|
+
async getNetworkOptimization(request: GetNetworkOptimizationRequest): Promise<GetNetworkOptimizationResponse> {
|
|
69663
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
69664
|
+
return await this.getNetworkOptimizationWithOptions(request, runtime);
|
|
69665
|
+
}
|
|
69666
|
+
|
|
67433
69667
|
/**
|
|
67434
69668
|
* 查询特定源地址池
|
|
67435
69669
|
*
|
|
@@ -68373,6 +70607,49 @@ export default class Client extends OpenApi {
|
|
|
68373
70607
|
return await this.getSiteNameExclusiveWithOptions(request, runtime);
|
|
68374
70608
|
}
|
|
68375
70609
|
|
|
70610
|
+
/**
|
|
70611
|
+
* 查询站点暂停配置
|
|
70612
|
+
*
|
|
70613
|
+
* @param request - GetSitePauseRequest
|
|
70614
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
70615
|
+
* @returns GetSitePauseResponse
|
|
70616
|
+
*/
|
|
70617
|
+
async getSitePauseWithOptions(request: GetSitePauseRequest, runtime: $dara.RuntimeOptions): Promise<GetSitePauseResponse> {
|
|
70618
|
+
request.validate();
|
|
70619
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
70620
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
70621
|
+
query: OpenApiUtil.query(query),
|
|
70622
|
+
});
|
|
70623
|
+
let params = new $OpenApiUtil.Params({
|
|
70624
|
+
action: "GetSitePause",
|
|
70625
|
+
version: "2024-09-10",
|
|
70626
|
+
protocol: "HTTPS",
|
|
70627
|
+
pathname: "/",
|
|
70628
|
+
method: "GET",
|
|
70629
|
+
authType: "AK",
|
|
70630
|
+
style: "RPC",
|
|
70631
|
+
reqBodyType: "formData",
|
|
70632
|
+
bodyType: "json",
|
|
70633
|
+
});
|
|
70634
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
70635
|
+
return $dara.cast<GetSitePauseResponse>(await this.callApi(params, req, runtime), new GetSitePauseResponse({}));
|
|
70636
|
+
} else {
|
|
70637
|
+
return $dara.cast<GetSitePauseResponse>(await this.execute(params, req, runtime), new GetSitePauseResponse({}));
|
|
70638
|
+
}
|
|
70639
|
+
|
|
70640
|
+
}
|
|
70641
|
+
|
|
70642
|
+
/**
|
|
70643
|
+
* 查询站点暂停配置
|
|
70644
|
+
*
|
|
70645
|
+
* @param request - GetSitePauseRequest
|
|
70646
|
+
* @returns GetSitePauseResponse
|
|
70647
|
+
*/
|
|
70648
|
+
async getSitePause(request: GetSitePauseRequest): Promise<GetSitePauseResponse> {
|
|
70649
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
70650
|
+
return await this.getSitePauseWithOptions(request, runtime);
|
|
70651
|
+
}
|
|
70652
|
+
|
|
68376
70653
|
/**
|
|
68377
70654
|
* Queries the Web Application Firewall (WAF) configurations of a website.
|
|
68378
70655
|
*
|
|
@@ -69514,6 +71791,49 @@ export default class Client extends OpenApi {
|
|
|
69514
71791
|
return await this.listHttpsBasicConfigurationsWithOptions(request, runtime);
|
|
69515
71792
|
}
|
|
69516
71793
|
|
|
71794
|
+
/**
|
|
71795
|
+
* 查询多条站点图片转换配置
|
|
71796
|
+
*
|
|
71797
|
+
* @param request - ListImageTransformsRequest
|
|
71798
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
71799
|
+
* @returns ListImageTransformsResponse
|
|
71800
|
+
*/
|
|
71801
|
+
async listImageTransformsWithOptions(request: ListImageTransformsRequest, runtime: $dara.RuntimeOptions): Promise<ListImageTransformsResponse> {
|
|
71802
|
+
request.validate();
|
|
71803
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
71804
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
71805
|
+
query: OpenApiUtil.query(query),
|
|
71806
|
+
});
|
|
71807
|
+
let params = new $OpenApiUtil.Params({
|
|
71808
|
+
action: "ListImageTransforms",
|
|
71809
|
+
version: "2024-09-10",
|
|
71810
|
+
protocol: "HTTPS",
|
|
71811
|
+
pathname: "/",
|
|
71812
|
+
method: "GET",
|
|
71813
|
+
authType: "AK",
|
|
71814
|
+
style: "RPC",
|
|
71815
|
+
reqBodyType: "formData",
|
|
71816
|
+
bodyType: "json",
|
|
71817
|
+
});
|
|
71818
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
71819
|
+
return $dara.cast<ListImageTransformsResponse>(await this.callApi(params, req, runtime), new ListImageTransformsResponse({}));
|
|
71820
|
+
} else {
|
|
71821
|
+
return $dara.cast<ListImageTransformsResponse>(await this.execute(params, req, runtime), new ListImageTransformsResponse({}));
|
|
71822
|
+
}
|
|
71823
|
+
|
|
71824
|
+
}
|
|
71825
|
+
|
|
71826
|
+
/**
|
|
71827
|
+
* 查询多条站点图片转换配置
|
|
71828
|
+
*
|
|
71829
|
+
* @param request - ListImageTransformsRequest
|
|
71830
|
+
* @returns ListImageTransformsResponse
|
|
71831
|
+
*/
|
|
71832
|
+
async listImageTransforms(request: ListImageTransformsRequest): Promise<ListImageTransformsResponse> {
|
|
71833
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
71834
|
+
return await this.listImageTransformsWithOptions(request, runtime);
|
|
71835
|
+
}
|
|
71836
|
+
|
|
69517
71837
|
/**
|
|
69518
71838
|
* Queries the quota details in a subscription plan.
|
|
69519
71839
|
*
|
|
@@ -69890,6 +72210,49 @@ export default class Client extends OpenApi {
|
|
|
69890
72210
|
return await this.listManagedRulesGroupsWithOptions(request, runtime);
|
|
69891
72211
|
}
|
|
69892
72212
|
|
|
72213
|
+
/**
|
|
72214
|
+
* 查询多条网络优化配置
|
|
72215
|
+
*
|
|
72216
|
+
* @param request - ListNetworkOptimizationsRequest
|
|
72217
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
72218
|
+
* @returns ListNetworkOptimizationsResponse
|
|
72219
|
+
*/
|
|
72220
|
+
async listNetworkOptimizationsWithOptions(request: ListNetworkOptimizationsRequest, runtime: $dara.RuntimeOptions): Promise<ListNetworkOptimizationsResponse> {
|
|
72221
|
+
request.validate();
|
|
72222
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
72223
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
72224
|
+
query: OpenApiUtil.query(query),
|
|
72225
|
+
});
|
|
72226
|
+
let params = new $OpenApiUtil.Params({
|
|
72227
|
+
action: "ListNetworkOptimizations",
|
|
72228
|
+
version: "2024-09-10",
|
|
72229
|
+
protocol: "HTTPS",
|
|
72230
|
+
pathname: "/",
|
|
72231
|
+
method: "GET",
|
|
72232
|
+
authType: "AK",
|
|
72233
|
+
style: "RPC",
|
|
72234
|
+
reqBodyType: "formData",
|
|
72235
|
+
bodyType: "json",
|
|
72236
|
+
});
|
|
72237
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
72238
|
+
return $dara.cast<ListNetworkOptimizationsResponse>(await this.callApi(params, req, runtime), new ListNetworkOptimizationsResponse({}));
|
|
72239
|
+
} else {
|
|
72240
|
+
return $dara.cast<ListNetworkOptimizationsResponse>(await this.execute(params, req, runtime), new ListNetworkOptimizationsResponse({}));
|
|
72241
|
+
}
|
|
72242
|
+
|
|
72243
|
+
}
|
|
72244
|
+
|
|
72245
|
+
/**
|
|
72246
|
+
* 查询多条网络优化配置
|
|
72247
|
+
*
|
|
72248
|
+
* @param request - ListNetworkOptimizationsRequest
|
|
72249
|
+
* @returns ListNetworkOptimizationsResponse
|
|
72250
|
+
*/
|
|
72251
|
+
async listNetworkOptimizations(request: ListNetworkOptimizationsRequest): Promise<ListNetworkOptimizationsResponse> {
|
|
72252
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
72253
|
+
return await this.listNetworkOptimizationsWithOptions(request, runtime);
|
|
72254
|
+
}
|
|
72255
|
+
|
|
69893
72256
|
/**
|
|
69894
72257
|
* 查询源地址池列表
|
|
69895
72258
|
*
|
|
@@ -73052,6 +75415,73 @@ export default class Client extends OpenApi {
|
|
|
73052
75415
|
return await this.updateIPv6WithOptions(request, runtime);
|
|
73053
75416
|
}
|
|
73054
75417
|
|
|
75418
|
+
/**
|
|
75419
|
+
* 修改站点图片转换配置
|
|
75420
|
+
*
|
|
75421
|
+
* @param request - UpdateImageTransformRequest
|
|
75422
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
75423
|
+
* @returns UpdateImageTransformResponse
|
|
75424
|
+
*/
|
|
75425
|
+
async updateImageTransformWithOptions(request: UpdateImageTransformRequest, runtime: $dara.RuntimeOptions): Promise<UpdateImageTransformResponse> {
|
|
75426
|
+
request.validate();
|
|
75427
|
+
let query = { };
|
|
75428
|
+
if (!$dara.isNull(request.configId)) {
|
|
75429
|
+
query["ConfigId"] = request.configId;
|
|
75430
|
+
}
|
|
75431
|
+
|
|
75432
|
+
if (!$dara.isNull(request.enable)) {
|
|
75433
|
+
query["Enable"] = request.enable;
|
|
75434
|
+
}
|
|
75435
|
+
|
|
75436
|
+
if (!$dara.isNull(request.rule)) {
|
|
75437
|
+
query["Rule"] = request.rule;
|
|
75438
|
+
}
|
|
75439
|
+
|
|
75440
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
75441
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
75442
|
+
}
|
|
75443
|
+
|
|
75444
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
75445
|
+
query["RuleName"] = request.ruleName;
|
|
75446
|
+
}
|
|
75447
|
+
|
|
75448
|
+
if (!$dara.isNull(request.siteId)) {
|
|
75449
|
+
query["SiteId"] = request.siteId;
|
|
75450
|
+
}
|
|
75451
|
+
|
|
75452
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
75453
|
+
query: OpenApiUtil.query(query),
|
|
75454
|
+
});
|
|
75455
|
+
let params = new $OpenApiUtil.Params({
|
|
75456
|
+
action: "UpdateImageTransform",
|
|
75457
|
+
version: "2024-09-10",
|
|
75458
|
+
protocol: "HTTPS",
|
|
75459
|
+
pathname: "/",
|
|
75460
|
+
method: "POST",
|
|
75461
|
+
authType: "AK",
|
|
75462
|
+
style: "RPC",
|
|
75463
|
+
reqBodyType: "formData",
|
|
75464
|
+
bodyType: "json",
|
|
75465
|
+
});
|
|
75466
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
75467
|
+
return $dara.cast<UpdateImageTransformResponse>(await this.callApi(params, req, runtime), new UpdateImageTransformResponse({}));
|
|
75468
|
+
} else {
|
|
75469
|
+
return $dara.cast<UpdateImageTransformResponse>(await this.execute(params, req, runtime), new UpdateImageTransformResponse({}));
|
|
75470
|
+
}
|
|
75471
|
+
|
|
75472
|
+
}
|
|
75473
|
+
|
|
75474
|
+
/**
|
|
75475
|
+
* 修改站点图片转换配置
|
|
75476
|
+
*
|
|
75477
|
+
* @param request - UpdateImageTransformRequest
|
|
75478
|
+
* @returns UpdateImageTransformResponse
|
|
75479
|
+
*/
|
|
75480
|
+
async updateImageTransform(request: UpdateImageTransformRequest): Promise<UpdateImageTransformResponse> {
|
|
75481
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
75482
|
+
return await this.updateImageTransformWithOptions(request, runtime);
|
|
75483
|
+
}
|
|
75484
|
+
|
|
73055
75485
|
/**
|
|
73056
75486
|
* Updates the name of a namespace in Edge KV.
|
|
73057
75487
|
*
|
|
@@ -73356,6 +75786,89 @@ export default class Client extends OpenApi {
|
|
|
73356
75786
|
return await this.updateManagedTransformWithOptions(request, runtime);
|
|
73357
75787
|
}
|
|
73358
75788
|
|
|
75789
|
+
/**
|
|
75790
|
+
* 修改网络优化配置
|
|
75791
|
+
*
|
|
75792
|
+
* @param request - UpdateNetworkOptimizationRequest
|
|
75793
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
75794
|
+
* @returns UpdateNetworkOptimizationResponse
|
|
75795
|
+
*/
|
|
75796
|
+
async updateNetworkOptimizationWithOptions(request: UpdateNetworkOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<UpdateNetworkOptimizationResponse> {
|
|
75797
|
+
request.validate();
|
|
75798
|
+
let query = { };
|
|
75799
|
+
if (!$dara.isNull(request.configId)) {
|
|
75800
|
+
query["ConfigId"] = request.configId;
|
|
75801
|
+
}
|
|
75802
|
+
|
|
75803
|
+
if (!$dara.isNull(request.grpc)) {
|
|
75804
|
+
query["Grpc"] = request.grpc;
|
|
75805
|
+
}
|
|
75806
|
+
|
|
75807
|
+
if (!$dara.isNull(request.http2Origin)) {
|
|
75808
|
+
query["Http2Origin"] = request.http2Origin;
|
|
75809
|
+
}
|
|
75810
|
+
|
|
75811
|
+
if (!$dara.isNull(request.rule)) {
|
|
75812
|
+
query["Rule"] = request.rule;
|
|
75813
|
+
}
|
|
75814
|
+
|
|
75815
|
+
if (!$dara.isNull(request.ruleEnable)) {
|
|
75816
|
+
query["RuleEnable"] = request.ruleEnable;
|
|
75817
|
+
}
|
|
75818
|
+
|
|
75819
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
75820
|
+
query["RuleName"] = request.ruleName;
|
|
75821
|
+
}
|
|
75822
|
+
|
|
75823
|
+
if (!$dara.isNull(request.siteId)) {
|
|
75824
|
+
query["SiteId"] = request.siteId;
|
|
75825
|
+
}
|
|
75826
|
+
|
|
75827
|
+
if (!$dara.isNull(request.smartRouting)) {
|
|
75828
|
+
query["SmartRouting"] = request.smartRouting;
|
|
75829
|
+
}
|
|
75830
|
+
|
|
75831
|
+
if (!$dara.isNull(request.uploadMaxFilesize)) {
|
|
75832
|
+
query["UploadMaxFilesize"] = request.uploadMaxFilesize;
|
|
75833
|
+
}
|
|
75834
|
+
|
|
75835
|
+
if (!$dara.isNull(request.websocket)) {
|
|
75836
|
+
query["Websocket"] = request.websocket;
|
|
75837
|
+
}
|
|
75838
|
+
|
|
75839
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
75840
|
+
query: OpenApiUtil.query(query),
|
|
75841
|
+
});
|
|
75842
|
+
let params = new $OpenApiUtil.Params({
|
|
75843
|
+
action: "UpdateNetworkOptimization",
|
|
75844
|
+
version: "2024-09-10",
|
|
75845
|
+
protocol: "HTTPS",
|
|
75846
|
+
pathname: "/",
|
|
75847
|
+
method: "POST",
|
|
75848
|
+
authType: "AK",
|
|
75849
|
+
style: "RPC",
|
|
75850
|
+
reqBodyType: "formData",
|
|
75851
|
+
bodyType: "json",
|
|
75852
|
+
});
|
|
75853
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
75854
|
+
return $dara.cast<UpdateNetworkOptimizationResponse>(await this.callApi(params, req, runtime), new UpdateNetworkOptimizationResponse({}));
|
|
75855
|
+
} else {
|
|
75856
|
+
return $dara.cast<UpdateNetworkOptimizationResponse>(await this.execute(params, req, runtime), new UpdateNetworkOptimizationResponse({}));
|
|
75857
|
+
}
|
|
75858
|
+
|
|
75859
|
+
}
|
|
75860
|
+
|
|
75861
|
+
/**
|
|
75862
|
+
* 修改网络优化配置
|
|
75863
|
+
*
|
|
75864
|
+
* @param request - UpdateNetworkOptimizationRequest
|
|
75865
|
+
* @returns UpdateNetworkOptimizationResponse
|
|
75866
|
+
*/
|
|
75867
|
+
async updateNetworkOptimization(request: UpdateNetworkOptimizationRequest): Promise<UpdateNetworkOptimizationResponse> {
|
|
75868
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
75869
|
+
return await this.updateNetworkOptimizationWithOptions(request, runtime);
|
|
75870
|
+
}
|
|
75871
|
+
|
|
73359
75872
|
/**
|
|
73360
75873
|
* 修改监视器
|
|
73361
75874
|
*
|
|
@@ -74396,6 +76909,57 @@ export default class Client extends OpenApi {
|
|
|
74396
76909
|
return await this.updateSiteNameExclusiveWithOptions(request, runtime);
|
|
74397
76910
|
}
|
|
74398
76911
|
|
|
76912
|
+
/**
|
|
76913
|
+
* 修改站点暂停配置
|
|
76914
|
+
*
|
|
76915
|
+
* @param request - UpdateSitePauseRequest
|
|
76916
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
76917
|
+
* @returns UpdateSitePauseResponse
|
|
76918
|
+
*/
|
|
76919
|
+
async updateSitePauseWithOptions(request: UpdateSitePauseRequest, runtime: $dara.RuntimeOptions): Promise<UpdateSitePauseResponse> {
|
|
76920
|
+
request.validate();
|
|
76921
|
+
let query = { };
|
|
76922
|
+
if (!$dara.isNull(request.paused)) {
|
|
76923
|
+
query["Paused"] = request.paused;
|
|
76924
|
+
}
|
|
76925
|
+
|
|
76926
|
+
if (!$dara.isNull(request.siteId)) {
|
|
76927
|
+
query["SiteId"] = request.siteId;
|
|
76928
|
+
}
|
|
76929
|
+
|
|
76930
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
76931
|
+
query: OpenApiUtil.query(query),
|
|
76932
|
+
});
|
|
76933
|
+
let params = new $OpenApiUtil.Params({
|
|
76934
|
+
action: "UpdateSitePause",
|
|
76935
|
+
version: "2024-09-10",
|
|
76936
|
+
protocol: "HTTPS",
|
|
76937
|
+
pathname: "/",
|
|
76938
|
+
method: "POST",
|
|
76939
|
+
authType: "AK",
|
|
76940
|
+
style: "RPC",
|
|
76941
|
+
reqBodyType: "formData",
|
|
76942
|
+
bodyType: "json",
|
|
76943
|
+
});
|
|
76944
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
76945
|
+
return $dara.cast<UpdateSitePauseResponse>(await this.callApi(params, req, runtime), new UpdateSitePauseResponse({}));
|
|
76946
|
+
} else {
|
|
76947
|
+
return $dara.cast<UpdateSitePauseResponse>(await this.execute(params, req, runtime), new UpdateSitePauseResponse({}));
|
|
76948
|
+
}
|
|
76949
|
+
|
|
76950
|
+
}
|
|
76951
|
+
|
|
76952
|
+
/**
|
|
76953
|
+
* 修改站点暂停配置
|
|
76954
|
+
*
|
|
76955
|
+
* @param request - UpdateSitePauseRequest
|
|
76956
|
+
* @returns UpdateSitePauseResponse
|
|
76957
|
+
*/
|
|
76958
|
+
async updateSitePause(request: UpdateSitePauseRequest): Promise<UpdateSitePauseResponse> {
|
|
76959
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
76960
|
+
return await this.updateSitePauseWithOptions(request, runtime);
|
|
76961
|
+
}
|
|
76962
|
+
|
|
74399
76963
|
/**
|
|
74400
76964
|
* Updates the custom nameserver names for a single website.
|
|
74401
76965
|
*
|