@alicloud/ddoscoo20200101 2.1.0 → 2.3.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/src/client.ts CHANGED
@@ -302,6 +302,75 @@ export class AttachSceneDefenseObjectResponse extends $tea.Model {
302
302
  }
303
303
  }
304
304
 
305
+ export class ConfigDomainSecurityProfileRequest extends $tea.Model {
306
+ cluster?: string;
307
+ config?: string;
308
+ domain?: string;
309
+ static names(): { [key: string]: string } {
310
+ return {
311
+ cluster: 'Cluster',
312
+ config: 'Config',
313
+ domain: 'Domain',
314
+ };
315
+ }
316
+
317
+ static types(): { [key: string]: any } {
318
+ return {
319
+ cluster: 'string',
320
+ config: 'string',
321
+ domain: 'string',
322
+ };
323
+ }
324
+
325
+ constructor(map?: { [key: string]: any }) {
326
+ super(map);
327
+ }
328
+ }
329
+
330
+ export class ConfigDomainSecurityProfileResponseBody extends $tea.Model {
331
+ requestId?: string;
332
+ static names(): { [key: string]: string } {
333
+ return {
334
+ requestId: 'RequestId',
335
+ };
336
+ }
337
+
338
+ static types(): { [key: string]: any } {
339
+ return {
340
+ requestId: 'string',
341
+ };
342
+ }
343
+
344
+ constructor(map?: { [key: string]: any }) {
345
+ super(map);
346
+ }
347
+ }
348
+
349
+ export class ConfigDomainSecurityProfileResponse extends $tea.Model {
350
+ headers?: { [key: string]: string };
351
+ statusCode?: number;
352
+ body?: ConfigDomainSecurityProfileResponseBody;
353
+ static names(): { [key: string]: string } {
354
+ return {
355
+ headers: 'headers',
356
+ statusCode: 'statusCode',
357
+ body: 'body',
358
+ };
359
+ }
360
+
361
+ static types(): { [key: string]: any } {
362
+ return {
363
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
364
+ statusCode: 'number',
365
+ body: ConfigDomainSecurityProfileResponseBody,
366
+ };
367
+ }
368
+
369
+ constructor(map?: { [key: string]: any }) {
370
+ super(map);
371
+ }
372
+ }
373
+
305
374
  export class ConfigL7RsPolicyRequest extends $tea.Model {
306
375
  domain?: string;
307
376
  policy?: string;
@@ -374,6 +443,72 @@ export class ConfigL7RsPolicyResponse extends $tea.Model {
374
443
  }
375
444
  }
376
445
 
446
+ export class ConfigL7UsKeepaliveRequest extends $tea.Model {
447
+ domain?: string;
448
+ upstreamKeepalive?: string;
449
+ static names(): { [key: string]: string } {
450
+ return {
451
+ domain: 'Domain',
452
+ upstreamKeepalive: 'UpstreamKeepalive',
453
+ };
454
+ }
455
+
456
+ static types(): { [key: string]: any } {
457
+ return {
458
+ domain: 'string',
459
+ upstreamKeepalive: 'string',
460
+ };
461
+ }
462
+
463
+ constructor(map?: { [key: string]: any }) {
464
+ super(map);
465
+ }
466
+ }
467
+
468
+ export class ConfigL7UsKeepaliveResponseBody extends $tea.Model {
469
+ requestId?: string;
470
+ static names(): { [key: string]: string } {
471
+ return {
472
+ requestId: 'RequestId',
473
+ };
474
+ }
475
+
476
+ static types(): { [key: string]: any } {
477
+ return {
478
+ requestId: 'string',
479
+ };
480
+ }
481
+
482
+ constructor(map?: { [key: string]: any }) {
483
+ super(map);
484
+ }
485
+ }
486
+
487
+ export class ConfigL7UsKeepaliveResponse extends $tea.Model {
488
+ headers?: { [key: string]: string };
489
+ statusCode?: number;
490
+ body?: ConfigL7UsKeepaliveResponseBody;
491
+ static names(): { [key: string]: string } {
492
+ return {
493
+ headers: 'headers',
494
+ statusCode: 'statusCode',
495
+ body: 'body',
496
+ };
497
+ }
498
+
499
+ static types(): { [key: string]: any } {
500
+ return {
501
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
502
+ statusCode: 'number',
503
+ body: ConfigL7UsKeepaliveResponseBody,
504
+ };
505
+ }
506
+
507
+ constructor(map?: { [key: string]: any }) {
508
+ super(map);
509
+ }
510
+ }
511
+
377
512
  export class ConfigLayer4RealLimitRequest extends $tea.Model {
378
513
  instanceId?: string;
379
514
  limitValue?: number;
@@ -830,6 +965,75 @@ export class ConfigUdpReflectResponse extends $tea.Model {
830
965
  }
831
966
  }
832
967
 
968
+ export class ConfigWebCCRuleV2Request extends $tea.Model {
969
+ domain?: string;
970
+ expires?: number;
971
+ ruleList?: string;
972
+ static names(): { [key: string]: string } {
973
+ return {
974
+ domain: 'Domain',
975
+ expires: 'Expires',
976
+ ruleList: 'RuleList',
977
+ };
978
+ }
979
+
980
+ static types(): { [key: string]: any } {
981
+ return {
982
+ domain: 'string',
983
+ expires: 'number',
984
+ ruleList: 'string',
985
+ };
986
+ }
987
+
988
+ constructor(map?: { [key: string]: any }) {
989
+ super(map);
990
+ }
991
+ }
992
+
993
+ export class ConfigWebCCRuleV2ResponseBody extends $tea.Model {
994
+ requestId?: string;
995
+ static names(): { [key: string]: string } {
996
+ return {
997
+ requestId: 'RequestId',
998
+ };
999
+ }
1000
+
1001
+ static types(): { [key: string]: any } {
1002
+ return {
1003
+ requestId: 'string',
1004
+ };
1005
+ }
1006
+
1007
+ constructor(map?: { [key: string]: any }) {
1008
+ super(map);
1009
+ }
1010
+ }
1011
+
1012
+ export class ConfigWebCCRuleV2Response extends $tea.Model {
1013
+ headers?: { [key: string]: string };
1014
+ statusCode?: number;
1015
+ body?: ConfigWebCCRuleV2ResponseBody;
1016
+ static names(): { [key: string]: string } {
1017
+ return {
1018
+ headers: 'headers',
1019
+ statusCode: 'statusCode',
1020
+ body: 'body',
1021
+ };
1022
+ }
1023
+
1024
+ static types(): { [key: string]: any } {
1025
+ return {
1026
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1027
+ statusCode: 'number',
1028
+ body: ConfigWebCCRuleV2ResponseBody,
1029
+ };
1030
+ }
1031
+
1032
+ constructor(map?: { [key: string]: any }) {
1033
+ super(map);
1034
+ }
1035
+ }
1036
+
833
1037
  export class ConfigWebCCTemplateRequest extends $tea.Model {
834
1038
  domain?: string;
835
1039
  resourceGroupId?: string;
@@ -6041,6 +6245,72 @@ export class DescribeL7RsPolicyResponse extends $tea.Model {
6041
6245
  }
6042
6246
  }
6043
6247
 
6248
+ export class DescribeL7UsKeepaliveRequest extends $tea.Model {
6249
+ domain?: string;
6250
+ static names(): { [key: string]: string } {
6251
+ return {
6252
+ domain: 'Domain',
6253
+ };
6254
+ }
6255
+
6256
+ static types(): { [key: string]: any } {
6257
+ return {
6258
+ domain: 'string',
6259
+ };
6260
+ }
6261
+
6262
+ constructor(map?: { [key: string]: any }) {
6263
+ super(map);
6264
+ }
6265
+ }
6266
+
6267
+ export class DescribeL7UsKeepaliveResponseBody extends $tea.Model {
6268
+ requestId?: string;
6269
+ rsKeepalive?: DescribeL7UsKeepaliveResponseBodyRsKeepalive;
6270
+ static names(): { [key: string]: string } {
6271
+ return {
6272
+ requestId: 'RequestId',
6273
+ rsKeepalive: 'RsKeepalive',
6274
+ };
6275
+ }
6276
+
6277
+ static types(): { [key: string]: any } {
6278
+ return {
6279
+ requestId: 'string',
6280
+ rsKeepalive: DescribeL7UsKeepaliveResponseBodyRsKeepalive,
6281
+ };
6282
+ }
6283
+
6284
+ constructor(map?: { [key: string]: any }) {
6285
+ super(map);
6286
+ }
6287
+ }
6288
+
6289
+ export class DescribeL7UsKeepaliveResponse extends $tea.Model {
6290
+ headers?: { [key: string]: string };
6291
+ statusCode?: number;
6292
+ body?: DescribeL7UsKeepaliveResponseBody;
6293
+ static names(): { [key: string]: string } {
6294
+ return {
6295
+ headers: 'headers',
6296
+ statusCode: 'statusCode',
6297
+ body: 'body',
6298
+ };
6299
+ }
6300
+
6301
+ static types(): { [key: string]: any } {
6302
+ return {
6303
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6304
+ statusCode: 'number',
6305
+ body: DescribeL7UsKeepaliveResponseBody,
6306
+ };
6307
+ }
6308
+
6309
+ constructor(map?: { [key: string]: any }) {
6310
+ super(map);
6311
+ }
6312
+ }
6313
+
6044
6314
  export class DescribeLayer4RulePolicyRequest extends $tea.Model {
6045
6315
  listeners?: string;
6046
6316
  static names(): { [key: string]: string } {
@@ -8897,20 +9167,26 @@ export class DescribeWebCCRulesResponse extends $tea.Model {
8897
9167
  }
8898
9168
  }
8899
9169
 
8900
- export class DescribeWebCacheConfigsRequest extends $tea.Model {
8901
- domains?: string[];
8902
- resourceGroupId?: string;
9170
+ export class DescribeWebCCRulesV2Request extends $tea.Model {
9171
+ domain?: string;
9172
+ offset?: string;
9173
+ owner?: string;
9174
+ pageSize?: string;
8903
9175
  static names(): { [key: string]: string } {
8904
9176
  return {
8905
- domains: 'Domains',
8906
- resourceGroupId: 'ResourceGroupId',
9177
+ domain: 'Domain',
9178
+ offset: 'Offset',
9179
+ owner: 'Owner',
9180
+ pageSize: 'PageSize',
8907
9181
  };
8908
9182
  }
8909
9183
 
8910
9184
  static types(): { [key: string]: any } {
8911
9185
  return {
8912
- domains: { 'type': 'array', 'itemType': 'string' },
8913
- resourceGroupId: 'string',
9186
+ domain: 'string',
9187
+ offset: 'string',
9188
+ owner: 'string',
9189
+ pageSize: 'string',
8914
9190
  };
8915
9191
  }
8916
9192
 
@@ -8919,7 +9195,82 @@ export class DescribeWebCacheConfigsRequest extends $tea.Model {
8919
9195
  }
8920
9196
  }
8921
9197
 
8922
- export class DescribeWebCacheConfigsResponseBody extends $tea.Model {
9198
+ export class DescribeWebCCRulesV2ResponseBody extends $tea.Model {
9199
+ domain?: string;
9200
+ requestId?: string;
9201
+ totalCount?: string;
9202
+ webCCRules?: DescribeWebCCRulesV2ResponseBodyWebCCRules[];
9203
+ static names(): { [key: string]: string } {
9204
+ return {
9205
+ domain: 'Domain',
9206
+ requestId: 'RequestId',
9207
+ totalCount: 'TotalCount',
9208
+ webCCRules: 'WebCCRules',
9209
+ };
9210
+ }
9211
+
9212
+ static types(): { [key: string]: any } {
9213
+ return {
9214
+ domain: 'string',
9215
+ requestId: 'string',
9216
+ totalCount: 'string',
9217
+ webCCRules: { 'type': 'array', 'itemType': DescribeWebCCRulesV2ResponseBodyWebCCRules },
9218
+ };
9219
+ }
9220
+
9221
+ constructor(map?: { [key: string]: any }) {
9222
+ super(map);
9223
+ }
9224
+ }
9225
+
9226
+ export class DescribeWebCCRulesV2Response extends $tea.Model {
9227
+ headers?: { [key: string]: string };
9228
+ statusCode?: number;
9229
+ body?: DescribeWebCCRulesV2ResponseBody;
9230
+ static names(): { [key: string]: string } {
9231
+ return {
9232
+ headers: 'headers',
9233
+ statusCode: 'statusCode',
9234
+ body: 'body',
9235
+ };
9236
+ }
9237
+
9238
+ static types(): { [key: string]: any } {
9239
+ return {
9240
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9241
+ statusCode: 'number',
9242
+ body: DescribeWebCCRulesV2ResponseBody,
9243
+ };
9244
+ }
9245
+
9246
+ constructor(map?: { [key: string]: any }) {
9247
+ super(map);
9248
+ }
9249
+ }
9250
+
9251
+ export class DescribeWebCacheConfigsRequest extends $tea.Model {
9252
+ domains?: string[];
9253
+ resourceGroupId?: string;
9254
+ static names(): { [key: string]: string } {
9255
+ return {
9256
+ domains: 'Domains',
9257
+ resourceGroupId: 'ResourceGroupId',
9258
+ };
9259
+ }
9260
+
9261
+ static types(): { [key: string]: any } {
9262
+ return {
9263
+ domains: { 'type': 'array', 'itemType': 'string' },
9264
+ resourceGroupId: 'string',
9265
+ };
9266
+ }
9267
+
9268
+ constructor(map?: { [key: string]: any }) {
9269
+ super(map);
9270
+ }
9271
+ }
9272
+
9273
+ export class DescribeWebCacheConfigsResponseBody extends $tea.Model {
8923
9274
  domainCacheConfigs?: DescribeWebCacheConfigsResponseBodyDomainCacheConfigs[];
8924
9275
  requestId?: string;
8925
9276
  static names(): { [key: string]: string } {
@@ -13923,25 +14274,37 @@ export class DescribeHealthCheckStatusResponseBodyHealthCheckStatus extends $tea
13923
14274
  }
13924
14275
 
13925
14276
  export class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends $tea.Model {
14277
+ certConfigured?: boolean;
13926
14278
  eip?: string;
14279
+ functionVersion?: string;
13927
14280
  ipMode?: string;
13928
14281
  ipVersion?: string;
14282
+ ssl13Enabled?: boolean;
13929
14283
  status?: string;
14284
+ tlsVersion?: string;
13930
14285
  static names(): { [key: string]: string } {
13931
14286
  return {
14287
+ certConfigured: 'CertConfigured',
13932
14288
  eip: 'Eip',
14289
+ functionVersion: 'FunctionVersion',
13933
14290
  ipMode: 'IpMode',
13934
14291
  ipVersion: 'IpVersion',
14292
+ ssl13Enabled: 'Ssl13Enabled',
13935
14293
  status: 'Status',
14294
+ tlsVersion: 'TlsVersion',
13936
14295
  };
13937
14296
  }
13938
14297
 
13939
14298
  static types(): { [key: string]: any } {
13940
14299
  return {
14300
+ certConfigured: 'boolean',
13941
14301
  eip: 'string',
14302
+ functionVersion: 'string',
13942
14303
  ipMode: 'string',
13943
14304
  ipVersion: 'string',
14305
+ ssl13Enabled: 'boolean',
13944
14306
  status: 'string',
14307
+ tlsVersion: 'string',
13945
14308
  };
13946
14309
  }
13947
14310
 
@@ -14274,6 +14637,31 @@ export class DescribeL7RsPolicyResponseBodyAttributes extends $tea.Model {
14274
14637
  }
14275
14638
  }
14276
14639
 
14640
+ export class DescribeL7UsKeepaliveResponseBodyRsKeepalive extends $tea.Model {
14641
+ enabled?: boolean;
14642
+ keepaliveRequests?: number;
14643
+ keepaliveTimeout?: number;
14644
+ static names(): { [key: string]: string } {
14645
+ return {
14646
+ enabled: 'Enabled',
14647
+ keepaliveRequests: 'KeepaliveRequests',
14648
+ keepaliveTimeout: 'KeepaliveTimeout',
14649
+ };
14650
+ }
14651
+
14652
+ static types(): { [key: string]: any } {
14653
+ return {
14654
+ enabled: 'boolean',
14655
+ keepaliveRequests: 'number',
14656
+ keepaliveTimeout: 'number',
14657
+ };
14658
+ }
14659
+
14660
+ constructor(map?: { [key: string]: any }) {
14661
+ super(map);
14662
+ }
14663
+ }
14664
+
14277
14665
  export class DescribeLayer4RulePolicyResponseBodyPriRealServers extends $tea.Model {
14278
14666
  currentIndex?: number;
14279
14667
  eip?: string;
@@ -15424,6 +15812,198 @@ export class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model {
15424
15812
  }
15425
15813
  }
15426
15814
 
15815
+ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition extends $tea.Model {
15816
+ content?: string;
15817
+ field?: string;
15818
+ headerName?: string;
15819
+ matchMethod?: string;
15820
+ static names(): { [key: string]: string } {
15821
+ return {
15822
+ content: 'Content',
15823
+ field: 'Field',
15824
+ headerName: 'HeaderName',
15825
+ matchMethod: 'MatchMethod',
15826
+ };
15827
+ }
15828
+
15829
+ static types(): { [key: string]: any } {
15830
+ return {
15831
+ content: 'string',
15832
+ field: 'string',
15833
+ headerName: 'string',
15834
+ matchMethod: 'string',
15835
+ };
15836
+ }
15837
+
15838
+ constructor(map?: { [key: string]: any }) {
15839
+ super(map);
15840
+ }
15841
+ }
15842
+
15843
+ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit extends $tea.Model {
15844
+ interval?: number;
15845
+ subKey?: string;
15846
+ target?: string;
15847
+ threshold?: number;
15848
+ ttl?: number;
15849
+ static names(): { [key: string]: string } {
15850
+ return {
15851
+ interval: 'Interval',
15852
+ subKey: 'SubKey',
15853
+ target: 'Target',
15854
+ threshold: 'Threshold',
15855
+ ttl: 'Ttl',
15856
+ };
15857
+ }
15858
+
15859
+ static types(): { [key: string]: any } {
15860
+ return {
15861
+ interval: 'number',
15862
+ subKey: 'string',
15863
+ target: 'string',
15864
+ threshold: 'number',
15865
+ ttl: 'number',
15866
+ };
15867
+ }
15868
+
15869
+ constructor(map?: { [key: string]: any }) {
15870
+ super(map);
15871
+ }
15872
+ }
15873
+
15874
+ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics extends $tea.Model {
15875
+ field?: string;
15876
+ headerName?: string;
15877
+ mode?: string;
15878
+ static names(): { [key: string]: string } {
15879
+ return {
15880
+ field: 'Field',
15881
+ headerName: 'HeaderName',
15882
+ mode: 'Mode',
15883
+ };
15884
+ }
15885
+
15886
+ static types(): { [key: string]: any } {
15887
+ return {
15888
+ field: 'string',
15889
+ headerName: 'string',
15890
+ mode: 'string',
15891
+ };
15892
+ }
15893
+
15894
+ constructor(map?: { [key: string]: any }) {
15895
+ super(map);
15896
+ }
15897
+ }
15898
+
15899
+ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode extends $tea.Model {
15900
+ code?: number;
15901
+ countThreshold?: number;
15902
+ enabled?: boolean;
15903
+ ratioThreshold?: number;
15904
+ useRatio?: boolean;
15905
+ static names(): { [key: string]: string } {
15906
+ return {
15907
+ code: 'Code',
15908
+ countThreshold: 'CountThreshold',
15909
+ enabled: 'Enabled',
15910
+ ratioThreshold: 'RatioThreshold',
15911
+ useRatio: 'UseRatio',
15912
+ };
15913
+ }
15914
+
15915
+ static types(): { [key: string]: any } {
15916
+ return {
15917
+ code: 'number',
15918
+ countThreshold: 'number',
15919
+ enabled: 'boolean',
15920
+ ratioThreshold: 'number',
15921
+ useRatio: 'boolean',
15922
+ };
15923
+ }
15924
+
15925
+ constructor(map?: { [key: string]: any }) {
15926
+ super(map);
15927
+ }
15928
+ }
15929
+
15930
+ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail extends $tea.Model {
15931
+ action?: string;
15932
+ condition?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition[];
15933
+ count?: number;
15934
+ interval?: number;
15935
+ mode?: string;
15936
+ name?: string;
15937
+ rateLimit?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit;
15938
+ statistics?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics;
15939
+ statusCode?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode;
15940
+ ttl?: number;
15941
+ uri?: string;
15942
+ static names(): { [key: string]: string } {
15943
+ return {
15944
+ action: 'Action',
15945
+ condition: 'Condition',
15946
+ count: 'Count',
15947
+ interval: 'Interval',
15948
+ mode: 'Mode',
15949
+ name: 'Name',
15950
+ rateLimit: 'RateLimit',
15951
+ statistics: 'Statistics',
15952
+ statusCode: 'StatusCode',
15953
+ ttl: 'Ttl',
15954
+ uri: 'Uri',
15955
+ };
15956
+ }
15957
+
15958
+ static types(): { [key: string]: any } {
15959
+ return {
15960
+ action: 'string',
15961
+ condition: { 'type': 'array', 'itemType': DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition },
15962
+ count: 'number',
15963
+ interval: 'number',
15964
+ mode: 'string',
15965
+ name: 'string',
15966
+ rateLimit: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit,
15967
+ statistics: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics,
15968
+ statusCode: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode,
15969
+ ttl: 'number',
15970
+ uri: 'string',
15971
+ };
15972
+ }
15973
+
15974
+ constructor(map?: { [key: string]: any }) {
15975
+ super(map);
15976
+ }
15977
+ }
15978
+
15979
+ export class DescribeWebCCRulesV2ResponseBodyWebCCRules extends $tea.Model {
15980
+ expires?: number;
15981
+ name?: string;
15982
+ owner?: string;
15983
+ ruleDetail?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail;
15984
+ static names(): { [key: string]: string } {
15985
+ return {
15986
+ expires: 'Expires',
15987
+ name: 'Name',
15988
+ owner: 'Owner',
15989
+ ruleDetail: 'RuleDetail',
15990
+ };
15991
+ }
15992
+
15993
+ static types(): { [key: string]: any } {
15994
+ return {
15995
+ expires: 'number',
15996
+ name: 'string',
15997
+ owner: 'string',
15998
+ ruleDetail: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail,
15999
+ };
16000
+ }
16001
+
16002
+ constructor(map?: { [key: string]: any }) {
16003
+ super(map);
16004
+ }
16005
+ }
16006
+
15427
16007
  export class DescribeWebCacheConfigsResponseBodyDomainCacheConfigsCustomRules extends $tea.Model {
15428
16008
  cacheTtl?: number;
15429
16009
  mode?: string;
@@ -16140,6 +16720,56 @@ export default class Client extends OpenApi {
16140
16720
  return await this.attachSceneDefenseObjectWithOptions(request, runtime);
16141
16721
  }
16142
16722
 
16723
+ /**
16724
+ * @summary 配置安全概要属性
16725
+ *
16726
+ * @param request ConfigDomainSecurityProfileRequest
16727
+ * @param runtime runtime options for this request RuntimeOptions
16728
+ * @return ConfigDomainSecurityProfileResponse
16729
+ */
16730
+ async configDomainSecurityProfileWithOptions(request: ConfigDomainSecurityProfileRequest, runtime: $Util.RuntimeOptions): Promise<ConfigDomainSecurityProfileResponse> {
16731
+ Util.validateModel(request);
16732
+ let query = { };
16733
+ if (!Util.isUnset(request.cluster)) {
16734
+ query["Cluster"] = request.cluster;
16735
+ }
16736
+
16737
+ if (!Util.isUnset(request.config)) {
16738
+ query["Config"] = request.config;
16739
+ }
16740
+
16741
+ if (!Util.isUnset(request.domain)) {
16742
+ query["Domain"] = request.domain;
16743
+ }
16744
+
16745
+ let req = new $OpenApi.OpenApiRequest({
16746
+ query: OpenApiUtil.query(query),
16747
+ });
16748
+ let params = new $OpenApi.Params({
16749
+ action: "ConfigDomainSecurityProfile",
16750
+ version: "2020-01-01",
16751
+ protocol: "HTTPS",
16752
+ pathname: "/",
16753
+ method: "POST",
16754
+ authType: "AK",
16755
+ style: "RPC",
16756
+ reqBodyType: "formData",
16757
+ bodyType: "json",
16758
+ });
16759
+ return $tea.cast<ConfigDomainSecurityProfileResponse>(await this.callApi(params, req, runtime), new ConfigDomainSecurityProfileResponse({}));
16760
+ }
16761
+
16762
+ /**
16763
+ * @summary 配置安全概要属性
16764
+ *
16765
+ * @param request ConfigDomainSecurityProfileRequest
16766
+ * @return ConfigDomainSecurityProfileResponse
16767
+ */
16768
+ async configDomainSecurityProfile(request: ConfigDomainSecurityProfileRequest): Promise<ConfigDomainSecurityProfileResponse> {
16769
+ let runtime = new $Util.RuntimeOptions({ });
16770
+ return await this.configDomainSecurityProfileWithOptions(request, runtime);
16771
+ }
16772
+
16143
16773
  /**
16144
16774
  * @summary Configures a back-to-origin policy for the forwarding rule of a website.
16145
16775
  *
@@ -16198,6 +16828,52 @@ export default class Client extends OpenApi {
16198
16828
  return await this.configL7RsPolicyWithOptions(request, runtime);
16199
16829
  }
16200
16830
 
16831
+ /**
16832
+ * @summary 配置长连接
16833
+ *
16834
+ * @param request ConfigL7UsKeepaliveRequest
16835
+ * @param runtime runtime options for this request RuntimeOptions
16836
+ * @return ConfigL7UsKeepaliveResponse
16837
+ */
16838
+ async configL7UsKeepaliveWithOptions(request: ConfigL7UsKeepaliveRequest, runtime: $Util.RuntimeOptions): Promise<ConfigL7UsKeepaliveResponse> {
16839
+ Util.validateModel(request);
16840
+ let query = { };
16841
+ if (!Util.isUnset(request.domain)) {
16842
+ query["Domain"] = request.domain;
16843
+ }
16844
+
16845
+ if (!Util.isUnset(request.upstreamKeepalive)) {
16846
+ query["UpstreamKeepalive"] = request.upstreamKeepalive;
16847
+ }
16848
+
16849
+ let req = new $OpenApi.OpenApiRequest({
16850
+ query: OpenApiUtil.query(query),
16851
+ });
16852
+ let params = new $OpenApi.Params({
16853
+ action: "ConfigL7UsKeepalive",
16854
+ version: "2020-01-01",
16855
+ protocol: "HTTPS",
16856
+ pathname: "/",
16857
+ method: "POST",
16858
+ authType: "AK",
16859
+ style: "RPC",
16860
+ reqBodyType: "formData",
16861
+ bodyType: "json",
16862
+ });
16863
+ return $tea.cast<ConfigL7UsKeepaliveResponse>(await this.callApi(params, req, runtime), new ConfigL7UsKeepaliveResponse({}));
16864
+ }
16865
+
16866
+ /**
16867
+ * @summary 配置长连接
16868
+ *
16869
+ * @param request ConfigL7UsKeepaliveRequest
16870
+ * @return ConfigL7UsKeepaliveResponse
16871
+ */
16872
+ async configL7UsKeepalive(request: ConfigL7UsKeepaliveRequest): Promise<ConfigL7UsKeepaliveResponse> {
16873
+ let runtime = new $Util.RuntimeOptions({ });
16874
+ return await this.configL7UsKeepaliveWithOptions(request, runtime);
16875
+ }
16876
+
16201
16877
  /**
16202
16878
  * @summary Specifies a threshold for the clean bandwidth of an Anti-DDoS Pro or Anti-DDoS premium instance. If the threshold is reached, rate limiting is triggered.
16203
16879
  *
@@ -16520,6 +17196,56 @@ export default class Client extends OpenApi {
16520
17196
  return await this.configUdpReflectWithOptions(request, runtime);
16521
17197
  }
16522
17198
 
17199
+ /**
17200
+ * @summary 配置新版基于匹配条件的cc规则
17201
+ *
17202
+ * @param request ConfigWebCCRuleV2Request
17203
+ * @param runtime runtime options for this request RuntimeOptions
17204
+ * @return ConfigWebCCRuleV2Response
17205
+ */
17206
+ async configWebCCRuleV2WithOptions(request: ConfigWebCCRuleV2Request, runtime: $Util.RuntimeOptions): Promise<ConfigWebCCRuleV2Response> {
17207
+ Util.validateModel(request);
17208
+ let query = { };
17209
+ if (!Util.isUnset(request.domain)) {
17210
+ query["Domain"] = request.domain;
17211
+ }
17212
+
17213
+ if (!Util.isUnset(request.expires)) {
17214
+ query["Expires"] = request.expires;
17215
+ }
17216
+
17217
+ if (!Util.isUnset(request.ruleList)) {
17218
+ query["RuleList"] = request.ruleList;
17219
+ }
17220
+
17221
+ let req = new $OpenApi.OpenApiRequest({
17222
+ query: OpenApiUtil.query(query),
17223
+ });
17224
+ let params = new $OpenApi.Params({
17225
+ action: "ConfigWebCCRuleV2",
17226
+ version: "2020-01-01",
17227
+ protocol: "HTTPS",
17228
+ pathname: "/",
17229
+ method: "POST",
17230
+ authType: "AK",
17231
+ style: "RPC",
17232
+ reqBodyType: "formData",
17233
+ bodyType: "json",
17234
+ });
17235
+ return $tea.cast<ConfigWebCCRuleV2Response>(await this.callApi(params, req, runtime), new ConfigWebCCRuleV2Response({}));
17236
+ }
17237
+
17238
+ /**
17239
+ * @summary 配置新版基于匹配条件的cc规则
17240
+ *
17241
+ * @param request ConfigWebCCRuleV2Request
17242
+ * @return ConfigWebCCRuleV2Response
17243
+ */
17244
+ async configWebCCRuleV2(request: ConfigWebCCRuleV2Request): Promise<ConfigWebCCRuleV2Response> {
17245
+ let runtime = new $Util.RuntimeOptions({ });
17246
+ return await this.configWebCCRuleV2WithOptions(request, runtime);
17247
+ }
17248
+
16523
17249
  /**
16524
17250
  * @summary Configures the mode of the Frequency Control policy for a website.
16525
17251
  *
@@ -20290,6 +21016,48 @@ export default class Client extends OpenApi {
20290
21016
  return await this.describeL7RsPolicyWithOptions(request, runtime);
20291
21017
  }
20292
21018
 
21019
+ /**
21020
+ * @summary 查询长连接
21021
+ *
21022
+ * @param request DescribeL7UsKeepaliveRequest
21023
+ * @param runtime runtime options for this request RuntimeOptions
21024
+ * @return DescribeL7UsKeepaliveResponse
21025
+ */
21026
+ async describeL7UsKeepaliveWithOptions(request: DescribeL7UsKeepaliveRequest, runtime: $Util.RuntimeOptions): Promise<DescribeL7UsKeepaliveResponse> {
21027
+ Util.validateModel(request);
21028
+ let query = { };
21029
+ if (!Util.isUnset(request.domain)) {
21030
+ query["Domain"] = request.domain;
21031
+ }
21032
+
21033
+ let req = new $OpenApi.OpenApiRequest({
21034
+ query: OpenApiUtil.query(query),
21035
+ });
21036
+ let params = new $OpenApi.Params({
21037
+ action: "DescribeL7UsKeepalive",
21038
+ version: "2020-01-01",
21039
+ protocol: "HTTPS",
21040
+ pathname: "/",
21041
+ method: "POST",
21042
+ authType: "AK",
21043
+ style: "RPC",
21044
+ reqBodyType: "formData",
21045
+ bodyType: "json",
21046
+ });
21047
+ return $tea.cast<DescribeL7UsKeepaliveResponse>(await this.callApi(params, req, runtime), new DescribeL7UsKeepaliveResponse({}));
21048
+ }
21049
+
21050
+ /**
21051
+ * @summary 查询长连接
21052
+ *
21053
+ * @param request DescribeL7UsKeepaliveRequest
21054
+ * @return DescribeL7UsKeepaliveResponse
21055
+ */
21056
+ async describeL7UsKeepalive(request: DescribeL7UsKeepaliveRequest): Promise<DescribeL7UsKeepaliveResponse> {
21057
+ let runtime = new $Util.RuntimeOptions({ });
21058
+ return await this.describeL7UsKeepaliveWithOptions(request, runtime);
21059
+ }
21060
+
20293
21061
  /**
20294
21062
  * @summary Queries the back-to-origin settings of a port forwarding rule.
20295
21063
  *
@@ -22302,6 +23070,60 @@ export default class Client extends OpenApi {
22302
23070
  return await this.describeWebCCRulesWithOptions(request, runtime);
22303
23071
  }
22304
23072
 
23073
+ /**
23074
+ * @summary 查询新版cc规则
23075
+ *
23076
+ * @param request DescribeWebCCRulesV2Request
23077
+ * @param runtime runtime options for this request RuntimeOptions
23078
+ * @return DescribeWebCCRulesV2Response
23079
+ */
23080
+ async describeWebCCRulesV2WithOptions(request: DescribeWebCCRulesV2Request, runtime: $Util.RuntimeOptions): Promise<DescribeWebCCRulesV2Response> {
23081
+ Util.validateModel(request);
23082
+ let query = { };
23083
+ if (!Util.isUnset(request.domain)) {
23084
+ query["Domain"] = request.domain;
23085
+ }
23086
+
23087
+ if (!Util.isUnset(request.offset)) {
23088
+ query["Offset"] = request.offset;
23089
+ }
23090
+
23091
+ if (!Util.isUnset(request.owner)) {
23092
+ query["Owner"] = request.owner;
23093
+ }
23094
+
23095
+ if (!Util.isUnset(request.pageSize)) {
23096
+ query["PageSize"] = request.pageSize;
23097
+ }
23098
+
23099
+ let req = new $OpenApi.OpenApiRequest({
23100
+ query: OpenApiUtil.query(query),
23101
+ });
23102
+ let params = new $OpenApi.Params({
23103
+ action: "DescribeWebCCRulesV2",
23104
+ version: "2020-01-01",
23105
+ protocol: "HTTPS",
23106
+ pathname: "/",
23107
+ method: "POST",
23108
+ authType: "AK",
23109
+ style: "RPC",
23110
+ reqBodyType: "formData",
23111
+ bodyType: "json",
23112
+ });
23113
+ return $tea.cast<DescribeWebCCRulesV2Response>(await this.callApi(params, req, runtime), new DescribeWebCCRulesV2Response({}));
23114
+ }
23115
+
23116
+ /**
23117
+ * @summary 查询新版cc规则
23118
+ *
23119
+ * @param request DescribeWebCCRulesV2Request
23120
+ * @return DescribeWebCCRulesV2Response
23121
+ */
23122
+ async describeWebCCRulesV2(request: DescribeWebCCRulesV2Request): Promise<DescribeWebCCRulesV2Response> {
23123
+ let runtime = new $Util.RuntimeOptions({ });
23124
+ return await this.describeWebCCRulesV2WithOptions(request, runtime);
23125
+ }
23126
+
22305
23127
  /**
22306
23128
  * @summary Queries the Static Page Caching configuration of websites.
22307
23129
  *