@alicloud/ddoscoo20200101 2.0.2 → 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;
@@ -1406,6 +1448,48 @@ export declare class DeleteWebCCRuleResponse extends $tea.Model {
1406
1448
  [key: string]: any;
1407
1449
  });
1408
1450
  }
1451
+ export declare class DeleteWebCCRuleV2Request extends $tea.Model {
1452
+ domain?: string;
1453
+ owner?: string;
1454
+ ruleNames?: string;
1455
+ static names(): {
1456
+ [key: string]: string;
1457
+ };
1458
+ static types(): {
1459
+ [key: string]: any;
1460
+ };
1461
+ constructor(map?: {
1462
+ [key: string]: any;
1463
+ });
1464
+ }
1465
+ export declare class DeleteWebCCRuleV2ResponseBody extends $tea.Model {
1466
+ requestId?: string;
1467
+ static names(): {
1468
+ [key: string]: string;
1469
+ };
1470
+ static types(): {
1471
+ [key: string]: any;
1472
+ };
1473
+ constructor(map?: {
1474
+ [key: string]: any;
1475
+ });
1476
+ }
1477
+ export declare class DeleteWebCCRuleV2Response extends $tea.Model {
1478
+ headers?: {
1479
+ [key: string]: string;
1480
+ };
1481
+ statusCode?: number;
1482
+ body?: DeleteWebCCRuleV2ResponseBody;
1483
+ static names(): {
1484
+ [key: string]: string;
1485
+ };
1486
+ static types(): {
1487
+ [key: string]: any;
1488
+ };
1489
+ constructor(map?: {
1490
+ [key: string]: any;
1491
+ });
1492
+ }
1409
1493
  export declare class DeleteWebCacheCustomRuleRequest extends $tea.Model {
1410
1494
  domain?: string;
1411
1495
  resourceGroupId?: string;
@@ -5224,6 +5308,52 @@ export declare class DescribeWebCCRulesResponse extends $tea.Model {
5224
5308
  [key: string]: any;
5225
5309
  });
5226
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
+ }
5227
5357
  export declare class DescribeWebCacheConfigsRequest extends $tea.Model {
5228
5358
  domains?: string[];
5229
5359
  resourceGroupId?: string;
@@ -7118,6 +7248,47 @@ export declare class ModifyWebAreaBlockSwitchResponse extends $tea.Model {
7118
7248
  [key: string]: any;
7119
7249
  });
7120
7250
  }
7251
+ export declare class ModifyWebCCGlobalSwitchRequest extends $tea.Model {
7252
+ ccGlobalSwitch?: string;
7253
+ domain?: string;
7254
+ static names(): {
7255
+ [key: string]: string;
7256
+ };
7257
+ static types(): {
7258
+ [key: string]: any;
7259
+ };
7260
+ constructor(map?: {
7261
+ [key: string]: any;
7262
+ });
7263
+ }
7264
+ export declare class ModifyWebCCGlobalSwitchResponseBody extends $tea.Model {
7265
+ requestId?: string;
7266
+ static names(): {
7267
+ [key: string]: string;
7268
+ };
7269
+ static types(): {
7270
+ [key: string]: any;
7271
+ };
7272
+ constructor(map?: {
7273
+ [key: string]: any;
7274
+ });
7275
+ }
7276
+ export declare class ModifyWebCCGlobalSwitchResponse extends $tea.Model {
7277
+ headers?: {
7278
+ [key: string]: string;
7279
+ };
7280
+ statusCode?: number;
7281
+ body?: ModifyWebCCGlobalSwitchResponseBody;
7282
+ static names(): {
7283
+ [key: string]: string;
7284
+ };
7285
+ static types(): {
7286
+ [key: string]: any;
7287
+ };
7288
+ constructor(map?: {
7289
+ [key: string]: any;
7290
+ });
7291
+ }
7121
7292
  export declare class ModifyWebCCRuleRequest extends $tea.Model {
7122
7293
  act?: string;
7123
7294
  count?: number;
@@ -8910,6 +9081,104 @@ export declare class DescribeWebCCRulesResponseBodyWebCCRules extends $tea.Model
8910
9081
  [key: string]: any;
8911
9082
  });
8912
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
+ }
8913
9182
  export declare class DescribeWebCacheConfigsResponseBodyDomainCacheConfigsCustomRules extends $tea.Model {
8914
9183
  cacheTtl?: number;
8915
9184
  mode?: string;
@@ -9353,6 +9622,21 @@ export default class Client extends OpenApi {
9353
9622
  * @return ConfigUdpReflectResponse
9354
9623
  */
9355
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>;
9356
9640
  /**
9357
9641
  * @summary Configures the mode of the Frequency Control policy for a website.
9358
9642
  *
@@ -9694,6 +9978,21 @@ export default class Client extends OpenApi {
9694
9978
  * @return DeleteWebCCRuleResponse
9695
9979
  */
9696
9980
  deleteWebCCRule(request: DeleteWebCCRuleRequest): Promise<DeleteWebCCRuleResponse>;
9981
+ /**
9982
+ * @summary 删除新版cc规则
9983
+ *
9984
+ * @param request DeleteWebCCRuleV2Request
9985
+ * @param runtime runtime options for this request RuntimeOptions
9986
+ * @return DeleteWebCCRuleV2Response
9987
+ */
9988
+ deleteWebCCRuleV2WithOptions(request: DeleteWebCCRuleV2Request, runtime: $Util.RuntimeOptions): Promise<DeleteWebCCRuleV2Response>;
9989
+ /**
9990
+ * @summary 删除新版cc规则
9991
+ *
9992
+ * @param request DeleteWebCCRuleV2Request
9993
+ * @return DeleteWebCCRuleV2Response
9994
+ */
9995
+ deleteWebCCRuleV2(request: DeleteWebCCRuleV2Request): Promise<DeleteWebCCRuleV2Response>;
9697
9996
  /**
9698
9997
  * @summary Deletes the custom rules of the Static Page Caching policy for a website.
9699
9998
  *
@@ -11177,6 +11476,21 @@ export default class Client extends OpenApi {
11177
11476
  * @return DescribeWebCCRulesResponse
11178
11477
  */
11179
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>;
11180
11494
  /**
11181
11495
  * @summary Queries the Static Page Caching configuration of websites.
11182
11496
  *
@@ -11900,6 +12214,21 @@ export default class Client extends OpenApi {
11900
12214
  * @return ModifyWebAreaBlockSwitchResponse
11901
12215
  */
11902
12216
  modifyWebAreaBlockSwitch(request: ModifyWebAreaBlockSwitchRequest): Promise<ModifyWebAreaBlockSwitchResponse>;
12217
+ /**
12218
+ * @summary 统一全局CC开关
12219
+ *
12220
+ * @param request ModifyWebCCGlobalSwitchRequest
12221
+ * @param runtime runtime options for this request RuntimeOptions
12222
+ * @return ModifyWebCCGlobalSwitchResponse
12223
+ */
12224
+ modifyWebCCGlobalSwitchWithOptions(request: ModifyWebCCGlobalSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWebCCGlobalSwitchResponse>;
12225
+ /**
12226
+ * @summary 统一全局CC开关
12227
+ *
12228
+ * @param request ModifyWebCCGlobalSwitchRequest
12229
+ * @return ModifyWebCCGlobalSwitchResponse
12230
+ */
12231
+ modifyWebCCGlobalSwitch(request: ModifyWebCCGlobalSwitchRequest): Promise<ModifyWebCCGlobalSwitchResponse>;
11903
12232
  /**
11904
12233
  * @param request ModifyWebCCRuleRequest
11905
12234
  * @param runtime runtime options for this request RuntimeOptions