@alicloud/ddoscoo20200101 1.0.1 → 1.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.js CHANGED
@@ -139,7 +139,9 @@ class AssociateWebCertRequest extends $tea.Model {
139
139
  return {
140
140
  cert: 'Cert',
141
141
  certId: 'CertId',
142
+ certIdentifier: 'CertIdentifier',
142
143
  certName: 'CertName',
144
+ certRegion: 'CertRegion',
143
145
  domain: 'Domain',
144
146
  key: 'Key',
145
147
  resourceGroupId: 'ResourceGroupId',
@@ -149,7 +151,9 @@ class AssociateWebCertRequest extends $tea.Model {
149
151
  return {
150
152
  cert: 'string',
151
153
  certId: 'number',
154
+ certIdentifier: 'string',
152
155
  certName: 'string',
156
+ certRegion: 'string',
153
157
  domain: 'string',
154
158
  key: 'string',
155
159
  resourceGroupId: 'string',
@@ -307,6 +311,60 @@ class ConfigL7RsPolicyResponse extends $tea.Model {
307
311
  }
308
312
  }
309
313
  exports.ConfigL7RsPolicyResponse = ConfigL7RsPolicyResponse;
314
+ class ConfigLayer4RealLimitRequest extends $tea.Model {
315
+ constructor(map) {
316
+ super(map);
317
+ }
318
+ static names() {
319
+ return {
320
+ instanceId: 'InstanceId',
321
+ limitValue: 'LimitValue',
322
+ };
323
+ }
324
+ static types() {
325
+ return {
326
+ instanceId: 'string',
327
+ limitValue: 'number',
328
+ };
329
+ }
330
+ }
331
+ exports.ConfigLayer4RealLimitRequest = ConfigLayer4RealLimitRequest;
332
+ class ConfigLayer4RealLimitResponseBody extends $tea.Model {
333
+ constructor(map) {
334
+ super(map);
335
+ }
336
+ static names() {
337
+ return {
338
+ requestId: 'RequestId',
339
+ };
340
+ }
341
+ static types() {
342
+ return {
343
+ requestId: 'string',
344
+ };
345
+ }
346
+ }
347
+ exports.ConfigLayer4RealLimitResponseBody = ConfigLayer4RealLimitResponseBody;
348
+ class ConfigLayer4RealLimitResponse extends $tea.Model {
349
+ constructor(map) {
350
+ super(map);
351
+ }
352
+ static names() {
353
+ return {
354
+ headers: 'headers',
355
+ statusCode: 'statusCode',
356
+ body: 'body',
357
+ };
358
+ }
359
+ static types() {
360
+ return {
361
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
362
+ statusCode: 'number',
363
+ body: ConfigLayer4RealLimitResponseBody,
364
+ };
365
+ }
366
+ }
367
+ exports.ConfigLayer4RealLimitResponse = ConfigLayer4RealLimitResponse;
310
368
  class ConfigLayer4RemarkRequest extends $tea.Model {
311
369
  constructor(map) {
312
370
  super(map);
@@ -2309,12 +2367,14 @@ class DescribeBackSourceCidrRequest extends $tea.Model {
2309
2367
  }
2310
2368
  static names() {
2311
2369
  return {
2370
+ ipVersion: 'IpVersion',
2312
2371
  line: 'Line',
2313
2372
  resourceGroupId: 'ResourceGroupId',
2314
2373
  };
2315
2374
  }
2316
2375
  static types() {
2317
2376
  return {
2377
+ ipVersion: 'string',
2318
2378
  line: 'string',
2319
2379
  resourceGroupId: 'string',
2320
2380
  };
@@ -3459,6 +3519,60 @@ class DescribeDomainResourceResponse extends $tea.Model {
3459
3519
  }
3460
3520
  }
3461
3521
  exports.DescribeDomainResourceResponse = DescribeDomainResourceResponse;
3522
+ class DescribeDomainSecurityProfileRequest extends $tea.Model {
3523
+ constructor(map) {
3524
+ super(map);
3525
+ }
3526
+ static names() {
3527
+ return {
3528
+ domain: 'Domain',
3529
+ };
3530
+ }
3531
+ static types() {
3532
+ return {
3533
+ domain: 'string',
3534
+ };
3535
+ }
3536
+ }
3537
+ exports.DescribeDomainSecurityProfileRequest = DescribeDomainSecurityProfileRequest;
3538
+ class DescribeDomainSecurityProfileResponseBody extends $tea.Model {
3539
+ constructor(map) {
3540
+ super(map);
3541
+ }
3542
+ static names() {
3543
+ return {
3544
+ requestId: 'RequestId',
3545
+ result: 'Result',
3546
+ };
3547
+ }
3548
+ static types() {
3549
+ return {
3550
+ requestId: 'string',
3551
+ result: { 'type': 'array', 'itemType': DescribeDomainSecurityProfileResponseBodyResult },
3552
+ };
3553
+ }
3554
+ }
3555
+ exports.DescribeDomainSecurityProfileResponseBody = DescribeDomainSecurityProfileResponseBody;
3556
+ class DescribeDomainSecurityProfileResponse extends $tea.Model {
3557
+ constructor(map) {
3558
+ super(map);
3559
+ }
3560
+ static names() {
3561
+ return {
3562
+ headers: 'headers',
3563
+ statusCode: 'statusCode',
3564
+ body: 'body',
3565
+ };
3566
+ }
3567
+ static types() {
3568
+ return {
3569
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3570
+ statusCode: 'number',
3571
+ body: DescribeDomainSecurityProfileResponseBody,
3572
+ };
3573
+ }
3574
+ }
3575
+ exports.DescribeDomainSecurityProfileResponse = DescribeDomainSecurityProfileResponse;
3462
3576
  class DescribeDomainStatusCodeCountRequest extends $tea.Model {
3463
3577
  constructor(map) {
3464
3578
  super(map);
@@ -4017,6 +4131,62 @@ class DescribeElasticBandwidthSpecResponse extends $tea.Model {
4017
4131
  }
4018
4132
  }
4019
4133
  exports.DescribeElasticBandwidthSpecResponse = DescribeElasticBandwidthSpecResponse;
4134
+ class DescribeHeadersRequest extends $tea.Model {
4135
+ constructor(map) {
4136
+ super(map);
4137
+ }
4138
+ static names() {
4139
+ return {
4140
+ domain: 'Domain',
4141
+ resourceGroupId: 'ResourceGroupId',
4142
+ };
4143
+ }
4144
+ static types() {
4145
+ return {
4146
+ domain: 'string',
4147
+ resourceGroupId: 'string',
4148
+ };
4149
+ }
4150
+ }
4151
+ exports.DescribeHeadersRequest = DescribeHeadersRequest;
4152
+ class DescribeHeadersResponseBody extends $tea.Model {
4153
+ constructor(map) {
4154
+ super(map);
4155
+ }
4156
+ static names() {
4157
+ return {
4158
+ customHeader: 'CustomHeader',
4159
+ requestId: 'RequestId',
4160
+ };
4161
+ }
4162
+ static types() {
4163
+ return {
4164
+ customHeader: DescribeHeadersResponseBodyCustomHeader,
4165
+ requestId: 'string',
4166
+ };
4167
+ }
4168
+ }
4169
+ exports.DescribeHeadersResponseBody = DescribeHeadersResponseBody;
4170
+ class DescribeHeadersResponse extends $tea.Model {
4171
+ constructor(map) {
4172
+ super(map);
4173
+ }
4174
+ static names() {
4175
+ return {
4176
+ headers: 'headers',
4177
+ statusCode: 'statusCode',
4178
+ body: 'body',
4179
+ };
4180
+ }
4181
+ static types() {
4182
+ return {
4183
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4184
+ statusCode: 'number',
4185
+ body: DescribeHeadersResponseBody,
4186
+ };
4187
+ }
4188
+ }
4189
+ exports.DescribeHeadersResponse = DescribeHeadersResponse;
4020
4190
  class DescribeHealthCheckListRequest extends $tea.Model {
4021
4191
  constructor(map) {
4022
4192
  super(map);
@@ -4179,6 +4349,66 @@ class DescribeInstanceDetailsResponse extends $tea.Model {
4179
4349
  }
4180
4350
  }
4181
4351
  exports.DescribeInstanceDetailsResponse = DescribeInstanceDetailsResponse;
4352
+ class DescribeInstanceExtRequest extends $tea.Model {
4353
+ constructor(map) {
4354
+ super(map);
4355
+ }
4356
+ static names() {
4357
+ return {
4358
+ instanceId: 'InstanceId',
4359
+ pageNumber: 'PageNumber',
4360
+ pageSize: 'PageSize',
4361
+ };
4362
+ }
4363
+ static types() {
4364
+ return {
4365
+ instanceId: 'string',
4366
+ pageNumber: 'string',
4367
+ pageSize: 'string',
4368
+ };
4369
+ }
4370
+ }
4371
+ exports.DescribeInstanceExtRequest = DescribeInstanceExtRequest;
4372
+ class DescribeInstanceExtResponseBody extends $tea.Model {
4373
+ constructor(map) {
4374
+ super(map);
4375
+ }
4376
+ static names() {
4377
+ return {
4378
+ instanceExtSpecs: 'InstanceExtSpecs',
4379
+ requestId: 'RequestId',
4380
+ totalCount: 'TotalCount',
4381
+ };
4382
+ }
4383
+ static types() {
4384
+ return {
4385
+ instanceExtSpecs: { 'type': 'array', 'itemType': DescribeInstanceExtResponseBodyInstanceExtSpecs },
4386
+ requestId: 'string',
4387
+ totalCount: 'number',
4388
+ };
4389
+ }
4390
+ }
4391
+ exports.DescribeInstanceExtResponseBody = DescribeInstanceExtResponseBody;
4392
+ class DescribeInstanceExtResponse extends $tea.Model {
4393
+ constructor(map) {
4394
+ super(map);
4395
+ }
4396
+ static names() {
4397
+ return {
4398
+ headers: 'headers',
4399
+ statusCode: 'statusCode',
4400
+ body: 'body',
4401
+ };
4402
+ }
4403
+ static types() {
4404
+ return {
4405
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4406
+ statusCode: 'number',
4407
+ body: DescribeInstanceExtResponseBody,
4408
+ };
4409
+ }
4410
+ }
4411
+ exports.DescribeInstanceExtResponse = DescribeInstanceExtResponse;
4182
4412
  class DescribeInstanceIdsRequest extends $tea.Model {
4183
4413
  constructor(map) {
4184
4414
  super(map);
@@ -5083,6 +5313,66 @@ class DescribePortAutoCcStatusResponse extends $tea.Model {
5083
5313
  }
5084
5314
  }
5085
5315
  exports.DescribePortAutoCcStatusResponse = DescribePortAutoCcStatusResponse;
5316
+ class DescribePortCcAttackTopIPRequest extends $tea.Model {
5317
+ constructor(map) {
5318
+ super(map);
5319
+ }
5320
+ static names() {
5321
+ return {
5322
+ ip: 'Ip',
5323
+ limit: 'Limit',
5324
+ port: 'Port',
5325
+ startTimestamp: 'StartTimestamp',
5326
+ };
5327
+ }
5328
+ static types() {
5329
+ return {
5330
+ ip: 'string',
5331
+ limit: 'number',
5332
+ port: 'string',
5333
+ startTimestamp: 'number',
5334
+ };
5335
+ }
5336
+ }
5337
+ exports.DescribePortCcAttackTopIPRequest = DescribePortCcAttackTopIPRequest;
5338
+ class DescribePortCcAttackTopIPResponseBody extends $tea.Model {
5339
+ constructor(map) {
5340
+ super(map);
5341
+ }
5342
+ static names() {
5343
+ return {
5344
+ requestId: 'RequestId',
5345
+ topIp: 'TopIp',
5346
+ };
5347
+ }
5348
+ static types() {
5349
+ return {
5350
+ requestId: 'string',
5351
+ topIp: { 'type': 'array', 'itemType': DescribePortCcAttackTopIPResponseBodyTopIp },
5352
+ };
5353
+ }
5354
+ }
5355
+ exports.DescribePortCcAttackTopIPResponseBody = DescribePortCcAttackTopIPResponseBody;
5356
+ class DescribePortCcAttackTopIPResponse extends $tea.Model {
5357
+ constructor(map) {
5358
+ super(map);
5359
+ }
5360
+ static names() {
5361
+ return {
5362
+ headers: 'headers',
5363
+ statusCode: 'statusCode',
5364
+ body: 'body',
5365
+ };
5366
+ }
5367
+ static types() {
5368
+ return {
5369
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5370
+ statusCode: 'number',
5371
+ body: DescribePortCcAttackTopIPResponseBody,
5372
+ };
5373
+ }
5374
+ }
5375
+ exports.DescribePortCcAttackTopIPResponse = DescribePortCcAttackTopIPResponse;
5086
5376
  class DescribePortConnsCountRequest extends $tea.Model {
5087
5377
  constructor(map) {
5088
5378
  super(map);
@@ -5697,36 +5987,102 @@ class DescribeSchedulerRulesResponse extends $tea.Model {
5697
5987
  }
5698
5988
  }
5699
5989
  exports.DescribeSchedulerRulesResponse = DescribeSchedulerRulesResponse;
5700
- class DescribeSlsAuthStatusRequest extends $tea.Model {
5990
+ class DescribeSlaEventListRequest extends $tea.Model {
5701
5991
  constructor(map) {
5702
5992
  super(map);
5703
5993
  }
5704
5994
  static names() {
5705
5995
  return {
5706
- resourceGroupId: 'ResourceGroupId',
5996
+ endTime: 'EndTime',
5997
+ ip: 'Ip',
5998
+ page: 'Page',
5999
+ pageSize: 'PageSize',
6000
+ region: 'Region',
6001
+ startTime: 'StartTime',
5707
6002
  };
5708
6003
  }
5709
6004
  static types() {
5710
6005
  return {
5711
- resourceGroupId: 'string',
6006
+ endTime: 'number',
6007
+ ip: 'string',
6008
+ page: 'number',
6009
+ pageSize: 'number',
6010
+ region: 'string',
6011
+ startTime: 'number',
5712
6012
  };
5713
6013
  }
5714
6014
  }
5715
- exports.DescribeSlsAuthStatusRequest = DescribeSlsAuthStatusRequest;
5716
- class DescribeSlsAuthStatusResponseBody extends $tea.Model {
6015
+ exports.DescribeSlaEventListRequest = DescribeSlaEventListRequest;
6016
+ class DescribeSlaEventListResponseBody extends $tea.Model {
5717
6017
  constructor(map) {
5718
6018
  super(map);
5719
6019
  }
5720
6020
  static names() {
5721
6021
  return {
5722
6022
  requestId: 'RequestId',
5723
- slsAuthStatus: 'SlsAuthStatus',
6023
+ slaEvent: 'SlaEvent',
6024
+ total: 'Total',
5724
6025
  };
5725
6026
  }
5726
6027
  static types() {
5727
6028
  return {
5728
6029
  requestId: 'string',
5729
- slsAuthStatus: 'boolean',
6030
+ slaEvent: { 'type': 'array', 'itemType': DescribeSlaEventListResponseBodySlaEvent },
6031
+ total: 'number',
6032
+ };
6033
+ }
6034
+ }
6035
+ exports.DescribeSlaEventListResponseBody = DescribeSlaEventListResponseBody;
6036
+ class DescribeSlaEventListResponse extends $tea.Model {
6037
+ constructor(map) {
6038
+ super(map);
6039
+ }
6040
+ static names() {
6041
+ return {
6042
+ headers: 'headers',
6043
+ statusCode: 'statusCode',
6044
+ body: 'body',
6045
+ };
6046
+ }
6047
+ static types() {
6048
+ return {
6049
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6050
+ statusCode: 'number',
6051
+ body: DescribeSlaEventListResponseBody,
6052
+ };
6053
+ }
6054
+ }
6055
+ exports.DescribeSlaEventListResponse = DescribeSlaEventListResponse;
6056
+ class DescribeSlsAuthStatusRequest extends $tea.Model {
6057
+ constructor(map) {
6058
+ super(map);
6059
+ }
6060
+ static names() {
6061
+ return {
6062
+ resourceGroupId: 'ResourceGroupId',
6063
+ };
6064
+ }
6065
+ static types() {
6066
+ return {
6067
+ resourceGroupId: 'string',
6068
+ };
6069
+ }
6070
+ }
6071
+ exports.DescribeSlsAuthStatusRequest = DescribeSlsAuthStatusRequest;
6072
+ class DescribeSlsAuthStatusResponseBody extends $tea.Model {
6073
+ constructor(map) {
6074
+ super(map);
6075
+ }
6076
+ static names() {
6077
+ return {
6078
+ requestId: 'RequestId',
6079
+ slsAuthStatus: 'SlsAuthStatus',
6080
+ };
6081
+ }
6082
+ static types() {
6083
+ return {
6084
+ requestId: 'string',
6085
+ slsAuthStatus: 'boolean',
5730
6086
  };
5731
6087
  }
5732
6088
  }
@@ -6123,6 +6479,68 @@ class DescribeTagResourcesResponse extends $tea.Model {
6123
6479
  }
6124
6480
  }
6125
6481
  exports.DescribeTagResourcesResponse = DescribeTagResourcesResponse;
6482
+ class DescribeTotalAttackMaxFlowRequest extends $tea.Model {
6483
+ constructor(map) {
6484
+ super(map);
6485
+ }
6486
+ static names() {
6487
+ return {
6488
+ endTime: 'EndTime',
6489
+ instanceIds: 'InstanceIds',
6490
+ resourceGroupId: 'ResourceGroupId',
6491
+ startTime: 'StartTime',
6492
+ };
6493
+ }
6494
+ static types() {
6495
+ return {
6496
+ endTime: 'number',
6497
+ instanceIds: { 'type': 'array', 'itemType': 'string' },
6498
+ resourceGroupId: 'string',
6499
+ startTime: 'number',
6500
+ };
6501
+ }
6502
+ }
6503
+ exports.DescribeTotalAttackMaxFlowRequest = DescribeTotalAttackMaxFlowRequest;
6504
+ class DescribeTotalAttackMaxFlowResponseBody extends $tea.Model {
6505
+ constructor(map) {
6506
+ super(map);
6507
+ }
6508
+ static names() {
6509
+ return {
6510
+ bps: 'Bps',
6511
+ pps: 'Pps',
6512
+ requestId: 'RequestId',
6513
+ };
6514
+ }
6515
+ static types() {
6516
+ return {
6517
+ bps: 'number',
6518
+ pps: 'number',
6519
+ requestId: 'string',
6520
+ };
6521
+ }
6522
+ }
6523
+ exports.DescribeTotalAttackMaxFlowResponseBody = DescribeTotalAttackMaxFlowResponseBody;
6524
+ class DescribeTotalAttackMaxFlowResponse extends $tea.Model {
6525
+ constructor(map) {
6526
+ super(map);
6527
+ }
6528
+ static names() {
6529
+ return {
6530
+ headers: 'headers',
6531
+ statusCode: 'statusCode',
6532
+ body: 'body',
6533
+ };
6534
+ }
6535
+ static types() {
6536
+ return {
6537
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6538
+ statusCode: 'number',
6539
+ body: DescribeTotalAttackMaxFlowResponseBody,
6540
+ };
6541
+ }
6542
+ }
6543
+ exports.DescribeTotalAttackMaxFlowResponse = DescribeTotalAttackMaxFlowResponse;
6126
6544
  class DescribeUdpReflectRequest extends $tea.Model {
6127
6545
  constructor(map) {
6128
6546
  super(map);
@@ -6915,6 +7333,70 @@ class DescribeWebPreciseAccessRuleResponse extends $tea.Model {
6915
7333
  }
6916
7334
  }
6917
7335
  exports.DescribeWebPreciseAccessRuleResponse = DescribeWebPreciseAccessRuleResponse;
7336
+ class DescribeWebReportTopIpRequest extends $tea.Model {
7337
+ constructor(map) {
7338
+ super(map);
7339
+ }
7340
+ static names() {
7341
+ return {
7342
+ domain: 'Domain',
7343
+ endTime: 'EndTime',
7344
+ interval: 'Interval',
7345
+ queryType: 'QueryType',
7346
+ startTime: 'StartTime',
7347
+ top: 'Top',
7348
+ };
7349
+ }
7350
+ static types() {
7351
+ return {
7352
+ domain: 'string',
7353
+ endTime: 'number',
7354
+ interval: 'number',
7355
+ queryType: 'string',
7356
+ startTime: 'number',
7357
+ top: 'number',
7358
+ };
7359
+ }
7360
+ }
7361
+ exports.DescribeWebReportTopIpRequest = DescribeWebReportTopIpRequest;
7362
+ class DescribeWebReportTopIpResponseBody extends $tea.Model {
7363
+ constructor(map) {
7364
+ super(map);
7365
+ }
7366
+ static names() {
7367
+ return {
7368
+ dataList: 'DataList',
7369
+ requestId: 'RequestId',
7370
+ };
7371
+ }
7372
+ static types() {
7373
+ return {
7374
+ dataList: { 'type': 'array', 'itemType': DescribeWebReportTopIpResponseBodyDataList },
7375
+ requestId: 'string',
7376
+ };
7377
+ }
7378
+ }
7379
+ exports.DescribeWebReportTopIpResponseBody = DescribeWebReportTopIpResponseBody;
7380
+ class DescribeWebReportTopIpResponse extends $tea.Model {
7381
+ constructor(map) {
7382
+ super(map);
7383
+ }
7384
+ static names() {
7385
+ return {
7386
+ headers: 'headers',
7387
+ statusCode: 'statusCode',
7388
+ body: 'body',
7389
+ };
7390
+ }
7391
+ static types() {
7392
+ return {
7393
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7394
+ statusCode: 'number',
7395
+ body: DescribeWebReportTopIpResponseBody,
7396
+ };
7397
+ }
7398
+ }
7399
+ exports.DescribeWebReportTopIpResponse = DescribeWebReportTopIpResponse;
6918
7400
  class DescribeWebRulesRequest extends $tea.Model {
6919
7401
  constructor(map) {
6920
7402
  super(map);
@@ -7629,6 +8111,60 @@ class EnableWebCCRuleResponse extends $tea.Model {
7629
8111
  }
7630
8112
  }
7631
8113
  exports.EnableWebCCRuleResponse = EnableWebCCRuleResponse;
8114
+ class ModifyBizBandWidthModeRequest extends $tea.Model {
8115
+ constructor(map) {
8116
+ super(map);
8117
+ }
8118
+ static names() {
8119
+ return {
8120
+ instanceId: 'InstanceId',
8121
+ mode: 'Mode',
8122
+ };
8123
+ }
8124
+ static types() {
8125
+ return {
8126
+ instanceId: 'string',
8127
+ mode: 'string',
8128
+ };
8129
+ }
8130
+ }
8131
+ exports.ModifyBizBandWidthModeRequest = ModifyBizBandWidthModeRequest;
8132
+ class ModifyBizBandWidthModeResponseBody extends $tea.Model {
8133
+ constructor(map) {
8134
+ super(map);
8135
+ }
8136
+ static names() {
8137
+ return {
8138
+ requestId: 'RequestId',
8139
+ };
8140
+ }
8141
+ static types() {
8142
+ return {
8143
+ requestId: 'string',
8144
+ };
8145
+ }
8146
+ }
8147
+ exports.ModifyBizBandWidthModeResponseBody = ModifyBizBandWidthModeResponseBody;
8148
+ class ModifyBizBandWidthModeResponse extends $tea.Model {
8149
+ constructor(map) {
8150
+ super(map);
8151
+ }
8152
+ static names() {
8153
+ return {
8154
+ headers: 'headers',
8155
+ statusCode: 'statusCode',
8156
+ body: 'body',
8157
+ };
8158
+ }
8159
+ static types() {
8160
+ return {
8161
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8162
+ statusCode: 'number',
8163
+ body: ModifyBizBandWidthModeResponseBody,
8164
+ };
8165
+ }
8166
+ }
8167
+ exports.ModifyBizBandWidthModeResponse = ModifyBizBandWidthModeResponse;
7632
8168
  class ModifyBlackholeStatusRequest extends $tea.Model {
7633
8169
  constructor(map) {
7634
8170
  super(map);
@@ -7915,25 +8451,27 @@ class ModifyElasticBandWidthResponse extends $tea.Model {
7915
8451
  }
7916
8452
  }
7917
8453
  exports.ModifyElasticBandWidthResponse = ModifyElasticBandWidthResponse;
7918
- class ModifyFullLogTtlRequest extends $tea.Model {
8454
+ class ModifyElasticBizBandWidthRequest extends $tea.Model {
7919
8455
  constructor(map) {
7920
8456
  super(map);
7921
8457
  }
7922
8458
  static names() {
7923
8459
  return {
7924
- resourceGroupId: 'ResourceGroupId',
7925
- ttl: 'Ttl',
8460
+ elasticBizBandwidth: 'ElasticBizBandwidth',
8461
+ instanceId: 'InstanceId',
8462
+ mode: 'Mode',
7926
8463
  };
7927
8464
  }
7928
8465
  static types() {
7929
8466
  return {
7930
- resourceGroupId: 'string',
7931
- ttl: 'number',
8467
+ elasticBizBandwidth: 'number',
8468
+ instanceId: 'string',
8469
+ mode: 'string',
7932
8470
  };
7933
8471
  }
7934
8472
  }
7935
- exports.ModifyFullLogTtlRequest = ModifyFullLogTtlRequest;
7936
- class ModifyFullLogTtlResponseBody extends $tea.Model {
8473
+ exports.ModifyElasticBizBandWidthRequest = ModifyElasticBizBandWidthRequest;
8474
+ class ModifyElasticBizBandWidthResponseBody extends $tea.Model {
7937
8475
  constructor(map) {
7938
8476
  super(map);
7939
8477
  }
@@ -7948,8 +8486,8 @@ class ModifyFullLogTtlResponseBody extends $tea.Model {
7948
8486
  };
7949
8487
  }
7950
8488
  }
7951
- exports.ModifyFullLogTtlResponseBody = ModifyFullLogTtlResponseBody;
7952
- class ModifyFullLogTtlResponse extends $tea.Model {
8489
+ exports.ModifyElasticBizBandWidthResponseBody = ModifyElasticBizBandWidthResponseBody;
8490
+ class ModifyElasticBizBandWidthResponse extends $tea.Model {
7953
8491
  constructor(map) {
7954
8492
  super(map);
7955
8493
  }
@@ -7964,34 +8502,30 @@ class ModifyFullLogTtlResponse extends $tea.Model {
7964
8502
  return {
7965
8503
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7966
8504
  statusCode: 'number',
7967
- body: ModifyFullLogTtlResponseBody,
8505
+ body: ModifyElasticBizBandWidthResponseBody,
7968
8506
  };
7969
8507
  }
7970
8508
  }
7971
- exports.ModifyFullLogTtlResponse = ModifyFullLogTtlResponse;
7972
- class ModifyHealthCheckConfigRequest extends $tea.Model {
8509
+ exports.ModifyElasticBizBandWidthResponse = ModifyElasticBizBandWidthResponse;
8510
+ class ModifyFullLogTtlRequest extends $tea.Model {
7973
8511
  constructor(map) {
7974
8512
  super(map);
7975
8513
  }
7976
8514
  static names() {
7977
8515
  return {
7978
- forwardProtocol: 'ForwardProtocol',
7979
- frontendPort: 'FrontendPort',
7980
- healthCheck: 'HealthCheck',
7981
- instanceId: 'InstanceId',
8516
+ resourceGroupId: 'ResourceGroupId',
8517
+ ttl: 'Ttl',
7982
8518
  };
7983
8519
  }
7984
8520
  static types() {
7985
8521
  return {
7986
- forwardProtocol: 'string',
7987
- frontendPort: 'number',
7988
- healthCheck: 'string',
7989
- instanceId: 'string',
8522
+ resourceGroupId: 'string',
8523
+ ttl: 'number',
7990
8524
  };
7991
8525
  }
7992
8526
  }
7993
- exports.ModifyHealthCheckConfigRequest = ModifyHealthCheckConfigRequest;
7994
- class ModifyHealthCheckConfigResponseBody extends $tea.Model {
8527
+ exports.ModifyFullLogTtlRequest = ModifyFullLogTtlRequest;
8528
+ class ModifyFullLogTtlResponseBody extends $tea.Model {
7995
8529
  constructor(map) {
7996
8530
  super(map);
7997
8531
  }
@@ -8006,8 +8540,8 @@ class ModifyHealthCheckConfigResponseBody extends $tea.Model {
8006
8540
  };
8007
8541
  }
8008
8542
  }
8009
- exports.ModifyHealthCheckConfigResponseBody = ModifyHealthCheckConfigResponseBody;
8010
- class ModifyHealthCheckConfigResponse extends $tea.Model {
8543
+ exports.ModifyFullLogTtlResponseBody = ModifyFullLogTtlResponseBody;
8544
+ class ModifyFullLogTtlResponse extends $tea.Model {
8011
8545
  constructor(map) {
8012
8546
  super(map);
8013
8547
  }
@@ -8022,32 +8556,32 @@ class ModifyHealthCheckConfigResponse extends $tea.Model {
8022
8556
  return {
8023
8557
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8024
8558
  statusCode: 'number',
8025
- body: ModifyHealthCheckConfigResponseBody,
8559
+ body: ModifyFullLogTtlResponseBody,
8026
8560
  };
8027
8561
  }
8028
8562
  }
8029
- exports.ModifyHealthCheckConfigResponse = ModifyHealthCheckConfigResponse;
8030
- class ModifyHttp2EnableRequest extends $tea.Model {
8563
+ exports.ModifyFullLogTtlResponse = ModifyFullLogTtlResponse;
8564
+ class ModifyHeadersRequest extends $tea.Model {
8031
8565
  constructor(map) {
8032
8566
  super(map);
8033
8567
  }
8034
8568
  static names() {
8035
8569
  return {
8570
+ customHeaders: 'CustomHeaders',
8036
8571
  domain: 'Domain',
8037
- enable: 'Enable',
8038
8572
  resourceGroupId: 'ResourceGroupId',
8039
8573
  };
8040
8574
  }
8041
8575
  static types() {
8042
8576
  return {
8577
+ customHeaders: 'string',
8043
8578
  domain: 'string',
8044
- enable: 'number',
8045
8579
  resourceGroupId: 'string',
8046
8580
  };
8047
8581
  }
8048
8582
  }
8049
- exports.ModifyHttp2EnableRequest = ModifyHttp2EnableRequest;
8050
- class ModifyHttp2EnableResponseBody extends $tea.Model {
8583
+ exports.ModifyHeadersRequest = ModifyHeadersRequest;
8584
+ class ModifyHeadersResponseBody extends $tea.Model {
8051
8585
  constructor(map) {
8052
8586
  super(map);
8053
8587
  }
@@ -8062,8 +8596,8 @@ class ModifyHttp2EnableResponseBody extends $tea.Model {
8062
8596
  };
8063
8597
  }
8064
8598
  }
8065
- exports.ModifyHttp2EnableResponseBody = ModifyHttp2EnableResponseBody;
8066
- class ModifyHttp2EnableResponse extends $tea.Model {
8599
+ exports.ModifyHeadersResponseBody = ModifyHeadersResponseBody;
8600
+ class ModifyHeadersResponse extends $tea.Model {
8067
8601
  constructor(map) {
8068
8602
  super(map);
8069
8603
  }
@@ -8078,7 +8612,121 @@ class ModifyHttp2EnableResponse extends $tea.Model {
8078
8612
  return {
8079
8613
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8080
8614
  statusCode: 'number',
8081
- body: ModifyHttp2EnableResponseBody,
8615
+ body: ModifyHeadersResponseBody,
8616
+ };
8617
+ }
8618
+ }
8619
+ exports.ModifyHeadersResponse = ModifyHeadersResponse;
8620
+ class ModifyHealthCheckConfigRequest extends $tea.Model {
8621
+ constructor(map) {
8622
+ super(map);
8623
+ }
8624
+ static names() {
8625
+ return {
8626
+ forwardProtocol: 'ForwardProtocol',
8627
+ frontendPort: 'FrontendPort',
8628
+ healthCheck: 'HealthCheck',
8629
+ instanceId: 'InstanceId',
8630
+ };
8631
+ }
8632
+ static types() {
8633
+ return {
8634
+ forwardProtocol: 'string',
8635
+ frontendPort: 'number',
8636
+ healthCheck: 'string',
8637
+ instanceId: 'string',
8638
+ };
8639
+ }
8640
+ }
8641
+ exports.ModifyHealthCheckConfigRequest = ModifyHealthCheckConfigRequest;
8642
+ class ModifyHealthCheckConfigResponseBody extends $tea.Model {
8643
+ constructor(map) {
8644
+ super(map);
8645
+ }
8646
+ static names() {
8647
+ return {
8648
+ requestId: 'RequestId',
8649
+ };
8650
+ }
8651
+ static types() {
8652
+ return {
8653
+ requestId: 'string',
8654
+ };
8655
+ }
8656
+ }
8657
+ exports.ModifyHealthCheckConfigResponseBody = ModifyHealthCheckConfigResponseBody;
8658
+ class ModifyHealthCheckConfigResponse extends $tea.Model {
8659
+ constructor(map) {
8660
+ super(map);
8661
+ }
8662
+ static names() {
8663
+ return {
8664
+ headers: 'headers',
8665
+ statusCode: 'statusCode',
8666
+ body: 'body',
8667
+ };
8668
+ }
8669
+ static types() {
8670
+ return {
8671
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8672
+ statusCode: 'number',
8673
+ body: ModifyHealthCheckConfigResponseBody,
8674
+ };
8675
+ }
8676
+ }
8677
+ exports.ModifyHealthCheckConfigResponse = ModifyHealthCheckConfigResponse;
8678
+ class ModifyHttp2EnableRequest extends $tea.Model {
8679
+ constructor(map) {
8680
+ super(map);
8681
+ }
8682
+ static names() {
8683
+ return {
8684
+ domain: 'Domain',
8685
+ enable: 'Enable',
8686
+ resourceGroupId: 'ResourceGroupId',
8687
+ };
8688
+ }
8689
+ static types() {
8690
+ return {
8691
+ domain: 'string',
8692
+ enable: 'number',
8693
+ resourceGroupId: 'string',
8694
+ };
8695
+ }
8696
+ }
8697
+ exports.ModifyHttp2EnableRequest = ModifyHttp2EnableRequest;
8698
+ class ModifyHttp2EnableResponseBody extends $tea.Model {
8699
+ constructor(map) {
8700
+ super(map);
8701
+ }
8702
+ static names() {
8703
+ return {
8704
+ requestId: 'RequestId',
8705
+ };
8706
+ }
8707
+ static types() {
8708
+ return {
8709
+ requestId: 'string',
8710
+ };
8711
+ }
8712
+ }
8713
+ exports.ModifyHttp2EnableResponseBody = ModifyHttp2EnableResponseBody;
8714
+ class ModifyHttp2EnableResponse extends $tea.Model {
8715
+ constructor(map) {
8716
+ super(map);
8717
+ }
8718
+ static names() {
8719
+ return {
8720
+ headers: 'headers',
8721
+ statusCode: 'statusCode',
8722
+ body: 'body',
8723
+ };
8724
+ }
8725
+ static types() {
8726
+ return {
8727
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8728
+ statusCode: 'number',
8729
+ body: ModifyHttp2EnableResponseBody,
8082
8730
  };
8083
8731
  }
8084
8732
  }
@@ -8195,6 +8843,60 @@ class ModifyNetworkRuleAttributeResponse extends $tea.Model {
8195
8843
  }
8196
8844
  }
8197
8845
  exports.ModifyNetworkRuleAttributeResponse = ModifyNetworkRuleAttributeResponse;
8846
+ class ModifyOcspStatusRequest extends $tea.Model {
8847
+ constructor(map) {
8848
+ super(map);
8849
+ }
8850
+ static names() {
8851
+ return {
8852
+ domain: 'Domain',
8853
+ enable: 'Enable',
8854
+ };
8855
+ }
8856
+ static types() {
8857
+ return {
8858
+ domain: 'string',
8859
+ enable: 'number',
8860
+ };
8861
+ }
8862
+ }
8863
+ exports.ModifyOcspStatusRequest = ModifyOcspStatusRequest;
8864
+ class ModifyOcspStatusResponseBody extends $tea.Model {
8865
+ constructor(map) {
8866
+ super(map);
8867
+ }
8868
+ static names() {
8869
+ return {
8870
+ requestId: 'RequestId',
8871
+ };
8872
+ }
8873
+ static types() {
8874
+ return {
8875
+ requestId: 'string',
8876
+ };
8877
+ }
8878
+ }
8879
+ exports.ModifyOcspStatusResponseBody = ModifyOcspStatusResponseBody;
8880
+ class ModifyOcspStatusResponse extends $tea.Model {
8881
+ constructor(map) {
8882
+ super(map);
8883
+ }
8884
+ static names() {
8885
+ return {
8886
+ headers: 'headers',
8887
+ statusCode: 'statusCode',
8888
+ body: 'body',
8889
+ };
8890
+ }
8891
+ static types() {
8892
+ return {
8893
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8894
+ statusCode: 'number',
8895
+ body: ModifyOcspStatusResponseBody,
8896
+ };
8897
+ }
8898
+ }
8899
+ exports.ModifyOcspStatusResponse = ModifyOcspStatusResponse;
8198
8900
  class ModifyPortRequest extends $tea.Model {
8199
8901
  constructor(map) {
8200
8902
  super(map);
@@ -9525,6 +10227,7 @@ class DescribeCertsResponseBodyCerts extends $tea.Model {
9525
10227
  }
9526
10228
  static names() {
9527
10229
  return {
10230
+ certIdentifier: 'CertIdentifier',
9528
10231
  common: 'Common',
9529
10232
  domainRelated: 'DomainRelated',
9530
10233
  endDate: 'EndDate',
@@ -9536,6 +10239,7 @@ class DescribeCertsResponseBodyCerts extends $tea.Model {
9536
10239
  }
9537
10240
  static types() {
9538
10241
  return {
10242
+ certIdentifier: 'string',
9539
10243
  common: 'string',
9540
10244
  domainRelated: 'boolean',
9541
10245
  endDate: 'string',
@@ -9840,6 +10544,7 @@ class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
9840
10544
  https2HttpEnable: 'Https2HttpEnable',
9841
10545
  httpsExt: 'HttpsExt',
9842
10546
  instanceIds: 'InstanceIds',
10547
+ ocspEnabled: 'OcspEnabled',
9843
10548
  policyMode: 'PolicyMode',
9844
10549
  proxyEnabled: 'ProxyEnabled',
9845
10550
  proxyTypes: 'ProxyTypes',
@@ -9868,6 +10573,7 @@ class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
9868
10573
  https2HttpEnable: 'boolean',
9869
10574
  httpsExt: 'string',
9870
10575
  instanceIds: { 'type': 'array', 'itemType': 'string' },
10576
+ ocspEnabled: 'boolean',
9871
10577
  policyMode: 'string',
9872
10578
  proxyEnabled: 'boolean',
9873
10579
  proxyTypes: { 'type': 'array', 'itemType': DescribeDomainResourceResponseBodyWebRulesProxyTypes },
@@ -9883,6 +10589,24 @@ class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
9883
10589
  }
9884
10590
  }
9885
10591
  exports.DescribeDomainResourceResponseBodyWebRules = DescribeDomainResourceResponseBodyWebRules;
10592
+ class DescribeDomainSecurityProfileResponseBodyResult extends $tea.Model {
10593
+ constructor(map) {
10594
+ super(map);
10595
+ }
10596
+ static names() {
10597
+ return {
10598
+ globalEnable: 'GlobalEnable',
10599
+ globalMode: 'GlobalMode',
10600
+ };
10601
+ }
10602
+ static types() {
10603
+ return {
10604
+ globalEnable: 'boolean',
10605
+ globalMode: 'string',
10606
+ };
10607
+ }
10608
+ }
10609
+ exports.DescribeDomainSecurityProfileResponseBodyResult = DescribeDomainSecurityProfileResponseBodyResult;
9886
10610
  class DescribeDomainStatusCodeListResponseBodyStatusCodeList extends $tea.Model {
9887
10611
  constructor(map) {
9888
10612
  super(map);
@@ -10021,6 +10745,24 @@ class DescribeDomainViewTopUrlResponseBodyUrlList extends $tea.Model {
10021
10745
  }
10022
10746
  }
10023
10747
  exports.DescribeDomainViewTopUrlResponseBodyUrlList = DescribeDomainViewTopUrlResponseBodyUrlList;
10748
+ class DescribeHeadersResponseBodyCustomHeader extends $tea.Model {
10749
+ constructor(map) {
10750
+ super(map);
10751
+ }
10752
+ static names() {
10753
+ return {
10754
+ domain: 'Domain',
10755
+ headers: 'Headers',
10756
+ };
10757
+ }
10758
+ static types() {
10759
+ return {
10760
+ domain: 'string',
10761
+ headers: 'string',
10762
+ };
10763
+ }
10764
+ }
10765
+ exports.DescribeHeadersResponseBodyCustomHeader = DescribeHeadersResponseBodyCustomHeader;
10024
10766
  class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck extends $tea.Model {
10025
10767
  constructor(map) {
10026
10768
  super(map);
@@ -10157,6 +10899,30 @@ class DescribeInstanceDetailsResponseBodyInstanceDetails extends $tea.Model {
10157
10899
  }
10158
10900
  }
10159
10901
  exports.DescribeInstanceDetailsResponseBodyInstanceDetails = DescribeInstanceDetailsResponseBodyInstanceDetails;
10902
+ class DescribeInstanceExtResponseBodyInstanceExtSpecs extends $tea.Model {
10903
+ constructor(map) {
10904
+ super(map);
10905
+ }
10906
+ static names() {
10907
+ return {
10908
+ functionVersion: 'FunctionVersion',
10909
+ instanceId: 'InstanceId',
10910
+ normalBandwidth: 'NormalBandwidth',
10911
+ productPlan: 'ProductPlan',
10912
+ servicePartner: 'ServicePartner',
10913
+ };
10914
+ }
10915
+ static types() {
10916
+ return {
10917
+ functionVersion: 'number',
10918
+ instanceId: 'string',
10919
+ normalBandwidth: 'number',
10920
+ productPlan: 'number',
10921
+ servicePartner: 'string',
10922
+ };
10923
+ }
10924
+ }
10925
+ exports.DescribeInstanceExtResponseBodyInstanceExtSpecs = DescribeInstanceExtResponseBodyInstanceExtSpecs;
10160
10926
  class DescribeInstanceIdsResponseBodyInstanceIds extends $tea.Model {
10161
10927
  constructor(map) {
10162
10928
  super(map);
@@ -10189,14 +10955,20 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
10189
10955
  return {
10190
10956
  bandwidthMbps: 'BandwidthMbps',
10191
10957
  baseBandwidth: 'BaseBandwidth',
10958
+ connLimit: 'ConnLimit',
10959
+ cpsLimit: 'CpsLimit',
10192
10960
  defenseCount: 'DefenseCount',
10193
10961
  domainLimit: 'DomainLimit',
10194
10962
  elasticBandwidth: 'ElasticBandwidth',
10195
10963
  elasticBw: 'ElasticBw',
10964
+ elasticBwModel: 'ElasticBwModel',
10965
+ elasticQps: 'ElasticQps',
10966
+ elasticQpsMode: 'ElasticQpsMode',
10196
10967
  functionVersion: 'FunctionVersion',
10197
10968
  instanceId: 'InstanceId',
10198
10969
  portLimit: 'PortLimit',
10199
10970
  qpsLimit: 'QpsLimit',
10971
+ realLimitBw: 'RealLimitBw',
10200
10972
  siteLimit: 'SiteLimit',
10201
10973
  };
10202
10974
  }
@@ -10204,14 +10976,20 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
10204
10976
  return {
10205
10977
  bandwidthMbps: 'number',
10206
10978
  baseBandwidth: 'number',
10979
+ connLimit: 'number',
10980
+ cpsLimit: 'number',
10207
10981
  defenseCount: 'number',
10208
10982
  domainLimit: 'number',
10209
10983
  elasticBandwidth: 'number',
10210
10984
  elasticBw: 'number',
10985
+ elasticBwModel: 'string',
10986
+ elasticQps: 'number',
10987
+ elasticQpsMode: 'string',
10211
10988
  functionVersion: 'string',
10212
10989
  instanceId: 'string',
10213
10990
  portLimit: 'number',
10214
10991
  qpsLimit: 'number',
10992
+ realLimitBw: 'number',
10215
10993
  siteLimit: 'number',
10216
10994
  };
10217
10995
  }
@@ -10271,8 +11049,11 @@ class DescribeInstancesResponseBodyInstances extends $tea.Model {
10271
11049
  enabled: 'Enabled',
10272
11050
  expireTime: 'ExpireTime',
10273
11051
  instanceId: 'InstanceId',
11052
+ ip: 'Ip',
10274
11053
  ipMode: 'IpMode',
10275
11054
  ipVersion: 'IpVersion',
11055
+ isFirstOpenBw: 'IsFirstOpenBw',
11056
+ isFirstOpenQps: 'IsFirstOpenQps',
10276
11057
  remark: 'Remark',
10277
11058
  status: 'Status',
10278
11059
  };
@@ -10285,8 +11066,11 @@ class DescribeInstancesResponseBodyInstances extends $tea.Model {
10285
11066
  enabled: 'number',
10286
11067
  expireTime: 'number',
10287
11068
  instanceId: 'string',
11069
+ ip: 'string',
10288
11070
  ipMode: 'string',
10289
11071
  ipVersion: 'string',
11072
+ isFirstOpenBw: 'number',
11073
+ isFirstOpenQps: 'number',
10290
11074
  remark: 'string',
10291
11075
  status: 'number',
10292
11076
  };
@@ -10657,6 +11441,26 @@ class DescribePortAutoCcStatusResponseBodyPortAutoCcStatus extends $tea.Model {
10657
11441
  }
10658
11442
  }
10659
11443
  exports.DescribePortAutoCcStatusResponseBodyPortAutoCcStatus = DescribePortAutoCcStatusResponseBodyPortAutoCcStatus;
11444
+ class DescribePortCcAttackTopIPResponseBodyTopIp extends $tea.Model {
11445
+ constructor(map) {
11446
+ super(map);
11447
+ }
11448
+ static names() {
11449
+ return {
11450
+ areaId: 'AreaId',
11451
+ pv: 'Pv',
11452
+ srcIp: 'SrcIp',
11453
+ };
11454
+ }
11455
+ static types() {
11456
+ return {
11457
+ areaId: 'string',
11458
+ pv: 'number',
11459
+ srcIp: 'string',
11460
+ };
11461
+ }
11462
+ }
11463
+ exports.DescribePortCcAttackTopIPResponseBodyTopIp = DescribePortCcAttackTopIPResponseBodyTopIp;
10660
11464
  class DescribePortConnsListResponseBodyConnsList extends $tea.Model {
10661
11465
  constructor(map) {
10662
11466
  super(map);
@@ -10695,6 +11499,14 @@ class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
10695
11499
  outBps: 'OutBps',
10696
11500
  outPps: 'OutPps',
10697
11501
  region: 'Region',
11502
+ slaBpsDropBps: 'SlaBpsDropBps',
11503
+ slaBpsDropPps: 'SlaBpsDropPps',
11504
+ slaConnDropBps: 'SlaConnDropBps',
11505
+ slaConnDropPps: 'SlaConnDropPps',
11506
+ slaCpsDropBps: 'SlaCpsDropBps',
11507
+ slaCpsDropPps: 'SlaCpsDropPps',
11508
+ slaPpsDropBps: 'SlaPpsDropBps',
11509
+ slaPpsDropPps: 'SlaPpsDropPps',
10698
11510
  time: 'Time',
10699
11511
  };
10700
11512
  }
@@ -10708,6 +11520,14 @@ class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
10708
11520
  outBps: 'number',
10709
11521
  outPps: 'number',
10710
11522
  region: 'string',
11523
+ slaBpsDropBps: 'number',
11524
+ slaBpsDropPps: 'number',
11525
+ slaConnDropBps: 'number',
11526
+ slaConnDropPps: 'number',
11527
+ slaCpsDropBps: 'number',
11528
+ slaCpsDropPps: 'number',
11529
+ slaPpsDropBps: 'number',
11530
+ slaPpsDropPps: 'number',
10711
11531
  time: 'number',
10712
11532
  };
10713
11533
  }
@@ -10901,6 +11721,7 @@ class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
10901
11721
  }
10902
11722
  static names() {
10903
11723
  return {
11724
+ line: 'Line',
10904
11725
  priority: 'Priority',
10905
11726
  regionId: 'RegionId',
10906
11727
  restoreDelay: 'RestoreDelay',
@@ -10912,6 +11733,7 @@ class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
10912
11733
  }
10913
11734
  static types() {
10914
11735
  return {
11736
+ line: 'string',
10915
11737
  priority: 'number',
10916
11738
  regionId: 'string',
10917
11739
  restoreDelay: 'number',
@@ -10947,6 +11769,28 @@ class DescribeSchedulerRulesResponseBodySchedulerRules extends $tea.Model {
10947
11769
  }
10948
11770
  }
10949
11771
  exports.DescribeSchedulerRulesResponseBodySchedulerRules = DescribeSchedulerRulesResponseBodySchedulerRules;
11772
+ class DescribeSlaEventListResponseBodySlaEvent extends $tea.Model {
11773
+ constructor(map) {
11774
+ super(map);
11775
+ }
11776
+ static names() {
11777
+ return {
11778
+ endTime: 'EndTime',
11779
+ ip: 'Ip',
11780
+ region: 'Region',
11781
+ startTime: 'StartTime',
11782
+ };
11783
+ }
11784
+ static types() {
11785
+ return {
11786
+ endTime: 'number',
11787
+ ip: 'string',
11788
+ region: 'string',
11789
+ startTime: 'number',
11790
+ };
11791
+ }
11792
+ }
11793
+ exports.DescribeSlaEventListResponseBodySlaEvent = DescribeSlaEventListResponseBodySlaEvent;
10950
11794
  class DescribeStsGrantStatusResponseBodyStsGrant extends $tea.Model {
10951
11795
  constructor(map) {
10952
11796
  super(map);
@@ -11223,6 +12067,7 @@ class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $tea.Model
11223
12067
  blackWhiteListEnable: 'BlackWhiteListEnable',
11224
12068
  ccCustomRuleEnable: 'CcCustomRuleEnable',
11225
12069
  ccEnable: 'CcEnable',
12070
+ ccGlobalSwitch: 'CcGlobalSwitch',
11226
12071
  ccTemplate: 'CcTemplate',
11227
12072
  domain: 'Domain',
11228
12073
  preciseRuleEnable: 'PreciseRuleEnable',
@@ -11237,6 +12082,7 @@ class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $tea.Model
11237
12082
  blackWhiteListEnable: 'number',
11238
12083
  ccCustomRuleEnable: 'number',
11239
12084
  ccEnable: 'number',
12085
+ ccGlobalSwitch: 'string',
11240
12086
  ccTemplate: 'string',
11241
12087
  domain: 'string',
11242
12088
  preciseRuleEnable: 'number',
@@ -11308,6 +12154,7 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListCon
11308
12154
  static names() {
11309
12155
  return {
11310
12156
  content: 'Content',
12157
+ contentList: 'ContentList',
11311
12158
  field: 'Field',
11312
12159
  headerName: 'HeaderName',
11313
12160
  matchMethod: 'MatchMethod',
@@ -11316,6 +12163,7 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListCon
11316
12163
  static types() {
11317
12164
  return {
11318
12165
  content: 'string',
12166
+ contentList: { 'type': 'array', 'itemType': 'string' },
11319
12167
  field: 'string',
11320
12168
  headerName: 'string',
11321
12169
  matchMethod: 'string',
@@ -11365,24 +12213,46 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList extends $t
11365
12213
  }
11366
12214
  }
11367
12215
  exports.DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList = DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList;
11368
- class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
12216
+ class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
11369
12217
  constructor(map) {
11370
12218
  super(map);
11371
12219
  }
11372
12220
  static names() {
11373
12221
  return {
11374
- certId: 'CertId',
11375
- gmEnable: 'GmEnable',
11376
- gmOnly: 'GmOnly',
12222
+ areaId: 'AreaId',
12223
+ count: 'Count',
12224
+ isp: 'Isp',
12225
+ sourceIp: 'SourceIp',
11377
12226
  };
11378
12227
  }
11379
12228
  static types() {
11380
12229
  return {
11381
- certId: 'string',
11382
- gmEnable: 'number',
11383
- gmOnly: 'number',
11384
- };
11385
- }
12230
+ areaId: 'string',
12231
+ count: 'number',
12232
+ isp: 'string',
12233
+ sourceIp: 'string',
12234
+ };
12235
+ }
12236
+ }
12237
+ exports.DescribeWebReportTopIpResponseBodyDataList = DescribeWebReportTopIpResponseBodyDataList;
12238
+ class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
12239
+ constructor(map) {
12240
+ super(map);
12241
+ }
12242
+ static names() {
12243
+ return {
12244
+ certId: 'CertId',
12245
+ gmEnable: 'GmEnable',
12246
+ gmOnly: 'GmOnly',
12247
+ };
12248
+ }
12249
+ static types() {
12250
+ return {
12251
+ certId: 'string',
12252
+ gmEnable: 'number',
12253
+ gmOnly: 'number',
12254
+ };
12255
+ }
11386
12256
  }
11387
12257
  exports.DescribeWebRulesResponseBodyWebRulesGmCert = DescribeWebRulesResponseBodyWebRulesGmCert;
11388
12258
  class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea.Model {
@@ -11432,6 +12302,7 @@ class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
11432
12302
  ccRuleEnabled: 'CcRuleEnabled',
11433
12303
  ccTemplate: 'CcTemplate',
11434
12304
  certName: 'CertName',
12305
+ certRegion: 'CertRegion',
11435
12306
  cname: 'Cname',
11436
12307
  customCiphers: 'CustomCiphers',
11437
12308
  domain: 'Domain',
@@ -11459,6 +12330,7 @@ class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
11459
12330
  ccRuleEnabled: 'boolean',
11460
12331
  ccTemplate: 'string',
11461
12332
  certName: 'string',
12333
+ certRegion: 'string',
11462
12334
  cname: 'string',
11463
12335
  customCiphers: { 'type': 'array', 'itemType': 'string' },
11464
12336
  domain: 'string',
@@ -11547,6 +12419,16 @@ class Client extends openapi_client_1.default {
11547
12419
  let runtime = new $Util.RuntimeOptions({});
11548
12420
  return await this.addAutoCcBlacklistWithOptions(request, runtime);
11549
12421
  }
12422
+ /**
12423
+ * You can call the AddAutoCcWhitelist operation to add IP addresses to the whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance. This way, the Anti-DDoS Pro or Anti-DDoS Premium instance allows traffic from the IP addresses.
12424
+ * By default, the traffic from the IP addresses that you add to the whitelist is always allowed. If you no longer use the whitelist, you can call the [EmptyAutoCcWhitelist](~~157505~~) operation to remove the IP addresses from the whitelist.
12425
+ * ### Limits
12426
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
12427
+ *
12428
+ * @param request AddAutoCcWhitelistRequest
12429
+ * @param runtime runtime options for this request RuntimeOptions
12430
+ * @return AddAutoCcWhitelistResponse
12431
+ */
11550
12432
  async addAutoCcWhitelistWithOptions(request, runtime) {
11551
12433
  tea_util_1.default.validateModel(request);
11552
12434
  let query = {};
@@ -11575,6 +12457,15 @@ class Client extends openapi_client_1.default {
11575
12457
  });
11576
12458
  return $tea.cast(await this.callApi(params, req, runtime), new AddAutoCcWhitelistResponse({}));
11577
12459
  }
12460
+ /**
12461
+ * You can call the AddAutoCcWhitelist operation to add IP addresses to the whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance. This way, the Anti-DDoS Pro or Anti-DDoS Premium instance allows traffic from the IP addresses.
12462
+ * By default, the traffic from the IP addresses that you add to the whitelist is always allowed. If you no longer use the whitelist, you can call the [EmptyAutoCcWhitelist](~~157505~~) operation to remove the IP addresses from the whitelist.
12463
+ * ### Limits
12464
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
12465
+ *
12466
+ * @param request AddAutoCcWhitelistRequest
12467
+ * @return AddAutoCcWhitelistResponse
12468
+ */
11578
12469
  async addAutoCcWhitelist(request) {
11579
12470
  let runtime = new $Util.RuntimeOptions({});
11580
12471
  return await this.addAutoCcWhitelistWithOptions(request, runtime);
@@ -11588,9 +12479,15 @@ class Client extends openapi_client_1.default {
11588
12479
  if (!tea_util_1.default.isUnset(request.certId)) {
11589
12480
  query["CertId"] = request.certId;
11590
12481
  }
12482
+ if (!tea_util_1.default.isUnset(request.certIdentifier)) {
12483
+ query["CertIdentifier"] = request.certIdentifier;
12484
+ }
11591
12485
  if (!tea_util_1.default.isUnset(request.certName)) {
11592
12486
  query["CertName"] = request.certName;
11593
12487
  }
12488
+ if (!tea_util_1.default.isUnset(request.certRegion)) {
12489
+ query["CertRegion"] = request.certRegion;
12490
+ }
11594
12491
  if (!tea_util_1.default.isUnset(request.domain)) {
11595
12492
  query["Domain"] = request.domain;
11596
12493
  }
@@ -11652,6 +12549,13 @@ class Client extends openapi_client_1.default {
11652
12549
  let runtime = new $Util.RuntimeOptions({});
11653
12550
  return await this.attachSceneDefenseObjectWithOptions(request, runtime);
11654
12551
  }
12552
+ /**
12553
+ * If multiple origin servers are configured for a website that is added to Anti-DDoS Pro or Anti-DDoS Premium, you can modify the load balancing algorithms for back-to-origin traffic based on back-to-origin policies. The IP hash algorithm is used by default. You can change the algorithm to the round-robin or least response time algorithm. For more information, see the description of the **Policy** parameter in the "Request parameters" section of this topic.
12554
+ *
12555
+ * @param request ConfigL7RsPolicyRequest
12556
+ * @param runtime runtime options for this request RuntimeOptions
12557
+ * @return ConfigL7RsPolicyResponse
12558
+ */
11655
12559
  async configL7RsPolicyWithOptions(request, runtime) {
11656
12560
  tea_util_1.default.validateModel(request);
11657
12561
  let query = {};
@@ -11680,10 +12584,45 @@ class Client extends openapi_client_1.default {
11680
12584
  });
11681
12585
  return $tea.cast(await this.callApi(params, req, runtime), new ConfigL7RsPolicyResponse({}));
11682
12586
  }
12587
+ /**
12588
+ * If multiple origin servers are configured for a website that is added to Anti-DDoS Pro or Anti-DDoS Premium, you can modify the load balancing algorithms for back-to-origin traffic based on back-to-origin policies. The IP hash algorithm is used by default. You can change the algorithm to the round-robin or least response time algorithm. For more information, see the description of the **Policy** parameter in the "Request parameters" section of this topic.
12589
+ *
12590
+ * @param request ConfigL7RsPolicyRequest
12591
+ * @return ConfigL7RsPolicyResponse
12592
+ */
11683
12593
  async configL7RsPolicy(request) {
11684
12594
  let runtime = new $Util.RuntimeOptions({});
11685
12595
  return await this.configL7RsPolicyWithOptions(request, runtime);
11686
12596
  }
12597
+ async configLayer4RealLimitWithOptions(request, runtime) {
12598
+ tea_util_1.default.validateModel(request);
12599
+ let query = {};
12600
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
12601
+ query["InstanceId"] = request.instanceId;
12602
+ }
12603
+ if (!tea_util_1.default.isUnset(request.limitValue)) {
12604
+ query["LimitValue"] = request.limitValue;
12605
+ }
12606
+ let req = new $OpenApi.OpenApiRequest({
12607
+ query: openapi_util_1.default.query(query),
12608
+ });
12609
+ let params = new $OpenApi.Params({
12610
+ action: "ConfigLayer4RealLimit",
12611
+ version: "2020-01-01",
12612
+ protocol: "HTTPS",
12613
+ pathname: "/",
12614
+ method: "POST",
12615
+ authType: "AK",
12616
+ style: "RPC",
12617
+ reqBodyType: "formData",
12618
+ bodyType: "json",
12619
+ });
12620
+ return $tea.cast(await this.callApi(params, req, runtime), new ConfigLayer4RealLimitResponse({}));
12621
+ }
12622
+ async configLayer4RealLimit(request) {
12623
+ let runtime = new $Util.RuntimeOptions({});
12624
+ return await this.configLayer4RealLimitWithOptions(request, runtime);
12625
+ }
11687
12626
  async configLayer4RemarkWithOptions(request, runtime) {
11688
12627
  tea_util_1.default.validateModel(request);
11689
12628
  let query = {};
@@ -11820,6 +12759,15 @@ class Client extends openapi_client_1.default {
11820
12759
  let runtime = new $Util.RuntimeOptions({});
11821
12760
  return await this.configNetworkRulesWithOptions(request, runtime);
11822
12761
  }
12762
+ /**
12763
+ * You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
12764
+ * ### Limits
12765
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
12766
+ *
12767
+ * @param request ConfigUdpReflectRequest
12768
+ * @param runtime runtime options for this request RuntimeOptions
12769
+ * @return ConfigUdpReflectResponse
12770
+ */
11823
12771
  async configUdpReflectWithOptions(request, runtime) {
11824
12772
  tea_util_1.default.validateModel(request);
11825
12773
  let query = {};
@@ -11848,6 +12796,14 @@ class Client extends openapi_client_1.default {
11848
12796
  });
11849
12797
  return $tea.cast(await this.callApi(params, req, runtime), new ConfigUdpReflectResponse({}));
11850
12798
  }
12799
+ /**
12800
+ * You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
12801
+ * ### Limits
12802
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
12803
+ *
12804
+ * @param request ConfigUdpReflectRequest
12805
+ * @return ConfigUdpReflectResponse
12806
+ */
11851
12807
  async configUdpReflect(request) {
11852
12808
  let runtime = new $Util.RuntimeOptions({});
11853
12809
  return await this.configUdpReflectWithOptions(request, runtime);
@@ -12018,6 +12974,13 @@ class Client extends openapi_client_1.default {
12018
12974
  let runtime = new $Util.RuntimeOptions({});
12019
12975
  return await this.createNetworkRulesWithOptions(request, runtime);
12020
12976
  }
12977
+ /**
12978
+ * You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
12979
+ *
12980
+ * @param request CreatePortRequest
12981
+ * @param runtime runtime options for this request RuntimeOptions
12982
+ * @return CreatePortResponse
12983
+ */
12021
12984
  async createPortWithOptions(request, runtime) {
12022
12985
  tea_util_1.default.validateModel(request);
12023
12986
  let query = {};
@@ -12052,6 +13015,12 @@ class Client extends openapi_client_1.default {
12052
13015
  });
12053
13016
  return $tea.cast(await this.callApi(params, req, runtime), new CreatePortResponse({}));
12054
13017
  }
13018
+ /**
13019
+ * You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
13020
+ *
13021
+ * @param request CreatePortRequest
13022
+ * @return CreatePortResponse
13023
+ */
12055
13024
  async createPort(request) {
12056
13025
  let runtime = new $Util.RuntimeOptions({});
12057
13026
  return await this.createPortWithOptions(request, runtime);
@@ -12129,6 +13098,16 @@ class Client extends openapi_client_1.default {
12129
13098
  let runtime = new $Util.RuntimeOptions({});
12130
13099
  return await this.createSchedulerRuleWithOptions(request, runtime);
12131
13100
  }
13101
+ /**
13102
+ * You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
13103
+ * > Anti-DDoS Premium does not support the tag feature.
13104
+ * ### Limits
13105
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13106
+ *
13107
+ * @param request CreateTagResourcesRequest
13108
+ * @param runtime runtime options for this request RuntimeOptions
13109
+ * @return CreateTagResourcesResponse
13110
+ */
12132
13111
  async createTagResourcesWithOptions(request, runtime) {
12133
13112
  tea_util_1.default.validateModel(request);
12134
13113
  let query = {};
@@ -12163,6 +13142,15 @@ class Client extends openapi_client_1.default {
12163
13142
  });
12164
13143
  return $tea.cast(await this.callApi(params, req, runtime), new CreateTagResourcesResponse({}));
12165
13144
  }
13145
+ /**
13146
+ * You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
13147
+ * > Anti-DDoS Premium does not support the tag feature.
13148
+ * ### Limits
13149
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13150
+ *
13151
+ * @param request CreateTagResourcesRequest
13152
+ * @return CreateTagResourcesResponse
13153
+ */
12166
13154
  async createTagResources(request) {
12167
13155
  let runtime = new $Util.RuntimeOptions({});
12168
13156
  return await this.createTagResourcesWithOptions(request, runtime);
@@ -12400,6 +13388,14 @@ class Client extends openapi_client_1.default {
12400
13388
  let runtime = new $Util.RuntimeOptions({});
12401
13389
  return await this.deleteNetworkRuleWithOptions(request, runtime);
12402
13390
  }
13391
+ /**
13392
+ * After you delete a port forwarding rule, the Anti-DDoS Pro or Anti-DDoS Premium instance no longer forwards service traffic on the Layer 4 port. Before you delete a specific port forwarding rule, make sure that the service traffic destined for the Layer 4 port is redirected to the origin server. This can prevent negative impacts on your services.
13393
+ * > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
13394
+ *
13395
+ * @param request DeletePortRequest
13396
+ * @param runtime runtime options for this request RuntimeOptions
13397
+ * @return DeletePortResponse
13398
+ */
12403
13399
  async deletePortWithOptions(request, runtime) {
12404
13400
  tea_util_1.default.validateModel(request);
12405
13401
  let query = {};
@@ -12434,6 +13430,13 @@ class Client extends openapi_client_1.default {
12434
13430
  });
12435
13431
  return $tea.cast(await this.callApi(params, req, runtime), new DeletePortResponse({}));
12436
13432
  }
13433
+ /**
13434
+ * After you delete a port forwarding rule, the Anti-DDoS Pro or Anti-DDoS Premium instance no longer forwards service traffic on the Layer 4 port. Before you delete a specific port forwarding rule, make sure that the service traffic destined for the Layer 4 port is redirected to the origin server. This can prevent negative impacts on your services.
13435
+ * > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
13436
+ *
13437
+ * @param request DeletePortRequest
13438
+ * @return DeletePortResponse
13439
+ */
12437
13440
  async deletePort(request) {
12438
13441
  let runtime = new $Util.RuntimeOptions({});
12439
13442
  return await this.deletePortWithOptions(request, runtime);
@@ -12493,6 +13496,16 @@ class Client extends openapi_client_1.default {
12493
13496
  let runtime = new $Util.RuntimeOptions({});
12494
13497
  return await this.deleteSchedulerRuleWithOptions(request, runtime);
12495
13498
  }
13499
+ /**
13500
+ * You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
13501
+ * > Only Anti-DDoS Pro supports tags.
13502
+ * ### Limits
13503
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13504
+ *
13505
+ * @param request DeleteTagResourcesRequest
13506
+ * @param runtime runtime options for this request RuntimeOptions
13507
+ * @return DeleteTagResourcesResponse
13508
+ */
12496
13509
  async deleteTagResourcesWithOptions(request, runtime) {
12497
13510
  tea_util_1.default.validateModel(request);
12498
13511
  let query = {};
@@ -12530,6 +13543,15 @@ class Client extends openapi_client_1.default {
12530
13543
  });
12531
13544
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteTagResourcesResponse({}));
12532
13545
  }
13546
+ /**
13547
+ * You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
13548
+ * > Only Anti-DDoS Pro supports tags.
13549
+ * ### Limits
13550
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13551
+ *
13552
+ * @param request DeleteTagResourcesRequest
13553
+ * @return DeleteTagResourcesResponse
13554
+ */
12533
13555
  async deleteTagResources(request) {
12534
13556
  let runtime = new $Util.RuntimeOptions({});
12535
13557
  return await this.deleteTagResourcesWithOptions(request, runtime);
@@ -12566,6 +13588,15 @@ class Client extends openapi_client_1.default {
12566
13588
  let runtime = new $Util.RuntimeOptions({});
12567
13589
  return await this.deleteWebCCRuleWithOptions(request, runtime);
12568
13590
  }
13591
+ /**
13592
+ * You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
13593
+ * ### Limits
13594
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13595
+ *
13596
+ * @param request DeleteWebCacheCustomRuleRequest
13597
+ * @param runtime runtime options for this request RuntimeOptions
13598
+ * @return DeleteWebCacheCustomRuleResponse
13599
+ */
12569
13600
  async deleteWebCacheCustomRuleWithOptions(request, runtime) {
12570
13601
  tea_util_1.default.validateModel(request);
12571
13602
  let query = {};
@@ -12594,6 +13625,14 @@ class Client extends openapi_client_1.default {
12594
13625
  });
12595
13626
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteWebCacheCustomRuleResponse({}));
12596
13627
  }
13628
+ /**
13629
+ * You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
13630
+ * ### Limits
13631
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13632
+ *
13633
+ * @param request DeleteWebCacheCustomRuleRequest
13634
+ * @return DeleteWebCacheCustomRuleResponse
13635
+ */
12597
13636
  async deleteWebCacheCustomRule(request) {
12598
13637
  let runtime = new $Util.RuntimeOptions({});
12599
13638
  return await this.deleteWebCacheCustomRuleWithOptions(request, runtime);
@@ -12659,6 +13698,15 @@ class Client extends openapi_client_1.default {
12659
13698
  let runtime = new $Util.RuntimeOptions({});
12660
13699
  return await this.deleteWebRuleWithOptions(request, runtime);
12661
13700
  }
13701
+ /**
13702
+ * You can call the DescribeAsyncTasks operation to query the details of asynchronous export tasks, such as the IDs, start time, end time, status, parameters, and results.
13703
+ * ### Limits
13704
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13705
+ *
13706
+ * @param request DescribeAsyncTasksRequest
13707
+ * @param runtime runtime options for this request RuntimeOptions
13708
+ * @return DescribeAsyncTasksResponse
13709
+ */
12662
13710
  async describeAsyncTasksWithOptions(request, runtime) {
12663
13711
  tea_util_1.default.validateModel(request);
12664
13712
  let query = {};
@@ -12687,6 +13735,14 @@ class Client extends openapi_client_1.default {
12687
13735
  });
12688
13736
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeAsyncTasksResponse({}));
12689
13737
  }
13738
+ /**
13739
+ * You can call the DescribeAsyncTasks operation to query the details of asynchronous export tasks, such as the IDs, start time, end time, status, parameters, and results.
13740
+ * ### Limits
13741
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13742
+ *
13743
+ * @param request DescribeAsyncTasksRequest
13744
+ * @return DescribeAsyncTasksResponse
13745
+ */
12690
13746
  async describeAsyncTasks(request) {
12691
13747
  let runtime = new $Util.RuntimeOptions({});
12692
13748
  return await this.describeAsyncTasksWithOptions(request, runtime);
@@ -12822,6 +13878,9 @@ class Client extends openapi_client_1.default {
12822
13878
  async describeBackSourceCidrWithOptions(request, runtime) {
12823
13879
  tea_util_1.default.validateModel(request);
12824
13880
  let query = {};
13881
+ if (!tea_util_1.default.isUnset(request.ipVersion)) {
13882
+ query["IpVersion"] = request.ipVersion;
13883
+ }
12825
13884
  if (!tea_util_1.default.isUnset(request.line)) {
12826
13885
  query["Line"] = request.line;
12827
13886
  }
@@ -12874,6 +13933,16 @@ class Client extends openapi_client_1.default {
12874
13933
  let runtime = new $Util.RuntimeOptions({});
12875
13934
  return await this.describeBlackholeStatusWithOptions(request, runtime);
12876
13935
  }
13936
+ /**
13937
+ * This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
13938
+ * > This operation is suitable only for Anti-DDoS Pro.
13939
+ * ### Limits
13940
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13941
+ *
13942
+ * @param request DescribeBlockStatusRequest
13943
+ * @param runtime runtime options for this request RuntimeOptions
13944
+ * @return DescribeBlockStatusResponse
13945
+ */
12877
13946
  async describeBlockStatusWithOptions(request, runtime) {
12878
13947
  tea_util_1.default.validateModel(request);
12879
13948
  let query = {};
@@ -12899,6 +13968,15 @@ class Client extends openapi_client_1.default {
12899
13968
  });
12900
13969
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeBlockStatusResponse({}));
12901
13970
  }
13971
+ /**
13972
+ * This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
13973
+ * > This operation is suitable only for Anti-DDoS Pro.
13974
+ * ### Limits
13975
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
13976
+ *
13977
+ * @param request DescribeBlockStatusRequest
13978
+ * @return DescribeBlockStatusResponse
13979
+ */
12902
13980
  async describeBlockStatus(request) {
12903
13981
  let runtime = new $Util.RuntimeOptions({});
12904
13982
  return await this.describeBlockStatusWithOptions(request, runtime);
@@ -13002,6 +14080,15 @@ class Client extends openapi_client_1.default {
13002
14080
  let runtime = new $Util.RuntimeOptions({});
13003
14081
  return await this.describeDDoSEventsWithOptions(request, runtime);
13004
14082
  }
14083
+ /**
14084
+ * 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.
14085
+ * ### Limits
14086
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
14087
+ *
14088
+ * @param request DescribeDDosAllEventListRequest
14089
+ * @param runtime runtime options for this request RuntimeOptions
14090
+ * @return DescribeDDosAllEventListResponse
14091
+ */
13005
14092
  async describeDDosAllEventListWithOptions(request, runtime) {
13006
14093
  tea_util_1.default.validateModel(request);
13007
14094
  let query = {};
@@ -13036,10 +14123,25 @@ class Client extends openapi_client_1.default {
13036
14123
  });
13037
14124
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosAllEventListResponse({}));
13038
14125
  }
14126
+ /**
14127
+ * 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.
14128
+ * ### Limits
14129
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
14130
+ *
14131
+ * @param request DescribeDDosAllEventListRequest
14132
+ * @return DescribeDDosAllEventListResponse
14133
+ */
13039
14134
  async describeDDosAllEventList(request) {
13040
14135
  let runtime = new $Util.RuntimeOptions({});
13041
14136
  return await this.describeDDosAllEventListWithOptions(request, runtime);
13042
14137
  }
14138
+ /**
14139
+ * > This operation is suitable only for volumetric attacks.
14140
+ *
14141
+ * @param request DescribeDDosEventAreaRequest
14142
+ * @param runtime runtime options for this request RuntimeOptions
14143
+ * @return DescribeDDosEventAreaResponse
14144
+ */
13043
14145
  async describeDDosEventAreaWithOptions(request, runtime) {
13044
14146
  tea_util_1.default.validateModel(request);
13045
14147
  let query = {};
@@ -13068,10 +14170,23 @@ class Client extends openapi_client_1.default {
13068
14170
  });
13069
14171
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventAreaResponse({}));
13070
14172
  }
14173
+ /**
14174
+ * > This operation is suitable only for volumetric attacks.
14175
+ *
14176
+ * @param request DescribeDDosEventAreaRequest
14177
+ * @return DescribeDDosEventAreaResponse
14178
+ */
13071
14179
  async describeDDosEventArea(request) {
13072
14180
  let runtime = new $Util.RuntimeOptions({});
13073
14181
  return await this.describeDDosEventAreaWithOptions(request, runtime);
13074
14182
  }
14183
+ /**
14184
+ * > This operation is suitable only for volumetric attacks.
14185
+ *
14186
+ * @param request DescribeDDosEventAttackTypeRequest
14187
+ * @param runtime runtime options for this request RuntimeOptions
14188
+ * @return DescribeDDosEventAttackTypeResponse
14189
+ */
13075
14190
  async describeDDosEventAttackTypeWithOptions(request, runtime) {
13076
14191
  tea_util_1.default.validateModel(request);
13077
14192
  let query = {};
@@ -13100,10 +14215,23 @@ class Client extends openapi_client_1.default {
13100
14215
  });
13101
14216
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventAttackTypeResponse({}));
13102
14217
  }
14218
+ /**
14219
+ * > This operation is suitable only for volumetric attacks.
14220
+ *
14221
+ * @param request DescribeDDosEventAttackTypeRequest
14222
+ * @return DescribeDDosEventAttackTypeResponse
14223
+ */
13103
14224
  async describeDDosEventAttackType(request) {
13104
14225
  let runtime = new $Util.RuntimeOptions({});
13105
14226
  return await this.describeDDosEventAttackTypeWithOptions(request, runtime);
13106
14227
  }
14228
+ /**
14229
+ * > This operation is suitable only for volumetric attacks.
14230
+ *
14231
+ * @param request DescribeDDosEventIspRequest
14232
+ * @param runtime runtime options for this request RuntimeOptions
14233
+ * @return DescribeDDosEventIspResponse
14234
+ */
13107
14235
  async describeDDosEventIspWithOptions(request, runtime) {
13108
14236
  tea_util_1.default.validateModel(request);
13109
14237
  let query = {};
@@ -13132,6 +14260,12 @@ class Client extends openapi_client_1.default {
13132
14260
  });
13133
14261
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventIspResponse({}));
13134
14262
  }
14263
+ /**
14264
+ * > This operation is suitable only for volumetric attacks.
14265
+ *
14266
+ * @param request DescribeDDosEventIspRequest
14267
+ * @return DescribeDDosEventIspResponse
14268
+ */
13135
14269
  async describeDDosEventIsp(request) {
13136
14270
  let runtime = new $Util.RuntimeOptions({});
13137
14271
  return await this.describeDDosEventIspWithOptions(request, runtime);
@@ -13165,6 +14299,13 @@ class Client extends openapi_client_1.default {
13165
14299
  let runtime = new $Util.RuntimeOptions({});
13166
14300
  return await this.describeDDosEventMaxWithOptions(request, runtime);
13167
14301
  }
14302
+ /**
14303
+ * > This operation is suitable only for volumetric attacks.
14304
+ *
14305
+ * @param request DescribeDDosEventSrcIpRequest
14306
+ * @param runtime runtime options for this request RuntimeOptions
14307
+ * @return DescribeDDosEventSrcIpResponse
14308
+ */
13168
14309
  async describeDDosEventSrcIpWithOptions(request, runtime) {
13169
14310
  tea_util_1.default.validateModel(request);
13170
14311
  let query = {};
@@ -13196,10 +14337,26 @@ class Client extends openapi_client_1.default {
13196
14337
  });
13197
14338
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventSrcIpResponse({}));
13198
14339
  }
14340
+ /**
14341
+ * > This operation is suitable only for volumetric attacks.
14342
+ *
14343
+ * @param request DescribeDDosEventSrcIpRequest
14344
+ * @return DescribeDDosEventSrcIpResponse
14345
+ */
13199
14346
  async describeDDosEventSrcIp(request) {
13200
14347
  let runtime = new $Util.RuntimeOptions({});
13201
14348
  return await this.describeDDosEventSrcIpWithOptions(request, runtime);
13202
14349
  }
14350
+ /**
14351
+ * You can call the DescribeDefenseCountStatistics operation to query the information about advanced mitigation sessions of an Anti-DDoS Premium instance. For example, you can query the number of advanced mitigation sessions that are used within the current calendar month and the number of available global advanced mitigation sessions.
14352
+ * > This operation is suitable only for Anti-DDoS Premium.
14353
+ * ### Limits
14354
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
14355
+ *
14356
+ * @param request DescribeDefenseCountStatisticsRequest
14357
+ * @param runtime runtime options for this request RuntimeOptions
14358
+ * @return DescribeDefenseCountStatisticsResponse
14359
+ */
13203
14360
  async describeDefenseCountStatisticsWithOptions(request, runtime) {
13204
14361
  tea_util_1.default.validateModel(request);
13205
14362
  let query = {};
@@ -13222,10 +14379,26 @@ class Client extends openapi_client_1.default {
13222
14379
  });
13223
14380
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDefenseCountStatisticsResponse({}));
13224
14381
  }
14382
+ /**
14383
+ * You can call the DescribeDefenseCountStatistics operation to query the information about advanced mitigation sessions of an Anti-DDoS Premium instance. For example, you can query the number of advanced mitigation sessions that are used within the current calendar month and the number of available global advanced mitigation sessions.
14384
+ * > This operation is suitable only for Anti-DDoS Premium.
14385
+ * ### Limits
14386
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
14387
+ *
14388
+ * @param request DescribeDefenseCountStatisticsRequest
14389
+ * @return DescribeDefenseCountStatisticsResponse
14390
+ */
13225
14391
  async describeDefenseCountStatistics(request) {
13226
14392
  let runtime = new $Util.RuntimeOptions({});
13227
14393
  return await this.describeDefenseCountStatisticsWithOptions(request, runtime);
13228
14394
  }
14395
+ /**
14396
+ * > This operation is suitable only for Anti-DDoS Premium.
14397
+ *
14398
+ * @param request DescribeDefenseRecordsRequest
14399
+ * @param runtime runtime options for this request RuntimeOptions
14400
+ * @return DescribeDefenseRecordsResponse
14401
+ */
13229
14402
  async describeDefenseRecordsWithOptions(request, runtime) {
13230
14403
  tea_util_1.default.validateModel(request);
13231
14404
  let query = {};
@@ -13263,6 +14436,12 @@ class Client extends openapi_client_1.default {
13263
14436
  });
13264
14437
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDefenseRecordsResponse({}));
13265
14438
  }
14439
+ /**
14440
+ * > This operation is suitable only for Anti-DDoS Premium.
14441
+ *
14442
+ * @param request DescribeDefenseRecordsRequest
14443
+ * @return DescribeDefenseRecordsResponse
14444
+ */
13266
14445
  async describeDefenseRecords(request) {
13267
14446
  let runtime = new $Util.RuntimeOptions({});
13268
14447
  return await this.describeDefenseRecordsWithOptions(request, runtime);
@@ -13416,6 +14595,16 @@ class Client extends openapi_client_1.default {
13416
14595
  let runtime = new $Util.RuntimeOptions({});
13417
14596
  return await this.describeDomainQpsWithCacheWithOptions(request, runtime);
13418
14597
  }
14598
+ /**
14599
+ * You can call the DescribeDomainResource operation to query the configurations of the forwarding rules that you create for a website by page. The configurations include the domain name-related configurations, protocol-related configurations, HTTPS-related configurations, and configurations that are used to mitigate HTTP flood attacks.
14600
+ * You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
14601
+ * ### Limits
14602
+ * You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
14603
+ *
14604
+ * @param request DescribeDomainResourceRequest
14605
+ * @param runtime runtime options for this request RuntimeOptions
14606
+ * @return DescribeDomainResourceResponse
14607
+ */
13419
14608
  async describeDomainResourceWithOptions(request, runtime) {
13420
14609
  tea_util_1.default.validateModel(request);
13421
14610
  let query = {};
@@ -13450,10 +14639,45 @@ class Client extends openapi_client_1.default {
13450
14639
  });
13451
14640
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainResourceResponse({}));
13452
14641
  }
14642
+ /**
14643
+ * You can call the DescribeDomainResource operation to query the configurations of the forwarding rules that you create for a website by page. The configurations include the domain name-related configurations, protocol-related configurations, HTTPS-related configurations, and configurations that are used to mitigate HTTP flood attacks.
14644
+ * You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
14645
+ * ### Limits
14646
+ * You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
14647
+ *
14648
+ * @param request DescribeDomainResourceRequest
14649
+ * @return DescribeDomainResourceResponse
14650
+ */
13453
14651
  async describeDomainResource(request) {
13454
14652
  let runtime = new $Util.RuntimeOptions({});
13455
14653
  return await this.describeDomainResourceWithOptions(request, runtime);
13456
14654
  }
14655
+ async describeDomainSecurityProfileWithOptions(request, runtime) {
14656
+ tea_util_1.default.validateModel(request);
14657
+ let query = {};
14658
+ if (!tea_util_1.default.isUnset(request.domain)) {
14659
+ query["Domain"] = request.domain;
14660
+ }
14661
+ let req = new $OpenApi.OpenApiRequest({
14662
+ query: openapi_util_1.default.query(query),
14663
+ });
14664
+ let params = new $OpenApi.Params({
14665
+ action: "DescribeDomainSecurityProfile",
14666
+ version: "2020-01-01",
14667
+ protocol: "HTTPS",
14668
+ pathname: "/",
14669
+ method: "POST",
14670
+ authType: "AK",
14671
+ style: "RPC",
14672
+ reqBodyType: "formData",
14673
+ bodyType: "json",
14674
+ });
14675
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainSecurityProfileResponse({}));
14676
+ }
14677
+ async describeDomainSecurityProfile(request) {
14678
+ let runtime = new $Util.RuntimeOptions({});
14679
+ return await this.describeDomainSecurityProfileWithOptions(request, runtime);
14680
+ }
13457
14681
  async describeDomainStatusCodeCountWithOptions(request, runtime) {
13458
14682
  tea_util_1.default.validateModel(request);
13459
14683
  let query = {};
@@ -13737,6 +14961,13 @@ class Client extends openapi_client_1.default {
13737
14961
  let runtime = new $Util.RuntimeOptions({});
13738
14962
  return await this.describeDomainsWithOptions(request, runtime);
13739
14963
  }
14964
+ /**
14965
+ * > This operation is suitable only for Anti-DDoS Pro.
14966
+ *
14967
+ * @param request DescribeElasticBandwidthSpecRequest
14968
+ * @param runtime runtime options for this request RuntimeOptions
14969
+ * @return DescribeElasticBandwidthSpecResponse
14970
+ */
13740
14971
  async describeElasticBandwidthSpecWithOptions(request, runtime) {
13741
14972
  tea_util_1.default.validateModel(request);
13742
14973
  let query = {};
@@ -13759,10 +14990,45 @@ class Client extends openapi_client_1.default {
13759
14990
  });
13760
14991
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticBandwidthSpecResponse({}));
13761
14992
  }
14993
+ /**
14994
+ * > This operation is suitable only for Anti-DDoS Pro.
14995
+ *
14996
+ * @param request DescribeElasticBandwidthSpecRequest
14997
+ * @return DescribeElasticBandwidthSpecResponse
14998
+ */
13762
14999
  async describeElasticBandwidthSpec(request) {
13763
15000
  let runtime = new $Util.RuntimeOptions({});
13764
15001
  return await this.describeElasticBandwidthSpecWithOptions(request, runtime);
13765
15002
  }
15003
+ async describeHeadersWithOptions(request, runtime) {
15004
+ tea_util_1.default.validateModel(request);
15005
+ let query = {};
15006
+ if (!tea_util_1.default.isUnset(request.domain)) {
15007
+ query["Domain"] = request.domain;
15008
+ }
15009
+ if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
15010
+ query["ResourceGroupId"] = request.resourceGroupId;
15011
+ }
15012
+ let req = new $OpenApi.OpenApiRequest({
15013
+ query: openapi_util_1.default.query(query),
15014
+ });
15015
+ let params = new $OpenApi.Params({
15016
+ action: "DescribeHeaders",
15017
+ version: "2020-01-01",
15018
+ protocol: "HTTPS",
15019
+ pathname: "/",
15020
+ method: "POST",
15021
+ authType: "AK",
15022
+ style: "RPC",
15023
+ reqBodyType: "formData",
15024
+ bodyType: "json",
15025
+ });
15026
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeHeadersResponse({}));
15027
+ }
15028
+ async describeHeaders(request) {
15029
+ let runtime = new $Util.RuntimeOptions({});
15030
+ return await this.describeHeadersWithOptions(request, runtime);
15031
+ }
13766
15032
  async describeHealthCheckListWithOptions(request, runtime) {
13767
15033
  tea_util_1.default.validateModel(request);
13768
15034
  let query = {};
@@ -13815,6 +15081,15 @@ class Client extends openapi_client_1.default {
13815
15081
  let runtime = new $Util.RuntimeOptions({});
13816
15082
  return await this.describeHealthCheckStatusWithOptions(request, runtime);
13817
15083
  }
15084
+ /**
15085
+ * You can call the DescribeInstanceDetails operation to query the information about the IP addresses and ISP lines of the instances. The information includes the IP address, status, and protection line.
15086
+ * ### Limits
15087
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15088
+ *
15089
+ * @param request DescribeInstanceDetailsRequest
15090
+ * @param runtime runtime options for this request RuntimeOptions
15091
+ * @return DescribeInstanceDetailsResponse
15092
+ */
13818
15093
  async describeInstanceDetailsWithOptions(request, runtime) {
13819
15094
  tea_util_1.default.validateModel(request);
13820
15095
  let query = {};
@@ -13837,10 +15112,50 @@ class Client extends openapi_client_1.default {
13837
15112
  });
13838
15113
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceDetailsResponse({}));
13839
15114
  }
15115
+ /**
15116
+ * You can call the DescribeInstanceDetails operation to query the information about the IP addresses and ISP lines of the instances. The information includes the IP address, status, and protection line.
15117
+ * ### Limits
15118
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15119
+ *
15120
+ * @param request DescribeInstanceDetailsRequest
15121
+ * @return DescribeInstanceDetailsResponse
15122
+ */
13840
15123
  async describeInstanceDetails(request) {
13841
15124
  let runtime = new $Util.RuntimeOptions({});
13842
15125
  return await this.describeInstanceDetailsWithOptions(request, runtime);
13843
15126
  }
15127
+ async describeInstanceExtWithOptions(request, runtime) {
15128
+ tea_util_1.default.validateModel(request);
15129
+ let query = {};
15130
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
15131
+ query["InstanceId"] = request.instanceId;
15132
+ }
15133
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
15134
+ query["PageNumber"] = request.pageNumber;
15135
+ }
15136
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
15137
+ query["PageSize"] = request.pageSize;
15138
+ }
15139
+ let req = new $OpenApi.OpenApiRequest({
15140
+ query: openapi_util_1.default.query(query),
15141
+ });
15142
+ let params = new $OpenApi.Params({
15143
+ action: "DescribeInstanceExt",
15144
+ version: "2020-01-01",
15145
+ protocol: "HTTPS",
15146
+ pathname: "/",
15147
+ method: "POST",
15148
+ authType: "AK",
15149
+ style: "RPC",
15150
+ reqBodyType: "formData",
15151
+ bodyType: "json",
15152
+ });
15153
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceExtResponse({}));
15154
+ }
15155
+ async describeInstanceExt(request) {
15156
+ let runtime = new $Util.RuntimeOptions({});
15157
+ return await this.describeInstanceExtWithOptions(request, runtime);
15158
+ }
13844
15159
  async describeInstanceIdsWithOptions(request, runtime) {
13845
15160
  tea_util_1.default.validateModel(request);
13846
15161
  let query = {};
@@ -13873,6 +15188,15 @@ class Client extends openapi_client_1.default {
13873
15188
  let runtime = new $Util.RuntimeOptions({});
13874
15189
  return await this.describeInstanceIdsWithOptions(request, runtime);
13875
15190
  }
15191
+ /**
15192
+ * You can call the DescribeInstanceSpecs operation to query the specifications of multiple Anti-DDoS Pro or Anti-DDoS Premium instances at a time. The specifications include the clean bandwidth, protection bandwidth, function plan, and the numbers of domain names and ports that can be protected.
15193
+ * ### Limits
15194
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15195
+ *
15196
+ * @param request DescribeInstanceSpecsRequest
15197
+ * @param runtime runtime options for this request RuntimeOptions
15198
+ * @return DescribeInstanceSpecsResponse
15199
+ */
13876
15200
  async describeInstanceSpecsWithOptions(request, runtime) {
13877
15201
  tea_util_1.default.validateModel(request);
13878
15202
  let query = {};
@@ -13895,6 +15219,14 @@ class Client extends openapi_client_1.default {
13895
15219
  });
13896
15220
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
13897
15221
  }
15222
+ /**
15223
+ * You can call the DescribeInstanceSpecs operation to query the specifications of multiple Anti-DDoS Pro or Anti-DDoS Premium instances at a time. The specifications include the clean bandwidth, protection bandwidth, function plan, and the numbers of domain names and ports that can be protected.
15224
+ * ### Limits
15225
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15226
+ *
15227
+ * @param request DescribeInstanceSpecsRequest
15228
+ * @return DescribeInstanceSpecsResponse
15229
+ */
13898
15230
  async describeInstanceSpecs(request) {
13899
15231
  let runtime = new $Util.RuntimeOptions({});
13900
15232
  return await this.describeInstanceSpecsWithOptions(request, runtime);
@@ -13954,6 +15286,13 @@ class Client extends openapi_client_1.default {
13954
15286
  let runtime = new $Util.RuntimeOptions({});
13955
15287
  return await this.describeInstanceStatusWithOptions(request, runtime);
13956
15288
  }
15289
+ /**
15290
+ * 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.
15291
+ *
15292
+ * @param request DescribeInstancesRequest
15293
+ * @param runtime runtime options for this request RuntimeOptions
15294
+ * @return DescribeInstancesResponse
15295
+ */
13957
15296
  async describeInstancesWithOptions(request, runtime) {
13958
15297
  tea_util_1.default.validateModel(request);
13959
15298
  let query = {};
@@ -14009,6 +15348,12 @@ class Client extends openapi_client_1.default {
14009
15348
  });
14010
15349
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
14011
15350
  }
15351
+ /**
15352
+ * 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.
15353
+ *
15354
+ * @param request DescribeInstancesRequest
15355
+ * @return DescribeInstancesResponse
15356
+ */
14012
15357
  async describeInstances(request) {
14013
15358
  let runtime = new $Util.RuntimeOptions({});
14014
15359
  return await this.describeInstancesWithOptions(request, runtime);
@@ -14187,6 +15532,14 @@ class Client extends openapi_client_1.default {
14187
15532
  let runtime = new $Util.RuntimeOptions({});
14188
15533
  return await this.describeNetworkRulesWithOptions(request, runtime);
14189
15534
  }
15535
+ /**
15536
+ * > This operation is suitable only for Anti-DDoS Pro.
15537
+ * You can query operations performed on Anti-DDoS Pro, such as configuring burstable protection bandwidth, deactivating blackhole filtering, configuring the Diversion from Origin Server policy, using Anti-DDoS plans, changing the IP addresses of Elastic Compute Service (ECS) instances, and clearing all logs.
15538
+ *
15539
+ * @param request DescribeOpEntitiesRequest
15540
+ * @param runtime runtime options for this request RuntimeOptions
15541
+ * @return DescribeOpEntitiesResponse
15542
+ */
14190
15543
  async describeOpEntitiesWithOptions(request, runtime) {
14191
15544
  tea_util_1.default.validateModel(request);
14192
15545
  let query = {};
@@ -14227,10 +15580,24 @@ class Client extends openapi_client_1.default {
14227
15580
  });
14228
15581
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
14229
15582
  }
15583
+ /**
15584
+ * > This operation is suitable only for Anti-DDoS Pro.
15585
+ * You can query operations performed on Anti-DDoS Pro, such as configuring burstable protection bandwidth, deactivating blackhole filtering, configuring the Diversion from Origin Server policy, using Anti-DDoS plans, changing the IP addresses of Elastic Compute Service (ECS) instances, and clearing all logs.
15586
+ *
15587
+ * @param request DescribeOpEntitiesRequest
15588
+ * @return DescribeOpEntitiesResponse
15589
+ */
14230
15590
  async describeOpEntities(request) {
14231
15591
  let runtime = new $Util.RuntimeOptions({});
14232
15592
  return await this.describeOpEntitiesWithOptions(request, runtime);
14233
15593
  }
15594
+ /**
15595
+ * You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
15596
+ *
15597
+ * @param request DescribePortRequest
15598
+ * @param runtime runtime options for this request RuntimeOptions
15599
+ * @return DescribePortResponse
15600
+ */
14234
15601
  async describePortWithOptions(request, runtime) {
14235
15602
  tea_util_1.default.validateModel(request);
14236
15603
  let query = {};
@@ -14265,10 +15632,25 @@ class Client extends openapi_client_1.default {
14265
15632
  });
14266
15633
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePortResponse({}));
14267
15634
  }
15635
+ /**
15636
+ * You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
15637
+ *
15638
+ * @param request DescribePortRequest
15639
+ * @return DescribePortResponse
15640
+ */
14268
15641
  async describePort(request) {
14269
15642
  let runtime = new $Util.RuntimeOptions({});
14270
15643
  return await this.describePortWithOptions(request, runtime);
14271
15644
  }
15645
+ /**
15646
+ * You can call this operation to query the peak bandwidth and peak packet rate of attack traffic on one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.
15647
+ * ### Limits
15648
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15649
+ *
15650
+ * @param request DescribePortAttackMaxFlowRequest
15651
+ * @param runtime runtime options for this request RuntimeOptions
15652
+ * @return DescribePortAttackMaxFlowResponse
15653
+ */
14272
15654
  async describePortAttackMaxFlowWithOptions(request, runtime) {
14273
15655
  tea_util_1.default.validateModel(request);
14274
15656
  let query = {};
@@ -14300,6 +15682,14 @@ class Client extends openapi_client_1.default {
14300
15682
  });
14301
15683
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePortAttackMaxFlowResponse({}));
14302
15684
  }
15685
+ /**
15686
+ * You can call this operation to query the peak bandwidth and peak packet rate of attack traffic on one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.
15687
+ * ### Limits
15688
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15689
+ *
15690
+ * @param request DescribePortAttackMaxFlowRequest
15691
+ * @return DescribePortAttackMaxFlowResponse
15692
+ */
14303
15693
  async describePortAttackMaxFlow(request) {
14304
15694
  let runtime = new $Util.RuntimeOptions({});
14305
15695
  return await this.describePortAttackMaxFlowWithOptions(request, runtime);
@@ -14330,6 +15720,41 @@ class Client extends openapi_client_1.default {
14330
15720
  let runtime = new $Util.RuntimeOptions({});
14331
15721
  return await this.describePortAutoCcStatusWithOptions(request, runtime);
14332
15722
  }
15723
+ async describePortCcAttackTopIPWithOptions(request, runtime) {
15724
+ tea_util_1.default.validateModel(request);
15725
+ let query = {};
15726
+ if (!tea_util_1.default.isUnset(request.ip)) {
15727
+ query["Ip"] = request.ip;
15728
+ }
15729
+ if (!tea_util_1.default.isUnset(request.limit)) {
15730
+ query["Limit"] = request.limit;
15731
+ }
15732
+ if (!tea_util_1.default.isUnset(request.port)) {
15733
+ query["Port"] = request.port;
15734
+ }
15735
+ if (!tea_util_1.default.isUnset(request.startTimestamp)) {
15736
+ query["StartTimestamp"] = request.startTimestamp;
15737
+ }
15738
+ let req = new $OpenApi.OpenApiRequest({
15739
+ query: openapi_util_1.default.query(query),
15740
+ });
15741
+ let params = new $OpenApi.Params({
15742
+ action: "DescribePortCcAttackTopIP",
15743
+ version: "2020-01-01",
15744
+ protocol: "HTTPS",
15745
+ pathname: "/",
15746
+ method: "POST",
15747
+ authType: "AK",
15748
+ style: "RPC",
15749
+ reqBodyType: "formData",
15750
+ bodyType: "json",
15751
+ });
15752
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribePortCcAttackTopIPResponse({}));
15753
+ }
15754
+ async describePortCcAttackTopIP(request) {
15755
+ let runtime = new $Util.RuntimeOptions({});
15756
+ return await this.describePortCcAttackTopIPWithOptions(request, runtime);
15757
+ }
14333
15758
  async describePortConnsCountWithOptions(request, runtime) {
14334
15759
  tea_util_1.default.validateModel(request);
14335
15760
  let query = {};
@@ -14517,6 +15942,16 @@ class Client extends openapi_client_1.default {
14517
15942
  let runtime = new $Util.RuntimeOptions({});
14518
15943
  return await this.describePortViewSourceCountriesWithOptions(request, runtime);
14519
15944
  }
15945
+ /**
15946
+ * You can call the DescribePortViewSourceIsps operation to query the ISPs from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.
15947
+ * > The data returned for this operation cannot reflect the actual traffic volume because Layer 4 identity authentication algorithms are updated for Anti-DDoS Pro and Anti-DDoS Premium. You can call this operation to calculate only the proportion of requests sent from different ISPs. If you want to query the request traffic volume, we recommend that you call the [DescribePortFlowList](~~157460~~) operation.
15948
+ * ### Limits
15949
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15950
+ *
15951
+ * @param request DescribePortViewSourceIspsRequest
15952
+ * @param runtime runtime options for this request RuntimeOptions
15953
+ * @return DescribePortViewSourceIspsResponse
15954
+ */
14520
15955
  async describePortViewSourceIspsWithOptions(request, runtime) {
14521
15956
  tea_util_1.default.validateModel(request);
14522
15957
  let query = {};
@@ -14548,6 +15983,15 @@ class Client extends openapi_client_1.default {
14548
15983
  });
14549
15984
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePortViewSourceIspsResponse({}));
14550
15985
  }
15986
+ /**
15987
+ * You can call the DescribePortViewSourceIsps operation to query the ISPs from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.
15988
+ * > The data returned for this operation cannot reflect the actual traffic volume because Layer 4 identity authentication algorithms are updated for Anti-DDoS Pro and Anti-DDoS Premium. You can call this operation to calculate only the proportion of requests sent from different ISPs. If you want to query the request traffic volume, we recommend that you call the [DescribePortFlowList](~~157460~~) operation.
15989
+ * ### Limits
15990
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
15991
+ *
15992
+ * @param request DescribePortViewSourceIspsRequest
15993
+ * @return DescribePortViewSourceIspsResponse
15994
+ */
14551
15995
  async describePortViewSourceIsps(request) {
14552
15996
  let runtime = new $Util.RuntimeOptions({});
14553
15997
  return await this.describePortViewSourceIspsWithOptions(request, runtime);
@@ -14587,6 +16031,16 @@ class Client extends openapi_client_1.default {
14587
16031
  let runtime = new $Util.RuntimeOptions({});
14588
16032
  return await this.describePortViewSourceProvincesWithOptions(request, runtime);
14589
16033
  }
16034
+ /**
16035
+ * You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
16036
+ * Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
16037
+ * ### Limits
16038
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16039
+ *
16040
+ * @param request DescribeSceneDefenseObjectsRequest
16041
+ * @param runtime runtime options for this request RuntimeOptions
16042
+ * @return DescribeSceneDefenseObjectsResponse
16043
+ */
14590
16044
  async describeSceneDefenseObjectsWithOptions(request, runtime) {
14591
16045
  tea_util_1.default.validateModel(request);
14592
16046
  let query = {};
@@ -14612,10 +16066,28 @@ class Client extends openapi_client_1.default {
14612
16066
  });
14613
16067
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSceneDefenseObjectsResponse({}));
14614
16068
  }
16069
+ /**
16070
+ * You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
16071
+ * Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
16072
+ * ### Limits
16073
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16074
+ *
16075
+ * @param request DescribeSceneDefenseObjectsRequest
16076
+ * @return DescribeSceneDefenseObjectsResponse
16077
+ */
14615
16078
  async describeSceneDefenseObjects(request) {
14616
16079
  let runtime = new $Util.RuntimeOptions({});
14617
16080
  return await this.describeSceneDefenseObjectsWithOptions(request, runtime);
14618
16081
  }
16082
+ /**
16083
+ * You can call the DescribeSceneDefensePolicies operation to query the configurations of a scenario-specific custom policy that is created. For example, you can query the status, protected objects, and protection rules of the policy.
16084
+ * ### Limits
16085
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16086
+ *
16087
+ * @param request DescribeSceneDefensePoliciesRequest
16088
+ * @param runtime runtime options for this request RuntimeOptions
16089
+ * @return DescribeSceneDefensePoliciesResponse
16090
+ */
14619
16091
  async describeSceneDefensePoliciesWithOptions(request, runtime) {
14620
16092
  tea_util_1.default.validateModel(request);
14621
16093
  let query = {};
@@ -14644,6 +16116,14 @@ class Client extends openapi_client_1.default {
14644
16116
  });
14645
16117
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSceneDefensePoliciesResponse({}));
14646
16118
  }
16119
+ /**
16120
+ * You can call the DescribeSceneDefensePolicies operation to query the configurations of a scenario-specific custom policy that is created. For example, you can query the status, protected objects, and protection rules of the policy.
16121
+ * ### Limits
16122
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16123
+ *
16124
+ * @param request DescribeSceneDefensePoliciesRequest
16125
+ * @return DescribeSceneDefensePoliciesResponse
16126
+ */
14647
16127
  async describeSceneDefensePolicies(request) {
14648
16128
  let runtime = new $Util.RuntimeOptions({});
14649
16129
  return await this.describeSceneDefensePoliciesWithOptions(request, runtime);
@@ -14683,6 +16163,47 @@ class Client extends openapi_client_1.default {
14683
16163
  let runtime = new $Util.RuntimeOptions({});
14684
16164
  return await this.describeSchedulerRulesWithOptions(request, runtime);
14685
16165
  }
16166
+ async describeSlaEventListWithOptions(request, runtime) {
16167
+ tea_util_1.default.validateModel(request);
16168
+ let query = {};
16169
+ if (!tea_util_1.default.isUnset(request.endTime)) {
16170
+ query["EndTime"] = request.endTime;
16171
+ }
16172
+ if (!tea_util_1.default.isUnset(request.ip)) {
16173
+ query["Ip"] = request.ip;
16174
+ }
16175
+ if (!tea_util_1.default.isUnset(request.page)) {
16176
+ query["Page"] = request.page;
16177
+ }
16178
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
16179
+ query["PageSize"] = request.pageSize;
16180
+ }
16181
+ if (!tea_util_1.default.isUnset(request.region)) {
16182
+ query["Region"] = request.region;
16183
+ }
16184
+ if (!tea_util_1.default.isUnset(request.startTime)) {
16185
+ query["StartTime"] = request.startTime;
16186
+ }
16187
+ let req = new $OpenApi.OpenApiRequest({
16188
+ query: openapi_util_1.default.query(query),
16189
+ });
16190
+ let params = new $OpenApi.Params({
16191
+ action: "DescribeSlaEventList",
16192
+ version: "2020-01-01",
16193
+ protocol: "HTTPS",
16194
+ pathname: "/",
16195
+ method: "POST",
16196
+ authType: "AK",
16197
+ style: "RPC",
16198
+ reqBodyType: "formData",
16199
+ bodyType: "json",
16200
+ });
16201
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlaEventListResponse({}));
16202
+ }
16203
+ async describeSlaEventList(request) {
16204
+ let runtime = new $Util.RuntimeOptions({});
16205
+ return await this.describeSlaEventListWithOptions(request, runtime);
16206
+ }
14686
16207
  async describeSlsAuthStatusWithOptions(request, runtime) {
14687
16208
  tea_util_1.default.validateModel(request);
14688
16209
  let query = {};
@@ -14761,6 +16282,15 @@ class Client extends openapi_client_1.default {
14761
16282
  let runtime = new $Util.RuntimeOptions({});
14762
16283
  return await this.describeSlsOpenStatusWithOptions(request, runtime);
14763
16284
  }
16285
+ /**
16286
+ * You can call the DescribeStsGrantStatus operation to query whether Anti-DDoS Pro or Anti-DDoS Premium of the current Alibaba Cloud account is authorized to access other cloud services.
16287
+ * ### Limits
16288
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16289
+ *
16290
+ * @param request DescribeStsGrantStatusRequest
16291
+ * @param runtime runtime options for this request RuntimeOptions
16292
+ * @return DescribeStsGrantStatusResponse
16293
+ */
14764
16294
  async describeStsGrantStatusWithOptions(request, runtime) {
14765
16295
  tea_util_1.default.validateModel(request);
14766
16296
  let query = {};
@@ -14786,10 +16316,28 @@ class Client extends openapi_client_1.default {
14786
16316
  });
14787
16317
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeStsGrantStatusResponse({}));
14788
16318
  }
16319
+ /**
16320
+ * You can call the DescribeStsGrantStatus operation to query whether Anti-DDoS Pro or Anti-DDoS Premium of the current Alibaba Cloud account is authorized to access other cloud services.
16321
+ * ### Limits
16322
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16323
+ *
16324
+ * @param request DescribeStsGrantStatusRequest
16325
+ * @return DescribeStsGrantStatusResponse
16326
+ */
14789
16327
  async describeStsGrantStatus(request) {
14790
16328
  let runtime = new $Util.RuntimeOptions({});
14791
16329
  return await this.describeStsGrantStatusWithOptions(request, runtime);
14792
16330
  }
16331
+ /**
16332
+ * You can call the DescribeSystemLog operation to query the system logs of Anti-DDoS Pro or Anti-DDoS Premium. The system logs contain only billing logs for the burstable clean bandwidth.
16333
+ * If you have enabled the burstable clean bandwidth feature, you can call this operation to query the details of the bills of the burstable clean bandwidth.
16334
+ * ### Limits
16335
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16336
+ *
16337
+ * @param request DescribeSystemLogRequest
16338
+ * @param runtime runtime options for this request RuntimeOptions
16339
+ * @return DescribeSystemLogResponse
16340
+ */
14793
16341
  async describeSystemLogWithOptions(request, runtime) {
14794
16342
  tea_util_1.default.validateModel(request);
14795
16343
  let query = {};
@@ -14827,10 +16375,29 @@ class Client extends openapi_client_1.default {
14827
16375
  });
14828
16376
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSystemLogResponse({}));
14829
16377
  }
16378
+ /**
16379
+ * You can call the DescribeSystemLog operation to query the system logs of Anti-DDoS Pro or Anti-DDoS Premium. The system logs contain only billing logs for the burstable clean bandwidth.
16380
+ * If you have enabled the burstable clean bandwidth feature, you can call this operation to query the details of the bills of the burstable clean bandwidth.
16381
+ * ### Limits
16382
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16383
+ *
16384
+ * @param request DescribeSystemLogRequest
16385
+ * @return DescribeSystemLogResponse
16386
+ */
14830
16387
  async describeSystemLog(request) {
14831
16388
  let runtime = new $Util.RuntimeOptions({});
14832
16389
  return await this.describeSystemLogWithOptions(request, runtime);
14833
16390
  }
16391
+ /**
16392
+ * You can call this operation to query all tag keys and the Anti-DDoS Pro instances to which the tag keys are added by page.
16393
+ * > The tag feature is suitable only for Anti-DDoS Pro.
16394
+ * ### Limits
16395
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16396
+ *
16397
+ * @param request DescribeTagKeysRequest
16398
+ * @param runtime runtime options for this request RuntimeOptions
16399
+ * @return DescribeTagKeysResponse
16400
+ */
14834
16401
  async describeTagKeysWithOptions(request, runtime) {
14835
16402
  tea_util_1.default.validateModel(request);
14836
16403
  let query = {};
@@ -14865,10 +16432,29 @@ class Client extends openapi_client_1.default {
14865
16432
  });
14866
16433
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeTagKeysResponse({}));
14867
16434
  }
16435
+ /**
16436
+ * You can call this operation to query all tag keys and the Anti-DDoS Pro instances to which the tag keys are added by page.
16437
+ * > The tag feature is suitable only for Anti-DDoS Pro.
16438
+ * ### Limits
16439
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16440
+ *
16441
+ * @param request DescribeTagKeysRequest
16442
+ * @return DescribeTagKeysResponse
16443
+ */
14868
16444
  async describeTagKeys(request) {
14869
16445
  let runtime = new $Util.RuntimeOptions({});
14870
16446
  return await this.describeTagKeysWithOptions(request, runtime);
14871
16447
  }
16448
+ /**
16449
+ * You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
16450
+ * > Only Anti-DDoS Pro supports tags.
16451
+ * ### Limits
16452
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16453
+ *
16454
+ * @param request DescribeTagResourcesRequest
16455
+ * @param runtime runtime options for this request RuntimeOptions
16456
+ * @return DescribeTagResourcesResponse
16457
+ */
14872
16458
  async describeTagResourcesWithOptions(request, runtime) {
14873
16459
  tea_util_1.default.validateModel(request);
14874
16460
  let query = {};
@@ -14906,10 +16492,54 @@ class Client extends openapi_client_1.default {
14906
16492
  });
14907
16493
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeTagResourcesResponse({}));
14908
16494
  }
16495
+ /**
16496
+ * You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
16497
+ * > Only Anti-DDoS Pro supports tags.
16498
+ * ### Limits
16499
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16500
+ *
16501
+ * @param request DescribeTagResourcesRequest
16502
+ * @return DescribeTagResourcesResponse
16503
+ */
14909
16504
  async describeTagResources(request) {
14910
16505
  let runtime = new $Util.RuntimeOptions({});
14911
16506
  return await this.describeTagResourcesWithOptions(request, runtime);
14912
16507
  }
16508
+ async describeTotalAttackMaxFlowWithOptions(request, runtime) {
16509
+ tea_util_1.default.validateModel(request);
16510
+ let query = {};
16511
+ if (!tea_util_1.default.isUnset(request.endTime)) {
16512
+ query["EndTime"] = request.endTime;
16513
+ }
16514
+ if (!tea_util_1.default.isUnset(request.instanceIds)) {
16515
+ query["InstanceIds"] = request.instanceIds;
16516
+ }
16517
+ if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
16518
+ query["ResourceGroupId"] = request.resourceGroupId;
16519
+ }
16520
+ if (!tea_util_1.default.isUnset(request.startTime)) {
16521
+ query["StartTime"] = request.startTime;
16522
+ }
16523
+ let req = new $OpenApi.OpenApiRequest({
16524
+ query: openapi_util_1.default.query(query),
16525
+ });
16526
+ let params = new $OpenApi.Params({
16527
+ action: "DescribeTotalAttackMaxFlow",
16528
+ version: "2020-01-01",
16529
+ protocol: "HTTPS",
16530
+ pathname: "/",
16531
+ method: "POST",
16532
+ authType: "AK",
16533
+ style: "RPC",
16534
+ reqBodyType: "formData",
16535
+ bodyType: "json",
16536
+ });
16537
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeTotalAttackMaxFlowResponse({}));
16538
+ }
16539
+ async describeTotalAttackMaxFlow(request) {
16540
+ let runtime = new $Util.RuntimeOptions({});
16541
+ return await this.describeTotalAttackMaxFlowWithOptions(request, runtime);
16542
+ }
14913
16543
  async describeUdpReflectWithOptions(request, runtime) {
14914
16544
  tea_util_1.default.validateModel(request);
14915
16545
  let query = {};
@@ -14965,6 +16595,13 @@ class Client extends openapi_client_1.default {
14965
16595
  let runtime = new $Util.RuntimeOptions({});
14966
16596
  return await this.describeUnBlackholeCountWithOptions(request, runtime);
14967
16597
  }
16598
+ /**
16599
+ * > This operation is suitable only for Anti-DDoS Pro.
16600
+ *
16601
+ * @param request DescribeUnBlockCountRequest
16602
+ * @param runtime runtime options for this request RuntimeOptions
16603
+ * @return DescribeUnBlockCountResponse
16604
+ */
14968
16605
  async describeUnBlockCountWithOptions(request, runtime) {
14969
16606
  tea_util_1.default.validateModel(request);
14970
16607
  let query = {};
@@ -14987,10 +16624,25 @@ class Client extends openapi_client_1.default {
14987
16624
  });
14988
16625
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeUnBlockCountResponse({}));
14989
16626
  }
16627
+ /**
16628
+ * > This operation is suitable only for Anti-DDoS Pro.
16629
+ *
16630
+ * @param request DescribeUnBlockCountRequest
16631
+ * @return DescribeUnBlockCountResponse
16632
+ */
14990
16633
  async describeUnBlockCount(request) {
14991
16634
  let runtime = new $Util.RuntimeOptions({});
14992
16635
  return await this.describeUnBlockCountWithOptions(request, runtime);
14993
16636
  }
16637
+ /**
16638
+ * You can call the DescribeWebAccessLogDispatchStatus operation to check whether the log analysis feature is enabled for all domain names that are added to your Anti-DDoS Pro or Anti-DDoS Premium instance.
16639
+ * ### Limits
16640
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16641
+ *
16642
+ * @param request DescribeWebAccessLogDispatchStatusRequest
16643
+ * @param runtime runtime options for this request RuntimeOptions
16644
+ * @return DescribeWebAccessLogDispatchStatusResponse
16645
+ */
14994
16646
  async describeWebAccessLogDispatchStatusWithOptions(request, runtime) {
14995
16647
  tea_util_1.default.validateModel(request);
14996
16648
  let query = {};
@@ -15019,6 +16671,14 @@ class Client extends openapi_client_1.default {
15019
16671
  });
15020
16672
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebAccessLogDispatchStatusResponse({}));
15021
16673
  }
16674
+ /**
16675
+ * You can call the DescribeWebAccessLogDispatchStatus operation to check whether the log analysis feature is enabled for all domain names that are added to your Anti-DDoS Pro or Anti-DDoS Premium instance.
16676
+ * ### Limits
16677
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16678
+ *
16679
+ * @param request DescribeWebAccessLogDispatchStatusRequest
16680
+ * @return DescribeWebAccessLogDispatchStatusResponse
16681
+ */
15022
16682
  async describeWebAccessLogDispatchStatus(request) {
15023
16683
  let runtime = new $Util.RuntimeOptions({});
15024
16684
  return await this.describeWebAccessLogDispatchStatusWithOptions(request, runtime);
@@ -15168,6 +16828,15 @@ class Client extends openapi_client_1.default {
15168
16828
  let runtime = new $Util.RuntimeOptions({});
15169
16829
  return await this.describeWebCCRulesWithOptions(request, runtime);
15170
16830
  }
16831
+ /**
16832
+ * You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
16833
+ * ### Limits
16834
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16835
+ *
16836
+ * @param request DescribeWebCacheConfigsRequest
16837
+ * @param runtime runtime options for this request RuntimeOptions
16838
+ * @return DescribeWebCacheConfigsResponse
16839
+ */
15171
16840
  async describeWebCacheConfigsWithOptions(request, runtime) {
15172
16841
  tea_util_1.default.validateModel(request);
15173
16842
  let query = {};
@@ -15193,6 +16862,14 @@ class Client extends openapi_client_1.default {
15193
16862
  });
15194
16863
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebCacheConfigsResponse({}));
15195
16864
  }
16865
+ /**
16866
+ * You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
16867
+ * ### Limits
16868
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
16869
+ *
16870
+ * @param request DescribeWebCacheConfigsRequest
16871
+ * @return DescribeWebCacheConfigsResponse
16872
+ */
15196
16873
  async describeWebCacheConfigs(request) {
15197
16874
  let runtime = new $Util.RuntimeOptions({});
15198
16875
  return await this.describeWebCacheConfigsWithOptions(request, runtime);
@@ -15310,6 +16987,47 @@ class Client extends openapi_client_1.default {
15310
16987
  let runtime = new $Util.RuntimeOptions({});
15311
16988
  return await this.describeWebPreciseAccessRuleWithOptions(request, runtime);
15312
16989
  }
16990
+ async describeWebReportTopIpWithOptions(request, runtime) {
16991
+ tea_util_1.default.validateModel(request);
16992
+ let query = {};
16993
+ if (!tea_util_1.default.isUnset(request.domain)) {
16994
+ query["Domain"] = request.domain;
16995
+ }
16996
+ if (!tea_util_1.default.isUnset(request.endTime)) {
16997
+ query["EndTime"] = request.endTime;
16998
+ }
16999
+ if (!tea_util_1.default.isUnset(request.interval)) {
17000
+ query["Interval"] = request.interval;
17001
+ }
17002
+ if (!tea_util_1.default.isUnset(request.queryType)) {
17003
+ query["QueryType"] = request.queryType;
17004
+ }
17005
+ if (!tea_util_1.default.isUnset(request.startTime)) {
17006
+ query["StartTime"] = request.startTime;
17007
+ }
17008
+ if (!tea_util_1.default.isUnset(request.top)) {
17009
+ query["Top"] = request.top;
17010
+ }
17011
+ let req = new $OpenApi.OpenApiRequest({
17012
+ query: openapi_util_1.default.query(query),
17013
+ });
17014
+ let params = new $OpenApi.Params({
17015
+ action: "DescribeWebReportTopIp",
17016
+ version: "2020-01-01",
17017
+ protocol: "HTTPS",
17018
+ pathname: "/",
17019
+ method: "POST",
17020
+ authType: "AK",
17021
+ style: "RPC",
17022
+ reqBodyType: "formData",
17023
+ bodyType: "json",
17024
+ });
17025
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebReportTopIpResponse({}));
17026
+ }
17027
+ async describeWebReportTopIp(request) {
17028
+ let runtime = new $Util.RuntimeOptions({});
17029
+ return await this.describeWebReportTopIpWithOptions(request, runtime);
17030
+ }
15313
17031
  async describeWebRulesWithOptions(request, runtime) {
15314
17032
  tea_util_1.default.validateModel(request);
15315
17033
  let query = {};
@@ -15690,6 +17408,48 @@ class Client extends openapi_client_1.default {
15690
17408
  let runtime = new $Util.RuntimeOptions({});
15691
17409
  return await this.enableWebCCRuleWithOptions(request, runtime);
15692
17410
  }
17411
+ /**
17412
+ * You can switch between the metering methods of the burstable clean bandwidth feature. The new metering method takes effect from 00:00 on the first day of the next month. You can change the metering method up to three times each calendar month. The most recent metering method that you select takes effect in the next month. You cannot change the metering method on the last day of each calendar month.
17413
+ *
17414
+ * @param request ModifyBizBandWidthModeRequest
17415
+ * @param runtime runtime options for this request RuntimeOptions
17416
+ * @return ModifyBizBandWidthModeResponse
17417
+ */
17418
+ async modifyBizBandWidthModeWithOptions(request, runtime) {
17419
+ tea_util_1.default.validateModel(request);
17420
+ let query = {};
17421
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
17422
+ query["InstanceId"] = request.instanceId;
17423
+ }
17424
+ if (!tea_util_1.default.isUnset(request.mode)) {
17425
+ query["Mode"] = request.mode;
17426
+ }
17427
+ let req = new $OpenApi.OpenApiRequest({
17428
+ query: openapi_util_1.default.query(query),
17429
+ });
17430
+ let params = new $OpenApi.Params({
17431
+ action: "ModifyBizBandWidthMode",
17432
+ version: "2020-01-01",
17433
+ protocol: "HTTPS",
17434
+ pathname: "/",
17435
+ method: "POST",
17436
+ authType: "AK",
17437
+ style: "RPC",
17438
+ reqBodyType: "formData",
17439
+ bodyType: "json",
17440
+ });
17441
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyBizBandWidthModeResponse({}));
17442
+ }
17443
+ /**
17444
+ * You can switch between the metering methods of the burstable clean bandwidth feature. The new metering method takes effect from 00:00 on the first day of the next month. You can change the metering method up to three times each calendar month. The most recent metering method that you select takes effect in the next month. You cannot change the metering method on the last day of each calendar month.
17445
+ *
17446
+ * @param request ModifyBizBandWidthModeRequest
17447
+ * @return ModifyBizBandWidthModeResponse
17448
+ */
17449
+ async modifyBizBandWidthMode(request) {
17450
+ let runtime = new $Util.RuntimeOptions({});
17451
+ return await this.modifyBizBandWidthModeWithOptions(request, runtime);
17452
+ }
15693
17453
  async modifyBlackholeStatusWithOptions(request, runtime) {
15694
17454
  tea_util_1.default.validateModel(request);
15695
17455
  let query = {};
@@ -15719,6 +17479,13 @@ class Client extends openapi_client_1.default {
15719
17479
  let runtime = new $Util.RuntimeOptions({});
15720
17480
  return await this.modifyBlackholeStatusWithOptions(request, runtime);
15721
17481
  }
17482
+ /**
17483
+ * > This operation is suitable only for Anti-DDoS Pro.
17484
+ *
17485
+ * @param request ModifyBlockStatusRequest
17486
+ * @param runtime runtime options for this request RuntimeOptions
17487
+ * @return ModifyBlockStatusResponse
17488
+ */
15722
17489
  async modifyBlockStatusWithOptions(request, runtime) {
15723
17490
  tea_util_1.default.validateModel(request);
15724
17491
  let query = {};
@@ -15750,10 +17517,23 @@ class Client extends openapi_client_1.default {
15750
17517
  });
15751
17518
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyBlockStatusResponse({}));
15752
17519
  }
17520
+ /**
17521
+ * > This operation is suitable only for Anti-DDoS Pro.
17522
+ *
17523
+ * @param request ModifyBlockStatusRequest
17524
+ * @return ModifyBlockStatusResponse
17525
+ */
15753
17526
  async modifyBlockStatus(request) {
15754
17527
  let runtime = new $Util.RuntimeOptions({});
15755
17528
  return await this.modifyBlockStatusWithOptions(request, runtime);
15756
17529
  }
17530
+ /**
17531
+ * > This operation is suitable only for Anti-DDoS Premium.
17532
+ *
17533
+ * @param request ModifyCnameReuseRequest
17534
+ * @param runtime runtime options for this request RuntimeOptions
17535
+ * @return ModifyCnameReuseResponse
17536
+ */
15757
17537
  async modifyCnameReuseWithOptions(request, runtime) {
15758
17538
  tea_util_1.default.validateModel(request);
15759
17539
  let query = {};
@@ -15785,6 +17565,12 @@ class Client extends openapi_client_1.default {
15785
17565
  });
15786
17566
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyCnameReuseResponse({}));
15787
17567
  }
17568
+ /**
17569
+ * > This operation is suitable only for Anti-DDoS Premium.
17570
+ *
17571
+ * @param request ModifyCnameReuseRequest
17572
+ * @return ModifyCnameReuseResponse
17573
+ */
15788
17574
  async modifyCnameReuse(request) {
15789
17575
  let runtime = new $Util.RuntimeOptions({});
15790
17576
  return await this.modifyCnameReuseWithOptions(request, runtime);
@@ -15830,6 +17616,13 @@ class Client extends openapi_client_1.default {
15830
17616
  let runtime = new $Util.RuntimeOptions({});
15831
17617
  return await this.modifyDomainResourceWithOptions(request, runtime);
15832
17618
  }
17619
+ /**
17620
+ * > This operation is suitable only for Anti-DDoS Pro.
17621
+ *
17622
+ * @param request ModifyElasticBandWidthRequest
17623
+ * @param runtime runtime options for this request RuntimeOptions
17624
+ * @return ModifyElasticBandWidthResponse
17625
+ */
15833
17626
  async modifyElasticBandWidthWithOptions(request, runtime) {
15834
17627
  tea_util_1.default.validateModel(request);
15835
17628
  let query = {};
@@ -15855,10 +17648,61 @@ class Client extends openapi_client_1.default {
15855
17648
  });
15856
17649
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticBandWidthResponse({}));
15857
17650
  }
17651
+ /**
17652
+ * > This operation is suitable only for Anti-DDoS Pro.
17653
+ *
17654
+ * @param request ModifyElasticBandWidthRequest
17655
+ * @return ModifyElasticBandWidthResponse
17656
+ */
15858
17657
  async modifyElasticBandWidth(request) {
15859
17658
  let runtime = new $Util.RuntimeOptions({});
15860
17659
  return await this.modifyElasticBandWidthWithOptions(request, runtime);
15861
17660
  }
17661
+ /**
17662
+ * Before you call this operation, make sure that you have fully understood the billing method and [pricing](https://help.aliyun.com/document_detail/283754.html) of the burstable clean bandwidth feature. After you call this operation for the first time, the modification immediately takes effect.
17663
+ *
17664
+ * @param request ModifyElasticBizBandWidthRequest
17665
+ * @param runtime runtime options for this request RuntimeOptions
17666
+ * @return ModifyElasticBizBandWidthResponse
17667
+ */
17668
+ async modifyElasticBizBandWidthWithOptions(request, runtime) {
17669
+ tea_util_1.default.validateModel(request);
17670
+ let query = {};
17671
+ if (!tea_util_1.default.isUnset(request.elasticBizBandwidth)) {
17672
+ query["ElasticBizBandwidth"] = request.elasticBizBandwidth;
17673
+ }
17674
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
17675
+ query["InstanceId"] = request.instanceId;
17676
+ }
17677
+ if (!tea_util_1.default.isUnset(request.mode)) {
17678
+ query["Mode"] = request.mode;
17679
+ }
17680
+ let req = new $OpenApi.OpenApiRequest({
17681
+ query: openapi_util_1.default.query(query),
17682
+ });
17683
+ let params = new $OpenApi.Params({
17684
+ action: "ModifyElasticBizBandWidth",
17685
+ version: "2020-01-01",
17686
+ protocol: "HTTPS",
17687
+ pathname: "/",
17688
+ method: "POST",
17689
+ authType: "AK",
17690
+ style: "RPC",
17691
+ reqBodyType: "formData",
17692
+ bodyType: "json",
17693
+ });
17694
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticBizBandWidthResponse({}));
17695
+ }
17696
+ /**
17697
+ * Before you call this operation, make sure that you have fully understood the billing method and [pricing](https://help.aliyun.com/document_detail/283754.html) of the burstable clean bandwidth feature. After you call this operation for the first time, the modification immediately takes effect.
17698
+ *
17699
+ * @param request ModifyElasticBizBandWidthRequest
17700
+ * @return ModifyElasticBizBandWidthResponse
17701
+ */
17702
+ async modifyElasticBizBandWidth(request) {
17703
+ let runtime = new $Util.RuntimeOptions({});
17704
+ return await this.modifyElasticBizBandWidthWithOptions(request, runtime);
17705
+ }
15862
17706
  async modifyFullLogTtlWithOptions(request, runtime) {
15863
17707
  tea_util_1.default.validateModel(request);
15864
17708
  let query = {};
@@ -15888,6 +17732,38 @@ class Client extends openapi_client_1.default {
15888
17732
  let runtime = new $Util.RuntimeOptions({});
15889
17733
  return await this.modifyFullLogTtlWithOptions(request, runtime);
15890
17734
  }
17735
+ async modifyHeadersWithOptions(request, runtime) {
17736
+ tea_util_1.default.validateModel(request);
17737
+ let query = {};
17738
+ if (!tea_util_1.default.isUnset(request.customHeaders)) {
17739
+ query["CustomHeaders"] = request.customHeaders;
17740
+ }
17741
+ if (!tea_util_1.default.isUnset(request.domain)) {
17742
+ query["Domain"] = request.domain;
17743
+ }
17744
+ if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
17745
+ query["ResourceGroupId"] = request.resourceGroupId;
17746
+ }
17747
+ let req = new $OpenApi.OpenApiRequest({
17748
+ query: openapi_util_1.default.query(query),
17749
+ });
17750
+ let params = new $OpenApi.Params({
17751
+ action: "ModifyHeaders",
17752
+ version: "2020-01-01",
17753
+ protocol: "HTTPS",
17754
+ pathname: "/",
17755
+ method: "POST",
17756
+ authType: "AK",
17757
+ style: "RPC",
17758
+ reqBodyType: "formData",
17759
+ bodyType: "json",
17760
+ });
17761
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyHeadersResponse({}));
17762
+ }
17763
+ async modifyHeaders(request) {
17764
+ let runtime = new $Util.RuntimeOptions({});
17765
+ return await this.modifyHeadersWithOptions(request, runtime);
17766
+ }
15891
17767
  async modifyHealthCheckConfigWithOptions(request, runtime) {
15892
17768
  tea_util_1.default.validateModel(request);
15893
17769
  let query = {};
@@ -15923,6 +17799,13 @@ class Client extends openapi_client_1.default {
15923
17799
  let runtime = new $Util.RuntimeOptions({});
15924
17800
  return await this.modifyHealthCheckConfigWithOptions(request, runtime);
15925
17801
  }
17802
+ /**
17803
+ * > This operation is suitable only for Anti-DDoS Pro.
17804
+ *
17805
+ * @param request ModifyHttp2EnableRequest
17806
+ * @param runtime runtime options for this request RuntimeOptions
17807
+ * @return ModifyHttp2EnableResponse
17808
+ */
15926
17809
  async modifyHttp2EnableWithOptions(request, runtime) {
15927
17810
  tea_util_1.default.validateModel(request);
15928
17811
  let query = {};
@@ -15951,6 +17834,12 @@ class Client extends openapi_client_1.default {
15951
17834
  });
15952
17835
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyHttp2EnableResponse({}));
15953
17836
  }
17837
+ /**
17838
+ * > This operation is suitable only for Anti-DDoS Pro.
17839
+ *
17840
+ * @param request ModifyHttp2EnableRequest
17841
+ * @return ModifyHttp2EnableResponse
17842
+ */
15954
17843
  async modifyHttp2Enable(request) {
15955
17844
  let runtime = new $Util.RuntimeOptions({});
15956
17845
  return await this.modifyHttp2EnableWithOptions(request, runtime);
@@ -16019,6 +17908,55 @@ class Client extends openapi_client_1.default {
16019
17908
  let runtime = new $Util.RuntimeOptions({});
16020
17909
  return await this.modifyNetworkRuleAttributeWithOptions(request, runtime);
16021
17910
  }
17911
+ /**
17912
+ * This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
17913
+ *
17914
+ * @param request ModifyOcspStatusRequest
17915
+ * @param runtime runtime options for this request RuntimeOptions
17916
+ * @return ModifyOcspStatusResponse
17917
+ */
17918
+ async modifyOcspStatusWithOptions(request, runtime) {
17919
+ tea_util_1.default.validateModel(request);
17920
+ let query = {};
17921
+ if (!tea_util_1.default.isUnset(request.domain)) {
17922
+ query["Domain"] = request.domain;
17923
+ }
17924
+ if (!tea_util_1.default.isUnset(request.enable)) {
17925
+ query["Enable"] = request.enable;
17926
+ }
17927
+ let req = new $OpenApi.OpenApiRequest({
17928
+ query: openapi_util_1.default.query(query),
17929
+ });
17930
+ let params = new $OpenApi.Params({
17931
+ action: "ModifyOcspStatus",
17932
+ version: "2020-01-01",
17933
+ protocol: "HTTPS",
17934
+ pathname: "/",
17935
+ method: "POST",
17936
+ authType: "AK",
17937
+ style: "RPC",
17938
+ reqBodyType: "formData",
17939
+ bodyType: "json",
17940
+ });
17941
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyOcspStatusResponse({}));
17942
+ }
17943
+ /**
17944
+ * This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
17945
+ *
17946
+ * @param request ModifyOcspStatusRequest
17947
+ * @return ModifyOcspStatusResponse
17948
+ */
17949
+ async modifyOcspStatus(request) {
17950
+ let runtime = new $Util.RuntimeOptions({});
17951
+ return await this.modifyOcspStatusWithOptions(request, runtime);
17952
+ }
17953
+ /**
17954
+ * You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
17955
+ *
17956
+ * @param request ModifyPortRequest
17957
+ * @param runtime runtime options for this request RuntimeOptions
17958
+ * @return ModifyPortResponse
17959
+ */
16022
17960
  async modifyPortWithOptions(request, runtime) {
16023
17961
  tea_util_1.default.validateModel(request);
16024
17962
  let query = {};
@@ -16053,6 +17991,12 @@ class Client extends openapi_client_1.default {
16053
17991
  });
16054
17992
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyPortResponse({}));
16055
17993
  }
17994
+ /**
17995
+ * You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
17996
+ *
17997
+ * @param request ModifyPortRequest
17998
+ * @return ModifyPortResponse
17999
+ */
16056
18000
  async modifyPort(request) {
16057
18001
  let runtime = new $Util.RuntimeOptions({});
16058
18002
  return await this.modifyPortWithOptions(request, runtime);
@@ -16322,6 +18266,15 @@ class Client extends openapi_client_1.default {
16322
18266
  let runtime = new $Util.RuntimeOptions({});
16323
18267
  return await this.modifyWebAreaBlockWithOptions(request, runtime);
16324
18268
  }
18269
+ /**
18270
+ * You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
18271
+ * ### Limits
18272
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
18273
+ *
18274
+ * @param request ModifyWebAreaBlockSwitchRequest
18275
+ * @param runtime runtime options for this request RuntimeOptions
18276
+ * @return ModifyWebAreaBlockSwitchResponse
18277
+ */
16325
18278
  async modifyWebAreaBlockSwitchWithOptions(request, runtime) {
16326
18279
  tea_util_1.default.validateModel(request);
16327
18280
  let query = {};
@@ -16350,6 +18303,14 @@ class Client extends openapi_client_1.default {
16350
18303
  });
16351
18304
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyWebAreaBlockSwitchResponse({}));
16352
18305
  }
18306
+ /**
18307
+ * You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
18308
+ * ### Limits
18309
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
18310
+ *
18311
+ * @param request ModifyWebAreaBlockSwitchRequest
18312
+ * @return ModifyWebAreaBlockSwitchResponse
18313
+ */
16353
18314
  async modifyWebAreaBlockSwitch(request) {
16354
18315
  let runtime = new $Util.RuntimeOptions({});
16355
18316
  return await this.modifyWebAreaBlockSwitchWithOptions(request, runtime);
@@ -16468,6 +18429,15 @@ class Client extends openapi_client_1.default {
16468
18429
  let runtime = new $Util.RuntimeOptions({});
16469
18430
  return await this.modifyWebCacheModeWithOptions(request, runtime);
16470
18431
  }
18432
+ /**
18433
+ * You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
18434
+ * ### Limits
18435
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
18436
+ *
18437
+ * @param request ModifyWebCacheSwitchRequest
18438
+ * @param runtime runtime options for this request RuntimeOptions
18439
+ * @return ModifyWebCacheSwitchResponse
18440
+ */
16471
18441
  async modifyWebCacheSwitchWithOptions(request, runtime) {
16472
18442
  tea_util_1.default.validateModel(request);
16473
18443
  let query = {};
@@ -16496,6 +18466,14 @@ class Client extends openapi_client_1.default {
16496
18466
  });
16497
18467
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyWebCacheSwitchResponse({}));
16498
18468
  }
18469
+ /**
18470
+ * You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
18471
+ * ### Limits
18472
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
18473
+ *
18474
+ * @param request ModifyWebCacheSwitchRequest
18475
+ * @return ModifyWebCacheSwitchResponse
18476
+ */
16499
18477
  async modifyWebCacheSwitch(request) {
16500
18478
  let runtime = new $Util.RuntimeOptions({});
16501
18479
  return await this.modifyWebCacheSwitchWithOptions(request, runtime);
@@ -16643,6 +18621,13 @@ class Client extends openapi_client_1.default {
16643
18621
  let runtime = new $Util.RuntimeOptions({});
16644
18622
  return await this.modifyWebRuleWithOptions(request, runtime);
16645
18623
  }
18624
+ /**
18625
+ * The ID of the request, which is used to locate and troubleshoot issues.
18626
+ *
18627
+ * @param request ReleaseInstanceRequest
18628
+ * @param runtime runtime options for this request RuntimeOptions
18629
+ * @return ReleaseInstanceResponse
18630
+ */
16646
18631
  async releaseInstanceWithOptions(request, runtime) {
16647
18632
  tea_util_1.default.validateModel(request);
16648
18633
  let query = {};
@@ -16665,10 +18650,26 @@ class Client extends openapi_client_1.default {
16665
18650
  });
16666
18651
  return $tea.cast(await this.callApi(params, req, runtime), new ReleaseInstanceResponse({}));
16667
18652
  }
18653
+ /**
18654
+ * The ID of the request, which is used to locate and troubleshoot issues.
18655
+ *
18656
+ * @param request ReleaseInstanceRequest
18657
+ * @return ReleaseInstanceResponse
18658
+ */
16668
18659
  async releaseInstance(request) {
16669
18660
  let runtime = new $Util.RuntimeOptions({});
16670
18661
  return await this.releaseInstanceWithOptions(request, runtime);
16671
18662
  }
18663
+ /**
18664
+ * You can call the SwitchSchedulerRule operation to modify the resources to which service traffic is switched for a scheduling rule. For example, you can switch service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switch the service traffic back to the associated cloud resources.
18665
+ * Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
18666
+ * ### Limits
18667
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
18668
+ *
18669
+ * @param request SwitchSchedulerRuleRequest
18670
+ * @param runtime runtime options for this request RuntimeOptions
18671
+ * @return SwitchSchedulerRuleResponse
18672
+ */
16672
18673
  async switchSchedulerRuleWithOptions(request, runtime) {
16673
18674
  tea_util_1.default.validateModel(request);
16674
18675
  let query = {};
@@ -16697,6 +18698,15 @@ class Client extends openapi_client_1.default {
16697
18698
  });
16698
18699
  return $tea.cast(await this.callApi(params, req, runtime), new SwitchSchedulerRuleResponse({}));
16699
18700
  }
18701
+ /**
18702
+ * You can call the SwitchSchedulerRule operation to modify the resources to which service traffic is switched for a scheduling rule. For example, you can switch service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switch the service traffic back to the associated cloud resources.
18703
+ * Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
18704
+ * ### Limits
18705
+ * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
18706
+ *
18707
+ * @param request SwitchSchedulerRuleRequest
18708
+ * @return SwitchSchedulerRuleResponse
18709
+ */
16700
18710
  async switchSchedulerRule(request) {
16701
18711
  let runtime = new $Util.RuntimeOptions({});
16702
18712
  return await this.switchSchedulerRuleWithOptions(request, runtime);