@alicloud/ddoscoo20200101 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1406 -15
- package/dist/client.js +2060 -50
- package/dist/client.js.map +1 -1
- package/package.json +5 -5
- package/src/client.ts +2354 -53
package/src/client.ts
CHANGED
|
@@ -149,7 +149,9 @@ export class AddAutoCcWhitelistResponse extends $tea.Model {
|
|
|
149
149
|
export class AssociateWebCertRequest extends $tea.Model {
|
|
150
150
|
cert?: string;
|
|
151
151
|
certId?: number;
|
|
152
|
+
certIdentifier?: string;
|
|
152
153
|
certName?: string;
|
|
154
|
+
certRegion?: string;
|
|
153
155
|
domain?: string;
|
|
154
156
|
key?: string;
|
|
155
157
|
resourceGroupId?: string;
|
|
@@ -157,7 +159,9 @@ export class AssociateWebCertRequest extends $tea.Model {
|
|
|
157
159
|
return {
|
|
158
160
|
cert: 'Cert',
|
|
159
161
|
certId: 'CertId',
|
|
162
|
+
certIdentifier: 'CertIdentifier',
|
|
160
163
|
certName: 'CertName',
|
|
164
|
+
certRegion: 'CertRegion',
|
|
161
165
|
domain: 'Domain',
|
|
162
166
|
key: 'Key',
|
|
163
167
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -168,7 +172,9 @@ export class AssociateWebCertRequest extends $tea.Model {
|
|
|
168
172
|
return {
|
|
169
173
|
cert: 'string',
|
|
170
174
|
certId: 'number',
|
|
175
|
+
certIdentifier: 'string',
|
|
171
176
|
certName: 'string',
|
|
177
|
+
certRegion: 'string',
|
|
172
178
|
domain: 'string',
|
|
173
179
|
key: 'string',
|
|
174
180
|
resourceGroupId: 'string',
|
|
@@ -365,6 +371,72 @@ export class ConfigL7RsPolicyResponse extends $tea.Model {
|
|
|
365
371
|
}
|
|
366
372
|
}
|
|
367
373
|
|
|
374
|
+
export class ConfigLayer4RealLimitRequest extends $tea.Model {
|
|
375
|
+
instanceId?: string;
|
|
376
|
+
limitValue?: number;
|
|
377
|
+
static names(): { [key: string]: string } {
|
|
378
|
+
return {
|
|
379
|
+
instanceId: 'InstanceId',
|
|
380
|
+
limitValue: 'LimitValue',
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
static types(): { [key: string]: any } {
|
|
385
|
+
return {
|
|
386
|
+
instanceId: 'string',
|
|
387
|
+
limitValue: 'number',
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
constructor(map?: { [key: string]: any }) {
|
|
392
|
+
super(map);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export class ConfigLayer4RealLimitResponseBody extends $tea.Model {
|
|
397
|
+
requestId?: string;
|
|
398
|
+
static names(): { [key: string]: string } {
|
|
399
|
+
return {
|
|
400
|
+
requestId: 'RequestId',
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
static types(): { [key: string]: any } {
|
|
405
|
+
return {
|
|
406
|
+
requestId: 'string',
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
constructor(map?: { [key: string]: any }) {
|
|
411
|
+
super(map);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export class ConfigLayer4RealLimitResponse extends $tea.Model {
|
|
416
|
+
headers: { [key: string]: string };
|
|
417
|
+
statusCode: number;
|
|
418
|
+
body: ConfigLayer4RealLimitResponseBody;
|
|
419
|
+
static names(): { [key: string]: string } {
|
|
420
|
+
return {
|
|
421
|
+
headers: 'headers',
|
|
422
|
+
statusCode: 'statusCode',
|
|
423
|
+
body: 'body',
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
static types(): { [key: string]: any } {
|
|
428
|
+
return {
|
|
429
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
430
|
+
statusCode: 'number',
|
|
431
|
+
body: ConfigLayer4RealLimitResponseBody,
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
constructor(map?: { [key: string]: any }) {
|
|
436
|
+
super(map);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
368
440
|
export class ConfigLayer4RemarkRequest extends $tea.Model {
|
|
369
441
|
listeners?: string;
|
|
370
442
|
static names(): { [key: string]: string } {
|
|
@@ -2835,10 +2907,12 @@ export class DescribeAutoCcWhitelistResponse extends $tea.Model {
|
|
|
2835
2907
|
}
|
|
2836
2908
|
|
|
2837
2909
|
export class DescribeBackSourceCidrRequest extends $tea.Model {
|
|
2910
|
+
ipVersion?: string;
|
|
2838
2911
|
line?: string;
|
|
2839
2912
|
resourceGroupId?: string;
|
|
2840
2913
|
static names(): { [key: string]: string } {
|
|
2841
2914
|
return {
|
|
2915
|
+
ipVersion: 'IpVersion',
|
|
2842
2916
|
line: 'Line',
|
|
2843
2917
|
resourceGroupId: 'ResourceGroupId',
|
|
2844
2918
|
};
|
|
@@ -2846,6 +2920,7 @@ export class DescribeBackSourceCidrRequest extends $tea.Model {
|
|
|
2846
2920
|
|
|
2847
2921
|
static types(): { [key: string]: any } {
|
|
2848
2922
|
return {
|
|
2923
|
+
ipVersion: 'string',
|
|
2849
2924
|
line: 'string',
|
|
2850
2925
|
resourceGroupId: 'string',
|
|
2851
2926
|
};
|
|
@@ -4283,6 +4358,72 @@ export class DescribeDomainResourceResponse extends $tea.Model {
|
|
|
4283
4358
|
}
|
|
4284
4359
|
}
|
|
4285
4360
|
|
|
4361
|
+
export class DescribeDomainSecurityProfileRequest extends $tea.Model {
|
|
4362
|
+
domain?: string;
|
|
4363
|
+
static names(): { [key: string]: string } {
|
|
4364
|
+
return {
|
|
4365
|
+
domain: 'Domain',
|
|
4366
|
+
};
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
static types(): { [key: string]: any } {
|
|
4370
|
+
return {
|
|
4371
|
+
domain: 'string',
|
|
4372
|
+
};
|
|
4373
|
+
}
|
|
4374
|
+
|
|
4375
|
+
constructor(map?: { [key: string]: any }) {
|
|
4376
|
+
super(map);
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4380
|
+
export class DescribeDomainSecurityProfileResponseBody extends $tea.Model {
|
|
4381
|
+
requestId?: string;
|
|
4382
|
+
result?: DescribeDomainSecurityProfileResponseBodyResult[];
|
|
4383
|
+
static names(): { [key: string]: string } {
|
|
4384
|
+
return {
|
|
4385
|
+
requestId: 'RequestId',
|
|
4386
|
+
result: 'Result',
|
|
4387
|
+
};
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4390
|
+
static types(): { [key: string]: any } {
|
|
4391
|
+
return {
|
|
4392
|
+
requestId: 'string',
|
|
4393
|
+
result: { 'type': 'array', 'itemType': DescribeDomainSecurityProfileResponseBodyResult },
|
|
4394
|
+
};
|
|
4395
|
+
}
|
|
4396
|
+
|
|
4397
|
+
constructor(map?: { [key: string]: any }) {
|
|
4398
|
+
super(map);
|
|
4399
|
+
}
|
|
4400
|
+
}
|
|
4401
|
+
|
|
4402
|
+
export class DescribeDomainSecurityProfileResponse extends $tea.Model {
|
|
4403
|
+
headers: { [key: string]: string };
|
|
4404
|
+
statusCode: number;
|
|
4405
|
+
body: DescribeDomainSecurityProfileResponseBody;
|
|
4406
|
+
static names(): { [key: string]: string } {
|
|
4407
|
+
return {
|
|
4408
|
+
headers: 'headers',
|
|
4409
|
+
statusCode: 'statusCode',
|
|
4410
|
+
body: 'body',
|
|
4411
|
+
};
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
static types(): { [key: string]: any } {
|
|
4415
|
+
return {
|
|
4416
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4417
|
+
statusCode: 'number',
|
|
4418
|
+
body: DescribeDomainSecurityProfileResponseBody,
|
|
4419
|
+
};
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
constructor(map?: { [key: string]: any }) {
|
|
4423
|
+
super(map);
|
|
4424
|
+
}
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4286
4427
|
export class DescribeDomainStatusCodeCountRequest extends $tea.Model {
|
|
4287
4428
|
domain?: string;
|
|
4288
4429
|
endTime?: number;
|
|
@@ -4985,6 +5126,75 @@ export class DescribeElasticBandwidthSpecResponse extends $tea.Model {
|
|
|
4985
5126
|
}
|
|
4986
5127
|
}
|
|
4987
5128
|
|
|
5129
|
+
export class DescribeHeadersRequest extends $tea.Model {
|
|
5130
|
+
domain?: string;
|
|
5131
|
+
resourceGroupId?: string;
|
|
5132
|
+
static names(): { [key: string]: string } {
|
|
5133
|
+
return {
|
|
5134
|
+
domain: 'Domain',
|
|
5135
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5136
|
+
};
|
|
5137
|
+
}
|
|
5138
|
+
|
|
5139
|
+
static types(): { [key: string]: any } {
|
|
5140
|
+
return {
|
|
5141
|
+
domain: 'string',
|
|
5142
|
+
resourceGroupId: 'string',
|
|
5143
|
+
};
|
|
5144
|
+
}
|
|
5145
|
+
|
|
5146
|
+
constructor(map?: { [key: string]: any }) {
|
|
5147
|
+
super(map);
|
|
5148
|
+
}
|
|
5149
|
+
}
|
|
5150
|
+
|
|
5151
|
+
export class DescribeHeadersResponseBody extends $tea.Model {
|
|
5152
|
+
customHeader?: DescribeHeadersResponseBodyCustomHeader;
|
|
5153
|
+
requestId?: string;
|
|
5154
|
+
static names(): { [key: string]: string } {
|
|
5155
|
+
return {
|
|
5156
|
+
customHeader: 'CustomHeader',
|
|
5157
|
+
requestId: 'RequestId',
|
|
5158
|
+
};
|
|
5159
|
+
}
|
|
5160
|
+
|
|
5161
|
+
static types(): { [key: string]: any } {
|
|
5162
|
+
return {
|
|
5163
|
+
customHeader: DescribeHeadersResponseBodyCustomHeader,
|
|
5164
|
+
requestId: 'string',
|
|
5165
|
+
};
|
|
5166
|
+
}
|
|
5167
|
+
|
|
5168
|
+
constructor(map?: { [key: string]: any }) {
|
|
5169
|
+
super(map);
|
|
5170
|
+
}
|
|
5171
|
+
}
|
|
5172
|
+
|
|
5173
|
+
export class DescribeHeadersResponse extends $tea.Model {
|
|
5174
|
+
headers: { [key: string]: string };
|
|
5175
|
+
statusCode: number;
|
|
5176
|
+
body: DescribeHeadersResponseBody;
|
|
5177
|
+
static names(): { [key: string]: string } {
|
|
5178
|
+
return {
|
|
5179
|
+
headers: 'headers',
|
|
5180
|
+
statusCode: 'statusCode',
|
|
5181
|
+
body: 'body',
|
|
5182
|
+
};
|
|
5183
|
+
}
|
|
5184
|
+
|
|
5185
|
+
static types(): { [key: string]: any } {
|
|
5186
|
+
return {
|
|
5187
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5188
|
+
statusCode: 'number',
|
|
5189
|
+
body: DescribeHeadersResponseBody,
|
|
5190
|
+
};
|
|
5191
|
+
}
|
|
5192
|
+
|
|
5193
|
+
constructor(map?: { [key: string]: any }) {
|
|
5194
|
+
super(map);
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
|
|
4988
5198
|
export class DescribeHealthCheckListRequest extends $tea.Model {
|
|
4989
5199
|
networkRules?: string;
|
|
4990
5200
|
static names(): { [key: string]: string } {
|
|
@@ -5183,6 +5393,81 @@ export class DescribeInstanceDetailsResponse extends $tea.Model {
|
|
|
5183
5393
|
}
|
|
5184
5394
|
}
|
|
5185
5395
|
|
|
5396
|
+
export class DescribeInstanceExtRequest extends $tea.Model {
|
|
5397
|
+
instanceId?: string;
|
|
5398
|
+
pageNumber?: string;
|
|
5399
|
+
pageSize?: string;
|
|
5400
|
+
static names(): { [key: string]: string } {
|
|
5401
|
+
return {
|
|
5402
|
+
instanceId: 'InstanceId',
|
|
5403
|
+
pageNumber: 'PageNumber',
|
|
5404
|
+
pageSize: 'PageSize',
|
|
5405
|
+
};
|
|
5406
|
+
}
|
|
5407
|
+
|
|
5408
|
+
static types(): { [key: string]: any } {
|
|
5409
|
+
return {
|
|
5410
|
+
instanceId: 'string',
|
|
5411
|
+
pageNumber: 'string',
|
|
5412
|
+
pageSize: 'string',
|
|
5413
|
+
};
|
|
5414
|
+
}
|
|
5415
|
+
|
|
5416
|
+
constructor(map?: { [key: string]: any }) {
|
|
5417
|
+
super(map);
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
|
|
5421
|
+
export class DescribeInstanceExtResponseBody extends $tea.Model {
|
|
5422
|
+
instanceExtSpecs?: DescribeInstanceExtResponseBodyInstanceExtSpecs[];
|
|
5423
|
+
requestId?: string;
|
|
5424
|
+
totalCount?: number;
|
|
5425
|
+
static names(): { [key: string]: string } {
|
|
5426
|
+
return {
|
|
5427
|
+
instanceExtSpecs: 'InstanceExtSpecs',
|
|
5428
|
+
requestId: 'RequestId',
|
|
5429
|
+
totalCount: 'TotalCount',
|
|
5430
|
+
};
|
|
5431
|
+
}
|
|
5432
|
+
|
|
5433
|
+
static types(): { [key: string]: any } {
|
|
5434
|
+
return {
|
|
5435
|
+
instanceExtSpecs: { 'type': 'array', 'itemType': DescribeInstanceExtResponseBodyInstanceExtSpecs },
|
|
5436
|
+
requestId: 'string',
|
|
5437
|
+
totalCount: 'number',
|
|
5438
|
+
};
|
|
5439
|
+
}
|
|
5440
|
+
|
|
5441
|
+
constructor(map?: { [key: string]: any }) {
|
|
5442
|
+
super(map);
|
|
5443
|
+
}
|
|
5444
|
+
}
|
|
5445
|
+
|
|
5446
|
+
export class DescribeInstanceExtResponse extends $tea.Model {
|
|
5447
|
+
headers: { [key: string]: string };
|
|
5448
|
+
statusCode: number;
|
|
5449
|
+
body: DescribeInstanceExtResponseBody;
|
|
5450
|
+
static names(): { [key: string]: string } {
|
|
5451
|
+
return {
|
|
5452
|
+
headers: 'headers',
|
|
5453
|
+
statusCode: 'statusCode',
|
|
5454
|
+
body: 'body',
|
|
5455
|
+
};
|
|
5456
|
+
}
|
|
5457
|
+
|
|
5458
|
+
static types(): { [key: string]: any } {
|
|
5459
|
+
return {
|
|
5460
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5461
|
+
statusCode: 'number',
|
|
5462
|
+
body: DescribeInstanceExtResponseBody,
|
|
5463
|
+
};
|
|
5464
|
+
}
|
|
5465
|
+
|
|
5466
|
+
constructor(map?: { [key: string]: any }) {
|
|
5467
|
+
super(map);
|
|
5468
|
+
}
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5186
5471
|
export class DescribeInstanceIdsRequest extends $tea.Model {
|
|
5187
5472
|
edition?: number;
|
|
5188
5473
|
instanceIds?: string[];
|
|
@@ -6314,16 +6599,91 @@ export class DescribePortAutoCcStatusResponse extends $tea.Model {
|
|
|
6314
6599
|
}
|
|
6315
6600
|
}
|
|
6316
6601
|
|
|
6317
|
-
export class
|
|
6318
|
-
|
|
6319
|
-
|
|
6602
|
+
export class DescribePortCcAttackTopIPRequest extends $tea.Model {
|
|
6603
|
+
ip?: string;
|
|
6604
|
+
limit?: number;
|
|
6320
6605
|
port?: string;
|
|
6321
|
-
|
|
6322
|
-
startTime?: number;
|
|
6606
|
+
startTimestamp?: number;
|
|
6323
6607
|
static names(): { [key: string]: string } {
|
|
6324
6608
|
return {
|
|
6325
|
-
|
|
6326
|
-
|
|
6609
|
+
ip: 'Ip',
|
|
6610
|
+
limit: 'Limit',
|
|
6611
|
+
port: 'Port',
|
|
6612
|
+
startTimestamp: 'StartTimestamp',
|
|
6613
|
+
};
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
static types(): { [key: string]: any } {
|
|
6617
|
+
return {
|
|
6618
|
+
ip: 'string',
|
|
6619
|
+
limit: 'number',
|
|
6620
|
+
port: 'string',
|
|
6621
|
+
startTimestamp: 'number',
|
|
6622
|
+
};
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6625
|
+
constructor(map?: { [key: string]: any }) {
|
|
6626
|
+
super(map);
|
|
6627
|
+
}
|
|
6628
|
+
}
|
|
6629
|
+
|
|
6630
|
+
export class DescribePortCcAttackTopIPResponseBody extends $tea.Model {
|
|
6631
|
+
requestId?: string;
|
|
6632
|
+
topIp?: DescribePortCcAttackTopIPResponseBodyTopIp[];
|
|
6633
|
+
static names(): { [key: string]: string } {
|
|
6634
|
+
return {
|
|
6635
|
+
requestId: 'RequestId',
|
|
6636
|
+
topIp: 'TopIp',
|
|
6637
|
+
};
|
|
6638
|
+
}
|
|
6639
|
+
|
|
6640
|
+
static types(): { [key: string]: any } {
|
|
6641
|
+
return {
|
|
6642
|
+
requestId: 'string',
|
|
6643
|
+
topIp: { 'type': 'array', 'itemType': DescribePortCcAttackTopIPResponseBodyTopIp },
|
|
6644
|
+
};
|
|
6645
|
+
}
|
|
6646
|
+
|
|
6647
|
+
constructor(map?: { [key: string]: any }) {
|
|
6648
|
+
super(map);
|
|
6649
|
+
}
|
|
6650
|
+
}
|
|
6651
|
+
|
|
6652
|
+
export class DescribePortCcAttackTopIPResponse extends $tea.Model {
|
|
6653
|
+
headers: { [key: string]: string };
|
|
6654
|
+
statusCode: number;
|
|
6655
|
+
body: DescribePortCcAttackTopIPResponseBody;
|
|
6656
|
+
static names(): { [key: string]: string } {
|
|
6657
|
+
return {
|
|
6658
|
+
headers: 'headers',
|
|
6659
|
+
statusCode: 'statusCode',
|
|
6660
|
+
body: 'body',
|
|
6661
|
+
};
|
|
6662
|
+
}
|
|
6663
|
+
|
|
6664
|
+
static types(): { [key: string]: any } {
|
|
6665
|
+
return {
|
|
6666
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6667
|
+
statusCode: 'number',
|
|
6668
|
+
body: DescribePortCcAttackTopIPResponseBody,
|
|
6669
|
+
};
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6672
|
+
constructor(map?: { [key: string]: any }) {
|
|
6673
|
+
super(map);
|
|
6674
|
+
}
|
|
6675
|
+
}
|
|
6676
|
+
|
|
6677
|
+
export class DescribePortConnsCountRequest extends $tea.Model {
|
|
6678
|
+
endTime?: number;
|
|
6679
|
+
instanceIds?: string[];
|
|
6680
|
+
port?: string;
|
|
6681
|
+
resourceGroupId?: string;
|
|
6682
|
+
startTime?: number;
|
|
6683
|
+
static names(): { [key: string]: string } {
|
|
6684
|
+
return {
|
|
6685
|
+
endTime: 'EndTime',
|
|
6686
|
+
instanceIds: 'InstanceIds',
|
|
6327
6687
|
port: 'Port',
|
|
6328
6688
|
resourceGroupId: 'ResourceGroupId',
|
|
6329
6689
|
startTime: 'StartTime',
|
|
@@ -7085,6 +7445,90 @@ export class DescribeSchedulerRulesResponse extends $tea.Model {
|
|
|
7085
7445
|
}
|
|
7086
7446
|
}
|
|
7087
7447
|
|
|
7448
|
+
export class DescribeSlaEventListRequest extends $tea.Model {
|
|
7449
|
+
endTime?: number;
|
|
7450
|
+
ip?: string;
|
|
7451
|
+
page?: number;
|
|
7452
|
+
pageSize?: number;
|
|
7453
|
+
region?: string;
|
|
7454
|
+
startTime?: number;
|
|
7455
|
+
static names(): { [key: string]: string } {
|
|
7456
|
+
return {
|
|
7457
|
+
endTime: 'EndTime',
|
|
7458
|
+
ip: 'Ip',
|
|
7459
|
+
page: 'Page',
|
|
7460
|
+
pageSize: 'PageSize',
|
|
7461
|
+
region: 'Region',
|
|
7462
|
+
startTime: 'StartTime',
|
|
7463
|
+
};
|
|
7464
|
+
}
|
|
7465
|
+
|
|
7466
|
+
static types(): { [key: string]: any } {
|
|
7467
|
+
return {
|
|
7468
|
+
endTime: 'number',
|
|
7469
|
+
ip: 'string',
|
|
7470
|
+
page: 'number',
|
|
7471
|
+
pageSize: 'number',
|
|
7472
|
+
region: 'string',
|
|
7473
|
+
startTime: 'number',
|
|
7474
|
+
};
|
|
7475
|
+
}
|
|
7476
|
+
|
|
7477
|
+
constructor(map?: { [key: string]: any }) {
|
|
7478
|
+
super(map);
|
|
7479
|
+
}
|
|
7480
|
+
}
|
|
7481
|
+
|
|
7482
|
+
export class DescribeSlaEventListResponseBody extends $tea.Model {
|
|
7483
|
+
requestId?: string;
|
|
7484
|
+
slaEvent?: DescribeSlaEventListResponseBodySlaEvent[];
|
|
7485
|
+
total?: number;
|
|
7486
|
+
static names(): { [key: string]: string } {
|
|
7487
|
+
return {
|
|
7488
|
+
requestId: 'RequestId',
|
|
7489
|
+
slaEvent: 'SlaEvent',
|
|
7490
|
+
total: 'Total',
|
|
7491
|
+
};
|
|
7492
|
+
}
|
|
7493
|
+
|
|
7494
|
+
static types(): { [key: string]: any } {
|
|
7495
|
+
return {
|
|
7496
|
+
requestId: 'string',
|
|
7497
|
+
slaEvent: { 'type': 'array', 'itemType': DescribeSlaEventListResponseBodySlaEvent },
|
|
7498
|
+
total: 'number',
|
|
7499
|
+
};
|
|
7500
|
+
}
|
|
7501
|
+
|
|
7502
|
+
constructor(map?: { [key: string]: any }) {
|
|
7503
|
+
super(map);
|
|
7504
|
+
}
|
|
7505
|
+
}
|
|
7506
|
+
|
|
7507
|
+
export class DescribeSlaEventListResponse extends $tea.Model {
|
|
7508
|
+
headers: { [key: string]: string };
|
|
7509
|
+
statusCode: number;
|
|
7510
|
+
body: DescribeSlaEventListResponseBody;
|
|
7511
|
+
static names(): { [key: string]: string } {
|
|
7512
|
+
return {
|
|
7513
|
+
headers: 'headers',
|
|
7514
|
+
statusCode: 'statusCode',
|
|
7515
|
+
body: 'body',
|
|
7516
|
+
};
|
|
7517
|
+
}
|
|
7518
|
+
|
|
7519
|
+
static types(): { [key: string]: any } {
|
|
7520
|
+
return {
|
|
7521
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7522
|
+
statusCode: 'number',
|
|
7523
|
+
body: DescribeSlaEventListResponseBody,
|
|
7524
|
+
};
|
|
7525
|
+
}
|
|
7526
|
+
|
|
7527
|
+
constructor(map?: { [key: string]: any }) {
|
|
7528
|
+
super(map);
|
|
7529
|
+
}
|
|
7530
|
+
}
|
|
7531
|
+
|
|
7088
7532
|
export class DescribeSlsAuthStatusRequest extends $tea.Model {
|
|
7089
7533
|
resourceGroupId?: string;
|
|
7090
7534
|
static names(): { [key: string]: string } {
|
|
@@ -7619,6 +8063,84 @@ export class DescribeTagResourcesResponse extends $tea.Model {
|
|
|
7619
8063
|
}
|
|
7620
8064
|
}
|
|
7621
8065
|
|
|
8066
|
+
export class DescribeTotalAttackMaxFlowRequest extends $tea.Model {
|
|
8067
|
+
endTime?: number;
|
|
8068
|
+
instanceIds?: string[];
|
|
8069
|
+
resourceGroupId?: string;
|
|
8070
|
+
startTime?: number;
|
|
8071
|
+
static names(): { [key: string]: string } {
|
|
8072
|
+
return {
|
|
8073
|
+
endTime: 'EndTime',
|
|
8074
|
+
instanceIds: 'InstanceIds',
|
|
8075
|
+
resourceGroupId: 'ResourceGroupId',
|
|
8076
|
+
startTime: 'StartTime',
|
|
8077
|
+
};
|
|
8078
|
+
}
|
|
8079
|
+
|
|
8080
|
+
static types(): { [key: string]: any } {
|
|
8081
|
+
return {
|
|
8082
|
+
endTime: 'number',
|
|
8083
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
8084
|
+
resourceGroupId: 'string',
|
|
8085
|
+
startTime: 'number',
|
|
8086
|
+
};
|
|
8087
|
+
}
|
|
8088
|
+
|
|
8089
|
+
constructor(map?: { [key: string]: any }) {
|
|
8090
|
+
super(map);
|
|
8091
|
+
}
|
|
8092
|
+
}
|
|
8093
|
+
|
|
8094
|
+
export class DescribeTotalAttackMaxFlowResponseBody extends $tea.Model {
|
|
8095
|
+
bps?: number;
|
|
8096
|
+
pps?: number;
|
|
8097
|
+
requestId?: string;
|
|
8098
|
+
static names(): { [key: string]: string } {
|
|
8099
|
+
return {
|
|
8100
|
+
bps: 'Bps',
|
|
8101
|
+
pps: 'Pps',
|
|
8102
|
+
requestId: 'RequestId',
|
|
8103
|
+
};
|
|
8104
|
+
}
|
|
8105
|
+
|
|
8106
|
+
static types(): { [key: string]: any } {
|
|
8107
|
+
return {
|
|
8108
|
+
bps: 'number',
|
|
8109
|
+
pps: 'number',
|
|
8110
|
+
requestId: 'string',
|
|
8111
|
+
};
|
|
8112
|
+
}
|
|
8113
|
+
|
|
8114
|
+
constructor(map?: { [key: string]: any }) {
|
|
8115
|
+
super(map);
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
|
|
8119
|
+
export class DescribeTotalAttackMaxFlowResponse extends $tea.Model {
|
|
8120
|
+
headers: { [key: string]: string };
|
|
8121
|
+
statusCode: number;
|
|
8122
|
+
body: DescribeTotalAttackMaxFlowResponseBody;
|
|
8123
|
+
static names(): { [key: string]: string } {
|
|
8124
|
+
return {
|
|
8125
|
+
headers: 'headers',
|
|
8126
|
+
statusCode: 'statusCode',
|
|
8127
|
+
body: 'body',
|
|
8128
|
+
};
|
|
8129
|
+
}
|
|
8130
|
+
|
|
8131
|
+
static types(): { [key: string]: any } {
|
|
8132
|
+
return {
|
|
8133
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8134
|
+
statusCode: 'number',
|
|
8135
|
+
body: DescribeTotalAttackMaxFlowResponseBody,
|
|
8136
|
+
};
|
|
8137
|
+
}
|
|
8138
|
+
|
|
8139
|
+
constructor(map?: { [key: string]: any }) {
|
|
8140
|
+
super(map);
|
|
8141
|
+
}
|
|
8142
|
+
}
|
|
8143
|
+
|
|
7622
8144
|
export class DescribeUdpReflectRequest extends $tea.Model {
|
|
7623
8145
|
instanceId?: string;
|
|
7624
8146
|
regionId?: string;
|
|
@@ -8597,35 +9119,32 @@ export class DescribeWebPreciseAccessRuleResponse extends $tea.Model {
|
|
|
8597
9119
|
}
|
|
8598
9120
|
}
|
|
8599
9121
|
|
|
8600
|
-
export class
|
|
8601
|
-
cname?: string;
|
|
9122
|
+
export class DescribeWebReportTopIpRequest extends $tea.Model {
|
|
8602
9123
|
domain?: string;
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
9124
|
+
endTime?: number;
|
|
9125
|
+
interval?: number;
|
|
9126
|
+
queryType?: string;
|
|
9127
|
+
startTime?: number;
|
|
9128
|
+
top?: number;
|
|
8608
9129
|
static names(): { [key: string]: string } {
|
|
8609
9130
|
return {
|
|
8610
|
-
cname: 'Cname',
|
|
8611
9131
|
domain: 'Domain',
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
9132
|
+
endTime: 'EndTime',
|
|
9133
|
+
interval: 'Interval',
|
|
9134
|
+
queryType: 'QueryType',
|
|
9135
|
+
startTime: 'StartTime',
|
|
9136
|
+
top: 'Top',
|
|
8617
9137
|
};
|
|
8618
9138
|
}
|
|
8619
9139
|
|
|
8620
9140
|
static types(): { [key: string]: any } {
|
|
8621
9141
|
return {
|
|
8622
|
-
cname: 'string',
|
|
8623
9142
|
domain: 'string',
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
9143
|
+
endTime: 'number',
|
|
9144
|
+
interval: 'number',
|
|
9145
|
+
queryType: 'string',
|
|
9146
|
+
startTime: 'number',
|
|
9147
|
+
top: 'number',
|
|
8629
9148
|
};
|
|
8630
9149
|
}
|
|
8631
9150
|
|
|
@@ -8634,23 +9153,20 @@ export class DescribeWebRulesRequest extends $tea.Model {
|
|
|
8634
9153
|
}
|
|
8635
9154
|
}
|
|
8636
9155
|
|
|
8637
|
-
export class
|
|
9156
|
+
export class DescribeWebReportTopIpResponseBody extends $tea.Model {
|
|
9157
|
+
dataList?: DescribeWebReportTopIpResponseBodyDataList[];
|
|
8638
9158
|
requestId?: string;
|
|
8639
|
-
totalCount?: number;
|
|
8640
|
-
webRules?: DescribeWebRulesResponseBodyWebRules[];
|
|
8641
9159
|
static names(): { [key: string]: string } {
|
|
8642
9160
|
return {
|
|
9161
|
+
dataList: 'DataList',
|
|
8643
9162
|
requestId: 'RequestId',
|
|
8644
|
-
totalCount: 'TotalCount',
|
|
8645
|
-
webRules: 'WebRules',
|
|
8646
9163
|
};
|
|
8647
9164
|
}
|
|
8648
9165
|
|
|
8649
9166
|
static types(): { [key: string]: any } {
|
|
8650
9167
|
return {
|
|
9168
|
+
dataList: { 'type': 'array', 'itemType': DescribeWebReportTopIpResponseBodyDataList },
|
|
8651
9169
|
requestId: 'string',
|
|
8652
|
-
totalCount: 'number',
|
|
8653
|
-
webRules: { 'type': 'array', 'itemType': DescribeWebRulesResponseBodyWebRules },
|
|
8654
9170
|
};
|
|
8655
9171
|
}
|
|
8656
9172
|
|
|
@@ -8659,10 +9175,10 @@ export class DescribeWebRulesResponseBody extends $tea.Model {
|
|
|
8659
9175
|
}
|
|
8660
9176
|
}
|
|
8661
9177
|
|
|
8662
|
-
export class
|
|
9178
|
+
export class DescribeWebReportTopIpResponse extends $tea.Model {
|
|
8663
9179
|
headers: { [key: string]: string };
|
|
8664
9180
|
statusCode: number;
|
|
8665
|
-
body:
|
|
9181
|
+
body: DescribeWebReportTopIpResponseBody;
|
|
8666
9182
|
static names(): { [key: string]: string } {
|
|
8667
9183
|
return {
|
|
8668
9184
|
headers: 'headers',
|
|
@@ -8675,7 +9191,94 @@ export class DescribeWebRulesResponse extends $tea.Model {
|
|
|
8675
9191
|
return {
|
|
8676
9192
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8677
9193
|
statusCode: 'number',
|
|
8678
|
-
body:
|
|
9194
|
+
body: DescribeWebReportTopIpResponseBody,
|
|
9195
|
+
};
|
|
9196
|
+
}
|
|
9197
|
+
|
|
9198
|
+
constructor(map?: { [key: string]: any }) {
|
|
9199
|
+
super(map);
|
|
9200
|
+
}
|
|
9201
|
+
}
|
|
9202
|
+
|
|
9203
|
+
export class DescribeWebRulesRequest extends $tea.Model {
|
|
9204
|
+
cname?: string;
|
|
9205
|
+
domain?: string;
|
|
9206
|
+
instanceIds?: string[];
|
|
9207
|
+
pageNumber?: number;
|
|
9208
|
+
pageSize?: number;
|
|
9209
|
+
queryDomainPattern?: string;
|
|
9210
|
+
resourceGroupId?: string;
|
|
9211
|
+
static names(): { [key: string]: string } {
|
|
9212
|
+
return {
|
|
9213
|
+
cname: 'Cname',
|
|
9214
|
+
domain: 'Domain',
|
|
9215
|
+
instanceIds: 'InstanceIds',
|
|
9216
|
+
pageNumber: 'PageNumber',
|
|
9217
|
+
pageSize: 'PageSize',
|
|
9218
|
+
queryDomainPattern: 'QueryDomainPattern',
|
|
9219
|
+
resourceGroupId: 'ResourceGroupId',
|
|
9220
|
+
};
|
|
9221
|
+
}
|
|
9222
|
+
|
|
9223
|
+
static types(): { [key: string]: any } {
|
|
9224
|
+
return {
|
|
9225
|
+
cname: 'string',
|
|
9226
|
+
domain: 'string',
|
|
9227
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
9228
|
+
pageNumber: 'number',
|
|
9229
|
+
pageSize: 'number',
|
|
9230
|
+
queryDomainPattern: 'string',
|
|
9231
|
+
resourceGroupId: 'string',
|
|
9232
|
+
};
|
|
9233
|
+
}
|
|
9234
|
+
|
|
9235
|
+
constructor(map?: { [key: string]: any }) {
|
|
9236
|
+
super(map);
|
|
9237
|
+
}
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
export class DescribeWebRulesResponseBody extends $tea.Model {
|
|
9241
|
+
requestId?: string;
|
|
9242
|
+
totalCount?: number;
|
|
9243
|
+
webRules?: DescribeWebRulesResponseBodyWebRules[];
|
|
9244
|
+
static names(): { [key: string]: string } {
|
|
9245
|
+
return {
|
|
9246
|
+
requestId: 'RequestId',
|
|
9247
|
+
totalCount: 'TotalCount',
|
|
9248
|
+
webRules: 'WebRules',
|
|
9249
|
+
};
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
static types(): { [key: string]: any } {
|
|
9253
|
+
return {
|
|
9254
|
+
requestId: 'string',
|
|
9255
|
+
totalCount: 'number',
|
|
9256
|
+
webRules: { 'type': 'array', 'itemType': DescribeWebRulesResponseBodyWebRules },
|
|
9257
|
+
};
|
|
9258
|
+
}
|
|
9259
|
+
|
|
9260
|
+
constructor(map?: { [key: string]: any }) {
|
|
9261
|
+
super(map);
|
|
9262
|
+
}
|
|
9263
|
+
}
|
|
9264
|
+
|
|
9265
|
+
export class DescribeWebRulesResponse extends $tea.Model {
|
|
9266
|
+
headers: { [key: string]: string };
|
|
9267
|
+
statusCode: number;
|
|
9268
|
+
body: DescribeWebRulesResponseBody;
|
|
9269
|
+
static names(): { [key: string]: string } {
|
|
9270
|
+
return {
|
|
9271
|
+
headers: 'headers',
|
|
9272
|
+
statusCode: 'statusCode',
|
|
9273
|
+
body: 'body',
|
|
9274
|
+
};
|
|
9275
|
+
}
|
|
9276
|
+
|
|
9277
|
+
static types(): { [key: string]: any } {
|
|
9278
|
+
return {
|
|
9279
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9280
|
+
statusCode: 'number',
|
|
9281
|
+
body: DescribeWebRulesResponseBody,
|
|
8679
9282
|
};
|
|
8680
9283
|
}
|
|
8681
9284
|
|
|
@@ -9473,6 +10076,72 @@ export class EnableWebCCRuleResponse extends $tea.Model {
|
|
|
9473
10076
|
}
|
|
9474
10077
|
}
|
|
9475
10078
|
|
|
10079
|
+
export class ModifyBizBandWidthModeRequest extends $tea.Model {
|
|
10080
|
+
instanceId?: string;
|
|
10081
|
+
mode?: string;
|
|
10082
|
+
static names(): { [key: string]: string } {
|
|
10083
|
+
return {
|
|
10084
|
+
instanceId: 'InstanceId',
|
|
10085
|
+
mode: 'Mode',
|
|
10086
|
+
};
|
|
10087
|
+
}
|
|
10088
|
+
|
|
10089
|
+
static types(): { [key: string]: any } {
|
|
10090
|
+
return {
|
|
10091
|
+
instanceId: 'string',
|
|
10092
|
+
mode: 'string',
|
|
10093
|
+
};
|
|
10094
|
+
}
|
|
10095
|
+
|
|
10096
|
+
constructor(map?: { [key: string]: any }) {
|
|
10097
|
+
super(map);
|
|
10098
|
+
}
|
|
10099
|
+
}
|
|
10100
|
+
|
|
10101
|
+
export class ModifyBizBandWidthModeResponseBody extends $tea.Model {
|
|
10102
|
+
requestId?: string;
|
|
10103
|
+
static names(): { [key: string]: string } {
|
|
10104
|
+
return {
|
|
10105
|
+
requestId: 'RequestId',
|
|
10106
|
+
};
|
|
10107
|
+
}
|
|
10108
|
+
|
|
10109
|
+
static types(): { [key: string]: any } {
|
|
10110
|
+
return {
|
|
10111
|
+
requestId: 'string',
|
|
10112
|
+
};
|
|
10113
|
+
}
|
|
10114
|
+
|
|
10115
|
+
constructor(map?: { [key: string]: any }) {
|
|
10116
|
+
super(map);
|
|
10117
|
+
}
|
|
10118
|
+
}
|
|
10119
|
+
|
|
10120
|
+
export class ModifyBizBandWidthModeResponse extends $tea.Model {
|
|
10121
|
+
headers: { [key: string]: string };
|
|
10122
|
+
statusCode: number;
|
|
10123
|
+
body: ModifyBizBandWidthModeResponseBody;
|
|
10124
|
+
static names(): { [key: string]: string } {
|
|
10125
|
+
return {
|
|
10126
|
+
headers: 'headers',
|
|
10127
|
+
statusCode: 'statusCode',
|
|
10128
|
+
body: 'body',
|
|
10129
|
+
};
|
|
10130
|
+
}
|
|
10131
|
+
|
|
10132
|
+
static types(): { [key: string]: any } {
|
|
10133
|
+
return {
|
|
10134
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10135
|
+
statusCode: 'number',
|
|
10136
|
+
body: ModifyBizBandWidthModeResponseBody,
|
|
10137
|
+
};
|
|
10138
|
+
}
|
|
10139
|
+
|
|
10140
|
+
constructor(map?: { [key: string]: any }) {
|
|
10141
|
+
super(map);
|
|
10142
|
+
}
|
|
10143
|
+
}
|
|
10144
|
+
|
|
9476
10145
|
export class ModifyBlackholeStatusRequest extends $tea.Model {
|
|
9477
10146
|
blackholeStatus?: string;
|
|
9478
10147
|
instanceId?: string;
|
|
@@ -9827,6 +10496,75 @@ export class ModifyElasticBandWidthResponse extends $tea.Model {
|
|
|
9827
10496
|
}
|
|
9828
10497
|
}
|
|
9829
10498
|
|
|
10499
|
+
export class ModifyElasticBizBandWidthRequest extends $tea.Model {
|
|
10500
|
+
elasticBizBandwidth?: number;
|
|
10501
|
+
instanceId?: string;
|
|
10502
|
+
mode?: string;
|
|
10503
|
+
static names(): { [key: string]: string } {
|
|
10504
|
+
return {
|
|
10505
|
+
elasticBizBandwidth: 'ElasticBizBandwidth',
|
|
10506
|
+
instanceId: 'InstanceId',
|
|
10507
|
+
mode: 'Mode',
|
|
10508
|
+
};
|
|
10509
|
+
}
|
|
10510
|
+
|
|
10511
|
+
static types(): { [key: string]: any } {
|
|
10512
|
+
return {
|
|
10513
|
+
elasticBizBandwidth: 'number',
|
|
10514
|
+
instanceId: 'string',
|
|
10515
|
+
mode: 'string',
|
|
10516
|
+
};
|
|
10517
|
+
}
|
|
10518
|
+
|
|
10519
|
+
constructor(map?: { [key: string]: any }) {
|
|
10520
|
+
super(map);
|
|
10521
|
+
}
|
|
10522
|
+
}
|
|
10523
|
+
|
|
10524
|
+
export class ModifyElasticBizBandWidthResponseBody extends $tea.Model {
|
|
10525
|
+
requestId?: string;
|
|
10526
|
+
static names(): { [key: string]: string } {
|
|
10527
|
+
return {
|
|
10528
|
+
requestId: 'RequestId',
|
|
10529
|
+
};
|
|
10530
|
+
}
|
|
10531
|
+
|
|
10532
|
+
static types(): { [key: string]: any } {
|
|
10533
|
+
return {
|
|
10534
|
+
requestId: 'string',
|
|
10535
|
+
};
|
|
10536
|
+
}
|
|
10537
|
+
|
|
10538
|
+
constructor(map?: { [key: string]: any }) {
|
|
10539
|
+
super(map);
|
|
10540
|
+
}
|
|
10541
|
+
}
|
|
10542
|
+
|
|
10543
|
+
export class ModifyElasticBizBandWidthResponse extends $tea.Model {
|
|
10544
|
+
headers: { [key: string]: string };
|
|
10545
|
+
statusCode: number;
|
|
10546
|
+
body: ModifyElasticBizBandWidthResponseBody;
|
|
10547
|
+
static names(): { [key: string]: string } {
|
|
10548
|
+
return {
|
|
10549
|
+
headers: 'headers',
|
|
10550
|
+
statusCode: 'statusCode',
|
|
10551
|
+
body: 'body',
|
|
10552
|
+
};
|
|
10553
|
+
}
|
|
10554
|
+
|
|
10555
|
+
static types(): { [key: string]: any } {
|
|
10556
|
+
return {
|
|
10557
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10558
|
+
statusCode: 'number',
|
|
10559
|
+
body: ModifyElasticBizBandWidthResponseBody,
|
|
10560
|
+
};
|
|
10561
|
+
}
|
|
10562
|
+
|
|
10563
|
+
constructor(map?: { [key: string]: any }) {
|
|
10564
|
+
super(map);
|
|
10565
|
+
}
|
|
10566
|
+
}
|
|
10567
|
+
|
|
9830
10568
|
export class ModifyFullLogTtlRequest extends $tea.Model {
|
|
9831
10569
|
resourceGroupId?: string;
|
|
9832
10570
|
ttl?: number;
|
|
@@ -9893,6 +10631,75 @@ export class ModifyFullLogTtlResponse extends $tea.Model {
|
|
|
9893
10631
|
}
|
|
9894
10632
|
}
|
|
9895
10633
|
|
|
10634
|
+
export class ModifyHeadersRequest extends $tea.Model {
|
|
10635
|
+
customHeaders?: string;
|
|
10636
|
+
domain?: string;
|
|
10637
|
+
resourceGroupId?: string;
|
|
10638
|
+
static names(): { [key: string]: string } {
|
|
10639
|
+
return {
|
|
10640
|
+
customHeaders: 'CustomHeaders',
|
|
10641
|
+
domain: 'Domain',
|
|
10642
|
+
resourceGroupId: 'ResourceGroupId',
|
|
10643
|
+
};
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10646
|
+
static types(): { [key: string]: any } {
|
|
10647
|
+
return {
|
|
10648
|
+
customHeaders: 'string',
|
|
10649
|
+
domain: 'string',
|
|
10650
|
+
resourceGroupId: 'string',
|
|
10651
|
+
};
|
|
10652
|
+
}
|
|
10653
|
+
|
|
10654
|
+
constructor(map?: { [key: string]: any }) {
|
|
10655
|
+
super(map);
|
|
10656
|
+
}
|
|
10657
|
+
}
|
|
10658
|
+
|
|
10659
|
+
export class ModifyHeadersResponseBody extends $tea.Model {
|
|
10660
|
+
requestId?: string;
|
|
10661
|
+
static names(): { [key: string]: string } {
|
|
10662
|
+
return {
|
|
10663
|
+
requestId: 'RequestId',
|
|
10664
|
+
};
|
|
10665
|
+
}
|
|
10666
|
+
|
|
10667
|
+
static types(): { [key: string]: any } {
|
|
10668
|
+
return {
|
|
10669
|
+
requestId: 'string',
|
|
10670
|
+
};
|
|
10671
|
+
}
|
|
10672
|
+
|
|
10673
|
+
constructor(map?: { [key: string]: any }) {
|
|
10674
|
+
super(map);
|
|
10675
|
+
}
|
|
10676
|
+
}
|
|
10677
|
+
|
|
10678
|
+
export class ModifyHeadersResponse extends $tea.Model {
|
|
10679
|
+
headers: { [key: string]: string };
|
|
10680
|
+
statusCode: number;
|
|
10681
|
+
body: ModifyHeadersResponseBody;
|
|
10682
|
+
static names(): { [key: string]: string } {
|
|
10683
|
+
return {
|
|
10684
|
+
headers: 'headers',
|
|
10685
|
+
statusCode: 'statusCode',
|
|
10686
|
+
body: 'body',
|
|
10687
|
+
};
|
|
10688
|
+
}
|
|
10689
|
+
|
|
10690
|
+
static types(): { [key: string]: any } {
|
|
10691
|
+
return {
|
|
10692
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10693
|
+
statusCode: 'number',
|
|
10694
|
+
body: ModifyHeadersResponseBody,
|
|
10695
|
+
};
|
|
10696
|
+
}
|
|
10697
|
+
|
|
10698
|
+
constructor(map?: { [key: string]: any }) {
|
|
10699
|
+
super(map);
|
|
10700
|
+
}
|
|
10701
|
+
}
|
|
10702
|
+
|
|
9896
10703
|
export class ModifyHealthCheckConfigRequest extends $tea.Model {
|
|
9897
10704
|
forwardProtocol?: string;
|
|
9898
10705
|
frontendPort?: number;
|
|
@@ -10172,6 +10979,72 @@ export class ModifyNetworkRuleAttributeResponse extends $tea.Model {
|
|
|
10172
10979
|
}
|
|
10173
10980
|
}
|
|
10174
10981
|
|
|
10982
|
+
export class ModifyOcspStatusRequest extends $tea.Model {
|
|
10983
|
+
domain?: string;
|
|
10984
|
+
enable?: number;
|
|
10985
|
+
static names(): { [key: string]: string } {
|
|
10986
|
+
return {
|
|
10987
|
+
domain: 'Domain',
|
|
10988
|
+
enable: 'Enable',
|
|
10989
|
+
};
|
|
10990
|
+
}
|
|
10991
|
+
|
|
10992
|
+
static types(): { [key: string]: any } {
|
|
10993
|
+
return {
|
|
10994
|
+
domain: 'string',
|
|
10995
|
+
enable: 'number',
|
|
10996
|
+
};
|
|
10997
|
+
}
|
|
10998
|
+
|
|
10999
|
+
constructor(map?: { [key: string]: any }) {
|
|
11000
|
+
super(map);
|
|
11001
|
+
}
|
|
11002
|
+
}
|
|
11003
|
+
|
|
11004
|
+
export class ModifyOcspStatusResponseBody extends $tea.Model {
|
|
11005
|
+
requestId?: string;
|
|
11006
|
+
static names(): { [key: string]: string } {
|
|
11007
|
+
return {
|
|
11008
|
+
requestId: 'RequestId',
|
|
11009
|
+
};
|
|
11010
|
+
}
|
|
11011
|
+
|
|
11012
|
+
static types(): { [key: string]: any } {
|
|
11013
|
+
return {
|
|
11014
|
+
requestId: 'string',
|
|
11015
|
+
};
|
|
11016
|
+
}
|
|
11017
|
+
|
|
11018
|
+
constructor(map?: { [key: string]: any }) {
|
|
11019
|
+
super(map);
|
|
11020
|
+
}
|
|
11021
|
+
}
|
|
11022
|
+
|
|
11023
|
+
export class ModifyOcspStatusResponse extends $tea.Model {
|
|
11024
|
+
headers: { [key: string]: string };
|
|
11025
|
+
statusCode: number;
|
|
11026
|
+
body: ModifyOcspStatusResponseBody;
|
|
11027
|
+
static names(): { [key: string]: string } {
|
|
11028
|
+
return {
|
|
11029
|
+
headers: 'headers',
|
|
11030
|
+
statusCode: 'statusCode',
|
|
11031
|
+
body: 'body',
|
|
11032
|
+
};
|
|
11033
|
+
}
|
|
11034
|
+
|
|
11035
|
+
static types(): { [key: string]: any } {
|
|
11036
|
+
return {
|
|
11037
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11038
|
+
statusCode: 'number',
|
|
11039
|
+
body: ModifyOcspStatusResponseBody,
|
|
11040
|
+
};
|
|
11041
|
+
}
|
|
11042
|
+
|
|
11043
|
+
constructor(map?: { [key: string]: any }) {
|
|
11044
|
+
super(map);
|
|
11045
|
+
}
|
|
11046
|
+
}
|
|
11047
|
+
|
|
10175
11048
|
export class ModifyPortRequest extends $tea.Model {
|
|
10176
11049
|
backendPort?: string;
|
|
10177
11050
|
frontendPort?: string;
|
|
@@ -11819,6 +12692,7 @@ export class DescribeBlockStatusResponseBodyStatusList extends $tea.Model {
|
|
|
11819
12692
|
}
|
|
11820
12693
|
|
|
11821
12694
|
export class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
12695
|
+
certIdentifier?: string;
|
|
11822
12696
|
common?: string;
|
|
11823
12697
|
domainRelated?: boolean;
|
|
11824
12698
|
endDate?: string;
|
|
@@ -11828,6 +12702,7 @@ export class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
|
11828
12702
|
startDate?: string;
|
|
11829
12703
|
static names(): { [key: string]: string } {
|
|
11830
12704
|
return {
|
|
12705
|
+
certIdentifier: 'CertIdentifier',
|
|
11831
12706
|
common: 'Common',
|
|
11832
12707
|
domainRelated: 'DomainRelated',
|
|
11833
12708
|
endDate: 'EndDate',
|
|
@@ -11840,6 +12715,7 @@ export class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
|
11840
12715
|
|
|
11841
12716
|
static types(): { [key: string]: any } {
|
|
11842
12717
|
return {
|
|
12718
|
+
certIdentifier: 'string',
|
|
11843
12719
|
common: 'string',
|
|
11844
12720
|
domainRelated: 'boolean',
|
|
11845
12721
|
endDate: 'string',
|
|
@@ -12220,6 +13096,7 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12220
13096
|
https2HttpEnable?: boolean;
|
|
12221
13097
|
httpsExt?: string;
|
|
12222
13098
|
instanceIds?: string[];
|
|
13099
|
+
ocspEnabled?: boolean;
|
|
12223
13100
|
policyMode?: string;
|
|
12224
13101
|
proxyEnabled?: boolean;
|
|
12225
13102
|
proxyTypes?: DescribeDomainResourceResponseBodyWebRulesProxyTypes[];
|
|
@@ -12246,6 +13123,7 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12246
13123
|
https2HttpEnable: 'Https2HttpEnable',
|
|
12247
13124
|
httpsExt: 'HttpsExt',
|
|
12248
13125
|
instanceIds: 'InstanceIds',
|
|
13126
|
+
ocspEnabled: 'OcspEnabled',
|
|
12249
13127
|
policyMode: 'PolicyMode',
|
|
12250
13128
|
proxyEnabled: 'ProxyEnabled',
|
|
12251
13129
|
proxyTypes: 'ProxyTypes',
|
|
@@ -12275,6 +13153,7 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12275
13153
|
https2HttpEnable: 'boolean',
|
|
12276
13154
|
httpsExt: 'string',
|
|
12277
13155
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
13156
|
+
ocspEnabled: 'boolean',
|
|
12278
13157
|
policyMode: 'string',
|
|
12279
13158
|
proxyEnabled: 'boolean',
|
|
12280
13159
|
proxyTypes: { 'type': 'array', 'itemType': DescribeDomainResourceResponseBodyWebRulesProxyTypes },
|
|
@@ -12294,6 +13173,28 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12294
13173
|
}
|
|
12295
13174
|
}
|
|
12296
13175
|
|
|
13176
|
+
export class DescribeDomainSecurityProfileResponseBodyResult extends $tea.Model {
|
|
13177
|
+
globalEnable?: boolean;
|
|
13178
|
+
globalMode?: string;
|
|
13179
|
+
static names(): { [key: string]: string } {
|
|
13180
|
+
return {
|
|
13181
|
+
globalEnable: 'GlobalEnable',
|
|
13182
|
+
globalMode: 'GlobalMode',
|
|
13183
|
+
};
|
|
13184
|
+
}
|
|
13185
|
+
|
|
13186
|
+
static types(): { [key: string]: any } {
|
|
13187
|
+
return {
|
|
13188
|
+
globalEnable: 'boolean',
|
|
13189
|
+
globalMode: 'string',
|
|
13190
|
+
};
|
|
13191
|
+
}
|
|
13192
|
+
|
|
13193
|
+
constructor(map?: { [key: string]: any }) {
|
|
13194
|
+
super(map);
|
|
13195
|
+
}
|
|
13196
|
+
}
|
|
13197
|
+
|
|
12297
13198
|
export class DescribeDomainStatusCodeListResponseBodyStatusCodeList extends $tea.Model {
|
|
12298
13199
|
index?: number;
|
|
12299
13200
|
status200?: number;
|
|
@@ -12427,7 +13328,32 @@ export class DescribeDomainViewTopCostTimeResponseBodyUrlList extends $tea.Model
|
|
|
12427
13328
|
url?: string;
|
|
12428
13329
|
static names(): { [key: string]: string } {
|
|
12429
13330
|
return {
|
|
12430
|
-
costTime: 'CostTime',
|
|
13331
|
+
costTime: 'CostTime',
|
|
13332
|
+
domain: 'Domain',
|
|
13333
|
+
url: 'Url',
|
|
13334
|
+
};
|
|
13335
|
+
}
|
|
13336
|
+
|
|
13337
|
+
static types(): { [key: string]: any } {
|
|
13338
|
+
return {
|
|
13339
|
+
costTime: 'number',
|
|
13340
|
+
domain: 'string',
|
|
13341
|
+
url: 'string',
|
|
13342
|
+
};
|
|
13343
|
+
}
|
|
13344
|
+
|
|
13345
|
+
constructor(map?: { [key: string]: any }) {
|
|
13346
|
+
super(map);
|
|
13347
|
+
}
|
|
13348
|
+
}
|
|
13349
|
+
|
|
13350
|
+
export class DescribeDomainViewTopUrlResponseBodyUrlList extends $tea.Model {
|
|
13351
|
+
count?: number;
|
|
13352
|
+
domain?: string;
|
|
13353
|
+
url?: string;
|
|
13354
|
+
static names(): { [key: string]: string } {
|
|
13355
|
+
return {
|
|
13356
|
+
count: 'Count',
|
|
12431
13357
|
domain: 'Domain',
|
|
12432
13358
|
url: 'Url',
|
|
12433
13359
|
};
|
|
@@ -12435,7 +13361,7 @@ export class DescribeDomainViewTopCostTimeResponseBodyUrlList extends $tea.Model
|
|
|
12435
13361
|
|
|
12436
13362
|
static types(): { [key: string]: any } {
|
|
12437
13363
|
return {
|
|
12438
|
-
|
|
13364
|
+
count: 'number',
|
|
12439
13365
|
domain: 'string',
|
|
12440
13366
|
url: 'string',
|
|
12441
13367
|
};
|
|
@@ -12446,23 +13372,20 @@ export class DescribeDomainViewTopCostTimeResponseBodyUrlList extends $tea.Model
|
|
|
12446
13372
|
}
|
|
12447
13373
|
}
|
|
12448
13374
|
|
|
12449
|
-
export class
|
|
12450
|
-
count?: number;
|
|
13375
|
+
export class DescribeHeadersResponseBodyCustomHeader extends $tea.Model {
|
|
12451
13376
|
domain?: string;
|
|
12452
|
-
|
|
13377
|
+
headers?: string;
|
|
12453
13378
|
static names(): { [key: string]: string } {
|
|
12454
13379
|
return {
|
|
12455
|
-
count: 'Count',
|
|
12456
13380
|
domain: 'Domain',
|
|
12457
|
-
|
|
13381
|
+
headers: 'Headers',
|
|
12458
13382
|
};
|
|
12459
13383
|
}
|
|
12460
13384
|
|
|
12461
13385
|
static types(): { [key: string]: any } {
|
|
12462
13386
|
return {
|
|
12463
|
-
count: 'number',
|
|
12464
13387
|
domain: 'string',
|
|
12465
|
-
|
|
13388
|
+
headers: 'string',
|
|
12466
13389
|
};
|
|
12467
13390
|
}
|
|
12468
13391
|
|
|
@@ -12645,6 +13568,37 @@ export class DescribeInstanceDetailsResponseBodyInstanceDetails extends $tea.Mod
|
|
|
12645
13568
|
}
|
|
12646
13569
|
}
|
|
12647
13570
|
|
|
13571
|
+
export class DescribeInstanceExtResponseBodyInstanceExtSpecs extends $tea.Model {
|
|
13572
|
+
functionVersion?: number;
|
|
13573
|
+
instanceId?: string;
|
|
13574
|
+
normalBandwidth?: number;
|
|
13575
|
+
productPlan?: number;
|
|
13576
|
+
servicePartner?: string;
|
|
13577
|
+
static names(): { [key: string]: string } {
|
|
13578
|
+
return {
|
|
13579
|
+
functionVersion: 'FunctionVersion',
|
|
13580
|
+
instanceId: 'InstanceId',
|
|
13581
|
+
normalBandwidth: 'NormalBandwidth',
|
|
13582
|
+
productPlan: 'ProductPlan',
|
|
13583
|
+
servicePartner: 'ServicePartner',
|
|
13584
|
+
};
|
|
13585
|
+
}
|
|
13586
|
+
|
|
13587
|
+
static types(): { [key: string]: any } {
|
|
13588
|
+
return {
|
|
13589
|
+
functionVersion: 'number',
|
|
13590
|
+
instanceId: 'string',
|
|
13591
|
+
normalBandwidth: 'number',
|
|
13592
|
+
productPlan: 'number',
|
|
13593
|
+
servicePartner: 'string',
|
|
13594
|
+
};
|
|
13595
|
+
}
|
|
13596
|
+
|
|
13597
|
+
constructor(map?: { [key: string]: any }) {
|
|
13598
|
+
super(map);
|
|
13599
|
+
}
|
|
13600
|
+
}
|
|
13601
|
+
|
|
12648
13602
|
export class DescribeInstanceIdsResponseBodyInstanceIds extends $tea.Model {
|
|
12649
13603
|
edition?: number;
|
|
12650
13604
|
instanceId?: string;
|
|
@@ -12679,27 +13633,39 @@ export class DescribeInstanceIdsResponseBodyInstanceIds extends $tea.Model {
|
|
|
12679
13633
|
export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
12680
13634
|
bandwidthMbps?: number;
|
|
12681
13635
|
baseBandwidth?: number;
|
|
13636
|
+
connLimit?: number;
|
|
13637
|
+
cpsLimit?: number;
|
|
12682
13638
|
defenseCount?: number;
|
|
12683
13639
|
domainLimit?: number;
|
|
12684
13640
|
elasticBandwidth?: number;
|
|
12685
13641
|
elasticBw?: number;
|
|
13642
|
+
elasticBwModel?: string;
|
|
13643
|
+
elasticQps?: number;
|
|
13644
|
+
elasticQpsMode?: string;
|
|
12686
13645
|
functionVersion?: string;
|
|
12687
13646
|
instanceId?: string;
|
|
12688
13647
|
portLimit?: number;
|
|
12689
13648
|
qpsLimit?: number;
|
|
13649
|
+
realLimitBw?: number;
|
|
12690
13650
|
siteLimit?: number;
|
|
12691
13651
|
static names(): { [key: string]: string } {
|
|
12692
13652
|
return {
|
|
12693
13653
|
bandwidthMbps: 'BandwidthMbps',
|
|
12694
13654
|
baseBandwidth: 'BaseBandwidth',
|
|
13655
|
+
connLimit: 'ConnLimit',
|
|
13656
|
+
cpsLimit: 'CpsLimit',
|
|
12695
13657
|
defenseCount: 'DefenseCount',
|
|
12696
13658
|
domainLimit: 'DomainLimit',
|
|
12697
13659
|
elasticBandwidth: 'ElasticBandwidth',
|
|
12698
13660
|
elasticBw: 'ElasticBw',
|
|
13661
|
+
elasticBwModel: 'ElasticBwModel',
|
|
13662
|
+
elasticQps: 'ElasticQps',
|
|
13663
|
+
elasticQpsMode: 'ElasticQpsMode',
|
|
12699
13664
|
functionVersion: 'FunctionVersion',
|
|
12700
13665
|
instanceId: 'InstanceId',
|
|
12701
13666
|
portLimit: 'PortLimit',
|
|
12702
13667
|
qpsLimit: 'QpsLimit',
|
|
13668
|
+
realLimitBw: 'RealLimitBw',
|
|
12703
13669
|
siteLimit: 'SiteLimit',
|
|
12704
13670
|
};
|
|
12705
13671
|
}
|
|
@@ -12708,14 +13674,20 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
12708
13674
|
return {
|
|
12709
13675
|
bandwidthMbps: 'number',
|
|
12710
13676
|
baseBandwidth: 'number',
|
|
13677
|
+
connLimit: 'number',
|
|
13678
|
+
cpsLimit: 'number',
|
|
12711
13679
|
defenseCount: 'number',
|
|
12712
13680
|
domainLimit: 'number',
|
|
12713
13681
|
elasticBandwidth: 'number',
|
|
12714
13682
|
elasticBw: 'number',
|
|
13683
|
+
elasticBwModel: 'string',
|
|
13684
|
+
elasticQps: 'number',
|
|
13685
|
+
elasticQpsMode: 'string',
|
|
12715
13686
|
functionVersion: 'string',
|
|
12716
13687
|
instanceId: 'string',
|
|
12717
13688
|
portLimit: 'number',
|
|
12718
13689
|
qpsLimit: 'number',
|
|
13690
|
+
realLimitBw: 'number',
|
|
12719
13691
|
siteLimit: 'number',
|
|
12720
13692
|
};
|
|
12721
13693
|
}
|
|
@@ -12785,8 +13757,11 @@ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
12785
13757
|
enabled?: number;
|
|
12786
13758
|
expireTime?: number;
|
|
12787
13759
|
instanceId?: string;
|
|
13760
|
+
ip?: string;
|
|
12788
13761
|
ipMode?: string;
|
|
12789
13762
|
ipVersion?: string;
|
|
13763
|
+
isFirstOpenBw?: number;
|
|
13764
|
+
isFirstOpenQps?: number;
|
|
12790
13765
|
remark?: string;
|
|
12791
13766
|
status?: number;
|
|
12792
13767
|
static names(): { [key: string]: string } {
|
|
@@ -12797,8 +13772,11 @@ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
12797
13772
|
enabled: 'Enabled',
|
|
12798
13773
|
expireTime: 'ExpireTime',
|
|
12799
13774
|
instanceId: 'InstanceId',
|
|
13775
|
+
ip: 'Ip',
|
|
12800
13776
|
ipMode: 'IpMode',
|
|
12801
13777
|
ipVersion: 'IpVersion',
|
|
13778
|
+
isFirstOpenBw: 'IsFirstOpenBw',
|
|
13779
|
+
isFirstOpenQps: 'IsFirstOpenQps',
|
|
12802
13780
|
remark: 'Remark',
|
|
12803
13781
|
status: 'Status',
|
|
12804
13782
|
};
|
|
@@ -12812,8 +13790,11 @@ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
12812
13790
|
enabled: 'number',
|
|
12813
13791
|
expireTime: 'number',
|
|
12814
13792
|
instanceId: 'string',
|
|
13793
|
+
ip: 'string',
|
|
12815
13794
|
ipMode: 'string',
|
|
12816
13795
|
ipVersion: 'string',
|
|
13796
|
+
isFirstOpenBw: 'number',
|
|
13797
|
+
isFirstOpenQps: 'number',
|
|
12817
13798
|
remark: 'string',
|
|
12818
13799
|
status: 'number',
|
|
12819
13800
|
};
|
|
@@ -13290,6 +14271,31 @@ export class DescribePortAutoCcStatusResponseBodyPortAutoCcStatus extends $tea.M
|
|
|
13290
14271
|
}
|
|
13291
14272
|
}
|
|
13292
14273
|
|
|
14274
|
+
export class DescribePortCcAttackTopIPResponseBodyTopIp extends $tea.Model {
|
|
14275
|
+
areaId?: string;
|
|
14276
|
+
pv?: number;
|
|
14277
|
+
srcIp?: string;
|
|
14278
|
+
static names(): { [key: string]: string } {
|
|
14279
|
+
return {
|
|
14280
|
+
areaId: 'AreaId',
|
|
14281
|
+
pv: 'Pv',
|
|
14282
|
+
srcIp: 'SrcIp',
|
|
14283
|
+
};
|
|
14284
|
+
}
|
|
14285
|
+
|
|
14286
|
+
static types(): { [key: string]: any } {
|
|
14287
|
+
return {
|
|
14288
|
+
areaId: 'string',
|
|
14289
|
+
pv: 'number',
|
|
14290
|
+
srcIp: 'string',
|
|
14291
|
+
};
|
|
14292
|
+
}
|
|
14293
|
+
|
|
14294
|
+
constructor(map?: { [key: string]: any }) {
|
|
14295
|
+
super(map);
|
|
14296
|
+
}
|
|
14297
|
+
}
|
|
14298
|
+
|
|
13293
14299
|
export class DescribePortConnsListResponseBodyConnsList extends $tea.Model {
|
|
13294
14300
|
actConns?: number;
|
|
13295
14301
|
conns?: number;
|
|
@@ -13330,6 +14336,14 @@ export class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
13330
14336
|
outBps?: number;
|
|
13331
14337
|
outPps?: number;
|
|
13332
14338
|
region?: string;
|
|
14339
|
+
slaBpsDropBps?: number;
|
|
14340
|
+
slaBpsDropPps?: number;
|
|
14341
|
+
slaConnDropBps?: number;
|
|
14342
|
+
slaConnDropPps?: number;
|
|
14343
|
+
slaCpsDropBps?: number;
|
|
14344
|
+
slaCpsDropPps?: number;
|
|
14345
|
+
slaPpsDropBps?: number;
|
|
14346
|
+
slaPpsDropPps?: number;
|
|
13333
14347
|
time?: number;
|
|
13334
14348
|
static names(): { [key: string]: string } {
|
|
13335
14349
|
return {
|
|
@@ -13341,6 +14355,14 @@ export class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
13341
14355
|
outBps: 'OutBps',
|
|
13342
14356
|
outPps: 'OutPps',
|
|
13343
14357
|
region: 'Region',
|
|
14358
|
+
slaBpsDropBps: 'SlaBpsDropBps',
|
|
14359
|
+
slaBpsDropPps: 'SlaBpsDropPps',
|
|
14360
|
+
slaConnDropBps: 'SlaConnDropBps',
|
|
14361
|
+
slaConnDropPps: 'SlaConnDropPps',
|
|
14362
|
+
slaCpsDropBps: 'SlaCpsDropBps',
|
|
14363
|
+
slaCpsDropPps: 'SlaCpsDropPps',
|
|
14364
|
+
slaPpsDropBps: 'SlaPpsDropBps',
|
|
14365
|
+
slaPpsDropPps: 'SlaPpsDropPps',
|
|
13344
14366
|
time: 'Time',
|
|
13345
14367
|
};
|
|
13346
14368
|
}
|
|
@@ -13355,6 +14377,14 @@ export class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
13355
14377
|
outBps: 'number',
|
|
13356
14378
|
outPps: 'number',
|
|
13357
14379
|
region: 'string',
|
|
14380
|
+
slaBpsDropBps: 'number',
|
|
14381
|
+
slaBpsDropPps: 'number',
|
|
14382
|
+
slaConnDropBps: 'number',
|
|
14383
|
+
slaConnDropPps: 'number',
|
|
14384
|
+
slaCpsDropBps: 'number',
|
|
14385
|
+
slaCpsDropPps: 'number',
|
|
14386
|
+
slaPpsDropBps: 'number',
|
|
14387
|
+
slaPpsDropPps: 'number',
|
|
13358
14388
|
time: 'number',
|
|
13359
14389
|
};
|
|
13360
14390
|
}
|
|
@@ -13593,6 +14623,7 @@ export class DescribeSchedulerRulesResponseBodySchedulerRulesParam extends $tea.
|
|
|
13593
14623
|
}
|
|
13594
14624
|
|
|
13595
14625
|
export class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
14626
|
+
line?: string;
|
|
13596
14627
|
priority?: number;
|
|
13597
14628
|
regionId?: string;
|
|
13598
14629
|
restoreDelay?: number;
|
|
@@ -13602,6 +14633,7 @@ export class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.
|
|
|
13602
14633
|
valueType?: number;
|
|
13603
14634
|
static names(): { [key: string]: string } {
|
|
13604
14635
|
return {
|
|
14636
|
+
line: 'Line',
|
|
13605
14637
|
priority: 'Priority',
|
|
13606
14638
|
regionId: 'RegionId',
|
|
13607
14639
|
restoreDelay: 'RestoreDelay',
|
|
@@ -13614,6 +14646,7 @@ export class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.
|
|
|
13614
14646
|
|
|
13615
14647
|
static types(): { [key: string]: any } {
|
|
13616
14648
|
return {
|
|
14649
|
+
line: 'string',
|
|
13617
14650
|
priority: 'number',
|
|
13618
14651
|
regionId: 'string',
|
|
13619
14652
|
restoreDelay: 'number',
|
|
@@ -13660,6 +14693,34 @@ export class DescribeSchedulerRulesResponseBodySchedulerRules extends $tea.Model
|
|
|
13660
14693
|
}
|
|
13661
14694
|
}
|
|
13662
14695
|
|
|
14696
|
+
export class DescribeSlaEventListResponseBodySlaEvent extends $tea.Model {
|
|
14697
|
+
endTime?: number;
|
|
14698
|
+
ip?: string;
|
|
14699
|
+
region?: string;
|
|
14700
|
+
startTime?: number;
|
|
14701
|
+
static names(): { [key: string]: string } {
|
|
14702
|
+
return {
|
|
14703
|
+
endTime: 'EndTime',
|
|
14704
|
+
ip: 'Ip',
|
|
14705
|
+
region: 'Region',
|
|
14706
|
+
startTime: 'StartTime',
|
|
14707
|
+
};
|
|
14708
|
+
}
|
|
14709
|
+
|
|
14710
|
+
static types(): { [key: string]: any } {
|
|
14711
|
+
return {
|
|
14712
|
+
endTime: 'number',
|
|
14713
|
+
ip: 'string',
|
|
14714
|
+
region: 'string',
|
|
14715
|
+
startTime: 'number',
|
|
14716
|
+
};
|
|
14717
|
+
}
|
|
14718
|
+
|
|
14719
|
+
constructor(map?: { [key: string]: any }) {
|
|
14720
|
+
super(map);
|
|
14721
|
+
}
|
|
14722
|
+
}
|
|
14723
|
+
|
|
13663
14724
|
export class DescribeStsGrantStatusResponseBodyStsGrant extends $tea.Model {
|
|
13664
14725
|
status?: number;
|
|
13665
14726
|
static names(): { [key: string]: string } {
|
|
@@ -13998,6 +15059,7 @@ export class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $te
|
|
|
13998
15059
|
blackWhiteListEnable?: number;
|
|
13999
15060
|
ccCustomRuleEnable?: number;
|
|
14000
15061
|
ccEnable?: number;
|
|
15062
|
+
ccGlobalSwitch?: string;
|
|
14001
15063
|
ccTemplate?: string;
|
|
14002
15064
|
domain?: string;
|
|
14003
15065
|
preciseRuleEnable?: number;
|
|
@@ -14010,6 +15072,7 @@ export class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $te
|
|
|
14010
15072
|
blackWhiteListEnable: 'BlackWhiteListEnable',
|
|
14011
15073
|
ccCustomRuleEnable: 'CcCustomRuleEnable',
|
|
14012
15074
|
ccEnable: 'CcEnable',
|
|
15075
|
+
ccGlobalSwitch: 'CcGlobalSwitch',
|
|
14013
15076
|
ccTemplate: 'CcTemplate',
|
|
14014
15077
|
domain: 'Domain',
|
|
14015
15078
|
preciseRuleEnable: 'PreciseRuleEnable',
|
|
@@ -14025,6 +15088,7 @@ export class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $te
|
|
|
14025
15088
|
blackWhiteListEnable: 'number',
|
|
14026
15089
|
ccCustomRuleEnable: 'number',
|
|
14027
15090
|
ccEnable: 'number',
|
|
15091
|
+
ccGlobalSwitch: 'string',
|
|
14028
15092
|
ccTemplate: 'string',
|
|
14029
15093
|
domain: 'string',
|
|
14030
15094
|
preciseRuleEnable: 'number',
|
|
@@ -14108,12 +15172,14 @@ export class DescribeWebInstanceRelationsResponseBodyWebInstanceRelations extend
|
|
|
14108
15172
|
|
|
14109
15173
|
export class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListConditionList extends $tea.Model {
|
|
14110
15174
|
content?: string;
|
|
15175
|
+
contentList?: string[];
|
|
14111
15176
|
field?: string;
|
|
14112
15177
|
headerName?: string;
|
|
14113
15178
|
matchMethod?: string;
|
|
14114
15179
|
static names(): { [key: string]: string } {
|
|
14115
15180
|
return {
|
|
14116
15181
|
content: 'Content',
|
|
15182
|
+
contentList: 'ContentList',
|
|
14117
15183
|
field: 'Field',
|
|
14118
15184
|
headerName: 'HeaderName',
|
|
14119
15185
|
matchMethod: 'MatchMethod',
|
|
@@ -14123,6 +15189,7 @@ export class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRule
|
|
|
14123
15189
|
static types(): { [key: string]: any } {
|
|
14124
15190
|
return {
|
|
14125
15191
|
content: 'string',
|
|
15192
|
+
contentList: { 'type': 'array', 'itemType': 'string' },
|
|
14126
15193
|
field: 'string',
|
|
14127
15194
|
headerName: 'string',
|
|
14128
15195
|
matchMethod: 'string',
|
|
@@ -14187,6 +15254,34 @@ export class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList ext
|
|
|
14187
15254
|
}
|
|
14188
15255
|
}
|
|
14189
15256
|
|
|
15257
|
+
export class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
|
|
15258
|
+
areaId?: string;
|
|
15259
|
+
count?: number;
|
|
15260
|
+
isp?: string;
|
|
15261
|
+
sourceIp?: string;
|
|
15262
|
+
static names(): { [key: string]: string } {
|
|
15263
|
+
return {
|
|
15264
|
+
areaId: 'AreaId',
|
|
15265
|
+
count: 'Count',
|
|
15266
|
+
isp: 'Isp',
|
|
15267
|
+
sourceIp: 'SourceIp',
|
|
15268
|
+
};
|
|
15269
|
+
}
|
|
15270
|
+
|
|
15271
|
+
static types(): { [key: string]: any } {
|
|
15272
|
+
return {
|
|
15273
|
+
areaId: 'string',
|
|
15274
|
+
count: 'number',
|
|
15275
|
+
isp: 'string',
|
|
15276
|
+
sourceIp: 'string',
|
|
15277
|
+
};
|
|
15278
|
+
}
|
|
15279
|
+
|
|
15280
|
+
constructor(map?: { [key: string]: any }) {
|
|
15281
|
+
super(map);
|
|
15282
|
+
}
|
|
15283
|
+
}
|
|
15284
|
+
|
|
14190
15285
|
export class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
14191
15286
|
certId?: string;
|
|
14192
15287
|
gmEnable?: number;
|
|
@@ -14262,6 +15357,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
14262
15357
|
ccRuleEnabled?: boolean;
|
|
14263
15358
|
ccTemplate?: string;
|
|
14264
15359
|
certName?: string;
|
|
15360
|
+
certRegion?: string;
|
|
14265
15361
|
cname?: string;
|
|
14266
15362
|
customCiphers?: string[];
|
|
14267
15363
|
domain?: string;
|
|
@@ -14287,6 +15383,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
14287
15383
|
ccRuleEnabled: 'CcRuleEnabled',
|
|
14288
15384
|
ccTemplate: 'CcTemplate',
|
|
14289
15385
|
certName: 'CertName',
|
|
15386
|
+
certRegion: 'CertRegion',
|
|
14290
15387
|
cname: 'Cname',
|
|
14291
15388
|
customCiphers: 'CustomCiphers',
|
|
14292
15389
|
domain: 'Domain',
|
|
@@ -14315,6 +15412,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
14315
15412
|
ccRuleEnabled: 'boolean',
|
|
14316
15413
|
ccTemplate: 'string',
|
|
14317
15414
|
certName: 'string',
|
|
15415
|
+
certRegion: 'string',
|
|
14318
15416
|
cname: 'string',
|
|
14319
15417
|
customCiphers: { 'type': 'array', 'itemType': 'string' },
|
|
14320
15418
|
domain: 'string',
|
|
@@ -14423,6 +15521,16 @@ export default class Client extends OpenApi {
|
|
|
14423
15521
|
return await this.addAutoCcBlacklistWithOptions(request, runtime);
|
|
14424
15522
|
}
|
|
14425
15523
|
|
|
15524
|
+
/**
|
|
15525
|
+
* 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.
|
|
15526
|
+
* 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.
|
|
15527
|
+
* ### Limits
|
|
15528
|
+
* 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.
|
|
15529
|
+
*
|
|
15530
|
+
* @param request AddAutoCcWhitelistRequest
|
|
15531
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15532
|
+
* @return AddAutoCcWhitelistResponse
|
|
15533
|
+
*/
|
|
14426
15534
|
async addAutoCcWhitelistWithOptions(request: AddAutoCcWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<AddAutoCcWhitelistResponse> {
|
|
14427
15535
|
Util.validateModel(request);
|
|
14428
15536
|
let query = { };
|
|
@@ -14455,6 +15563,15 @@ export default class Client extends OpenApi {
|
|
|
14455
15563
|
return $tea.cast<AddAutoCcWhitelistResponse>(await this.callApi(params, req, runtime), new AddAutoCcWhitelistResponse({}));
|
|
14456
15564
|
}
|
|
14457
15565
|
|
|
15566
|
+
/**
|
|
15567
|
+
* 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.
|
|
15568
|
+
* 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.
|
|
15569
|
+
* ### Limits
|
|
15570
|
+
* 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.
|
|
15571
|
+
*
|
|
15572
|
+
* @param request AddAutoCcWhitelistRequest
|
|
15573
|
+
* @return AddAutoCcWhitelistResponse
|
|
15574
|
+
*/
|
|
14458
15575
|
async addAutoCcWhitelist(request: AddAutoCcWhitelistRequest): Promise<AddAutoCcWhitelistResponse> {
|
|
14459
15576
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14460
15577
|
return await this.addAutoCcWhitelistWithOptions(request, runtime);
|
|
@@ -14471,10 +15588,18 @@ export default class Client extends OpenApi {
|
|
|
14471
15588
|
query["CertId"] = request.certId;
|
|
14472
15589
|
}
|
|
14473
15590
|
|
|
15591
|
+
if (!Util.isUnset(request.certIdentifier)) {
|
|
15592
|
+
query["CertIdentifier"] = request.certIdentifier;
|
|
15593
|
+
}
|
|
15594
|
+
|
|
14474
15595
|
if (!Util.isUnset(request.certName)) {
|
|
14475
15596
|
query["CertName"] = request.certName;
|
|
14476
15597
|
}
|
|
14477
15598
|
|
|
15599
|
+
if (!Util.isUnset(request.certRegion)) {
|
|
15600
|
+
query["CertRegion"] = request.certRegion;
|
|
15601
|
+
}
|
|
15602
|
+
|
|
14478
15603
|
if (!Util.isUnset(request.domain)) {
|
|
14479
15604
|
query["Domain"] = request.domain;
|
|
14480
15605
|
}
|
|
@@ -14546,6 +15671,13 @@ export default class Client extends OpenApi {
|
|
|
14546
15671
|
return await this.attachSceneDefenseObjectWithOptions(request, runtime);
|
|
14547
15672
|
}
|
|
14548
15673
|
|
|
15674
|
+
/**
|
|
15675
|
+
* 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.
|
|
15676
|
+
*
|
|
15677
|
+
* @param request ConfigL7RsPolicyRequest
|
|
15678
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15679
|
+
* @return ConfigL7RsPolicyResponse
|
|
15680
|
+
*/
|
|
14549
15681
|
async configL7RsPolicyWithOptions(request: ConfigL7RsPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ConfigL7RsPolicyResponse> {
|
|
14550
15682
|
Util.validateModel(request);
|
|
14551
15683
|
let query = { };
|
|
@@ -14578,11 +15710,50 @@ export default class Client extends OpenApi {
|
|
|
14578
15710
|
return $tea.cast<ConfigL7RsPolicyResponse>(await this.callApi(params, req, runtime), new ConfigL7RsPolicyResponse({}));
|
|
14579
15711
|
}
|
|
14580
15712
|
|
|
15713
|
+
/**
|
|
15714
|
+
* 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.
|
|
15715
|
+
*
|
|
15716
|
+
* @param request ConfigL7RsPolicyRequest
|
|
15717
|
+
* @return ConfigL7RsPolicyResponse
|
|
15718
|
+
*/
|
|
14581
15719
|
async configL7RsPolicy(request: ConfigL7RsPolicyRequest): Promise<ConfigL7RsPolicyResponse> {
|
|
14582
15720
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14583
15721
|
return await this.configL7RsPolicyWithOptions(request, runtime);
|
|
14584
15722
|
}
|
|
14585
15723
|
|
|
15724
|
+
async configLayer4RealLimitWithOptions(request: ConfigLayer4RealLimitRequest, runtime: $Util.RuntimeOptions): Promise<ConfigLayer4RealLimitResponse> {
|
|
15725
|
+
Util.validateModel(request);
|
|
15726
|
+
let query = { };
|
|
15727
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
15728
|
+
query["InstanceId"] = request.instanceId;
|
|
15729
|
+
}
|
|
15730
|
+
|
|
15731
|
+
if (!Util.isUnset(request.limitValue)) {
|
|
15732
|
+
query["LimitValue"] = request.limitValue;
|
|
15733
|
+
}
|
|
15734
|
+
|
|
15735
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15736
|
+
query: OpenApiUtil.query(query),
|
|
15737
|
+
});
|
|
15738
|
+
let params = new $OpenApi.Params({
|
|
15739
|
+
action: "ConfigLayer4RealLimit",
|
|
15740
|
+
version: "2020-01-01",
|
|
15741
|
+
protocol: "HTTPS",
|
|
15742
|
+
pathname: "/",
|
|
15743
|
+
method: "POST",
|
|
15744
|
+
authType: "AK",
|
|
15745
|
+
style: "RPC",
|
|
15746
|
+
reqBodyType: "formData",
|
|
15747
|
+
bodyType: "json",
|
|
15748
|
+
});
|
|
15749
|
+
return $tea.cast<ConfigLayer4RealLimitResponse>(await this.callApi(params, req, runtime), new ConfigLayer4RealLimitResponse({}));
|
|
15750
|
+
}
|
|
15751
|
+
|
|
15752
|
+
async configLayer4RealLimit(request: ConfigLayer4RealLimitRequest): Promise<ConfigLayer4RealLimitResponse> {
|
|
15753
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15754
|
+
return await this.configLayer4RealLimitWithOptions(request, runtime);
|
|
15755
|
+
}
|
|
15756
|
+
|
|
14586
15757
|
async configLayer4RemarkWithOptions(request: ConfigLayer4RemarkRequest, runtime: $Util.RuntimeOptions): Promise<ConfigLayer4RemarkResponse> {
|
|
14587
15758
|
Util.validateModel(request);
|
|
14588
15759
|
let query = { };
|
|
@@ -14736,6 +15907,15 @@ export default class Client extends OpenApi {
|
|
|
14736
15907
|
return await this.configNetworkRulesWithOptions(request, runtime);
|
|
14737
15908
|
}
|
|
14738
15909
|
|
|
15910
|
+
/**
|
|
15911
|
+
* You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
|
|
15912
|
+
* ### Limits
|
|
15913
|
+
* 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.
|
|
15914
|
+
*
|
|
15915
|
+
* @param request ConfigUdpReflectRequest
|
|
15916
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15917
|
+
* @return ConfigUdpReflectResponse
|
|
15918
|
+
*/
|
|
14739
15919
|
async configUdpReflectWithOptions(request: ConfigUdpReflectRequest, runtime: $Util.RuntimeOptions): Promise<ConfigUdpReflectResponse> {
|
|
14740
15920
|
Util.validateModel(request);
|
|
14741
15921
|
let query = { };
|
|
@@ -14768,6 +15948,14 @@ export default class Client extends OpenApi {
|
|
|
14768
15948
|
return $tea.cast<ConfigUdpReflectResponse>(await this.callApi(params, req, runtime), new ConfigUdpReflectResponse({}));
|
|
14769
15949
|
}
|
|
14770
15950
|
|
|
15951
|
+
/**
|
|
15952
|
+
* You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
|
|
15953
|
+
* ### Limits
|
|
15954
|
+
* 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.
|
|
15955
|
+
*
|
|
15956
|
+
* @param request ConfigUdpReflectRequest
|
|
15957
|
+
* @return ConfigUdpReflectResponse
|
|
15958
|
+
*/
|
|
14771
15959
|
async configUdpReflect(request: ConfigUdpReflectRequest): Promise<ConfigUdpReflectResponse> {
|
|
14772
15960
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14773
15961
|
return await this.configUdpReflectWithOptions(request, runtime);
|
|
@@ -14966,6 +16154,13 @@ export default class Client extends OpenApi {
|
|
|
14966
16154
|
return await this.createNetworkRulesWithOptions(request, runtime);
|
|
14967
16155
|
}
|
|
14968
16156
|
|
|
16157
|
+
/**
|
|
16158
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
16159
|
+
*
|
|
16160
|
+
* @param request CreatePortRequest
|
|
16161
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16162
|
+
* @return CreatePortResponse
|
|
16163
|
+
*/
|
|
14969
16164
|
async createPortWithOptions(request: CreatePortRequest, runtime: $Util.RuntimeOptions): Promise<CreatePortResponse> {
|
|
14970
16165
|
Util.validateModel(request);
|
|
14971
16166
|
let query = { };
|
|
@@ -15006,6 +16201,12 @@ export default class Client extends OpenApi {
|
|
|
15006
16201
|
return $tea.cast<CreatePortResponse>(await this.callApi(params, req, runtime), new CreatePortResponse({}));
|
|
15007
16202
|
}
|
|
15008
16203
|
|
|
16204
|
+
/**
|
|
16205
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
16206
|
+
*
|
|
16207
|
+
* @param request CreatePortRequest
|
|
16208
|
+
* @return CreatePortResponse
|
|
16209
|
+
*/
|
|
15009
16210
|
async createPort(request: CreatePortRequest): Promise<CreatePortResponse> {
|
|
15010
16211
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15011
16212
|
return await this.createPortWithOptions(request, runtime);
|
|
@@ -15097,6 +16298,16 @@ export default class Client extends OpenApi {
|
|
|
15097
16298
|
return await this.createSchedulerRuleWithOptions(request, runtime);
|
|
15098
16299
|
}
|
|
15099
16300
|
|
|
16301
|
+
/**
|
|
16302
|
+
* You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
|
|
16303
|
+
* > Anti-DDoS Premium does not support the tag feature.
|
|
16304
|
+
* ### Limits
|
|
16305
|
+
* 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.
|
|
16306
|
+
*
|
|
16307
|
+
* @param request CreateTagResourcesRequest
|
|
16308
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16309
|
+
* @return CreateTagResourcesResponse
|
|
16310
|
+
*/
|
|
15100
16311
|
async createTagResourcesWithOptions(request: CreateTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<CreateTagResourcesResponse> {
|
|
15101
16312
|
Util.validateModel(request);
|
|
15102
16313
|
let query = { };
|
|
@@ -15137,6 +16348,15 @@ export default class Client extends OpenApi {
|
|
|
15137
16348
|
return $tea.cast<CreateTagResourcesResponse>(await this.callApi(params, req, runtime), new CreateTagResourcesResponse({}));
|
|
15138
16349
|
}
|
|
15139
16350
|
|
|
16351
|
+
/**
|
|
16352
|
+
* You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
|
|
16353
|
+
* > Anti-DDoS Premium does not support the tag feature.
|
|
16354
|
+
* ### Limits
|
|
16355
|
+
* 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.
|
|
16356
|
+
*
|
|
16357
|
+
* @param request CreateTagResourcesRequest
|
|
16358
|
+
* @return CreateTagResourcesResponse
|
|
16359
|
+
*/
|
|
15140
16360
|
async createTagResources(request: CreateTagResourcesRequest): Promise<CreateTagResourcesResponse> {
|
|
15141
16361
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15142
16362
|
return await this.createTagResourcesWithOptions(request, runtime);
|
|
@@ -15413,6 +16633,14 @@ export default class Client extends OpenApi {
|
|
|
15413
16633
|
return await this.deleteNetworkRuleWithOptions(request, runtime);
|
|
15414
16634
|
}
|
|
15415
16635
|
|
|
16636
|
+
/**
|
|
16637
|
+
* 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.
|
|
16638
|
+
* > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
16639
|
+
*
|
|
16640
|
+
* @param request DeletePortRequest
|
|
16641
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16642
|
+
* @return DeletePortResponse
|
|
16643
|
+
*/
|
|
15416
16644
|
async deletePortWithOptions(request: DeletePortRequest, runtime: $Util.RuntimeOptions): Promise<DeletePortResponse> {
|
|
15417
16645
|
Util.validateModel(request);
|
|
15418
16646
|
let query = { };
|
|
@@ -15453,6 +16681,13 @@ export default class Client extends OpenApi {
|
|
|
15453
16681
|
return $tea.cast<DeletePortResponse>(await this.callApi(params, req, runtime), new DeletePortResponse({}));
|
|
15454
16682
|
}
|
|
15455
16683
|
|
|
16684
|
+
/**
|
|
16685
|
+
* 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.
|
|
16686
|
+
* > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
16687
|
+
*
|
|
16688
|
+
* @param request DeletePortRequest
|
|
16689
|
+
* @return DeletePortResponse
|
|
16690
|
+
*/
|
|
15456
16691
|
async deletePort(request: DeletePortRequest): Promise<DeletePortResponse> {
|
|
15457
16692
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15458
16693
|
return await this.deletePortWithOptions(request, runtime);
|
|
@@ -15520,6 +16755,16 @@ export default class Client extends OpenApi {
|
|
|
15520
16755
|
return await this.deleteSchedulerRuleWithOptions(request, runtime);
|
|
15521
16756
|
}
|
|
15522
16757
|
|
|
16758
|
+
/**
|
|
16759
|
+
* You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
|
|
16760
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
16761
|
+
* ### Limits
|
|
16762
|
+
* 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.
|
|
16763
|
+
*
|
|
16764
|
+
* @param request DeleteTagResourcesRequest
|
|
16765
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16766
|
+
* @return DeleteTagResourcesResponse
|
|
16767
|
+
*/
|
|
15523
16768
|
async deleteTagResourcesWithOptions(request: DeleteTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTagResourcesResponse> {
|
|
15524
16769
|
Util.validateModel(request);
|
|
15525
16770
|
let query = { };
|
|
@@ -15564,6 +16809,15 @@ export default class Client extends OpenApi {
|
|
|
15564
16809
|
return $tea.cast<DeleteTagResourcesResponse>(await this.callApi(params, req, runtime), new DeleteTagResourcesResponse({}));
|
|
15565
16810
|
}
|
|
15566
16811
|
|
|
16812
|
+
/**
|
|
16813
|
+
* You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
|
|
16814
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
16815
|
+
* ### Limits
|
|
16816
|
+
* 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.
|
|
16817
|
+
*
|
|
16818
|
+
* @param request DeleteTagResourcesRequest
|
|
16819
|
+
* @return DeleteTagResourcesResponse
|
|
16820
|
+
*/
|
|
15567
16821
|
async deleteTagResources(request: DeleteTagResourcesRequest): Promise<DeleteTagResourcesResponse> {
|
|
15568
16822
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15569
16823
|
return await this.deleteTagResourcesWithOptions(request, runtime);
|
|
@@ -15606,6 +16860,15 @@ export default class Client extends OpenApi {
|
|
|
15606
16860
|
return await this.deleteWebCCRuleWithOptions(request, runtime);
|
|
15607
16861
|
}
|
|
15608
16862
|
|
|
16863
|
+
/**
|
|
16864
|
+
* You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
|
|
16865
|
+
* ### Limits
|
|
16866
|
+
* 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.
|
|
16867
|
+
*
|
|
16868
|
+
* @param request DeleteWebCacheCustomRuleRequest
|
|
16869
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16870
|
+
* @return DeleteWebCacheCustomRuleResponse
|
|
16871
|
+
*/
|
|
15609
16872
|
async deleteWebCacheCustomRuleWithOptions(request: DeleteWebCacheCustomRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteWebCacheCustomRuleResponse> {
|
|
15610
16873
|
Util.validateModel(request);
|
|
15611
16874
|
let query = { };
|
|
@@ -15638,6 +16901,14 @@ export default class Client extends OpenApi {
|
|
|
15638
16901
|
return $tea.cast<DeleteWebCacheCustomRuleResponse>(await this.callApi(params, req, runtime), new DeleteWebCacheCustomRuleResponse({}));
|
|
15639
16902
|
}
|
|
15640
16903
|
|
|
16904
|
+
/**
|
|
16905
|
+
* You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
|
|
16906
|
+
* ### Limits
|
|
16907
|
+
* 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.
|
|
16908
|
+
*
|
|
16909
|
+
* @param request DeleteWebCacheCustomRuleRequest
|
|
16910
|
+
* @return DeleteWebCacheCustomRuleResponse
|
|
16911
|
+
*/
|
|
15641
16912
|
async deleteWebCacheCustomRule(request: DeleteWebCacheCustomRuleRequest): Promise<DeleteWebCacheCustomRuleResponse> {
|
|
15642
16913
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15643
16914
|
return await this.deleteWebCacheCustomRuleWithOptions(request, runtime);
|
|
@@ -15713,6 +16984,15 @@ export default class Client extends OpenApi {
|
|
|
15713
16984
|
return await this.deleteWebRuleWithOptions(request, runtime);
|
|
15714
16985
|
}
|
|
15715
16986
|
|
|
16987
|
+
/**
|
|
16988
|
+
* 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.
|
|
16989
|
+
* ### Limits
|
|
16990
|
+
* 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.
|
|
16991
|
+
*
|
|
16992
|
+
* @param request DescribeAsyncTasksRequest
|
|
16993
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16994
|
+
* @return DescribeAsyncTasksResponse
|
|
16995
|
+
*/
|
|
15716
16996
|
async describeAsyncTasksWithOptions(request: DescribeAsyncTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAsyncTasksResponse> {
|
|
15717
16997
|
Util.validateModel(request);
|
|
15718
16998
|
let query = { };
|
|
@@ -15745,6 +17025,14 @@ export default class Client extends OpenApi {
|
|
|
15745
17025
|
return $tea.cast<DescribeAsyncTasksResponse>(await this.callApi(params, req, runtime), new DescribeAsyncTasksResponse({}));
|
|
15746
17026
|
}
|
|
15747
17027
|
|
|
17028
|
+
/**
|
|
17029
|
+
* 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.
|
|
17030
|
+
* ### Limits
|
|
17031
|
+
* 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.
|
|
17032
|
+
*
|
|
17033
|
+
* @param request DescribeAsyncTasksRequest
|
|
17034
|
+
* @return DescribeAsyncTasksResponse
|
|
17035
|
+
*/
|
|
15748
17036
|
async describeAsyncTasks(request: DescribeAsyncTasksRequest): Promise<DescribeAsyncTasksResponse> {
|
|
15749
17037
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15750
17038
|
return await this.describeAsyncTasksWithOptions(request, runtime);
|
|
@@ -15901,6 +17189,10 @@ export default class Client extends OpenApi {
|
|
|
15901
17189
|
async describeBackSourceCidrWithOptions(request: DescribeBackSourceCidrRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackSourceCidrResponse> {
|
|
15902
17190
|
Util.validateModel(request);
|
|
15903
17191
|
let query = { };
|
|
17192
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
17193
|
+
query["IpVersion"] = request.ipVersion;
|
|
17194
|
+
}
|
|
17195
|
+
|
|
15904
17196
|
if (!Util.isUnset(request.line)) {
|
|
15905
17197
|
query["Line"] = request.line;
|
|
15906
17198
|
}
|
|
@@ -15960,6 +17252,16 @@ export default class Client extends OpenApi {
|
|
|
15960
17252
|
return await this.describeBlackholeStatusWithOptions(request, runtime);
|
|
15961
17253
|
}
|
|
15962
17254
|
|
|
17255
|
+
/**
|
|
17256
|
+
* This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
|
|
17257
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17258
|
+
* ### Limits
|
|
17259
|
+
* 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.
|
|
17260
|
+
*
|
|
17261
|
+
* @param request DescribeBlockStatusRequest
|
|
17262
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17263
|
+
* @return DescribeBlockStatusResponse
|
|
17264
|
+
*/
|
|
15963
17265
|
async describeBlockStatusWithOptions(request: DescribeBlockStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBlockStatusResponse> {
|
|
15964
17266
|
Util.validateModel(request);
|
|
15965
17267
|
let query = { };
|
|
@@ -15988,6 +17290,15 @@ export default class Client extends OpenApi {
|
|
|
15988
17290
|
return $tea.cast<DescribeBlockStatusResponse>(await this.callApi(params, req, runtime), new DescribeBlockStatusResponse({}));
|
|
15989
17291
|
}
|
|
15990
17292
|
|
|
17293
|
+
/**
|
|
17294
|
+
* This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
|
|
17295
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17296
|
+
* ### Limits
|
|
17297
|
+
* 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.
|
|
17298
|
+
*
|
|
17299
|
+
* @param request DescribeBlockStatusRequest
|
|
17300
|
+
* @return DescribeBlockStatusResponse
|
|
17301
|
+
*/
|
|
15991
17302
|
async describeBlockStatus(request: DescribeBlockStatusRequest): Promise<DescribeBlockStatusResponse> {
|
|
15992
17303
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15993
17304
|
return await this.describeBlockStatusWithOptions(request, runtime);
|
|
@@ -16108,6 +17419,15 @@ export default class Client extends OpenApi {
|
|
|
16108
17419
|
return await this.describeDDoSEventsWithOptions(request, runtime);
|
|
16109
17420
|
}
|
|
16110
17421
|
|
|
17422
|
+
/**
|
|
17423
|
+
* 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.
|
|
17424
|
+
* ### Limits
|
|
17425
|
+
* 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.
|
|
17426
|
+
*
|
|
17427
|
+
* @param request DescribeDDosAllEventListRequest
|
|
17428
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17429
|
+
* @return DescribeDDosAllEventListResponse
|
|
17430
|
+
*/
|
|
16111
17431
|
async describeDDosAllEventListWithOptions(request: DescribeDDosAllEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosAllEventListResponse> {
|
|
16112
17432
|
Util.validateModel(request);
|
|
16113
17433
|
let query = { };
|
|
@@ -16148,11 +17468,26 @@ export default class Client extends OpenApi {
|
|
|
16148
17468
|
return $tea.cast<DescribeDDosAllEventListResponse>(await this.callApi(params, req, runtime), new DescribeDDosAllEventListResponse({}));
|
|
16149
17469
|
}
|
|
16150
17470
|
|
|
17471
|
+
/**
|
|
17472
|
+
* 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.
|
|
17473
|
+
* ### Limits
|
|
17474
|
+
* 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.
|
|
17475
|
+
*
|
|
17476
|
+
* @param request DescribeDDosAllEventListRequest
|
|
17477
|
+
* @return DescribeDDosAllEventListResponse
|
|
17478
|
+
*/
|
|
16151
17479
|
async describeDDosAllEventList(request: DescribeDDosAllEventListRequest): Promise<DescribeDDosAllEventListResponse> {
|
|
16152
17480
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16153
17481
|
return await this.describeDDosAllEventListWithOptions(request, runtime);
|
|
16154
17482
|
}
|
|
16155
17483
|
|
|
17484
|
+
/**
|
|
17485
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17486
|
+
*
|
|
17487
|
+
* @param request DescribeDDosEventAreaRequest
|
|
17488
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17489
|
+
* @return DescribeDDosEventAreaResponse
|
|
17490
|
+
*/
|
|
16156
17491
|
async describeDDosEventAreaWithOptions(request: DescribeDDosEventAreaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventAreaResponse> {
|
|
16157
17492
|
Util.validateModel(request);
|
|
16158
17493
|
let query = { };
|
|
@@ -16185,11 +17520,24 @@ export default class Client extends OpenApi {
|
|
|
16185
17520
|
return $tea.cast<DescribeDDosEventAreaResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventAreaResponse({}));
|
|
16186
17521
|
}
|
|
16187
17522
|
|
|
17523
|
+
/**
|
|
17524
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17525
|
+
*
|
|
17526
|
+
* @param request DescribeDDosEventAreaRequest
|
|
17527
|
+
* @return DescribeDDosEventAreaResponse
|
|
17528
|
+
*/
|
|
16188
17529
|
async describeDDosEventArea(request: DescribeDDosEventAreaRequest): Promise<DescribeDDosEventAreaResponse> {
|
|
16189
17530
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16190
17531
|
return await this.describeDDosEventAreaWithOptions(request, runtime);
|
|
16191
17532
|
}
|
|
16192
17533
|
|
|
17534
|
+
/**
|
|
17535
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17536
|
+
*
|
|
17537
|
+
* @param request DescribeDDosEventAttackTypeRequest
|
|
17538
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17539
|
+
* @return DescribeDDosEventAttackTypeResponse
|
|
17540
|
+
*/
|
|
16193
17541
|
async describeDDosEventAttackTypeWithOptions(request: DescribeDDosEventAttackTypeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventAttackTypeResponse> {
|
|
16194
17542
|
Util.validateModel(request);
|
|
16195
17543
|
let query = { };
|
|
@@ -16222,11 +17570,24 @@ export default class Client extends OpenApi {
|
|
|
16222
17570
|
return $tea.cast<DescribeDDosEventAttackTypeResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventAttackTypeResponse({}));
|
|
16223
17571
|
}
|
|
16224
17572
|
|
|
17573
|
+
/**
|
|
17574
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17575
|
+
*
|
|
17576
|
+
* @param request DescribeDDosEventAttackTypeRequest
|
|
17577
|
+
* @return DescribeDDosEventAttackTypeResponse
|
|
17578
|
+
*/
|
|
16225
17579
|
async describeDDosEventAttackType(request: DescribeDDosEventAttackTypeRequest): Promise<DescribeDDosEventAttackTypeResponse> {
|
|
16226
17580
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16227
17581
|
return await this.describeDDosEventAttackTypeWithOptions(request, runtime);
|
|
16228
17582
|
}
|
|
16229
17583
|
|
|
17584
|
+
/**
|
|
17585
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17586
|
+
*
|
|
17587
|
+
* @param request DescribeDDosEventIspRequest
|
|
17588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17589
|
+
* @return DescribeDDosEventIspResponse
|
|
17590
|
+
*/
|
|
16230
17591
|
async describeDDosEventIspWithOptions(request: DescribeDDosEventIspRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventIspResponse> {
|
|
16231
17592
|
Util.validateModel(request);
|
|
16232
17593
|
let query = { };
|
|
@@ -16259,6 +17620,12 @@ export default class Client extends OpenApi {
|
|
|
16259
17620
|
return $tea.cast<DescribeDDosEventIspResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventIspResponse({}));
|
|
16260
17621
|
}
|
|
16261
17622
|
|
|
17623
|
+
/**
|
|
17624
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17625
|
+
*
|
|
17626
|
+
* @param request DescribeDDosEventIspRequest
|
|
17627
|
+
* @return DescribeDDosEventIspResponse
|
|
17628
|
+
*/
|
|
16262
17629
|
async describeDDosEventIsp(request: DescribeDDosEventIspRequest): Promise<DescribeDDosEventIspResponse> {
|
|
16263
17630
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16264
17631
|
return await this.describeDDosEventIspWithOptions(request, runtime);
|
|
@@ -16297,6 +17664,13 @@ export default class Client extends OpenApi {
|
|
|
16297
17664
|
return await this.describeDDosEventMaxWithOptions(request, runtime);
|
|
16298
17665
|
}
|
|
16299
17666
|
|
|
17667
|
+
/**
|
|
17668
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17669
|
+
*
|
|
17670
|
+
* @param request DescribeDDosEventSrcIpRequest
|
|
17671
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17672
|
+
* @return DescribeDDosEventSrcIpResponse
|
|
17673
|
+
*/
|
|
16300
17674
|
async describeDDosEventSrcIpWithOptions(request: DescribeDDosEventSrcIpRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventSrcIpResponse> {
|
|
16301
17675
|
Util.validateModel(request);
|
|
16302
17676
|
let query = { };
|
|
@@ -16333,11 +17707,27 @@ export default class Client extends OpenApi {
|
|
|
16333
17707
|
return $tea.cast<DescribeDDosEventSrcIpResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventSrcIpResponse({}));
|
|
16334
17708
|
}
|
|
16335
17709
|
|
|
17710
|
+
/**
|
|
17711
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17712
|
+
*
|
|
17713
|
+
* @param request DescribeDDosEventSrcIpRequest
|
|
17714
|
+
* @return DescribeDDosEventSrcIpResponse
|
|
17715
|
+
*/
|
|
16336
17716
|
async describeDDosEventSrcIp(request: DescribeDDosEventSrcIpRequest): Promise<DescribeDDosEventSrcIpResponse> {
|
|
16337
17717
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16338
17718
|
return await this.describeDDosEventSrcIpWithOptions(request, runtime);
|
|
16339
17719
|
}
|
|
16340
17720
|
|
|
17721
|
+
/**
|
|
17722
|
+
* 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.
|
|
17723
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17724
|
+
* ### Limits
|
|
17725
|
+
* 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.
|
|
17726
|
+
*
|
|
17727
|
+
* @param request DescribeDefenseCountStatisticsRequest
|
|
17728
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17729
|
+
* @return DescribeDefenseCountStatisticsResponse
|
|
17730
|
+
*/
|
|
16341
17731
|
async describeDefenseCountStatisticsWithOptions(request: DescribeDefenseCountStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseCountStatisticsResponse> {
|
|
16342
17732
|
Util.validateModel(request);
|
|
16343
17733
|
let query = { };
|
|
@@ -16362,11 +17752,27 @@ export default class Client extends OpenApi {
|
|
|
16362
17752
|
return $tea.cast<DescribeDefenseCountStatisticsResponse>(await this.callApi(params, req, runtime), new DescribeDefenseCountStatisticsResponse({}));
|
|
16363
17753
|
}
|
|
16364
17754
|
|
|
17755
|
+
/**
|
|
17756
|
+
* 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.
|
|
17757
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17758
|
+
* ### Limits
|
|
17759
|
+
* 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.
|
|
17760
|
+
*
|
|
17761
|
+
* @param request DescribeDefenseCountStatisticsRequest
|
|
17762
|
+
* @return DescribeDefenseCountStatisticsResponse
|
|
17763
|
+
*/
|
|
16365
17764
|
async describeDefenseCountStatistics(request: DescribeDefenseCountStatisticsRequest): Promise<DescribeDefenseCountStatisticsResponse> {
|
|
16366
17765
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16367
17766
|
return await this.describeDefenseCountStatisticsWithOptions(request, runtime);
|
|
16368
17767
|
}
|
|
16369
17768
|
|
|
17769
|
+
/**
|
|
17770
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17771
|
+
*
|
|
17772
|
+
* @param request DescribeDefenseRecordsRequest
|
|
17773
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17774
|
+
* @return DescribeDefenseRecordsResponse
|
|
17775
|
+
*/
|
|
16370
17776
|
async describeDefenseRecordsWithOptions(request: DescribeDefenseRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseRecordsResponse> {
|
|
16371
17777
|
Util.validateModel(request);
|
|
16372
17778
|
let query = { };
|
|
@@ -16411,6 +17817,12 @@ export default class Client extends OpenApi {
|
|
|
16411
17817
|
return $tea.cast<DescribeDefenseRecordsResponse>(await this.callApi(params, req, runtime), new DescribeDefenseRecordsResponse({}));
|
|
16412
17818
|
}
|
|
16413
17819
|
|
|
17820
|
+
/**
|
|
17821
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17822
|
+
*
|
|
17823
|
+
* @param request DescribeDefenseRecordsRequest
|
|
17824
|
+
* @return DescribeDefenseRecordsResponse
|
|
17825
|
+
*/
|
|
16414
17826
|
async describeDefenseRecords(request: DescribeDefenseRecordsRequest): Promise<DescribeDefenseRecordsResponse> {
|
|
16415
17827
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16416
17828
|
return await this.describeDefenseRecordsWithOptions(request, runtime);
|
|
@@ -16592,6 +18004,16 @@ export default class Client extends OpenApi {
|
|
|
16592
18004
|
return await this.describeDomainQpsWithCacheWithOptions(request, runtime);
|
|
16593
18005
|
}
|
|
16594
18006
|
|
|
18007
|
+
/**
|
|
18008
|
+
* 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.
|
|
18009
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
18010
|
+
* ### Limits
|
|
18011
|
+
* 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.
|
|
18012
|
+
*
|
|
18013
|
+
* @param request DescribeDomainResourceRequest
|
|
18014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18015
|
+
* @return DescribeDomainResourceResponse
|
|
18016
|
+
*/
|
|
16595
18017
|
async describeDomainResourceWithOptions(request: DescribeDomainResourceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainResourceResponse> {
|
|
16596
18018
|
Util.validateModel(request);
|
|
16597
18019
|
let query = { };
|
|
@@ -16632,11 +18054,49 @@ export default class Client extends OpenApi {
|
|
|
16632
18054
|
return $tea.cast<DescribeDomainResourceResponse>(await this.callApi(params, req, runtime), new DescribeDomainResourceResponse({}));
|
|
16633
18055
|
}
|
|
16634
18056
|
|
|
18057
|
+
/**
|
|
18058
|
+
* 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.
|
|
18059
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
18060
|
+
* ### Limits
|
|
18061
|
+
* 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.
|
|
18062
|
+
*
|
|
18063
|
+
* @param request DescribeDomainResourceRequest
|
|
18064
|
+
* @return DescribeDomainResourceResponse
|
|
18065
|
+
*/
|
|
16635
18066
|
async describeDomainResource(request: DescribeDomainResourceRequest): Promise<DescribeDomainResourceResponse> {
|
|
16636
18067
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16637
18068
|
return await this.describeDomainResourceWithOptions(request, runtime);
|
|
16638
18069
|
}
|
|
16639
18070
|
|
|
18071
|
+
async describeDomainSecurityProfileWithOptions(request: DescribeDomainSecurityProfileRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainSecurityProfileResponse> {
|
|
18072
|
+
Util.validateModel(request);
|
|
18073
|
+
let query = { };
|
|
18074
|
+
if (!Util.isUnset(request.domain)) {
|
|
18075
|
+
query["Domain"] = request.domain;
|
|
18076
|
+
}
|
|
18077
|
+
|
|
18078
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18079
|
+
query: OpenApiUtil.query(query),
|
|
18080
|
+
});
|
|
18081
|
+
let params = new $OpenApi.Params({
|
|
18082
|
+
action: "DescribeDomainSecurityProfile",
|
|
18083
|
+
version: "2020-01-01",
|
|
18084
|
+
protocol: "HTTPS",
|
|
18085
|
+
pathname: "/",
|
|
18086
|
+
method: "POST",
|
|
18087
|
+
authType: "AK",
|
|
18088
|
+
style: "RPC",
|
|
18089
|
+
reqBodyType: "formData",
|
|
18090
|
+
bodyType: "json",
|
|
18091
|
+
});
|
|
18092
|
+
return $tea.cast<DescribeDomainSecurityProfileResponse>(await this.callApi(params, req, runtime), new DescribeDomainSecurityProfileResponse({}));
|
|
18093
|
+
}
|
|
18094
|
+
|
|
18095
|
+
async describeDomainSecurityProfile(request: DescribeDomainSecurityProfileRequest): Promise<DescribeDomainSecurityProfileResponse> {
|
|
18096
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18097
|
+
return await this.describeDomainSecurityProfileWithOptions(request, runtime);
|
|
18098
|
+
}
|
|
18099
|
+
|
|
16640
18100
|
async describeDomainStatusCodeCountWithOptions(request: DescribeDomainStatusCodeCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainStatusCodeCountResponse> {
|
|
16641
18101
|
Util.validateModel(request);
|
|
16642
18102
|
let query = { };
|
|
@@ -16969,6 +18429,13 @@ export default class Client extends OpenApi {
|
|
|
16969
18429
|
return await this.describeDomainsWithOptions(request, runtime);
|
|
16970
18430
|
}
|
|
16971
18431
|
|
|
18432
|
+
/**
|
|
18433
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
18434
|
+
*
|
|
18435
|
+
* @param request DescribeElasticBandwidthSpecRequest
|
|
18436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18437
|
+
* @return DescribeElasticBandwidthSpecResponse
|
|
18438
|
+
*/
|
|
16972
18439
|
async describeElasticBandwidthSpecWithOptions(request: DescribeElasticBandwidthSpecRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticBandwidthSpecResponse> {
|
|
16973
18440
|
Util.validateModel(request);
|
|
16974
18441
|
let query = { };
|
|
@@ -16993,11 +18460,50 @@ export default class Client extends OpenApi {
|
|
|
16993
18460
|
return $tea.cast<DescribeElasticBandwidthSpecResponse>(await this.callApi(params, req, runtime), new DescribeElasticBandwidthSpecResponse({}));
|
|
16994
18461
|
}
|
|
16995
18462
|
|
|
18463
|
+
/**
|
|
18464
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
18465
|
+
*
|
|
18466
|
+
* @param request DescribeElasticBandwidthSpecRequest
|
|
18467
|
+
* @return DescribeElasticBandwidthSpecResponse
|
|
18468
|
+
*/
|
|
16996
18469
|
async describeElasticBandwidthSpec(request: DescribeElasticBandwidthSpecRequest): Promise<DescribeElasticBandwidthSpecResponse> {
|
|
16997
18470
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16998
18471
|
return await this.describeElasticBandwidthSpecWithOptions(request, runtime);
|
|
16999
18472
|
}
|
|
17000
18473
|
|
|
18474
|
+
async describeHeadersWithOptions(request: DescribeHeadersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHeadersResponse> {
|
|
18475
|
+
Util.validateModel(request);
|
|
18476
|
+
let query = { };
|
|
18477
|
+
if (!Util.isUnset(request.domain)) {
|
|
18478
|
+
query["Domain"] = request.domain;
|
|
18479
|
+
}
|
|
18480
|
+
|
|
18481
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
18482
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
18483
|
+
}
|
|
18484
|
+
|
|
18485
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18486
|
+
query: OpenApiUtil.query(query),
|
|
18487
|
+
});
|
|
18488
|
+
let params = new $OpenApi.Params({
|
|
18489
|
+
action: "DescribeHeaders",
|
|
18490
|
+
version: "2020-01-01",
|
|
18491
|
+
protocol: "HTTPS",
|
|
18492
|
+
pathname: "/",
|
|
18493
|
+
method: "POST",
|
|
18494
|
+
authType: "AK",
|
|
18495
|
+
style: "RPC",
|
|
18496
|
+
reqBodyType: "formData",
|
|
18497
|
+
bodyType: "json",
|
|
18498
|
+
});
|
|
18499
|
+
return $tea.cast<DescribeHeadersResponse>(await this.callApi(params, req, runtime), new DescribeHeadersResponse({}));
|
|
18500
|
+
}
|
|
18501
|
+
|
|
18502
|
+
async describeHeaders(request: DescribeHeadersRequest): Promise<DescribeHeadersResponse> {
|
|
18503
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18504
|
+
return await this.describeHeadersWithOptions(request, runtime);
|
|
18505
|
+
}
|
|
18506
|
+
|
|
17001
18507
|
async describeHealthCheckListWithOptions(request: DescribeHealthCheckListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHealthCheckListResponse> {
|
|
17002
18508
|
Util.validateModel(request);
|
|
17003
18509
|
let query = { };
|
|
@@ -17056,6 +18562,15 @@ export default class Client extends OpenApi {
|
|
|
17056
18562
|
return await this.describeHealthCheckStatusWithOptions(request, runtime);
|
|
17057
18563
|
}
|
|
17058
18564
|
|
|
18565
|
+
/**
|
|
18566
|
+
* 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.
|
|
18567
|
+
* ### Limits
|
|
18568
|
+
* 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.
|
|
18569
|
+
*
|
|
18570
|
+
* @param request DescribeInstanceDetailsRequest
|
|
18571
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18572
|
+
* @return DescribeInstanceDetailsResponse
|
|
18573
|
+
*/
|
|
17059
18574
|
async describeInstanceDetailsWithOptions(request: DescribeInstanceDetailsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceDetailsResponse> {
|
|
17060
18575
|
Util.validateModel(request);
|
|
17061
18576
|
let query = { };
|
|
@@ -17080,11 +18595,56 @@ export default class Client extends OpenApi {
|
|
|
17080
18595
|
return $tea.cast<DescribeInstanceDetailsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceDetailsResponse({}));
|
|
17081
18596
|
}
|
|
17082
18597
|
|
|
18598
|
+
/**
|
|
18599
|
+
* 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.
|
|
18600
|
+
* ### Limits
|
|
18601
|
+
* 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.
|
|
18602
|
+
*
|
|
18603
|
+
* @param request DescribeInstanceDetailsRequest
|
|
18604
|
+
* @return DescribeInstanceDetailsResponse
|
|
18605
|
+
*/
|
|
17083
18606
|
async describeInstanceDetails(request: DescribeInstanceDetailsRequest): Promise<DescribeInstanceDetailsResponse> {
|
|
17084
18607
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17085
18608
|
return await this.describeInstanceDetailsWithOptions(request, runtime);
|
|
17086
18609
|
}
|
|
17087
18610
|
|
|
18611
|
+
async describeInstanceExtWithOptions(request: DescribeInstanceExtRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceExtResponse> {
|
|
18612
|
+
Util.validateModel(request);
|
|
18613
|
+
let query = { };
|
|
18614
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
18615
|
+
query["InstanceId"] = request.instanceId;
|
|
18616
|
+
}
|
|
18617
|
+
|
|
18618
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
18619
|
+
query["PageNumber"] = request.pageNumber;
|
|
18620
|
+
}
|
|
18621
|
+
|
|
18622
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
18623
|
+
query["PageSize"] = request.pageSize;
|
|
18624
|
+
}
|
|
18625
|
+
|
|
18626
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18627
|
+
query: OpenApiUtil.query(query),
|
|
18628
|
+
});
|
|
18629
|
+
let params = new $OpenApi.Params({
|
|
18630
|
+
action: "DescribeInstanceExt",
|
|
18631
|
+
version: "2020-01-01",
|
|
18632
|
+
protocol: "HTTPS",
|
|
18633
|
+
pathname: "/",
|
|
18634
|
+
method: "POST",
|
|
18635
|
+
authType: "AK",
|
|
18636
|
+
style: "RPC",
|
|
18637
|
+
reqBodyType: "formData",
|
|
18638
|
+
bodyType: "json",
|
|
18639
|
+
});
|
|
18640
|
+
return $tea.cast<DescribeInstanceExtResponse>(await this.callApi(params, req, runtime), new DescribeInstanceExtResponse({}));
|
|
18641
|
+
}
|
|
18642
|
+
|
|
18643
|
+
async describeInstanceExt(request: DescribeInstanceExtRequest): Promise<DescribeInstanceExtResponse> {
|
|
18644
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18645
|
+
return await this.describeInstanceExtWithOptions(request, runtime);
|
|
18646
|
+
}
|
|
18647
|
+
|
|
17088
18648
|
async describeInstanceIdsWithOptions(request: DescribeInstanceIdsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceIdsResponse> {
|
|
17089
18649
|
Util.validateModel(request);
|
|
17090
18650
|
let query = { };
|
|
@@ -17122,6 +18682,15 @@ export default class Client extends OpenApi {
|
|
|
17122
18682
|
return await this.describeInstanceIdsWithOptions(request, runtime);
|
|
17123
18683
|
}
|
|
17124
18684
|
|
|
18685
|
+
/**
|
|
18686
|
+
* 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.
|
|
18687
|
+
* ### Limits
|
|
18688
|
+
* 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.
|
|
18689
|
+
*
|
|
18690
|
+
* @param request DescribeInstanceSpecsRequest
|
|
18691
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18692
|
+
* @return DescribeInstanceSpecsResponse
|
|
18693
|
+
*/
|
|
17125
18694
|
async describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse> {
|
|
17126
18695
|
Util.validateModel(request);
|
|
17127
18696
|
let query = { };
|
|
@@ -17146,6 +18715,14 @@ export default class Client extends OpenApi {
|
|
|
17146
18715
|
return $tea.cast<DescribeInstanceSpecsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
17147
18716
|
}
|
|
17148
18717
|
|
|
18718
|
+
/**
|
|
18719
|
+
* 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.
|
|
18720
|
+
* ### Limits
|
|
18721
|
+
* 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.
|
|
18722
|
+
*
|
|
18723
|
+
* @param request DescribeInstanceSpecsRequest
|
|
18724
|
+
* @return DescribeInstanceSpecsResponse
|
|
18725
|
+
*/
|
|
17149
18726
|
async describeInstanceSpecs(request: DescribeInstanceSpecsRequest): Promise<DescribeInstanceSpecsResponse> {
|
|
17150
18727
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17151
18728
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
@@ -17213,6 +18790,13 @@ export default class Client extends OpenApi {
|
|
|
17213
18790
|
return await this.describeInstanceStatusWithOptions(request, runtime);
|
|
17214
18791
|
}
|
|
17215
18792
|
|
|
18793
|
+
/**
|
|
18794
|
+
* 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.
|
|
18795
|
+
*
|
|
18796
|
+
* @param request DescribeInstancesRequest
|
|
18797
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18798
|
+
* @return DescribeInstancesResponse
|
|
18799
|
+
*/
|
|
17216
18800
|
async describeInstancesWithOptions(request: DescribeInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesResponse> {
|
|
17217
18801
|
Util.validateModel(request);
|
|
17218
18802
|
let query = { };
|
|
@@ -17281,6 +18865,12 @@ export default class Client extends OpenApi {
|
|
|
17281
18865
|
return $tea.cast<DescribeInstancesResponse>(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
|
|
17282
18866
|
}
|
|
17283
18867
|
|
|
18868
|
+
/**
|
|
18869
|
+
* 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.
|
|
18870
|
+
*
|
|
18871
|
+
* @param request DescribeInstancesRequest
|
|
18872
|
+
* @return DescribeInstancesResponse
|
|
18873
|
+
*/
|
|
17284
18874
|
async describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse> {
|
|
17285
18875
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17286
18876
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
@@ -17484,6 +19074,14 @@ export default class Client extends OpenApi {
|
|
|
17484
19074
|
return await this.describeNetworkRulesWithOptions(request, runtime);
|
|
17485
19075
|
}
|
|
17486
19076
|
|
|
19077
|
+
/**
|
|
19078
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
19079
|
+
* 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.
|
|
19080
|
+
*
|
|
19081
|
+
* @param request DescribeOpEntitiesRequest
|
|
19082
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19083
|
+
* @return DescribeOpEntitiesResponse
|
|
19084
|
+
*/
|
|
17487
19085
|
async describeOpEntitiesWithOptions(request: DescribeOpEntitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOpEntitiesResponse> {
|
|
17488
19086
|
Util.validateModel(request);
|
|
17489
19087
|
let query = { };
|
|
@@ -17532,11 +19130,25 @@ export default class Client extends OpenApi {
|
|
|
17532
19130
|
return $tea.cast<DescribeOpEntitiesResponse>(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
17533
19131
|
}
|
|
17534
19132
|
|
|
19133
|
+
/**
|
|
19134
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
19135
|
+
* 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.
|
|
19136
|
+
*
|
|
19137
|
+
* @param request DescribeOpEntitiesRequest
|
|
19138
|
+
* @return DescribeOpEntitiesResponse
|
|
19139
|
+
*/
|
|
17535
19140
|
async describeOpEntities(request: DescribeOpEntitiesRequest): Promise<DescribeOpEntitiesResponse> {
|
|
17536
19141
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17537
19142
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
17538
19143
|
}
|
|
17539
19144
|
|
|
19145
|
+
/**
|
|
19146
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
19147
|
+
*
|
|
19148
|
+
* @param request DescribePortRequest
|
|
19149
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19150
|
+
* @return DescribePortResponse
|
|
19151
|
+
*/
|
|
17540
19152
|
async describePortWithOptions(request: DescribePortRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortResponse> {
|
|
17541
19153
|
Util.validateModel(request);
|
|
17542
19154
|
let query = { };
|
|
@@ -17577,11 +19189,26 @@ export default class Client extends OpenApi {
|
|
|
17577
19189
|
return $tea.cast<DescribePortResponse>(await this.callApi(params, req, runtime), new DescribePortResponse({}));
|
|
17578
19190
|
}
|
|
17579
19191
|
|
|
19192
|
+
/**
|
|
19193
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
19194
|
+
*
|
|
19195
|
+
* @param request DescribePortRequest
|
|
19196
|
+
* @return DescribePortResponse
|
|
19197
|
+
*/
|
|
17580
19198
|
async describePort(request: DescribePortRequest): Promise<DescribePortResponse> {
|
|
17581
19199
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17582
19200
|
return await this.describePortWithOptions(request, runtime);
|
|
17583
19201
|
}
|
|
17584
19202
|
|
|
19203
|
+
/**
|
|
19204
|
+
* 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.
|
|
19205
|
+
* ### Limits
|
|
19206
|
+
* 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.
|
|
19207
|
+
*
|
|
19208
|
+
* @param request DescribePortAttackMaxFlowRequest
|
|
19209
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19210
|
+
* @return DescribePortAttackMaxFlowResponse
|
|
19211
|
+
*/
|
|
17585
19212
|
async describePortAttackMaxFlowWithOptions(request: DescribePortAttackMaxFlowRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortAttackMaxFlowResponse> {
|
|
17586
19213
|
Util.validateModel(request);
|
|
17587
19214
|
let query = { };
|
|
@@ -17618,23 +19245,72 @@ export default class Client extends OpenApi {
|
|
|
17618
19245
|
return $tea.cast<DescribePortAttackMaxFlowResponse>(await this.callApi(params, req, runtime), new DescribePortAttackMaxFlowResponse({}));
|
|
17619
19246
|
}
|
|
17620
19247
|
|
|
19248
|
+
/**
|
|
19249
|
+
* 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.
|
|
19250
|
+
* ### Limits
|
|
19251
|
+
* 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.
|
|
19252
|
+
*
|
|
19253
|
+
* @param request DescribePortAttackMaxFlowRequest
|
|
19254
|
+
* @return DescribePortAttackMaxFlowResponse
|
|
19255
|
+
*/
|
|
17621
19256
|
async describePortAttackMaxFlow(request: DescribePortAttackMaxFlowRequest): Promise<DescribePortAttackMaxFlowResponse> {
|
|
17622
19257
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17623
|
-
return await this.describePortAttackMaxFlowWithOptions(request, runtime);
|
|
19258
|
+
return await this.describePortAttackMaxFlowWithOptions(request, runtime);
|
|
19259
|
+
}
|
|
19260
|
+
|
|
19261
|
+
async describePortAutoCcStatusWithOptions(request: DescribePortAutoCcStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortAutoCcStatusResponse> {
|
|
19262
|
+
Util.validateModel(request);
|
|
19263
|
+
let query = { };
|
|
19264
|
+
if (!Util.isUnset(request.instanceIds)) {
|
|
19265
|
+
query["InstanceIds"] = request.instanceIds;
|
|
19266
|
+
}
|
|
19267
|
+
|
|
19268
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19269
|
+
query: OpenApiUtil.query(query),
|
|
19270
|
+
});
|
|
19271
|
+
let params = new $OpenApi.Params({
|
|
19272
|
+
action: "DescribePortAutoCcStatus",
|
|
19273
|
+
version: "2020-01-01",
|
|
19274
|
+
protocol: "HTTPS",
|
|
19275
|
+
pathname: "/",
|
|
19276
|
+
method: "POST",
|
|
19277
|
+
authType: "AK",
|
|
19278
|
+
style: "RPC",
|
|
19279
|
+
reqBodyType: "formData",
|
|
19280
|
+
bodyType: "json",
|
|
19281
|
+
});
|
|
19282
|
+
return $tea.cast<DescribePortAutoCcStatusResponse>(await this.callApi(params, req, runtime), new DescribePortAutoCcStatusResponse({}));
|
|
19283
|
+
}
|
|
19284
|
+
|
|
19285
|
+
async describePortAutoCcStatus(request: DescribePortAutoCcStatusRequest): Promise<DescribePortAutoCcStatusResponse> {
|
|
19286
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19287
|
+
return await this.describePortAutoCcStatusWithOptions(request, runtime);
|
|
17624
19288
|
}
|
|
17625
19289
|
|
|
17626
|
-
async
|
|
19290
|
+
async describePortCcAttackTopIPWithOptions(request: DescribePortCcAttackTopIPRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortCcAttackTopIPResponse> {
|
|
17627
19291
|
Util.validateModel(request);
|
|
17628
19292
|
let query = { };
|
|
17629
|
-
if (!Util.isUnset(request.
|
|
17630
|
-
query["
|
|
19293
|
+
if (!Util.isUnset(request.ip)) {
|
|
19294
|
+
query["Ip"] = request.ip;
|
|
19295
|
+
}
|
|
19296
|
+
|
|
19297
|
+
if (!Util.isUnset(request.limit)) {
|
|
19298
|
+
query["Limit"] = request.limit;
|
|
19299
|
+
}
|
|
19300
|
+
|
|
19301
|
+
if (!Util.isUnset(request.port)) {
|
|
19302
|
+
query["Port"] = request.port;
|
|
19303
|
+
}
|
|
19304
|
+
|
|
19305
|
+
if (!Util.isUnset(request.startTimestamp)) {
|
|
19306
|
+
query["StartTimestamp"] = request.startTimestamp;
|
|
17631
19307
|
}
|
|
17632
19308
|
|
|
17633
19309
|
let req = new $OpenApi.OpenApiRequest({
|
|
17634
19310
|
query: OpenApiUtil.query(query),
|
|
17635
19311
|
});
|
|
17636
19312
|
let params = new $OpenApi.Params({
|
|
17637
|
-
action: "
|
|
19313
|
+
action: "DescribePortCcAttackTopIP",
|
|
17638
19314
|
version: "2020-01-01",
|
|
17639
19315
|
protocol: "HTTPS",
|
|
17640
19316
|
pathname: "/",
|
|
@@ -17644,12 +19320,12 @@ export default class Client extends OpenApi {
|
|
|
17644
19320
|
reqBodyType: "formData",
|
|
17645
19321
|
bodyType: "json",
|
|
17646
19322
|
});
|
|
17647
|
-
return $tea.cast<
|
|
19323
|
+
return $tea.cast<DescribePortCcAttackTopIPResponse>(await this.callApi(params, req, runtime), new DescribePortCcAttackTopIPResponse({}));
|
|
17648
19324
|
}
|
|
17649
19325
|
|
|
17650
|
-
async
|
|
19326
|
+
async describePortCcAttackTopIP(request: DescribePortCcAttackTopIPRequest): Promise<DescribePortCcAttackTopIPResponse> {
|
|
17651
19327
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17652
|
-
return await this.
|
|
19328
|
+
return await this.describePortCcAttackTopIPWithOptions(request, runtime);
|
|
17653
19329
|
}
|
|
17654
19330
|
|
|
17655
19331
|
async describePortConnsCountWithOptions(request: DescribePortConnsCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortConnsCountResponse> {
|
|
@@ -17873,6 +19549,16 @@ export default class Client extends OpenApi {
|
|
|
17873
19549
|
return await this.describePortViewSourceCountriesWithOptions(request, runtime);
|
|
17874
19550
|
}
|
|
17875
19551
|
|
|
19552
|
+
/**
|
|
19553
|
+
* 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.
|
|
19554
|
+
* > 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.
|
|
19555
|
+
* ### Limits
|
|
19556
|
+
* 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.
|
|
19557
|
+
*
|
|
19558
|
+
* @param request DescribePortViewSourceIspsRequest
|
|
19559
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19560
|
+
* @return DescribePortViewSourceIspsResponse
|
|
19561
|
+
*/
|
|
17876
19562
|
async describePortViewSourceIspsWithOptions(request: DescribePortViewSourceIspsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortViewSourceIspsResponse> {
|
|
17877
19563
|
Util.validateModel(request);
|
|
17878
19564
|
let query = { };
|
|
@@ -17909,6 +19595,15 @@ export default class Client extends OpenApi {
|
|
|
17909
19595
|
return $tea.cast<DescribePortViewSourceIspsResponse>(await this.callApi(params, req, runtime), new DescribePortViewSourceIspsResponse({}));
|
|
17910
19596
|
}
|
|
17911
19597
|
|
|
19598
|
+
/**
|
|
19599
|
+
* 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.
|
|
19600
|
+
* > 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.
|
|
19601
|
+
* ### Limits
|
|
19602
|
+
* 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.
|
|
19603
|
+
*
|
|
19604
|
+
* @param request DescribePortViewSourceIspsRequest
|
|
19605
|
+
* @return DescribePortViewSourceIspsResponse
|
|
19606
|
+
*/
|
|
17912
19607
|
async describePortViewSourceIsps(request: DescribePortViewSourceIspsRequest): Promise<DescribePortViewSourceIspsResponse> {
|
|
17913
19608
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17914
19609
|
return await this.describePortViewSourceIspsWithOptions(request, runtime);
|
|
@@ -17955,6 +19650,16 @@ export default class Client extends OpenApi {
|
|
|
17955
19650
|
return await this.describePortViewSourceProvincesWithOptions(request, runtime);
|
|
17956
19651
|
}
|
|
17957
19652
|
|
|
19653
|
+
/**
|
|
19654
|
+
* You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
|
|
19655
|
+
* Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
|
|
19656
|
+
* ### Limits
|
|
19657
|
+
* 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.
|
|
19658
|
+
*
|
|
19659
|
+
* @param request DescribeSceneDefenseObjectsRequest
|
|
19660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19661
|
+
* @return DescribeSceneDefenseObjectsResponse
|
|
19662
|
+
*/
|
|
17958
19663
|
async describeSceneDefenseObjectsWithOptions(request: DescribeSceneDefenseObjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSceneDefenseObjectsResponse> {
|
|
17959
19664
|
Util.validateModel(request);
|
|
17960
19665
|
let query = { };
|
|
@@ -17983,11 +19688,29 @@ export default class Client extends OpenApi {
|
|
|
17983
19688
|
return $tea.cast<DescribeSceneDefenseObjectsResponse>(await this.callApi(params, req, runtime), new DescribeSceneDefenseObjectsResponse({}));
|
|
17984
19689
|
}
|
|
17985
19690
|
|
|
19691
|
+
/**
|
|
19692
|
+
* You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
|
|
19693
|
+
* Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
|
|
19694
|
+
* ### Limits
|
|
19695
|
+
* 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.
|
|
19696
|
+
*
|
|
19697
|
+
* @param request DescribeSceneDefenseObjectsRequest
|
|
19698
|
+
* @return DescribeSceneDefenseObjectsResponse
|
|
19699
|
+
*/
|
|
17986
19700
|
async describeSceneDefenseObjects(request: DescribeSceneDefenseObjectsRequest): Promise<DescribeSceneDefenseObjectsResponse> {
|
|
17987
19701
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17988
19702
|
return await this.describeSceneDefenseObjectsWithOptions(request, runtime);
|
|
17989
19703
|
}
|
|
17990
19704
|
|
|
19705
|
+
/**
|
|
19706
|
+
* 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.
|
|
19707
|
+
* ### Limits
|
|
19708
|
+
* 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.
|
|
19709
|
+
*
|
|
19710
|
+
* @param request DescribeSceneDefensePoliciesRequest
|
|
19711
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19712
|
+
* @return DescribeSceneDefensePoliciesResponse
|
|
19713
|
+
*/
|
|
17991
19714
|
async describeSceneDefensePoliciesWithOptions(request: DescribeSceneDefensePoliciesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSceneDefensePoliciesResponse> {
|
|
17992
19715
|
Util.validateModel(request);
|
|
17993
19716
|
let query = { };
|
|
@@ -18020,6 +19743,14 @@ export default class Client extends OpenApi {
|
|
|
18020
19743
|
return $tea.cast<DescribeSceneDefensePoliciesResponse>(await this.callApi(params, req, runtime), new DescribeSceneDefensePoliciesResponse({}));
|
|
18021
19744
|
}
|
|
18022
19745
|
|
|
19746
|
+
/**
|
|
19747
|
+
* 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.
|
|
19748
|
+
* ### Limits
|
|
19749
|
+
* 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.
|
|
19750
|
+
*
|
|
19751
|
+
* @param request DescribeSceneDefensePoliciesRequest
|
|
19752
|
+
* @return DescribeSceneDefensePoliciesResponse
|
|
19753
|
+
*/
|
|
18023
19754
|
async describeSceneDefensePolicies(request: DescribeSceneDefensePoliciesRequest): Promise<DescribeSceneDefensePoliciesResponse> {
|
|
18024
19755
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18025
19756
|
return await this.describeSceneDefensePoliciesWithOptions(request, runtime);
|
|
@@ -18066,6 +19797,55 @@ export default class Client extends OpenApi {
|
|
|
18066
19797
|
return await this.describeSchedulerRulesWithOptions(request, runtime);
|
|
18067
19798
|
}
|
|
18068
19799
|
|
|
19800
|
+
async describeSlaEventListWithOptions(request: DescribeSlaEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlaEventListResponse> {
|
|
19801
|
+
Util.validateModel(request);
|
|
19802
|
+
let query = { };
|
|
19803
|
+
if (!Util.isUnset(request.endTime)) {
|
|
19804
|
+
query["EndTime"] = request.endTime;
|
|
19805
|
+
}
|
|
19806
|
+
|
|
19807
|
+
if (!Util.isUnset(request.ip)) {
|
|
19808
|
+
query["Ip"] = request.ip;
|
|
19809
|
+
}
|
|
19810
|
+
|
|
19811
|
+
if (!Util.isUnset(request.page)) {
|
|
19812
|
+
query["Page"] = request.page;
|
|
19813
|
+
}
|
|
19814
|
+
|
|
19815
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
19816
|
+
query["PageSize"] = request.pageSize;
|
|
19817
|
+
}
|
|
19818
|
+
|
|
19819
|
+
if (!Util.isUnset(request.region)) {
|
|
19820
|
+
query["Region"] = request.region;
|
|
19821
|
+
}
|
|
19822
|
+
|
|
19823
|
+
if (!Util.isUnset(request.startTime)) {
|
|
19824
|
+
query["StartTime"] = request.startTime;
|
|
19825
|
+
}
|
|
19826
|
+
|
|
19827
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19828
|
+
query: OpenApiUtil.query(query),
|
|
19829
|
+
});
|
|
19830
|
+
let params = new $OpenApi.Params({
|
|
19831
|
+
action: "DescribeSlaEventList",
|
|
19832
|
+
version: "2020-01-01",
|
|
19833
|
+
protocol: "HTTPS",
|
|
19834
|
+
pathname: "/",
|
|
19835
|
+
method: "POST",
|
|
19836
|
+
authType: "AK",
|
|
19837
|
+
style: "RPC",
|
|
19838
|
+
reqBodyType: "formData",
|
|
19839
|
+
bodyType: "json",
|
|
19840
|
+
});
|
|
19841
|
+
return $tea.cast<DescribeSlaEventListResponse>(await this.callApi(params, req, runtime), new DescribeSlaEventListResponse({}));
|
|
19842
|
+
}
|
|
19843
|
+
|
|
19844
|
+
async describeSlaEventList(request: DescribeSlaEventListRequest): Promise<DescribeSlaEventListResponse> {
|
|
19845
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19846
|
+
return await this.describeSlaEventListWithOptions(request, runtime);
|
|
19847
|
+
}
|
|
19848
|
+
|
|
18069
19849
|
async describeSlsAuthStatusWithOptions(request: DescribeSlsAuthStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlsAuthStatusResponse> {
|
|
18070
19850
|
Util.validateModel(request);
|
|
18071
19851
|
let query = { };
|
|
@@ -18153,6 +19933,15 @@ export default class Client extends OpenApi {
|
|
|
18153
19933
|
return await this.describeSlsOpenStatusWithOptions(request, runtime);
|
|
18154
19934
|
}
|
|
18155
19935
|
|
|
19936
|
+
/**
|
|
19937
|
+
* 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.
|
|
19938
|
+
* ### Limits
|
|
19939
|
+
* 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.
|
|
19940
|
+
*
|
|
19941
|
+
* @param request DescribeStsGrantStatusRequest
|
|
19942
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19943
|
+
* @return DescribeStsGrantStatusResponse
|
|
19944
|
+
*/
|
|
18156
19945
|
async describeStsGrantStatusWithOptions(request: DescribeStsGrantStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeStsGrantStatusResponse> {
|
|
18157
19946
|
Util.validateModel(request);
|
|
18158
19947
|
let query = { };
|
|
@@ -18181,11 +19970,29 @@ export default class Client extends OpenApi {
|
|
|
18181
19970
|
return $tea.cast<DescribeStsGrantStatusResponse>(await this.callApi(params, req, runtime), new DescribeStsGrantStatusResponse({}));
|
|
18182
19971
|
}
|
|
18183
19972
|
|
|
19973
|
+
/**
|
|
19974
|
+
* 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.
|
|
19975
|
+
* ### Limits
|
|
19976
|
+
* 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.
|
|
19977
|
+
*
|
|
19978
|
+
* @param request DescribeStsGrantStatusRequest
|
|
19979
|
+
* @return DescribeStsGrantStatusResponse
|
|
19980
|
+
*/
|
|
18184
19981
|
async describeStsGrantStatus(request: DescribeStsGrantStatusRequest): Promise<DescribeStsGrantStatusResponse> {
|
|
18185
19982
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18186
19983
|
return await this.describeStsGrantStatusWithOptions(request, runtime);
|
|
18187
19984
|
}
|
|
18188
19985
|
|
|
19986
|
+
/**
|
|
19987
|
+
* 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.
|
|
19988
|
+
* 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.
|
|
19989
|
+
* ### Limits
|
|
19990
|
+
* 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.
|
|
19991
|
+
*
|
|
19992
|
+
* @param request DescribeSystemLogRequest
|
|
19993
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19994
|
+
* @return DescribeSystemLogResponse
|
|
19995
|
+
*/
|
|
18189
19996
|
async describeSystemLogWithOptions(request: DescribeSystemLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemLogResponse> {
|
|
18190
19997
|
Util.validateModel(request);
|
|
18191
19998
|
let query = { };
|
|
@@ -18230,11 +20037,30 @@ export default class Client extends OpenApi {
|
|
|
18230
20037
|
return $tea.cast<DescribeSystemLogResponse>(await this.callApi(params, req, runtime), new DescribeSystemLogResponse({}));
|
|
18231
20038
|
}
|
|
18232
20039
|
|
|
20040
|
+
/**
|
|
20041
|
+
* 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.
|
|
20042
|
+
* 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.
|
|
20043
|
+
* ### Limits
|
|
20044
|
+
* 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.
|
|
20045
|
+
*
|
|
20046
|
+
* @param request DescribeSystemLogRequest
|
|
20047
|
+
* @return DescribeSystemLogResponse
|
|
20048
|
+
*/
|
|
18233
20049
|
async describeSystemLog(request: DescribeSystemLogRequest): Promise<DescribeSystemLogResponse> {
|
|
18234
20050
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18235
20051
|
return await this.describeSystemLogWithOptions(request, runtime);
|
|
18236
20052
|
}
|
|
18237
20053
|
|
|
20054
|
+
/**
|
|
20055
|
+
* 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.
|
|
20056
|
+
* > The tag feature is suitable only for Anti-DDoS Pro.
|
|
20057
|
+
* ### Limits
|
|
20058
|
+
* 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.
|
|
20059
|
+
*
|
|
20060
|
+
* @param request DescribeTagKeysRequest
|
|
20061
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20062
|
+
* @return DescribeTagKeysResponse
|
|
20063
|
+
*/
|
|
18238
20064
|
async describeTagKeysWithOptions(request: DescribeTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagKeysResponse> {
|
|
18239
20065
|
Util.validateModel(request);
|
|
18240
20066
|
let query = { };
|
|
@@ -18275,11 +20101,30 @@ export default class Client extends OpenApi {
|
|
|
18275
20101
|
return $tea.cast<DescribeTagKeysResponse>(await this.callApi(params, req, runtime), new DescribeTagKeysResponse({}));
|
|
18276
20102
|
}
|
|
18277
20103
|
|
|
20104
|
+
/**
|
|
20105
|
+
* 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.
|
|
20106
|
+
* > The tag feature is suitable only for Anti-DDoS Pro.
|
|
20107
|
+
* ### Limits
|
|
20108
|
+
* 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.
|
|
20109
|
+
*
|
|
20110
|
+
* @param request DescribeTagKeysRequest
|
|
20111
|
+
* @return DescribeTagKeysResponse
|
|
20112
|
+
*/
|
|
18278
20113
|
async describeTagKeys(request: DescribeTagKeysRequest): Promise<DescribeTagKeysResponse> {
|
|
18279
20114
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18280
20115
|
return await this.describeTagKeysWithOptions(request, runtime);
|
|
18281
20116
|
}
|
|
18282
20117
|
|
|
20118
|
+
/**
|
|
20119
|
+
* You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
|
|
20120
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
20121
|
+
* ### Limits
|
|
20122
|
+
* 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.
|
|
20123
|
+
*
|
|
20124
|
+
* @param request DescribeTagResourcesRequest
|
|
20125
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20126
|
+
* @return DescribeTagResourcesResponse
|
|
20127
|
+
*/
|
|
18283
20128
|
async describeTagResourcesWithOptions(request: DescribeTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagResourcesResponse> {
|
|
18284
20129
|
Util.validateModel(request);
|
|
18285
20130
|
let query = { };
|
|
@@ -18324,11 +20169,61 @@ export default class Client extends OpenApi {
|
|
|
18324
20169
|
return $tea.cast<DescribeTagResourcesResponse>(await this.callApi(params, req, runtime), new DescribeTagResourcesResponse({}));
|
|
18325
20170
|
}
|
|
18326
20171
|
|
|
20172
|
+
/**
|
|
20173
|
+
* You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
|
|
20174
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
20175
|
+
* ### Limits
|
|
20176
|
+
* 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.
|
|
20177
|
+
*
|
|
20178
|
+
* @param request DescribeTagResourcesRequest
|
|
20179
|
+
* @return DescribeTagResourcesResponse
|
|
20180
|
+
*/
|
|
18327
20181
|
async describeTagResources(request: DescribeTagResourcesRequest): Promise<DescribeTagResourcesResponse> {
|
|
18328
20182
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18329
20183
|
return await this.describeTagResourcesWithOptions(request, runtime);
|
|
18330
20184
|
}
|
|
18331
20185
|
|
|
20186
|
+
async describeTotalAttackMaxFlowWithOptions(request: DescribeTotalAttackMaxFlowRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTotalAttackMaxFlowResponse> {
|
|
20187
|
+
Util.validateModel(request);
|
|
20188
|
+
let query = { };
|
|
20189
|
+
if (!Util.isUnset(request.endTime)) {
|
|
20190
|
+
query["EndTime"] = request.endTime;
|
|
20191
|
+
}
|
|
20192
|
+
|
|
20193
|
+
if (!Util.isUnset(request.instanceIds)) {
|
|
20194
|
+
query["InstanceIds"] = request.instanceIds;
|
|
20195
|
+
}
|
|
20196
|
+
|
|
20197
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
20198
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
20199
|
+
}
|
|
20200
|
+
|
|
20201
|
+
if (!Util.isUnset(request.startTime)) {
|
|
20202
|
+
query["StartTime"] = request.startTime;
|
|
20203
|
+
}
|
|
20204
|
+
|
|
20205
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20206
|
+
query: OpenApiUtil.query(query),
|
|
20207
|
+
});
|
|
20208
|
+
let params = new $OpenApi.Params({
|
|
20209
|
+
action: "DescribeTotalAttackMaxFlow",
|
|
20210
|
+
version: "2020-01-01",
|
|
20211
|
+
protocol: "HTTPS",
|
|
20212
|
+
pathname: "/",
|
|
20213
|
+
method: "POST",
|
|
20214
|
+
authType: "AK",
|
|
20215
|
+
style: "RPC",
|
|
20216
|
+
reqBodyType: "formData",
|
|
20217
|
+
bodyType: "json",
|
|
20218
|
+
});
|
|
20219
|
+
return $tea.cast<DescribeTotalAttackMaxFlowResponse>(await this.callApi(params, req, runtime), new DescribeTotalAttackMaxFlowResponse({}));
|
|
20220
|
+
}
|
|
20221
|
+
|
|
20222
|
+
async describeTotalAttackMaxFlow(request: DescribeTotalAttackMaxFlowRequest): Promise<DescribeTotalAttackMaxFlowResponse> {
|
|
20223
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20224
|
+
return await this.describeTotalAttackMaxFlowWithOptions(request, runtime);
|
|
20225
|
+
}
|
|
20226
|
+
|
|
18332
20227
|
async describeUdpReflectWithOptions(request: DescribeUdpReflectRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUdpReflectResponse> {
|
|
18333
20228
|
Util.validateModel(request);
|
|
18334
20229
|
let query = { };
|
|
@@ -18391,6 +20286,13 @@ export default class Client extends OpenApi {
|
|
|
18391
20286
|
return await this.describeUnBlackholeCountWithOptions(request, runtime);
|
|
18392
20287
|
}
|
|
18393
20288
|
|
|
20289
|
+
/**
|
|
20290
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
20291
|
+
*
|
|
20292
|
+
* @param request DescribeUnBlockCountRequest
|
|
20293
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20294
|
+
* @return DescribeUnBlockCountResponse
|
|
20295
|
+
*/
|
|
18394
20296
|
async describeUnBlockCountWithOptions(request: DescribeUnBlockCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUnBlockCountResponse> {
|
|
18395
20297
|
Util.validateModel(request);
|
|
18396
20298
|
let query = { };
|
|
@@ -18415,11 +20317,26 @@ export default class Client extends OpenApi {
|
|
|
18415
20317
|
return $tea.cast<DescribeUnBlockCountResponse>(await this.callApi(params, req, runtime), new DescribeUnBlockCountResponse({}));
|
|
18416
20318
|
}
|
|
18417
20319
|
|
|
20320
|
+
/**
|
|
20321
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
20322
|
+
*
|
|
20323
|
+
* @param request DescribeUnBlockCountRequest
|
|
20324
|
+
* @return DescribeUnBlockCountResponse
|
|
20325
|
+
*/
|
|
18418
20326
|
async describeUnBlockCount(request: DescribeUnBlockCountRequest): Promise<DescribeUnBlockCountResponse> {
|
|
18419
20327
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18420
20328
|
return await this.describeUnBlockCountWithOptions(request, runtime);
|
|
18421
20329
|
}
|
|
18422
20330
|
|
|
20331
|
+
/**
|
|
20332
|
+
* 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.
|
|
20333
|
+
* ### Limits
|
|
20334
|
+
* 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.
|
|
20335
|
+
*
|
|
20336
|
+
* @param request DescribeWebAccessLogDispatchStatusRequest
|
|
20337
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20338
|
+
* @return DescribeWebAccessLogDispatchStatusResponse
|
|
20339
|
+
*/
|
|
18423
20340
|
async describeWebAccessLogDispatchStatusWithOptions(request: DescribeWebAccessLogDispatchStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebAccessLogDispatchStatusResponse> {
|
|
18424
20341
|
Util.validateModel(request);
|
|
18425
20342
|
let query = { };
|
|
@@ -18452,6 +20369,14 @@ export default class Client extends OpenApi {
|
|
|
18452
20369
|
return $tea.cast<DescribeWebAccessLogDispatchStatusResponse>(await this.callApi(params, req, runtime), new DescribeWebAccessLogDispatchStatusResponse({}));
|
|
18453
20370
|
}
|
|
18454
20371
|
|
|
20372
|
+
/**
|
|
20373
|
+
* 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.
|
|
20374
|
+
* ### Limits
|
|
20375
|
+
* 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.
|
|
20376
|
+
*
|
|
20377
|
+
* @param request DescribeWebAccessLogDispatchStatusRequest
|
|
20378
|
+
* @return DescribeWebAccessLogDispatchStatusResponse
|
|
20379
|
+
*/
|
|
18455
20380
|
async describeWebAccessLogDispatchStatus(request: DescribeWebAccessLogDispatchStatusRequest): Promise<DescribeWebAccessLogDispatchStatusResponse> {
|
|
18456
20381
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18457
20382
|
return await this.describeWebAccessLogDispatchStatusWithOptions(request, runtime);
|
|
@@ -18622,6 +20547,15 @@ export default class Client extends OpenApi {
|
|
|
18622
20547
|
return await this.describeWebCCRulesWithOptions(request, runtime);
|
|
18623
20548
|
}
|
|
18624
20549
|
|
|
20550
|
+
/**
|
|
20551
|
+
* You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
|
|
20552
|
+
* ### Limits
|
|
20553
|
+
* 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.
|
|
20554
|
+
*
|
|
20555
|
+
* @param request DescribeWebCacheConfigsRequest
|
|
20556
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20557
|
+
* @return DescribeWebCacheConfigsResponse
|
|
20558
|
+
*/
|
|
18625
20559
|
async describeWebCacheConfigsWithOptions(request: DescribeWebCacheConfigsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebCacheConfigsResponse> {
|
|
18626
20560
|
Util.validateModel(request);
|
|
18627
20561
|
let query = { };
|
|
@@ -18650,6 +20584,14 @@ export default class Client extends OpenApi {
|
|
|
18650
20584
|
return $tea.cast<DescribeWebCacheConfigsResponse>(await this.callApi(params, req, runtime), new DescribeWebCacheConfigsResponse({}));
|
|
18651
20585
|
}
|
|
18652
20586
|
|
|
20587
|
+
/**
|
|
20588
|
+
* You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
|
|
20589
|
+
* ### Limits
|
|
20590
|
+
* 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.
|
|
20591
|
+
*
|
|
20592
|
+
* @param request DescribeWebCacheConfigsRequest
|
|
20593
|
+
* @return DescribeWebCacheConfigsResponse
|
|
20594
|
+
*/
|
|
18653
20595
|
async describeWebCacheConfigs(request: DescribeWebCacheConfigsRequest): Promise<DescribeWebCacheConfigsResponse> {
|
|
18654
20596
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18655
20597
|
return await this.describeWebCacheConfigsWithOptions(request, runtime);
|
|
@@ -18783,6 +20725,55 @@ export default class Client extends OpenApi {
|
|
|
18783
20725
|
return await this.describeWebPreciseAccessRuleWithOptions(request, runtime);
|
|
18784
20726
|
}
|
|
18785
20727
|
|
|
20728
|
+
async describeWebReportTopIpWithOptions(request: DescribeWebReportTopIpRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebReportTopIpResponse> {
|
|
20729
|
+
Util.validateModel(request);
|
|
20730
|
+
let query = { };
|
|
20731
|
+
if (!Util.isUnset(request.domain)) {
|
|
20732
|
+
query["Domain"] = request.domain;
|
|
20733
|
+
}
|
|
20734
|
+
|
|
20735
|
+
if (!Util.isUnset(request.endTime)) {
|
|
20736
|
+
query["EndTime"] = request.endTime;
|
|
20737
|
+
}
|
|
20738
|
+
|
|
20739
|
+
if (!Util.isUnset(request.interval)) {
|
|
20740
|
+
query["Interval"] = request.interval;
|
|
20741
|
+
}
|
|
20742
|
+
|
|
20743
|
+
if (!Util.isUnset(request.queryType)) {
|
|
20744
|
+
query["QueryType"] = request.queryType;
|
|
20745
|
+
}
|
|
20746
|
+
|
|
20747
|
+
if (!Util.isUnset(request.startTime)) {
|
|
20748
|
+
query["StartTime"] = request.startTime;
|
|
20749
|
+
}
|
|
20750
|
+
|
|
20751
|
+
if (!Util.isUnset(request.top)) {
|
|
20752
|
+
query["Top"] = request.top;
|
|
20753
|
+
}
|
|
20754
|
+
|
|
20755
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20756
|
+
query: OpenApiUtil.query(query),
|
|
20757
|
+
});
|
|
20758
|
+
let params = new $OpenApi.Params({
|
|
20759
|
+
action: "DescribeWebReportTopIp",
|
|
20760
|
+
version: "2020-01-01",
|
|
20761
|
+
protocol: "HTTPS",
|
|
20762
|
+
pathname: "/",
|
|
20763
|
+
method: "POST",
|
|
20764
|
+
authType: "AK",
|
|
20765
|
+
style: "RPC",
|
|
20766
|
+
reqBodyType: "formData",
|
|
20767
|
+
bodyType: "json",
|
|
20768
|
+
});
|
|
20769
|
+
return $tea.cast<DescribeWebReportTopIpResponse>(await this.callApi(params, req, runtime), new DescribeWebReportTopIpResponse({}));
|
|
20770
|
+
}
|
|
20771
|
+
|
|
20772
|
+
async describeWebReportTopIp(request: DescribeWebReportTopIpRequest): Promise<DescribeWebReportTopIpResponse> {
|
|
20773
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20774
|
+
return await this.describeWebReportTopIpWithOptions(request, runtime);
|
|
20775
|
+
}
|
|
20776
|
+
|
|
18786
20777
|
async describeWebRulesWithOptions(request: DescribeWebRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebRulesResponse> {
|
|
18787
20778
|
Util.validateModel(request);
|
|
18788
20779
|
let query = { };
|
|
@@ -19216,6 +21207,52 @@ export default class Client extends OpenApi {
|
|
|
19216
21207
|
return await this.enableWebCCRuleWithOptions(request, runtime);
|
|
19217
21208
|
}
|
|
19218
21209
|
|
|
21210
|
+
/**
|
|
21211
|
+
* 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.
|
|
21212
|
+
*
|
|
21213
|
+
* @param request ModifyBizBandWidthModeRequest
|
|
21214
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21215
|
+
* @return ModifyBizBandWidthModeResponse
|
|
21216
|
+
*/
|
|
21217
|
+
async modifyBizBandWidthModeWithOptions(request: ModifyBizBandWidthModeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBizBandWidthModeResponse> {
|
|
21218
|
+
Util.validateModel(request);
|
|
21219
|
+
let query = { };
|
|
21220
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
21221
|
+
query["InstanceId"] = request.instanceId;
|
|
21222
|
+
}
|
|
21223
|
+
|
|
21224
|
+
if (!Util.isUnset(request.mode)) {
|
|
21225
|
+
query["Mode"] = request.mode;
|
|
21226
|
+
}
|
|
21227
|
+
|
|
21228
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21229
|
+
query: OpenApiUtil.query(query),
|
|
21230
|
+
});
|
|
21231
|
+
let params = new $OpenApi.Params({
|
|
21232
|
+
action: "ModifyBizBandWidthMode",
|
|
21233
|
+
version: "2020-01-01",
|
|
21234
|
+
protocol: "HTTPS",
|
|
21235
|
+
pathname: "/",
|
|
21236
|
+
method: "POST",
|
|
21237
|
+
authType: "AK",
|
|
21238
|
+
style: "RPC",
|
|
21239
|
+
reqBodyType: "formData",
|
|
21240
|
+
bodyType: "json",
|
|
21241
|
+
});
|
|
21242
|
+
return $tea.cast<ModifyBizBandWidthModeResponse>(await this.callApi(params, req, runtime), new ModifyBizBandWidthModeResponse({}));
|
|
21243
|
+
}
|
|
21244
|
+
|
|
21245
|
+
/**
|
|
21246
|
+
* 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.
|
|
21247
|
+
*
|
|
21248
|
+
* @param request ModifyBizBandWidthModeRequest
|
|
21249
|
+
* @return ModifyBizBandWidthModeResponse
|
|
21250
|
+
*/
|
|
21251
|
+
async modifyBizBandWidthMode(request: ModifyBizBandWidthModeRequest): Promise<ModifyBizBandWidthModeResponse> {
|
|
21252
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21253
|
+
return await this.modifyBizBandWidthModeWithOptions(request, runtime);
|
|
21254
|
+
}
|
|
21255
|
+
|
|
19219
21256
|
async modifyBlackholeStatusWithOptions(request: ModifyBlackholeStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBlackholeStatusResponse> {
|
|
19220
21257
|
Util.validateModel(request);
|
|
19221
21258
|
let query = { };
|
|
@@ -19249,6 +21286,13 @@ export default class Client extends OpenApi {
|
|
|
19249
21286
|
return await this.modifyBlackholeStatusWithOptions(request, runtime);
|
|
19250
21287
|
}
|
|
19251
21288
|
|
|
21289
|
+
/**
|
|
21290
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21291
|
+
*
|
|
21292
|
+
* @param request ModifyBlockStatusRequest
|
|
21293
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21294
|
+
* @return ModifyBlockStatusResponse
|
|
21295
|
+
*/
|
|
19252
21296
|
async modifyBlockStatusWithOptions(request: ModifyBlockStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBlockStatusResponse> {
|
|
19253
21297
|
Util.validateModel(request);
|
|
19254
21298
|
let query = { };
|
|
@@ -19285,11 +21329,24 @@ export default class Client extends OpenApi {
|
|
|
19285
21329
|
return $tea.cast<ModifyBlockStatusResponse>(await this.callApi(params, req, runtime), new ModifyBlockStatusResponse({}));
|
|
19286
21330
|
}
|
|
19287
21331
|
|
|
21332
|
+
/**
|
|
21333
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21334
|
+
*
|
|
21335
|
+
* @param request ModifyBlockStatusRequest
|
|
21336
|
+
* @return ModifyBlockStatusResponse
|
|
21337
|
+
*/
|
|
19288
21338
|
async modifyBlockStatus(request: ModifyBlockStatusRequest): Promise<ModifyBlockStatusResponse> {
|
|
19289
21339
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19290
21340
|
return await this.modifyBlockStatusWithOptions(request, runtime);
|
|
19291
21341
|
}
|
|
19292
21342
|
|
|
21343
|
+
/**
|
|
21344
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
21345
|
+
*
|
|
21346
|
+
* @param request ModifyCnameReuseRequest
|
|
21347
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21348
|
+
* @return ModifyCnameReuseResponse
|
|
21349
|
+
*/
|
|
19293
21350
|
async modifyCnameReuseWithOptions(request: ModifyCnameReuseRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCnameReuseResponse> {
|
|
19294
21351
|
Util.validateModel(request);
|
|
19295
21352
|
let query = { };
|
|
@@ -19326,6 +21383,12 @@ export default class Client extends OpenApi {
|
|
|
19326
21383
|
return $tea.cast<ModifyCnameReuseResponse>(await this.callApi(params, req, runtime), new ModifyCnameReuseResponse({}));
|
|
19327
21384
|
}
|
|
19328
21385
|
|
|
21386
|
+
/**
|
|
21387
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
21388
|
+
*
|
|
21389
|
+
* @param request ModifyCnameReuseRequest
|
|
21390
|
+
* @return ModifyCnameReuseResponse
|
|
21391
|
+
*/
|
|
19329
21392
|
async modifyCnameReuse(request: ModifyCnameReuseRequest): Promise<ModifyCnameReuseResponse> {
|
|
19330
21393
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19331
21394
|
return await this.modifyCnameReuseWithOptions(request, runtime);
|
|
@@ -19380,6 +21443,13 @@ export default class Client extends OpenApi {
|
|
|
19380
21443
|
return await this.modifyDomainResourceWithOptions(request, runtime);
|
|
19381
21444
|
}
|
|
19382
21445
|
|
|
21446
|
+
/**
|
|
21447
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21448
|
+
*
|
|
21449
|
+
* @param request ModifyElasticBandWidthRequest
|
|
21450
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21451
|
+
* @return ModifyElasticBandWidthResponse
|
|
21452
|
+
*/
|
|
19383
21453
|
async modifyElasticBandWidthWithOptions(request: ModifyElasticBandWidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyElasticBandWidthResponse> {
|
|
19384
21454
|
Util.validateModel(request);
|
|
19385
21455
|
let query = { };
|
|
@@ -19408,11 +21478,67 @@ export default class Client extends OpenApi {
|
|
|
19408
21478
|
return $tea.cast<ModifyElasticBandWidthResponse>(await this.callApi(params, req, runtime), new ModifyElasticBandWidthResponse({}));
|
|
19409
21479
|
}
|
|
19410
21480
|
|
|
21481
|
+
/**
|
|
21482
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21483
|
+
*
|
|
21484
|
+
* @param request ModifyElasticBandWidthRequest
|
|
21485
|
+
* @return ModifyElasticBandWidthResponse
|
|
21486
|
+
*/
|
|
19411
21487
|
async modifyElasticBandWidth(request: ModifyElasticBandWidthRequest): Promise<ModifyElasticBandWidthResponse> {
|
|
19412
21488
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19413
21489
|
return await this.modifyElasticBandWidthWithOptions(request, runtime);
|
|
19414
21490
|
}
|
|
19415
21491
|
|
|
21492
|
+
/**
|
|
21493
|
+
* 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.
|
|
21494
|
+
*
|
|
21495
|
+
* @param request ModifyElasticBizBandWidthRequest
|
|
21496
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21497
|
+
* @return ModifyElasticBizBandWidthResponse
|
|
21498
|
+
*/
|
|
21499
|
+
async modifyElasticBizBandWidthWithOptions(request: ModifyElasticBizBandWidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyElasticBizBandWidthResponse> {
|
|
21500
|
+
Util.validateModel(request);
|
|
21501
|
+
let query = { };
|
|
21502
|
+
if (!Util.isUnset(request.elasticBizBandwidth)) {
|
|
21503
|
+
query["ElasticBizBandwidth"] = request.elasticBizBandwidth;
|
|
21504
|
+
}
|
|
21505
|
+
|
|
21506
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
21507
|
+
query["InstanceId"] = request.instanceId;
|
|
21508
|
+
}
|
|
21509
|
+
|
|
21510
|
+
if (!Util.isUnset(request.mode)) {
|
|
21511
|
+
query["Mode"] = request.mode;
|
|
21512
|
+
}
|
|
21513
|
+
|
|
21514
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21515
|
+
query: OpenApiUtil.query(query),
|
|
21516
|
+
});
|
|
21517
|
+
let params = new $OpenApi.Params({
|
|
21518
|
+
action: "ModifyElasticBizBandWidth",
|
|
21519
|
+
version: "2020-01-01",
|
|
21520
|
+
protocol: "HTTPS",
|
|
21521
|
+
pathname: "/",
|
|
21522
|
+
method: "POST",
|
|
21523
|
+
authType: "AK",
|
|
21524
|
+
style: "RPC",
|
|
21525
|
+
reqBodyType: "formData",
|
|
21526
|
+
bodyType: "json",
|
|
21527
|
+
});
|
|
21528
|
+
return $tea.cast<ModifyElasticBizBandWidthResponse>(await this.callApi(params, req, runtime), new ModifyElasticBizBandWidthResponse({}));
|
|
21529
|
+
}
|
|
21530
|
+
|
|
21531
|
+
/**
|
|
21532
|
+
* 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.
|
|
21533
|
+
*
|
|
21534
|
+
* @param request ModifyElasticBizBandWidthRequest
|
|
21535
|
+
* @return ModifyElasticBizBandWidthResponse
|
|
21536
|
+
*/
|
|
21537
|
+
async modifyElasticBizBandWidth(request: ModifyElasticBizBandWidthRequest): Promise<ModifyElasticBizBandWidthResponse> {
|
|
21538
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21539
|
+
return await this.modifyElasticBizBandWidthWithOptions(request, runtime);
|
|
21540
|
+
}
|
|
21541
|
+
|
|
19416
21542
|
async modifyFullLogTtlWithOptions(request: ModifyFullLogTtlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFullLogTtlResponse> {
|
|
19417
21543
|
Util.validateModel(request);
|
|
19418
21544
|
let query = { };
|
|
@@ -19446,6 +21572,43 @@ export default class Client extends OpenApi {
|
|
|
19446
21572
|
return await this.modifyFullLogTtlWithOptions(request, runtime);
|
|
19447
21573
|
}
|
|
19448
21574
|
|
|
21575
|
+
async modifyHeadersWithOptions(request: ModifyHeadersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHeadersResponse> {
|
|
21576
|
+
Util.validateModel(request);
|
|
21577
|
+
let query = { };
|
|
21578
|
+
if (!Util.isUnset(request.customHeaders)) {
|
|
21579
|
+
query["CustomHeaders"] = request.customHeaders;
|
|
21580
|
+
}
|
|
21581
|
+
|
|
21582
|
+
if (!Util.isUnset(request.domain)) {
|
|
21583
|
+
query["Domain"] = request.domain;
|
|
21584
|
+
}
|
|
21585
|
+
|
|
21586
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
21587
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
21588
|
+
}
|
|
21589
|
+
|
|
21590
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21591
|
+
query: OpenApiUtil.query(query),
|
|
21592
|
+
});
|
|
21593
|
+
let params = new $OpenApi.Params({
|
|
21594
|
+
action: "ModifyHeaders",
|
|
21595
|
+
version: "2020-01-01",
|
|
21596
|
+
protocol: "HTTPS",
|
|
21597
|
+
pathname: "/",
|
|
21598
|
+
method: "POST",
|
|
21599
|
+
authType: "AK",
|
|
21600
|
+
style: "RPC",
|
|
21601
|
+
reqBodyType: "formData",
|
|
21602
|
+
bodyType: "json",
|
|
21603
|
+
});
|
|
21604
|
+
return $tea.cast<ModifyHeadersResponse>(await this.callApi(params, req, runtime), new ModifyHeadersResponse({}));
|
|
21605
|
+
}
|
|
21606
|
+
|
|
21607
|
+
async modifyHeaders(request: ModifyHeadersRequest): Promise<ModifyHeadersResponse> {
|
|
21608
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21609
|
+
return await this.modifyHeadersWithOptions(request, runtime);
|
|
21610
|
+
}
|
|
21611
|
+
|
|
19449
21612
|
async modifyHealthCheckConfigWithOptions(request: ModifyHealthCheckConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHealthCheckConfigResponse> {
|
|
19450
21613
|
Util.validateModel(request);
|
|
19451
21614
|
let query = { };
|
|
@@ -19487,6 +21650,13 @@ export default class Client extends OpenApi {
|
|
|
19487
21650
|
return await this.modifyHealthCheckConfigWithOptions(request, runtime);
|
|
19488
21651
|
}
|
|
19489
21652
|
|
|
21653
|
+
/**
|
|
21654
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21655
|
+
*
|
|
21656
|
+
* @param request ModifyHttp2EnableRequest
|
|
21657
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21658
|
+
* @return ModifyHttp2EnableResponse
|
|
21659
|
+
*/
|
|
19490
21660
|
async modifyHttp2EnableWithOptions(request: ModifyHttp2EnableRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHttp2EnableResponse> {
|
|
19491
21661
|
Util.validateModel(request);
|
|
19492
21662
|
let query = { };
|
|
@@ -19519,6 +21689,12 @@ export default class Client extends OpenApi {
|
|
|
19519
21689
|
return $tea.cast<ModifyHttp2EnableResponse>(await this.callApi(params, req, runtime), new ModifyHttp2EnableResponse({}));
|
|
19520
21690
|
}
|
|
19521
21691
|
|
|
21692
|
+
/**
|
|
21693
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21694
|
+
*
|
|
21695
|
+
* @param request ModifyHttp2EnableRequest
|
|
21696
|
+
* @return ModifyHttp2EnableResponse
|
|
21697
|
+
*/
|
|
19522
21698
|
async modifyHttp2Enable(request: ModifyHttp2EnableRequest): Promise<ModifyHttp2EnableResponse> {
|
|
19523
21699
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19524
21700
|
return await this.modifyHttp2EnableWithOptions(request, runtime);
|
|
@@ -19598,6 +21774,59 @@ export default class Client extends OpenApi {
|
|
|
19598
21774
|
return await this.modifyNetworkRuleAttributeWithOptions(request, runtime);
|
|
19599
21775
|
}
|
|
19600
21776
|
|
|
21777
|
+
/**
|
|
21778
|
+
* This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
|
|
21779
|
+
*
|
|
21780
|
+
* @param request ModifyOcspStatusRequest
|
|
21781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21782
|
+
* @return ModifyOcspStatusResponse
|
|
21783
|
+
*/
|
|
21784
|
+
async modifyOcspStatusWithOptions(request: ModifyOcspStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyOcspStatusResponse> {
|
|
21785
|
+
Util.validateModel(request);
|
|
21786
|
+
let query = { };
|
|
21787
|
+
if (!Util.isUnset(request.domain)) {
|
|
21788
|
+
query["Domain"] = request.domain;
|
|
21789
|
+
}
|
|
21790
|
+
|
|
21791
|
+
if (!Util.isUnset(request.enable)) {
|
|
21792
|
+
query["Enable"] = request.enable;
|
|
21793
|
+
}
|
|
21794
|
+
|
|
21795
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21796
|
+
query: OpenApiUtil.query(query),
|
|
21797
|
+
});
|
|
21798
|
+
let params = new $OpenApi.Params({
|
|
21799
|
+
action: "ModifyOcspStatus",
|
|
21800
|
+
version: "2020-01-01",
|
|
21801
|
+
protocol: "HTTPS",
|
|
21802
|
+
pathname: "/",
|
|
21803
|
+
method: "POST",
|
|
21804
|
+
authType: "AK",
|
|
21805
|
+
style: "RPC",
|
|
21806
|
+
reqBodyType: "formData",
|
|
21807
|
+
bodyType: "json",
|
|
21808
|
+
});
|
|
21809
|
+
return $tea.cast<ModifyOcspStatusResponse>(await this.callApi(params, req, runtime), new ModifyOcspStatusResponse({}));
|
|
21810
|
+
}
|
|
21811
|
+
|
|
21812
|
+
/**
|
|
21813
|
+
* This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
|
|
21814
|
+
*
|
|
21815
|
+
* @param request ModifyOcspStatusRequest
|
|
21816
|
+
* @return ModifyOcspStatusResponse
|
|
21817
|
+
*/
|
|
21818
|
+
async modifyOcspStatus(request: ModifyOcspStatusRequest): Promise<ModifyOcspStatusResponse> {
|
|
21819
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21820
|
+
return await this.modifyOcspStatusWithOptions(request, runtime);
|
|
21821
|
+
}
|
|
21822
|
+
|
|
21823
|
+
/**
|
|
21824
|
+
* You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
21825
|
+
*
|
|
21826
|
+
* @param request ModifyPortRequest
|
|
21827
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21828
|
+
* @return ModifyPortResponse
|
|
21829
|
+
*/
|
|
19601
21830
|
async modifyPortWithOptions(request: ModifyPortRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPortResponse> {
|
|
19602
21831
|
Util.validateModel(request);
|
|
19603
21832
|
let query = { };
|
|
@@ -19638,6 +21867,12 @@ export default class Client extends OpenApi {
|
|
|
19638
21867
|
return $tea.cast<ModifyPortResponse>(await this.callApi(params, req, runtime), new ModifyPortResponse({}));
|
|
19639
21868
|
}
|
|
19640
21869
|
|
|
21870
|
+
/**
|
|
21871
|
+
* You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
21872
|
+
*
|
|
21873
|
+
* @param request ModifyPortRequest
|
|
21874
|
+
* @return ModifyPortResponse
|
|
21875
|
+
*/
|
|
19641
21876
|
async modifyPort(request: ModifyPortRequest): Promise<ModifyPortResponse> {
|
|
19642
21877
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19643
21878
|
return await this.modifyPortWithOptions(request, runtime);
|
|
@@ -19951,6 +22186,15 @@ export default class Client extends OpenApi {
|
|
|
19951
22186
|
return await this.modifyWebAreaBlockWithOptions(request, runtime);
|
|
19952
22187
|
}
|
|
19953
22188
|
|
|
22189
|
+
/**
|
|
22190
|
+
* You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
|
22191
|
+
* ### Limits
|
|
22192
|
+
* 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.
|
|
22193
|
+
*
|
|
22194
|
+
* @param request ModifyWebAreaBlockSwitchRequest
|
|
22195
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22196
|
+
* @return ModifyWebAreaBlockSwitchResponse
|
|
22197
|
+
*/
|
|
19954
22198
|
async modifyWebAreaBlockSwitchWithOptions(request: ModifyWebAreaBlockSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWebAreaBlockSwitchResponse> {
|
|
19955
22199
|
Util.validateModel(request);
|
|
19956
22200
|
let query = { };
|
|
@@ -19983,6 +22227,14 @@ export default class Client extends OpenApi {
|
|
|
19983
22227
|
return $tea.cast<ModifyWebAreaBlockSwitchResponse>(await this.callApi(params, req, runtime), new ModifyWebAreaBlockSwitchResponse({}));
|
|
19984
22228
|
}
|
|
19985
22229
|
|
|
22230
|
+
/**
|
|
22231
|
+
* You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
|
22232
|
+
* ### Limits
|
|
22233
|
+
* 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.
|
|
22234
|
+
*
|
|
22235
|
+
* @param request ModifyWebAreaBlockSwitchRequest
|
|
22236
|
+
* @return ModifyWebAreaBlockSwitchResponse
|
|
22237
|
+
*/
|
|
19986
22238
|
async modifyWebAreaBlockSwitch(request: ModifyWebAreaBlockSwitchRequest): Promise<ModifyWebAreaBlockSwitchResponse> {
|
|
19987
22239
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19988
22240
|
return await this.modifyWebAreaBlockSwitchWithOptions(request, runtime);
|
|
@@ -20123,6 +22375,15 @@ export default class Client extends OpenApi {
|
|
|
20123
22375
|
return await this.modifyWebCacheModeWithOptions(request, runtime);
|
|
20124
22376
|
}
|
|
20125
22377
|
|
|
22378
|
+
/**
|
|
22379
|
+
* You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
|
|
22380
|
+
* ### Limits
|
|
22381
|
+
* 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.
|
|
22382
|
+
*
|
|
22383
|
+
* @param request ModifyWebCacheSwitchRequest
|
|
22384
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22385
|
+
* @return ModifyWebCacheSwitchResponse
|
|
22386
|
+
*/
|
|
20126
22387
|
async modifyWebCacheSwitchWithOptions(request: ModifyWebCacheSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWebCacheSwitchResponse> {
|
|
20127
22388
|
Util.validateModel(request);
|
|
20128
22389
|
let query = { };
|
|
@@ -20155,6 +22416,14 @@ export default class Client extends OpenApi {
|
|
|
20155
22416
|
return $tea.cast<ModifyWebCacheSwitchResponse>(await this.callApi(params, req, runtime), new ModifyWebCacheSwitchResponse({}));
|
|
20156
22417
|
}
|
|
20157
22418
|
|
|
22419
|
+
/**
|
|
22420
|
+
* You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
|
|
22421
|
+
* ### Limits
|
|
22422
|
+
* 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.
|
|
22423
|
+
*
|
|
22424
|
+
* @param request ModifyWebCacheSwitchRequest
|
|
22425
|
+
* @return ModifyWebCacheSwitchResponse
|
|
22426
|
+
*/
|
|
20158
22427
|
async modifyWebCacheSwitch(request: ModifyWebCacheSwitchRequest): Promise<ModifyWebCacheSwitchResponse> {
|
|
20159
22428
|
let runtime = new $Util.RuntimeOptions({ });
|
|
20160
22429
|
return await this.modifyWebCacheSwitchWithOptions(request, runtime);
|
|
@@ -20328,6 +22597,13 @@ export default class Client extends OpenApi {
|
|
|
20328
22597
|
return await this.modifyWebRuleWithOptions(request, runtime);
|
|
20329
22598
|
}
|
|
20330
22599
|
|
|
22600
|
+
/**
|
|
22601
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
22602
|
+
*
|
|
22603
|
+
* @param request ReleaseInstanceRequest
|
|
22604
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22605
|
+
* @return ReleaseInstanceResponse
|
|
22606
|
+
*/
|
|
20331
22607
|
async releaseInstanceWithOptions(request: ReleaseInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseInstanceResponse> {
|
|
20332
22608
|
Util.validateModel(request);
|
|
20333
22609
|
let query = { };
|
|
@@ -20352,11 +22628,27 @@ export default class Client extends OpenApi {
|
|
|
20352
22628
|
return $tea.cast<ReleaseInstanceResponse>(await this.callApi(params, req, runtime), new ReleaseInstanceResponse({}));
|
|
20353
22629
|
}
|
|
20354
22630
|
|
|
22631
|
+
/**
|
|
22632
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
22633
|
+
*
|
|
22634
|
+
* @param request ReleaseInstanceRequest
|
|
22635
|
+
* @return ReleaseInstanceResponse
|
|
22636
|
+
*/
|
|
20355
22637
|
async releaseInstance(request: ReleaseInstanceRequest): Promise<ReleaseInstanceResponse> {
|
|
20356
22638
|
let runtime = new $Util.RuntimeOptions({ });
|
|
20357
22639
|
return await this.releaseInstanceWithOptions(request, runtime);
|
|
20358
22640
|
}
|
|
20359
22641
|
|
|
22642
|
+
/**
|
|
22643
|
+
* 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.
|
|
22644
|
+
* Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
|
|
22645
|
+
* ### Limits
|
|
22646
|
+
* 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.
|
|
22647
|
+
*
|
|
22648
|
+
* @param request SwitchSchedulerRuleRequest
|
|
22649
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22650
|
+
* @return SwitchSchedulerRuleResponse
|
|
22651
|
+
*/
|
|
20360
22652
|
async switchSchedulerRuleWithOptions(request: SwitchSchedulerRuleRequest, runtime: $Util.RuntimeOptions): Promise<SwitchSchedulerRuleResponse> {
|
|
20361
22653
|
Util.validateModel(request);
|
|
20362
22654
|
let query = { };
|
|
@@ -20389,6 +22681,15 @@ export default class Client extends OpenApi {
|
|
|
20389
22681
|
return $tea.cast<SwitchSchedulerRuleResponse>(await this.callApi(params, req, runtime), new SwitchSchedulerRuleResponse({}));
|
|
20390
22682
|
}
|
|
20391
22683
|
|
|
22684
|
+
/**
|
|
22685
|
+
* 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.
|
|
22686
|
+
* Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
|
|
22687
|
+
* ### Limits
|
|
22688
|
+
* 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.
|
|
22689
|
+
*
|
|
22690
|
+
* @param request SwitchSchedulerRuleRequest
|
|
22691
|
+
* @return SwitchSchedulerRuleResponse
|
|
22692
|
+
*/
|
|
20392
22693
|
async switchSchedulerRule(request: SwitchSchedulerRuleRequest): Promise<SwitchSchedulerRuleResponse> {
|
|
20393
22694
|
let runtime = new $Util.RuntimeOptions({ });
|
|
20394
22695
|
return await this.switchSchedulerRuleWithOptions(request, runtime);
|