@alicloud/ddoscoo20200101 2.6.0 → 3.0.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
@@ -3976,6 +3976,60 @@ export class DescribeInstancesResponseBodyInstances extends $dara.Model {
3976
3976
  }
3977
3977
  }
3978
3978
 
3979
+ export class DescribeL7GlobalRuleResponseBodyGlobalRules extends $dara.Model {
3980
+ /**
3981
+ * @example
3982
+ * watch
3983
+ */
3984
+ action?: string;
3985
+ /**
3986
+ * @example
3987
+ * watch
3988
+ */
3989
+ actionDefault?: string;
3990
+ description?: string;
3991
+ /**
3992
+ * @example
3993
+ * 1
3994
+ */
3995
+ enabled?: number;
3996
+ /**
3997
+ * @example
3998
+ * global_1
3999
+ */
4000
+ ruleId?: string;
4001
+ ruleName?: string;
4002
+ static names(): { [key: string]: string } {
4003
+ return {
4004
+ action: 'Action',
4005
+ actionDefault: 'ActionDefault',
4006
+ description: 'Description',
4007
+ enabled: 'Enabled',
4008
+ ruleId: 'RuleId',
4009
+ ruleName: 'RuleName',
4010
+ };
4011
+ }
4012
+
4013
+ static types(): { [key: string]: any } {
4014
+ return {
4015
+ action: 'string',
4016
+ actionDefault: 'string',
4017
+ description: 'string',
4018
+ enabled: 'number',
4019
+ ruleId: 'string',
4020
+ ruleName: 'string',
4021
+ };
4022
+ }
4023
+
4024
+ validate() {
4025
+ super.validate();
4026
+ }
4027
+
4028
+ constructor(map?: { [key: string]: any }) {
4029
+ super(map);
4030
+ }
4031
+ }
4032
+
3979
4033
  export class DescribeL7RsPolicyResponseBodyAttributesAttribute extends $dara.Model {
3980
4034
  /**
3981
4035
  * @remarks
@@ -4891,6 +4945,16 @@ export class DescribeNetworkRulesResponseBodyNetworkRules extends $dara.Model {
4891
4945
  * true
4892
4946
  */
4893
4947
  isAutoCreate?: boolean;
4948
+ /**
4949
+ * @remarks
4950
+ * Indicates whether the payload filtering rule is enabled. Valid values:
4951
+ *
4952
+ * * 1: enabled.
4953
+ * * 0: disabled.
4954
+ *
4955
+ * @example
4956
+ * 1
4957
+ */
4894
4958
  payloadRuleEnable?: number;
4895
4959
  /**
4896
4960
  * @remarks
@@ -4903,7 +4967,27 @@ export class DescribeNetworkRulesResponseBodyNetworkRules extends $dara.Model {
4903
4967
  * tcp
4904
4968
  */
4905
4969
  protocol?: string;
4970
+ /**
4971
+ * @remarks
4972
+ * Indicates whether the traffic diversion switch is on. Valid values:
4973
+ *
4974
+ * * 0: on.
4975
+ * * 1: off.
4976
+ *
4977
+ * @example
4978
+ * 0
4979
+ */
4906
4980
  proxyEnable?: number;
4981
+ /**
4982
+ * @remarks
4983
+ * The status of traffic diversion. Valid values:
4984
+ *
4985
+ * * on: Traffic diversion takes effect.
4986
+ * * off: Traffic diversion does not take effect.
4987
+ *
4988
+ * @example
4989
+ * on
4990
+ */
4907
4991
  proxyStatus?: string;
4908
4992
  /**
4909
4993
  * @remarks
@@ -8464,6 +8548,12 @@ export class ModifyDomainResourceRequestProxyTypes extends $dara.Model {
8464
8548
  export class AddAutoCcBlacklistRequest extends $dara.Model {
8465
8549
  /**
8466
8550
  * @remarks
8551
+ * The IP addresses that you want to manage. This parameter is a JSON string. The string contains the following field:
8552
+ *
8553
+ * * **src**: the IP address. This field is required and must be of the STRING type.
8554
+ *
8555
+ * > You can manually add up to 2,000 IP addresses to the IP address blacklist. Separate multiple IP addresses with spaces or line breaks.
8556
+ *
8467
8557
  * This parameter is required.
8468
8558
  *
8469
8559
  * @example
@@ -9089,6 +9179,108 @@ export class ConfigDomainSecurityProfileResponse extends $dara.Model {
9089
9179
  }
9090
9180
  }
9091
9181
 
9182
+ export class ConfigL7GlobalRuleRequest extends $dara.Model {
9183
+ /**
9184
+ * @remarks
9185
+ * This parameter is required.
9186
+ *
9187
+ * @example
9188
+ * example.com
9189
+ */
9190
+ domain?: string;
9191
+ /**
9192
+ * @remarks
9193
+ * This parameter is required.
9194
+ *
9195
+ * @example
9196
+ * [{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]
9197
+ */
9198
+ ruleAttr?: string;
9199
+ static names(): { [key: string]: string } {
9200
+ return {
9201
+ domain: 'Domain',
9202
+ ruleAttr: 'RuleAttr',
9203
+ };
9204
+ }
9205
+
9206
+ static types(): { [key: string]: any } {
9207
+ return {
9208
+ domain: 'string',
9209
+ ruleAttr: 'string',
9210
+ };
9211
+ }
9212
+
9213
+ validate() {
9214
+ super.validate();
9215
+ }
9216
+
9217
+ constructor(map?: { [key: string]: any }) {
9218
+ super(map);
9219
+ }
9220
+ }
9221
+
9222
+ export class ConfigL7GlobalRuleResponseBody extends $dara.Model {
9223
+ /**
9224
+ * @example
9225
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
9226
+ */
9227
+ requestId?: string;
9228
+ static names(): { [key: string]: string } {
9229
+ return {
9230
+ requestId: 'RequestId',
9231
+ };
9232
+ }
9233
+
9234
+ static types(): { [key: string]: any } {
9235
+ return {
9236
+ requestId: 'string',
9237
+ };
9238
+ }
9239
+
9240
+ validate() {
9241
+ super.validate();
9242
+ }
9243
+
9244
+ constructor(map?: { [key: string]: any }) {
9245
+ super(map);
9246
+ }
9247
+ }
9248
+
9249
+ export class ConfigL7GlobalRuleResponse extends $dara.Model {
9250
+ headers?: { [key: string]: string };
9251
+ statusCode?: number;
9252
+ body?: ConfigL7GlobalRuleResponseBody;
9253
+ static names(): { [key: string]: string } {
9254
+ return {
9255
+ headers: 'headers',
9256
+ statusCode: 'statusCode',
9257
+ body: 'body',
9258
+ };
9259
+ }
9260
+
9261
+ static types(): { [key: string]: any } {
9262
+ return {
9263
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9264
+ statusCode: 'number',
9265
+ body: ConfigL7GlobalRuleResponseBody,
9266
+ };
9267
+ }
9268
+
9269
+ validate() {
9270
+ if(this.headers) {
9271
+ $dara.Model.validateMap(this.headers);
9272
+ }
9273
+ if(this.body && typeof (this.body as any).validate === 'function') {
9274
+ (this.body as any).validate();
9275
+ }
9276
+ super.validate();
9277
+ }
9278
+
9279
+ constructor(map?: { [key: string]: any }) {
9280
+ super(map);
9281
+ }
9282
+ }
9283
+
9092
9284
  export class ConfigL7RsPolicyRequest extends $dara.Model {
9093
9285
  /**
9094
9286
  * @remarks
@@ -11230,8 +11422,8 @@ export class CreateSceneDefensePolicyRequest extends $dara.Model {
11230
11422
  * @remarks
11231
11423
  * The template of the policy. Valid values:
11232
11424
  *
11233
- * * **promotion**: important activity
11234
- * * **bypass**: all traffic forwarded
11425
+ * * **promotion**: important activity.
11426
+ * * **bypass**: all traffic forwarded.
11235
11427
  *
11236
11428
  * This parameter is required.
11237
11429
  *
@@ -12639,7 +12831,7 @@ export class DeletePortRequest extends $dara.Model {
12639
12831
  frontendPort?: string;
12640
12832
  /**
12641
12833
  * @remarks
12642
- * The type of the protocol. Valid values:
12834
+ * The type of the forwarding protocol. Valid values:
12643
12835
  *
12644
12836
  * * **tcp**
12645
12837
  * * **udp**
@@ -14938,6 +15130,10 @@ export class DescribeCertsResponse extends $dara.Model {
14938
15130
  export class DescribeCnameReusesRequest extends $dara.Model {
14939
15131
  /**
14940
15132
  * @remarks
15133
+ * The domain names of the websites. You can specify the domain names of up to 200 websites.
15134
+ *
15135
+ * > A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
15136
+ *
14941
15137
  * This parameter is required.
14942
15138
  *
14943
15139
  * @example
@@ -15315,7 +15511,7 @@ export class DescribeDDosAllEventListRequest extends $dara.Model {
15315
15511
  export class DescribeDDosAllEventListResponseBody extends $dara.Model {
15316
15512
  /**
15317
15513
  * @remarks
15318
- * An array that consists of attack events.
15514
+ * The DDoS attack events.
15319
15515
  */
15320
15516
  attackEvents?: DescribeDDosAllEventListResponseBodyAttackEvents[];
15321
15517
  /**
@@ -19303,6 +19499,7 @@ export class DescribeDomainViewTopUrlRequest extends $dara.Model {
19303
19499
  * 1583683200
19304
19500
  */
19305
19501
  endTime?: number;
19502
+ inerval?: number;
19306
19503
  /**
19307
19504
  * @remarks
19308
19505
  * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
@@ -19337,6 +19534,7 @@ export class DescribeDomainViewTopUrlRequest extends $dara.Model {
19337
19534
  return {
19338
19535
  domain: 'Domain',
19339
19536
  endTime: 'EndTime',
19537
+ inerval: 'Inerval',
19340
19538
  resourceGroupId: 'ResourceGroupId',
19341
19539
  startTime: 'StartTime',
19342
19540
  top: 'Top',
@@ -19347,6 +19545,7 @@ export class DescribeDomainViewTopUrlRequest extends $dara.Model {
19347
19545
  return {
19348
19546
  domain: 'string',
19349
19547
  endTime: 'number',
19548
+ inerval: 'number',
19350
19549
  resourceGroupId: 'string',
19351
19550
  startTime: 'number',
19352
19551
  top: 'number',
@@ -21267,6 +21466,111 @@ export class DescribeInstancesResponse extends $dara.Model {
21267
21466
  }
21268
21467
  }
21269
21468
 
21469
+ export class DescribeL7GlobalRuleRequest extends $dara.Model {
21470
+ /**
21471
+ * @remarks
21472
+ * This parameter is required.
21473
+ *
21474
+ * @example
21475
+ * example.com
21476
+ */
21477
+ domain?: string;
21478
+ /**
21479
+ * @example
21480
+ * zh
21481
+ */
21482
+ lang?: string;
21483
+ static names(): { [key: string]: string } {
21484
+ return {
21485
+ domain: 'Domain',
21486
+ lang: 'Lang',
21487
+ };
21488
+ }
21489
+
21490
+ static types(): { [key: string]: any } {
21491
+ return {
21492
+ domain: 'string',
21493
+ lang: 'string',
21494
+ };
21495
+ }
21496
+
21497
+ validate() {
21498
+ super.validate();
21499
+ }
21500
+
21501
+ constructor(map?: { [key: string]: any }) {
21502
+ super(map);
21503
+ }
21504
+ }
21505
+
21506
+ export class DescribeL7GlobalRuleResponseBody extends $dara.Model {
21507
+ globalRules?: DescribeL7GlobalRuleResponseBodyGlobalRules[];
21508
+ /**
21509
+ * @example
21510
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
21511
+ */
21512
+ requestId?: string;
21513
+ static names(): { [key: string]: string } {
21514
+ return {
21515
+ globalRules: 'GlobalRules',
21516
+ requestId: 'RequestId',
21517
+ };
21518
+ }
21519
+
21520
+ static types(): { [key: string]: any } {
21521
+ return {
21522
+ globalRules: { 'type': 'array', 'itemType': DescribeL7GlobalRuleResponseBodyGlobalRules },
21523
+ requestId: 'string',
21524
+ };
21525
+ }
21526
+
21527
+ validate() {
21528
+ if(Array.isArray(this.globalRules)) {
21529
+ $dara.Model.validateArray(this.globalRules);
21530
+ }
21531
+ super.validate();
21532
+ }
21533
+
21534
+ constructor(map?: { [key: string]: any }) {
21535
+ super(map);
21536
+ }
21537
+ }
21538
+
21539
+ export class DescribeL7GlobalRuleResponse extends $dara.Model {
21540
+ headers?: { [key: string]: string };
21541
+ statusCode?: number;
21542
+ body?: DescribeL7GlobalRuleResponseBody;
21543
+ static names(): { [key: string]: string } {
21544
+ return {
21545
+ headers: 'headers',
21546
+ statusCode: 'statusCode',
21547
+ body: 'body',
21548
+ };
21549
+ }
21550
+
21551
+ static types(): { [key: string]: any } {
21552
+ return {
21553
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21554
+ statusCode: 'number',
21555
+ body: DescribeL7GlobalRuleResponseBody,
21556
+ };
21557
+ }
21558
+
21559
+ validate() {
21560
+ if(this.headers) {
21561
+ $dara.Model.validateMap(this.headers);
21562
+ }
21563
+ if(this.body && typeof (this.body as any).validate === 'function') {
21564
+ (this.body as any).validate();
21565
+ }
21566
+ super.validate();
21567
+ }
21568
+
21569
+ constructor(map?: { [key: string]: any }) {
21570
+ super(map);
21571
+ }
21572
+ }
21573
+
21270
21574
  export class DescribeL7RsPolicyRequest extends $dara.Model {
21271
21575
  /**
21272
21576
  * @remarks
@@ -22150,7 +22454,7 @@ export class DescribeNetworkRulesRequest extends $dara.Model {
22150
22454
  export class DescribeNetworkRulesResponseBody extends $dara.Model {
22151
22455
  /**
22152
22456
  * @remarks
22153
- * The details of the port forwarding rule.
22457
+ * The details of the port forwarding rules.
22154
22458
  */
22155
22459
  networkRules?: DescribeNetworkRulesResponseBodyNetworkRules[];
22156
22460
  /**
@@ -22601,7 +22905,7 @@ export class DescribePortAttackMaxFlowRequest extends $dara.Model {
22601
22905
  endTime?: number;
22602
22906
  /**
22603
22907
  * @remarks
22604
- * An array that consists of the IDs of instances to query.
22908
+ * The IDs of the Anti-DDoS Proxy instances to query.
22605
22909
  *
22606
22910
  * This parameter is required.
22607
22911
  *
@@ -23549,9 +23853,9 @@ export class DescribePortMaxConnsRequest extends $dara.Model {
23549
23853
  endTime?: number;
23550
23854
  /**
23551
23855
  * @remarks
23552
- * The ID of the instance.
23856
+ * The IDs of the Anti-DDoS Proxy instances.
23553
23857
  *
23554
- * > You can call the [DescribeInstanceIds](https://help.aliyun.com/document_detail/157459.html) operation to query the IDs of all instances.
23858
+ * > You can call the [DescribeInstanceIds](https://help.aliyun.com/document_detail/157459.html) operation to query the IDs of all Anti-DDoS Proxy instances.
23555
23859
  *
23556
23860
  * This parameter is required.
23557
23861
  *
@@ -23612,7 +23916,7 @@ export class DescribePortMaxConnsRequest extends $dara.Model {
23612
23916
  export class DescribePortMaxConnsResponseBody extends $dara.Model {
23613
23917
  /**
23614
23918
  * @remarks
23615
- * An array consisting of the details of the maximum number of connections that are established over a port of the instance.
23919
+ * The details of the maximum number of connections that can be established over a port of the instance.
23616
23920
  */
23617
23921
  portMaxConns?: DescribePortMaxConnsResponseBodyPortMaxConns[];
23618
23922
  /**
@@ -23699,7 +24003,7 @@ export class DescribePortViewSourceCountriesRequest extends $dara.Model {
23699
24003
  endTime?: number;
23700
24004
  /**
23701
24005
  * @remarks
23702
- * An array that consists of the IDs of instances to query.
24006
+ * The IDs of the Anti-DDoS Proxy instances to query.
23703
24007
  *
23704
24008
  * This parameter is required.
23705
24009
  *
@@ -23709,9 +24013,9 @@ export class DescribePortViewSourceCountriesRequest extends $dara.Model {
23709
24013
  instanceIds?: string[];
23710
24014
  /**
23711
24015
  * @remarks
23712
- * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
24016
+ * The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
23713
24017
  *
23714
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
24018
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
23715
24019
  *
23716
24020
  * @example
23717
24021
  * rg-acfm2pz25js****
@@ -23770,7 +24074,7 @@ export class DescribePortViewSourceCountriesResponseBody extends $dara.Model {
23770
24074
  requestId?: string;
23771
24075
  /**
23772
24076
  * @remarks
23773
- * An array consisting of countries or areas from which the requests are sent.
24077
+ * The details about the country or area from which the requests are sent.
23774
24078
  */
23775
24079
  sourceCountrys?: DescribePortViewSourceCountriesResponseBodySourceCountrys[];
23776
24080
  static names(): { [key: string]: string } {
@@ -23849,7 +24153,7 @@ export class DescribePortViewSourceIspsRequest extends $dara.Model {
23849
24153
  endTime?: number;
23850
24154
  /**
23851
24155
  * @remarks
23852
- * An array that consists of the IDs of instances to query.
24156
+ * The IDs of the Anti-DDoS Proxy instances to query.
23853
24157
  *
23854
24158
  * This parameter is required.
23855
24159
  *
@@ -23859,9 +24163,9 @@ export class DescribePortViewSourceIspsRequest extends $dara.Model {
23859
24163
  instanceIds?: string[];
23860
24164
  /**
23861
24165
  * @remarks
23862
- * The ID of the resource group to which the instance belongs in Resource Management.
24166
+ * The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.
23863
24167
  *
23864
- * If you do not configure this parameter, the instance belongs to the default resource group.
24168
+ * If you do not specify this parameter, the instance belongs to the default resource group.
23865
24169
  *
23866
24170
  * @example
23867
24171
  * rg-acfm2pz25js****
@@ -23997,7 +24301,7 @@ export class DescribePortViewSourceProvincesRequest extends $dara.Model {
23997
24301
  endTime?: number;
23998
24302
  /**
23999
24303
  * @remarks
24000
- * The IDs of instances to query.
24304
+ * The IDs of the Anti-DDoS Proxy instances to query.
24001
24305
  *
24002
24306
  * This parameter is required.
24003
24307
  *
@@ -24007,9 +24311,9 @@ export class DescribePortViewSourceProvincesRequest extends $dara.Model {
24007
24311
  instanceIds?: string[];
24008
24312
  /**
24009
24313
  * @remarks
24010
- * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
24314
+ * The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.
24011
24315
  *
24012
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
24316
+ * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
24013
24317
  *
24014
24318
  * @example
24015
24319
  * rg-acfm2pz25js****
@@ -24068,7 +24372,7 @@ export class DescribePortViewSourceProvincesResponseBody extends $dara.Model {
24068
24372
  requestId?: string;
24069
24373
  /**
24070
24374
  * @remarks
24071
- * Details about the administrative region in China from which the requests are sent.
24375
+ * The details of the administrative region in China from which the requests are sent.
24072
24376
  */
24073
24377
  sourceProvinces?: DescribePortViewSourceProvincesResponseBodySourceProvinces[];
24074
24378
  static names(): { [key: string]: string } {
@@ -25751,7 +26055,7 @@ export class DescribeTotalAttackMaxFlowRequest extends $dara.Model {
25751
26055
  endTime?: number;
25752
26056
  /**
25753
26057
  * @remarks
25754
- * The IDs of the instances. Separate multiple instance IDs with commas (,). Example: InstanceIds.1, InstanceIds.2, InstanceIds.3.
26058
+ * The IDs of the Anti-DDoS Proxy instances. Separate multiple instance IDs with commas (,). Example: InstanceIds.1, InstanceIds.2, InstanceIds.3.
25755
26059
  *
25756
26060
  * This parameter is required.
25757
26061
  */
@@ -25817,7 +26121,7 @@ export class DescribeTotalAttackMaxFlowResponseBody extends $dara.Model {
25817
26121
  bps?: number;
25818
26122
  /**
25819
26123
  * @remarks
25820
- * The peak packet rate of attack traffic . Unit: packets per second (pps).
26124
+ * The peak packet rate of attack traffic. Unit: packets per second (pps).
25821
26125
  *
25822
26126
  * @example
25823
26127
  * 0
@@ -27522,9 +27826,9 @@ export class DescribeWebCustomPortsResponse extends $dara.Model {
27522
27826
  export class DescribeWebInstanceRelationsRequest extends $dara.Model {
27523
27827
  /**
27524
27828
  * @remarks
27525
- * The domain names of the website. list
27829
+ * The domain names of the website.
27526
27830
  *
27527
- * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
27831
+ * > A forwarding rule must be configured for the domain names. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
27528
27832
  *
27529
27833
  * This parameter is required.
27530
27834
  *
@@ -27802,7 +28106,7 @@ export class DescribeWebReportTopIpRequest extends $dara.Model {
27802
28106
  interval?: number;
27803
28107
  /**
27804
28108
  * @remarks
27805
- * The source of the statistics. Valid value:
28109
+ * The source of the statistics. Valid values:
27806
28110
  *
27807
28111
  * * **visit**: indicates all IP addresses.
27808
28112
  * * **block**: indicates blocked IP addresses.
@@ -27867,7 +28171,7 @@ export class DescribeWebReportTopIpRequest extends $dara.Model {
27867
28171
  export class DescribeWebReportTopIpResponseBody extends $dara.Model {
27868
28172
  /**
27869
28173
  * @remarks
27870
- * The response parameters.
28174
+ * The information about the IP addresses.
27871
28175
  */
27872
28176
  dataList?: DescribeWebReportTopIpResponseBodyDataList[];
27873
28177
  /**
@@ -29106,7 +29410,7 @@ export class EnableWebAccessLogConfigRequest extends $dara.Model {
29106
29410
  * @remarks
29107
29411
  * The domain name of the website.
29108
29412
  *
29109
- * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
29413
+ * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/474212.html) operation to query all domain names.
29110
29414
  *
29111
29415
  * This parameter is required.
29112
29416
  *
@@ -30998,37 +31302,66 @@ export class ModifyHttp2EnableResponse extends $dara.Model {
30998
31302
 
30999
31303
  export class ModifyInstanceRequest extends $dara.Model {
31000
31304
  /**
31305
+ * @remarks
31306
+ * Address type. Values:
31307
+ * - **Ipv4**: IPv4.
31308
+ * - **Ipv6**: IPv6.
31309
+ *
31001
31310
  * @example
31002
31311
  * Ipv4
31003
31312
  */
31004
31313
  addressType?: string;
31005
31314
  /**
31315
+ * @remarks
31316
+ * Elastic protection bandwidth (Mainland China). Unit: Gbps.
31317
+ *
31006
31318
  * @example
31007
31319
  * 30
31008
31320
  */
31009
31321
  bandwidth?: string;
31010
31322
  /**
31323
+ * @remarks
31324
+ * Guaranteed protection bandwidth (Mainland China). Unit: Gbps.
31325
+ *
31011
31326
  * @example
31012
31327
  * 30
31013
31328
  */
31014
31329
  baseBandwidth?: string;
31015
31330
  /**
31331
+ * @remarks
31332
+ * Number of protected domains.
31333
+ *
31016
31334
  * @example
31017
31335
  * 50
31018
31336
  */
31019
31337
  domainCount?: string;
31020
31338
  /**
31339
+ * @remarks
31340
+ * Protection package (Mainland China). Values:
31341
+ *
31342
+ * - **coop**: Indicates the DDoS High Defense (Mainland China) Professional Edition.
31343
+ * - **advance**: Indicates the DDoS High Defense (Mainland China) Professional Edition.
31344
+ *
31021
31345
  * @example
31022
31346
  * coop
31023
31347
  */
31024
31348
  editionSale?: string;
31025
31349
  /**
31350
+ * @remarks
31351
+ * Function version, with values:
31352
+ *
31353
+ * - **0**: Standard function.
31354
+ * - **1**: Enhanced function.
31355
+ *
31026
31356
  * @example
31027
31357
  * 0
31028
31358
  */
31029
31359
  functionVersion?: string;
31030
31360
  /**
31031
31361
  * @remarks
31362
+ * The ID of the DDoS High Defense instance.
31363
+ * > You can call [DescribeInstanceIds](https://help.aliyun.com/document_detail/157459.html) to query the ID information of all DDoS High Defense instances.
31364
+ *
31032
31365
  * This parameter is required.
31033
31366
  *
31034
31367
  * @example
@@ -31037,6 +31370,10 @@ export class ModifyInstanceRequest extends $dara.Model {
31037
31370
  instanceId?: string;
31038
31371
  /**
31039
31372
  * @remarks
31373
+ * Adjustment type, with values
31374
+ * - UPGRADE: Upgrade.
31375
+ * - DOWNGRADE: Downgrade.
31376
+ *
31040
31377
  * This parameter is required.
31041
31378
  *
31042
31379
  * @example
@@ -31044,27 +31381,51 @@ export class ModifyInstanceRequest extends $dara.Model {
31044
31381
  */
31045
31382
  modifyType?: string;
31046
31383
  /**
31384
+ * @remarks
31385
+ * Business bandwidth (outside Mainland China). Unit: Mbps.
31386
+ *
31047
31387
  * @example
31048
31388
  * 200
31049
31389
  */
31050
31390
  normalBandwidth?: string;
31051
31391
  /**
31392
+ * @remarks
31393
+ * Business QPS. Unit: Mbps.
31394
+ *
31052
31395
  * @example
31053
31396
  * 100
31054
31397
  */
31055
31398
  normalQps?: string;
31056
31399
  /**
31400
+ * @remarks
31401
+ * Number of protected ports.
31402
+ *
31057
31403
  * @example
31058
31404
  * 50
31059
31405
  */
31060
31406
  portCount?: string;
31061
31407
  /**
31408
+ * @remarks
31409
+ * Protection package (outside Mainland China). Values:
31410
+ *
31411
+ * - **0**: Indicates the DDoS High Defense (outside Mainland China) Insurance Edition.
31412
+ * - **1**: Indicates the DDoS High Defense (outside Mainland China) Worry-Free Edition.
31413
+ * - **2**: Indicates the DDoS High Defense (outside Mainland China) Acceleration Line.
31414
+ * - **3**: Indicates the DDoS High Defense (outside Mainland China) Secure Acceleration Line.
31415
+ *
31062
31416
  * @example
31063
31417
  * 0
31064
31418
  */
31065
31419
  productPlan?: string;
31066
31420
  /**
31067
31421
  * @remarks
31422
+ * Product type.
31423
+ * Values:
31424
+ *
31425
+ * - **ddoscoo**: Indicates that the DDoS High Defense (Mainland China) instance is being adjusted for a China site account.
31426
+ * - **ddoscoo_intl**: Indicates that the DDoS High Defense (Mainland China) instance is being adjusted for an international site account.
31427
+ * - **ddosDip**: Indicates that the DDoS High Defense (outside Mainland China) instance is being adjusted for either a China or international site account.
31428
+ *
31068
31429
  * This parameter is required.
31069
31430
  *
31070
31431
  * @example
@@ -31072,11 +31433,19 @@ export class ModifyInstanceRequest extends $dara.Model {
31072
31433
  */
31073
31434
  productType?: string;
31074
31435
  /**
31436
+ * @remarks
31437
+ * Business bandwidth (Mainland China). Unit: Mbps.
31438
+ *
31075
31439
  * @example
31076
31440
  * 300
31077
31441
  */
31078
31442
  serviceBandwidth?: string;
31079
31443
  /**
31444
+ * @remarks
31445
+ * Line resources of the instance (Mainland China). Values:
31446
+ *
31447
+ * - **coop-line-001**: Indicates the DDoS High Defense (Mainland China) 8-line BGP line.
31448
+ *
31080
31449
  * @example
31081
31450
  * coop-line-001
31082
31451
  */
@@ -31132,11 +31501,17 @@ export class ModifyInstanceRequest extends $dara.Model {
31132
31501
 
31133
31502
  export class ModifyInstanceResponseBody extends $dara.Model {
31134
31503
  /**
31504
+ * @remarks
31505
+ * Order ID.
31506
+ *
31135
31507
  * @example
31136
31508
  * 242461444340562
31137
31509
  */
31138
31510
  orderId?: number;
31139
31511
  /**
31512
+ * @remarks
31513
+ * The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.
31514
+ *
31140
31515
  * @example
31141
31516
  * 0018DF77-7189-5D33-947B-E5B34BFCE07E
31142
31517
  */
@@ -31494,10 +31869,13 @@ export class ModifyOcspStatusRequest extends $dara.Model {
31494
31869
  * @remarks
31495
31870
  * Specifies whether to enable the OCSP feature. Valid values:
31496
31871
  *
31497
- * * **1**: yes
31498
- * * **0**: no
31872
+ * * **1**: yes.
31873
+ * * **0**: no.
31499
31874
  *
31500
31875
  * This parameter is required.
31876
+ *
31877
+ * @example
31878
+ * 1
31501
31879
  */
31502
31880
  enable?: number;
31503
31881
  static names(): { [key: string]: string } {
@@ -32032,8 +32410,8 @@ export class ModifySceneDefensePolicyRequest extends $dara.Model {
32032
32410
  * @remarks
32033
32411
  * The template of the policy. Valid values:
32034
32412
  *
32035
- * * **promotion**: important activity
32036
- * * **bypass**: all traffic forwarded
32413
+ * * **promotion**: important activity.
32414
+ * * **bypass**: all traffic forwarded.
32037
32415
  *
32038
32416
  * This parameter is required.
32039
32417
  *
@@ -32506,7 +32884,7 @@ export class ModifyWebAIProtectModeRequest extends $dara.Model {
32506
32884
  * @remarks
32507
32885
  * The domain name of the website.
32508
32886
  *
32509
- * > A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
32887
+ * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/474212.html) operation to query all domain names.
32510
32888
  *
32511
32889
  * This parameter is required.
32512
32890
  *
@@ -34195,6 +34573,10 @@ export class ModifyWebPreciseAccessSwitchResponse extends $dara.Model {
34195
34573
  export class ModifyWebRuleRequest extends $dara.Model {
34196
34574
  /**
34197
34575
  * @remarks
34576
+ * The domain name of the website.
34577
+ *
34578
+ * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query the domain names for which forwarding rules are configured.
34579
+ *
34198
34580
  * This parameter is required.
34199
34581
  *
34200
34582
  * @example
@@ -34202,6 +34584,21 @@ export class ModifyWebRuleRequest extends $dara.Model {
34202
34584
  */
34203
34585
  domain?: string;
34204
34586
  /**
34587
+ * @remarks
34588
+ * The advanced HTTPS settings. This parameter takes effect only when the value of **ProxyType** includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:
34589
+ *
34590
+ * * **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.
34591
+ *
34592
+ * If your website supports both HTTP and HTTPS, this feature suits your needs. If you turn on the switch, all HTTP requests are redirected to HTTPS requests on port 443 by default.
34593
+ *
34594
+ * * **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.
34595
+ *
34596
+ * If your website does not support HTTPS, this feature suits your needs. If you turn on the switch, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. The feature can also redirect WebSockets requests to WebSocket requests. All requests are redirected over port 80.
34597
+ *
34598
+ * * **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.
34599
+ *
34600
+ * After you turn on the switch, the protocol type is HTTP/2.
34601
+ *
34205
34602
  * @example
34206
34603
  * {"Http2":1,"Http2https":1,"Https2http":1}
34207
34604
  */
@@ -34213,6 +34610,11 @@ export class ModifyWebRuleRequest extends $dara.Model {
34213
34610
  instanceIds?: string[];
34214
34611
  /**
34215
34612
  * @remarks
34613
+ * The protocol of the forwarding rule. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
34614
+ *
34615
+ * * **ProxyType**: the protocol type. This field is required and must be a string. Valid values: **http**, **https**, **websocket**, and **websockets**.
34616
+ * * **ProxyPort**: the port number. This field is required and must be an array.
34617
+ *
34216
34618
  * This parameter is required.
34217
34619
  *
34218
34620
  * @example
@@ -34228,12 +34630,22 @@ export class ModifyWebRuleRequest extends $dara.Model {
34228
34630
  */
34229
34631
  realServers?: string[];
34230
34632
  /**
34633
+ * @remarks
34634
+ * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
34635
+ *
34636
+ * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
34637
+ *
34231
34638
  * @example
34232
34639
  * rg-acfm2pz25js****
34233
34640
  */
34234
34641
  resourceGroupId?: string;
34235
34642
  /**
34236
34643
  * @remarks
34644
+ * The address type of the origin server. Valid values:
34645
+ *
34646
+ * * **0**: IP address.
34647
+ * * **1**: domain name. Use the domain name of the origin server if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.
34648
+ *
34237
34649
  * This parameter is required.
34238
34650
  *
34239
34651
  * @example
@@ -34281,6 +34693,9 @@ export class ModifyWebRuleRequest extends $dara.Model {
34281
34693
 
34282
34694
  export class ModifyWebRuleResponseBody extends $dara.Model {
34283
34695
  /**
34696
+ * @remarks
34697
+ * The ID of the request.
34698
+ *
34284
34699
  * @example
34285
34700
  * CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC
34286
34701
  */
@@ -34895,6 +35310,57 @@ export default class Client extends OpenApi {
34895
35310
  return await this.configDomainSecurityProfileWithOptions(request, runtime);
34896
35311
  }
34897
35312
 
35313
+ /**
35314
+ * 配置全局模板规则
35315
+ *
35316
+ * @param request - ConfigL7GlobalRuleRequest
35317
+ * @param runtime - runtime options for this request RuntimeOptions
35318
+ * @returns ConfigL7GlobalRuleResponse
35319
+ */
35320
+ async configL7GlobalRuleWithOptions(request: ConfigL7GlobalRuleRequest, runtime: $dara.RuntimeOptions): Promise<ConfigL7GlobalRuleResponse> {
35321
+ request.validate();
35322
+ let query = { };
35323
+ if (!$dara.isNull(request.domain)) {
35324
+ query["Domain"] = request.domain;
35325
+ }
35326
+
35327
+ if (!$dara.isNull(request.ruleAttr)) {
35328
+ query["RuleAttr"] = request.ruleAttr;
35329
+ }
35330
+
35331
+ let req = new $OpenApiUtil.OpenApiRequest({
35332
+ query: OpenApiUtil.query(query),
35333
+ });
35334
+ let params = new $OpenApiUtil.Params({
35335
+ action: "ConfigL7GlobalRule",
35336
+ version: "2020-01-01",
35337
+ protocol: "HTTPS",
35338
+ pathname: "/",
35339
+ method: "POST",
35340
+ authType: "AK",
35341
+ style: "RPC",
35342
+ reqBodyType: "formData",
35343
+ bodyType: "json",
35344
+ });
35345
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35346
+ return $dara.cast<ConfigL7GlobalRuleResponse>(await this.callApi(params, req, runtime), new ConfigL7GlobalRuleResponse({}));
35347
+ } else {
35348
+ return $dara.cast<ConfigL7GlobalRuleResponse>(await this.execute(params, req, runtime), new ConfigL7GlobalRuleResponse({}));
35349
+ }
35350
+
35351
+ }
35352
+
35353
+ /**
35354
+ * 配置全局模板规则
35355
+ *
35356
+ * @param request - ConfigL7GlobalRuleRequest
35357
+ * @returns ConfigL7GlobalRuleResponse
35358
+ */
35359
+ async configL7GlobalRule(request: ConfigL7GlobalRuleRequest): Promise<ConfigL7GlobalRuleResponse> {
35360
+ let runtime = new $dara.RuntimeOptions({ });
35361
+ return await this.configL7GlobalRuleWithOptions(request, runtime);
35362
+ }
35363
+
34898
35364
  /**
34899
35365
  * Configures a back-to-origin policy for the forwarding rule of a website.
34900
35366
  *
@@ -36239,7 +36705,7 @@ export default class Client extends OpenApi {
36239
36705
  }
36240
36706
 
36241
36707
  /**
36242
- * Removes IP addresses from the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
36708
+ * Removes IP addresses from the IP address whitelist of an Anti-DDoS Proxy instance.
36243
36709
  *
36244
36710
  * @param request - DeleteAutoCcWhitelistRequest
36245
36711
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36279,7 +36745,7 @@ export default class Client extends OpenApi {
36279
36745
  }
36280
36746
 
36281
36747
  /**
36282
- * Removes IP addresses from the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
36748
+ * Removes IP addresses from the IP address whitelist of an Anti-DDoS Proxy instance.
36283
36749
  *
36284
36750
  * @param request - DeleteAutoCcWhitelistRequest
36285
36751
  * @returns DeleteAutoCcWhitelistResponse
@@ -37098,7 +37564,7 @@ export default class Client extends OpenApi {
37098
37564
  }
37099
37565
 
37100
37566
  /**
37101
- * Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
37567
+ * Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Proxy instance.
37102
37568
  *
37103
37569
  * @param request - DescribeAutoCcListCountRequest
37104
37570
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37138,7 +37604,7 @@ export default class Client extends OpenApi {
37138
37604
  }
37139
37605
 
37140
37606
  /**
37141
- * Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
37607
+ * Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Proxy instance.
37142
37608
  *
37143
37609
  * @param request - DescribeAutoCcListCountRequest
37144
37610
  * @returns DescribeAutoCcListCountResponse
@@ -37149,7 +37615,7 @@ export default class Client extends OpenApi {
37149
37615
  }
37150
37616
 
37151
37617
  /**
37152
- * Queries IP addresses in the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
37618
+ * Queries IP addresses in the IP address whitelist of an Anti-DDoS Proxy instance.
37153
37619
  *
37154
37620
  * @param request - DescribeAutoCcWhitelistRequest
37155
37621
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37197,7 +37663,7 @@ export default class Client extends OpenApi {
37197
37663
  }
37198
37664
 
37199
37665
  /**
37200
- * Queries IP addresses in the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
37666
+ * Queries IP addresses in the IP address whitelist of an Anti-DDoS Proxy instance.
37201
37667
  *
37202
37668
  * @param request - DescribeAutoCcWhitelistRequest
37203
37669
  * @returns DescribeAutoCcWhitelistResponse
@@ -37373,7 +37839,11 @@ export default class Client extends OpenApi {
37373
37839
  }
37374
37840
 
37375
37841
  /**
37376
- * Queries information about all certificates that can be associated with the current domain name instead of the certificate currently in use. To query the information about the certificate that is currently in use, you can call the DescribeWebRules operation and view the values of the CertName and CertRegion response parameters.
37842
+ * Queries information about all certificates that can be associated with the current domain name instead of the certificate currently in use.
37843
+ *
37844
+ * @remarks
37845
+ * This operation is used to query all applicable certificates of a domain name that you want to add to Anti-DDoS Proxy. Multiple certificates may be queried for a domain name. You can use an exact domain name to query exact-domain certificates or wildcard-domain certificates.
37846
+ * > If you want to query the certificate that is in use for the current domain name, you can call the [DescribeWebRules](https://help.aliyun.com/document_detail/473610.html) operation to obtain the values of the CertName and CertRegion parameters. Then, you can call the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/411733.html) operation of Certificate Management Service to query the ID and other details of the certificate by using the value of the CertName parameter.
37377
37847
  *
37378
37848
  * @param request - DescribeCertsRequest
37379
37849
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37413,7 +37883,11 @@ export default class Client extends OpenApi {
37413
37883
  }
37414
37884
 
37415
37885
  /**
37416
- * Queries information about all certificates that can be associated with the current domain name instead of the certificate currently in use. To query the information about the certificate that is currently in use, you can call the DescribeWebRules operation and view the values of the CertName and CertRegion response parameters.
37886
+ * Queries information about all certificates that can be associated with the current domain name instead of the certificate currently in use.
37887
+ *
37888
+ * @remarks
37889
+ * This operation is used to query all applicable certificates of a domain name that you want to add to Anti-DDoS Proxy. Multiple certificates may be queried for a domain name. You can use an exact domain name to query exact-domain certificates or wildcard-domain certificates.
37890
+ * > If you want to query the certificate that is in use for the current domain name, you can call the [DescribeWebRules](https://help.aliyun.com/document_detail/473610.html) operation to obtain the values of the CertName and CertRegion parameters. Then, you can call the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/411733.html) operation of Certificate Management Service to query the ID and other details of the certificate by using the value of the CertName parameter.
37417
37891
  *
37418
37892
  * @param request - DescribeCertsRequest
37419
37893
  * @returns DescribeCertsResponse
@@ -37538,7 +38012,7 @@ export default class Client extends OpenApi {
37538
38012
  }
37539
38013
 
37540
38014
  /**
37541
- * Query DDoS attacks by IP address.
38015
+ * Queries DDoS attack events.
37542
38016
  *
37543
38017
  * @remarks
37544
38018
  * You can call the DescribeDDosAllEventList operation to query DDoS attack events within a specific time range by page. The information about a DDoS attack event includes the start time and end time of the attack, attack event type, attacked object, peak bandwidth of attack traffic, and peak packet forwarding rate.
@@ -37595,7 +38069,7 @@ export default class Client extends OpenApi {
37595
38069
  }
37596
38070
 
37597
38071
  /**
37598
- * Query DDoS attacks by IP address.
38072
+ * Queries DDoS attack events.
37599
38073
  *
37600
38074
  * @remarks
37601
38075
  * You can call the DescribeDDosAllEventList operation to query DDoS attack events within a specific time range by page. The information about a DDoS attack event includes the start time and end time of the attack, attack event type, attacked object, peak bandwidth of attack traffic, and peak packet forwarding rate.
@@ -37977,7 +38451,7 @@ export default class Client extends OpenApi {
37977
38451
  }
37978
38452
 
37979
38453
  /**
37980
- * Queries the advanced mitigation logs of Anti-DDoS Premium.
38454
+ * Queries the advanced mitigation logs of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.
37981
38455
  *
37982
38456
  * @remarks
37983
38457
  * > This operation is suitable only for Anti-DDoS Premium.
@@ -38036,7 +38510,7 @@ export default class Client extends OpenApi {
38036
38510
  }
38037
38511
 
38038
38512
  /**
38039
- * Queries the advanced mitigation logs of Anti-DDoS Premium.
38513
+ * Queries the advanced mitigation logs of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.
38040
38514
  *
38041
38515
  * @remarks
38042
38516
  * > This operation is suitable only for Anti-DDoS Premium.
@@ -39181,6 +39655,10 @@ export default class Client extends OpenApi {
39181
39655
  query["EndTime"] = request.endTime;
39182
39656
  }
39183
39657
 
39658
+ if (!$dara.isNull(request.inerval)) {
39659
+ query["Inerval"] = request.inerval;
39660
+ }
39661
+
39184
39662
  if (!$dara.isNull(request.resourceGroupId)) {
39185
39663
  query["ResourceGroupId"] = request.resourceGroupId;
39186
39664
  }
@@ -39916,6 +40394,8 @@ export default class Client extends OpenApi {
39916
40394
  }
39917
40395
 
39918
40396
  /**
40397
+ * 查询实例列表
40398
+ *
39919
40399
  * @remarks
39920
40400
  * You can call the DescribeInstances operation to query the details of Anti-DDoS Pro or Anti-DDoS Premium instances within the Alibaba Cloud account by page. The details include the ID, mitigation plan, expiration time, and forwarding status.
39921
40401
  *
@@ -39997,6 +40477,8 @@ export default class Client extends OpenApi {
39997
40477
  }
39998
40478
 
39999
40479
  /**
40480
+ * 查询实例列表
40481
+ *
40000
40482
  * @remarks
40001
40483
  * You can call the DescribeInstances operation to query the details of Anti-DDoS Pro or Anti-DDoS Premium instances within the Alibaba Cloud account by page. The details include the ID, mitigation plan, expiration time, and forwarding status.
40002
40484
  *
@@ -40008,6 +40490,57 @@ export default class Client extends OpenApi {
40008
40490
  return await this.describeInstancesWithOptions(request, runtime);
40009
40491
  }
40010
40492
 
40493
+ /**
40494
+ * 展示全局模板规则
40495
+ *
40496
+ * @param request - DescribeL7GlobalRuleRequest
40497
+ * @param runtime - runtime options for this request RuntimeOptions
40498
+ * @returns DescribeL7GlobalRuleResponse
40499
+ */
40500
+ async describeL7GlobalRuleWithOptions(request: DescribeL7GlobalRuleRequest, runtime: $dara.RuntimeOptions): Promise<DescribeL7GlobalRuleResponse> {
40501
+ request.validate();
40502
+ let query = { };
40503
+ if (!$dara.isNull(request.domain)) {
40504
+ query["Domain"] = request.domain;
40505
+ }
40506
+
40507
+ if (!$dara.isNull(request.lang)) {
40508
+ query["Lang"] = request.lang;
40509
+ }
40510
+
40511
+ let req = new $OpenApiUtil.OpenApiRequest({
40512
+ query: OpenApiUtil.query(query),
40513
+ });
40514
+ let params = new $OpenApiUtil.Params({
40515
+ action: "DescribeL7GlobalRule",
40516
+ version: "2020-01-01",
40517
+ protocol: "HTTPS",
40518
+ pathname: "/",
40519
+ method: "POST",
40520
+ authType: "AK",
40521
+ style: "RPC",
40522
+ reqBodyType: "formData",
40523
+ bodyType: "json",
40524
+ });
40525
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40526
+ return $dara.cast<DescribeL7GlobalRuleResponse>(await this.callApi(params, req, runtime), new DescribeL7GlobalRuleResponse({}));
40527
+ } else {
40528
+ return $dara.cast<DescribeL7GlobalRuleResponse>(await this.execute(params, req, runtime), new DescribeL7GlobalRuleResponse({}));
40529
+ }
40530
+
40531
+ }
40532
+
40533
+ /**
40534
+ * 展示全局模板规则
40535
+ *
40536
+ * @param request - DescribeL7GlobalRuleRequest
40537
+ * @returns DescribeL7GlobalRuleResponse
40538
+ */
40539
+ async describeL7GlobalRule(request: DescribeL7GlobalRuleRequest): Promise<DescribeL7GlobalRuleResponse> {
40540
+ let runtime = new $dara.RuntimeOptions({ });
40541
+ return await this.describeL7GlobalRuleWithOptions(request, runtime);
40542
+ }
40543
+
40011
40544
  /**
40012
40545
  * Queries the back-to-origin policies for the forwarding rule of a website.
40013
40546
  *
@@ -40158,7 +40691,7 @@ export default class Client extends OpenApi {
40158
40691
  }
40159
40692
 
40160
40693
  /**
40161
- * Checks whether a Logstore is created for Anti-DDoS Pro or Anti-DDoS Premium.
40694
+ * Checks whether a Logstore is created for Anti-DDoS Proxy.
40162
40695
  *
40163
40696
  * @param request - DescribeLogStoreExistStatusRequest
40164
40697
  * @param runtime - runtime options for this request RuntimeOptions
@@ -40194,7 +40727,7 @@ export default class Client extends OpenApi {
40194
40727
  }
40195
40728
 
40196
40729
  /**
40197
- * Checks whether a Logstore is created for Anti-DDoS Pro or Anti-DDoS Premium.
40730
+ * Checks whether a Logstore is created for Anti-DDoS Proxy.
40198
40731
  *
40199
40732
  * @param request - DescribeLogStoreExistStatusRequest
40200
40733
  * @returns DescribeLogStoreExistStatusResponse
@@ -40878,7 +41411,7 @@ export default class Client extends OpenApi {
40878
41411
  }
40879
41412
 
40880
41413
  /**
40881
- * Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.
41414
+ * Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Proxy instances.
40882
41415
  *
40883
41416
  * @param request - DescribePortMaxConnsRequest
40884
41417
  * @param runtime - runtime options for this request RuntimeOptions
@@ -40926,7 +41459,7 @@ export default class Client extends OpenApi {
40926
41459
  }
40927
41460
 
40928
41461
  /**
40929
- * Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.
41462
+ * Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Proxy instances.
40930
41463
  *
40931
41464
  * @param request - DescribePortMaxConnsRequest
40932
41465
  * @returns DescribePortMaxConnsResponse
@@ -41376,7 +41909,7 @@ export default class Client extends OpenApi {
41376
41909
  }
41377
41910
 
41378
41911
  /**
41379
- * Queries whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access Log Service.
41912
+ * Queries whether Anti-DDoS Proxy is authorized to access Simple Log Service.
41380
41913
  *
41381
41914
  * @param request - DescribeSlsAuthStatusRequest
41382
41915
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41412,7 +41945,7 @@ export default class Client extends OpenApi {
41412
41945
  }
41413
41946
 
41414
41947
  /**
41415
- * Queries whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access Log Service.
41948
+ * Queries whether Anti-DDoS Proxy is authorized to access Simple Log Service.
41416
41949
  *
41417
41950
  * @param request - DescribeSlsAuthStatusRequest
41418
41951
  * @returns DescribeSlsAuthStatusResponse
@@ -41423,7 +41956,7 @@ export default class Client extends OpenApi {
41423
41956
  }
41424
41957
 
41425
41958
  /**
41426
- * Queries the information about the Logstore of the Anti-DDoS Pro or Anti-DDoS Premium instance, such as the log storage capacity and log storage duration.
41959
+ * Queries information about the Logstore of the Anti-DDoS Proxy instance, such as the log storage capacity and log storage duration.
41427
41960
  *
41428
41961
  * @param request - DescribeSlsLogstoreInfoRequest
41429
41962
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41459,7 +41992,7 @@ export default class Client extends OpenApi {
41459
41992
  }
41460
41993
 
41461
41994
  /**
41462
- * Queries the information about the Logstore of the Anti-DDoS Pro or Anti-DDoS Premium instance, such as the log storage capacity and log storage duration.
41995
+ * Queries information about the Logstore of the Anti-DDoS Proxy instance, such as the log storage capacity and log storage duration.
41463
41996
  *
41464
41997
  * @param request - DescribeSlsLogstoreInfoRequest
41465
41998
  * @returns DescribeSlsLogstoreInfoResponse
@@ -41470,7 +42003,7 @@ export default class Client extends OpenApi {
41470
42003
  }
41471
42004
 
41472
42005
  /**
41473
- * Checks whether Log Service is activated.
42006
+ * Checks whether Simple Log Service is activated.
41474
42007
  *
41475
42008
  * @param request - DescribeSlsOpenStatusRequest
41476
42009
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41506,7 +42039,7 @@ export default class Client extends OpenApi {
41506
42039
  }
41507
42040
 
41508
42041
  /**
41509
- * Checks whether Log Service is activated.
42042
+ * Checks whether Simple Log Service is activated.
41510
42043
  *
41511
42044
  * @param request - DescribeSlsOpenStatusRequest
41512
42045
  * @returns DescribeSlsOpenStatusResponse
@@ -41921,7 +42454,7 @@ export default class Client extends OpenApi {
41921
42454
  }
41922
42455
 
41923
42456
  /**
41924
- * Queries the total quota and remaining quota that allow you to deactivate blackhole filtering.
42457
+ * Queries the total quota and remaining quota for blackhole filtering deactivation.
41925
42458
  *
41926
42459
  * @param request - DescribeUnBlackholeCountRequest
41927
42460
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41957,7 +42490,7 @@ export default class Client extends OpenApi {
41957
42490
  }
41958
42491
 
41959
42492
  /**
41960
- * Queries the total quota and remaining quota that allow you to deactivate blackhole filtering.
42493
+ * Queries the total quota and remaining quota for blackhole filtering deactivation.
41961
42494
  *
41962
42495
  * @param request - DescribeUnBlackholeCountRequest
41963
42496
  * @returns DescribeUnBlackholeCountResponse
@@ -42133,7 +42666,7 @@ export default class Client extends OpenApi {
42133
42666
  }
42134
42667
 
42135
42668
  /**
42136
- * Queries the information about the Log Analysis feature for a website, such as the feature status and the Log Service project and Logstore that are used.
42669
+ * Queries the information about the log analysis feature for a website, such as the feature status and the Simple Log Service project and Logstore that are used.
42137
42670
  *
42138
42671
  * @param request - DescribeWebAccessLogStatusRequest
42139
42672
  * @param runtime - runtime options for this request RuntimeOptions
@@ -42173,7 +42706,7 @@ export default class Client extends OpenApi {
42173
42706
  }
42174
42707
 
42175
42708
  /**
42176
- * Queries the information about the Log Analysis feature for a website, such as the feature status and the Log Service project and Logstore that are used.
42709
+ * Queries the information about the log analysis feature for a website, such as the feature status and the Simple Log Service project and Logstore that are used.
42177
42710
  *
42178
42711
  * @param request - DescribeWebAccessLogStatusRequest
42179
42712
  * @returns DescribeWebAccessLogStatusResponse
@@ -44123,7 +44656,7 @@ export default class Client extends OpenApi {
44123
44656
  }
44124
44657
 
44125
44658
  /**
44126
- * 实例变配 类似bss的变配
44659
+ * Instance adjustment, similar to BSS adjustment
44127
44660
  *
44128
44661
  * @param request - ModifyInstanceRequest
44129
44662
  * @param runtime - runtime options for this request RuntimeOptions
@@ -44215,7 +44748,7 @@ export default class Client extends OpenApi {
44215
44748
  }
44216
44749
 
44217
44750
  /**
44218
- * 实例变配 类似bss的变配
44751
+ * Instance adjustment, similar to BSS adjustment
44219
44752
  *
44220
44753
  * @param request - ModifyInstanceRequest
44221
44754
  * @returns ModifyInstanceResponse
@@ -44226,7 +44759,7 @@ export default class Client extends OpenApi {
44226
44759
  }
44227
44760
 
44228
44761
  /**
44229
- * Modifies the description of an Anti-DDoS Pro or Anti-DDoS Premium instance.
44762
+ * Modifies the description of an Anti-DDoS Proxy instance.
44230
44763
  *
44231
44764
  * @param request - ModifyInstanceRemarkRequest
44232
44765
  * @param runtime - runtime options for this request RuntimeOptions
@@ -44266,7 +44799,7 @@ export default class Client extends OpenApi {
44266
44799
  }
44267
44800
 
44268
44801
  /**
44269
- * Modifies the description of an Anti-DDoS Pro or Anti-DDoS Premium instance.
44802
+ * Modifies the description of an Anti-DDoS Proxy instance.
44270
44803
  *
44271
44804
  * @param request - ModifyInstanceRemarkRequest
44272
44805
  * @returns ModifyInstanceRemarkResponse
@@ -45514,6 +46047,12 @@ export default class Client extends OpenApi {
45514
46047
  }
45515
46048
 
45516
46049
  /**
46050
+ * Modifies the forwarding rule of a website.
46051
+ *
46052
+ * @remarks
46053
+ * ## Debugging
46054
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=ddoscoo\\&api=ModifyWebRule\\&type=RPC\\&version=2020-01-01)
46055
+ *
45517
46056
  * @param request - ModifyWebRuleRequest
45518
46057
  * @param runtime - runtime options for this request RuntimeOptions
45519
46058
  * @returns ModifyWebRuleResponse
@@ -45572,6 +46111,12 @@ export default class Client extends OpenApi {
45572
46111
  }
45573
46112
 
45574
46113
  /**
46114
+ * Modifies the forwarding rule of a website.
46115
+ *
46116
+ * @remarks
46117
+ * ## Debugging
46118
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=ddoscoo\\&api=ModifyWebRule\\&type=RPC\\&version=2020-01-01)
46119
+ *
45575
46120
  * @param request - ModifyWebRuleRequest
45576
46121
  * @returns ModifyWebRuleResponse
45577
46122
  */