@alicloud/ddoscoo20200101 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1265 -0
- package/dist/client.js +1769 -7
- package/dist/client.js.map +1 -1
- package/package.json +5 -5
- package/src/client.ts +2030 -37
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);
|
|
@@ -5697,6 +5927,72 @@ class DescribeSchedulerRulesResponse extends $tea.Model {
|
|
|
5697
5927
|
}
|
|
5698
5928
|
}
|
|
5699
5929
|
exports.DescribeSchedulerRulesResponse = DescribeSchedulerRulesResponse;
|
|
5930
|
+
class DescribeSlaEventListRequest extends $tea.Model {
|
|
5931
|
+
constructor(map) {
|
|
5932
|
+
super(map);
|
|
5933
|
+
}
|
|
5934
|
+
static names() {
|
|
5935
|
+
return {
|
|
5936
|
+
endTime: 'EndTime',
|
|
5937
|
+
ip: 'Ip',
|
|
5938
|
+
page: 'Page',
|
|
5939
|
+
pageSize: 'PageSize',
|
|
5940
|
+
region: 'Region',
|
|
5941
|
+
startTime: 'StartTime',
|
|
5942
|
+
};
|
|
5943
|
+
}
|
|
5944
|
+
static types() {
|
|
5945
|
+
return {
|
|
5946
|
+
endTime: 'number',
|
|
5947
|
+
ip: 'string',
|
|
5948
|
+
page: 'number',
|
|
5949
|
+
pageSize: 'number',
|
|
5950
|
+
region: 'string',
|
|
5951
|
+
startTime: 'number',
|
|
5952
|
+
};
|
|
5953
|
+
}
|
|
5954
|
+
}
|
|
5955
|
+
exports.DescribeSlaEventListRequest = DescribeSlaEventListRequest;
|
|
5956
|
+
class DescribeSlaEventListResponseBody extends $tea.Model {
|
|
5957
|
+
constructor(map) {
|
|
5958
|
+
super(map);
|
|
5959
|
+
}
|
|
5960
|
+
static names() {
|
|
5961
|
+
return {
|
|
5962
|
+
requestId: 'RequestId',
|
|
5963
|
+
slaEvent: 'SlaEvent',
|
|
5964
|
+
total: 'Total',
|
|
5965
|
+
};
|
|
5966
|
+
}
|
|
5967
|
+
static types() {
|
|
5968
|
+
return {
|
|
5969
|
+
requestId: 'string',
|
|
5970
|
+
slaEvent: { 'type': 'array', 'itemType': DescribeSlaEventListResponseBodySlaEvent },
|
|
5971
|
+
total: 'number',
|
|
5972
|
+
};
|
|
5973
|
+
}
|
|
5974
|
+
}
|
|
5975
|
+
exports.DescribeSlaEventListResponseBody = DescribeSlaEventListResponseBody;
|
|
5976
|
+
class DescribeSlaEventListResponse extends $tea.Model {
|
|
5977
|
+
constructor(map) {
|
|
5978
|
+
super(map);
|
|
5979
|
+
}
|
|
5980
|
+
static names() {
|
|
5981
|
+
return {
|
|
5982
|
+
headers: 'headers',
|
|
5983
|
+
statusCode: 'statusCode',
|
|
5984
|
+
body: 'body',
|
|
5985
|
+
};
|
|
5986
|
+
}
|
|
5987
|
+
static types() {
|
|
5988
|
+
return {
|
|
5989
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5990
|
+
statusCode: 'number',
|
|
5991
|
+
body: DescribeSlaEventListResponseBody,
|
|
5992
|
+
};
|
|
5993
|
+
}
|
|
5994
|
+
}
|
|
5995
|
+
exports.DescribeSlaEventListResponse = DescribeSlaEventListResponse;
|
|
5700
5996
|
class DescribeSlsAuthStatusRequest extends $tea.Model {
|
|
5701
5997
|
constructor(map) {
|
|
5702
5998
|
super(map);
|
|
@@ -6123,22 +6419,84 @@ class DescribeTagResourcesResponse extends $tea.Model {
|
|
|
6123
6419
|
}
|
|
6124
6420
|
}
|
|
6125
6421
|
exports.DescribeTagResourcesResponse = DescribeTagResourcesResponse;
|
|
6126
|
-
class
|
|
6422
|
+
class DescribeTotalAttackMaxFlowRequest extends $tea.Model {
|
|
6127
6423
|
constructor(map) {
|
|
6128
6424
|
super(map);
|
|
6129
6425
|
}
|
|
6130
6426
|
static names() {
|
|
6131
6427
|
return {
|
|
6132
|
-
|
|
6133
|
-
|
|
6428
|
+
endTime: 'EndTime',
|
|
6429
|
+
instanceIds: 'InstanceIds',
|
|
6430
|
+
resourceGroupId: 'ResourceGroupId',
|
|
6431
|
+
startTime: 'StartTime',
|
|
6134
6432
|
};
|
|
6135
6433
|
}
|
|
6136
6434
|
static types() {
|
|
6137
6435
|
return {
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6436
|
+
endTime: 'number',
|
|
6437
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
6438
|
+
resourceGroupId: 'string',
|
|
6439
|
+
startTime: 'number',
|
|
6440
|
+
};
|
|
6441
|
+
}
|
|
6442
|
+
}
|
|
6443
|
+
exports.DescribeTotalAttackMaxFlowRequest = DescribeTotalAttackMaxFlowRequest;
|
|
6444
|
+
class DescribeTotalAttackMaxFlowResponseBody extends $tea.Model {
|
|
6445
|
+
constructor(map) {
|
|
6446
|
+
super(map);
|
|
6447
|
+
}
|
|
6448
|
+
static names() {
|
|
6449
|
+
return {
|
|
6450
|
+
bps: 'Bps',
|
|
6451
|
+
pps: 'Pps',
|
|
6452
|
+
requestId: 'RequestId',
|
|
6453
|
+
};
|
|
6454
|
+
}
|
|
6455
|
+
static types() {
|
|
6456
|
+
return {
|
|
6457
|
+
bps: 'number',
|
|
6458
|
+
pps: 'number',
|
|
6459
|
+
requestId: 'string',
|
|
6460
|
+
};
|
|
6461
|
+
}
|
|
6462
|
+
}
|
|
6463
|
+
exports.DescribeTotalAttackMaxFlowResponseBody = DescribeTotalAttackMaxFlowResponseBody;
|
|
6464
|
+
class DescribeTotalAttackMaxFlowResponse extends $tea.Model {
|
|
6465
|
+
constructor(map) {
|
|
6466
|
+
super(map);
|
|
6467
|
+
}
|
|
6468
|
+
static names() {
|
|
6469
|
+
return {
|
|
6470
|
+
headers: 'headers',
|
|
6471
|
+
statusCode: 'statusCode',
|
|
6472
|
+
body: 'body',
|
|
6473
|
+
};
|
|
6474
|
+
}
|
|
6475
|
+
static types() {
|
|
6476
|
+
return {
|
|
6477
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6478
|
+
statusCode: 'number',
|
|
6479
|
+
body: DescribeTotalAttackMaxFlowResponseBody,
|
|
6480
|
+
};
|
|
6481
|
+
}
|
|
6482
|
+
}
|
|
6483
|
+
exports.DescribeTotalAttackMaxFlowResponse = DescribeTotalAttackMaxFlowResponse;
|
|
6484
|
+
class DescribeUdpReflectRequest extends $tea.Model {
|
|
6485
|
+
constructor(map) {
|
|
6486
|
+
super(map);
|
|
6487
|
+
}
|
|
6488
|
+
static names() {
|
|
6489
|
+
return {
|
|
6490
|
+
instanceId: 'InstanceId',
|
|
6491
|
+
regionId: 'RegionId',
|
|
6492
|
+
};
|
|
6493
|
+
}
|
|
6494
|
+
static types() {
|
|
6495
|
+
return {
|
|
6496
|
+
instanceId: 'string',
|
|
6497
|
+
regionId: 'string',
|
|
6498
|
+
};
|
|
6499
|
+
}
|
|
6142
6500
|
}
|
|
6143
6501
|
exports.DescribeUdpReflectRequest = DescribeUdpReflectRequest;
|
|
6144
6502
|
class DescribeUdpReflectResponseBody extends $tea.Model {
|
|
@@ -7629,6 +7987,60 @@ class EnableWebCCRuleResponse extends $tea.Model {
|
|
|
7629
7987
|
}
|
|
7630
7988
|
}
|
|
7631
7989
|
exports.EnableWebCCRuleResponse = EnableWebCCRuleResponse;
|
|
7990
|
+
class ModifyBizBandWidthModeRequest extends $tea.Model {
|
|
7991
|
+
constructor(map) {
|
|
7992
|
+
super(map);
|
|
7993
|
+
}
|
|
7994
|
+
static names() {
|
|
7995
|
+
return {
|
|
7996
|
+
instanceId: 'InstanceId',
|
|
7997
|
+
mode: 'Mode',
|
|
7998
|
+
};
|
|
7999
|
+
}
|
|
8000
|
+
static types() {
|
|
8001
|
+
return {
|
|
8002
|
+
instanceId: 'string',
|
|
8003
|
+
mode: 'string',
|
|
8004
|
+
};
|
|
8005
|
+
}
|
|
8006
|
+
}
|
|
8007
|
+
exports.ModifyBizBandWidthModeRequest = ModifyBizBandWidthModeRequest;
|
|
8008
|
+
class ModifyBizBandWidthModeResponseBody extends $tea.Model {
|
|
8009
|
+
constructor(map) {
|
|
8010
|
+
super(map);
|
|
8011
|
+
}
|
|
8012
|
+
static names() {
|
|
8013
|
+
return {
|
|
8014
|
+
requestId: 'RequestId',
|
|
8015
|
+
};
|
|
8016
|
+
}
|
|
8017
|
+
static types() {
|
|
8018
|
+
return {
|
|
8019
|
+
requestId: 'string',
|
|
8020
|
+
};
|
|
8021
|
+
}
|
|
8022
|
+
}
|
|
8023
|
+
exports.ModifyBizBandWidthModeResponseBody = ModifyBizBandWidthModeResponseBody;
|
|
8024
|
+
class ModifyBizBandWidthModeResponse extends $tea.Model {
|
|
8025
|
+
constructor(map) {
|
|
8026
|
+
super(map);
|
|
8027
|
+
}
|
|
8028
|
+
static names() {
|
|
8029
|
+
return {
|
|
8030
|
+
headers: 'headers',
|
|
8031
|
+
statusCode: 'statusCode',
|
|
8032
|
+
body: 'body',
|
|
8033
|
+
};
|
|
8034
|
+
}
|
|
8035
|
+
static types() {
|
|
8036
|
+
return {
|
|
8037
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8038
|
+
statusCode: 'number',
|
|
8039
|
+
body: ModifyBizBandWidthModeResponseBody,
|
|
8040
|
+
};
|
|
8041
|
+
}
|
|
8042
|
+
}
|
|
8043
|
+
exports.ModifyBizBandWidthModeResponse = ModifyBizBandWidthModeResponse;
|
|
7632
8044
|
class ModifyBlackholeStatusRequest extends $tea.Model {
|
|
7633
8045
|
constructor(map) {
|
|
7634
8046
|
super(map);
|
|
@@ -7915,6 +8327,62 @@ class ModifyElasticBandWidthResponse extends $tea.Model {
|
|
|
7915
8327
|
}
|
|
7916
8328
|
}
|
|
7917
8329
|
exports.ModifyElasticBandWidthResponse = ModifyElasticBandWidthResponse;
|
|
8330
|
+
class ModifyElasticBizBandWidthRequest extends $tea.Model {
|
|
8331
|
+
constructor(map) {
|
|
8332
|
+
super(map);
|
|
8333
|
+
}
|
|
8334
|
+
static names() {
|
|
8335
|
+
return {
|
|
8336
|
+
elasticBizBandwidth: 'ElasticBizBandwidth',
|
|
8337
|
+
instanceId: 'InstanceId',
|
|
8338
|
+
mode: 'Mode',
|
|
8339
|
+
};
|
|
8340
|
+
}
|
|
8341
|
+
static types() {
|
|
8342
|
+
return {
|
|
8343
|
+
elasticBizBandwidth: 'number',
|
|
8344
|
+
instanceId: 'string',
|
|
8345
|
+
mode: 'string',
|
|
8346
|
+
};
|
|
8347
|
+
}
|
|
8348
|
+
}
|
|
8349
|
+
exports.ModifyElasticBizBandWidthRequest = ModifyElasticBizBandWidthRequest;
|
|
8350
|
+
class ModifyElasticBizBandWidthResponseBody extends $tea.Model {
|
|
8351
|
+
constructor(map) {
|
|
8352
|
+
super(map);
|
|
8353
|
+
}
|
|
8354
|
+
static names() {
|
|
8355
|
+
return {
|
|
8356
|
+
requestId: 'RequestId',
|
|
8357
|
+
};
|
|
8358
|
+
}
|
|
8359
|
+
static types() {
|
|
8360
|
+
return {
|
|
8361
|
+
requestId: 'string',
|
|
8362
|
+
};
|
|
8363
|
+
}
|
|
8364
|
+
}
|
|
8365
|
+
exports.ModifyElasticBizBandWidthResponseBody = ModifyElasticBizBandWidthResponseBody;
|
|
8366
|
+
class ModifyElasticBizBandWidthResponse extends $tea.Model {
|
|
8367
|
+
constructor(map) {
|
|
8368
|
+
super(map);
|
|
8369
|
+
}
|
|
8370
|
+
static names() {
|
|
8371
|
+
return {
|
|
8372
|
+
headers: 'headers',
|
|
8373
|
+
statusCode: 'statusCode',
|
|
8374
|
+
body: 'body',
|
|
8375
|
+
};
|
|
8376
|
+
}
|
|
8377
|
+
static types() {
|
|
8378
|
+
return {
|
|
8379
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8380
|
+
statusCode: 'number',
|
|
8381
|
+
body: ModifyElasticBizBandWidthResponseBody,
|
|
8382
|
+
};
|
|
8383
|
+
}
|
|
8384
|
+
}
|
|
8385
|
+
exports.ModifyElasticBizBandWidthResponse = ModifyElasticBizBandWidthResponse;
|
|
7918
8386
|
class ModifyFullLogTtlRequest extends $tea.Model {
|
|
7919
8387
|
constructor(map) {
|
|
7920
8388
|
super(map);
|
|
@@ -7969,6 +8437,62 @@ class ModifyFullLogTtlResponse extends $tea.Model {
|
|
|
7969
8437
|
}
|
|
7970
8438
|
}
|
|
7971
8439
|
exports.ModifyFullLogTtlResponse = ModifyFullLogTtlResponse;
|
|
8440
|
+
class ModifyHeadersRequest extends $tea.Model {
|
|
8441
|
+
constructor(map) {
|
|
8442
|
+
super(map);
|
|
8443
|
+
}
|
|
8444
|
+
static names() {
|
|
8445
|
+
return {
|
|
8446
|
+
customHeaders: 'CustomHeaders',
|
|
8447
|
+
domain: 'Domain',
|
|
8448
|
+
resourceGroupId: 'ResourceGroupId',
|
|
8449
|
+
};
|
|
8450
|
+
}
|
|
8451
|
+
static types() {
|
|
8452
|
+
return {
|
|
8453
|
+
customHeaders: 'string',
|
|
8454
|
+
domain: 'string',
|
|
8455
|
+
resourceGroupId: 'string',
|
|
8456
|
+
};
|
|
8457
|
+
}
|
|
8458
|
+
}
|
|
8459
|
+
exports.ModifyHeadersRequest = ModifyHeadersRequest;
|
|
8460
|
+
class ModifyHeadersResponseBody extends $tea.Model {
|
|
8461
|
+
constructor(map) {
|
|
8462
|
+
super(map);
|
|
8463
|
+
}
|
|
8464
|
+
static names() {
|
|
8465
|
+
return {
|
|
8466
|
+
requestId: 'RequestId',
|
|
8467
|
+
};
|
|
8468
|
+
}
|
|
8469
|
+
static types() {
|
|
8470
|
+
return {
|
|
8471
|
+
requestId: 'string',
|
|
8472
|
+
};
|
|
8473
|
+
}
|
|
8474
|
+
}
|
|
8475
|
+
exports.ModifyHeadersResponseBody = ModifyHeadersResponseBody;
|
|
8476
|
+
class ModifyHeadersResponse extends $tea.Model {
|
|
8477
|
+
constructor(map) {
|
|
8478
|
+
super(map);
|
|
8479
|
+
}
|
|
8480
|
+
static names() {
|
|
8481
|
+
return {
|
|
8482
|
+
headers: 'headers',
|
|
8483
|
+
statusCode: 'statusCode',
|
|
8484
|
+
body: 'body',
|
|
8485
|
+
};
|
|
8486
|
+
}
|
|
8487
|
+
static types() {
|
|
8488
|
+
return {
|
|
8489
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8490
|
+
statusCode: 'number',
|
|
8491
|
+
body: ModifyHeadersResponseBody,
|
|
8492
|
+
};
|
|
8493
|
+
}
|
|
8494
|
+
}
|
|
8495
|
+
exports.ModifyHeadersResponse = ModifyHeadersResponse;
|
|
7972
8496
|
class ModifyHealthCheckConfigRequest extends $tea.Model {
|
|
7973
8497
|
constructor(map) {
|
|
7974
8498
|
super(map);
|
|
@@ -8195,6 +8719,60 @@ class ModifyNetworkRuleAttributeResponse extends $tea.Model {
|
|
|
8195
8719
|
}
|
|
8196
8720
|
}
|
|
8197
8721
|
exports.ModifyNetworkRuleAttributeResponse = ModifyNetworkRuleAttributeResponse;
|
|
8722
|
+
class ModifyOcspStatusRequest extends $tea.Model {
|
|
8723
|
+
constructor(map) {
|
|
8724
|
+
super(map);
|
|
8725
|
+
}
|
|
8726
|
+
static names() {
|
|
8727
|
+
return {
|
|
8728
|
+
domain: 'Domain',
|
|
8729
|
+
enable: 'Enable',
|
|
8730
|
+
};
|
|
8731
|
+
}
|
|
8732
|
+
static types() {
|
|
8733
|
+
return {
|
|
8734
|
+
domain: 'string',
|
|
8735
|
+
enable: 'number',
|
|
8736
|
+
};
|
|
8737
|
+
}
|
|
8738
|
+
}
|
|
8739
|
+
exports.ModifyOcspStatusRequest = ModifyOcspStatusRequest;
|
|
8740
|
+
class ModifyOcspStatusResponseBody extends $tea.Model {
|
|
8741
|
+
constructor(map) {
|
|
8742
|
+
super(map);
|
|
8743
|
+
}
|
|
8744
|
+
static names() {
|
|
8745
|
+
return {
|
|
8746
|
+
requestId: 'RequestId',
|
|
8747
|
+
};
|
|
8748
|
+
}
|
|
8749
|
+
static types() {
|
|
8750
|
+
return {
|
|
8751
|
+
requestId: 'string',
|
|
8752
|
+
};
|
|
8753
|
+
}
|
|
8754
|
+
}
|
|
8755
|
+
exports.ModifyOcspStatusResponseBody = ModifyOcspStatusResponseBody;
|
|
8756
|
+
class ModifyOcspStatusResponse extends $tea.Model {
|
|
8757
|
+
constructor(map) {
|
|
8758
|
+
super(map);
|
|
8759
|
+
}
|
|
8760
|
+
static names() {
|
|
8761
|
+
return {
|
|
8762
|
+
headers: 'headers',
|
|
8763
|
+
statusCode: 'statusCode',
|
|
8764
|
+
body: 'body',
|
|
8765
|
+
};
|
|
8766
|
+
}
|
|
8767
|
+
static types() {
|
|
8768
|
+
return {
|
|
8769
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8770
|
+
statusCode: 'number',
|
|
8771
|
+
body: ModifyOcspStatusResponseBody,
|
|
8772
|
+
};
|
|
8773
|
+
}
|
|
8774
|
+
}
|
|
8775
|
+
exports.ModifyOcspStatusResponse = ModifyOcspStatusResponse;
|
|
8198
8776
|
class ModifyPortRequest extends $tea.Model {
|
|
8199
8777
|
constructor(map) {
|
|
8200
8778
|
super(map);
|
|
@@ -9525,6 +10103,7 @@ class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
|
9525
10103
|
}
|
|
9526
10104
|
static names() {
|
|
9527
10105
|
return {
|
|
10106
|
+
certIdentifier: 'CertIdentifier',
|
|
9528
10107
|
common: 'Common',
|
|
9529
10108
|
domainRelated: 'DomainRelated',
|
|
9530
10109
|
endDate: 'EndDate',
|
|
@@ -9536,6 +10115,7 @@ class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
|
9536
10115
|
}
|
|
9537
10116
|
static types() {
|
|
9538
10117
|
return {
|
|
10118
|
+
certIdentifier: 'string',
|
|
9539
10119
|
common: 'string',
|
|
9540
10120
|
domainRelated: 'boolean',
|
|
9541
10121
|
endDate: 'string',
|
|
@@ -9840,6 +10420,7 @@ class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
9840
10420
|
https2HttpEnable: 'Https2HttpEnable',
|
|
9841
10421
|
httpsExt: 'HttpsExt',
|
|
9842
10422
|
instanceIds: 'InstanceIds',
|
|
10423
|
+
ocspEnabled: 'OcspEnabled',
|
|
9843
10424
|
policyMode: 'PolicyMode',
|
|
9844
10425
|
proxyEnabled: 'ProxyEnabled',
|
|
9845
10426
|
proxyTypes: 'ProxyTypes',
|
|
@@ -9868,6 +10449,7 @@ class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
9868
10449
|
https2HttpEnable: 'boolean',
|
|
9869
10450
|
httpsExt: 'string',
|
|
9870
10451
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
10452
|
+
ocspEnabled: 'boolean',
|
|
9871
10453
|
policyMode: 'string',
|
|
9872
10454
|
proxyEnabled: 'boolean',
|
|
9873
10455
|
proxyTypes: { 'type': 'array', 'itemType': DescribeDomainResourceResponseBodyWebRulesProxyTypes },
|
|
@@ -9883,6 +10465,24 @@ class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
9883
10465
|
}
|
|
9884
10466
|
}
|
|
9885
10467
|
exports.DescribeDomainResourceResponseBodyWebRules = DescribeDomainResourceResponseBodyWebRules;
|
|
10468
|
+
class DescribeDomainSecurityProfileResponseBodyResult extends $tea.Model {
|
|
10469
|
+
constructor(map) {
|
|
10470
|
+
super(map);
|
|
10471
|
+
}
|
|
10472
|
+
static names() {
|
|
10473
|
+
return {
|
|
10474
|
+
globalEnable: 'GlobalEnable',
|
|
10475
|
+
globalMode: 'GlobalMode',
|
|
10476
|
+
};
|
|
10477
|
+
}
|
|
10478
|
+
static types() {
|
|
10479
|
+
return {
|
|
10480
|
+
globalEnable: 'boolean',
|
|
10481
|
+
globalMode: 'string',
|
|
10482
|
+
};
|
|
10483
|
+
}
|
|
10484
|
+
}
|
|
10485
|
+
exports.DescribeDomainSecurityProfileResponseBodyResult = DescribeDomainSecurityProfileResponseBodyResult;
|
|
9886
10486
|
class DescribeDomainStatusCodeListResponseBodyStatusCodeList extends $tea.Model {
|
|
9887
10487
|
constructor(map) {
|
|
9888
10488
|
super(map);
|
|
@@ -10021,6 +10621,24 @@ class DescribeDomainViewTopUrlResponseBodyUrlList extends $tea.Model {
|
|
|
10021
10621
|
}
|
|
10022
10622
|
}
|
|
10023
10623
|
exports.DescribeDomainViewTopUrlResponseBodyUrlList = DescribeDomainViewTopUrlResponseBodyUrlList;
|
|
10624
|
+
class DescribeHeadersResponseBodyCustomHeader extends $tea.Model {
|
|
10625
|
+
constructor(map) {
|
|
10626
|
+
super(map);
|
|
10627
|
+
}
|
|
10628
|
+
static names() {
|
|
10629
|
+
return {
|
|
10630
|
+
domain: 'Domain',
|
|
10631
|
+
headers: 'Headers',
|
|
10632
|
+
};
|
|
10633
|
+
}
|
|
10634
|
+
static types() {
|
|
10635
|
+
return {
|
|
10636
|
+
domain: 'string',
|
|
10637
|
+
headers: 'string',
|
|
10638
|
+
};
|
|
10639
|
+
}
|
|
10640
|
+
}
|
|
10641
|
+
exports.DescribeHeadersResponseBodyCustomHeader = DescribeHeadersResponseBodyCustomHeader;
|
|
10024
10642
|
class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck extends $tea.Model {
|
|
10025
10643
|
constructor(map) {
|
|
10026
10644
|
super(map);
|
|
@@ -10157,6 +10775,30 @@ class DescribeInstanceDetailsResponseBodyInstanceDetails extends $tea.Model {
|
|
|
10157
10775
|
}
|
|
10158
10776
|
}
|
|
10159
10777
|
exports.DescribeInstanceDetailsResponseBodyInstanceDetails = DescribeInstanceDetailsResponseBodyInstanceDetails;
|
|
10778
|
+
class DescribeInstanceExtResponseBodyInstanceExtSpecs extends $tea.Model {
|
|
10779
|
+
constructor(map) {
|
|
10780
|
+
super(map);
|
|
10781
|
+
}
|
|
10782
|
+
static names() {
|
|
10783
|
+
return {
|
|
10784
|
+
functionVersion: 'FunctionVersion',
|
|
10785
|
+
instanceId: 'InstanceId',
|
|
10786
|
+
normalBandwidth: 'NormalBandwidth',
|
|
10787
|
+
productPlan: 'ProductPlan',
|
|
10788
|
+
servicePartner: 'ServicePartner',
|
|
10789
|
+
};
|
|
10790
|
+
}
|
|
10791
|
+
static types() {
|
|
10792
|
+
return {
|
|
10793
|
+
functionVersion: 'number',
|
|
10794
|
+
instanceId: 'string',
|
|
10795
|
+
normalBandwidth: 'number',
|
|
10796
|
+
productPlan: 'number',
|
|
10797
|
+
servicePartner: 'string',
|
|
10798
|
+
};
|
|
10799
|
+
}
|
|
10800
|
+
}
|
|
10801
|
+
exports.DescribeInstanceExtResponseBodyInstanceExtSpecs = DescribeInstanceExtResponseBodyInstanceExtSpecs;
|
|
10160
10802
|
class DescribeInstanceIdsResponseBodyInstanceIds extends $tea.Model {
|
|
10161
10803
|
constructor(map) {
|
|
10162
10804
|
super(map);
|
|
@@ -10189,14 +10831,20 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
10189
10831
|
return {
|
|
10190
10832
|
bandwidthMbps: 'BandwidthMbps',
|
|
10191
10833
|
baseBandwidth: 'BaseBandwidth',
|
|
10834
|
+
connLimit: 'ConnLimit',
|
|
10835
|
+
cpsLimit: 'CpsLimit',
|
|
10192
10836
|
defenseCount: 'DefenseCount',
|
|
10193
10837
|
domainLimit: 'DomainLimit',
|
|
10194
10838
|
elasticBandwidth: 'ElasticBandwidth',
|
|
10195
10839
|
elasticBw: 'ElasticBw',
|
|
10840
|
+
elasticBwModel: 'ElasticBwModel',
|
|
10841
|
+
elasticQps: 'ElasticQps',
|
|
10842
|
+
elasticQpsMode: 'ElasticQpsMode',
|
|
10196
10843
|
functionVersion: 'FunctionVersion',
|
|
10197
10844
|
instanceId: 'InstanceId',
|
|
10198
10845
|
portLimit: 'PortLimit',
|
|
10199
10846
|
qpsLimit: 'QpsLimit',
|
|
10847
|
+
realLimitBw: 'RealLimitBw',
|
|
10200
10848
|
siteLimit: 'SiteLimit',
|
|
10201
10849
|
};
|
|
10202
10850
|
}
|
|
@@ -10204,14 +10852,20 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
10204
10852
|
return {
|
|
10205
10853
|
bandwidthMbps: 'number',
|
|
10206
10854
|
baseBandwidth: 'number',
|
|
10855
|
+
connLimit: 'number',
|
|
10856
|
+
cpsLimit: 'number',
|
|
10207
10857
|
defenseCount: 'number',
|
|
10208
10858
|
domainLimit: 'number',
|
|
10209
10859
|
elasticBandwidth: 'number',
|
|
10210
10860
|
elasticBw: 'number',
|
|
10861
|
+
elasticBwModel: 'string',
|
|
10862
|
+
elasticQps: 'number',
|
|
10863
|
+
elasticQpsMode: 'string',
|
|
10211
10864
|
functionVersion: 'string',
|
|
10212
10865
|
instanceId: 'string',
|
|
10213
10866
|
portLimit: 'number',
|
|
10214
10867
|
qpsLimit: 'number',
|
|
10868
|
+
realLimitBw: 'number',
|
|
10215
10869
|
siteLimit: 'number',
|
|
10216
10870
|
};
|
|
10217
10871
|
}
|
|
@@ -10271,8 +10925,11 @@ class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
10271
10925
|
enabled: 'Enabled',
|
|
10272
10926
|
expireTime: 'ExpireTime',
|
|
10273
10927
|
instanceId: 'InstanceId',
|
|
10928
|
+
ip: 'Ip',
|
|
10274
10929
|
ipMode: 'IpMode',
|
|
10275
10930
|
ipVersion: 'IpVersion',
|
|
10931
|
+
isFirstOpenBw: 'IsFirstOpenBw',
|
|
10932
|
+
isFirstOpenQps: 'IsFirstOpenQps',
|
|
10276
10933
|
remark: 'Remark',
|
|
10277
10934
|
status: 'Status',
|
|
10278
10935
|
};
|
|
@@ -10285,8 +10942,11 @@ class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
10285
10942
|
enabled: 'number',
|
|
10286
10943
|
expireTime: 'number',
|
|
10287
10944
|
instanceId: 'string',
|
|
10945
|
+
ip: 'string',
|
|
10288
10946
|
ipMode: 'string',
|
|
10289
10947
|
ipVersion: 'string',
|
|
10948
|
+
isFirstOpenBw: 'number',
|
|
10949
|
+
isFirstOpenQps: 'number',
|
|
10290
10950
|
remark: 'string',
|
|
10291
10951
|
status: 'number',
|
|
10292
10952
|
};
|
|
@@ -10695,6 +11355,14 @@ class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
10695
11355
|
outBps: 'OutBps',
|
|
10696
11356
|
outPps: 'OutPps',
|
|
10697
11357
|
region: 'Region',
|
|
11358
|
+
slaBpsDropBps: 'SlaBpsDropBps',
|
|
11359
|
+
slaBpsDropPps: 'SlaBpsDropPps',
|
|
11360
|
+
slaConnDropBps: 'SlaConnDropBps',
|
|
11361
|
+
slaConnDropPps: 'SlaConnDropPps',
|
|
11362
|
+
slaCpsDropBps: 'SlaCpsDropBps',
|
|
11363
|
+
slaCpsDropPps: 'SlaCpsDropPps',
|
|
11364
|
+
slaPpsDropBps: 'SlaPpsDropBps',
|
|
11365
|
+
slaPpsDropPps: 'SlaPpsDropPps',
|
|
10698
11366
|
time: 'Time',
|
|
10699
11367
|
};
|
|
10700
11368
|
}
|
|
@@ -10708,6 +11376,14 @@ class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
10708
11376
|
outBps: 'number',
|
|
10709
11377
|
outPps: 'number',
|
|
10710
11378
|
region: 'string',
|
|
11379
|
+
slaBpsDropBps: 'number',
|
|
11380
|
+
slaBpsDropPps: 'number',
|
|
11381
|
+
slaConnDropBps: 'number',
|
|
11382
|
+
slaConnDropPps: 'number',
|
|
11383
|
+
slaCpsDropBps: 'number',
|
|
11384
|
+
slaCpsDropPps: 'number',
|
|
11385
|
+
slaPpsDropBps: 'number',
|
|
11386
|
+
slaPpsDropPps: 'number',
|
|
10711
11387
|
time: 'number',
|
|
10712
11388
|
};
|
|
10713
11389
|
}
|
|
@@ -10947,6 +11623,28 @@ class DescribeSchedulerRulesResponseBodySchedulerRules extends $tea.Model {
|
|
|
10947
11623
|
}
|
|
10948
11624
|
}
|
|
10949
11625
|
exports.DescribeSchedulerRulesResponseBodySchedulerRules = DescribeSchedulerRulesResponseBodySchedulerRules;
|
|
11626
|
+
class DescribeSlaEventListResponseBodySlaEvent extends $tea.Model {
|
|
11627
|
+
constructor(map) {
|
|
11628
|
+
super(map);
|
|
11629
|
+
}
|
|
11630
|
+
static names() {
|
|
11631
|
+
return {
|
|
11632
|
+
endTime: 'EndTime',
|
|
11633
|
+
ip: 'Ip',
|
|
11634
|
+
region: 'Region',
|
|
11635
|
+
startTime: 'StartTime',
|
|
11636
|
+
};
|
|
11637
|
+
}
|
|
11638
|
+
static types() {
|
|
11639
|
+
return {
|
|
11640
|
+
endTime: 'number',
|
|
11641
|
+
ip: 'string',
|
|
11642
|
+
region: 'string',
|
|
11643
|
+
startTime: 'number',
|
|
11644
|
+
};
|
|
11645
|
+
}
|
|
11646
|
+
}
|
|
11647
|
+
exports.DescribeSlaEventListResponseBodySlaEvent = DescribeSlaEventListResponseBodySlaEvent;
|
|
10950
11648
|
class DescribeStsGrantStatusResponseBodyStsGrant extends $tea.Model {
|
|
10951
11649
|
constructor(map) {
|
|
10952
11650
|
super(map);
|
|
@@ -11432,6 +12130,7 @@ class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
11432
12130
|
ccRuleEnabled: 'CcRuleEnabled',
|
|
11433
12131
|
ccTemplate: 'CcTemplate',
|
|
11434
12132
|
certName: 'CertName',
|
|
12133
|
+
certRegion: 'CertRegion',
|
|
11435
12134
|
cname: 'Cname',
|
|
11436
12135
|
customCiphers: 'CustomCiphers',
|
|
11437
12136
|
domain: 'Domain',
|
|
@@ -11459,6 +12158,7 @@ class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
11459
12158
|
ccRuleEnabled: 'boolean',
|
|
11460
12159
|
ccTemplate: 'string',
|
|
11461
12160
|
certName: 'string',
|
|
12161
|
+
certRegion: 'string',
|
|
11462
12162
|
cname: 'string',
|
|
11463
12163
|
customCiphers: { 'type': 'array', 'itemType': 'string' },
|
|
11464
12164
|
domain: 'string',
|
|
@@ -11547,6 +12247,16 @@ class Client extends openapi_client_1.default {
|
|
|
11547
12247
|
let runtime = new $Util.RuntimeOptions({});
|
|
11548
12248
|
return await this.addAutoCcBlacklistWithOptions(request, runtime);
|
|
11549
12249
|
}
|
|
12250
|
+
/**
|
|
12251
|
+
* 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.
|
|
12252
|
+
* 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.
|
|
12253
|
+
* ### Limits
|
|
12254
|
+
* 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.
|
|
12255
|
+
*
|
|
12256
|
+
* @param request AddAutoCcWhitelistRequest
|
|
12257
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12258
|
+
* @return AddAutoCcWhitelistResponse
|
|
12259
|
+
*/
|
|
11550
12260
|
async addAutoCcWhitelistWithOptions(request, runtime) {
|
|
11551
12261
|
tea_util_1.default.validateModel(request);
|
|
11552
12262
|
let query = {};
|
|
@@ -11575,6 +12285,15 @@ class Client extends openapi_client_1.default {
|
|
|
11575
12285
|
});
|
|
11576
12286
|
return $tea.cast(await this.callApi(params, req, runtime), new AddAutoCcWhitelistResponse({}));
|
|
11577
12287
|
}
|
|
12288
|
+
/**
|
|
12289
|
+
* 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.
|
|
12290
|
+
* 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.
|
|
12291
|
+
* ### Limits
|
|
12292
|
+
* 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.
|
|
12293
|
+
*
|
|
12294
|
+
* @param request AddAutoCcWhitelistRequest
|
|
12295
|
+
* @return AddAutoCcWhitelistResponse
|
|
12296
|
+
*/
|
|
11578
12297
|
async addAutoCcWhitelist(request) {
|
|
11579
12298
|
let runtime = new $Util.RuntimeOptions({});
|
|
11580
12299
|
return await this.addAutoCcWhitelistWithOptions(request, runtime);
|
|
@@ -11588,9 +12307,15 @@ class Client extends openapi_client_1.default {
|
|
|
11588
12307
|
if (!tea_util_1.default.isUnset(request.certId)) {
|
|
11589
12308
|
query["CertId"] = request.certId;
|
|
11590
12309
|
}
|
|
12310
|
+
if (!tea_util_1.default.isUnset(request.certIdentifier)) {
|
|
12311
|
+
query["CertIdentifier"] = request.certIdentifier;
|
|
12312
|
+
}
|
|
11591
12313
|
if (!tea_util_1.default.isUnset(request.certName)) {
|
|
11592
12314
|
query["CertName"] = request.certName;
|
|
11593
12315
|
}
|
|
12316
|
+
if (!tea_util_1.default.isUnset(request.certRegion)) {
|
|
12317
|
+
query["CertRegion"] = request.certRegion;
|
|
12318
|
+
}
|
|
11594
12319
|
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
11595
12320
|
query["Domain"] = request.domain;
|
|
11596
12321
|
}
|
|
@@ -11652,6 +12377,13 @@ class Client extends openapi_client_1.default {
|
|
|
11652
12377
|
let runtime = new $Util.RuntimeOptions({});
|
|
11653
12378
|
return await this.attachSceneDefenseObjectWithOptions(request, runtime);
|
|
11654
12379
|
}
|
|
12380
|
+
/**
|
|
12381
|
+
* 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.
|
|
12382
|
+
*
|
|
12383
|
+
* @param request ConfigL7RsPolicyRequest
|
|
12384
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12385
|
+
* @return ConfigL7RsPolicyResponse
|
|
12386
|
+
*/
|
|
11655
12387
|
async configL7RsPolicyWithOptions(request, runtime) {
|
|
11656
12388
|
tea_util_1.default.validateModel(request);
|
|
11657
12389
|
let query = {};
|
|
@@ -11680,10 +12412,45 @@ class Client extends openapi_client_1.default {
|
|
|
11680
12412
|
});
|
|
11681
12413
|
return $tea.cast(await this.callApi(params, req, runtime), new ConfigL7RsPolicyResponse({}));
|
|
11682
12414
|
}
|
|
12415
|
+
/**
|
|
12416
|
+
* 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.
|
|
12417
|
+
*
|
|
12418
|
+
* @param request ConfigL7RsPolicyRequest
|
|
12419
|
+
* @return ConfigL7RsPolicyResponse
|
|
12420
|
+
*/
|
|
11683
12421
|
async configL7RsPolicy(request) {
|
|
11684
12422
|
let runtime = new $Util.RuntimeOptions({});
|
|
11685
12423
|
return await this.configL7RsPolicyWithOptions(request, runtime);
|
|
11686
12424
|
}
|
|
12425
|
+
async configLayer4RealLimitWithOptions(request, runtime) {
|
|
12426
|
+
tea_util_1.default.validateModel(request);
|
|
12427
|
+
let query = {};
|
|
12428
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
12429
|
+
query["InstanceId"] = request.instanceId;
|
|
12430
|
+
}
|
|
12431
|
+
if (!tea_util_1.default.isUnset(request.limitValue)) {
|
|
12432
|
+
query["LimitValue"] = request.limitValue;
|
|
12433
|
+
}
|
|
12434
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12435
|
+
query: openapi_util_1.default.query(query),
|
|
12436
|
+
});
|
|
12437
|
+
let params = new $OpenApi.Params({
|
|
12438
|
+
action: "ConfigLayer4RealLimit",
|
|
12439
|
+
version: "2020-01-01",
|
|
12440
|
+
protocol: "HTTPS",
|
|
12441
|
+
pathname: "/",
|
|
12442
|
+
method: "POST",
|
|
12443
|
+
authType: "AK",
|
|
12444
|
+
style: "RPC",
|
|
12445
|
+
reqBodyType: "formData",
|
|
12446
|
+
bodyType: "json",
|
|
12447
|
+
});
|
|
12448
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ConfigLayer4RealLimitResponse({}));
|
|
12449
|
+
}
|
|
12450
|
+
async configLayer4RealLimit(request) {
|
|
12451
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12452
|
+
return await this.configLayer4RealLimitWithOptions(request, runtime);
|
|
12453
|
+
}
|
|
11687
12454
|
async configLayer4RemarkWithOptions(request, runtime) {
|
|
11688
12455
|
tea_util_1.default.validateModel(request);
|
|
11689
12456
|
let query = {};
|
|
@@ -11820,6 +12587,15 @@ class Client extends openapi_client_1.default {
|
|
|
11820
12587
|
let runtime = new $Util.RuntimeOptions({});
|
|
11821
12588
|
return await this.configNetworkRulesWithOptions(request, runtime);
|
|
11822
12589
|
}
|
|
12590
|
+
/**
|
|
12591
|
+
* You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
|
|
12592
|
+
* ### Limits
|
|
12593
|
+
* 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.
|
|
12594
|
+
*
|
|
12595
|
+
* @param request ConfigUdpReflectRequest
|
|
12596
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12597
|
+
* @return ConfigUdpReflectResponse
|
|
12598
|
+
*/
|
|
11823
12599
|
async configUdpReflectWithOptions(request, runtime) {
|
|
11824
12600
|
tea_util_1.default.validateModel(request);
|
|
11825
12601
|
let query = {};
|
|
@@ -11848,6 +12624,14 @@ class Client extends openapi_client_1.default {
|
|
|
11848
12624
|
});
|
|
11849
12625
|
return $tea.cast(await this.callApi(params, req, runtime), new ConfigUdpReflectResponse({}));
|
|
11850
12626
|
}
|
|
12627
|
+
/**
|
|
12628
|
+
* You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
|
|
12629
|
+
* ### Limits
|
|
12630
|
+
* 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.
|
|
12631
|
+
*
|
|
12632
|
+
* @param request ConfigUdpReflectRequest
|
|
12633
|
+
* @return ConfigUdpReflectResponse
|
|
12634
|
+
*/
|
|
11851
12635
|
async configUdpReflect(request) {
|
|
11852
12636
|
let runtime = new $Util.RuntimeOptions({});
|
|
11853
12637
|
return await this.configUdpReflectWithOptions(request, runtime);
|
|
@@ -12018,6 +12802,13 @@ class Client extends openapi_client_1.default {
|
|
|
12018
12802
|
let runtime = new $Util.RuntimeOptions({});
|
|
12019
12803
|
return await this.createNetworkRulesWithOptions(request, runtime);
|
|
12020
12804
|
}
|
|
12805
|
+
/**
|
|
12806
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
12807
|
+
*
|
|
12808
|
+
* @param request CreatePortRequest
|
|
12809
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12810
|
+
* @return CreatePortResponse
|
|
12811
|
+
*/
|
|
12021
12812
|
async createPortWithOptions(request, runtime) {
|
|
12022
12813
|
tea_util_1.default.validateModel(request);
|
|
12023
12814
|
let query = {};
|
|
@@ -12052,6 +12843,12 @@ class Client extends openapi_client_1.default {
|
|
|
12052
12843
|
});
|
|
12053
12844
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePortResponse({}));
|
|
12054
12845
|
}
|
|
12846
|
+
/**
|
|
12847
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
12848
|
+
*
|
|
12849
|
+
* @param request CreatePortRequest
|
|
12850
|
+
* @return CreatePortResponse
|
|
12851
|
+
*/
|
|
12055
12852
|
async createPort(request) {
|
|
12056
12853
|
let runtime = new $Util.RuntimeOptions({});
|
|
12057
12854
|
return await this.createPortWithOptions(request, runtime);
|
|
@@ -12129,6 +12926,16 @@ class Client extends openapi_client_1.default {
|
|
|
12129
12926
|
let runtime = new $Util.RuntimeOptions({});
|
|
12130
12927
|
return await this.createSchedulerRuleWithOptions(request, runtime);
|
|
12131
12928
|
}
|
|
12929
|
+
/**
|
|
12930
|
+
* You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
|
|
12931
|
+
* > Anti-DDoS Premium does not support the tag feature.
|
|
12932
|
+
* ### Limits
|
|
12933
|
+
* 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.
|
|
12934
|
+
*
|
|
12935
|
+
* @param request CreateTagResourcesRequest
|
|
12936
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12937
|
+
* @return CreateTagResourcesResponse
|
|
12938
|
+
*/
|
|
12132
12939
|
async createTagResourcesWithOptions(request, runtime) {
|
|
12133
12940
|
tea_util_1.default.validateModel(request);
|
|
12134
12941
|
let query = {};
|
|
@@ -12163,6 +12970,15 @@ class Client extends openapi_client_1.default {
|
|
|
12163
12970
|
});
|
|
12164
12971
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTagResourcesResponse({}));
|
|
12165
12972
|
}
|
|
12973
|
+
/**
|
|
12974
|
+
* You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
|
|
12975
|
+
* > Anti-DDoS Premium does not support the tag feature.
|
|
12976
|
+
* ### Limits
|
|
12977
|
+
* 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.
|
|
12978
|
+
*
|
|
12979
|
+
* @param request CreateTagResourcesRequest
|
|
12980
|
+
* @return CreateTagResourcesResponse
|
|
12981
|
+
*/
|
|
12166
12982
|
async createTagResources(request) {
|
|
12167
12983
|
let runtime = new $Util.RuntimeOptions({});
|
|
12168
12984
|
return await this.createTagResourcesWithOptions(request, runtime);
|
|
@@ -12400,6 +13216,14 @@ class Client extends openapi_client_1.default {
|
|
|
12400
13216
|
let runtime = new $Util.RuntimeOptions({});
|
|
12401
13217
|
return await this.deleteNetworkRuleWithOptions(request, runtime);
|
|
12402
13218
|
}
|
|
13219
|
+
/**
|
|
13220
|
+
* 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.
|
|
13221
|
+
* > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
13222
|
+
*
|
|
13223
|
+
* @param request DeletePortRequest
|
|
13224
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13225
|
+
* @return DeletePortResponse
|
|
13226
|
+
*/
|
|
12403
13227
|
async deletePortWithOptions(request, runtime) {
|
|
12404
13228
|
tea_util_1.default.validateModel(request);
|
|
12405
13229
|
let query = {};
|
|
@@ -12434,6 +13258,13 @@ class Client extends openapi_client_1.default {
|
|
|
12434
13258
|
});
|
|
12435
13259
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePortResponse({}));
|
|
12436
13260
|
}
|
|
13261
|
+
/**
|
|
13262
|
+
* 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.
|
|
13263
|
+
* > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
13264
|
+
*
|
|
13265
|
+
* @param request DeletePortRequest
|
|
13266
|
+
* @return DeletePortResponse
|
|
13267
|
+
*/
|
|
12437
13268
|
async deletePort(request) {
|
|
12438
13269
|
let runtime = new $Util.RuntimeOptions({});
|
|
12439
13270
|
return await this.deletePortWithOptions(request, runtime);
|
|
@@ -12493,6 +13324,16 @@ class Client extends openapi_client_1.default {
|
|
|
12493
13324
|
let runtime = new $Util.RuntimeOptions({});
|
|
12494
13325
|
return await this.deleteSchedulerRuleWithOptions(request, runtime);
|
|
12495
13326
|
}
|
|
13327
|
+
/**
|
|
13328
|
+
* You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
|
|
13329
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
13330
|
+
* ### Limits
|
|
13331
|
+
* 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.
|
|
13332
|
+
*
|
|
13333
|
+
* @param request DeleteTagResourcesRequest
|
|
13334
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13335
|
+
* @return DeleteTagResourcesResponse
|
|
13336
|
+
*/
|
|
12496
13337
|
async deleteTagResourcesWithOptions(request, runtime) {
|
|
12497
13338
|
tea_util_1.default.validateModel(request);
|
|
12498
13339
|
let query = {};
|
|
@@ -12530,6 +13371,15 @@ class Client extends openapi_client_1.default {
|
|
|
12530
13371
|
});
|
|
12531
13372
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTagResourcesResponse({}));
|
|
12532
13373
|
}
|
|
13374
|
+
/**
|
|
13375
|
+
* You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
|
|
13376
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
13377
|
+
* ### Limits
|
|
13378
|
+
* 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.
|
|
13379
|
+
*
|
|
13380
|
+
* @param request DeleteTagResourcesRequest
|
|
13381
|
+
* @return DeleteTagResourcesResponse
|
|
13382
|
+
*/
|
|
12533
13383
|
async deleteTagResources(request) {
|
|
12534
13384
|
let runtime = new $Util.RuntimeOptions({});
|
|
12535
13385
|
return await this.deleteTagResourcesWithOptions(request, runtime);
|
|
@@ -12566,6 +13416,15 @@ class Client extends openapi_client_1.default {
|
|
|
12566
13416
|
let runtime = new $Util.RuntimeOptions({});
|
|
12567
13417
|
return await this.deleteWebCCRuleWithOptions(request, runtime);
|
|
12568
13418
|
}
|
|
13419
|
+
/**
|
|
13420
|
+
* You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
|
|
13421
|
+
* ### Limits
|
|
13422
|
+
* 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.
|
|
13423
|
+
*
|
|
13424
|
+
* @param request DeleteWebCacheCustomRuleRequest
|
|
13425
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13426
|
+
* @return DeleteWebCacheCustomRuleResponse
|
|
13427
|
+
*/
|
|
12569
13428
|
async deleteWebCacheCustomRuleWithOptions(request, runtime) {
|
|
12570
13429
|
tea_util_1.default.validateModel(request);
|
|
12571
13430
|
let query = {};
|
|
@@ -12594,6 +13453,14 @@ class Client extends openapi_client_1.default {
|
|
|
12594
13453
|
});
|
|
12595
13454
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteWebCacheCustomRuleResponse({}));
|
|
12596
13455
|
}
|
|
13456
|
+
/**
|
|
13457
|
+
* You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
|
|
13458
|
+
* ### Limits
|
|
13459
|
+
* 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.
|
|
13460
|
+
*
|
|
13461
|
+
* @param request DeleteWebCacheCustomRuleRequest
|
|
13462
|
+
* @return DeleteWebCacheCustomRuleResponse
|
|
13463
|
+
*/
|
|
12597
13464
|
async deleteWebCacheCustomRule(request) {
|
|
12598
13465
|
let runtime = new $Util.RuntimeOptions({});
|
|
12599
13466
|
return await this.deleteWebCacheCustomRuleWithOptions(request, runtime);
|
|
@@ -12659,6 +13526,15 @@ class Client extends openapi_client_1.default {
|
|
|
12659
13526
|
let runtime = new $Util.RuntimeOptions({});
|
|
12660
13527
|
return await this.deleteWebRuleWithOptions(request, runtime);
|
|
12661
13528
|
}
|
|
13529
|
+
/**
|
|
13530
|
+
* 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.
|
|
13531
|
+
* ### Limits
|
|
13532
|
+
* 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.
|
|
13533
|
+
*
|
|
13534
|
+
* @param request DescribeAsyncTasksRequest
|
|
13535
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13536
|
+
* @return DescribeAsyncTasksResponse
|
|
13537
|
+
*/
|
|
12662
13538
|
async describeAsyncTasksWithOptions(request, runtime) {
|
|
12663
13539
|
tea_util_1.default.validateModel(request);
|
|
12664
13540
|
let query = {};
|
|
@@ -12687,6 +13563,14 @@ class Client extends openapi_client_1.default {
|
|
|
12687
13563
|
});
|
|
12688
13564
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAsyncTasksResponse({}));
|
|
12689
13565
|
}
|
|
13566
|
+
/**
|
|
13567
|
+
* 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.
|
|
13568
|
+
* ### Limits
|
|
13569
|
+
* 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.
|
|
13570
|
+
*
|
|
13571
|
+
* @param request DescribeAsyncTasksRequest
|
|
13572
|
+
* @return DescribeAsyncTasksResponse
|
|
13573
|
+
*/
|
|
12690
13574
|
async describeAsyncTasks(request) {
|
|
12691
13575
|
let runtime = new $Util.RuntimeOptions({});
|
|
12692
13576
|
return await this.describeAsyncTasksWithOptions(request, runtime);
|
|
@@ -12822,6 +13706,9 @@ class Client extends openapi_client_1.default {
|
|
|
12822
13706
|
async describeBackSourceCidrWithOptions(request, runtime) {
|
|
12823
13707
|
tea_util_1.default.validateModel(request);
|
|
12824
13708
|
let query = {};
|
|
13709
|
+
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
13710
|
+
query["IpVersion"] = request.ipVersion;
|
|
13711
|
+
}
|
|
12825
13712
|
if (!tea_util_1.default.isUnset(request.line)) {
|
|
12826
13713
|
query["Line"] = request.line;
|
|
12827
13714
|
}
|
|
@@ -12874,6 +13761,16 @@ class Client extends openapi_client_1.default {
|
|
|
12874
13761
|
let runtime = new $Util.RuntimeOptions({});
|
|
12875
13762
|
return await this.describeBlackholeStatusWithOptions(request, runtime);
|
|
12876
13763
|
}
|
|
13764
|
+
/**
|
|
13765
|
+
* This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
|
|
13766
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
13767
|
+
* ### Limits
|
|
13768
|
+
* 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.
|
|
13769
|
+
*
|
|
13770
|
+
* @param request DescribeBlockStatusRequest
|
|
13771
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13772
|
+
* @return DescribeBlockStatusResponse
|
|
13773
|
+
*/
|
|
12877
13774
|
async describeBlockStatusWithOptions(request, runtime) {
|
|
12878
13775
|
tea_util_1.default.validateModel(request);
|
|
12879
13776
|
let query = {};
|
|
@@ -12899,6 +13796,15 @@ class Client extends openapi_client_1.default {
|
|
|
12899
13796
|
});
|
|
12900
13797
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBlockStatusResponse({}));
|
|
12901
13798
|
}
|
|
13799
|
+
/**
|
|
13800
|
+
* This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
|
|
13801
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
13802
|
+
* ### Limits
|
|
13803
|
+
* 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.
|
|
13804
|
+
*
|
|
13805
|
+
* @param request DescribeBlockStatusRequest
|
|
13806
|
+
* @return DescribeBlockStatusResponse
|
|
13807
|
+
*/
|
|
12902
13808
|
async describeBlockStatus(request) {
|
|
12903
13809
|
let runtime = new $Util.RuntimeOptions({});
|
|
12904
13810
|
return await this.describeBlockStatusWithOptions(request, runtime);
|
|
@@ -13002,6 +13908,15 @@ class Client extends openapi_client_1.default {
|
|
|
13002
13908
|
let runtime = new $Util.RuntimeOptions({});
|
|
13003
13909
|
return await this.describeDDoSEventsWithOptions(request, runtime);
|
|
13004
13910
|
}
|
|
13911
|
+
/**
|
|
13912
|
+
* 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.
|
|
13913
|
+
* ### Limits
|
|
13914
|
+
* 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.
|
|
13915
|
+
*
|
|
13916
|
+
* @param request DescribeDDosAllEventListRequest
|
|
13917
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13918
|
+
* @return DescribeDDosAllEventListResponse
|
|
13919
|
+
*/
|
|
13005
13920
|
async describeDDosAllEventListWithOptions(request, runtime) {
|
|
13006
13921
|
tea_util_1.default.validateModel(request);
|
|
13007
13922
|
let query = {};
|
|
@@ -13036,10 +13951,25 @@ class Client extends openapi_client_1.default {
|
|
|
13036
13951
|
});
|
|
13037
13952
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosAllEventListResponse({}));
|
|
13038
13953
|
}
|
|
13954
|
+
/**
|
|
13955
|
+
* 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.
|
|
13956
|
+
* ### Limits
|
|
13957
|
+
* 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.
|
|
13958
|
+
*
|
|
13959
|
+
* @param request DescribeDDosAllEventListRequest
|
|
13960
|
+
* @return DescribeDDosAllEventListResponse
|
|
13961
|
+
*/
|
|
13039
13962
|
async describeDDosAllEventList(request) {
|
|
13040
13963
|
let runtime = new $Util.RuntimeOptions({});
|
|
13041
13964
|
return await this.describeDDosAllEventListWithOptions(request, runtime);
|
|
13042
13965
|
}
|
|
13966
|
+
/**
|
|
13967
|
+
* > This operation is suitable only for volumetric attacks.
|
|
13968
|
+
*
|
|
13969
|
+
* @param request DescribeDDosEventAreaRequest
|
|
13970
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13971
|
+
* @return DescribeDDosEventAreaResponse
|
|
13972
|
+
*/
|
|
13043
13973
|
async describeDDosEventAreaWithOptions(request, runtime) {
|
|
13044
13974
|
tea_util_1.default.validateModel(request);
|
|
13045
13975
|
let query = {};
|
|
@@ -13068,10 +13998,23 @@ class Client extends openapi_client_1.default {
|
|
|
13068
13998
|
});
|
|
13069
13999
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventAreaResponse({}));
|
|
13070
14000
|
}
|
|
14001
|
+
/**
|
|
14002
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14003
|
+
*
|
|
14004
|
+
* @param request DescribeDDosEventAreaRequest
|
|
14005
|
+
* @return DescribeDDosEventAreaResponse
|
|
14006
|
+
*/
|
|
13071
14007
|
async describeDDosEventArea(request) {
|
|
13072
14008
|
let runtime = new $Util.RuntimeOptions({});
|
|
13073
14009
|
return await this.describeDDosEventAreaWithOptions(request, runtime);
|
|
13074
14010
|
}
|
|
14011
|
+
/**
|
|
14012
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14013
|
+
*
|
|
14014
|
+
* @param request DescribeDDosEventAttackTypeRequest
|
|
14015
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14016
|
+
* @return DescribeDDosEventAttackTypeResponse
|
|
14017
|
+
*/
|
|
13075
14018
|
async describeDDosEventAttackTypeWithOptions(request, runtime) {
|
|
13076
14019
|
tea_util_1.default.validateModel(request);
|
|
13077
14020
|
let query = {};
|
|
@@ -13100,10 +14043,23 @@ class Client extends openapi_client_1.default {
|
|
|
13100
14043
|
});
|
|
13101
14044
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventAttackTypeResponse({}));
|
|
13102
14045
|
}
|
|
14046
|
+
/**
|
|
14047
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14048
|
+
*
|
|
14049
|
+
* @param request DescribeDDosEventAttackTypeRequest
|
|
14050
|
+
* @return DescribeDDosEventAttackTypeResponse
|
|
14051
|
+
*/
|
|
13103
14052
|
async describeDDosEventAttackType(request) {
|
|
13104
14053
|
let runtime = new $Util.RuntimeOptions({});
|
|
13105
14054
|
return await this.describeDDosEventAttackTypeWithOptions(request, runtime);
|
|
13106
14055
|
}
|
|
14056
|
+
/**
|
|
14057
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14058
|
+
*
|
|
14059
|
+
* @param request DescribeDDosEventIspRequest
|
|
14060
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14061
|
+
* @return DescribeDDosEventIspResponse
|
|
14062
|
+
*/
|
|
13107
14063
|
async describeDDosEventIspWithOptions(request, runtime) {
|
|
13108
14064
|
tea_util_1.default.validateModel(request);
|
|
13109
14065
|
let query = {};
|
|
@@ -13132,6 +14088,12 @@ class Client extends openapi_client_1.default {
|
|
|
13132
14088
|
});
|
|
13133
14089
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventIspResponse({}));
|
|
13134
14090
|
}
|
|
14091
|
+
/**
|
|
14092
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14093
|
+
*
|
|
14094
|
+
* @param request DescribeDDosEventIspRequest
|
|
14095
|
+
* @return DescribeDDosEventIspResponse
|
|
14096
|
+
*/
|
|
13135
14097
|
async describeDDosEventIsp(request) {
|
|
13136
14098
|
let runtime = new $Util.RuntimeOptions({});
|
|
13137
14099
|
return await this.describeDDosEventIspWithOptions(request, runtime);
|
|
@@ -13165,6 +14127,13 @@ class Client extends openapi_client_1.default {
|
|
|
13165
14127
|
let runtime = new $Util.RuntimeOptions({});
|
|
13166
14128
|
return await this.describeDDosEventMaxWithOptions(request, runtime);
|
|
13167
14129
|
}
|
|
14130
|
+
/**
|
|
14131
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14132
|
+
*
|
|
14133
|
+
* @param request DescribeDDosEventSrcIpRequest
|
|
14134
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14135
|
+
* @return DescribeDDosEventSrcIpResponse
|
|
14136
|
+
*/
|
|
13168
14137
|
async describeDDosEventSrcIpWithOptions(request, runtime) {
|
|
13169
14138
|
tea_util_1.default.validateModel(request);
|
|
13170
14139
|
let query = {};
|
|
@@ -13196,10 +14165,26 @@ class Client extends openapi_client_1.default {
|
|
|
13196
14165
|
});
|
|
13197
14166
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDDosEventSrcIpResponse({}));
|
|
13198
14167
|
}
|
|
14168
|
+
/**
|
|
14169
|
+
* > This operation is suitable only for volumetric attacks.
|
|
14170
|
+
*
|
|
14171
|
+
* @param request DescribeDDosEventSrcIpRequest
|
|
14172
|
+
* @return DescribeDDosEventSrcIpResponse
|
|
14173
|
+
*/
|
|
13199
14174
|
async describeDDosEventSrcIp(request) {
|
|
13200
14175
|
let runtime = new $Util.RuntimeOptions({});
|
|
13201
14176
|
return await this.describeDDosEventSrcIpWithOptions(request, runtime);
|
|
13202
14177
|
}
|
|
14178
|
+
/**
|
|
14179
|
+
* 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.
|
|
14180
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
14181
|
+
* ### Limits
|
|
14182
|
+
* 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.
|
|
14183
|
+
*
|
|
14184
|
+
* @param request DescribeDefenseCountStatisticsRequest
|
|
14185
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14186
|
+
* @return DescribeDefenseCountStatisticsResponse
|
|
14187
|
+
*/
|
|
13203
14188
|
async describeDefenseCountStatisticsWithOptions(request, runtime) {
|
|
13204
14189
|
tea_util_1.default.validateModel(request);
|
|
13205
14190
|
let query = {};
|
|
@@ -13222,10 +14207,26 @@ class Client extends openapi_client_1.default {
|
|
|
13222
14207
|
});
|
|
13223
14208
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDefenseCountStatisticsResponse({}));
|
|
13224
14209
|
}
|
|
14210
|
+
/**
|
|
14211
|
+
* 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.
|
|
14212
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
14213
|
+
* ### Limits
|
|
14214
|
+
* 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.
|
|
14215
|
+
*
|
|
14216
|
+
* @param request DescribeDefenseCountStatisticsRequest
|
|
14217
|
+
* @return DescribeDefenseCountStatisticsResponse
|
|
14218
|
+
*/
|
|
13225
14219
|
async describeDefenseCountStatistics(request) {
|
|
13226
14220
|
let runtime = new $Util.RuntimeOptions({});
|
|
13227
14221
|
return await this.describeDefenseCountStatisticsWithOptions(request, runtime);
|
|
13228
14222
|
}
|
|
14223
|
+
/**
|
|
14224
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
14225
|
+
*
|
|
14226
|
+
* @param request DescribeDefenseRecordsRequest
|
|
14227
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14228
|
+
* @return DescribeDefenseRecordsResponse
|
|
14229
|
+
*/
|
|
13229
14230
|
async describeDefenseRecordsWithOptions(request, runtime) {
|
|
13230
14231
|
tea_util_1.default.validateModel(request);
|
|
13231
14232
|
let query = {};
|
|
@@ -13263,6 +14264,12 @@ class Client extends openapi_client_1.default {
|
|
|
13263
14264
|
});
|
|
13264
14265
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDefenseRecordsResponse({}));
|
|
13265
14266
|
}
|
|
14267
|
+
/**
|
|
14268
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
14269
|
+
*
|
|
14270
|
+
* @param request DescribeDefenseRecordsRequest
|
|
14271
|
+
* @return DescribeDefenseRecordsResponse
|
|
14272
|
+
*/
|
|
13266
14273
|
async describeDefenseRecords(request) {
|
|
13267
14274
|
let runtime = new $Util.RuntimeOptions({});
|
|
13268
14275
|
return await this.describeDefenseRecordsWithOptions(request, runtime);
|
|
@@ -13416,6 +14423,16 @@ class Client extends openapi_client_1.default {
|
|
|
13416
14423
|
let runtime = new $Util.RuntimeOptions({});
|
|
13417
14424
|
return await this.describeDomainQpsWithCacheWithOptions(request, runtime);
|
|
13418
14425
|
}
|
|
14426
|
+
/**
|
|
14427
|
+
* 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.
|
|
14428
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
14429
|
+
* ### Limits
|
|
14430
|
+
* 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.
|
|
14431
|
+
*
|
|
14432
|
+
* @param request DescribeDomainResourceRequest
|
|
14433
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14434
|
+
* @return DescribeDomainResourceResponse
|
|
14435
|
+
*/
|
|
13419
14436
|
async describeDomainResourceWithOptions(request, runtime) {
|
|
13420
14437
|
tea_util_1.default.validateModel(request);
|
|
13421
14438
|
let query = {};
|
|
@@ -13450,10 +14467,45 @@ class Client extends openapi_client_1.default {
|
|
|
13450
14467
|
});
|
|
13451
14468
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainResourceResponse({}));
|
|
13452
14469
|
}
|
|
14470
|
+
/**
|
|
14471
|
+
* 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.
|
|
14472
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
14473
|
+
* ### Limits
|
|
14474
|
+
* 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.
|
|
14475
|
+
*
|
|
14476
|
+
* @param request DescribeDomainResourceRequest
|
|
14477
|
+
* @return DescribeDomainResourceResponse
|
|
14478
|
+
*/
|
|
13453
14479
|
async describeDomainResource(request) {
|
|
13454
14480
|
let runtime = new $Util.RuntimeOptions({});
|
|
13455
14481
|
return await this.describeDomainResourceWithOptions(request, runtime);
|
|
13456
14482
|
}
|
|
14483
|
+
async describeDomainSecurityProfileWithOptions(request, runtime) {
|
|
14484
|
+
tea_util_1.default.validateModel(request);
|
|
14485
|
+
let query = {};
|
|
14486
|
+
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
14487
|
+
query["Domain"] = request.domain;
|
|
14488
|
+
}
|
|
14489
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14490
|
+
query: openapi_util_1.default.query(query),
|
|
14491
|
+
});
|
|
14492
|
+
let params = new $OpenApi.Params({
|
|
14493
|
+
action: "DescribeDomainSecurityProfile",
|
|
14494
|
+
version: "2020-01-01",
|
|
14495
|
+
protocol: "HTTPS",
|
|
14496
|
+
pathname: "/",
|
|
14497
|
+
method: "POST",
|
|
14498
|
+
authType: "AK",
|
|
14499
|
+
style: "RPC",
|
|
14500
|
+
reqBodyType: "formData",
|
|
14501
|
+
bodyType: "json",
|
|
14502
|
+
});
|
|
14503
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainSecurityProfileResponse({}));
|
|
14504
|
+
}
|
|
14505
|
+
async describeDomainSecurityProfile(request) {
|
|
14506
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14507
|
+
return await this.describeDomainSecurityProfileWithOptions(request, runtime);
|
|
14508
|
+
}
|
|
13457
14509
|
async describeDomainStatusCodeCountWithOptions(request, runtime) {
|
|
13458
14510
|
tea_util_1.default.validateModel(request);
|
|
13459
14511
|
let query = {};
|
|
@@ -13737,6 +14789,13 @@ class Client extends openapi_client_1.default {
|
|
|
13737
14789
|
let runtime = new $Util.RuntimeOptions({});
|
|
13738
14790
|
return await this.describeDomainsWithOptions(request, runtime);
|
|
13739
14791
|
}
|
|
14792
|
+
/**
|
|
14793
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
14794
|
+
*
|
|
14795
|
+
* @param request DescribeElasticBandwidthSpecRequest
|
|
14796
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14797
|
+
* @return DescribeElasticBandwidthSpecResponse
|
|
14798
|
+
*/
|
|
13740
14799
|
async describeElasticBandwidthSpecWithOptions(request, runtime) {
|
|
13741
14800
|
tea_util_1.default.validateModel(request);
|
|
13742
14801
|
let query = {};
|
|
@@ -13759,10 +14818,45 @@ class Client extends openapi_client_1.default {
|
|
|
13759
14818
|
});
|
|
13760
14819
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticBandwidthSpecResponse({}));
|
|
13761
14820
|
}
|
|
14821
|
+
/**
|
|
14822
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
14823
|
+
*
|
|
14824
|
+
* @param request DescribeElasticBandwidthSpecRequest
|
|
14825
|
+
* @return DescribeElasticBandwidthSpecResponse
|
|
14826
|
+
*/
|
|
13762
14827
|
async describeElasticBandwidthSpec(request) {
|
|
13763
14828
|
let runtime = new $Util.RuntimeOptions({});
|
|
13764
14829
|
return await this.describeElasticBandwidthSpecWithOptions(request, runtime);
|
|
13765
14830
|
}
|
|
14831
|
+
async describeHeadersWithOptions(request, runtime) {
|
|
14832
|
+
tea_util_1.default.validateModel(request);
|
|
14833
|
+
let query = {};
|
|
14834
|
+
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
14835
|
+
query["Domain"] = request.domain;
|
|
14836
|
+
}
|
|
14837
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
14838
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
14839
|
+
}
|
|
14840
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14841
|
+
query: openapi_util_1.default.query(query),
|
|
14842
|
+
});
|
|
14843
|
+
let params = new $OpenApi.Params({
|
|
14844
|
+
action: "DescribeHeaders",
|
|
14845
|
+
version: "2020-01-01",
|
|
14846
|
+
protocol: "HTTPS",
|
|
14847
|
+
pathname: "/",
|
|
14848
|
+
method: "POST",
|
|
14849
|
+
authType: "AK",
|
|
14850
|
+
style: "RPC",
|
|
14851
|
+
reqBodyType: "formData",
|
|
14852
|
+
bodyType: "json",
|
|
14853
|
+
});
|
|
14854
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHeadersResponse({}));
|
|
14855
|
+
}
|
|
14856
|
+
async describeHeaders(request) {
|
|
14857
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14858
|
+
return await this.describeHeadersWithOptions(request, runtime);
|
|
14859
|
+
}
|
|
13766
14860
|
async describeHealthCheckListWithOptions(request, runtime) {
|
|
13767
14861
|
tea_util_1.default.validateModel(request);
|
|
13768
14862
|
let query = {};
|
|
@@ -13815,6 +14909,15 @@ class Client extends openapi_client_1.default {
|
|
|
13815
14909
|
let runtime = new $Util.RuntimeOptions({});
|
|
13816
14910
|
return await this.describeHealthCheckStatusWithOptions(request, runtime);
|
|
13817
14911
|
}
|
|
14912
|
+
/**
|
|
14913
|
+
* 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.
|
|
14914
|
+
* ### Limits
|
|
14915
|
+
* 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.
|
|
14916
|
+
*
|
|
14917
|
+
* @param request DescribeInstanceDetailsRequest
|
|
14918
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14919
|
+
* @return DescribeInstanceDetailsResponse
|
|
14920
|
+
*/
|
|
13818
14921
|
async describeInstanceDetailsWithOptions(request, runtime) {
|
|
13819
14922
|
tea_util_1.default.validateModel(request);
|
|
13820
14923
|
let query = {};
|
|
@@ -13837,10 +14940,50 @@ class Client extends openapi_client_1.default {
|
|
|
13837
14940
|
});
|
|
13838
14941
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceDetailsResponse({}));
|
|
13839
14942
|
}
|
|
14943
|
+
/**
|
|
14944
|
+
* 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.
|
|
14945
|
+
* ### Limits
|
|
14946
|
+
* 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.
|
|
14947
|
+
*
|
|
14948
|
+
* @param request DescribeInstanceDetailsRequest
|
|
14949
|
+
* @return DescribeInstanceDetailsResponse
|
|
14950
|
+
*/
|
|
13840
14951
|
async describeInstanceDetails(request) {
|
|
13841
14952
|
let runtime = new $Util.RuntimeOptions({});
|
|
13842
14953
|
return await this.describeInstanceDetailsWithOptions(request, runtime);
|
|
13843
14954
|
}
|
|
14955
|
+
async describeInstanceExtWithOptions(request, runtime) {
|
|
14956
|
+
tea_util_1.default.validateModel(request);
|
|
14957
|
+
let query = {};
|
|
14958
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
14959
|
+
query["InstanceId"] = request.instanceId;
|
|
14960
|
+
}
|
|
14961
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
14962
|
+
query["PageNumber"] = request.pageNumber;
|
|
14963
|
+
}
|
|
14964
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
14965
|
+
query["PageSize"] = request.pageSize;
|
|
14966
|
+
}
|
|
14967
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14968
|
+
query: openapi_util_1.default.query(query),
|
|
14969
|
+
});
|
|
14970
|
+
let params = new $OpenApi.Params({
|
|
14971
|
+
action: "DescribeInstanceExt",
|
|
14972
|
+
version: "2020-01-01",
|
|
14973
|
+
protocol: "HTTPS",
|
|
14974
|
+
pathname: "/",
|
|
14975
|
+
method: "POST",
|
|
14976
|
+
authType: "AK",
|
|
14977
|
+
style: "RPC",
|
|
14978
|
+
reqBodyType: "formData",
|
|
14979
|
+
bodyType: "json",
|
|
14980
|
+
});
|
|
14981
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceExtResponse({}));
|
|
14982
|
+
}
|
|
14983
|
+
async describeInstanceExt(request) {
|
|
14984
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14985
|
+
return await this.describeInstanceExtWithOptions(request, runtime);
|
|
14986
|
+
}
|
|
13844
14987
|
async describeInstanceIdsWithOptions(request, runtime) {
|
|
13845
14988
|
tea_util_1.default.validateModel(request);
|
|
13846
14989
|
let query = {};
|
|
@@ -13873,6 +15016,15 @@ class Client extends openapi_client_1.default {
|
|
|
13873
15016
|
let runtime = new $Util.RuntimeOptions({});
|
|
13874
15017
|
return await this.describeInstanceIdsWithOptions(request, runtime);
|
|
13875
15018
|
}
|
|
15019
|
+
/**
|
|
15020
|
+
* 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.
|
|
15021
|
+
* ### Limits
|
|
15022
|
+
* 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.
|
|
15023
|
+
*
|
|
15024
|
+
* @param request DescribeInstanceSpecsRequest
|
|
15025
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15026
|
+
* @return DescribeInstanceSpecsResponse
|
|
15027
|
+
*/
|
|
13876
15028
|
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
13877
15029
|
tea_util_1.default.validateModel(request);
|
|
13878
15030
|
let query = {};
|
|
@@ -13895,6 +15047,14 @@ class Client extends openapi_client_1.default {
|
|
|
13895
15047
|
});
|
|
13896
15048
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
13897
15049
|
}
|
|
15050
|
+
/**
|
|
15051
|
+
* 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.
|
|
15052
|
+
* ### Limits
|
|
15053
|
+
* 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.
|
|
15054
|
+
*
|
|
15055
|
+
* @param request DescribeInstanceSpecsRequest
|
|
15056
|
+
* @return DescribeInstanceSpecsResponse
|
|
15057
|
+
*/
|
|
13898
15058
|
async describeInstanceSpecs(request) {
|
|
13899
15059
|
let runtime = new $Util.RuntimeOptions({});
|
|
13900
15060
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
@@ -13954,6 +15114,13 @@ class Client extends openapi_client_1.default {
|
|
|
13954
15114
|
let runtime = new $Util.RuntimeOptions({});
|
|
13955
15115
|
return await this.describeInstanceStatusWithOptions(request, runtime);
|
|
13956
15116
|
}
|
|
15117
|
+
/**
|
|
15118
|
+
* 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.
|
|
15119
|
+
*
|
|
15120
|
+
* @param request DescribeInstancesRequest
|
|
15121
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15122
|
+
* @return DescribeInstancesResponse
|
|
15123
|
+
*/
|
|
13957
15124
|
async describeInstancesWithOptions(request, runtime) {
|
|
13958
15125
|
tea_util_1.default.validateModel(request);
|
|
13959
15126
|
let query = {};
|
|
@@ -14009,6 +15176,12 @@ class Client extends openapi_client_1.default {
|
|
|
14009
15176
|
});
|
|
14010
15177
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
|
|
14011
15178
|
}
|
|
15179
|
+
/**
|
|
15180
|
+
* 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.
|
|
15181
|
+
*
|
|
15182
|
+
* @param request DescribeInstancesRequest
|
|
15183
|
+
* @return DescribeInstancesResponse
|
|
15184
|
+
*/
|
|
14012
15185
|
async describeInstances(request) {
|
|
14013
15186
|
let runtime = new $Util.RuntimeOptions({});
|
|
14014
15187
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
@@ -14187,6 +15360,14 @@ class Client extends openapi_client_1.default {
|
|
|
14187
15360
|
let runtime = new $Util.RuntimeOptions({});
|
|
14188
15361
|
return await this.describeNetworkRulesWithOptions(request, runtime);
|
|
14189
15362
|
}
|
|
15363
|
+
/**
|
|
15364
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
15365
|
+
* 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.
|
|
15366
|
+
*
|
|
15367
|
+
* @param request DescribeOpEntitiesRequest
|
|
15368
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15369
|
+
* @return DescribeOpEntitiesResponse
|
|
15370
|
+
*/
|
|
14190
15371
|
async describeOpEntitiesWithOptions(request, runtime) {
|
|
14191
15372
|
tea_util_1.default.validateModel(request);
|
|
14192
15373
|
let query = {};
|
|
@@ -14227,10 +15408,24 @@ class Client extends openapi_client_1.default {
|
|
|
14227
15408
|
});
|
|
14228
15409
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
14229
15410
|
}
|
|
15411
|
+
/**
|
|
15412
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
15413
|
+
* 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.
|
|
15414
|
+
*
|
|
15415
|
+
* @param request DescribeOpEntitiesRequest
|
|
15416
|
+
* @return DescribeOpEntitiesResponse
|
|
15417
|
+
*/
|
|
14230
15418
|
async describeOpEntities(request) {
|
|
14231
15419
|
let runtime = new $Util.RuntimeOptions({});
|
|
14232
15420
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
14233
15421
|
}
|
|
15422
|
+
/**
|
|
15423
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
15424
|
+
*
|
|
15425
|
+
* @param request DescribePortRequest
|
|
15426
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15427
|
+
* @return DescribePortResponse
|
|
15428
|
+
*/
|
|
14234
15429
|
async describePortWithOptions(request, runtime) {
|
|
14235
15430
|
tea_util_1.default.validateModel(request);
|
|
14236
15431
|
let query = {};
|
|
@@ -14265,10 +15460,25 @@ class Client extends openapi_client_1.default {
|
|
|
14265
15460
|
});
|
|
14266
15461
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePortResponse({}));
|
|
14267
15462
|
}
|
|
15463
|
+
/**
|
|
15464
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
15465
|
+
*
|
|
15466
|
+
* @param request DescribePortRequest
|
|
15467
|
+
* @return DescribePortResponse
|
|
15468
|
+
*/
|
|
14268
15469
|
async describePort(request) {
|
|
14269
15470
|
let runtime = new $Util.RuntimeOptions({});
|
|
14270
15471
|
return await this.describePortWithOptions(request, runtime);
|
|
14271
15472
|
}
|
|
15473
|
+
/**
|
|
15474
|
+
* 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.
|
|
15475
|
+
* ### Limits
|
|
15476
|
+
* 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.
|
|
15477
|
+
*
|
|
15478
|
+
* @param request DescribePortAttackMaxFlowRequest
|
|
15479
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15480
|
+
* @return DescribePortAttackMaxFlowResponse
|
|
15481
|
+
*/
|
|
14272
15482
|
async describePortAttackMaxFlowWithOptions(request, runtime) {
|
|
14273
15483
|
tea_util_1.default.validateModel(request);
|
|
14274
15484
|
let query = {};
|
|
@@ -14300,6 +15510,14 @@ class Client extends openapi_client_1.default {
|
|
|
14300
15510
|
});
|
|
14301
15511
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePortAttackMaxFlowResponse({}));
|
|
14302
15512
|
}
|
|
15513
|
+
/**
|
|
15514
|
+
* 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.
|
|
15515
|
+
* ### Limits
|
|
15516
|
+
* 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.
|
|
15517
|
+
*
|
|
15518
|
+
* @param request DescribePortAttackMaxFlowRequest
|
|
15519
|
+
* @return DescribePortAttackMaxFlowResponse
|
|
15520
|
+
*/
|
|
14303
15521
|
async describePortAttackMaxFlow(request) {
|
|
14304
15522
|
let runtime = new $Util.RuntimeOptions({});
|
|
14305
15523
|
return await this.describePortAttackMaxFlowWithOptions(request, runtime);
|
|
@@ -14517,6 +15735,16 @@ class Client extends openapi_client_1.default {
|
|
|
14517
15735
|
let runtime = new $Util.RuntimeOptions({});
|
|
14518
15736
|
return await this.describePortViewSourceCountriesWithOptions(request, runtime);
|
|
14519
15737
|
}
|
|
15738
|
+
/**
|
|
15739
|
+
* 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.
|
|
15740
|
+
* > 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.
|
|
15741
|
+
* ### Limits
|
|
15742
|
+
* 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.
|
|
15743
|
+
*
|
|
15744
|
+
* @param request DescribePortViewSourceIspsRequest
|
|
15745
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15746
|
+
* @return DescribePortViewSourceIspsResponse
|
|
15747
|
+
*/
|
|
14520
15748
|
async describePortViewSourceIspsWithOptions(request, runtime) {
|
|
14521
15749
|
tea_util_1.default.validateModel(request);
|
|
14522
15750
|
let query = {};
|
|
@@ -14548,6 +15776,15 @@ class Client extends openapi_client_1.default {
|
|
|
14548
15776
|
});
|
|
14549
15777
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePortViewSourceIspsResponse({}));
|
|
14550
15778
|
}
|
|
15779
|
+
/**
|
|
15780
|
+
* 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.
|
|
15781
|
+
* > 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.
|
|
15782
|
+
* ### Limits
|
|
15783
|
+
* 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.
|
|
15784
|
+
*
|
|
15785
|
+
* @param request DescribePortViewSourceIspsRequest
|
|
15786
|
+
* @return DescribePortViewSourceIspsResponse
|
|
15787
|
+
*/
|
|
14551
15788
|
async describePortViewSourceIsps(request) {
|
|
14552
15789
|
let runtime = new $Util.RuntimeOptions({});
|
|
14553
15790
|
return await this.describePortViewSourceIspsWithOptions(request, runtime);
|
|
@@ -14587,6 +15824,16 @@ class Client extends openapi_client_1.default {
|
|
|
14587
15824
|
let runtime = new $Util.RuntimeOptions({});
|
|
14588
15825
|
return await this.describePortViewSourceProvincesWithOptions(request, runtime);
|
|
14589
15826
|
}
|
|
15827
|
+
/**
|
|
15828
|
+
* You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
|
|
15829
|
+
* Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
|
|
15830
|
+
* ### Limits
|
|
15831
|
+
* 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.
|
|
15832
|
+
*
|
|
15833
|
+
* @param request DescribeSceneDefenseObjectsRequest
|
|
15834
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15835
|
+
* @return DescribeSceneDefenseObjectsResponse
|
|
15836
|
+
*/
|
|
14590
15837
|
async describeSceneDefenseObjectsWithOptions(request, runtime) {
|
|
14591
15838
|
tea_util_1.default.validateModel(request);
|
|
14592
15839
|
let query = {};
|
|
@@ -14612,10 +15859,28 @@ class Client extends openapi_client_1.default {
|
|
|
14612
15859
|
});
|
|
14613
15860
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSceneDefenseObjectsResponse({}));
|
|
14614
15861
|
}
|
|
15862
|
+
/**
|
|
15863
|
+
* You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
|
|
15864
|
+
* Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
|
|
15865
|
+
* ### Limits
|
|
15866
|
+
* 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.
|
|
15867
|
+
*
|
|
15868
|
+
* @param request DescribeSceneDefenseObjectsRequest
|
|
15869
|
+
* @return DescribeSceneDefenseObjectsResponse
|
|
15870
|
+
*/
|
|
14615
15871
|
async describeSceneDefenseObjects(request) {
|
|
14616
15872
|
let runtime = new $Util.RuntimeOptions({});
|
|
14617
15873
|
return await this.describeSceneDefenseObjectsWithOptions(request, runtime);
|
|
14618
15874
|
}
|
|
15875
|
+
/**
|
|
15876
|
+
* 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.
|
|
15877
|
+
* ### Limits
|
|
15878
|
+
* 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.
|
|
15879
|
+
*
|
|
15880
|
+
* @param request DescribeSceneDefensePoliciesRequest
|
|
15881
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15882
|
+
* @return DescribeSceneDefensePoliciesResponse
|
|
15883
|
+
*/
|
|
14619
15884
|
async describeSceneDefensePoliciesWithOptions(request, runtime) {
|
|
14620
15885
|
tea_util_1.default.validateModel(request);
|
|
14621
15886
|
let query = {};
|
|
@@ -14644,6 +15909,14 @@ class Client extends openapi_client_1.default {
|
|
|
14644
15909
|
});
|
|
14645
15910
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSceneDefensePoliciesResponse({}));
|
|
14646
15911
|
}
|
|
15912
|
+
/**
|
|
15913
|
+
* 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.
|
|
15914
|
+
* ### Limits
|
|
15915
|
+
* 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.
|
|
15916
|
+
*
|
|
15917
|
+
* @param request DescribeSceneDefensePoliciesRequest
|
|
15918
|
+
* @return DescribeSceneDefensePoliciesResponse
|
|
15919
|
+
*/
|
|
14647
15920
|
async describeSceneDefensePolicies(request) {
|
|
14648
15921
|
let runtime = new $Util.RuntimeOptions({});
|
|
14649
15922
|
return await this.describeSceneDefensePoliciesWithOptions(request, runtime);
|
|
@@ -14683,6 +15956,47 @@ class Client extends openapi_client_1.default {
|
|
|
14683
15956
|
let runtime = new $Util.RuntimeOptions({});
|
|
14684
15957
|
return await this.describeSchedulerRulesWithOptions(request, runtime);
|
|
14685
15958
|
}
|
|
15959
|
+
async describeSlaEventListWithOptions(request, runtime) {
|
|
15960
|
+
tea_util_1.default.validateModel(request);
|
|
15961
|
+
let query = {};
|
|
15962
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
15963
|
+
query["EndTime"] = request.endTime;
|
|
15964
|
+
}
|
|
15965
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
15966
|
+
query["Ip"] = request.ip;
|
|
15967
|
+
}
|
|
15968
|
+
if (!tea_util_1.default.isUnset(request.page)) {
|
|
15969
|
+
query["Page"] = request.page;
|
|
15970
|
+
}
|
|
15971
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
15972
|
+
query["PageSize"] = request.pageSize;
|
|
15973
|
+
}
|
|
15974
|
+
if (!tea_util_1.default.isUnset(request.region)) {
|
|
15975
|
+
query["Region"] = request.region;
|
|
15976
|
+
}
|
|
15977
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
15978
|
+
query["StartTime"] = request.startTime;
|
|
15979
|
+
}
|
|
15980
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15981
|
+
query: openapi_util_1.default.query(query),
|
|
15982
|
+
});
|
|
15983
|
+
let params = new $OpenApi.Params({
|
|
15984
|
+
action: "DescribeSlaEventList",
|
|
15985
|
+
version: "2020-01-01",
|
|
15986
|
+
protocol: "HTTPS",
|
|
15987
|
+
pathname: "/",
|
|
15988
|
+
method: "POST",
|
|
15989
|
+
authType: "AK",
|
|
15990
|
+
style: "RPC",
|
|
15991
|
+
reqBodyType: "formData",
|
|
15992
|
+
bodyType: "json",
|
|
15993
|
+
});
|
|
15994
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlaEventListResponse({}));
|
|
15995
|
+
}
|
|
15996
|
+
async describeSlaEventList(request) {
|
|
15997
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15998
|
+
return await this.describeSlaEventListWithOptions(request, runtime);
|
|
15999
|
+
}
|
|
14686
16000
|
async describeSlsAuthStatusWithOptions(request, runtime) {
|
|
14687
16001
|
tea_util_1.default.validateModel(request);
|
|
14688
16002
|
let query = {};
|
|
@@ -14761,6 +16075,15 @@ class Client extends openapi_client_1.default {
|
|
|
14761
16075
|
let runtime = new $Util.RuntimeOptions({});
|
|
14762
16076
|
return await this.describeSlsOpenStatusWithOptions(request, runtime);
|
|
14763
16077
|
}
|
|
16078
|
+
/**
|
|
16079
|
+
* 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.
|
|
16080
|
+
* ### Limits
|
|
16081
|
+
* 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.
|
|
16082
|
+
*
|
|
16083
|
+
* @param request DescribeStsGrantStatusRequest
|
|
16084
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16085
|
+
* @return DescribeStsGrantStatusResponse
|
|
16086
|
+
*/
|
|
14764
16087
|
async describeStsGrantStatusWithOptions(request, runtime) {
|
|
14765
16088
|
tea_util_1.default.validateModel(request);
|
|
14766
16089
|
let query = {};
|
|
@@ -14786,10 +16109,28 @@ class Client extends openapi_client_1.default {
|
|
|
14786
16109
|
});
|
|
14787
16110
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeStsGrantStatusResponse({}));
|
|
14788
16111
|
}
|
|
16112
|
+
/**
|
|
16113
|
+
* 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.
|
|
16114
|
+
* ### Limits
|
|
16115
|
+
* 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.
|
|
16116
|
+
*
|
|
16117
|
+
* @param request DescribeStsGrantStatusRequest
|
|
16118
|
+
* @return DescribeStsGrantStatusResponse
|
|
16119
|
+
*/
|
|
14789
16120
|
async describeStsGrantStatus(request) {
|
|
14790
16121
|
let runtime = new $Util.RuntimeOptions({});
|
|
14791
16122
|
return await this.describeStsGrantStatusWithOptions(request, runtime);
|
|
14792
16123
|
}
|
|
16124
|
+
/**
|
|
16125
|
+
* 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.
|
|
16126
|
+
* 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.
|
|
16127
|
+
* ### Limits
|
|
16128
|
+
* 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.
|
|
16129
|
+
*
|
|
16130
|
+
* @param request DescribeSystemLogRequest
|
|
16131
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16132
|
+
* @return DescribeSystemLogResponse
|
|
16133
|
+
*/
|
|
14793
16134
|
async describeSystemLogWithOptions(request, runtime) {
|
|
14794
16135
|
tea_util_1.default.validateModel(request);
|
|
14795
16136
|
let query = {};
|
|
@@ -14827,10 +16168,29 @@ class Client extends openapi_client_1.default {
|
|
|
14827
16168
|
});
|
|
14828
16169
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSystemLogResponse({}));
|
|
14829
16170
|
}
|
|
16171
|
+
/**
|
|
16172
|
+
* 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.
|
|
16173
|
+
* 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.
|
|
16174
|
+
* ### Limits
|
|
16175
|
+
* 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.
|
|
16176
|
+
*
|
|
16177
|
+
* @param request DescribeSystemLogRequest
|
|
16178
|
+
* @return DescribeSystemLogResponse
|
|
16179
|
+
*/
|
|
14830
16180
|
async describeSystemLog(request) {
|
|
14831
16181
|
let runtime = new $Util.RuntimeOptions({});
|
|
14832
16182
|
return await this.describeSystemLogWithOptions(request, runtime);
|
|
14833
16183
|
}
|
|
16184
|
+
/**
|
|
16185
|
+
* 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.
|
|
16186
|
+
* > The tag feature is suitable only for Anti-DDoS Pro.
|
|
16187
|
+
* ### Limits
|
|
16188
|
+
* 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.
|
|
16189
|
+
*
|
|
16190
|
+
* @param request DescribeTagKeysRequest
|
|
16191
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16192
|
+
* @return DescribeTagKeysResponse
|
|
16193
|
+
*/
|
|
14834
16194
|
async describeTagKeysWithOptions(request, runtime) {
|
|
14835
16195
|
tea_util_1.default.validateModel(request);
|
|
14836
16196
|
let query = {};
|
|
@@ -14865,10 +16225,29 @@ class Client extends openapi_client_1.default {
|
|
|
14865
16225
|
});
|
|
14866
16226
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTagKeysResponse({}));
|
|
14867
16227
|
}
|
|
16228
|
+
/**
|
|
16229
|
+
* 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.
|
|
16230
|
+
* > The tag feature is suitable only for Anti-DDoS Pro.
|
|
16231
|
+
* ### Limits
|
|
16232
|
+
* 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.
|
|
16233
|
+
*
|
|
16234
|
+
* @param request DescribeTagKeysRequest
|
|
16235
|
+
* @return DescribeTagKeysResponse
|
|
16236
|
+
*/
|
|
14868
16237
|
async describeTagKeys(request) {
|
|
14869
16238
|
let runtime = new $Util.RuntimeOptions({});
|
|
14870
16239
|
return await this.describeTagKeysWithOptions(request, runtime);
|
|
14871
16240
|
}
|
|
16241
|
+
/**
|
|
16242
|
+
* You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
|
|
16243
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
16244
|
+
* ### Limits
|
|
16245
|
+
* 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.
|
|
16246
|
+
*
|
|
16247
|
+
* @param request DescribeTagResourcesRequest
|
|
16248
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16249
|
+
* @return DescribeTagResourcesResponse
|
|
16250
|
+
*/
|
|
14872
16251
|
async describeTagResourcesWithOptions(request, runtime) {
|
|
14873
16252
|
tea_util_1.default.validateModel(request);
|
|
14874
16253
|
let query = {};
|
|
@@ -14906,10 +16285,54 @@ class Client extends openapi_client_1.default {
|
|
|
14906
16285
|
});
|
|
14907
16286
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTagResourcesResponse({}));
|
|
14908
16287
|
}
|
|
16288
|
+
/**
|
|
16289
|
+
* You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
|
|
16290
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
16291
|
+
* ### Limits
|
|
16292
|
+
* 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.
|
|
16293
|
+
*
|
|
16294
|
+
* @param request DescribeTagResourcesRequest
|
|
16295
|
+
* @return DescribeTagResourcesResponse
|
|
16296
|
+
*/
|
|
14909
16297
|
async describeTagResources(request) {
|
|
14910
16298
|
let runtime = new $Util.RuntimeOptions({});
|
|
14911
16299
|
return await this.describeTagResourcesWithOptions(request, runtime);
|
|
14912
16300
|
}
|
|
16301
|
+
async describeTotalAttackMaxFlowWithOptions(request, runtime) {
|
|
16302
|
+
tea_util_1.default.validateModel(request);
|
|
16303
|
+
let query = {};
|
|
16304
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16305
|
+
query["EndTime"] = request.endTime;
|
|
16306
|
+
}
|
|
16307
|
+
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
16308
|
+
query["InstanceIds"] = request.instanceIds;
|
|
16309
|
+
}
|
|
16310
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
16311
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
16312
|
+
}
|
|
16313
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
16314
|
+
query["StartTime"] = request.startTime;
|
|
16315
|
+
}
|
|
16316
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16317
|
+
query: openapi_util_1.default.query(query),
|
|
16318
|
+
});
|
|
16319
|
+
let params = new $OpenApi.Params({
|
|
16320
|
+
action: "DescribeTotalAttackMaxFlow",
|
|
16321
|
+
version: "2020-01-01",
|
|
16322
|
+
protocol: "HTTPS",
|
|
16323
|
+
pathname: "/",
|
|
16324
|
+
method: "POST",
|
|
16325
|
+
authType: "AK",
|
|
16326
|
+
style: "RPC",
|
|
16327
|
+
reqBodyType: "formData",
|
|
16328
|
+
bodyType: "json",
|
|
16329
|
+
});
|
|
16330
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTotalAttackMaxFlowResponse({}));
|
|
16331
|
+
}
|
|
16332
|
+
async describeTotalAttackMaxFlow(request) {
|
|
16333
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16334
|
+
return await this.describeTotalAttackMaxFlowWithOptions(request, runtime);
|
|
16335
|
+
}
|
|
14913
16336
|
async describeUdpReflectWithOptions(request, runtime) {
|
|
14914
16337
|
tea_util_1.default.validateModel(request);
|
|
14915
16338
|
let query = {};
|
|
@@ -14965,6 +16388,13 @@ class Client extends openapi_client_1.default {
|
|
|
14965
16388
|
let runtime = new $Util.RuntimeOptions({});
|
|
14966
16389
|
return await this.describeUnBlackholeCountWithOptions(request, runtime);
|
|
14967
16390
|
}
|
|
16391
|
+
/**
|
|
16392
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
16393
|
+
*
|
|
16394
|
+
* @param request DescribeUnBlockCountRequest
|
|
16395
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16396
|
+
* @return DescribeUnBlockCountResponse
|
|
16397
|
+
*/
|
|
14968
16398
|
async describeUnBlockCountWithOptions(request, runtime) {
|
|
14969
16399
|
tea_util_1.default.validateModel(request);
|
|
14970
16400
|
let query = {};
|
|
@@ -14987,10 +16417,25 @@ class Client extends openapi_client_1.default {
|
|
|
14987
16417
|
});
|
|
14988
16418
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUnBlockCountResponse({}));
|
|
14989
16419
|
}
|
|
16420
|
+
/**
|
|
16421
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
16422
|
+
*
|
|
16423
|
+
* @param request DescribeUnBlockCountRequest
|
|
16424
|
+
* @return DescribeUnBlockCountResponse
|
|
16425
|
+
*/
|
|
14990
16426
|
async describeUnBlockCount(request) {
|
|
14991
16427
|
let runtime = new $Util.RuntimeOptions({});
|
|
14992
16428
|
return await this.describeUnBlockCountWithOptions(request, runtime);
|
|
14993
16429
|
}
|
|
16430
|
+
/**
|
|
16431
|
+
* 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.
|
|
16432
|
+
* ### Limits
|
|
16433
|
+
* 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.
|
|
16434
|
+
*
|
|
16435
|
+
* @param request DescribeWebAccessLogDispatchStatusRequest
|
|
16436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16437
|
+
* @return DescribeWebAccessLogDispatchStatusResponse
|
|
16438
|
+
*/
|
|
14994
16439
|
async describeWebAccessLogDispatchStatusWithOptions(request, runtime) {
|
|
14995
16440
|
tea_util_1.default.validateModel(request);
|
|
14996
16441
|
let query = {};
|
|
@@ -15019,6 +16464,14 @@ class Client extends openapi_client_1.default {
|
|
|
15019
16464
|
});
|
|
15020
16465
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebAccessLogDispatchStatusResponse({}));
|
|
15021
16466
|
}
|
|
16467
|
+
/**
|
|
16468
|
+
* 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.
|
|
16469
|
+
* ### Limits
|
|
16470
|
+
* 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.
|
|
16471
|
+
*
|
|
16472
|
+
* @param request DescribeWebAccessLogDispatchStatusRequest
|
|
16473
|
+
* @return DescribeWebAccessLogDispatchStatusResponse
|
|
16474
|
+
*/
|
|
15022
16475
|
async describeWebAccessLogDispatchStatus(request) {
|
|
15023
16476
|
let runtime = new $Util.RuntimeOptions({});
|
|
15024
16477
|
return await this.describeWebAccessLogDispatchStatusWithOptions(request, runtime);
|
|
@@ -15168,6 +16621,15 @@ class Client extends openapi_client_1.default {
|
|
|
15168
16621
|
let runtime = new $Util.RuntimeOptions({});
|
|
15169
16622
|
return await this.describeWebCCRulesWithOptions(request, runtime);
|
|
15170
16623
|
}
|
|
16624
|
+
/**
|
|
16625
|
+
* You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
|
|
16626
|
+
* ### Limits
|
|
16627
|
+
* 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.
|
|
16628
|
+
*
|
|
16629
|
+
* @param request DescribeWebCacheConfigsRequest
|
|
16630
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16631
|
+
* @return DescribeWebCacheConfigsResponse
|
|
16632
|
+
*/
|
|
15171
16633
|
async describeWebCacheConfigsWithOptions(request, runtime) {
|
|
15172
16634
|
tea_util_1.default.validateModel(request);
|
|
15173
16635
|
let query = {};
|
|
@@ -15193,6 +16655,14 @@ class Client extends openapi_client_1.default {
|
|
|
15193
16655
|
});
|
|
15194
16656
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebCacheConfigsResponse({}));
|
|
15195
16657
|
}
|
|
16658
|
+
/**
|
|
16659
|
+
* You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
|
|
16660
|
+
* ### Limits
|
|
16661
|
+
* 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.
|
|
16662
|
+
*
|
|
16663
|
+
* @param request DescribeWebCacheConfigsRequest
|
|
16664
|
+
* @return DescribeWebCacheConfigsResponse
|
|
16665
|
+
*/
|
|
15196
16666
|
async describeWebCacheConfigs(request) {
|
|
15197
16667
|
let runtime = new $Util.RuntimeOptions({});
|
|
15198
16668
|
return await this.describeWebCacheConfigsWithOptions(request, runtime);
|
|
@@ -15690,6 +17160,48 @@ class Client extends openapi_client_1.default {
|
|
|
15690
17160
|
let runtime = new $Util.RuntimeOptions({});
|
|
15691
17161
|
return await this.enableWebCCRuleWithOptions(request, runtime);
|
|
15692
17162
|
}
|
|
17163
|
+
/**
|
|
17164
|
+
* 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.
|
|
17165
|
+
*
|
|
17166
|
+
* @param request ModifyBizBandWidthModeRequest
|
|
17167
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17168
|
+
* @return ModifyBizBandWidthModeResponse
|
|
17169
|
+
*/
|
|
17170
|
+
async modifyBizBandWidthModeWithOptions(request, runtime) {
|
|
17171
|
+
tea_util_1.default.validateModel(request);
|
|
17172
|
+
let query = {};
|
|
17173
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
17174
|
+
query["InstanceId"] = request.instanceId;
|
|
17175
|
+
}
|
|
17176
|
+
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
17177
|
+
query["Mode"] = request.mode;
|
|
17178
|
+
}
|
|
17179
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17180
|
+
query: openapi_util_1.default.query(query),
|
|
17181
|
+
});
|
|
17182
|
+
let params = new $OpenApi.Params({
|
|
17183
|
+
action: "ModifyBizBandWidthMode",
|
|
17184
|
+
version: "2020-01-01",
|
|
17185
|
+
protocol: "HTTPS",
|
|
17186
|
+
pathname: "/",
|
|
17187
|
+
method: "POST",
|
|
17188
|
+
authType: "AK",
|
|
17189
|
+
style: "RPC",
|
|
17190
|
+
reqBodyType: "formData",
|
|
17191
|
+
bodyType: "json",
|
|
17192
|
+
});
|
|
17193
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBizBandWidthModeResponse({}));
|
|
17194
|
+
}
|
|
17195
|
+
/**
|
|
17196
|
+
* 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.
|
|
17197
|
+
*
|
|
17198
|
+
* @param request ModifyBizBandWidthModeRequest
|
|
17199
|
+
* @return ModifyBizBandWidthModeResponse
|
|
17200
|
+
*/
|
|
17201
|
+
async modifyBizBandWidthMode(request) {
|
|
17202
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17203
|
+
return await this.modifyBizBandWidthModeWithOptions(request, runtime);
|
|
17204
|
+
}
|
|
15693
17205
|
async modifyBlackholeStatusWithOptions(request, runtime) {
|
|
15694
17206
|
tea_util_1.default.validateModel(request);
|
|
15695
17207
|
let query = {};
|
|
@@ -15719,6 +17231,13 @@ class Client extends openapi_client_1.default {
|
|
|
15719
17231
|
let runtime = new $Util.RuntimeOptions({});
|
|
15720
17232
|
return await this.modifyBlackholeStatusWithOptions(request, runtime);
|
|
15721
17233
|
}
|
|
17234
|
+
/**
|
|
17235
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17236
|
+
*
|
|
17237
|
+
* @param request ModifyBlockStatusRequest
|
|
17238
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17239
|
+
* @return ModifyBlockStatusResponse
|
|
17240
|
+
*/
|
|
15722
17241
|
async modifyBlockStatusWithOptions(request, runtime) {
|
|
15723
17242
|
tea_util_1.default.validateModel(request);
|
|
15724
17243
|
let query = {};
|
|
@@ -15750,10 +17269,23 @@ class Client extends openapi_client_1.default {
|
|
|
15750
17269
|
});
|
|
15751
17270
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBlockStatusResponse({}));
|
|
15752
17271
|
}
|
|
17272
|
+
/**
|
|
17273
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17274
|
+
*
|
|
17275
|
+
* @param request ModifyBlockStatusRequest
|
|
17276
|
+
* @return ModifyBlockStatusResponse
|
|
17277
|
+
*/
|
|
15753
17278
|
async modifyBlockStatus(request) {
|
|
15754
17279
|
let runtime = new $Util.RuntimeOptions({});
|
|
15755
17280
|
return await this.modifyBlockStatusWithOptions(request, runtime);
|
|
15756
17281
|
}
|
|
17282
|
+
/**
|
|
17283
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17284
|
+
*
|
|
17285
|
+
* @param request ModifyCnameReuseRequest
|
|
17286
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17287
|
+
* @return ModifyCnameReuseResponse
|
|
17288
|
+
*/
|
|
15757
17289
|
async modifyCnameReuseWithOptions(request, runtime) {
|
|
15758
17290
|
tea_util_1.default.validateModel(request);
|
|
15759
17291
|
let query = {};
|
|
@@ -15785,6 +17317,12 @@ class Client extends openapi_client_1.default {
|
|
|
15785
17317
|
});
|
|
15786
17318
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyCnameReuseResponse({}));
|
|
15787
17319
|
}
|
|
17320
|
+
/**
|
|
17321
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17322
|
+
*
|
|
17323
|
+
* @param request ModifyCnameReuseRequest
|
|
17324
|
+
* @return ModifyCnameReuseResponse
|
|
17325
|
+
*/
|
|
15788
17326
|
async modifyCnameReuse(request) {
|
|
15789
17327
|
let runtime = new $Util.RuntimeOptions({});
|
|
15790
17328
|
return await this.modifyCnameReuseWithOptions(request, runtime);
|
|
@@ -15830,6 +17368,13 @@ class Client extends openapi_client_1.default {
|
|
|
15830
17368
|
let runtime = new $Util.RuntimeOptions({});
|
|
15831
17369
|
return await this.modifyDomainResourceWithOptions(request, runtime);
|
|
15832
17370
|
}
|
|
17371
|
+
/**
|
|
17372
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17373
|
+
*
|
|
17374
|
+
* @param request ModifyElasticBandWidthRequest
|
|
17375
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17376
|
+
* @return ModifyElasticBandWidthResponse
|
|
17377
|
+
*/
|
|
15833
17378
|
async modifyElasticBandWidthWithOptions(request, runtime) {
|
|
15834
17379
|
tea_util_1.default.validateModel(request);
|
|
15835
17380
|
let query = {};
|
|
@@ -15855,10 +17400,61 @@ class Client extends openapi_client_1.default {
|
|
|
15855
17400
|
});
|
|
15856
17401
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticBandWidthResponse({}));
|
|
15857
17402
|
}
|
|
17403
|
+
/**
|
|
17404
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17405
|
+
*
|
|
17406
|
+
* @param request ModifyElasticBandWidthRequest
|
|
17407
|
+
* @return ModifyElasticBandWidthResponse
|
|
17408
|
+
*/
|
|
15858
17409
|
async modifyElasticBandWidth(request) {
|
|
15859
17410
|
let runtime = new $Util.RuntimeOptions({});
|
|
15860
17411
|
return await this.modifyElasticBandWidthWithOptions(request, runtime);
|
|
15861
17412
|
}
|
|
17413
|
+
/**
|
|
17414
|
+
* 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.
|
|
17415
|
+
*
|
|
17416
|
+
* @param request ModifyElasticBizBandWidthRequest
|
|
17417
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17418
|
+
* @return ModifyElasticBizBandWidthResponse
|
|
17419
|
+
*/
|
|
17420
|
+
async modifyElasticBizBandWidthWithOptions(request, runtime) {
|
|
17421
|
+
tea_util_1.default.validateModel(request);
|
|
17422
|
+
let query = {};
|
|
17423
|
+
if (!tea_util_1.default.isUnset(request.elasticBizBandwidth)) {
|
|
17424
|
+
query["ElasticBizBandwidth"] = request.elasticBizBandwidth;
|
|
17425
|
+
}
|
|
17426
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
17427
|
+
query["InstanceId"] = request.instanceId;
|
|
17428
|
+
}
|
|
17429
|
+
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
17430
|
+
query["Mode"] = request.mode;
|
|
17431
|
+
}
|
|
17432
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17433
|
+
query: openapi_util_1.default.query(query),
|
|
17434
|
+
});
|
|
17435
|
+
let params = new $OpenApi.Params({
|
|
17436
|
+
action: "ModifyElasticBizBandWidth",
|
|
17437
|
+
version: "2020-01-01",
|
|
17438
|
+
protocol: "HTTPS",
|
|
17439
|
+
pathname: "/",
|
|
17440
|
+
method: "POST",
|
|
17441
|
+
authType: "AK",
|
|
17442
|
+
style: "RPC",
|
|
17443
|
+
reqBodyType: "formData",
|
|
17444
|
+
bodyType: "json",
|
|
17445
|
+
});
|
|
17446
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticBizBandWidthResponse({}));
|
|
17447
|
+
}
|
|
17448
|
+
/**
|
|
17449
|
+
* 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.
|
|
17450
|
+
*
|
|
17451
|
+
* @param request ModifyElasticBizBandWidthRequest
|
|
17452
|
+
* @return ModifyElasticBizBandWidthResponse
|
|
17453
|
+
*/
|
|
17454
|
+
async modifyElasticBizBandWidth(request) {
|
|
17455
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17456
|
+
return await this.modifyElasticBizBandWidthWithOptions(request, runtime);
|
|
17457
|
+
}
|
|
15862
17458
|
async modifyFullLogTtlWithOptions(request, runtime) {
|
|
15863
17459
|
tea_util_1.default.validateModel(request);
|
|
15864
17460
|
let query = {};
|
|
@@ -15888,6 +17484,38 @@ class Client extends openapi_client_1.default {
|
|
|
15888
17484
|
let runtime = new $Util.RuntimeOptions({});
|
|
15889
17485
|
return await this.modifyFullLogTtlWithOptions(request, runtime);
|
|
15890
17486
|
}
|
|
17487
|
+
async modifyHeadersWithOptions(request, runtime) {
|
|
17488
|
+
tea_util_1.default.validateModel(request);
|
|
17489
|
+
let query = {};
|
|
17490
|
+
if (!tea_util_1.default.isUnset(request.customHeaders)) {
|
|
17491
|
+
query["CustomHeaders"] = request.customHeaders;
|
|
17492
|
+
}
|
|
17493
|
+
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
17494
|
+
query["Domain"] = request.domain;
|
|
17495
|
+
}
|
|
17496
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
17497
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
17498
|
+
}
|
|
17499
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17500
|
+
query: openapi_util_1.default.query(query),
|
|
17501
|
+
});
|
|
17502
|
+
let params = new $OpenApi.Params({
|
|
17503
|
+
action: "ModifyHeaders",
|
|
17504
|
+
version: "2020-01-01",
|
|
17505
|
+
protocol: "HTTPS",
|
|
17506
|
+
pathname: "/",
|
|
17507
|
+
method: "POST",
|
|
17508
|
+
authType: "AK",
|
|
17509
|
+
style: "RPC",
|
|
17510
|
+
reqBodyType: "formData",
|
|
17511
|
+
bodyType: "json",
|
|
17512
|
+
});
|
|
17513
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHeadersResponse({}));
|
|
17514
|
+
}
|
|
17515
|
+
async modifyHeaders(request) {
|
|
17516
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17517
|
+
return await this.modifyHeadersWithOptions(request, runtime);
|
|
17518
|
+
}
|
|
15891
17519
|
async modifyHealthCheckConfigWithOptions(request, runtime) {
|
|
15892
17520
|
tea_util_1.default.validateModel(request);
|
|
15893
17521
|
let query = {};
|
|
@@ -15923,6 +17551,13 @@ class Client extends openapi_client_1.default {
|
|
|
15923
17551
|
let runtime = new $Util.RuntimeOptions({});
|
|
15924
17552
|
return await this.modifyHealthCheckConfigWithOptions(request, runtime);
|
|
15925
17553
|
}
|
|
17554
|
+
/**
|
|
17555
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17556
|
+
*
|
|
17557
|
+
* @param request ModifyHttp2EnableRequest
|
|
17558
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17559
|
+
* @return ModifyHttp2EnableResponse
|
|
17560
|
+
*/
|
|
15926
17561
|
async modifyHttp2EnableWithOptions(request, runtime) {
|
|
15927
17562
|
tea_util_1.default.validateModel(request);
|
|
15928
17563
|
let query = {};
|
|
@@ -15951,6 +17586,12 @@ class Client extends openapi_client_1.default {
|
|
|
15951
17586
|
});
|
|
15952
17587
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHttp2EnableResponse({}));
|
|
15953
17588
|
}
|
|
17589
|
+
/**
|
|
17590
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17591
|
+
*
|
|
17592
|
+
* @param request ModifyHttp2EnableRequest
|
|
17593
|
+
* @return ModifyHttp2EnableResponse
|
|
17594
|
+
*/
|
|
15954
17595
|
async modifyHttp2Enable(request) {
|
|
15955
17596
|
let runtime = new $Util.RuntimeOptions({});
|
|
15956
17597
|
return await this.modifyHttp2EnableWithOptions(request, runtime);
|
|
@@ -16019,6 +17660,55 @@ class Client extends openapi_client_1.default {
|
|
|
16019
17660
|
let runtime = new $Util.RuntimeOptions({});
|
|
16020
17661
|
return await this.modifyNetworkRuleAttributeWithOptions(request, runtime);
|
|
16021
17662
|
}
|
|
17663
|
+
/**
|
|
17664
|
+
* This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
|
|
17665
|
+
*
|
|
17666
|
+
* @param request ModifyOcspStatusRequest
|
|
17667
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17668
|
+
* @return ModifyOcspStatusResponse
|
|
17669
|
+
*/
|
|
17670
|
+
async modifyOcspStatusWithOptions(request, runtime) {
|
|
17671
|
+
tea_util_1.default.validateModel(request);
|
|
17672
|
+
let query = {};
|
|
17673
|
+
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
17674
|
+
query["Domain"] = request.domain;
|
|
17675
|
+
}
|
|
17676
|
+
if (!tea_util_1.default.isUnset(request.enable)) {
|
|
17677
|
+
query["Enable"] = request.enable;
|
|
17678
|
+
}
|
|
17679
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17680
|
+
query: openapi_util_1.default.query(query),
|
|
17681
|
+
});
|
|
17682
|
+
let params = new $OpenApi.Params({
|
|
17683
|
+
action: "ModifyOcspStatus",
|
|
17684
|
+
version: "2020-01-01",
|
|
17685
|
+
protocol: "HTTPS",
|
|
17686
|
+
pathname: "/",
|
|
17687
|
+
method: "POST",
|
|
17688
|
+
authType: "AK",
|
|
17689
|
+
style: "RPC",
|
|
17690
|
+
reqBodyType: "formData",
|
|
17691
|
+
bodyType: "json",
|
|
17692
|
+
});
|
|
17693
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyOcspStatusResponse({}));
|
|
17694
|
+
}
|
|
17695
|
+
/**
|
|
17696
|
+
* This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
|
|
17697
|
+
*
|
|
17698
|
+
* @param request ModifyOcspStatusRequest
|
|
17699
|
+
* @return ModifyOcspStatusResponse
|
|
17700
|
+
*/
|
|
17701
|
+
async modifyOcspStatus(request) {
|
|
17702
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17703
|
+
return await this.modifyOcspStatusWithOptions(request, runtime);
|
|
17704
|
+
}
|
|
17705
|
+
/**
|
|
17706
|
+
* You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
17707
|
+
*
|
|
17708
|
+
* @param request ModifyPortRequest
|
|
17709
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17710
|
+
* @return ModifyPortResponse
|
|
17711
|
+
*/
|
|
16022
17712
|
async modifyPortWithOptions(request, runtime) {
|
|
16023
17713
|
tea_util_1.default.validateModel(request);
|
|
16024
17714
|
let query = {};
|
|
@@ -16053,6 +17743,12 @@ class Client extends openapi_client_1.default {
|
|
|
16053
17743
|
});
|
|
16054
17744
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPortResponse({}));
|
|
16055
17745
|
}
|
|
17746
|
+
/**
|
|
17747
|
+
* You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
17748
|
+
*
|
|
17749
|
+
* @param request ModifyPortRequest
|
|
17750
|
+
* @return ModifyPortResponse
|
|
17751
|
+
*/
|
|
16056
17752
|
async modifyPort(request) {
|
|
16057
17753
|
let runtime = new $Util.RuntimeOptions({});
|
|
16058
17754
|
return await this.modifyPortWithOptions(request, runtime);
|
|
@@ -16322,6 +18018,15 @@ class Client extends openapi_client_1.default {
|
|
|
16322
18018
|
let runtime = new $Util.RuntimeOptions({});
|
|
16323
18019
|
return await this.modifyWebAreaBlockWithOptions(request, runtime);
|
|
16324
18020
|
}
|
|
18021
|
+
/**
|
|
18022
|
+
* You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
|
18023
|
+
* ### Limits
|
|
18024
|
+
* 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.
|
|
18025
|
+
*
|
|
18026
|
+
* @param request ModifyWebAreaBlockSwitchRequest
|
|
18027
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18028
|
+
* @return ModifyWebAreaBlockSwitchResponse
|
|
18029
|
+
*/
|
|
16325
18030
|
async modifyWebAreaBlockSwitchWithOptions(request, runtime) {
|
|
16326
18031
|
tea_util_1.default.validateModel(request);
|
|
16327
18032
|
let query = {};
|
|
@@ -16350,6 +18055,14 @@ class Client extends openapi_client_1.default {
|
|
|
16350
18055
|
});
|
|
16351
18056
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyWebAreaBlockSwitchResponse({}));
|
|
16352
18057
|
}
|
|
18058
|
+
/**
|
|
18059
|
+
* You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
|
18060
|
+
* ### Limits
|
|
18061
|
+
* 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.
|
|
18062
|
+
*
|
|
18063
|
+
* @param request ModifyWebAreaBlockSwitchRequest
|
|
18064
|
+
* @return ModifyWebAreaBlockSwitchResponse
|
|
18065
|
+
*/
|
|
16353
18066
|
async modifyWebAreaBlockSwitch(request) {
|
|
16354
18067
|
let runtime = new $Util.RuntimeOptions({});
|
|
16355
18068
|
return await this.modifyWebAreaBlockSwitchWithOptions(request, runtime);
|
|
@@ -16468,6 +18181,15 @@ class Client extends openapi_client_1.default {
|
|
|
16468
18181
|
let runtime = new $Util.RuntimeOptions({});
|
|
16469
18182
|
return await this.modifyWebCacheModeWithOptions(request, runtime);
|
|
16470
18183
|
}
|
|
18184
|
+
/**
|
|
18185
|
+
* You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
|
|
18186
|
+
* ### Limits
|
|
18187
|
+
* 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.
|
|
18188
|
+
*
|
|
18189
|
+
* @param request ModifyWebCacheSwitchRequest
|
|
18190
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18191
|
+
* @return ModifyWebCacheSwitchResponse
|
|
18192
|
+
*/
|
|
16471
18193
|
async modifyWebCacheSwitchWithOptions(request, runtime) {
|
|
16472
18194
|
tea_util_1.default.validateModel(request);
|
|
16473
18195
|
let query = {};
|
|
@@ -16496,6 +18218,14 @@ class Client extends openapi_client_1.default {
|
|
|
16496
18218
|
});
|
|
16497
18219
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyWebCacheSwitchResponse({}));
|
|
16498
18220
|
}
|
|
18221
|
+
/**
|
|
18222
|
+
* You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
|
|
18223
|
+
* ### Limits
|
|
18224
|
+
* 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.
|
|
18225
|
+
*
|
|
18226
|
+
* @param request ModifyWebCacheSwitchRequest
|
|
18227
|
+
* @return ModifyWebCacheSwitchResponse
|
|
18228
|
+
*/
|
|
16499
18229
|
async modifyWebCacheSwitch(request) {
|
|
16500
18230
|
let runtime = new $Util.RuntimeOptions({});
|
|
16501
18231
|
return await this.modifyWebCacheSwitchWithOptions(request, runtime);
|
|
@@ -16643,6 +18373,13 @@ class Client extends openapi_client_1.default {
|
|
|
16643
18373
|
let runtime = new $Util.RuntimeOptions({});
|
|
16644
18374
|
return await this.modifyWebRuleWithOptions(request, runtime);
|
|
16645
18375
|
}
|
|
18376
|
+
/**
|
|
18377
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
18378
|
+
*
|
|
18379
|
+
* @param request ReleaseInstanceRequest
|
|
18380
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18381
|
+
* @return ReleaseInstanceResponse
|
|
18382
|
+
*/
|
|
16646
18383
|
async releaseInstanceWithOptions(request, runtime) {
|
|
16647
18384
|
tea_util_1.default.validateModel(request);
|
|
16648
18385
|
let query = {};
|
|
@@ -16665,10 +18402,26 @@ class Client extends openapi_client_1.default {
|
|
|
16665
18402
|
});
|
|
16666
18403
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseInstanceResponse({}));
|
|
16667
18404
|
}
|
|
18405
|
+
/**
|
|
18406
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
18407
|
+
*
|
|
18408
|
+
* @param request ReleaseInstanceRequest
|
|
18409
|
+
* @return ReleaseInstanceResponse
|
|
18410
|
+
*/
|
|
16668
18411
|
async releaseInstance(request) {
|
|
16669
18412
|
let runtime = new $Util.RuntimeOptions({});
|
|
16670
18413
|
return await this.releaseInstanceWithOptions(request, runtime);
|
|
16671
18414
|
}
|
|
18415
|
+
/**
|
|
18416
|
+
* 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.
|
|
18417
|
+
* Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
|
|
18418
|
+
* ### Limits
|
|
18419
|
+
* 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.
|
|
18420
|
+
*
|
|
18421
|
+
* @param request SwitchSchedulerRuleRequest
|
|
18422
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18423
|
+
* @return SwitchSchedulerRuleResponse
|
|
18424
|
+
*/
|
|
16672
18425
|
async switchSchedulerRuleWithOptions(request, runtime) {
|
|
16673
18426
|
tea_util_1.default.validateModel(request);
|
|
16674
18427
|
let query = {};
|
|
@@ -16697,6 +18450,15 @@ class Client extends openapi_client_1.default {
|
|
|
16697
18450
|
});
|
|
16698
18451
|
return $tea.cast(await this.callApi(params, req, runtime), new SwitchSchedulerRuleResponse({}));
|
|
16699
18452
|
}
|
|
18453
|
+
/**
|
|
18454
|
+
* 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.
|
|
18455
|
+
* Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
|
|
18456
|
+
* ### Limits
|
|
18457
|
+
* 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.
|
|
18458
|
+
*
|
|
18459
|
+
* @param request SwitchSchedulerRuleRequest
|
|
18460
|
+
* @return SwitchSchedulerRuleResponse
|
|
18461
|
+
*/
|
|
16700
18462
|
async switchSchedulerRule(request) {
|
|
16701
18463
|
let runtime = new $Util.RuntimeOptions({});
|
|
16702
18464
|
return await this.switchSchedulerRuleWithOptions(request, runtime);
|