@alicloud/ddoscoo20200101 2.1.0 → 2.2.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
@@ -506,6 +506,48 @@ export declare class ConfigUdpReflectResponse extends $tea.Model {
506
506
  [key: string]: any;
507
507
  });
508
508
  }
509
+ export declare class ConfigWebCCRuleV2Request extends $tea.Model {
510
+ domain?: string;
511
+ expires?: number;
512
+ ruleList?: string;
513
+ static names(): {
514
+ [key: string]: string;
515
+ };
516
+ static types(): {
517
+ [key: string]: any;
518
+ };
519
+ constructor(map?: {
520
+ [key: string]: any;
521
+ });
522
+ }
523
+ export declare class ConfigWebCCRuleV2ResponseBody extends $tea.Model {
524
+ requestId?: string;
525
+ static names(): {
526
+ [key: string]: string;
527
+ };
528
+ static types(): {
529
+ [key: string]: any;
530
+ };
531
+ constructor(map?: {
532
+ [key: string]: any;
533
+ });
534
+ }
535
+ export declare class ConfigWebCCRuleV2Response extends $tea.Model {
536
+ headers?: {
537
+ [key: string]: string;
538
+ };
539
+ statusCode?: number;
540
+ body?: ConfigWebCCRuleV2ResponseBody;
541
+ static names(): {
542
+ [key: string]: string;
543
+ };
544
+ static types(): {
545
+ [key: string]: any;
546
+ };
547
+ constructor(map?: {
548
+ [key: string]: any;
549
+ });
550
+ }
509
551
  export declare class ConfigWebCCTemplateRequest extends $tea.Model {
510
552
  domain?: string;
511
553
  resourceGroupId?: string;
@@ -5266,6 +5308,52 @@ export declare class DescribeWebCCRulesResponse extends $tea.Model {
5266
5308
  [key: string]: any;
5267
5309
  });
5268
5310
  }
5311
+ export declare class DescribeWebCCRulesV2Request extends $tea.Model {
5312
+ domain?: string;
5313
+ offset?: string;
5314
+ owner?: string;
5315
+ pageSize?: string;
5316
+ static names(): {
5317
+ [key: string]: string;
5318
+ };
5319
+ static types(): {
5320
+ [key: string]: any;
5321
+ };
5322
+ constructor(map?: {
5323
+ [key: string]: any;
5324
+ });
5325
+ }
5326
+ export declare class DescribeWebCCRulesV2ResponseBody extends $tea.Model {
5327
+ domain?: string;
5328
+ requestId?: string;
5329
+ totalCount?: string;
5330
+ webCCRules?: DescribeWebCCRulesV2ResponseBodyWebCCRules[];
5331
+ static names(): {
5332
+ [key: string]: string;
5333
+ };
5334
+ static types(): {
5335
+ [key: string]: any;
5336
+ };
5337
+ constructor(map?: {
5338
+ [key: string]: any;
5339
+ });
5340
+ }
5341
+ export declare class DescribeWebCCRulesV2Response extends $tea.Model {
5342
+ headers?: {
5343
+ [key: string]: string;
5344
+ };
5345
+ statusCode?: number;
5346
+ body?: DescribeWebCCRulesV2ResponseBody;
5347
+ static names(): {
5348
+ [key: string]: string;
5349
+ };
5350
+ static types(): {
5351
+ [key: string]: any;
5352
+ };
5353
+ constructor(map?: {
5354
+ [key: string]: any;
5355
+ });
5356
+ }
5269
5357
  export declare class DescribeWebCacheConfigsRequest extends $tea.Model {
5270
5358
  domains?: string[];
5271
5359
  resourceGroupId?: string;
@@ -8993,6 +9081,104 @@ export declare class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model
8993
9081
  [key: string]: any;
8994
9082
  });
8995
9083
  }
9084
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition extends $tea.Model {
9085
+ content?: string;
9086
+ field?: string;
9087
+ headerName?: string;
9088
+ matchMethod?: string;
9089
+ static names(): {
9090
+ [key: string]: string;
9091
+ };
9092
+ static types(): {
9093
+ [key: string]: any;
9094
+ };
9095
+ constructor(map?: {
9096
+ [key: string]: any;
9097
+ });
9098
+ }
9099
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit extends $tea.Model {
9100
+ interval?: number;
9101
+ subKey?: string;
9102
+ target?: string;
9103
+ threshold?: number;
9104
+ ttl?: number;
9105
+ static names(): {
9106
+ [key: string]: string;
9107
+ };
9108
+ static types(): {
9109
+ [key: string]: any;
9110
+ };
9111
+ constructor(map?: {
9112
+ [key: string]: any;
9113
+ });
9114
+ }
9115
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics extends $tea.Model {
9116
+ field?: string;
9117
+ headerName?: string;
9118
+ mode?: string;
9119
+ static names(): {
9120
+ [key: string]: string;
9121
+ };
9122
+ static types(): {
9123
+ [key: string]: any;
9124
+ };
9125
+ constructor(map?: {
9126
+ [key: string]: any;
9127
+ });
9128
+ }
9129
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode extends $tea.Model {
9130
+ code?: number;
9131
+ countThreshold?: number;
9132
+ enabled?: boolean;
9133
+ ratioThreshold?: number;
9134
+ useRatio?: boolean;
9135
+ static names(): {
9136
+ [key: string]: string;
9137
+ };
9138
+ static types(): {
9139
+ [key: string]: any;
9140
+ };
9141
+ constructor(map?: {
9142
+ [key: string]: any;
9143
+ });
9144
+ }
9145
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail extends $tea.Model {
9146
+ action?: string;
9147
+ condition?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition[];
9148
+ count?: number;
9149
+ interval?: number;
9150
+ mode?: string;
9151
+ name?: string;
9152
+ rateLimit?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailRateLimit;
9153
+ statistics?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatistics;
9154
+ statusCode?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode;
9155
+ ttl?: number;
9156
+ uri?: string;
9157
+ static names(): {
9158
+ [key: string]: string;
9159
+ };
9160
+ static types(): {
9161
+ [key: string]: any;
9162
+ };
9163
+ constructor(map?: {
9164
+ [key: string]: any;
9165
+ });
9166
+ }
9167
+ export declare class DescribeWebCCRulesV2ResponseBodyWebCCRules extends $tea.Model {
9168
+ expires?: number;
9169
+ name?: string;
9170
+ owner?: string;
9171
+ ruleDetail?: DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetail;
9172
+ static names(): {
9173
+ [key: string]: string;
9174
+ };
9175
+ static types(): {
9176
+ [key: string]: any;
9177
+ };
9178
+ constructor(map?: {
9179
+ [key: string]: any;
9180
+ });
9181
+ }
8996
9182
  export declare class DescribeWebCacheConfigsResponseBodyDomainCacheConfigsCustomRules extends $tea.Model {
8997
9183
  cacheTtl?: number;
8998
9184
  mode?: string;
@@ -9436,6 +9622,21 @@ export default class Client extends OpenApi {
9436
9622
  * @return ConfigUdpReflectResponse
9437
9623
  */
9438
9624
  configUdpReflect(request: ConfigUdpReflectRequest): Promise<ConfigUdpReflectResponse>;
9625
+ /**
9626
+ * @summary 配置新版基于匹配条件的cc规则
9627
+ *
9628
+ * @param request ConfigWebCCRuleV2Request
9629
+ * @param runtime runtime options for this request RuntimeOptions
9630
+ * @return ConfigWebCCRuleV2Response
9631
+ */
9632
+ configWebCCRuleV2WithOptions(request: ConfigWebCCRuleV2Request, runtime: $Util.RuntimeOptions): Promise<ConfigWebCCRuleV2Response>;
9633
+ /**
9634
+ * @summary 配置新版基于匹配条件的cc规则
9635
+ *
9636
+ * @param request ConfigWebCCRuleV2Request
9637
+ * @return ConfigWebCCRuleV2Response
9638
+ */
9639
+ configWebCCRuleV2(request: ConfigWebCCRuleV2Request): Promise<ConfigWebCCRuleV2Response>;
9439
9640
  /**
9440
9641
  * @summary Configures the mode of the Frequency Control policy for a website.
9441
9642
  *
@@ -11275,6 +11476,21 @@ export default class Client extends OpenApi {
11275
11476
  * @return DescribeWebCCRulesResponse
11276
11477
  */
11277
11478
  describeWebCCRules(request: DescribeWebCCRulesRequest): Promise<DescribeWebCCRulesResponse>;
11479
+ /**
11480
+ * @summary 查询新版cc规则
11481
+ *
11482
+ * @param request DescribeWebCCRulesV2Request
11483
+ * @param runtime runtime options for this request RuntimeOptions
11484
+ * @return DescribeWebCCRulesV2Response
11485
+ */
11486
+ describeWebCCRulesV2WithOptions(request: DescribeWebCCRulesV2Request, runtime: $Util.RuntimeOptions): Promise<DescribeWebCCRulesV2Response>;
11487
+ /**
11488
+ * @summary 查询新版cc规则
11489
+ *
11490
+ * @param request DescribeWebCCRulesV2Request
11491
+ * @return DescribeWebCCRulesV2Response
11492
+ */
11493
+ describeWebCCRulesV2(request: DescribeWebCCRulesV2Request): Promise<DescribeWebCCRulesV2Response>;
11278
11494
  /**
11279
11495
  * @summary Queries the Static Page Caching configuration of websites.
11280
11496
  *