@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/dist/client.d.ts CHANGED
@@ -178,6 +178,48 @@ export declare class AttachSceneDefenseObjectResponse extends $tea.Model {
178
178
  [key: string]: any;
179
179
  });
180
180
  }
181
+ export declare class ConfigDomainSecurityProfileRequest extends $tea.Model {
182
+ cluster?: string;
183
+ config?: string;
184
+ domain?: string;
185
+ static names(): {
186
+ [key: string]: string;
187
+ };
188
+ static types(): {
189
+ [key: string]: any;
190
+ };
191
+ constructor(map?: {
192
+ [key: string]: any;
193
+ });
194
+ }
195
+ export declare class ConfigDomainSecurityProfileResponseBody extends $tea.Model {
196
+ requestId?: string;
197
+ static names(): {
198
+ [key: string]: string;
199
+ };
200
+ static types(): {
201
+ [key: string]: any;
202
+ };
203
+ constructor(map?: {
204
+ [key: string]: any;
205
+ });
206
+ }
207
+ export declare class ConfigDomainSecurityProfileResponse extends $tea.Model {
208
+ headers?: {
209
+ [key: string]: string;
210
+ };
211
+ statusCode?: number;
212
+ body?: ConfigDomainSecurityProfileResponseBody;
213
+ static names(): {
214
+ [key: string]: string;
215
+ };
216
+ static types(): {
217
+ [key: string]: any;
218
+ };
219
+ constructor(map?: {
220
+ [key: string]: any;
221
+ });
222
+ }
181
223
  export declare class ConfigL7RsPolicyRequest extends $tea.Model {
182
224
  domain?: string;
183
225
  policy?: string;
@@ -221,6 +263,47 @@ export declare class ConfigL7RsPolicyResponse extends $tea.Model {
221
263
  [key: string]: any;
222
264
  });
223
265
  }
266
+ export declare class ConfigL7UsKeepaliveRequest extends $tea.Model {
267
+ domain?: string;
268
+ upstreamKeepalive?: string;
269
+ static names(): {
270
+ [key: string]: string;
271
+ };
272
+ static types(): {
273
+ [key: string]: any;
274
+ };
275
+ constructor(map?: {
276
+ [key: string]: any;
277
+ });
278
+ }
279
+ export declare class ConfigL7UsKeepaliveResponseBody extends $tea.Model {
280
+ requestId?: string;
281
+ static names(): {
282
+ [key: string]: string;
283
+ };
284
+ static types(): {
285
+ [key: string]: any;
286
+ };
287
+ constructor(map?: {
288
+ [key: string]: any;
289
+ });
290
+ }
291
+ export declare class ConfigL7UsKeepaliveResponse extends $tea.Model {
292
+ headers?: {
293
+ [key: string]: string;
294
+ };
295
+ statusCode?: number;
296
+ body?: ConfigL7UsKeepaliveResponseBody;
297
+ static names(): {
298
+ [key: string]: string;
299
+ };
300
+ static types(): {
301
+ [key: string]: any;
302
+ };
303
+ constructor(map?: {
304
+ [key: string]: any;
305
+ });
306
+ }
224
307
  export declare class ConfigLayer4RealLimitRequest extends $tea.Model {
225
308
  instanceId?: string;
226
309
  limitValue?: number;
@@ -506,6 +589,48 @@ export declare class ConfigUdpReflectResponse extends $tea.Model {
506
589
  [key: string]: any;
507
590
  });
508
591
  }
592
+ export declare class ConfigWebCCRuleV2Request extends $tea.Model {
593
+ domain?: string;
594
+ expires?: number;
595
+ ruleList?: string;
596
+ static names(): {
597
+ [key: string]: string;
598
+ };
599
+ static types(): {
600
+ [key: string]: any;
601
+ };
602
+ constructor(map?: {
603
+ [key: string]: any;
604
+ });
605
+ }
606
+ export declare class ConfigWebCCRuleV2ResponseBody extends $tea.Model {
607
+ requestId?: string;
608
+ static names(): {
609
+ [key: string]: string;
610
+ };
611
+ static types(): {
612
+ [key: string]: any;
613
+ };
614
+ constructor(map?: {
615
+ [key: string]: any;
616
+ });
617
+ }
618
+ export declare class ConfigWebCCRuleV2Response extends $tea.Model {
619
+ headers?: {
620
+ [key: string]: string;
621
+ };
622
+ statusCode?: number;
623
+ body?: ConfigWebCCRuleV2ResponseBody;
624
+ static names(): {
625
+ [key: string]: string;
626
+ };
627
+ static types(): {
628
+ [key: string]: any;
629
+ };
630
+ constructor(map?: {
631
+ [key: string]: any;
632
+ });
633
+ }
509
634
  export declare class ConfigWebCCTemplateRequest extends $tea.Model {
510
635
  domain?: string;
511
636
  resourceGroupId?: string;
@@ -3592,6 +3717,47 @@ export declare class DescribeL7RsPolicyResponse extends $tea.Model {
3592
3717
  [key: string]: any;
3593
3718
  });
3594
3719
  }
3720
+ export declare class DescribeL7UsKeepaliveRequest extends $tea.Model {
3721
+ domain?: string;
3722
+ static names(): {
3723
+ [key: string]: string;
3724
+ };
3725
+ static types(): {
3726
+ [key: string]: any;
3727
+ };
3728
+ constructor(map?: {
3729
+ [key: string]: any;
3730
+ });
3731
+ }
3732
+ export declare class DescribeL7UsKeepaliveResponseBody extends $tea.Model {
3733
+ requestId?: string;
3734
+ rsKeepalive?: DescribeL7UsKeepaliveResponseBodyRsKeepalive;
3735
+ static names(): {
3736
+ [key: string]: string;
3737
+ };
3738
+ static types(): {
3739
+ [key: string]: any;
3740
+ };
3741
+ constructor(map?: {
3742
+ [key: string]: any;
3743
+ });
3744
+ }
3745
+ export declare class DescribeL7UsKeepaliveResponse extends $tea.Model {
3746
+ headers?: {
3747
+ [key: string]: string;
3748
+ };
3749
+ statusCode?: number;
3750
+ body?: DescribeL7UsKeepaliveResponseBody;
3751
+ static names(): {
3752
+ [key: string]: string;
3753
+ };
3754
+ static types(): {
3755
+ [key: string]: any;
3756
+ };
3757
+ constructor(map?: {
3758
+ [key: string]: any;
3759
+ });
3760
+ }
3595
3761
  export declare class DescribeLayer4RulePolicyRequest extends $tea.Model {
3596
3762
  listeners?: string;
3597
3763
  static names(): {
@@ -5266,6 +5432,52 @@ export declare class DescribeWebCCRulesResponse extends $tea.Model {
5266
5432
  [key: string]: any;
5267
5433
  });
5268
5434
  }
5435
+ export declare class DescribeWebCCRulesV2Request extends $tea.Model {
5436
+ domain?: string;
5437
+ offset?: string;
5438
+ owner?: string;
5439
+ pageSize?: string;
5440
+ static names(): {
5441
+ [key: string]: string;
5442
+ };
5443
+ static types(): {
5444
+ [key: string]: any;
5445
+ };
5446
+ constructor(map?: {
5447
+ [key: string]: any;
5448
+ });
5449
+ }
5450
+ export declare class DescribeWebCCRulesV2ResponseBody extends $tea.Model {
5451
+ domain?: string;
5452
+ requestId?: string;
5453
+ totalCount?: string;
5454
+ webCCRules?: DescribeWebCCRulesV2ResponseBodyWebCCRules[];
5455
+ static names(): {
5456
+ [key: string]: string;
5457
+ };
5458
+ static types(): {
5459
+ [key: string]: any;
5460
+ };
5461
+ constructor(map?: {
5462
+ [key: string]: any;
5463
+ });
5464
+ }
5465
+ export declare class DescribeWebCCRulesV2Response extends $tea.Model {
5466
+ headers?: {
5467
+ [key: string]: string;
5468
+ };
5469
+ statusCode?: number;
5470
+ body?: DescribeWebCCRulesV2ResponseBody;
5471
+ static names(): {
5472
+ [key: string]: string;
5473
+ };
5474
+ static types(): {
5475
+ [key: string]: any;
5476
+ };
5477
+ constructor(map?: {
5478
+ [key: string]: any;
5479
+ });
5480
+ }
5269
5481
  export declare class DescribeWebCacheConfigsRequest extends $tea.Model {
5270
5482
  domains?: string[];
5271
5483
  resourceGroupId?: string;
@@ -8210,10 +8422,14 @@ export declare class DescribeHealthCheckStatusResponseBodyHealthCheckStatus exte
8210
8422
  });
8211
8423
  }
8212
8424
  export declare class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends $tea.Model {
8425
+ certConfigured?: boolean;
8213
8426
  eip?: string;
8427
+ functionVersion?: string;
8214
8428
  ipMode?: string;
8215
8429
  ipVersion?: string;
8430
+ ssl13Enabled?: boolean;
8216
8431
  status?: string;
8432
+ tlsVersion?: string;
8217
8433
  static names(): {
8218
8434
  [key: string]: string;
8219
8435
  };
@@ -8383,6 +8599,20 @@ export declare class DescribeL7RsPolicyResponseBodyAttributes extends $tea.Model
8383
8599
  [key: string]: any;
8384
8600
  });
8385
8601
  }
8602
+ export declare class DescribeL7UsKeepaliveResponseBodyRsKeepalive extends $tea.Model {
8603
+ enabled?: boolean;
8604
+ keepaliveRequests?: number;
8605
+ keepaliveTimeout?: number;
8606
+ static names(): {
8607
+ [key: string]: string;
8608
+ };
8609
+ static types(): {
8610
+ [key: string]: any;
8611
+ };
8612
+ constructor(map?: {
8613
+ [key: string]: any;
8614
+ });
8615
+ }
8386
8616
  export declare class DescribeLayer4RulePolicyResponseBodyPriRealServers extends $tea.Model {
8387
8617
  currentIndex?: number;
8388
8618
  eip?: string;
@@ -8993,6 +9223,104 @@ export declare class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model
8993
9223
  [key: string]: any;
8994
9224
  });
8995
9225
  }
9226
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition extends $tea.Model {
9227
+ content?: string;
9228
+ field?: string;
9229
+ headerName?: string;
9230
+ matchMethod?: string;
9231
+ static names(): {
9232
+ [key: string]: string;
9233
+ };
9234
+ static types(): {
9235
+ [key: string]: any;
9236
+ };
9237
+ constructor(map?: {
9238
+ [key: string]: any;
9239
+ });
9240
+ }
9241
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit extends $tea.Model {
9242
+ interval?: number;
9243
+ subKey?: string;
9244
+ target?: string;
9245
+ threshold?: number;
9246
+ ttl?: number;
9247
+ static names(): {
9248
+ [key: string]: string;
9249
+ };
9250
+ static types(): {
9251
+ [key: string]: any;
9252
+ };
9253
+ constructor(map?: {
9254
+ [key: string]: any;
9255
+ });
9256
+ }
9257
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics extends $tea.Model {
9258
+ field?: string;
9259
+ headerName?: string;
9260
+ mode?: string;
9261
+ static names(): {
9262
+ [key: string]: string;
9263
+ };
9264
+ static types(): {
9265
+ [key: string]: any;
9266
+ };
9267
+ constructor(map?: {
9268
+ [key: string]: any;
9269
+ });
9270
+ }
9271
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode extends $tea.Model {
9272
+ code?: number;
9273
+ countThreshold?: number;
9274
+ enabled?: boolean;
9275
+ ratioThreshold?: number;
9276
+ useRatio?: boolean;
9277
+ static names(): {
9278
+ [key: string]: string;
9279
+ };
9280
+ static types(): {
9281
+ [key: string]: any;
9282
+ };
9283
+ constructor(map?: {
9284
+ [key: string]: any;
9285
+ });
9286
+ }
9287
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail extends $tea.Model {
9288
+ action?: string;
9289
+ condition?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition[];
9290
+ count?: number;
9291
+ interval?: number;
9292
+ mode?: string;
9293
+ name?: string;
9294
+ rateLimit?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit;
9295
+ statistics?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics;
9296
+ statusCode?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode;
9297
+ ttl?: number;
9298
+ uri?: string;
9299
+ static names(): {
9300
+ [key: string]: string;
9301
+ };
9302
+ static types(): {
9303
+ [key: string]: any;
9304
+ };
9305
+ constructor(map?: {
9306
+ [key: string]: any;
9307
+ });
9308
+ }
9309
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRules extends $tea.Model {
9310
+ expires?: number;
9311
+ name?: string;
9312
+ owner?: string;
9313
+ ruleDetail?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail;
9314
+ static names(): {
9315
+ [key: string]: string;
9316
+ };
9317
+ static types(): {
9318
+ [key: string]: any;
9319
+ };
9320
+ constructor(map?: {
9321
+ [key: string]: any;
9322
+ });
9323
+ }
8996
9324
  export declare class DescribeWebCacheConfigsResponseBodyDomainCacheConfigsCustomRules extends $tea.Model {
8997
9325
  cacheTtl?: number;
8998
9326
  mode?: string;
@@ -9304,6 +9632,21 @@ export default class Client extends OpenApi {
9304
9632
  * @return AttachSceneDefenseObjectResponse
9305
9633
  */
9306
9634
  attachSceneDefenseObject(request: AttachSceneDefenseObjectRequest): Promise<AttachSceneDefenseObjectResponse>;
9635
+ /**
9636
+ * @summary 配置安全概要属性
9637
+ *
9638
+ * @param request ConfigDomainSecurityProfileRequest
9639
+ * @param runtime runtime options for this request RuntimeOptions
9640
+ * @return ConfigDomainSecurityProfileResponse
9641
+ */
9642
+ configDomainSecurityProfileWithOptions(request: ConfigDomainSecurityProfileRequest, runtime: $Util.RuntimeOptions): Promise<ConfigDomainSecurityProfileResponse>;
9643
+ /**
9644
+ * @summary 配置安全概要属性
9645
+ *
9646
+ * @param request ConfigDomainSecurityProfileRequest
9647
+ * @return ConfigDomainSecurityProfileResponse
9648
+ */
9649
+ configDomainSecurityProfile(request: ConfigDomainSecurityProfileRequest): Promise<ConfigDomainSecurityProfileResponse>;
9307
9650
  /**
9308
9651
  * @summary Configures a back-to-origin policy for the forwarding rule of a website.
9309
9652
  *
@@ -9323,6 +9666,21 @@ export default class Client extends OpenApi {
9323
9666
  * @return ConfigL7RsPolicyResponse
9324
9667
  */
9325
9668
  configL7RsPolicy(request: ConfigL7RsPolicyRequest): Promise<ConfigL7RsPolicyResponse>;
9669
+ /**
9670
+ * @summary 配置长连接
9671
+ *
9672
+ * @param request ConfigL7UsKeepaliveRequest
9673
+ * @param runtime runtime options for this request RuntimeOptions
9674
+ * @return ConfigL7UsKeepaliveResponse
9675
+ */
9676
+ configL7UsKeepaliveWithOptions(request: ConfigL7UsKeepaliveRequest, runtime: $Util.RuntimeOptions): Promise<ConfigL7UsKeepaliveResponse>;
9677
+ /**
9678
+ * @summary 配置长连接
9679
+ *
9680
+ * @param request ConfigL7UsKeepaliveRequest
9681
+ * @return ConfigL7UsKeepaliveResponse
9682
+ */
9683
+ configL7UsKeepalive(request: ConfigL7UsKeepaliveRequest): Promise<ConfigL7UsKeepaliveResponse>;
9326
9684
  /**
9327
9685
  * @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.
9328
9686
  *
@@ -9436,6 +9794,21 @@ export default class Client extends OpenApi {
9436
9794
  * @return ConfigUdpReflectResponse
9437
9795
  */
9438
9796
  configUdpReflect(request: ConfigUdpReflectRequest): Promise<ConfigUdpReflectResponse>;
9797
+ /**
9798
+ * @summary 配置新版基于匹配条件的cc规则
9799
+ *
9800
+ * @param request ConfigWebCCRuleV2Request
9801
+ * @param runtime runtime options for this request RuntimeOptions
9802
+ * @return ConfigWebCCRuleV2Response
9803
+ */
9804
+ configWebCCRuleV2WithOptions(request: ConfigWebCCRuleV2Request, runtime: $Util.RuntimeOptions): Promise<ConfigWebCCRuleV2Response>;
9805
+ /**
9806
+ * @summary 配置新版基于匹配条件的cc规则
9807
+ *
9808
+ * @param request ConfigWebCCRuleV2Request
9809
+ * @return ConfigWebCCRuleV2Response
9810
+ */
9811
+ configWebCCRuleV2(request: ConfigWebCCRuleV2Request): Promise<ConfigWebCCRuleV2Response>;
9439
9812
  /**
9440
9813
  * @summary Configures the mode of the Frequency Control policy for a website.
9441
9814
  *
@@ -10617,6 +10990,21 @@ export default class Client extends OpenApi {
10617
10990
  * @return DescribeL7RsPolicyResponse
10618
10991
  */
10619
10992
  describeL7RsPolicy(request: DescribeL7RsPolicyRequest): Promise<DescribeL7RsPolicyResponse>;
10993
+ /**
10994
+ * @summary 查询长连接
10995
+ *
10996
+ * @param request DescribeL7UsKeepaliveRequest
10997
+ * @param runtime runtime options for this request RuntimeOptions
10998
+ * @return DescribeL7UsKeepaliveResponse
10999
+ */
11000
+ describeL7UsKeepaliveWithOptions(request: DescribeL7UsKeepaliveRequest, runtime: $Util.RuntimeOptions): Promise<DescribeL7UsKeepaliveResponse>;
11001
+ /**
11002
+ * @summary 查询长连接
11003
+ *
11004
+ * @param request DescribeL7UsKeepaliveRequest
11005
+ * @return DescribeL7UsKeepaliveResponse
11006
+ */
11007
+ describeL7UsKeepalive(request: DescribeL7UsKeepaliveRequest): Promise<DescribeL7UsKeepaliveResponse>;
10620
11008
  /**
10621
11009
  * @summary Queries the back-to-origin settings of a port forwarding rule.
10622
11010
  *
@@ -11275,6 +11663,21 @@ export default class Client extends OpenApi {
11275
11663
  * @return DescribeWebCCRulesResponse
11276
11664
  */
11277
11665
  describeWebCCRules(request: DescribeWebCCRulesRequest): Promise<DescribeWebCCRulesResponse>;
11666
+ /**
11667
+ * @summary 查询新版cc规则
11668
+ *
11669
+ * @param request DescribeWebCCRulesV2Request
11670
+ * @param runtime runtime options for this request RuntimeOptions
11671
+ * @return DescribeWebCCRulesV2Response
11672
+ */
11673
+ describeWebCCRulesV2WithOptions(request: DescribeWebCCRulesV2Request, runtime: $Util.RuntimeOptions): Promise<DescribeWebCCRulesV2Response>;
11674
+ /**
11675
+ * @summary 查询新版cc规则
11676
+ *
11677
+ * @param request DescribeWebCCRulesV2Request
11678
+ * @return DescribeWebCCRulesV2Response
11679
+ */
11680
+ describeWebCCRulesV2(request: DescribeWebCCRulesV2Request): Promise<DescribeWebCCRulesV2Response>;
11278
11681
  /**
11279
11682
  * @summary Queries the Static Page Caching configuration of websites.
11280
11683
  *