@alicloud/esa20240910 2.5.1 → 2.5.3
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 +34 -195
- package/dist/client.js +71 -246
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +93 -350
package/src/client.ts
CHANGED
|
@@ -15202,6 +15202,7 @@ export class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
15202
15202
|
* 20
|
|
15203
15203
|
*/
|
|
15204
15204
|
pageSize?: number;
|
|
15205
|
+
protectionLevel?: number;
|
|
15205
15206
|
queryArgs?: ListWafManagedRulesRequestQueryArgs;
|
|
15206
15207
|
/**
|
|
15207
15208
|
* @remarks
|
|
@@ -15218,6 +15219,7 @@ export class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
15218
15219
|
language: 'Language',
|
|
15219
15220
|
pageNumber: 'PageNumber',
|
|
15220
15221
|
pageSize: 'PageSize',
|
|
15222
|
+
protectionLevel: 'ProtectionLevel',
|
|
15221
15223
|
queryArgs: 'QueryArgs',
|
|
15222
15224
|
siteId: 'SiteId',
|
|
15223
15225
|
};
|
|
@@ -15230,6 +15232,7 @@ export class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
15230
15232
|
language: 'string',
|
|
15231
15233
|
pageNumber: 'number',
|
|
15232
15234
|
pageSize: 'number',
|
|
15235
|
+
protectionLevel: 'number',
|
|
15233
15236
|
queryArgs: ListWafManagedRulesRequestQueryArgs,
|
|
15234
15237
|
siteId: 'number',
|
|
15235
15238
|
};
|
|
@@ -15272,6 +15275,7 @@ export class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
15272
15275
|
* 20
|
|
15273
15276
|
*/
|
|
15274
15277
|
pageSize?: number;
|
|
15278
|
+
protectionLevel?: number;
|
|
15275
15279
|
queryArgsShrink?: string;
|
|
15276
15280
|
/**
|
|
15277
15281
|
* @remarks
|
|
@@ -15288,6 +15292,7 @@ export class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
15288
15292
|
language: 'Language',
|
|
15289
15293
|
pageNumber: 'PageNumber',
|
|
15290
15294
|
pageSize: 'PageSize',
|
|
15295
|
+
protectionLevel: 'ProtectionLevel',
|
|
15291
15296
|
queryArgsShrink: 'QueryArgs',
|
|
15292
15297
|
siteId: 'SiteId',
|
|
15293
15298
|
};
|
|
@@ -15300,6 +15305,7 @@ export class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
15300
15305
|
language: 'string',
|
|
15301
15306
|
pageNumber: 'number',
|
|
15302
15307
|
pageSize: 'number',
|
|
15308
|
+
protectionLevel: 'number',
|
|
15303
15309
|
queryArgsShrink: 'string',
|
|
15304
15310
|
siteId: 'number',
|
|
15305
15311
|
};
|
|
@@ -15885,10 +15891,12 @@ export class ListWafTemplateRulesRequest extends $tea.Model {
|
|
|
15885
15891
|
*/
|
|
15886
15892
|
phase?: string;
|
|
15887
15893
|
queryArgs?: ListWafTemplateRulesRequestQueryArgs;
|
|
15894
|
+
siteId?: number;
|
|
15888
15895
|
static names(): { [key: string]: string } {
|
|
15889
15896
|
return {
|
|
15890
15897
|
phase: 'Phase',
|
|
15891
15898
|
queryArgs: 'QueryArgs',
|
|
15899
|
+
siteId: 'SiteId',
|
|
15892
15900
|
};
|
|
15893
15901
|
}
|
|
15894
15902
|
|
|
@@ -15896,6 +15904,7 @@ export class ListWafTemplateRulesRequest extends $tea.Model {
|
|
|
15896
15904
|
return {
|
|
15897
15905
|
phase: 'string',
|
|
15898
15906
|
queryArgs: ListWafTemplateRulesRequestQueryArgs,
|
|
15907
|
+
siteId: 'number',
|
|
15899
15908
|
};
|
|
15900
15909
|
}
|
|
15901
15910
|
|
|
@@ -15911,10 +15920,12 @@ export class ListWafTemplateRulesShrinkRequest extends $tea.Model {
|
|
|
15911
15920
|
*/
|
|
15912
15921
|
phase?: string;
|
|
15913
15922
|
queryArgsShrink?: string;
|
|
15923
|
+
siteId?: number;
|
|
15914
15924
|
static names(): { [key: string]: string } {
|
|
15915
15925
|
return {
|
|
15916
15926
|
phase: 'Phase',
|
|
15917
15927
|
queryArgsShrink: 'QueryArgs',
|
|
15928
|
+
siteId: 'SiteId',
|
|
15918
15929
|
};
|
|
15919
15930
|
}
|
|
15920
15931
|
|
|
@@ -15922,6 +15933,7 @@ export class ListWafTemplateRulesShrinkRequest extends $tea.Model {
|
|
|
15922
15933
|
return {
|
|
15923
15934
|
phase: 'string',
|
|
15924
15935
|
queryArgsShrink: 'string',
|
|
15936
|
+
siteId: 'number',
|
|
15925
15937
|
};
|
|
15926
15938
|
}
|
|
15927
15939
|
|
|
@@ -18079,225 +18091,6 @@ export class StopScheduledPreloadExecutionResponse extends $tea.Model {
|
|
|
18079
18091
|
}
|
|
18080
18092
|
}
|
|
18081
18093
|
|
|
18082
|
-
export class TransformExpressionToMatchRequest extends $tea.Model {
|
|
18083
|
-
/**
|
|
18084
|
-
* @example
|
|
18085
|
-
* http_bot
|
|
18086
|
-
*/
|
|
18087
|
-
expression?: string;
|
|
18088
|
-
/**
|
|
18089
|
-
* @example
|
|
18090
|
-
* http_bot
|
|
18091
|
-
*/
|
|
18092
|
-
phase?: string;
|
|
18093
|
-
/**
|
|
18094
|
-
* @example
|
|
18095
|
-
* 1
|
|
18096
|
-
*/
|
|
18097
|
-
siteId?: number;
|
|
18098
|
-
static names(): { [key: string]: string } {
|
|
18099
|
-
return {
|
|
18100
|
-
expression: 'Expression',
|
|
18101
|
-
phase: 'Phase',
|
|
18102
|
-
siteId: 'SiteId',
|
|
18103
|
-
};
|
|
18104
|
-
}
|
|
18105
|
-
|
|
18106
|
-
static types(): { [key: string]: any } {
|
|
18107
|
-
return {
|
|
18108
|
-
expression: 'string',
|
|
18109
|
-
phase: 'string',
|
|
18110
|
-
siteId: 'number',
|
|
18111
|
-
};
|
|
18112
|
-
}
|
|
18113
|
-
|
|
18114
|
-
constructor(map?: { [key: string]: any }) {
|
|
18115
|
-
super(map);
|
|
18116
|
-
}
|
|
18117
|
-
}
|
|
18118
|
-
|
|
18119
|
-
export class TransformExpressionToMatchResponseBody extends $tea.Model {
|
|
18120
|
-
match?: WafRuleMatch;
|
|
18121
|
-
/**
|
|
18122
|
-
* @remarks
|
|
18123
|
-
* Id of the request
|
|
18124
|
-
*
|
|
18125
|
-
* @example
|
|
18126
|
-
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
18127
|
-
*/
|
|
18128
|
-
requestId?: string;
|
|
18129
|
-
static names(): { [key: string]: string } {
|
|
18130
|
-
return {
|
|
18131
|
-
match: 'Match',
|
|
18132
|
-
requestId: 'RequestId',
|
|
18133
|
-
};
|
|
18134
|
-
}
|
|
18135
|
-
|
|
18136
|
-
static types(): { [key: string]: any } {
|
|
18137
|
-
return {
|
|
18138
|
-
match: WafRuleMatch,
|
|
18139
|
-
requestId: 'string',
|
|
18140
|
-
};
|
|
18141
|
-
}
|
|
18142
|
-
|
|
18143
|
-
constructor(map?: { [key: string]: any }) {
|
|
18144
|
-
super(map);
|
|
18145
|
-
}
|
|
18146
|
-
}
|
|
18147
|
-
|
|
18148
|
-
export class TransformExpressionToMatchResponse extends $tea.Model {
|
|
18149
|
-
headers?: { [key: string]: string };
|
|
18150
|
-
statusCode?: number;
|
|
18151
|
-
body?: TransformExpressionToMatchResponseBody;
|
|
18152
|
-
static names(): { [key: string]: string } {
|
|
18153
|
-
return {
|
|
18154
|
-
headers: 'headers',
|
|
18155
|
-
statusCode: 'statusCode',
|
|
18156
|
-
body: 'body',
|
|
18157
|
-
};
|
|
18158
|
-
}
|
|
18159
|
-
|
|
18160
|
-
static types(): { [key: string]: any } {
|
|
18161
|
-
return {
|
|
18162
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18163
|
-
statusCode: 'number',
|
|
18164
|
-
body: TransformExpressionToMatchResponseBody,
|
|
18165
|
-
};
|
|
18166
|
-
}
|
|
18167
|
-
|
|
18168
|
-
constructor(map?: { [key: string]: any }) {
|
|
18169
|
-
super(map);
|
|
18170
|
-
}
|
|
18171
|
-
}
|
|
18172
|
-
|
|
18173
|
-
export class TransformMatchToExpressionRequest extends $tea.Model {
|
|
18174
|
-
/**
|
|
18175
|
-
* @example
|
|
18176
|
-
* http_bot
|
|
18177
|
-
*/
|
|
18178
|
-
match?: WafRuleMatch;
|
|
18179
|
-
/**
|
|
18180
|
-
* @example
|
|
18181
|
-
* http_bot
|
|
18182
|
-
*/
|
|
18183
|
-
phase?: string;
|
|
18184
|
-
/**
|
|
18185
|
-
* @example
|
|
18186
|
-
* 1
|
|
18187
|
-
*/
|
|
18188
|
-
siteId?: number;
|
|
18189
|
-
static names(): { [key: string]: string } {
|
|
18190
|
-
return {
|
|
18191
|
-
match: 'Match',
|
|
18192
|
-
phase: 'Phase',
|
|
18193
|
-
siteId: 'SiteId',
|
|
18194
|
-
};
|
|
18195
|
-
}
|
|
18196
|
-
|
|
18197
|
-
static types(): { [key: string]: any } {
|
|
18198
|
-
return {
|
|
18199
|
-
match: WafRuleMatch,
|
|
18200
|
-
phase: 'string',
|
|
18201
|
-
siteId: 'number',
|
|
18202
|
-
};
|
|
18203
|
-
}
|
|
18204
|
-
|
|
18205
|
-
constructor(map?: { [key: string]: any }) {
|
|
18206
|
-
super(map);
|
|
18207
|
-
}
|
|
18208
|
-
}
|
|
18209
|
-
|
|
18210
|
-
export class TransformMatchToExpressionShrinkRequest extends $tea.Model {
|
|
18211
|
-
/**
|
|
18212
|
-
* @example
|
|
18213
|
-
* http_bot
|
|
18214
|
-
*/
|
|
18215
|
-
matchShrink?: string;
|
|
18216
|
-
/**
|
|
18217
|
-
* @example
|
|
18218
|
-
* http_bot
|
|
18219
|
-
*/
|
|
18220
|
-
phase?: string;
|
|
18221
|
-
/**
|
|
18222
|
-
* @example
|
|
18223
|
-
* 1
|
|
18224
|
-
*/
|
|
18225
|
-
siteId?: number;
|
|
18226
|
-
static names(): { [key: string]: string } {
|
|
18227
|
-
return {
|
|
18228
|
-
matchShrink: 'Match',
|
|
18229
|
-
phase: 'Phase',
|
|
18230
|
-
siteId: 'SiteId',
|
|
18231
|
-
};
|
|
18232
|
-
}
|
|
18233
|
-
|
|
18234
|
-
static types(): { [key: string]: any } {
|
|
18235
|
-
return {
|
|
18236
|
-
matchShrink: 'string',
|
|
18237
|
-
phase: 'string',
|
|
18238
|
-
siteId: 'number',
|
|
18239
|
-
};
|
|
18240
|
-
}
|
|
18241
|
-
|
|
18242
|
-
constructor(map?: { [key: string]: any }) {
|
|
18243
|
-
super(map);
|
|
18244
|
-
}
|
|
18245
|
-
}
|
|
18246
|
-
|
|
18247
|
-
export class TransformMatchToExpressionResponseBody extends $tea.Model {
|
|
18248
|
-
expression?: string;
|
|
18249
|
-
/**
|
|
18250
|
-
* @remarks
|
|
18251
|
-
* Id of the request
|
|
18252
|
-
*
|
|
18253
|
-
* @example
|
|
18254
|
-
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
18255
|
-
*/
|
|
18256
|
-
requestId?: string;
|
|
18257
|
-
static names(): { [key: string]: string } {
|
|
18258
|
-
return {
|
|
18259
|
-
expression: 'Expression',
|
|
18260
|
-
requestId: 'RequestId',
|
|
18261
|
-
};
|
|
18262
|
-
}
|
|
18263
|
-
|
|
18264
|
-
static types(): { [key: string]: any } {
|
|
18265
|
-
return {
|
|
18266
|
-
expression: 'string',
|
|
18267
|
-
requestId: 'string',
|
|
18268
|
-
};
|
|
18269
|
-
}
|
|
18270
|
-
|
|
18271
|
-
constructor(map?: { [key: string]: any }) {
|
|
18272
|
-
super(map);
|
|
18273
|
-
}
|
|
18274
|
-
}
|
|
18275
|
-
|
|
18276
|
-
export class TransformMatchToExpressionResponse extends $tea.Model {
|
|
18277
|
-
headers?: { [key: string]: string };
|
|
18278
|
-
statusCode?: number;
|
|
18279
|
-
body?: TransformMatchToExpressionResponseBody;
|
|
18280
|
-
static names(): { [key: string]: string } {
|
|
18281
|
-
return {
|
|
18282
|
-
headers: 'headers',
|
|
18283
|
-
statusCode: 'statusCode',
|
|
18284
|
-
body: 'body',
|
|
18285
|
-
};
|
|
18286
|
-
}
|
|
18287
|
-
|
|
18288
|
-
static types(): { [key: string]: any } {
|
|
18289
|
-
return {
|
|
18290
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18291
|
-
statusCode: 'number',
|
|
18292
|
-
body: TransformMatchToExpressionResponseBody,
|
|
18293
|
-
};
|
|
18294
|
-
}
|
|
18295
|
-
|
|
18296
|
-
constructor(map?: { [key: string]: any }) {
|
|
18297
|
-
super(map);
|
|
18298
|
-
}
|
|
18299
|
-
}
|
|
18300
|
-
|
|
18301
18094
|
export class UntagResourcesRequest extends $tea.Model {
|
|
18302
18095
|
/**
|
|
18303
18096
|
* @remarks
|
|
@@ -21185,12 +20978,14 @@ export class WafBatchRuleSharedActions extends $tea.Model {
|
|
|
21185
20978
|
}
|
|
21186
20979
|
|
|
21187
20980
|
export class WafRuleConfigActionsBypass extends $tea.Model {
|
|
20981
|
+
customRules?: number[];
|
|
21188
20982
|
regularRules?: number[];
|
|
21189
20983
|
regularTypes?: string[];
|
|
21190
20984
|
skip?: string;
|
|
21191
20985
|
tags?: string[];
|
|
21192
20986
|
static names(): { [key: string]: string } {
|
|
21193
20987
|
return {
|
|
20988
|
+
customRules: 'CustomRules',
|
|
21194
20989
|
regularRules: 'RegularRules',
|
|
21195
20990
|
regularTypes: 'RegularTypes',
|
|
21196
20991
|
skip: 'Skip',
|
|
@@ -21200,6 +20995,7 @@ export class WafRuleConfigActionsBypass extends $tea.Model {
|
|
|
21200
20995
|
|
|
21201
20996
|
static types(): { [key: string]: any } {
|
|
21202
20997
|
return {
|
|
20998
|
+
customRules: { 'type': 'array', 'itemType': 'number' },
|
|
21203
20999
|
regularRules: { 'type': 'array', 'itemType': 'number' },
|
|
21204
21000
|
regularTypes: { 'type': 'array', 'itemType': 'string' },
|
|
21205
21001
|
skip: 'string',
|
|
@@ -21801,6 +21597,37 @@ export class FieldContentValueFieldList extends $tea.Model {
|
|
|
21801
21597
|
}
|
|
21802
21598
|
}
|
|
21803
21599
|
|
|
21600
|
+
export class BatchCreateRecordsRequestRecordListAuthConf extends $tea.Model {
|
|
21601
|
+
accessKey?: string;
|
|
21602
|
+
authType?: string;
|
|
21603
|
+
region?: string;
|
|
21604
|
+
secretKey?: string;
|
|
21605
|
+
version?: string;
|
|
21606
|
+
static names(): { [key: string]: string } {
|
|
21607
|
+
return {
|
|
21608
|
+
accessKey: 'AccessKey',
|
|
21609
|
+
authType: 'AuthType',
|
|
21610
|
+
region: 'Region',
|
|
21611
|
+
secretKey: 'SecretKey',
|
|
21612
|
+
version: 'Version',
|
|
21613
|
+
};
|
|
21614
|
+
}
|
|
21615
|
+
|
|
21616
|
+
static types(): { [key: string]: any } {
|
|
21617
|
+
return {
|
|
21618
|
+
accessKey: 'string',
|
|
21619
|
+
authType: 'string',
|
|
21620
|
+
region: 'string',
|
|
21621
|
+
secretKey: 'string',
|
|
21622
|
+
version: 'string',
|
|
21623
|
+
};
|
|
21624
|
+
}
|
|
21625
|
+
|
|
21626
|
+
constructor(map?: { [key: string]: any }) {
|
|
21627
|
+
super(map);
|
|
21628
|
+
}
|
|
21629
|
+
}
|
|
21630
|
+
|
|
21804
21631
|
export class BatchCreateRecordsRequestRecordListData extends $tea.Model {
|
|
21805
21632
|
/**
|
|
21806
21633
|
* @example
|
|
@@ -21916,6 +21743,7 @@ export class BatchCreateRecordsRequestRecordListData extends $tea.Model {
|
|
|
21916
21743
|
}
|
|
21917
21744
|
|
|
21918
21745
|
export class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
21746
|
+
authConf?: BatchCreateRecordsRequestRecordListAuthConf;
|
|
21919
21747
|
/**
|
|
21920
21748
|
* @example
|
|
21921
21749
|
* web
|
|
@@ -21970,6 +21798,7 @@ export class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
|
21970
21798
|
type?: string;
|
|
21971
21799
|
static names(): { [key: string]: string } {
|
|
21972
21800
|
return {
|
|
21801
|
+
authConf: 'AuthConf',
|
|
21973
21802
|
bizName: 'BizName',
|
|
21974
21803
|
data: 'Data',
|
|
21975
21804
|
proxied: 'Proxied',
|
|
@@ -21982,6 +21811,7 @@ export class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
|
21982
21811
|
|
|
21983
21812
|
static types(): { [key: string]: any } {
|
|
21984
21813
|
return {
|
|
21814
|
+
authConf: BatchCreateRecordsRequestRecordListAuthConf,
|
|
21985
21815
|
bizName: 'string',
|
|
21986
21816
|
data: BatchCreateRecordsRequestRecordListData,
|
|
21987
21817
|
proxied: 'boolean',
|
|
@@ -24398,11 +24228,6 @@ export class GetEdgeContainerAppVersionResponseBodyVersionContainers extends $te
|
|
|
24398
24228
|
* {\\"exec\\":{\\"command\\":[\\"touch\\",\\"/home/admin/checkpoststartV1\\"]}}
|
|
24399
24229
|
*/
|
|
24400
24230
|
postStart?: string;
|
|
24401
|
-
/**
|
|
24402
|
-
* @example
|
|
24403
|
-
* sh prestart.sh "echo hello world"
|
|
24404
|
-
*/
|
|
24405
|
-
preStart?: string;
|
|
24406
24231
|
/**
|
|
24407
24232
|
* @example
|
|
24408
24233
|
* sh prestop.sh "echo hello world"
|
|
@@ -24430,7 +24255,6 @@ export class GetEdgeContainerAppVersionResponseBodyVersionContainers extends $te
|
|
|
24430
24255
|
isACRImage: 'IsACRImage',
|
|
24431
24256
|
name: 'Name',
|
|
24432
24257
|
postStart: 'PostStart',
|
|
24433
|
-
preStart: 'PreStart',
|
|
24434
24258
|
preStop: 'PreStop',
|
|
24435
24259
|
probeContent: 'ProbeContent',
|
|
24436
24260
|
probeType: 'ProbeType',
|
|
@@ -24449,7 +24273,6 @@ export class GetEdgeContainerAppVersionResponseBodyVersionContainers extends $te
|
|
|
24449
24273
|
isACRImage: 'boolean',
|
|
24450
24274
|
name: 'string',
|
|
24451
24275
|
postStart: 'string',
|
|
24452
|
-
preStart: 'string',
|
|
24453
24276
|
preStop: 'string',
|
|
24454
24277
|
probeContent: GetEdgeContainerAppVersionResponseBodyVersionContainersProbeContent,
|
|
24455
24278
|
probeType: 'string',
|
|
@@ -25937,11 +25760,6 @@ export class ListEdgeContainerAppVersionsResponseBodyVersionsContainers extends
|
|
|
25937
25760
|
* {\\"exec\\":{\\"command\\":[\\"bash\\",\\"-c\\",\\"cd /home/admin/
|
|
25938
25761
|
*/
|
|
25939
25762
|
postStart?: string;
|
|
25940
|
-
/**
|
|
25941
|
-
* @example
|
|
25942
|
-
* sh start.sh
|
|
25943
|
-
*/
|
|
25944
|
-
preStart?: string;
|
|
25945
25763
|
/**
|
|
25946
25764
|
* @example
|
|
25947
25765
|
* sh stop.sh
|
|
@@ -25966,7 +25784,6 @@ export class ListEdgeContainerAppVersionsResponseBodyVersionsContainers extends
|
|
|
25966
25784
|
image: 'Image',
|
|
25967
25785
|
name: 'Name',
|
|
25968
25786
|
postStart: 'PostStart',
|
|
25969
|
-
preStart: 'PreStart',
|
|
25970
25787
|
preStop: 'PreStop',
|
|
25971
25788
|
probeContent: 'ProbeContent',
|
|
25972
25789
|
probeType: 'ProbeType',
|
|
@@ -25982,7 +25799,6 @@ export class ListEdgeContainerAppVersionsResponseBodyVersionsContainers extends
|
|
|
25982
25799
|
image: 'string',
|
|
25983
25800
|
name: 'string',
|
|
25984
25801
|
postStart: 'string',
|
|
25985
|
-
preStart: 'string',
|
|
25986
25802
|
preStop: 'string',
|
|
25987
25803
|
probeContent: ListEdgeContainerAppVersionsResponseBodyVersionsContainersProbeContent,
|
|
25988
25804
|
probeType: 'string',
|
|
@@ -27739,6 +27555,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27739
27555
|
* PREPAY
|
|
27740
27556
|
*/
|
|
27741
27557
|
billingMode?: string;
|
|
27558
|
+
botInstanceLevel?: string;
|
|
27742
27559
|
/**
|
|
27743
27560
|
* @example
|
|
27744
27561
|
* domestic,overseas
|
|
@@ -27749,11 +27566,17 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27749
27566
|
* YYYY-MM-DDThh:mm:ssZ
|
|
27750
27567
|
*/
|
|
27751
27568
|
createTime?: string;
|
|
27569
|
+
crossborderTraffic?: string;
|
|
27570
|
+
ddosBurstableDomesticProtection?: string;
|
|
27571
|
+
ddosBurstableOverseasProtection?: string;
|
|
27572
|
+
ddosInstanceLevel?: string;
|
|
27752
27573
|
/**
|
|
27753
27574
|
* @example
|
|
27754
27575
|
* 3
|
|
27755
27576
|
*/
|
|
27756
27577
|
duration?: number;
|
|
27578
|
+
edgeRoutineRquest?: string;
|
|
27579
|
+
edgeWafRequest?: string;
|
|
27757
27580
|
/**
|
|
27758
27581
|
* @example
|
|
27759
27582
|
* YYYY-MM-DDThh:mm:ssZ
|
|
@@ -27764,11 +27587,14 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27764
27587
|
* sp-xcdn-96wblslz****
|
|
27765
27588
|
*/
|
|
27766
27589
|
instanceId?: string;
|
|
27590
|
+
layer4Traffic?: string;
|
|
27591
|
+
layer4TrafficIntl?: string;
|
|
27767
27592
|
/**
|
|
27768
27593
|
* @example
|
|
27769
27594
|
* basic
|
|
27770
27595
|
*/
|
|
27771
27596
|
planName?: string;
|
|
27597
|
+
planTraffic?: string;
|
|
27772
27598
|
/**
|
|
27773
27599
|
* @example
|
|
27774
27600
|
* normal
|
|
@@ -27780,6 +27606,8 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27780
27606
|
*/
|
|
27781
27607
|
siteQuota?: string;
|
|
27782
27608
|
sites?: ListUserRatePlanInstancesResponseBodyInstanceInfoSites[];
|
|
27609
|
+
smartRoutingRequest?: string;
|
|
27610
|
+
staticRequest?: string;
|
|
27783
27611
|
/**
|
|
27784
27612
|
* @example
|
|
27785
27613
|
* online
|
|
@@ -27788,15 +27616,27 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27788
27616
|
static names(): { [key: string]: string } {
|
|
27789
27617
|
return {
|
|
27790
27618
|
billingMode: 'BillingMode',
|
|
27619
|
+
botInstanceLevel: 'BotInstanceLevel',
|
|
27791
27620
|
coverages: 'Coverages',
|
|
27792
27621
|
createTime: 'CreateTime',
|
|
27622
|
+
crossborderTraffic: 'CrossborderTraffic',
|
|
27623
|
+
ddosBurstableDomesticProtection: 'DdosBurstableDomesticProtection',
|
|
27624
|
+
ddosBurstableOverseasProtection: 'DdosBurstableOverseasProtection',
|
|
27625
|
+
ddosInstanceLevel: 'DdosInstanceLevel',
|
|
27793
27626
|
duration: 'Duration',
|
|
27627
|
+
edgeRoutineRquest: 'EdgeRoutineRquest',
|
|
27628
|
+
edgeWafRequest: 'EdgeWafRequest',
|
|
27794
27629
|
expireTime: 'ExpireTime',
|
|
27795
27630
|
instanceId: 'InstanceId',
|
|
27631
|
+
layer4Traffic: 'Layer4Traffic',
|
|
27632
|
+
layer4TrafficIntl: 'Layer4TrafficIntl',
|
|
27796
27633
|
planName: 'PlanName',
|
|
27634
|
+
planTraffic: 'PlanTraffic',
|
|
27797
27635
|
planType: 'PlanType',
|
|
27798
27636
|
siteQuota: 'SiteQuota',
|
|
27799
27637
|
sites: 'Sites',
|
|
27638
|
+
smartRoutingRequest: 'SmartRoutingRequest',
|
|
27639
|
+
staticRequest: 'StaticRequest',
|
|
27800
27640
|
status: 'Status',
|
|
27801
27641
|
};
|
|
27802
27642
|
}
|
|
@@ -27804,15 +27644,27 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27804
27644
|
static types(): { [key: string]: any } {
|
|
27805
27645
|
return {
|
|
27806
27646
|
billingMode: 'string',
|
|
27647
|
+
botInstanceLevel: 'string',
|
|
27807
27648
|
coverages: 'string',
|
|
27808
27649
|
createTime: 'string',
|
|
27650
|
+
crossborderTraffic: 'string',
|
|
27651
|
+
ddosBurstableDomesticProtection: 'string',
|
|
27652
|
+
ddosBurstableOverseasProtection: 'string',
|
|
27653
|
+
ddosInstanceLevel: 'string',
|
|
27809
27654
|
duration: 'number',
|
|
27655
|
+
edgeRoutineRquest: 'string',
|
|
27656
|
+
edgeWafRequest: 'string',
|
|
27810
27657
|
expireTime: 'string',
|
|
27811
27658
|
instanceId: 'string',
|
|
27659
|
+
layer4Traffic: 'string',
|
|
27660
|
+
layer4TrafficIntl: 'string',
|
|
27812
27661
|
planName: 'string',
|
|
27662
|
+
planTraffic: 'string',
|
|
27813
27663
|
planType: 'string',
|
|
27814
27664
|
siteQuota: 'string',
|
|
27815
27665
|
sites: { 'type': 'array', 'itemType': ListUserRatePlanInstancesResponseBodyInstanceInfoSites },
|
|
27666
|
+
smartRoutingRequest: 'string',
|
|
27667
|
+
staticRequest: 'string',
|
|
27816
27668
|
status: 'string',
|
|
27817
27669
|
};
|
|
27818
27670
|
}
|
|
@@ -27833,11 +27685,6 @@ export class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
27833
27685
|
* example
|
|
27834
27686
|
*/
|
|
27835
27687
|
idNameLike?: string;
|
|
27836
|
-
/**
|
|
27837
|
-
* @example
|
|
27838
|
-
* 1
|
|
27839
|
-
*/
|
|
27840
|
-
protectionLevel?: number;
|
|
27841
27688
|
protectionLevels?: number[];
|
|
27842
27689
|
/**
|
|
27843
27690
|
* @example
|
|
@@ -27848,7 +27695,6 @@ export class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
27848
27695
|
return {
|
|
27849
27696
|
action: 'Action',
|
|
27850
27697
|
idNameLike: 'IdNameLike',
|
|
27851
|
-
protectionLevel: 'ProtectionLevel',
|
|
27852
27698
|
protectionLevels: 'ProtectionLevels',
|
|
27853
27699
|
status: 'Status',
|
|
27854
27700
|
};
|
|
@@ -27858,7 +27704,6 @@ export class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
27858
27704
|
return {
|
|
27859
27705
|
action: 'string',
|
|
27860
27706
|
idNameLike: 'string',
|
|
27861
|
-
protectionLevel: 'number',
|
|
27862
27707
|
protectionLevels: { 'type': 'array', 'itemType': 'number' },
|
|
27863
27708
|
status: 'string',
|
|
27864
27709
|
};
|
|
@@ -35351,6 +35196,10 @@ export default class Client extends OpenApi {
|
|
|
35351
35196
|
query["PageSize"] = request.pageSize;
|
|
35352
35197
|
}
|
|
35353
35198
|
|
|
35199
|
+
if (!Util.isUnset(request.protectionLevel)) {
|
|
35200
|
+
query["ProtectionLevel"] = request.protectionLevel;
|
|
35201
|
+
}
|
|
35202
|
+
|
|
35354
35203
|
if (!Util.isUnset(request.queryArgsShrink)) {
|
|
35355
35204
|
query["QueryArgs"] = request.queryArgsShrink;
|
|
35356
35205
|
}
|
|
@@ -35593,6 +35442,10 @@ export default class Client extends OpenApi {
|
|
|
35593
35442
|
query["QueryArgs"] = request.queryArgsShrink;
|
|
35594
35443
|
}
|
|
35595
35444
|
|
|
35445
|
+
if (!Util.isUnset(request.siteId)) {
|
|
35446
|
+
query["SiteId"] = request.siteId;
|
|
35447
|
+
}
|
|
35448
|
+
|
|
35596
35449
|
let req = new $OpenApi.OpenApiRequest({
|
|
35597
35450
|
query: OpenApiUtil.query(query),
|
|
35598
35451
|
});
|
|
@@ -36640,116 +36493,6 @@ export default class Client extends OpenApi {
|
|
|
36640
36493
|
return await this.stopScheduledPreloadExecutionWithOptions(request, runtime);
|
|
36641
36494
|
}
|
|
36642
36495
|
|
|
36643
|
-
/**
|
|
36644
|
-
* 将表达式转换为匹配项
|
|
36645
|
-
*
|
|
36646
|
-
* @param request - TransformExpressionToMatchRequest
|
|
36647
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
36648
|
-
* @returns TransformExpressionToMatchResponse
|
|
36649
|
-
*/
|
|
36650
|
-
async transformExpressionToMatchWithOptions(request: TransformExpressionToMatchRequest, runtime: $Util.RuntimeOptions): Promise<TransformExpressionToMatchResponse> {
|
|
36651
|
-
Util.validateModel(request);
|
|
36652
|
-
let query = { };
|
|
36653
|
-
if (!Util.isUnset(request.siteId)) {
|
|
36654
|
-
query["SiteId"] = request.siteId;
|
|
36655
|
-
}
|
|
36656
|
-
|
|
36657
|
-
let body : {[key: string ]: any} = { };
|
|
36658
|
-
if (!Util.isUnset(request.expression)) {
|
|
36659
|
-
body["Expression"] = request.expression;
|
|
36660
|
-
}
|
|
36661
|
-
|
|
36662
|
-
if (!Util.isUnset(request.phase)) {
|
|
36663
|
-
body["Phase"] = request.phase;
|
|
36664
|
-
}
|
|
36665
|
-
|
|
36666
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
36667
|
-
query: OpenApiUtil.query(query),
|
|
36668
|
-
body: OpenApiUtil.parseToMap(body),
|
|
36669
|
-
});
|
|
36670
|
-
let params = new $OpenApi.Params({
|
|
36671
|
-
action: "TransformExpressionToMatch",
|
|
36672
|
-
version: "2024-09-10",
|
|
36673
|
-
protocol: "HTTPS",
|
|
36674
|
-
pathname: "/",
|
|
36675
|
-
method: "POST",
|
|
36676
|
-
authType: "AK",
|
|
36677
|
-
style: "RPC",
|
|
36678
|
-
reqBodyType: "formData",
|
|
36679
|
-
bodyType: "json",
|
|
36680
|
-
});
|
|
36681
|
-
return $tea.cast<TransformExpressionToMatchResponse>(await this.callApi(params, req, runtime), new TransformExpressionToMatchResponse({}));
|
|
36682
|
-
}
|
|
36683
|
-
|
|
36684
|
-
/**
|
|
36685
|
-
* 将表达式转换为匹配项
|
|
36686
|
-
*
|
|
36687
|
-
* @param request - TransformExpressionToMatchRequest
|
|
36688
|
-
* @returns TransformExpressionToMatchResponse
|
|
36689
|
-
*/
|
|
36690
|
-
async transformExpressionToMatch(request: TransformExpressionToMatchRequest): Promise<TransformExpressionToMatchResponse> {
|
|
36691
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
36692
|
-
return await this.transformExpressionToMatchWithOptions(request, runtime);
|
|
36693
|
-
}
|
|
36694
|
-
|
|
36695
|
-
/**
|
|
36696
|
-
* 将匹配项转换为表达式
|
|
36697
|
-
*
|
|
36698
|
-
* @param tmpReq - TransformMatchToExpressionRequest
|
|
36699
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
36700
|
-
* @returns TransformMatchToExpressionResponse
|
|
36701
|
-
*/
|
|
36702
|
-
async transformMatchToExpressionWithOptions(tmpReq: TransformMatchToExpressionRequest, runtime: $Util.RuntimeOptions): Promise<TransformMatchToExpressionResponse> {
|
|
36703
|
-
Util.validateModel(tmpReq);
|
|
36704
|
-
let request = new TransformMatchToExpressionShrinkRequest({ });
|
|
36705
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
36706
|
-
if (!Util.isUnset(tmpReq.match)) {
|
|
36707
|
-
request.matchShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.match, "Match", "json");
|
|
36708
|
-
}
|
|
36709
|
-
|
|
36710
|
-
let query = { };
|
|
36711
|
-
if (!Util.isUnset(request.siteId)) {
|
|
36712
|
-
query["SiteId"] = request.siteId;
|
|
36713
|
-
}
|
|
36714
|
-
|
|
36715
|
-
let body : {[key: string ]: any} = { };
|
|
36716
|
-
if (!Util.isUnset(request.matchShrink)) {
|
|
36717
|
-
body["Match"] = request.matchShrink;
|
|
36718
|
-
}
|
|
36719
|
-
|
|
36720
|
-
if (!Util.isUnset(request.phase)) {
|
|
36721
|
-
body["Phase"] = request.phase;
|
|
36722
|
-
}
|
|
36723
|
-
|
|
36724
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
36725
|
-
query: OpenApiUtil.query(query),
|
|
36726
|
-
body: OpenApiUtil.parseToMap(body),
|
|
36727
|
-
});
|
|
36728
|
-
let params = new $OpenApi.Params({
|
|
36729
|
-
action: "TransformMatchToExpression",
|
|
36730
|
-
version: "2024-09-10",
|
|
36731
|
-
protocol: "HTTPS",
|
|
36732
|
-
pathname: "/",
|
|
36733
|
-
method: "POST",
|
|
36734
|
-
authType: "AK",
|
|
36735
|
-
style: "RPC",
|
|
36736
|
-
reqBodyType: "formData",
|
|
36737
|
-
bodyType: "json",
|
|
36738
|
-
});
|
|
36739
|
-
return $tea.cast<TransformMatchToExpressionResponse>(await this.callApi(params, req, runtime), new TransformMatchToExpressionResponse({}));
|
|
36740
|
-
}
|
|
36741
|
-
|
|
36742
|
-
/**
|
|
36743
|
-
* 将匹配项转换为表达式
|
|
36744
|
-
*
|
|
36745
|
-
* @param request - TransformMatchToExpressionRequest
|
|
36746
|
-
* @returns TransformMatchToExpressionResponse
|
|
36747
|
-
*/
|
|
36748
|
-
async transformMatchToExpression(request: TransformMatchToExpressionRequest): Promise<TransformMatchToExpressionResponse> {
|
|
36749
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
36750
|
-
return await this.transformMatchToExpressionWithOptions(request, runtime);
|
|
36751
|
-
}
|
|
36752
|
-
|
|
36753
36496
|
/**
|
|
36754
36497
|
* 为资源列表统一解绑标签
|
|
36755
36498
|
*
|