@alicloud/ddoscoo20200101 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1265 -0
- package/dist/client.js +1769 -7
- package/dist/client.js.map +1 -1
- package/package.json +5 -5
- package/src/client.ts +2030 -37
package/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[];
|
|
@@ -7085,12 +7370,96 @@ export class DescribeSchedulerRulesResponse extends $tea.Model {
|
|
|
7085
7370
|
}
|
|
7086
7371
|
}
|
|
7087
7372
|
|
|
7088
|
-
export class
|
|
7089
|
-
|
|
7373
|
+
export class DescribeSlaEventListRequest extends $tea.Model {
|
|
7374
|
+
endTime?: number;
|
|
7375
|
+
ip?: string;
|
|
7376
|
+
page?: number;
|
|
7377
|
+
pageSize?: number;
|
|
7378
|
+
region?: string;
|
|
7379
|
+
startTime?: number;
|
|
7090
7380
|
static names(): { [key: string]: string } {
|
|
7091
7381
|
return {
|
|
7092
|
-
|
|
7093
|
-
|
|
7382
|
+
endTime: 'EndTime',
|
|
7383
|
+
ip: 'Ip',
|
|
7384
|
+
page: 'Page',
|
|
7385
|
+
pageSize: 'PageSize',
|
|
7386
|
+
region: 'Region',
|
|
7387
|
+
startTime: 'StartTime',
|
|
7388
|
+
};
|
|
7389
|
+
}
|
|
7390
|
+
|
|
7391
|
+
static types(): { [key: string]: any } {
|
|
7392
|
+
return {
|
|
7393
|
+
endTime: 'number',
|
|
7394
|
+
ip: 'string',
|
|
7395
|
+
page: 'number',
|
|
7396
|
+
pageSize: 'number',
|
|
7397
|
+
region: 'string',
|
|
7398
|
+
startTime: 'number',
|
|
7399
|
+
};
|
|
7400
|
+
}
|
|
7401
|
+
|
|
7402
|
+
constructor(map?: { [key: string]: any }) {
|
|
7403
|
+
super(map);
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
|
|
7407
|
+
export class DescribeSlaEventListResponseBody extends $tea.Model {
|
|
7408
|
+
requestId?: string;
|
|
7409
|
+
slaEvent?: DescribeSlaEventListResponseBodySlaEvent[];
|
|
7410
|
+
total?: number;
|
|
7411
|
+
static names(): { [key: string]: string } {
|
|
7412
|
+
return {
|
|
7413
|
+
requestId: 'RequestId',
|
|
7414
|
+
slaEvent: 'SlaEvent',
|
|
7415
|
+
total: 'Total',
|
|
7416
|
+
};
|
|
7417
|
+
}
|
|
7418
|
+
|
|
7419
|
+
static types(): { [key: string]: any } {
|
|
7420
|
+
return {
|
|
7421
|
+
requestId: 'string',
|
|
7422
|
+
slaEvent: { 'type': 'array', 'itemType': DescribeSlaEventListResponseBodySlaEvent },
|
|
7423
|
+
total: 'number',
|
|
7424
|
+
};
|
|
7425
|
+
}
|
|
7426
|
+
|
|
7427
|
+
constructor(map?: { [key: string]: any }) {
|
|
7428
|
+
super(map);
|
|
7429
|
+
}
|
|
7430
|
+
}
|
|
7431
|
+
|
|
7432
|
+
export class DescribeSlaEventListResponse extends $tea.Model {
|
|
7433
|
+
headers: { [key: string]: string };
|
|
7434
|
+
statusCode: number;
|
|
7435
|
+
body: DescribeSlaEventListResponseBody;
|
|
7436
|
+
static names(): { [key: string]: string } {
|
|
7437
|
+
return {
|
|
7438
|
+
headers: 'headers',
|
|
7439
|
+
statusCode: 'statusCode',
|
|
7440
|
+
body: 'body',
|
|
7441
|
+
};
|
|
7442
|
+
}
|
|
7443
|
+
|
|
7444
|
+
static types(): { [key: string]: any } {
|
|
7445
|
+
return {
|
|
7446
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7447
|
+
statusCode: 'number',
|
|
7448
|
+
body: DescribeSlaEventListResponseBody,
|
|
7449
|
+
};
|
|
7450
|
+
}
|
|
7451
|
+
|
|
7452
|
+
constructor(map?: { [key: string]: any }) {
|
|
7453
|
+
super(map);
|
|
7454
|
+
}
|
|
7455
|
+
}
|
|
7456
|
+
|
|
7457
|
+
export class DescribeSlsAuthStatusRequest extends $tea.Model {
|
|
7458
|
+
resourceGroupId?: string;
|
|
7459
|
+
static names(): { [key: string]: string } {
|
|
7460
|
+
return {
|
|
7461
|
+
resourceGroupId: 'ResourceGroupId',
|
|
7462
|
+
};
|
|
7094
7463
|
}
|
|
7095
7464
|
|
|
7096
7465
|
static types(): { [key: string]: any } {
|
|
@@ -7619,6 +7988,84 @@ export class DescribeTagResourcesResponse extends $tea.Model {
|
|
|
7619
7988
|
}
|
|
7620
7989
|
}
|
|
7621
7990
|
|
|
7991
|
+
export class DescribeTotalAttackMaxFlowRequest extends $tea.Model {
|
|
7992
|
+
endTime?: number;
|
|
7993
|
+
instanceIds?: string[];
|
|
7994
|
+
resourceGroupId?: string;
|
|
7995
|
+
startTime?: number;
|
|
7996
|
+
static names(): { [key: string]: string } {
|
|
7997
|
+
return {
|
|
7998
|
+
endTime: 'EndTime',
|
|
7999
|
+
instanceIds: 'InstanceIds',
|
|
8000
|
+
resourceGroupId: 'ResourceGroupId',
|
|
8001
|
+
startTime: 'StartTime',
|
|
8002
|
+
};
|
|
8003
|
+
}
|
|
8004
|
+
|
|
8005
|
+
static types(): { [key: string]: any } {
|
|
8006
|
+
return {
|
|
8007
|
+
endTime: 'number',
|
|
8008
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
8009
|
+
resourceGroupId: 'string',
|
|
8010
|
+
startTime: 'number',
|
|
8011
|
+
};
|
|
8012
|
+
}
|
|
8013
|
+
|
|
8014
|
+
constructor(map?: { [key: string]: any }) {
|
|
8015
|
+
super(map);
|
|
8016
|
+
}
|
|
8017
|
+
}
|
|
8018
|
+
|
|
8019
|
+
export class DescribeTotalAttackMaxFlowResponseBody extends $tea.Model {
|
|
8020
|
+
bps?: number;
|
|
8021
|
+
pps?: number;
|
|
8022
|
+
requestId?: string;
|
|
8023
|
+
static names(): { [key: string]: string } {
|
|
8024
|
+
return {
|
|
8025
|
+
bps: 'Bps',
|
|
8026
|
+
pps: 'Pps',
|
|
8027
|
+
requestId: 'RequestId',
|
|
8028
|
+
};
|
|
8029
|
+
}
|
|
8030
|
+
|
|
8031
|
+
static types(): { [key: string]: any } {
|
|
8032
|
+
return {
|
|
8033
|
+
bps: 'number',
|
|
8034
|
+
pps: 'number',
|
|
8035
|
+
requestId: 'string',
|
|
8036
|
+
};
|
|
8037
|
+
}
|
|
8038
|
+
|
|
8039
|
+
constructor(map?: { [key: string]: any }) {
|
|
8040
|
+
super(map);
|
|
8041
|
+
}
|
|
8042
|
+
}
|
|
8043
|
+
|
|
8044
|
+
export class DescribeTotalAttackMaxFlowResponse extends $tea.Model {
|
|
8045
|
+
headers: { [key: string]: string };
|
|
8046
|
+
statusCode: number;
|
|
8047
|
+
body: DescribeTotalAttackMaxFlowResponseBody;
|
|
8048
|
+
static names(): { [key: string]: string } {
|
|
8049
|
+
return {
|
|
8050
|
+
headers: 'headers',
|
|
8051
|
+
statusCode: 'statusCode',
|
|
8052
|
+
body: 'body',
|
|
8053
|
+
};
|
|
8054
|
+
}
|
|
8055
|
+
|
|
8056
|
+
static types(): { [key: string]: any } {
|
|
8057
|
+
return {
|
|
8058
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8059
|
+
statusCode: 'number',
|
|
8060
|
+
body: DescribeTotalAttackMaxFlowResponseBody,
|
|
8061
|
+
};
|
|
8062
|
+
}
|
|
8063
|
+
|
|
8064
|
+
constructor(map?: { [key: string]: any }) {
|
|
8065
|
+
super(map);
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
|
|
7622
8069
|
export class DescribeUdpReflectRequest extends $tea.Model {
|
|
7623
8070
|
instanceId?: string;
|
|
7624
8071
|
regionId?: string;
|
|
@@ -9473,6 +9920,72 @@ export class EnableWebCCRuleResponse extends $tea.Model {
|
|
|
9473
9920
|
}
|
|
9474
9921
|
}
|
|
9475
9922
|
|
|
9923
|
+
export class ModifyBizBandWidthModeRequest extends $tea.Model {
|
|
9924
|
+
instanceId?: string;
|
|
9925
|
+
mode?: string;
|
|
9926
|
+
static names(): { [key: string]: string } {
|
|
9927
|
+
return {
|
|
9928
|
+
instanceId: 'InstanceId',
|
|
9929
|
+
mode: 'Mode',
|
|
9930
|
+
};
|
|
9931
|
+
}
|
|
9932
|
+
|
|
9933
|
+
static types(): { [key: string]: any } {
|
|
9934
|
+
return {
|
|
9935
|
+
instanceId: 'string',
|
|
9936
|
+
mode: 'string',
|
|
9937
|
+
};
|
|
9938
|
+
}
|
|
9939
|
+
|
|
9940
|
+
constructor(map?: { [key: string]: any }) {
|
|
9941
|
+
super(map);
|
|
9942
|
+
}
|
|
9943
|
+
}
|
|
9944
|
+
|
|
9945
|
+
export class ModifyBizBandWidthModeResponseBody extends $tea.Model {
|
|
9946
|
+
requestId?: string;
|
|
9947
|
+
static names(): { [key: string]: string } {
|
|
9948
|
+
return {
|
|
9949
|
+
requestId: 'RequestId',
|
|
9950
|
+
};
|
|
9951
|
+
}
|
|
9952
|
+
|
|
9953
|
+
static types(): { [key: string]: any } {
|
|
9954
|
+
return {
|
|
9955
|
+
requestId: 'string',
|
|
9956
|
+
};
|
|
9957
|
+
}
|
|
9958
|
+
|
|
9959
|
+
constructor(map?: { [key: string]: any }) {
|
|
9960
|
+
super(map);
|
|
9961
|
+
}
|
|
9962
|
+
}
|
|
9963
|
+
|
|
9964
|
+
export class ModifyBizBandWidthModeResponse extends $tea.Model {
|
|
9965
|
+
headers: { [key: string]: string };
|
|
9966
|
+
statusCode: number;
|
|
9967
|
+
body: ModifyBizBandWidthModeResponseBody;
|
|
9968
|
+
static names(): { [key: string]: string } {
|
|
9969
|
+
return {
|
|
9970
|
+
headers: 'headers',
|
|
9971
|
+
statusCode: 'statusCode',
|
|
9972
|
+
body: 'body',
|
|
9973
|
+
};
|
|
9974
|
+
}
|
|
9975
|
+
|
|
9976
|
+
static types(): { [key: string]: any } {
|
|
9977
|
+
return {
|
|
9978
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9979
|
+
statusCode: 'number',
|
|
9980
|
+
body: ModifyBizBandWidthModeResponseBody,
|
|
9981
|
+
};
|
|
9982
|
+
}
|
|
9983
|
+
|
|
9984
|
+
constructor(map?: { [key: string]: any }) {
|
|
9985
|
+
super(map);
|
|
9986
|
+
}
|
|
9987
|
+
}
|
|
9988
|
+
|
|
9476
9989
|
export class ModifyBlackholeStatusRequest extends $tea.Model {
|
|
9477
9990
|
blackholeStatus?: string;
|
|
9478
9991
|
instanceId?: string;
|
|
@@ -9703,12 +10216,147 @@ export class ModifyDomainResourceRequest extends $tea.Model {
|
|
|
9703
10216
|
|
|
9704
10217
|
static types(): { [key: string]: any } {
|
|
9705
10218
|
return {
|
|
9706
|
-
domain: 'string',
|
|
9707
|
-
httpsExt: 'string',
|
|
9708
|
-
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
9709
|
-
proxyTypes: { 'type': 'array', 'itemType': ModifyDomainResourceRequestProxyTypes },
|
|
9710
|
-
realServers: { 'type': 'array', 'itemType': 'string' },
|
|
9711
|
-
rsType: 'number',
|
|
10219
|
+
domain: 'string',
|
|
10220
|
+
httpsExt: 'string',
|
|
10221
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
10222
|
+
proxyTypes: { 'type': 'array', 'itemType': ModifyDomainResourceRequestProxyTypes },
|
|
10223
|
+
realServers: { 'type': 'array', 'itemType': 'string' },
|
|
10224
|
+
rsType: 'number',
|
|
10225
|
+
};
|
|
10226
|
+
}
|
|
10227
|
+
|
|
10228
|
+
constructor(map?: { [key: string]: any }) {
|
|
10229
|
+
super(map);
|
|
10230
|
+
}
|
|
10231
|
+
}
|
|
10232
|
+
|
|
10233
|
+
export class ModifyDomainResourceResponseBody extends $tea.Model {
|
|
10234
|
+
requestId?: string;
|
|
10235
|
+
static names(): { [key: string]: string } {
|
|
10236
|
+
return {
|
|
10237
|
+
requestId: 'RequestId',
|
|
10238
|
+
};
|
|
10239
|
+
}
|
|
10240
|
+
|
|
10241
|
+
static types(): { [key: string]: any } {
|
|
10242
|
+
return {
|
|
10243
|
+
requestId: 'string',
|
|
10244
|
+
};
|
|
10245
|
+
}
|
|
10246
|
+
|
|
10247
|
+
constructor(map?: { [key: string]: any }) {
|
|
10248
|
+
super(map);
|
|
10249
|
+
}
|
|
10250
|
+
}
|
|
10251
|
+
|
|
10252
|
+
export class ModifyDomainResourceResponse extends $tea.Model {
|
|
10253
|
+
headers: { [key: string]: string };
|
|
10254
|
+
statusCode: number;
|
|
10255
|
+
body: ModifyDomainResourceResponseBody;
|
|
10256
|
+
static names(): { [key: string]: string } {
|
|
10257
|
+
return {
|
|
10258
|
+
headers: 'headers',
|
|
10259
|
+
statusCode: 'statusCode',
|
|
10260
|
+
body: 'body',
|
|
10261
|
+
};
|
|
10262
|
+
}
|
|
10263
|
+
|
|
10264
|
+
static types(): { [key: string]: any } {
|
|
10265
|
+
return {
|
|
10266
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10267
|
+
statusCode: 'number',
|
|
10268
|
+
body: ModifyDomainResourceResponseBody,
|
|
10269
|
+
};
|
|
10270
|
+
}
|
|
10271
|
+
|
|
10272
|
+
constructor(map?: { [key: string]: any }) {
|
|
10273
|
+
super(map);
|
|
10274
|
+
}
|
|
10275
|
+
}
|
|
10276
|
+
|
|
10277
|
+
export class ModifyElasticBandWidthRequest extends $tea.Model {
|
|
10278
|
+
elasticBandwidth?: number;
|
|
10279
|
+
instanceId?: string;
|
|
10280
|
+
static names(): { [key: string]: string } {
|
|
10281
|
+
return {
|
|
10282
|
+
elasticBandwidth: 'ElasticBandwidth',
|
|
10283
|
+
instanceId: 'InstanceId',
|
|
10284
|
+
};
|
|
10285
|
+
}
|
|
10286
|
+
|
|
10287
|
+
static types(): { [key: string]: any } {
|
|
10288
|
+
return {
|
|
10289
|
+
elasticBandwidth: 'number',
|
|
10290
|
+
instanceId: 'string',
|
|
10291
|
+
};
|
|
10292
|
+
}
|
|
10293
|
+
|
|
10294
|
+
constructor(map?: { [key: string]: any }) {
|
|
10295
|
+
super(map);
|
|
10296
|
+
}
|
|
10297
|
+
}
|
|
10298
|
+
|
|
10299
|
+
export class ModifyElasticBandWidthResponseBody extends $tea.Model {
|
|
10300
|
+
requestId?: string;
|
|
10301
|
+
static names(): { [key: string]: string } {
|
|
10302
|
+
return {
|
|
10303
|
+
requestId: 'RequestId',
|
|
10304
|
+
};
|
|
10305
|
+
}
|
|
10306
|
+
|
|
10307
|
+
static types(): { [key: string]: any } {
|
|
10308
|
+
return {
|
|
10309
|
+
requestId: 'string',
|
|
10310
|
+
};
|
|
10311
|
+
}
|
|
10312
|
+
|
|
10313
|
+
constructor(map?: { [key: string]: any }) {
|
|
10314
|
+
super(map);
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
10317
|
+
|
|
10318
|
+
export class ModifyElasticBandWidthResponse extends $tea.Model {
|
|
10319
|
+
headers: { [key: string]: string };
|
|
10320
|
+
statusCode: number;
|
|
10321
|
+
body: ModifyElasticBandWidthResponseBody;
|
|
10322
|
+
static names(): { [key: string]: string } {
|
|
10323
|
+
return {
|
|
10324
|
+
headers: 'headers',
|
|
10325
|
+
statusCode: 'statusCode',
|
|
10326
|
+
body: 'body',
|
|
10327
|
+
};
|
|
10328
|
+
}
|
|
10329
|
+
|
|
10330
|
+
static types(): { [key: string]: any } {
|
|
10331
|
+
return {
|
|
10332
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10333
|
+
statusCode: 'number',
|
|
10334
|
+
body: ModifyElasticBandWidthResponseBody,
|
|
10335
|
+
};
|
|
10336
|
+
}
|
|
10337
|
+
|
|
10338
|
+
constructor(map?: { [key: string]: any }) {
|
|
10339
|
+
super(map);
|
|
10340
|
+
}
|
|
10341
|
+
}
|
|
10342
|
+
|
|
10343
|
+
export class ModifyElasticBizBandWidthRequest extends $tea.Model {
|
|
10344
|
+
elasticBizBandwidth?: number;
|
|
10345
|
+
instanceId?: string;
|
|
10346
|
+
mode?: string;
|
|
10347
|
+
static names(): { [key: string]: string } {
|
|
10348
|
+
return {
|
|
10349
|
+
elasticBizBandwidth: 'ElasticBizBandwidth',
|
|
10350
|
+
instanceId: 'InstanceId',
|
|
10351
|
+
mode: 'Mode',
|
|
10352
|
+
};
|
|
10353
|
+
}
|
|
10354
|
+
|
|
10355
|
+
static types(): { [key: string]: any } {
|
|
10356
|
+
return {
|
|
10357
|
+
elasticBizBandwidth: 'number',
|
|
10358
|
+
instanceId: 'string',
|
|
10359
|
+
mode: 'string',
|
|
9712
10360
|
};
|
|
9713
10361
|
}
|
|
9714
10362
|
|
|
@@ -9717,7 +10365,7 @@ export class ModifyDomainResourceRequest extends $tea.Model {
|
|
|
9717
10365
|
}
|
|
9718
10366
|
}
|
|
9719
10367
|
|
|
9720
|
-
export class
|
|
10368
|
+
export class ModifyElasticBizBandWidthResponseBody extends $tea.Model {
|
|
9721
10369
|
requestId?: string;
|
|
9722
10370
|
static names(): { [key: string]: string } {
|
|
9723
10371
|
return {
|
|
@@ -9736,10 +10384,10 @@ export class ModifyDomainResourceResponseBody extends $tea.Model {
|
|
|
9736
10384
|
}
|
|
9737
10385
|
}
|
|
9738
10386
|
|
|
9739
|
-
export class
|
|
10387
|
+
export class ModifyElasticBizBandWidthResponse extends $tea.Model {
|
|
9740
10388
|
headers: { [key: string]: string };
|
|
9741
10389
|
statusCode: number;
|
|
9742
|
-
body:
|
|
10390
|
+
body: ModifyElasticBizBandWidthResponseBody;
|
|
9743
10391
|
static names(): { [key: string]: string } {
|
|
9744
10392
|
return {
|
|
9745
10393
|
headers: 'headers',
|
|
@@ -9752,7 +10400,7 @@ export class ModifyDomainResourceResponse extends $tea.Model {
|
|
|
9752
10400
|
return {
|
|
9753
10401
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9754
10402
|
statusCode: 'number',
|
|
9755
|
-
body:
|
|
10403
|
+
body: ModifyElasticBizBandWidthResponseBody,
|
|
9756
10404
|
};
|
|
9757
10405
|
}
|
|
9758
10406
|
|
|
@@ -9761,20 +10409,20 @@ export class ModifyDomainResourceResponse extends $tea.Model {
|
|
|
9761
10409
|
}
|
|
9762
10410
|
}
|
|
9763
10411
|
|
|
9764
|
-
export class
|
|
9765
|
-
|
|
9766
|
-
|
|
10412
|
+
export class ModifyFullLogTtlRequest extends $tea.Model {
|
|
10413
|
+
resourceGroupId?: string;
|
|
10414
|
+
ttl?: number;
|
|
9767
10415
|
static names(): { [key: string]: string } {
|
|
9768
10416
|
return {
|
|
9769
|
-
|
|
9770
|
-
|
|
10417
|
+
resourceGroupId: 'ResourceGroupId',
|
|
10418
|
+
ttl: 'Ttl',
|
|
9771
10419
|
};
|
|
9772
10420
|
}
|
|
9773
10421
|
|
|
9774
10422
|
static types(): { [key: string]: any } {
|
|
9775
10423
|
return {
|
|
9776
|
-
|
|
9777
|
-
|
|
10424
|
+
resourceGroupId: 'string',
|
|
10425
|
+
ttl: 'number',
|
|
9778
10426
|
};
|
|
9779
10427
|
}
|
|
9780
10428
|
|
|
@@ -9783,7 +10431,7 @@ export class ModifyElasticBandWidthRequest extends $tea.Model {
|
|
|
9783
10431
|
}
|
|
9784
10432
|
}
|
|
9785
10433
|
|
|
9786
|
-
export class
|
|
10434
|
+
export class ModifyFullLogTtlResponseBody extends $tea.Model {
|
|
9787
10435
|
requestId?: string;
|
|
9788
10436
|
static names(): { [key: string]: string } {
|
|
9789
10437
|
return {
|
|
@@ -9802,10 +10450,10 @@ export class ModifyElasticBandWidthResponseBody extends $tea.Model {
|
|
|
9802
10450
|
}
|
|
9803
10451
|
}
|
|
9804
10452
|
|
|
9805
|
-
export class
|
|
10453
|
+
export class ModifyFullLogTtlResponse extends $tea.Model {
|
|
9806
10454
|
headers: { [key: string]: string };
|
|
9807
10455
|
statusCode: number;
|
|
9808
|
-
body:
|
|
10456
|
+
body: ModifyFullLogTtlResponseBody;
|
|
9809
10457
|
static names(): { [key: string]: string } {
|
|
9810
10458
|
return {
|
|
9811
10459
|
headers: 'headers',
|
|
@@ -9818,7 +10466,7 @@ export class ModifyElasticBandWidthResponse extends $tea.Model {
|
|
|
9818
10466
|
return {
|
|
9819
10467
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9820
10468
|
statusCode: 'number',
|
|
9821
|
-
body:
|
|
10469
|
+
body: ModifyFullLogTtlResponseBody,
|
|
9822
10470
|
};
|
|
9823
10471
|
}
|
|
9824
10472
|
|
|
@@ -9827,20 +10475,23 @@ export class ModifyElasticBandWidthResponse extends $tea.Model {
|
|
|
9827
10475
|
}
|
|
9828
10476
|
}
|
|
9829
10477
|
|
|
9830
|
-
export class
|
|
10478
|
+
export class ModifyHeadersRequest extends $tea.Model {
|
|
10479
|
+
customHeaders?: string;
|
|
10480
|
+
domain?: string;
|
|
9831
10481
|
resourceGroupId?: string;
|
|
9832
|
-
ttl?: number;
|
|
9833
10482
|
static names(): { [key: string]: string } {
|
|
9834
10483
|
return {
|
|
10484
|
+
customHeaders: 'CustomHeaders',
|
|
10485
|
+
domain: 'Domain',
|
|
9835
10486
|
resourceGroupId: 'ResourceGroupId',
|
|
9836
|
-
ttl: 'Ttl',
|
|
9837
10487
|
};
|
|
9838
10488
|
}
|
|
9839
10489
|
|
|
9840
10490
|
static types(): { [key: string]: any } {
|
|
9841
10491
|
return {
|
|
10492
|
+
customHeaders: 'string',
|
|
10493
|
+
domain: 'string',
|
|
9842
10494
|
resourceGroupId: 'string',
|
|
9843
|
-
ttl: 'number',
|
|
9844
10495
|
};
|
|
9845
10496
|
}
|
|
9846
10497
|
|
|
@@ -9849,7 +10500,7 @@ export class ModifyFullLogTtlRequest extends $tea.Model {
|
|
|
9849
10500
|
}
|
|
9850
10501
|
}
|
|
9851
10502
|
|
|
9852
|
-
export class
|
|
10503
|
+
export class ModifyHeadersResponseBody extends $tea.Model {
|
|
9853
10504
|
requestId?: string;
|
|
9854
10505
|
static names(): { [key: string]: string } {
|
|
9855
10506
|
return {
|
|
@@ -9868,10 +10519,10 @@ export class ModifyFullLogTtlResponseBody extends $tea.Model {
|
|
|
9868
10519
|
}
|
|
9869
10520
|
}
|
|
9870
10521
|
|
|
9871
|
-
export class
|
|
10522
|
+
export class ModifyHeadersResponse extends $tea.Model {
|
|
9872
10523
|
headers: { [key: string]: string };
|
|
9873
10524
|
statusCode: number;
|
|
9874
|
-
body:
|
|
10525
|
+
body: ModifyHeadersResponseBody;
|
|
9875
10526
|
static names(): { [key: string]: string } {
|
|
9876
10527
|
return {
|
|
9877
10528
|
headers: 'headers',
|
|
@@ -9884,7 +10535,7 @@ export class ModifyFullLogTtlResponse extends $tea.Model {
|
|
|
9884
10535
|
return {
|
|
9885
10536
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9886
10537
|
statusCode: 'number',
|
|
9887
|
-
body:
|
|
10538
|
+
body: ModifyHeadersResponseBody,
|
|
9888
10539
|
};
|
|
9889
10540
|
}
|
|
9890
10541
|
|
|
@@ -10172,6 +10823,72 @@ export class ModifyNetworkRuleAttributeResponse extends $tea.Model {
|
|
|
10172
10823
|
}
|
|
10173
10824
|
}
|
|
10174
10825
|
|
|
10826
|
+
export class ModifyOcspStatusRequest extends $tea.Model {
|
|
10827
|
+
domain?: string;
|
|
10828
|
+
enable?: number;
|
|
10829
|
+
static names(): { [key: string]: string } {
|
|
10830
|
+
return {
|
|
10831
|
+
domain: 'Domain',
|
|
10832
|
+
enable: 'Enable',
|
|
10833
|
+
};
|
|
10834
|
+
}
|
|
10835
|
+
|
|
10836
|
+
static types(): { [key: string]: any } {
|
|
10837
|
+
return {
|
|
10838
|
+
domain: 'string',
|
|
10839
|
+
enable: 'number',
|
|
10840
|
+
};
|
|
10841
|
+
}
|
|
10842
|
+
|
|
10843
|
+
constructor(map?: { [key: string]: any }) {
|
|
10844
|
+
super(map);
|
|
10845
|
+
}
|
|
10846
|
+
}
|
|
10847
|
+
|
|
10848
|
+
export class ModifyOcspStatusResponseBody extends $tea.Model {
|
|
10849
|
+
requestId?: string;
|
|
10850
|
+
static names(): { [key: string]: string } {
|
|
10851
|
+
return {
|
|
10852
|
+
requestId: 'RequestId',
|
|
10853
|
+
};
|
|
10854
|
+
}
|
|
10855
|
+
|
|
10856
|
+
static types(): { [key: string]: any } {
|
|
10857
|
+
return {
|
|
10858
|
+
requestId: 'string',
|
|
10859
|
+
};
|
|
10860
|
+
}
|
|
10861
|
+
|
|
10862
|
+
constructor(map?: { [key: string]: any }) {
|
|
10863
|
+
super(map);
|
|
10864
|
+
}
|
|
10865
|
+
}
|
|
10866
|
+
|
|
10867
|
+
export class ModifyOcspStatusResponse extends $tea.Model {
|
|
10868
|
+
headers: { [key: string]: string };
|
|
10869
|
+
statusCode: number;
|
|
10870
|
+
body: ModifyOcspStatusResponseBody;
|
|
10871
|
+
static names(): { [key: string]: string } {
|
|
10872
|
+
return {
|
|
10873
|
+
headers: 'headers',
|
|
10874
|
+
statusCode: 'statusCode',
|
|
10875
|
+
body: 'body',
|
|
10876
|
+
};
|
|
10877
|
+
}
|
|
10878
|
+
|
|
10879
|
+
static types(): { [key: string]: any } {
|
|
10880
|
+
return {
|
|
10881
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10882
|
+
statusCode: 'number',
|
|
10883
|
+
body: ModifyOcspStatusResponseBody,
|
|
10884
|
+
};
|
|
10885
|
+
}
|
|
10886
|
+
|
|
10887
|
+
constructor(map?: { [key: string]: any }) {
|
|
10888
|
+
super(map);
|
|
10889
|
+
}
|
|
10890
|
+
}
|
|
10891
|
+
|
|
10175
10892
|
export class ModifyPortRequest extends $tea.Model {
|
|
10176
10893
|
backendPort?: string;
|
|
10177
10894
|
frontendPort?: string;
|
|
@@ -11819,6 +12536,7 @@ export class DescribeBlockStatusResponseBodyStatusList extends $tea.Model {
|
|
|
11819
12536
|
}
|
|
11820
12537
|
|
|
11821
12538
|
export class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
12539
|
+
certIdentifier?: string;
|
|
11822
12540
|
common?: string;
|
|
11823
12541
|
domainRelated?: boolean;
|
|
11824
12542
|
endDate?: string;
|
|
@@ -11828,6 +12546,7 @@ export class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
|
11828
12546
|
startDate?: string;
|
|
11829
12547
|
static names(): { [key: string]: string } {
|
|
11830
12548
|
return {
|
|
12549
|
+
certIdentifier: 'CertIdentifier',
|
|
11831
12550
|
common: 'Common',
|
|
11832
12551
|
domainRelated: 'DomainRelated',
|
|
11833
12552
|
endDate: 'EndDate',
|
|
@@ -11840,6 +12559,7 @@ export class DescribeCertsResponseBodyCerts extends $tea.Model {
|
|
|
11840
12559
|
|
|
11841
12560
|
static types(): { [key: string]: any } {
|
|
11842
12561
|
return {
|
|
12562
|
+
certIdentifier: 'string',
|
|
11843
12563
|
common: 'string',
|
|
11844
12564
|
domainRelated: 'boolean',
|
|
11845
12565
|
endDate: 'string',
|
|
@@ -12220,6 +12940,7 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12220
12940
|
https2HttpEnable?: boolean;
|
|
12221
12941
|
httpsExt?: string;
|
|
12222
12942
|
instanceIds?: string[];
|
|
12943
|
+
ocspEnabled?: boolean;
|
|
12223
12944
|
policyMode?: string;
|
|
12224
12945
|
proxyEnabled?: boolean;
|
|
12225
12946
|
proxyTypes?: DescribeDomainResourceResponseBodyWebRulesProxyTypes[];
|
|
@@ -12246,6 +12967,7 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12246
12967
|
https2HttpEnable: 'Https2HttpEnable',
|
|
12247
12968
|
httpsExt: 'HttpsExt',
|
|
12248
12969
|
instanceIds: 'InstanceIds',
|
|
12970
|
+
ocspEnabled: 'OcspEnabled',
|
|
12249
12971
|
policyMode: 'PolicyMode',
|
|
12250
12972
|
proxyEnabled: 'ProxyEnabled',
|
|
12251
12973
|
proxyTypes: 'ProxyTypes',
|
|
@@ -12275,6 +12997,7 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12275
12997
|
https2HttpEnable: 'boolean',
|
|
12276
12998
|
httpsExt: 'string',
|
|
12277
12999
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
13000
|
+
ocspEnabled: 'boolean',
|
|
12278
13001
|
policyMode: 'string',
|
|
12279
13002
|
proxyEnabled: 'boolean',
|
|
12280
13003
|
proxyTypes: { 'type': 'array', 'itemType': DescribeDomainResourceResponseBodyWebRulesProxyTypes },
|
|
@@ -12294,6 +13017,28 @@ export class DescribeDomainResourceResponseBodyWebRules extends $tea.Model {
|
|
|
12294
13017
|
}
|
|
12295
13018
|
}
|
|
12296
13019
|
|
|
13020
|
+
export class DescribeDomainSecurityProfileResponseBodyResult extends $tea.Model {
|
|
13021
|
+
globalEnable?: boolean;
|
|
13022
|
+
globalMode?: string;
|
|
13023
|
+
static names(): { [key: string]: string } {
|
|
13024
|
+
return {
|
|
13025
|
+
globalEnable: 'GlobalEnable',
|
|
13026
|
+
globalMode: 'GlobalMode',
|
|
13027
|
+
};
|
|
13028
|
+
}
|
|
13029
|
+
|
|
13030
|
+
static types(): { [key: string]: any } {
|
|
13031
|
+
return {
|
|
13032
|
+
globalEnable: 'boolean',
|
|
13033
|
+
globalMode: 'string',
|
|
13034
|
+
};
|
|
13035
|
+
}
|
|
13036
|
+
|
|
13037
|
+
constructor(map?: { [key: string]: any }) {
|
|
13038
|
+
super(map);
|
|
13039
|
+
}
|
|
13040
|
+
}
|
|
13041
|
+
|
|
12297
13042
|
export class DescribeDomainStatusCodeListResponseBodyStatusCodeList extends $tea.Model {
|
|
12298
13043
|
index?: number;
|
|
12299
13044
|
status200?: number;
|
|
@@ -12471,6 +13216,28 @@ export class DescribeDomainViewTopUrlResponseBodyUrlList extends $tea.Model {
|
|
|
12471
13216
|
}
|
|
12472
13217
|
}
|
|
12473
13218
|
|
|
13219
|
+
export class DescribeHeadersResponseBodyCustomHeader extends $tea.Model {
|
|
13220
|
+
domain?: string;
|
|
13221
|
+
headers?: string;
|
|
13222
|
+
static names(): { [key: string]: string } {
|
|
13223
|
+
return {
|
|
13224
|
+
domain: 'Domain',
|
|
13225
|
+
headers: 'Headers',
|
|
13226
|
+
};
|
|
13227
|
+
}
|
|
13228
|
+
|
|
13229
|
+
static types(): { [key: string]: any } {
|
|
13230
|
+
return {
|
|
13231
|
+
domain: 'string',
|
|
13232
|
+
headers: 'string',
|
|
13233
|
+
};
|
|
13234
|
+
}
|
|
13235
|
+
|
|
13236
|
+
constructor(map?: { [key: string]: any }) {
|
|
13237
|
+
super(map);
|
|
13238
|
+
}
|
|
13239
|
+
}
|
|
13240
|
+
|
|
12474
13241
|
export class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck extends $tea.Model {
|
|
12475
13242
|
domain?: string;
|
|
12476
13243
|
down?: number;
|
|
@@ -12645,6 +13412,37 @@ export class DescribeInstanceDetailsResponseBodyInstanceDetails extends $tea.Mod
|
|
|
12645
13412
|
}
|
|
12646
13413
|
}
|
|
12647
13414
|
|
|
13415
|
+
export class DescribeInstanceExtResponseBodyInstanceExtSpecs extends $tea.Model {
|
|
13416
|
+
functionVersion?: number;
|
|
13417
|
+
instanceId?: string;
|
|
13418
|
+
normalBandwidth?: number;
|
|
13419
|
+
productPlan?: number;
|
|
13420
|
+
servicePartner?: string;
|
|
13421
|
+
static names(): { [key: string]: string } {
|
|
13422
|
+
return {
|
|
13423
|
+
functionVersion: 'FunctionVersion',
|
|
13424
|
+
instanceId: 'InstanceId',
|
|
13425
|
+
normalBandwidth: 'NormalBandwidth',
|
|
13426
|
+
productPlan: 'ProductPlan',
|
|
13427
|
+
servicePartner: 'ServicePartner',
|
|
13428
|
+
};
|
|
13429
|
+
}
|
|
13430
|
+
|
|
13431
|
+
static types(): { [key: string]: any } {
|
|
13432
|
+
return {
|
|
13433
|
+
functionVersion: 'number',
|
|
13434
|
+
instanceId: 'string',
|
|
13435
|
+
normalBandwidth: 'number',
|
|
13436
|
+
productPlan: 'number',
|
|
13437
|
+
servicePartner: 'string',
|
|
13438
|
+
};
|
|
13439
|
+
}
|
|
13440
|
+
|
|
13441
|
+
constructor(map?: { [key: string]: any }) {
|
|
13442
|
+
super(map);
|
|
13443
|
+
}
|
|
13444
|
+
}
|
|
13445
|
+
|
|
12648
13446
|
export class DescribeInstanceIdsResponseBodyInstanceIds extends $tea.Model {
|
|
12649
13447
|
edition?: number;
|
|
12650
13448
|
instanceId?: string;
|
|
@@ -12679,27 +13477,39 @@ export class DescribeInstanceIdsResponseBodyInstanceIds extends $tea.Model {
|
|
|
12679
13477
|
export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
12680
13478
|
bandwidthMbps?: number;
|
|
12681
13479
|
baseBandwidth?: number;
|
|
13480
|
+
connLimit?: number;
|
|
13481
|
+
cpsLimit?: number;
|
|
12682
13482
|
defenseCount?: number;
|
|
12683
13483
|
domainLimit?: number;
|
|
12684
13484
|
elasticBandwidth?: number;
|
|
12685
13485
|
elasticBw?: number;
|
|
13486
|
+
elasticBwModel?: string;
|
|
13487
|
+
elasticQps?: number;
|
|
13488
|
+
elasticQpsMode?: string;
|
|
12686
13489
|
functionVersion?: string;
|
|
12687
13490
|
instanceId?: string;
|
|
12688
13491
|
portLimit?: number;
|
|
12689
13492
|
qpsLimit?: number;
|
|
13493
|
+
realLimitBw?: number;
|
|
12690
13494
|
siteLimit?: number;
|
|
12691
13495
|
static names(): { [key: string]: string } {
|
|
12692
13496
|
return {
|
|
12693
13497
|
bandwidthMbps: 'BandwidthMbps',
|
|
12694
13498
|
baseBandwidth: 'BaseBandwidth',
|
|
13499
|
+
connLimit: 'ConnLimit',
|
|
13500
|
+
cpsLimit: 'CpsLimit',
|
|
12695
13501
|
defenseCount: 'DefenseCount',
|
|
12696
13502
|
domainLimit: 'DomainLimit',
|
|
12697
13503
|
elasticBandwidth: 'ElasticBandwidth',
|
|
12698
13504
|
elasticBw: 'ElasticBw',
|
|
13505
|
+
elasticBwModel: 'ElasticBwModel',
|
|
13506
|
+
elasticQps: 'ElasticQps',
|
|
13507
|
+
elasticQpsMode: 'ElasticQpsMode',
|
|
12699
13508
|
functionVersion: 'FunctionVersion',
|
|
12700
13509
|
instanceId: 'InstanceId',
|
|
12701
13510
|
portLimit: 'PortLimit',
|
|
12702
13511
|
qpsLimit: 'QpsLimit',
|
|
13512
|
+
realLimitBw: 'RealLimitBw',
|
|
12703
13513
|
siteLimit: 'SiteLimit',
|
|
12704
13514
|
};
|
|
12705
13515
|
}
|
|
@@ -12708,14 +13518,20 @@ export class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
12708
13518
|
return {
|
|
12709
13519
|
bandwidthMbps: 'number',
|
|
12710
13520
|
baseBandwidth: 'number',
|
|
13521
|
+
connLimit: 'number',
|
|
13522
|
+
cpsLimit: 'number',
|
|
12711
13523
|
defenseCount: 'number',
|
|
12712
13524
|
domainLimit: 'number',
|
|
12713
13525
|
elasticBandwidth: 'number',
|
|
12714
13526
|
elasticBw: 'number',
|
|
13527
|
+
elasticBwModel: 'string',
|
|
13528
|
+
elasticQps: 'number',
|
|
13529
|
+
elasticQpsMode: 'string',
|
|
12715
13530
|
functionVersion: 'string',
|
|
12716
13531
|
instanceId: 'string',
|
|
12717
13532
|
portLimit: 'number',
|
|
12718
13533
|
qpsLimit: 'number',
|
|
13534
|
+
realLimitBw: 'number',
|
|
12719
13535
|
siteLimit: 'number',
|
|
12720
13536
|
};
|
|
12721
13537
|
}
|
|
@@ -12785,8 +13601,11 @@ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
12785
13601
|
enabled?: number;
|
|
12786
13602
|
expireTime?: number;
|
|
12787
13603
|
instanceId?: string;
|
|
13604
|
+
ip?: string;
|
|
12788
13605
|
ipMode?: string;
|
|
12789
13606
|
ipVersion?: string;
|
|
13607
|
+
isFirstOpenBw?: number;
|
|
13608
|
+
isFirstOpenQps?: number;
|
|
12790
13609
|
remark?: string;
|
|
12791
13610
|
status?: number;
|
|
12792
13611
|
static names(): { [key: string]: string } {
|
|
@@ -12797,8 +13616,11 @@ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
12797
13616
|
enabled: 'Enabled',
|
|
12798
13617
|
expireTime: 'ExpireTime',
|
|
12799
13618
|
instanceId: 'InstanceId',
|
|
13619
|
+
ip: 'Ip',
|
|
12800
13620
|
ipMode: 'IpMode',
|
|
12801
13621
|
ipVersion: 'IpVersion',
|
|
13622
|
+
isFirstOpenBw: 'IsFirstOpenBw',
|
|
13623
|
+
isFirstOpenQps: 'IsFirstOpenQps',
|
|
12802
13624
|
remark: 'Remark',
|
|
12803
13625
|
status: 'Status',
|
|
12804
13626
|
};
|
|
@@ -12812,8 +13634,11 @@ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
|
12812
13634
|
enabled: 'number',
|
|
12813
13635
|
expireTime: 'number',
|
|
12814
13636
|
instanceId: 'string',
|
|
13637
|
+
ip: 'string',
|
|
12815
13638
|
ipMode: 'string',
|
|
12816
13639
|
ipVersion: 'string',
|
|
13640
|
+
isFirstOpenBw: 'number',
|
|
13641
|
+
isFirstOpenQps: 'number',
|
|
12817
13642
|
remark: 'string',
|
|
12818
13643
|
status: 'number',
|
|
12819
13644
|
};
|
|
@@ -13330,6 +14155,14 @@ export class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
13330
14155
|
outBps?: number;
|
|
13331
14156
|
outPps?: number;
|
|
13332
14157
|
region?: string;
|
|
14158
|
+
slaBpsDropBps?: number;
|
|
14159
|
+
slaBpsDropPps?: number;
|
|
14160
|
+
slaConnDropBps?: number;
|
|
14161
|
+
slaConnDropPps?: number;
|
|
14162
|
+
slaCpsDropBps?: number;
|
|
14163
|
+
slaCpsDropPps?: number;
|
|
14164
|
+
slaPpsDropBps?: number;
|
|
14165
|
+
slaPpsDropPps?: number;
|
|
13333
14166
|
time?: number;
|
|
13334
14167
|
static names(): { [key: string]: string } {
|
|
13335
14168
|
return {
|
|
@@ -13341,6 +14174,14 @@ export class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
13341
14174
|
outBps: 'OutBps',
|
|
13342
14175
|
outPps: 'OutPps',
|
|
13343
14176
|
region: 'Region',
|
|
14177
|
+
slaBpsDropBps: 'SlaBpsDropBps',
|
|
14178
|
+
slaBpsDropPps: 'SlaBpsDropPps',
|
|
14179
|
+
slaConnDropBps: 'SlaConnDropBps',
|
|
14180
|
+
slaConnDropPps: 'SlaConnDropPps',
|
|
14181
|
+
slaCpsDropBps: 'SlaCpsDropBps',
|
|
14182
|
+
slaCpsDropPps: 'SlaCpsDropPps',
|
|
14183
|
+
slaPpsDropBps: 'SlaPpsDropBps',
|
|
14184
|
+
slaPpsDropPps: 'SlaPpsDropPps',
|
|
13344
14185
|
time: 'Time',
|
|
13345
14186
|
};
|
|
13346
14187
|
}
|
|
@@ -13355,6 +14196,14 @@ export class DescribePortFlowListResponseBodyPortFlowList extends $tea.Model {
|
|
|
13355
14196
|
outBps: 'number',
|
|
13356
14197
|
outPps: 'number',
|
|
13357
14198
|
region: 'string',
|
|
14199
|
+
slaBpsDropBps: 'number',
|
|
14200
|
+
slaBpsDropPps: 'number',
|
|
14201
|
+
slaConnDropBps: 'number',
|
|
14202
|
+
slaConnDropPps: 'number',
|
|
14203
|
+
slaCpsDropBps: 'number',
|
|
14204
|
+
slaCpsDropPps: 'number',
|
|
14205
|
+
slaPpsDropBps: 'number',
|
|
14206
|
+
slaPpsDropPps: 'number',
|
|
13358
14207
|
time: 'number',
|
|
13359
14208
|
};
|
|
13360
14209
|
}
|
|
@@ -13660,6 +14509,34 @@ export class DescribeSchedulerRulesResponseBodySchedulerRules extends $tea.Model
|
|
|
13660
14509
|
}
|
|
13661
14510
|
}
|
|
13662
14511
|
|
|
14512
|
+
export class DescribeSlaEventListResponseBodySlaEvent extends $tea.Model {
|
|
14513
|
+
endTime?: number;
|
|
14514
|
+
ip?: string;
|
|
14515
|
+
region?: string;
|
|
14516
|
+
startTime?: number;
|
|
14517
|
+
static names(): { [key: string]: string } {
|
|
14518
|
+
return {
|
|
14519
|
+
endTime: 'EndTime',
|
|
14520
|
+
ip: 'Ip',
|
|
14521
|
+
region: 'Region',
|
|
14522
|
+
startTime: 'StartTime',
|
|
14523
|
+
};
|
|
14524
|
+
}
|
|
14525
|
+
|
|
14526
|
+
static types(): { [key: string]: any } {
|
|
14527
|
+
return {
|
|
14528
|
+
endTime: 'number',
|
|
14529
|
+
ip: 'string',
|
|
14530
|
+
region: 'string',
|
|
14531
|
+
startTime: 'number',
|
|
14532
|
+
};
|
|
14533
|
+
}
|
|
14534
|
+
|
|
14535
|
+
constructor(map?: { [key: string]: any }) {
|
|
14536
|
+
super(map);
|
|
14537
|
+
}
|
|
14538
|
+
}
|
|
14539
|
+
|
|
13663
14540
|
export class DescribeStsGrantStatusResponseBodyStsGrant extends $tea.Model {
|
|
13664
14541
|
status?: number;
|
|
13665
14542
|
static names(): { [key: string]: string } {
|
|
@@ -14262,6 +15139,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
14262
15139
|
ccRuleEnabled?: boolean;
|
|
14263
15140
|
ccTemplate?: string;
|
|
14264
15141
|
certName?: string;
|
|
15142
|
+
certRegion?: string;
|
|
14265
15143
|
cname?: string;
|
|
14266
15144
|
customCiphers?: string[];
|
|
14267
15145
|
domain?: string;
|
|
@@ -14287,6 +15165,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
14287
15165
|
ccRuleEnabled: 'CcRuleEnabled',
|
|
14288
15166
|
ccTemplate: 'CcTemplate',
|
|
14289
15167
|
certName: 'CertName',
|
|
15168
|
+
certRegion: 'CertRegion',
|
|
14290
15169
|
cname: 'Cname',
|
|
14291
15170
|
customCiphers: 'CustomCiphers',
|
|
14292
15171
|
domain: 'Domain',
|
|
@@ -14315,6 +15194,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
|
|
|
14315
15194
|
ccRuleEnabled: 'boolean',
|
|
14316
15195
|
ccTemplate: 'string',
|
|
14317
15196
|
certName: 'string',
|
|
15197
|
+
certRegion: 'string',
|
|
14318
15198
|
cname: 'string',
|
|
14319
15199
|
customCiphers: { 'type': 'array', 'itemType': 'string' },
|
|
14320
15200
|
domain: 'string',
|
|
@@ -14423,6 +15303,16 @@ export default class Client extends OpenApi {
|
|
|
14423
15303
|
return await this.addAutoCcBlacklistWithOptions(request, runtime);
|
|
14424
15304
|
}
|
|
14425
15305
|
|
|
15306
|
+
/**
|
|
15307
|
+
* 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.
|
|
15308
|
+
* 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.
|
|
15309
|
+
* ### Limits
|
|
15310
|
+
* 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.
|
|
15311
|
+
*
|
|
15312
|
+
* @param request AddAutoCcWhitelistRequest
|
|
15313
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15314
|
+
* @return AddAutoCcWhitelistResponse
|
|
15315
|
+
*/
|
|
14426
15316
|
async addAutoCcWhitelistWithOptions(request: AddAutoCcWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<AddAutoCcWhitelistResponse> {
|
|
14427
15317
|
Util.validateModel(request);
|
|
14428
15318
|
let query = { };
|
|
@@ -14455,6 +15345,15 @@ export default class Client extends OpenApi {
|
|
|
14455
15345
|
return $tea.cast<AddAutoCcWhitelistResponse>(await this.callApi(params, req, runtime), new AddAutoCcWhitelistResponse({}));
|
|
14456
15346
|
}
|
|
14457
15347
|
|
|
15348
|
+
/**
|
|
15349
|
+
* 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.
|
|
15350
|
+
* 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.
|
|
15351
|
+
* ### Limits
|
|
15352
|
+
* 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.
|
|
15353
|
+
*
|
|
15354
|
+
* @param request AddAutoCcWhitelistRequest
|
|
15355
|
+
* @return AddAutoCcWhitelistResponse
|
|
15356
|
+
*/
|
|
14458
15357
|
async addAutoCcWhitelist(request: AddAutoCcWhitelistRequest): Promise<AddAutoCcWhitelistResponse> {
|
|
14459
15358
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14460
15359
|
return await this.addAutoCcWhitelistWithOptions(request, runtime);
|
|
@@ -14471,10 +15370,18 @@ export default class Client extends OpenApi {
|
|
|
14471
15370
|
query["CertId"] = request.certId;
|
|
14472
15371
|
}
|
|
14473
15372
|
|
|
15373
|
+
if (!Util.isUnset(request.certIdentifier)) {
|
|
15374
|
+
query["CertIdentifier"] = request.certIdentifier;
|
|
15375
|
+
}
|
|
15376
|
+
|
|
14474
15377
|
if (!Util.isUnset(request.certName)) {
|
|
14475
15378
|
query["CertName"] = request.certName;
|
|
14476
15379
|
}
|
|
14477
15380
|
|
|
15381
|
+
if (!Util.isUnset(request.certRegion)) {
|
|
15382
|
+
query["CertRegion"] = request.certRegion;
|
|
15383
|
+
}
|
|
15384
|
+
|
|
14478
15385
|
if (!Util.isUnset(request.domain)) {
|
|
14479
15386
|
query["Domain"] = request.domain;
|
|
14480
15387
|
}
|
|
@@ -14546,6 +15453,13 @@ export default class Client extends OpenApi {
|
|
|
14546
15453
|
return await this.attachSceneDefenseObjectWithOptions(request, runtime);
|
|
14547
15454
|
}
|
|
14548
15455
|
|
|
15456
|
+
/**
|
|
15457
|
+
* 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.
|
|
15458
|
+
*
|
|
15459
|
+
* @param request ConfigL7RsPolicyRequest
|
|
15460
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15461
|
+
* @return ConfigL7RsPolicyResponse
|
|
15462
|
+
*/
|
|
14549
15463
|
async configL7RsPolicyWithOptions(request: ConfigL7RsPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ConfigL7RsPolicyResponse> {
|
|
14550
15464
|
Util.validateModel(request);
|
|
14551
15465
|
let query = { };
|
|
@@ -14578,11 +15492,50 @@ export default class Client extends OpenApi {
|
|
|
14578
15492
|
return $tea.cast<ConfigL7RsPolicyResponse>(await this.callApi(params, req, runtime), new ConfigL7RsPolicyResponse({}));
|
|
14579
15493
|
}
|
|
14580
15494
|
|
|
15495
|
+
/**
|
|
15496
|
+
* 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.
|
|
15497
|
+
*
|
|
15498
|
+
* @param request ConfigL7RsPolicyRequest
|
|
15499
|
+
* @return ConfigL7RsPolicyResponse
|
|
15500
|
+
*/
|
|
14581
15501
|
async configL7RsPolicy(request: ConfigL7RsPolicyRequest): Promise<ConfigL7RsPolicyResponse> {
|
|
14582
15502
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14583
15503
|
return await this.configL7RsPolicyWithOptions(request, runtime);
|
|
14584
15504
|
}
|
|
14585
15505
|
|
|
15506
|
+
async configLayer4RealLimitWithOptions(request: ConfigLayer4RealLimitRequest, runtime: $Util.RuntimeOptions): Promise<ConfigLayer4RealLimitResponse> {
|
|
15507
|
+
Util.validateModel(request);
|
|
15508
|
+
let query = { };
|
|
15509
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
15510
|
+
query["InstanceId"] = request.instanceId;
|
|
15511
|
+
}
|
|
15512
|
+
|
|
15513
|
+
if (!Util.isUnset(request.limitValue)) {
|
|
15514
|
+
query["LimitValue"] = request.limitValue;
|
|
15515
|
+
}
|
|
15516
|
+
|
|
15517
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15518
|
+
query: OpenApiUtil.query(query),
|
|
15519
|
+
});
|
|
15520
|
+
let params = new $OpenApi.Params({
|
|
15521
|
+
action: "ConfigLayer4RealLimit",
|
|
15522
|
+
version: "2020-01-01",
|
|
15523
|
+
protocol: "HTTPS",
|
|
15524
|
+
pathname: "/",
|
|
15525
|
+
method: "POST",
|
|
15526
|
+
authType: "AK",
|
|
15527
|
+
style: "RPC",
|
|
15528
|
+
reqBodyType: "formData",
|
|
15529
|
+
bodyType: "json",
|
|
15530
|
+
});
|
|
15531
|
+
return $tea.cast<ConfigLayer4RealLimitResponse>(await this.callApi(params, req, runtime), new ConfigLayer4RealLimitResponse({}));
|
|
15532
|
+
}
|
|
15533
|
+
|
|
15534
|
+
async configLayer4RealLimit(request: ConfigLayer4RealLimitRequest): Promise<ConfigLayer4RealLimitResponse> {
|
|
15535
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15536
|
+
return await this.configLayer4RealLimitWithOptions(request, runtime);
|
|
15537
|
+
}
|
|
15538
|
+
|
|
14586
15539
|
async configLayer4RemarkWithOptions(request: ConfigLayer4RemarkRequest, runtime: $Util.RuntimeOptions): Promise<ConfigLayer4RemarkResponse> {
|
|
14587
15540
|
Util.validateModel(request);
|
|
14588
15541
|
let query = { };
|
|
@@ -14736,6 +15689,15 @@ export default class Client extends OpenApi {
|
|
|
14736
15689
|
return await this.configNetworkRulesWithOptions(request, runtime);
|
|
14737
15690
|
}
|
|
14738
15691
|
|
|
15692
|
+
/**
|
|
15693
|
+
* You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
|
|
15694
|
+
* ### Limits
|
|
15695
|
+
* 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.
|
|
15696
|
+
*
|
|
15697
|
+
* @param request ConfigUdpReflectRequest
|
|
15698
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15699
|
+
* @return ConfigUdpReflectResponse
|
|
15700
|
+
*/
|
|
14739
15701
|
async configUdpReflectWithOptions(request: ConfigUdpReflectRequest, runtime: $Util.RuntimeOptions): Promise<ConfigUdpReflectResponse> {
|
|
14740
15702
|
Util.validateModel(request);
|
|
14741
15703
|
let query = { };
|
|
@@ -14768,6 +15730,14 @@ export default class Client extends OpenApi {
|
|
|
14768
15730
|
return $tea.cast<ConfigUdpReflectResponse>(await this.callApi(params, req, runtime), new ConfigUdpReflectResponse({}));
|
|
14769
15731
|
}
|
|
14770
15732
|
|
|
15733
|
+
/**
|
|
15734
|
+
* You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.
|
|
15735
|
+
* ### Limits
|
|
15736
|
+
* 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.
|
|
15737
|
+
*
|
|
15738
|
+
* @param request ConfigUdpReflectRequest
|
|
15739
|
+
* @return ConfigUdpReflectResponse
|
|
15740
|
+
*/
|
|
14771
15741
|
async configUdpReflect(request: ConfigUdpReflectRequest): Promise<ConfigUdpReflectResponse> {
|
|
14772
15742
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14773
15743
|
return await this.configUdpReflectWithOptions(request, runtime);
|
|
@@ -14966,6 +15936,13 @@ export default class Client extends OpenApi {
|
|
|
14966
15936
|
return await this.createNetworkRulesWithOptions(request, runtime);
|
|
14967
15937
|
}
|
|
14968
15938
|
|
|
15939
|
+
/**
|
|
15940
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
15941
|
+
*
|
|
15942
|
+
* @param request CreatePortRequest
|
|
15943
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15944
|
+
* @return CreatePortResponse
|
|
15945
|
+
*/
|
|
14969
15946
|
async createPortWithOptions(request: CreatePortRequest, runtime: $Util.RuntimeOptions): Promise<CreatePortResponse> {
|
|
14970
15947
|
Util.validateModel(request);
|
|
14971
15948
|
let query = { };
|
|
@@ -15006,6 +15983,12 @@ export default class Client extends OpenApi {
|
|
|
15006
15983
|
return $tea.cast<CreatePortResponse>(await this.callApi(params, req, runtime), new CreatePortResponse({}));
|
|
15007
15984
|
}
|
|
15008
15985
|
|
|
15986
|
+
/**
|
|
15987
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
15988
|
+
*
|
|
15989
|
+
* @param request CreatePortRequest
|
|
15990
|
+
* @return CreatePortResponse
|
|
15991
|
+
*/
|
|
15009
15992
|
async createPort(request: CreatePortRequest): Promise<CreatePortResponse> {
|
|
15010
15993
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15011
15994
|
return await this.createPortWithOptions(request, runtime);
|
|
@@ -15097,6 +16080,16 @@ export default class Client extends OpenApi {
|
|
|
15097
16080
|
return await this.createSchedulerRuleWithOptions(request, runtime);
|
|
15098
16081
|
}
|
|
15099
16082
|
|
|
16083
|
+
/**
|
|
16084
|
+
* You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
|
|
16085
|
+
* > Anti-DDoS Premium does not support the tag feature.
|
|
16086
|
+
* ### Limits
|
|
16087
|
+
* 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.
|
|
16088
|
+
*
|
|
16089
|
+
* @param request CreateTagResourcesRequest
|
|
16090
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16091
|
+
* @return CreateTagResourcesResponse
|
|
16092
|
+
*/
|
|
15100
16093
|
async createTagResourcesWithOptions(request: CreateTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<CreateTagResourcesResponse> {
|
|
15101
16094
|
Util.validateModel(request);
|
|
15102
16095
|
let query = { };
|
|
@@ -15137,6 +16130,15 @@ export default class Client extends OpenApi {
|
|
|
15137
16130
|
return $tea.cast<CreateTagResourcesResponse>(await this.callApi(params, req, runtime), new CreateTagResourcesResponse({}));
|
|
15138
16131
|
}
|
|
15139
16132
|
|
|
16133
|
+
/**
|
|
16134
|
+
* You can call the CreateTagResources operation to add a tag to multiple Anti-DDoS Pro instances at a time.
|
|
16135
|
+
* > Anti-DDoS Premium does not support the tag feature.
|
|
16136
|
+
* ### Limits
|
|
16137
|
+
* 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.
|
|
16138
|
+
*
|
|
16139
|
+
* @param request CreateTagResourcesRequest
|
|
16140
|
+
* @return CreateTagResourcesResponse
|
|
16141
|
+
*/
|
|
15140
16142
|
async createTagResources(request: CreateTagResourcesRequest): Promise<CreateTagResourcesResponse> {
|
|
15141
16143
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15142
16144
|
return await this.createTagResourcesWithOptions(request, runtime);
|
|
@@ -15413,6 +16415,14 @@ export default class Client extends OpenApi {
|
|
|
15413
16415
|
return await this.deleteNetworkRuleWithOptions(request, runtime);
|
|
15414
16416
|
}
|
|
15415
16417
|
|
|
16418
|
+
/**
|
|
16419
|
+
* 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.
|
|
16420
|
+
* > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
16421
|
+
*
|
|
16422
|
+
* @param request DeletePortRequest
|
|
16423
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16424
|
+
* @return DeletePortResponse
|
|
16425
|
+
*/
|
|
15416
16426
|
async deletePortWithOptions(request: DeletePortRequest, runtime: $Util.RuntimeOptions): Promise<DeletePortResponse> {
|
|
15417
16427
|
Util.validateModel(request);
|
|
15418
16428
|
let query = { };
|
|
@@ -15453,6 +16463,13 @@ export default class Client extends OpenApi {
|
|
|
15453
16463
|
return $tea.cast<DeletePortResponse>(await this.callApi(params, req, runtime), new DeletePortResponse({}));
|
|
15454
16464
|
}
|
|
15455
16465
|
|
|
16466
|
+
/**
|
|
16467
|
+
* 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.
|
|
16468
|
+
* > You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
16469
|
+
*
|
|
16470
|
+
* @param request DeletePortRequest
|
|
16471
|
+
* @return DeletePortResponse
|
|
16472
|
+
*/
|
|
15456
16473
|
async deletePort(request: DeletePortRequest): Promise<DeletePortResponse> {
|
|
15457
16474
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15458
16475
|
return await this.deletePortWithOptions(request, runtime);
|
|
@@ -15520,6 +16537,16 @@ export default class Client extends OpenApi {
|
|
|
15520
16537
|
return await this.deleteSchedulerRuleWithOptions(request, runtime);
|
|
15521
16538
|
}
|
|
15522
16539
|
|
|
16540
|
+
/**
|
|
16541
|
+
* You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
|
|
16542
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
16543
|
+
* ### Limits
|
|
16544
|
+
* 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.
|
|
16545
|
+
*
|
|
16546
|
+
* @param request DeleteTagResourcesRequest
|
|
16547
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16548
|
+
* @return DeleteTagResourcesResponse
|
|
16549
|
+
*/
|
|
15523
16550
|
async deleteTagResourcesWithOptions(request: DeleteTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTagResourcesResponse> {
|
|
15524
16551
|
Util.validateModel(request);
|
|
15525
16552
|
let query = { };
|
|
@@ -15564,6 +16591,15 @@ export default class Client extends OpenApi {
|
|
|
15564
16591
|
return $tea.cast<DeleteTagResourcesResponse>(await this.callApi(params, req, runtime), new DeleteTagResourcesResponse({}));
|
|
15565
16592
|
}
|
|
15566
16593
|
|
|
16594
|
+
/**
|
|
16595
|
+
* You can call the DeleteTagResources operation to remove tags from Anti-DDoS Pro instances.
|
|
16596
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
16597
|
+
* ### Limits
|
|
16598
|
+
* 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.
|
|
16599
|
+
*
|
|
16600
|
+
* @param request DeleteTagResourcesRequest
|
|
16601
|
+
* @return DeleteTagResourcesResponse
|
|
16602
|
+
*/
|
|
15567
16603
|
async deleteTagResources(request: DeleteTagResourcesRequest): Promise<DeleteTagResourcesResponse> {
|
|
15568
16604
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15569
16605
|
return await this.deleteTagResourcesWithOptions(request, runtime);
|
|
@@ -15606,6 +16642,15 @@ export default class Client extends OpenApi {
|
|
|
15606
16642
|
return await this.deleteWebCCRuleWithOptions(request, runtime);
|
|
15607
16643
|
}
|
|
15608
16644
|
|
|
16645
|
+
/**
|
|
16646
|
+
* You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
|
|
16647
|
+
* ### Limits
|
|
16648
|
+
* 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.
|
|
16649
|
+
*
|
|
16650
|
+
* @param request DeleteWebCacheCustomRuleRequest
|
|
16651
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16652
|
+
* @return DeleteWebCacheCustomRuleResponse
|
|
16653
|
+
*/
|
|
15609
16654
|
async deleteWebCacheCustomRuleWithOptions(request: DeleteWebCacheCustomRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteWebCacheCustomRuleResponse> {
|
|
15610
16655
|
Util.validateModel(request);
|
|
15611
16656
|
let query = { };
|
|
@@ -15638,6 +16683,14 @@ export default class Client extends OpenApi {
|
|
|
15638
16683
|
return $tea.cast<DeleteWebCacheCustomRuleResponse>(await this.callApi(params, req, runtime), new DeleteWebCacheCustomRuleResponse({}));
|
|
15639
16684
|
}
|
|
15640
16685
|
|
|
16686
|
+
/**
|
|
16687
|
+
* You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.
|
|
16688
|
+
* ### Limits
|
|
16689
|
+
* 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.
|
|
16690
|
+
*
|
|
16691
|
+
* @param request DeleteWebCacheCustomRuleRequest
|
|
16692
|
+
* @return DeleteWebCacheCustomRuleResponse
|
|
16693
|
+
*/
|
|
15641
16694
|
async deleteWebCacheCustomRule(request: DeleteWebCacheCustomRuleRequest): Promise<DeleteWebCacheCustomRuleResponse> {
|
|
15642
16695
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15643
16696
|
return await this.deleteWebCacheCustomRuleWithOptions(request, runtime);
|
|
@@ -15713,6 +16766,15 @@ export default class Client extends OpenApi {
|
|
|
15713
16766
|
return await this.deleteWebRuleWithOptions(request, runtime);
|
|
15714
16767
|
}
|
|
15715
16768
|
|
|
16769
|
+
/**
|
|
16770
|
+
* 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.
|
|
16771
|
+
* ### Limits
|
|
16772
|
+
* 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.
|
|
16773
|
+
*
|
|
16774
|
+
* @param request DescribeAsyncTasksRequest
|
|
16775
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16776
|
+
* @return DescribeAsyncTasksResponse
|
|
16777
|
+
*/
|
|
15716
16778
|
async describeAsyncTasksWithOptions(request: DescribeAsyncTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAsyncTasksResponse> {
|
|
15717
16779
|
Util.validateModel(request);
|
|
15718
16780
|
let query = { };
|
|
@@ -15745,6 +16807,14 @@ export default class Client extends OpenApi {
|
|
|
15745
16807
|
return $tea.cast<DescribeAsyncTasksResponse>(await this.callApi(params, req, runtime), new DescribeAsyncTasksResponse({}));
|
|
15746
16808
|
}
|
|
15747
16809
|
|
|
16810
|
+
/**
|
|
16811
|
+
* 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.
|
|
16812
|
+
* ### Limits
|
|
16813
|
+
* 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.
|
|
16814
|
+
*
|
|
16815
|
+
* @param request DescribeAsyncTasksRequest
|
|
16816
|
+
* @return DescribeAsyncTasksResponse
|
|
16817
|
+
*/
|
|
15748
16818
|
async describeAsyncTasks(request: DescribeAsyncTasksRequest): Promise<DescribeAsyncTasksResponse> {
|
|
15749
16819
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15750
16820
|
return await this.describeAsyncTasksWithOptions(request, runtime);
|
|
@@ -15901,6 +16971,10 @@ export default class Client extends OpenApi {
|
|
|
15901
16971
|
async describeBackSourceCidrWithOptions(request: DescribeBackSourceCidrRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackSourceCidrResponse> {
|
|
15902
16972
|
Util.validateModel(request);
|
|
15903
16973
|
let query = { };
|
|
16974
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
16975
|
+
query["IpVersion"] = request.ipVersion;
|
|
16976
|
+
}
|
|
16977
|
+
|
|
15904
16978
|
if (!Util.isUnset(request.line)) {
|
|
15905
16979
|
query["Line"] = request.line;
|
|
15906
16980
|
}
|
|
@@ -15960,6 +17034,16 @@ export default class Client extends OpenApi {
|
|
|
15960
17034
|
return await this.describeBlackholeStatusWithOptions(request, runtime);
|
|
15961
17035
|
}
|
|
15962
17036
|
|
|
17037
|
+
/**
|
|
17038
|
+
* This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
|
|
17039
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17040
|
+
* ### Limits
|
|
17041
|
+
* 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.
|
|
17042
|
+
*
|
|
17043
|
+
* @param request DescribeBlockStatusRequest
|
|
17044
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17045
|
+
* @return DescribeBlockStatusResponse
|
|
17046
|
+
*/
|
|
15963
17047
|
async describeBlockStatusWithOptions(request: DescribeBlockStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBlockStatusResponse> {
|
|
15964
17048
|
Util.validateModel(request);
|
|
15965
17049
|
let query = { };
|
|
@@ -15988,6 +17072,15 @@ export default class Client extends OpenApi {
|
|
|
15988
17072
|
return $tea.cast<DescribeBlockStatusResponse>(await this.callApi(params, req, runtime), new DescribeBlockStatusResponse({}));
|
|
15989
17073
|
}
|
|
15990
17074
|
|
|
17075
|
+
/**
|
|
17076
|
+
* This operation is used to query the Diversion from Origin Server configurations of one or more Anti-DDoS Pro instances.
|
|
17077
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
17078
|
+
* ### Limits
|
|
17079
|
+
* 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.
|
|
17080
|
+
*
|
|
17081
|
+
* @param request DescribeBlockStatusRequest
|
|
17082
|
+
* @return DescribeBlockStatusResponse
|
|
17083
|
+
*/
|
|
15991
17084
|
async describeBlockStatus(request: DescribeBlockStatusRequest): Promise<DescribeBlockStatusResponse> {
|
|
15992
17085
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15993
17086
|
return await this.describeBlockStatusWithOptions(request, runtime);
|
|
@@ -16108,6 +17201,15 @@ export default class Client extends OpenApi {
|
|
|
16108
17201
|
return await this.describeDDoSEventsWithOptions(request, runtime);
|
|
16109
17202
|
}
|
|
16110
17203
|
|
|
17204
|
+
/**
|
|
17205
|
+
* 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.
|
|
17206
|
+
* ### Limits
|
|
17207
|
+
* 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.
|
|
17208
|
+
*
|
|
17209
|
+
* @param request DescribeDDosAllEventListRequest
|
|
17210
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17211
|
+
* @return DescribeDDosAllEventListResponse
|
|
17212
|
+
*/
|
|
16111
17213
|
async describeDDosAllEventListWithOptions(request: DescribeDDosAllEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosAllEventListResponse> {
|
|
16112
17214
|
Util.validateModel(request);
|
|
16113
17215
|
let query = { };
|
|
@@ -16148,11 +17250,26 @@ export default class Client extends OpenApi {
|
|
|
16148
17250
|
return $tea.cast<DescribeDDosAllEventListResponse>(await this.callApi(params, req, runtime), new DescribeDDosAllEventListResponse({}));
|
|
16149
17251
|
}
|
|
16150
17252
|
|
|
17253
|
+
/**
|
|
17254
|
+
* 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.
|
|
17255
|
+
* ### Limits
|
|
17256
|
+
* 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.
|
|
17257
|
+
*
|
|
17258
|
+
* @param request DescribeDDosAllEventListRequest
|
|
17259
|
+
* @return DescribeDDosAllEventListResponse
|
|
17260
|
+
*/
|
|
16151
17261
|
async describeDDosAllEventList(request: DescribeDDosAllEventListRequest): Promise<DescribeDDosAllEventListResponse> {
|
|
16152
17262
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16153
17263
|
return await this.describeDDosAllEventListWithOptions(request, runtime);
|
|
16154
17264
|
}
|
|
16155
17265
|
|
|
17266
|
+
/**
|
|
17267
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17268
|
+
*
|
|
17269
|
+
* @param request DescribeDDosEventAreaRequest
|
|
17270
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17271
|
+
* @return DescribeDDosEventAreaResponse
|
|
17272
|
+
*/
|
|
16156
17273
|
async describeDDosEventAreaWithOptions(request: DescribeDDosEventAreaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventAreaResponse> {
|
|
16157
17274
|
Util.validateModel(request);
|
|
16158
17275
|
let query = { };
|
|
@@ -16185,11 +17302,24 @@ export default class Client extends OpenApi {
|
|
|
16185
17302
|
return $tea.cast<DescribeDDosEventAreaResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventAreaResponse({}));
|
|
16186
17303
|
}
|
|
16187
17304
|
|
|
17305
|
+
/**
|
|
17306
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17307
|
+
*
|
|
17308
|
+
* @param request DescribeDDosEventAreaRequest
|
|
17309
|
+
* @return DescribeDDosEventAreaResponse
|
|
17310
|
+
*/
|
|
16188
17311
|
async describeDDosEventArea(request: DescribeDDosEventAreaRequest): Promise<DescribeDDosEventAreaResponse> {
|
|
16189
17312
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16190
17313
|
return await this.describeDDosEventAreaWithOptions(request, runtime);
|
|
16191
17314
|
}
|
|
16192
17315
|
|
|
17316
|
+
/**
|
|
17317
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17318
|
+
*
|
|
17319
|
+
* @param request DescribeDDosEventAttackTypeRequest
|
|
17320
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17321
|
+
* @return DescribeDDosEventAttackTypeResponse
|
|
17322
|
+
*/
|
|
16193
17323
|
async describeDDosEventAttackTypeWithOptions(request: DescribeDDosEventAttackTypeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventAttackTypeResponse> {
|
|
16194
17324
|
Util.validateModel(request);
|
|
16195
17325
|
let query = { };
|
|
@@ -16222,11 +17352,24 @@ export default class Client extends OpenApi {
|
|
|
16222
17352
|
return $tea.cast<DescribeDDosEventAttackTypeResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventAttackTypeResponse({}));
|
|
16223
17353
|
}
|
|
16224
17354
|
|
|
17355
|
+
/**
|
|
17356
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17357
|
+
*
|
|
17358
|
+
* @param request DescribeDDosEventAttackTypeRequest
|
|
17359
|
+
* @return DescribeDDosEventAttackTypeResponse
|
|
17360
|
+
*/
|
|
16225
17361
|
async describeDDosEventAttackType(request: DescribeDDosEventAttackTypeRequest): Promise<DescribeDDosEventAttackTypeResponse> {
|
|
16226
17362
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16227
17363
|
return await this.describeDDosEventAttackTypeWithOptions(request, runtime);
|
|
16228
17364
|
}
|
|
16229
17365
|
|
|
17366
|
+
/**
|
|
17367
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17368
|
+
*
|
|
17369
|
+
* @param request DescribeDDosEventIspRequest
|
|
17370
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17371
|
+
* @return DescribeDDosEventIspResponse
|
|
17372
|
+
*/
|
|
16230
17373
|
async describeDDosEventIspWithOptions(request: DescribeDDosEventIspRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventIspResponse> {
|
|
16231
17374
|
Util.validateModel(request);
|
|
16232
17375
|
let query = { };
|
|
@@ -16259,6 +17402,12 @@ export default class Client extends OpenApi {
|
|
|
16259
17402
|
return $tea.cast<DescribeDDosEventIspResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventIspResponse({}));
|
|
16260
17403
|
}
|
|
16261
17404
|
|
|
17405
|
+
/**
|
|
17406
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17407
|
+
*
|
|
17408
|
+
* @param request DescribeDDosEventIspRequest
|
|
17409
|
+
* @return DescribeDDosEventIspResponse
|
|
17410
|
+
*/
|
|
16262
17411
|
async describeDDosEventIsp(request: DescribeDDosEventIspRequest): Promise<DescribeDDosEventIspResponse> {
|
|
16263
17412
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16264
17413
|
return await this.describeDDosEventIspWithOptions(request, runtime);
|
|
@@ -16297,6 +17446,13 @@ export default class Client extends OpenApi {
|
|
|
16297
17446
|
return await this.describeDDosEventMaxWithOptions(request, runtime);
|
|
16298
17447
|
}
|
|
16299
17448
|
|
|
17449
|
+
/**
|
|
17450
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17451
|
+
*
|
|
17452
|
+
* @param request DescribeDDosEventSrcIpRequest
|
|
17453
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17454
|
+
* @return DescribeDDosEventSrcIpResponse
|
|
17455
|
+
*/
|
|
16300
17456
|
async describeDDosEventSrcIpWithOptions(request: DescribeDDosEventSrcIpRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDosEventSrcIpResponse> {
|
|
16301
17457
|
Util.validateModel(request);
|
|
16302
17458
|
let query = { };
|
|
@@ -16333,11 +17489,27 @@ export default class Client extends OpenApi {
|
|
|
16333
17489
|
return $tea.cast<DescribeDDosEventSrcIpResponse>(await this.callApi(params, req, runtime), new DescribeDDosEventSrcIpResponse({}));
|
|
16334
17490
|
}
|
|
16335
17491
|
|
|
17492
|
+
/**
|
|
17493
|
+
* > This operation is suitable only for volumetric attacks.
|
|
17494
|
+
*
|
|
17495
|
+
* @param request DescribeDDosEventSrcIpRequest
|
|
17496
|
+
* @return DescribeDDosEventSrcIpResponse
|
|
17497
|
+
*/
|
|
16336
17498
|
async describeDDosEventSrcIp(request: DescribeDDosEventSrcIpRequest): Promise<DescribeDDosEventSrcIpResponse> {
|
|
16337
17499
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16338
17500
|
return await this.describeDDosEventSrcIpWithOptions(request, runtime);
|
|
16339
17501
|
}
|
|
16340
17502
|
|
|
17503
|
+
/**
|
|
17504
|
+
* 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.
|
|
17505
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17506
|
+
* ### Limits
|
|
17507
|
+
* 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.
|
|
17508
|
+
*
|
|
17509
|
+
* @param request DescribeDefenseCountStatisticsRequest
|
|
17510
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17511
|
+
* @return DescribeDefenseCountStatisticsResponse
|
|
17512
|
+
*/
|
|
16341
17513
|
async describeDefenseCountStatisticsWithOptions(request: DescribeDefenseCountStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseCountStatisticsResponse> {
|
|
16342
17514
|
Util.validateModel(request);
|
|
16343
17515
|
let query = { };
|
|
@@ -16362,11 +17534,27 @@ export default class Client extends OpenApi {
|
|
|
16362
17534
|
return $tea.cast<DescribeDefenseCountStatisticsResponse>(await this.callApi(params, req, runtime), new DescribeDefenseCountStatisticsResponse({}));
|
|
16363
17535
|
}
|
|
16364
17536
|
|
|
17537
|
+
/**
|
|
17538
|
+
* 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.
|
|
17539
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17540
|
+
* ### Limits
|
|
17541
|
+
* 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.
|
|
17542
|
+
*
|
|
17543
|
+
* @param request DescribeDefenseCountStatisticsRequest
|
|
17544
|
+
* @return DescribeDefenseCountStatisticsResponse
|
|
17545
|
+
*/
|
|
16365
17546
|
async describeDefenseCountStatistics(request: DescribeDefenseCountStatisticsRequest): Promise<DescribeDefenseCountStatisticsResponse> {
|
|
16366
17547
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16367
17548
|
return await this.describeDefenseCountStatisticsWithOptions(request, runtime);
|
|
16368
17549
|
}
|
|
16369
17550
|
|
|
17551
|
+
/**
|
|
17552
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17553
|
+
*
|
|
17554
|
+
* @param request DescribeDefenseRecordsRequest
|
|
17555
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17556
|
+
* @return DescribeDefenseRecordsResponse
|
|
17557
|
+
*/
|
|
16370
17558
|
async describeDefenseRecordsWithOptions(request: DescribeDefenseRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseRecordsResponse> {
|
|
16371
17559
|
Util.validateModel(request);
|
|
16372
17560
|
let query = { };
|
|
@@ -16411,6 +17599,12 @@ export default class Client extends OpenApi {
|
|
|
16411
17599
|
return $tea.cast<DescribeDefenseRecordsResponse>(await this.callApi(params, req, runtime), new DescribeDefenseRecordsResponse({}));
|
|
16412
17600
|
}
|
|
16413
17601
|
|
|
17602
|
+
/**
|
|
17603
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
17604
|
+
*
|
|
17605
|
+
* @param request DescribeDefenseRecordsRequest
|
|
17606
|
+
* @return DescribeDefenseRecordsResponse
|
|
17607
|
+
*/
|
|
16414
17608
|
async describeDefenseRecords(request: DescribeDefenseRecordsRequest): Promise<DescribeDefenseRecordsResponse> {
|
|
16415
17609
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16416
17610
|
return await this.describeDefenseRecordsWithOptions(request, runtime);
|
|
@@ -16592,6 +17786,16 @@ export default class Client extends OpenApi {
|
|
|
16592
17786
|
return await this.describeDomainQpsWithCacheWithOptions(request, runtime);
|
|
16593
17787
|
}
|
|
16594
17788
|
|
|
17789
|
+
/**
|
|
17790
|
+
* 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.
|
|
17791
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
17792
|
+
* ### Limits
|
|
17793
|
+
* 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.
|
|
17794
|
+
*
|
|
17795
|
+
* @param request DescribeDomainResourceRequest
|
|
17796
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17797
|
+
* @return DescribeDomainResourceResponse
|
|
17798
|
+
*/
|
|
16595
17799
|
async describeDomainResourceWithOptions(request: DescribeDomainResourceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainResourceResponse> {
|
|
16596
17800
|
Util.validateModel(request);
|
|
16597
17801
|
let query = { };
|
|
@@ -16619,7 +17823,45 @@ export default class Client extends OpenApi {
|
|
|
16619
17823
|
query: OpenApiUtil.query(query),
|
|
16620
17824
|
});
|
|
16621
17825
|
let params = new $OpenApi.Params({
|
|
16622
|
-
action: "DescribeDomainResource",
|
|
17826
|
+
action: "DescribeDomainResource",
|
|
17827
|
+
version: "2020-01-01",
|
|
17828
|
+
protocol: "HTTPS",
|
|
17829
|
+
pathname: "/",
|
|
17830
|
+
method: "POST",
|
|
17831
|
+
authType: "AK",
|
|
17832
|
+
style: "RPC",
|
|
17833
|
+
reqBodyType: "formData",
|
|
17834
|
+
bodyType: "json",
|
|
17835
|
+
});
|
|
17836
|
+
return $tea.cast<DescribeDomainResourceResponse>(await this.callApi(params, req, runtime), new DescribeDomainResourceResponse({}));
|
|
17837
|
+
}
|
|
17838
|
+
|
|
17839
|
+
/**
|
|
17840
|
+
* 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.
|
|
17841
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
17842
|
+
* ### Limits
|
|
17843
|
+
* 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.
|
|
17844
|
+
*
|
|
17845
|
+
* @param request DescribeDomainResourceRequest
|
|
17846
|
+
* @return DescribeDomainResourceResponse
|
|
17847
|
+
*/
|
|
17848
|
+
async describeDomainResource(request: DescribeDomainResourceRequest): Promise<DescribeDomainResourceResponse> {
|
|
17849
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17850
|
+
return await this.describeDomainResourceWithOptions(request, runtime);
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
async describeDomainSecurityProfileWithOptions(request: DescribeDomainSecurityProfileRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainSecurityProfileResponse> {
|
|
17854
|
+
Util.validateModel(request);
|
|
17855
|
+
let query = { };
|
|
17856
|
+
if (!Util.isUnset(request.domain)) {
|
|
17857
|
+
query["Domain"] = request.domain;
|
|
17858
|
+
}
|
|
17859
|
+
|
|
17860
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17861
|
+
query: OpenApiUtil.query(query),
|
|
17862
|
+
});
|
|
17863
|
+
let params = new $OpenApi.Params({
|
|
17864
|
+
action: "DescribeDomainSecurityProfile",
|
|
16623
17865
|
version: "2020-01-01",
|
|
16624
17866
|
protocol: "HTTPS",
|
|
16625
17867
|
pathname: "/",
|
|
@@ -16629,12 +17871,12 @@ export default class Client extends OpenApi {
|
|
|
16629
17871
|
reqBodyType: "formData",
|
|
16630
17872
|
bodyType: "json",
|
|
16631
17873
|
});
|
|
16632
|
-
return $tea.cast<
|
|
17874
|
+
return $tea.cast<DescribeDomainSecurityProfileResponse>(await this.callApi(params, req, runtime), new DescribeDomainSecurityProfileResponse({}));
|
|
16633
17875
|
}
|
|
16634
17876
|
|
|
16635
|
-
async
|
|
17877
|
+
async describeDomainSecurityProfile(request: DescribeDomainSecurityProfileRequest): Promise<DescribeDomainSecurityProfileResponse> {
|
|
16636
17878
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16637
|
-
return await this.
|
|
17879
|
+
return await this.describeDomainSecurityProfileWithOptions(request, runtime);
|
|
16638
17880
|
}
|
|
16639
17881
|
|
|
16640
17882
|
async describeDomainStatusCodeCountWithOptions(request: DescribeDomainStatusCodeCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainStatusCodeCountResponse> {
|
|
@@ -16969,6 +18211,13 @@ export default class Client extends OpenApi {
|
|
|
16969
18211
|
return await this.describeDomainsWithOptions(request, runtime);
|
|
16970
18212
|
}
|
|
16971
18213
|
|
|
18214
|
+
/**
|
|
18215
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
18216
|
+
*
|
|
18217
|
+
* @param request DescribeElasticBandwidthSpecRequest
|
|
18218
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18219
|
+
* @return DescribeElasticBandwidthSpecResponse
|
|
18220
|
+
*/
|
|
16972
18221
|
async describeElasticBandwidthSpecWithOptions(request: DescribeElasticBandwidthSpecRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticBandwidthSpecResponse> {
|
|
16973
18222
|
Util.validateModel(request);
|
|
16974
18223
|
let query = { };
|
|
@@ -16993,11 +18242,50 @@ export default class Client extends OpenApi {
|
|
|
16993
18242
|
return $tea.cast<DescribeElasticBandwidthSpecResponse>(await this.callApi(params, req, runtime), new DescribeElasticBandwidthSpecResponse({}));
|
|
16994
18243
|
}
|
|
16995
18244
|
|
|
18245
|
+
/**
|
|
18246
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
18247
|
+
*
|
|
18248
|
+
* @param request DescribeElasticBandwidthSpecRequest
|
|
18249
|
+
* @return DescribeElasticBandwidthSpecResponse
|
|
18250
|
+
*/
|
|
16996
18251
|
async describeElasticBandwidthSpec(request: DescribeElasticBandwidthSpecRequest): Promise<DescribeElasticBandwidthSpecResponse> {
|
|
16997
18252
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16998
18253
|
return await this.describeElasticBandwidthSpecWithOptions(request, runtime);
|
|
16999
18254
|
}
|
|
17000
18255
|
|
|
18256
|
+
async describeHeadersWithOptions(request: DescribeHeadersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHeadersResponse> {
|
|
18257
|
+
Util.validateModel(request);
|
|
18258
|
+
let query = { };
|
|
18259
|
+
if (!Util.isUnset(request.domain)) {
|
|
18260
|
+
query["Domain"] = request.domain;
|
|
18261
|
+
}
|
|
18262
|
+
|
|
18263
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
18264
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
18265
|
+
}
|
|
18266
|
+
|
|
18267
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18268
|
+
query: OpenApiUtil.query(query),
|
|
18269
|
+
});
|
|
18270
|
+
let params = new $OpenApi.Params({
|
|
18271
|
+
action: "DescribeHeaders",
|
|
18272
|
+
version: "2020-01-01",
|
|
18273
|
+
protocol: "HTTPS",
|
|
18274
|
+
pathname: "/",
|
|
18275
|
+
method: "POST",
|
|
18276
|
+
authType: "AK",
|
|
18277
|
+
style: "RPC",
|
|
18278
|
+
reqBodyType: "formData",
|
|
18279
|
+
bodyType: "json",
|
|
18280
|
+
});
|
|
18281
|
+
return $tea.cast<DescribeHeadersResponse>(await this.callApi(params, req, runtime), new DescribeHeadersResponse({}));
|
|
18282
|
+
}
|
|
18283
|
+
|
|
18284
|
+
async describeHeaders(request: DescribeHeadersRequest): Promise<DescribeHeadersResponse> {
|
|
18285
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18286
|
+
return await this.describeHeadersWithOptions(request, runtime);
|
|
18287
|
+
}
|
|
18288
|
+
|
|
17001
18289
|
async describeHealthCheckListWithOptions(request: DescribeHealthCheckListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHealthCheckListResponse> {
|
|
17002
18290
|
Util.validateModel(request);
|
|
17003
18291
|
let query = { };
|
|
@@ -17056,6 +18344,15 @@ export default class Client extends OpenApi {
|
|
|
17056
18344
|
return await this.describeHealthCheckStatusWithOptions(request, runtime);
|
|
17057
18345
|
}
|
|
17058
18346
|
|
|
18347
|
+
/**
|
|
18348
|
+
* 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.
|
|
18349
|
+
* ### Limits
|
|
18350
|
+
* 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.
|
|
18351
|
+
*
|
|
18352
|
+
* @param request DescribeInstanceDetailsRequest
|
|
18353
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18354
|
+
* @return DescribeInstanceDetailsResponse
|
|
18355
|
+
*/
|
|
17059
18356
|
async describeInstanceDetailsWithOptions(request: DescribeInstanceDetailsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceDetailsResponse> {
|
|
17060
18357
|
Util.validateModel(request);
|
|
17061
18358
|
let query = { };
|
|
@@ -17080,11 +18377,56 @@ export default class Client extends OpenApi {
|
|
|
17080
18377
|
return $tea.cast<DescribeInstanceDetailsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceDetailsResponse({}));
|
|
17081
18378
|
}
|
|
17082
18379
|
|
|
18380
|
+
/**
|
|
18381
|
+
* 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.
|
|
18382
|
+
* ### Limits
|
|
18383
|
+
* 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.
|
|
18384
|
+
*
|
|
18385
|
+
* @param request DescribeInstanceDetailsRequest
|
|
18386
|
+
* @return DescribeInstanceDetailsResponse
|
|
18387
|
+
*/
|
|
17083
18388
|
async describeInstanceDetails(request: DescribeInstanceDetailsRequest): Promise<DescribeInstanceDetailsResponse> {
|
|
17084
18389
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17085
18390
|
return await this.describeInstanceDetailsWithOptions(request, runtime);
|
|
17086
18391
|
}
|
|
17087
18392
|
|
|
18393
|
+
async describeInstanceExtWithOptions(request: DescribeInstanceExtRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceExtResponse> {
|
|
18394
|
+
Util.validateModel(request);
|
|
18395
|
+
let query = { };
|
|
18396
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
18397
|
+
query["InstanceId"] = request.instanceId;
|
|
18398
|
+
}
|
|
18399
|
+
|
|
18400
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
18401
|
+
query["PageNumber"] = request.pageNumber;
|
|
18402
|
+
}
|
|
18403
|
+
|
|
18404
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
18405
|
+
query["PageSize"] = request.pageSize;
|
|
18406
|
+
}
|
|
18407
|
+
|
|
18408
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18409
|
+
query: OpenApiUtil.query(query),
|
|
18410
|
+
});
|
|
18411
|
+
let params = new $OpenApi.Params({
|
|
18412
|
+
action: "DescribeInstanceExt",
|
|
18413
|
+
version: "2020-01-01",
|
|
18414
|
+
protocol: "HTTPS",
|
|
18415
|
+
pathname: "/",
|
|
18416
|
+
method: "POST",
|
|
18417
|
+
authType: "AK",
|
|
18418
|
+
style: "RPC",
|
|
18419
|
+
reqBodyType: "formData",
|
|
18420
|
+
bodyType: "json",
|
|
18421
|
+
});
|
|
18422
|
+
return $tea.cast<DescribeInstanceExtResponse>(await this.callApi(params, req, runtime), new DescribeInstanceExtResponse({}));
|
|
18423
|
+
}
|
|
18424
|
+
|
|
18425
|
+
async describeInstanceExt(request: DescribeInstanceExtRequest): Promise<DescribeInstanceExtResponse> {
|
|
18426
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18427
|
+
return await this.describeInstanceExtWithOptions(request, runtime);
|
|
18428
|
+
}
|
|
18429
|
+
|
|
17088
18430
|
async describeInstanceIdsWithOptions(request: DescribeInstanceIdsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceIdsResponse> {
|
|
17089
18431
|
Util.validateModel(request);
|
|
17090
18432
|
let query = { };
|
|
@@ -17122,6 +18464,15 @@ export default class Client extends OpenApi {
|
|
|
17122
18464
|
return await this.describeInstanceIdsWithOptions(request, runtime);
|
|
17123
18465
|
}
|
|
17124
18466
|
|
|
18467
|
+
/**
|
|
18468
|
+
* 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.
|
|
18469
|
+
* ### Limits
|
|
18470
|
+
* 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.
|
|
18471
|
+
*
|
|
18472
|
+
* @param request DescribeInstanceSpecsRequest
|
|
18473
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18474
|
+
* @return DescribeInstanceSpecsResponse
|
|
18475
|
+
*/
|
|
17125
18476
|
async describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse> {
|
|
17126
18477
|
Util.validateModel(request);
|
|
17127
18478
|
let query = { };
|
|
@@ -17146,6 +18497,14 @@ export default class Client extends OpenApi {
|
|
|
17146
18497
|
return $tea.cast<DescribeInstanceSpecsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
17147
18498
|
}
|
|
17148
18499
|
|
|
18500
|
+
/**
|
|
18501
|
+
* 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.
|
|
18502
|
+
* ### Limits
|
|
18503
|
+
* 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.
|
|
18504
|
+
*
|
|
18505
|
+
* @param request DescribeInstanceSpecsRequest
|
|
18506
|
+
* @return DescribeInstanceSpecsResponse
|
|
18507
|
+
*/
|
|
17149
18508
|
async describeInstanceSpecs(request: DescribeInstanceSpecsRequest): Promise<DescribeInstanceSpecsResponse> {
|
|
17150
18509
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17151
18510
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
@@ -17213,6 +18572,13 @@ export default class Client extends OpenApi {
|
|
|
17213
18572
|
return await this.describeInstanceStatusWithOptions(request, runtime);
|
|
17214
18573
|
}
|
|
17215
18574
|
|
|
18575
|
+
/**
|
|
18576
|
+
* 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.
|
|
18577
|
+
*
|
|
18578
|
+
* @param request DescribeInstancesRequest
|
|
18579
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18580
|
+
* @return DescribeInstancesResponse
|
|
18581
|
+
*/
|
|
17216
18582
|
async describeInstancesWithOptions(request: DescribeInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesResponse> {
|
|
17217
18583
|
Util.validateModel(request);
|
|
17218
18584
|
let query = { };
|
|
@@ -17281,6 +18647,12 @@ export default class Client extends OpenApi {
|
|
|
17281
18647
|
return $tea.cast<DescribeInstancesResponse>(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
|
|
17282
18648
|
}
|
|
17283
18649
|
|
|
18650
|
+
/**
|
|
18651
|
+
* 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.
|
|
18652
|
+
*
|
|
18653
|
+
* @param request DescribeInstancesRequest
|
|
18654
|
+
* @return DescribeInstancesResponse
|
|
18655
|
+
*/
|
|
17284
18656
|
async describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse> {
|
|
17285
18657
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17286
18658
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
@@ -17484,6 +18856,14 @@ export default class Client extends OpenApi {
|
|
|
17484
18856
|
return await this.describeNetworkRulesWithOptions(request, runtime);
|
|
17485
18857
|
}
|
|
17486
18858
|
|
|
18859
|
+
/**
|
|
18860
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
18861
|
+
* 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.
|
|
18862
|
+
*
|
|
18863
|
+
* @param request DescribeOpEntitiesRequest
|
|
18864
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18865
|
+
* @return DescribeOpEntitiesResponse
|
|
18866
|
+
*/
|
|
17487
18867
|
async describeOpEntitiesWithOptions(request: DescribeOpEntitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOpEntitiesResponse> {
|
|
17488
18868
|
Util.validateModel(request);
|
|
17489
18869
|
let query = { };
|
|
@@ -17532,11 +18912,25 @@ export default class Client extends OpenApi {
|
|
|
17532
18912
|
return $tea.cast<DescribeOpEntitiesResponse>(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
17533
18913
|
}
|
|
17534
18914
|
|
|
18915
|
+
/**
|
|
18916
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
18917
|
+
* 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.
|
|
18918
|
+
*
|
|
18919
|
+
* @param request DescribeOpEntitiesRequest
|
|
18920
|
+
* @return DescribeOpEntitiesResponse
|
|
18921
|
+
*/
|
|
17535
18922
|
async describeOpEntities(request: DescribeOpEntitiesRequest): Promise<DescribeOpEntitiesResponse> {
|
|
17536
18923
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17537
18924
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
17538
18925
|
}
|
|
17539
18926
|
|
|
18927
|
+
/**
|
|
18928
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
18929
|
+
*
|
|
18930
|
+
* @param request DescribePortRequest
|
|
18931
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18932
|
+
* @return DescribePortResponse
|
|
18933
|
+
*/
|
|
17540
18934
|
async describePortWithOptions(request: DescribePortRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortResponse> {
|
|
17541
18935
|
Util.validateModel(request);
|
|
17542
18936
|
let query = { };
|
|
@@ -17577,11 +18971,26 @@ export default class Client extends OpenApi {
|
|
|
17577
18971
|
return $tea.cast<DescribePortResponse>(await this.callApi(params, req, runtime), new DescribePortResponse({}));
|
|
17578
18972
|
}
|
|
17579
18973
|
|
|
18974
|
+
/**
|
|
18975
|
+
* You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
18976
|
+
*
|
|
18977
|
+
* @param request DescribePortRequest
|
|
18978
|
+
* @return DescribePortResponse
|
|
18979
|
+
*/
|
|
17580
18980
|
async describePort(request: DescribePortRequest): Promise<DescribePortResponse> {
|
|
17581
18981
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17582
18982
|
return await this.describePortWithOptions(request, runtime);
|
|
17583
18983
|
}
|
|
17584
18984
|
|
|
18985
|
+
/**
|
|
18986
|
+
* 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.
|
|
18987
|
+
* ### Limits
|
|
18988
|
+
* 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.
|
|
18989
|
+
*
|
|
18990
|
+
* @param request DescribePortAttackMaxFlowRequest
|
|
18991
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18992
|
+
* @return DescribePortAttackMaxFlowResponse
|
|
18993
|
+
*/
|
|
17585
18994
|
async describePortAttackMaxFlowWithOptions(request: DescribePortAttackMaxFlowRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortAttackMaxFlowResponse> {
|
|
17586
18995
|
Util.validateModel(request);
|
|
17587
18996
|
let query = { };
|
|
@@ -17618,6 +19027,14 @@ export default class Client extends OpenApi {
|
|
|
17618
19027
|
return $tea.cast<DescribePortAttackMaxFlowResponse>(await this.callApi(params, req, runtime), new DescribePortAttackMaxFlowResponse({}));
|
|
17619
19028
|
}
|
|
17620
19029
|
|
|
19030
|
+
/**
|
|
19031
|
+
* 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.
|
|
19032
|
+
* ### Limits
|
|
19033
|
+
* 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.
|
|
19034
|
+
*
|
|
19035
|
+
* @param request DescribePortAttackMaxFlowRequest
|
|
19036
|
+
* @return DescribePortAttackMaxFlowResponse
|
|
19037
|
+
*/
|
|
17621
19038
|
async describePortAttackMaxFlow(request: DescribePortAttackMaxFlowRequest): Promise<DescribePortAttackMaxFlowResponse> {
|
|
17622
19039
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17623
19040
|
return await this.describePortAttackMaxFlowWithOptions(request, runtime);
|
|
@@ -17873,6 +19290,16 @@ export default class Client extends OpenApi {
|
|
|
17873
19290
|
return await this.describePortViewSourceCountriesWithOptions(request, runtime);
|
|
17874
19291
|
}
|
|
17875
19292
|
|
|
19293
|
+
/**
|
|
19294
|
+
* 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.
|
|
19295
|
+
* > 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.
|
|
19296
|
+
* ### Limits
|
|
19297
|
+
* 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.
|
|
19298
|
+
*
|
|
19299
|
+
* @param request DescribePortViewSourceIspsRequest
|
|
19300
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19301
|
+
* @return DescribePortViewSourceIspsResponse
|
|
19302
|
+
*/
|
|
17876
19303
|
async describePortViewSourceIspsWithOptions(request: DescribePortViewSourceIspsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortViewSourceIspsResponse> {
|
|
17877
19304
|
Util.validateModel(request);
|
|
17878
19305
|
let query = { };
|
|
@@ -17909,6 +19336,15 @@ export default class Client extends OpenApi {
|
|
|
17909
19336
|
return $tea.cast<DescribePortViewSourceIspsResponse>(await this.callApi(params, req, runtime), new DescribePortViewSourceIspsResponse({}));
|
|
17910
19337
|
}
|
|
17911
19338
|
|
|
19339
|
+
/**
|
|
19340
|
+
* 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.
|
|
19341
|
+
* > 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.
|
|
19342
|
+
* ### Limits
|
|
19343
|
+
* 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.
|
|
19344
|
+
*
|
|
19345
|
+
* @param request DescribePortViewSourceIspsRequest
|
|
19346
|
+
* @return DescribePortViewSourceIspsResponse
|
|
19347
|
+
*/
|
|
17912
19348
|
async describePortViewSourceIsps(request: DescribePortViewSourceIspsRequest): Promise<DescribePortViewSourceIspsResponse> {
|
|
17913
19349
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17914
19350
|
return await this.describePortViewSourceIspsWithOptions(request, runtime);
|
|
@@ -17955,6 +19391,16 @@ export default class Client extends OpenApi {
|
|
|
17955
19391
|
return await this.describePortViewSourceProvincesWithOptions(request, runtime);
|
|
17956
19392
|
}
|
|
17957
19393
|
|
|
19394
|
+
/**
|
|
19395
|
+
* You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
|
|
19396
|
+
* Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
|
|
19397
|
+
* ### Limits
|
|
19398
|
+
* 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.
|
|
19399
|
+
*
|
|
19400
|
+
* @param request DescribeSceneDefenseObjectsRequest
|
|
19401
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19402
|
+
* @return DescribeSceneDefenseObjectsResponse
|
|
19403
|
+
*/
|
|
17958
19404
|
async describeSceneDefenseObjectsWithOptions(request: DescribeSceneDefenseObjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSceneDefenseObjectsResponse> {
|
|
17959
19405
|
Util.validateModel(request);
|
|
17960
19406
|
let query = { };
|
|
@@ -17983,11 +19429,29 @@ export default class Client extends OpenApi {
|
|
|
17983
19429
|
return $tea.cast<DescribeSceneDefenseObjectsResponse>(await this.callApi(params, req, runtime), new DescribeSceneDefenseObjectsResponse({}));
|
|
17984
19430
|
}
|
|
17985
19431
|
|
|
19432
|
+
/**
|
|
19433
|
+
* You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.
|
|
19434
|
+
* Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.
|
|
19435
|
+
* ### Limits
|
|
19436
|
+
* 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.
|
|
19437
|
+
*
|
|
19438
|
+
* @param request DescribeSceneDefenseObjectsRequest
|
|
19439
|
+
* @return DescribeSceneDefenseObjectsResponse
|
|
19440
|
+
*/
|
|
17986
19441
|
async describeSceneDefenseObjects(request: DescribeSceneDefenseObjectsRequest): Promise<DescribeSceneDefenseObjectsResponse> {
|
|
17987
19442
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17988
19443
|
return await this.describeSceneDefenseObjectsWithOptions(request, runtime);
|
|
17989
19444
|
}
|
|
17990
19445
|
|
|
19446
|
+
/**
|
|
19447
|
+
* 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.
|
|
19448
|
+
* ### Limits
|
|
19449
|
+
* 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.
|
|
19450
|
+
*
|
|
19451
|
+
* @param request DescribeSceneDefensePoliciesRequest
|
|
19452
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19453
|
+
* @return DescribeSceneDefensePoliciesResponse
|
|
19454
|
+
*/
|
|
17991
19455
|
async describeSceneDefensePoliciesWithOptions(request: DescribeSceneDefensePoliciesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSceneDefensePoliciesResponse> {
|
|
17992
19456
|
Util.validateModel(request);
|
|
17993
19457
|
let query = { };
|
|
@@ -18020,6 +19484,14 @@ export default class Client extends OpenApi {
|
|
|
18020
19484
|
return $tea.cast<DescribeSceneDefensePoliciesResponse>(await this.callApi(params, req, runtime), new DescribeSceneDefensePoliciesResponse({}));
|
|
18021
19485
|
}
|
|
18022
19486
|
|
|
19487
|
+
/**
|
|
19488
|
+
* 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.
|
|
19489
|
+
* ### Limits
|
|
19490
|
+
* 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.
|
|
19491
|
+
*
|
|
19492
|
+
* @param request DescribeSceneDefensePoliciesRequest
|
|
19493
|
+
* @return DescribeSceneDefensePoliciesResponse
|
|
19494
|
+
*/
|
|
18023
19495
|
async describeSceneDefensePolicies(request: DescribeSceneDefensePoliciesRequest): Promise<DescribeSceneDefensePoliciesResponse> {
|
|
18024
19496
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18025
19497
|
return await this.describeSceneDefensePoliciesWithOptions(request, runtime);
|
|
@@ -18066,6 +19538,55 @@ export default class Client extends OpenApi {
|
|
|
18066
19538
|
return await this.describeSchedulerRulesWithOptions(request, runtime);
|
|
18067
19539
|
}
|
|
18068
19540
|
|
|
19541
|
+
async describeSlaEventListWithOptions(request: DescribeSlaEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlaEventListResponse> {
|
|
19542
|
+
Util.validateModel(request);
|
|
19543
|
+
let query = { };
|
|
19544
|
+
if (!Util.isUnset(request.endTime)) {
|
|
19545
|
+
query["EndTime"] = request.endTime;
|
|
19546
|
+
}
|
|
19547
|
+
|
|
19548
|
+
if (!Util.isUnset(request.ip)) {
|
|
19549
|
+
query["Ip"] = request.ip;
|
|
19550
|
+
}
|
|
19551
|
+
|
|
19552
|
+
if (!Util.isUnset(request.page)) {
|
|
19553
|
+
query["Page"] = request.page;
|
|
19554
|
+
}
|
|
19555
|
+
|
|
19556
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
19557
|
+
query["PageSize"] = request.pageSize;
|
|
19558
|
+
}
|
|
19559
|
+
|
|
19560
|
+
if (!Util.isUnset(request.region)) {
|
|
19561
|
+
query["Region"] = request.region;
|
|
19562
|
+
}
|
|
19563
|
+
|
|
19564
|
+
if (!Util.isUnset(request.startTime)) {
|
|
19565
|
+
query["StartTime"] = request.startTime;
|
|
19566
|
+
}
|
|
19567
|
+
|
|
19568
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19569
|
+
query: OpenApiUtil.query(query),
|
|
19570
|
+
});
|
|
19571
|
+
let params = new $OpenApi.Params({
|
|
19572
|
+
action: "DescribeSlaEventList",
|
|
19573
|
+
version: "2020-01-01",
|
|
19574
|
+
protocol: "HTTPS",
|
|
19575
|
+
pathname: "/",
|
|
19576
|
+
method: "POST",
|
|
19577
|
+
authType: "AK",
|
|
19578
|
+
style: "RPC",
|
|
19579
|
+
reqBodyType: "formData",
|
|
19580
|
+
bodyType: "json",
|
|
19581
|
+
});
|
|
19582
|
+
return $tea.cast<DescribeSlaEventListResponse>(await this.callApi(params, req, runtime), new DescribeSlaEventListResponse({}));
|
|
19583
|
+
}
|
|
19584
|
+
|
|
19585
|
+
async describeSlaEventList(request: DescribeSlaEventListRequest): Promise<DescribeSlaEventListResponse> {
|
|
19586
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19587
|
+
return await this.describeSlaEventListWithOptions(request, runtime);
|
|
19588
|
+
}
|
|
19589
|
+
|
|
18069
19590
|
async describeSlsAuthStatusWithOptions(request: DescribeSlsAuthStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlsAuthStatusResponse> {
|
|
18070
19591
|
Util.validateModel(request);
|
|
18071
19592
|
let query = { };
|
|
@@ -18153,6 +19674,15 @@ export default class Client extends OpenApi {
|
|
|
18153
19674
|
return await this.describeSlsOpenStatusWithOptions(request, runtime);
|
|
18154
19675
|
}
|
|
18155
19676
|
|
|
19677
|
+
/**
|
|
19678
|
+
* 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.
|
|
19679
|
+
* ### Limits
|
|
19680
|
+
* 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.
|
|
19681
|
+
*
|
|
19682
|
+
* @param request DescribeStsGrantStatusRequest
|
|
19683
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19684
|
+
* @return DescribeStsGrantStatusResponse
|
|
19685
|
+
*/
|
|
18156
19686
|
async describeStsGrantStatusWithOptions(request: DescribeStsGrantStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeStsGrantStatusResponse> {
|
|
18157
19687
|
Util.validateModel(request);
|
|
18158
19688
|
let query = { };
|
|
@@ -18181,11 +19711,29 @@ export default class Client extends OpenApi {
|
|
|
18181
19711
|
return $tea.cast<DescribeStsGrantStatusResponse>(await this.callApi(params, req, runtime), new DescribeStsGrantStatusResponse({}));
|
|
18182
19712
|
}
|
|
18183
19713
|
|
|
19714
|
+
/**
|
|
19715
|
+
* 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.
|
|
19716
|
+
* ### Limits
|
|
19717
|
+
* 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.
|
|
19718
|
+
*
|
|
19719
|
+
* @param request DescribeStsGrantStatusRequest
|
|
19720
|
+
* @return DescribeStsGrantStatusResponse
|
|
19721
|
+
*/
|
|
18184
19722
|
async describeStsGrantStatus(request: DescribeStsGrantStatusRequest): Promise<DescribeStsGrantStatusResponse> {
|
|
18185
19723
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18186
19724
|
return await this.describeStsGrantStatusWithOptions(request, runtime);
|
|
18187
19725
|
}
|
|
18188
19726
|
|
|
19727
|
+
/**
|
|
19728
|
+
* 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.
|
|
19729
|
+
* 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.
|
|
19730
|
+
* ### Limits
|
|
19731
|
+
* 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.
|
|
19732
|
+
*
|
|
19733
|
+
* @param request DescribeSystemLogRequest
|
|
19734
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19735
|
+
* @return DescribeSystemLogResponse
|
|
19736
|
+
*/
|
|
18189
19737
|
async describeSystemLogWithOptions(request: DescribeSystemLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemLogResponse> {
|
|
18190
19738
|
Util.validateModel(request);
|
|
18191
19739
|
let query = { };
|
|
@@ -18230,11 +19778,30 @@ export default class Client extends OpenApi {
|
|
|
18230
19778
|
return $tea.cast<DescribeSystemLogResponse>(await this.callApi(params, req, runtime), new DescribeSystemLogResponse({}));
|
|
18231
19779
|
}
|
|
18232
19780
|
|
|
19781
|
+
/**
|
|
19782
|
+
* 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.
|
|
19783
|
+
* 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.
|
|
19784
|
+
* ### Limits
|
|
19785
|
+
* 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.
|
|
19786
|
+
*
|
|
19787
|
+
* @param request DescribeSystemLogRequest
|
|
19788
|
+
* @return DescribeSystemLogResponse
|
|
19789
|
+
*/
|
|
18233
19790
|
async describeSystemLog(request: DescribeSystemLogRequest): Promise<DescribeSystemLogResponse> {
|
|
18234
19791
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18235
19792
|
return await this.describeSystemLogWithOptions(request, runtime);
|
|
18236
19793
|
}
|
|
18237
19794
|
|
|
19795
|
+
/**
|
|
19796
|
+
* 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.
|
|
19797
|
+
* > The tag feature is suitable only for Anti-DDoS Pro.
|
|
19798
|
+
* ### Limits
|
|
19799
|
+
* 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.
|
|
19800
|
+
*
|
|
19801
|
+
* @param request DescribeTagKeysRequest
|
|
19802
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19803
|
+
* @return DescribeTagKeysResponse
|
|
19804
|
+
*/
|
|
18238
19805
|
async describeTagKeysWithOptions(request: DescribeTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagKeysResponse> {
|
|
18239
19806
|
Util.validateModel(request);
|
|
18240
19807
|
let query = { };
|
|
@@ -18275,11 +19842,30 @@ export default class Client extends OpenApi {
|
|
|
18275
19842
|
return $tea.cast<DescribeTagKeysResponse>(await this.callApi(params, req, runtime), new DescribeTagKeysResponse({}));
|
|
18276
19843
|
}
|
|
18277
19844
|
|
|
19845
|
+
/**
|
|
19846
|
+
* 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.
|
|
19847
|
+
* > The tag feature is suitable only for Anti-DDoS Pro.
|
|
19848
|
+
* ### Limits
|
|
19849
|
+
* 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.
|
|
19850
|
+
*
|
|
19851
|
+
* @param request DescribeTagKeysRequest
|
|
19852
|
+
* @return DescribeTagKeysResponse
|
|
19853
|
+
*/
|
|
18278
19854
|
async describeTagKeys(request: DescribeTagKeysRequest): Promise<DescribeTagKeysResponse> {
|
|
18279
19855
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18280
19856
|
return await this.describeTagKeysWithOptions(request, runtime);
|
|
18281
19857
|
}
|
|
18282
19858
|
|
|
19859
|
+
/**
|
|
19860
|
+
* You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
|
|
19861
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
19862
|
+
* ### Limits
|
|
19863
|
+
* 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.
|
|
19864
|
+
*
|
|
19865
|
+
* @param request DescribeTagResourcesRequest
|
|
19866
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19867
|
+
* @return DescribeTagResourcesResponse
|
|
19868
|
+
*/
|
|
18283
19869
|
async describeTagResourcesWithOptions(request: DescribeTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagResourcesResponse> {
|
|
18284
19870
|
Util.validateModel(request);
|
|
18285
19871
|
let query = { };
|
|
@@ -18324,11 +19910,61 @@ export default class Client extends OpenApi {
|
|
|
18324
19910
|
return $tea.cast<DescribeTagResourcesResponse>(await this.callApi(params, req, runtime), new DescribeTagResourcesResponse({}));
|
|
18325
19911
|
}
|
|
18326
19912
|
|
|
19913
|
+
/**
|
|
19914
|
+
* You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Pro instance.
|
|
19915
|
+
* > Only Anti-DDoS Pro supports tags.
|
|
19916
|
+
* ### Limits
|
|
19917
|
+
* 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.
|
|
19918
|
+
*
|
|
19919
|
+
* @param request DescribeTagResourcesRequest
|
|
19920
|
+
* @return DescribeTagResourcesResponse
|
|
19921
|
+
*/
|
|
18327
19922
|
async describeTagResources(request: DescribeTagResourcesRequest): Promise<DescribeTagResourcesResponse> {
|
|
18328
19923
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18329
19924
|
return await this.describeTagResourcesWithOptions(request, runtime);
|
|
18330
19925
|
}
|
|
18331
19926
|
|
|
19927
|
+
async describeTotalAttackMaxFlowWithOptions(request: DescribeTotalAttackMaxFlowRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTotalAttackMaxFlowResponse> {
|
|
19928
|
+
Util.validateModel(request);
|
|
19929
|
+
let query = { };
|
|
19930
|
+
if (!Util.isUnset(request.endTime)) {
|
|
19931
|
+
query["EndTime"] = request.endTime;
|
|
19932
|
+
}
|
|
19933
|
+
|
|
19934
|
+
if (!Util.isUnset(request.instanceIds)) {
|
|
19935
|
+
query["InstanceIds"] = request.instanceIds;
|
|
19936
|
+
}
|
|
19937
|
+
|
|
19938
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
19939
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
19940
|
+
}
|
|
19941
|
+
|
|
19942
|
+
if (!Util.isUnset(request.startTime)) {
|
|
19943
|
+
query["StartTime"] = request.startTime;
|
|
19944
|
+
}
|
|
19945
|
+
|
|
19946
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19947
|
+
query: OpenApiUtil.query(query),
|
|
19948
|
+
});
|
|
19949
|
+
let params = new $OpenApi.Params({
|
|
19950
|
+
action: "DescribeTotalAttackMaxFlow",
|
|
19951
|
+
version: "2020-01-01",
|
|
19952
|
+
protocol: "HTTPS",
|
|
19953
|
+
pathname: "/",
|
|
19954
|
+
method: "POST",
|
|
19955
|
+
authType: "AK",
|
|
19956
|
+
style: "RPC",
|
|
19957
|
+
reqBodyType: "formData",
|
|
19958
|
+
bodyType: "json",
|
|
19959
|
+
});
|
|
19960
|
+
return $tea.cast<DescribeTotalAttackMaxFlowResponse>(await this.callApi(params, req, runtime), new DescribeTotalAttackMaxFlowResponse({}));
|
|
19961
|
+
}
|
|
19962
|
+
|
|
19963
|
+
async describeTotalAttackMaxFlow(request: DescribeTotalAttackMaxFlowRequest): Promise<DescribeTotalAttackMaxFlowResponse> {
|
|
19964
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19965
|
+
return await this.describeTotalAttackMaxFlowWithOptions(request, runtime);
|
|
19966
|
+
}
|
|
19967
|
+
|
|
18332
19968
|
async describeUdpReflectWithOptions(request: DescribeUdpReflectRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUdpReflectResponse> {
|
|
18333
19969
|
Util.validateModel(request);
|
|
18334
19970
|
let query = { };
|
|
@@ -18391,6 +20027,13 @@ export default class Client extends OpenApi {
|
|
|
18391
20027
|
return await this.describeUnBlackholeCountWithOptions(request, runtime);
|
|
18392
20028
|
}
|
|
18393
20029
|
|
|
20030
|
+
/**
|
|
20031
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
20032
|
+
*
|
|
20033
|
+
* @param request DescribeUnBlockCountRequest
|
|
20034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20035
|
+
* @return DescribeUnBlockCountResponse
|
|
20036
|
+
*/
|
|
18394
20037
|
async describeUnBlockCountWithOptions(request: DescribeUnBlockCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUnBlockCountResponse> {
|
|
18395
20038
|
Util.validateModel(request);
|
|
18396
20039
|
let query = { };
|
|
@@ -18415,11 +20058,26 @@ export default class Client extends OpenApi {
|
|
|
18415
20058
|
return $tea.cast<DescribeUnBlockCountResponse>(await this.callApi(params, req, runtime), new DescribeUnBlockCountResponse({}));
|
|
18416
20059
|
}
|
|
18417
20060
|
|
|
20061
|
+
/**
|
|
20062
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
20063
|
+
*
|
|
20064
|
+
* @param request DescribeUnBlockCountRequest
|
|
20065
|
+
* @return DescribeUnBlockCountResponse
|
|
20066
|
+
*/
|
|
18418
20067
|
async describeUnBlockCount(request: DescribeUnBlockCountRequest): Promise<DescribeUnBlockCountResponse> {
|
|
18419
20068
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18420
20069
|
return await this.describeUnBlockCountWithOptions(request, runtime);
|
|
18421
20070
|
}
|
|
18422
20071
|
|
|
20072
|
+
/**
|
|
20073
|
+
* 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.
|
|
20074
|
+
* ### Limits
|
|
20075
|
+
* 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.
|
|
20076
|
+
*
|
|
20077
|
+
* @param request DescribeWebAccessLogDispatchStatusRequest
|
|
20078
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20079
|
+
* @return DescribeWebAccessLogDispatchStatusResponse
|
|
20080
|
+
*/
|
|
18423
20081
|
async describeWebAccessLogDispatchStatusWithOptions(request: DescribeWebAccessLogDispatchStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebAccessLogDispatchStatusResponse> {
|
|
18424
20082
|
Util.validateModel(request);
|
|
18425
20083
|
let query = { };
|
|
@@ -18452,6 +20110,14 @@ export default class Client extends OpenApi {
|
|
|
18452
20110
|
return $tea.cast<DescribeWebAccessLogDispatchStatusResponse>(await this.callApi(params, req, runtime), new DescribeWebAccessLogDispatchStatusResponse({}));
|
|
18453
20111
|
}
|
|
18454
20112
|
|
|
20113
|
+
/**
|
|
20114
|
+
* 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.
|
|
20115
|
+
* ### Limits
|
|
20116
|
+
* 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.
|
|
20117
|
+
*
|
|
20118
|
+
* @param request DescribeWebAccessLogDispatchStatusRequest
|
|
20119
|
+
* @return DescribeWebAccessLogDispatchStatusResponse
|
|
20120
|
+
*/
|
|
18455
20121
|
async describeWebAccessLogDispatchStatus(request: DescribeWebAccessLogDispatchStatusRequest): Promise<DescribeWebAccessLogDispatchStatusResponse> {
|
|
18456
20122
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18457
20123
|
return await this.describeWebAccessLogDispatchStatusWithOptions(request, runtime);
|
|
@@ -18622,6 +20288,15 @@ export default class Client extends OpenApi {
|
|
|
18622
20288
|
return await this.describeWebCCRulesWithOptions(request, runtime);
|
|
18623
20289
|
}
|
|
18624
20290
|
|
|
20291
|
+
/**
|
|
20292
|
+
* You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
|
|
20293
|
+
* ### Limits
|
|
20294
|
+
* 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.
|
|
20295
|
+
*
|
|
20296
|
+
* @param request DescribeWebCacheConfigsRequest
|
|
20297
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20298
|
+
* @return DescribeWebCacheConfigsResponse
|
|
20299
|
+
*/
|
|
18625
20300
|
async describeWebCacheConfigsWithOptions(request: DescribeWebCacheConfigsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebCacheConfigsResponse> {
|
|
18626
20301
|
Util.validateModel(request);
|
|
18627
20302
|
let query = { };
|
|
@@ -18650,6 +20325,14 @@ export default class Client extends OpenApi {
|
|
|
18650
20325
|
return $tea.cast<DescribeWebCacheConfigsResponse>(await this.callApi(params, req, runtime), new DescribeWebCacheConfigsResponse({}));
|
|
18651
20326
|
}
|
|
18652
20327
|
|
|
20328
|
+
/**
|
|
20329
|
+
* You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.
|
|
20330
|
+
* ### Limits
|
|
20331
|
+
* 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.
|
|
20332
|
+
*
|
|
20333
|
+
* @param request DescribeWebCacheConfigsRequest
|
|
20334
|
+
* @return DescribeWebCacheConfigsResponse
|
|
20335
|
+
*/
|
|
18653
20336
|
async describeWebCacheConfigs(request: DescribeWebCacheConfigsRequest): Promise<DescribeWebCacheConfigsResponse> {
|
|
18654
20337
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18655
20338
|
return await this.describeWebCacheConfigsWithOptions(request, runtime);
|
|
@@ -19216,6 +20899,52 @@ export default class Client extends OpenApi {
|
|
|
19216
20899
|
return await this.enableWebCCRuleWithOptions(request, runtime);
|
|
19217
20900
|
}
|
|
19218
20901
|
|
|
20902
|
+
/**
|
|
20903
|
+
* 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.
|
|
20904
|
+
*
|
|
20905
|
+
* @param request ModifyBizBandWidthModeRequest
|
|
20906
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20907
|
+
* @return ModifyBizBandWidthModeResponse
|
|
20908
|
+
*/
|
|
20909
|
+
async modifyBizBandWidthModeWithOptions(request: ModifyBizBandWidthModeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBizBandWidthModeResponse> {
|
|
20910
|
+
Util.validateModel(request);
|
|
20911
|
+
let query = { };
|
|
20912
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
20913
|
+
query["InstanceId"] = request.instanceId;
|
|
20914
|
+
}
|
|
20915
|
+
|
|
20916
|
+
if (!Util.isUnset(request.mode)) {
|
|
20917
|
+
query["Mode"] = request.mode;
|
|
20918
|
+
}
|
|
20919
|
+
|
|
20920
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20921
|
+
query: OpenApiUtil.query(query),
|
|
20922
|
+
});
|
|
20923
|
+
let params = new $OpenApi.Params({
|
|
20924
|
+
action: "ModifyBizBandWidthMode",
|
|
20925
|
+
version: "2020-01-01",
|
|
20926
|
+
protocol: "HTTPS",
|
|
20927
|
+
pathname: "/",
|
|
20928
|
+
method: "POST",
|
|
20929
|
+
authType: "AK",
|
|
20930
|
+
style: "RPC",
|
|
20931
|
+
reqBodyType: "formData",
|
|
20932
|
+
bodyType: "json",
|
|
20933
|
+
});
|
|
20934
|
+
return $tea.cast<ModifyBizBandWidthModeResponse>(await this.callApi(params, req, runtime), new ModifyBizBandWidthModeResponse({}));
|
|
20935
|
+
}
|
|
20936
|
+
|
|
20937
|
+
/**
|
|
20938
|
+
* 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.
|
|
20939
|
+
*
|
|
20940
|
+
* @param request ModifyBizBandWidthModeRequest
|
|
20941
|
+
* @return ModifyBizBandWidthModeResponse
|
|
20942
|
+
*/
|
|
20943
|
+
async modifyBizBandWidthMode(request: ModifyBizBandWidthModeRequest): Promise<ModifyBizBandWidthModeResponse> {
|
|
20944
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20945
|
+
return await this.modifyBizBandWidthModeWithOptions(request, runtime);
|
|
20946
|
+
}
|
|
20947
|
+
|
|
19219
20948
|
async modifyBlackholeStatusWithOptions(request: ModifyBlackholeStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBlackholeStatusResponse> {
|
|
19220
20949
|
Util.validateModel(request);
|
|
19221
20950
|
let query = { };
|
|
@@ -19249,6 +20978,13 @@ export default class Client extends OpenApi {
|
|
|
19249
20978
|
return await this.modifyBlackholeStatusWithOptions(request, runtime);
|
|
19250
20979
|
}
|
|
19251
20980
|
|
|
20981
|
+
/**
|
|
20982
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
20983
|
+
*
|
|
20984
|
+
* @param request ModifyBlockStatusRequest
|
|
20985
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20986
|
+
* @return ModifyBlockStatusResponse
|
|
20987
|
+
*/
|
|
19252
20988
|
async modifyBlockStatusWithOptions(request: ModifyBlockStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBlockStatusResponse> {
|
|
19253
20989
|
Util.validateModel(request);
|
|
19254
20990
|
let query = { };
|
|
@@ -19285,11 +21021,24 @@ export default class Client extends OpenApi {
|
|
|
19285
21021
|
return $tea.cast<ModifyBlockStatusResponse>(await this.callApi(params, req, runtime), new ModifyBlockStatusResponse({}));
|
|
19286
21022
|
}
|
|
19287
21023
|
|
|
21024
|
+
/**
|
|
21025
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21026
|
+
*
|
|
21027
|
+
* @param request ModifyBlockStatusRequest
|
|
21028
|
+
* @return ModifyBlockStatusResponse
|
|
21029
|
+
*/
|
|
19288
21030
|
async modifyBlockStatus(request: ModifyBlockStatusRequest): Promise<ModifyBlockStatusResponse> {
|
|
19289
21031
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19290
21032
|
return await this.modifyBlockStatusWithOptions(request, runtime);
|
|
19291
21033
|
}
|
|
19292
21034
|
|
|
21035
|
+
/**
|
|
21036
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
21037
|
+
*
|
|
21038
|
+
* @param request ModifyCnameReuseRequest
|
|
21039
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21040
|
+
* @return ModifyCnameReuseResponse
|
|
21041
|
+
*/
|
|
19293
21042
|
async modifyCnameReuseWithOptions(request: ModifyCnameReuseRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCnameReuseResponse> {
|
|
19294
21043
|
Util.validateModel(request);
|
|
19295
21044
|
let query = { };
|
|
@@ -19326,6 +21075,12 @@ export default class Client extends OpenApi {
|
|
|
19326
21075
|
return $tea.cast<ModifyCnameReuseResponse>(await this.callApi(params, req, runtime), new ModifyCnameReuseResponse({}));
|
|
19327
21076
|
}
|
|
19328
21077
|
|
|
21078
|
+
/**
|
|
21079
|
+
* > This operation is suitable only for Anti-DDoS Premium.
|
|
21080
|
+
*
|
|
21081
|
+
* @param request ModifyCnameReuseRequest
|
|
21082
|
+
* @return ModifyCnameReuseResponse
|
|
21083
|
+
*/
|
|
19329
21084
|
async modifyCnameReuse(request: ModifyCnameReuseRequest): Promise<ModifyCnameReuseResponse> {
|
|
19330
21085
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19331
21086
|
return await this.modifyCnameReuseWithOptions(request, runtime);
|
|
@@ -19380,6 +21135,13 @@ export default class Client extends OpenApi {
|
|
|
19380
21135
|
return await this.modifyDomainResourceWithOptions(request, runtime);
|
|
19381
21136
|
}
|
|
19382
21137
|
|
|
21138
|
+
/**
|
|
21139
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21140
|
+
*
|
|
21141
|
+
* @param request ModifyElasticBandWidthRequest
|
|
21142
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21143
|
+
* @return ModifyElasticBandWidthResponse
|
|
21144
|
+
*/
|
|
19383
21145
|
async modifyElasticBandWidthWithOptions(request: ModifyElasticBandWidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyElasticBandWidthResponse> {
|
|
19384
21146
|
Util.validateModel(request);
|
|
19385
21147
|
let query = { };
|
|
@@ -19408,11 +21170,67 @@ export default class Client extends OpenApi {
|
|
|
19408
21170
|
return $tea.cast<ModifyElasticBandWidthResponse>(await this.callApi(params, req, runtime), new ModifyElasticBandWidthResponse({}));
|
|
19409
21171
|
}
|
|
19410
21172
|
|
|
21173
|
+
/**
|
|
21174
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21175
|
+
*
|
|
21176
|
+
* @param request ModifyElasticBandWidthRequest
|
|
21177
|
+
* @return ModifyElasticBandWidthResponse
|
|
21178
|
+
*/
|
|
19411
21179
|
async modifyElasticBandWidth(request: ModifyElasticBandWidthRequest): Promise<ModifyElasticBandWidthResponse> {
|
|
19412
21180
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19413
21181
|
return await this.modifyElasticBandWidthWithOptions(request, runtime);
|
|
19414
21182
|
}
|
|
19415
21183
|
|
|
21184
|
+
/**
|
|
21185
|
+
* 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.
|
|
21186
|
+
*
|
|
21187
|
+
* @param request ModifyElasticBizBandWidthRequest
|
|
21188
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21189
|
+
* @return ModifyElasticBizBandWidthResponse
|
|
21190
|
+
*/
|
|
21191
|
+
async modifyElasticBizBandWidthWithOptions(request: ModifyElasticBizBandWidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyElasticBizBandWidthResponse> {
|
|
21192
|
+
Util.validateModel(request);
|
|
21193
|
+
let query = { };
|
|
21194
|
+
if (!Util.isUnset(request.elasticBizBandwidth)) {
|
|
21195
|
+
query["ElasticBizBandwidth"] = request.elasticBizBandwidth;
|
|
21196
|
+
}
|
|
21197
|
+
|
|
21198
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
21199
|
+
query["InstanceId"] = request.instanceId;
|
|
21200
|
+
}
|
|
21201
|
+
|
|
21202
|
+
if (!Util.isUnset(request.mode)) {
|
|
21203
|
+
query["Mode"] = request.mode;
|
|
21204
|
+
}
|
|
21205
|
+
|
|
21206
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21207
|
+
query: OpenApiUtil.query(query),
|
|
21208
|
+
});
|
|
21209
|
+
let params = new $OpenApi.Params({
|
|
21210
|
+
action: "ModifyElasticBizBandWidth",
|
|
21211
|
+
version: "2020-01-01",
|
|
21212
|
+
protocol: "HTTPS",
|
|
21213
|
+
pathname: "/",
|
|
21214
|
+
method: "POST",
|
|
21215
|
+
authType: "AK",
|
|
21216
|
+
style: "RPC",
|
|
21217
|
+
reqBodyType: "formData",
|
|
21218
|
+
bodyType: "json",
|
|
21219
|
+
});
|
|
21220
|
+
return $tea.cast<ModifyElasticBizBandWidthResponse>(await this.callApi(params, req, runtime), new ModifyElasticBizBandWidthResponse({}));
|
|
21221
|
+
}
|
|
21222
|
+
|
|
21223
|
+
/**
|
|
21224
|
+
* 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.
|
|
21225
|
+
*
|
|
21226
|
+
* @param request ModifyElasticBizBandWidthRequest
|
|
21227
|
+
* @return ModifyElasticBizBandWidthResponse
|
|
21228
|
+
*/
|
|
21229
|
+
async modifyElasticBizBandWidth(request: ModifyElasticBizBandWidthRequest): Promise<ModifyElasticBizBandWidthResponse> {
|
|
21230
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21231
|
+
return await this.modifyElasticBizBandWidthWithOptions(request, runtime);
|
|
21232
|
+
}
|
|
21233
|
+
|
|
19416
21234
|
async modifyFullLogTtlWithOptions(request: ModifyFullLogTtlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFullLogTtlResponse> {
|
|
19417
21235
|
Util.validateModel(request);
|
|
19418
21236
|
let query = { };
|
|
@@ -19446,6 +21264,43 @@ export default class Client extends OpenApi {
|
|
|
19446
21264
|
return await this.modifyFullLogTtlWithOptions(request, runtime);
|
|
19447
21265
|
}
|
|
19448
21266
|
|
|
21267
|
+
async modifyHeadersWithOptions(request: ModifyHeadersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHeadersResponse> {
|
|
21268
|
+
Util.validateModel(request);
|
|
21269
|
+
let query = { };
|
|
21270
|
+
if (!Util.isUnset(request.customHeaders)) {
|
|
21271
|
+
query["CustomHeaders"] = request.customHeaders;
|
|
21272
|
+
}
|
|
21273
|
+
|
|
21274
|
+
if (!Util.isUnset(request.domain)) {
|
|
21275
|
+
query["Domain"] = request.domain;
|
|
21276
|
+
}
|
|
21277
|
+
|
|
21278
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
21279
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
21280
|
+
}
|
|
21281
|
+
|
|
21282
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21283
|
+
query: OpenApiUtil.query(query),
|
|
21284
|
+
});
|
|
21285
|
+
let params = new $OpenApi.Params({
|
|
21286
|
+
action: "ModifyHeaders",
|
|
21287
|
+
version: "2020-01-01",
|
|
21288
|
+
protocol: "HTTPS",
|
|
21289
|
+
pathname: "/",
|
|
21290
|
+
method: "POST",
|
|
21291
|
+
authType: "AK",
|
|
21292
|
+
style: "RPC",
|
|
21293
|
+
reqBodyType: "formData",
|
|
21294
|
+
bodyType: "json",
|
|
21295
|
+
});
|
|
21296
|
+
return $tea.cast<ModifyHeadersResponse>(await this.callApi(params, req, runtime), new ModifyHeadersResponse({}));
|
|
21297
|
+
}
|
|
21298
|
+
|
|
21299
|
+
async modifyHeaders(request: ModifyHeadersRequest): Promise<ModifyHeadersResponse> {
|
|
21300
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21301
|
+
return await this.modifyHeadersWithOptions(request, runtime);
|
|
21302
|
+
}
|
|
21303
|
+
|
|
19449
21304
|
async modifyHealthCheckConfigWithOptions(request: ModifyHealthCheckConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHealthCheckConfigResponse> {
|
|
19450
21305
|
Util.validateModel(request);
|
|
19451
21306
|
let query = { };
|
|
@@ -19487,6 +21342,13 @@ export default class Client extends OpenApi {
|
|
|
19487
21342
|
return await this.modifyHealthCheckConfigWithOptions(request, runtime);
|
|
19488
21343
|
}
|
|
19489
21344
|
|
|
21345
|
+
/**
|
|
21346
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21347
|
+
*
|
|
21348
|
+
* @param request ModifyHttp2EnableRequest
|
|
21349
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21350
|
+
* @return ModifyHttp2EnableResponse
|
|
21351
|
+
*/
|
|
19490
21352
|
async modifyHttp2EnableWithOptions(request: ModifyHttp2EnableRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHttp2EnableResponse> {
|
|
19491
21353
|
Util.validateModel(request);
|
|
19492
21354
|
let query = { };
|
|
@@ -19519,6 +21381,12 @@ export default class Client extends OpenApi {
|
|
|
19519
21381
|
return $tea.cast<ModifyHttp2EnableResponse>(await this.callApi(params, req, runtime), new ModifyHttp2EnableResponse({}));
|
|
19520
21382
|
}
|
|
19521
21383
|
|
|
21384
|
+
/**
|
|
21385
|
+
* > This operation is suitable only for Anti-DDoS Pro.
|
|
21386
|
+
*
|
|
21387
|
+
* @param request ModifyHttp2EnableRequest
|
|
21388
|
+
* @return ModifyHttp2EnableResponse
|
|
21389
|
+
*/
|
|
19522
21390
|
async modifyHttp2Enable(request: ModifyHttp2EnableRequest): Promise<ModifyHttp2EnableResponse> {
|
|
19523
21391
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19524
21392
|
return await this.modifyHttp2EnableWithOptions(request, runtime);
|
|
@@ -19598,6 +21466,59 @@ export default class Client extends OpenApi {
|
|
|
19598
21466
|
return await this.modifyNetworkRuleAttributeWithOptions(request, runtime);
|
|
19599
21467
|
}
|
|
19600
21468
|
|
|
21469
|
+
/**
|
|
21470
|
+
* This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
|
|
21471
|
+
*
|
|
21472
|
+
* @param request ModifyOcspStatusRequest
|
|
21473
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21474
|
+
* @return ModifyOcspStatusResponse
|
|
21475
|
+
*/
|
|
21476
|
+
async modifyOcspStatusWithOptions(request: ModifyOcspStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyOcspStatusResponse> {
|
|
21477
|
+
Util.validateModel(request);
|
|
21478
|
+
let query = { };
|
|
21479
|
+
if (!Util.isUnset(request.domain)) {
|
|
21480
|
+
query["Domain"] = request.domain;
|
|
21481
|
+
}
|
|
21482
|
+
|
|
21483
|
+
if (!Util.isUnset(request.enable)) {
|
|
21484
|
+
query["Enable"] = request.enable;
|
|
21485
|
+
}
|
|
21486
|
+
|
|
21487
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21488
|
+
query: OpenApiUtil.query(query),
|
|
21489
|
+
});
|
|
21490
|
+
let params = new $OpenApi.Params({
|
|
21491
|
+
action: "ModifyOcspStatus",
|
|
21492
|
+
version: "2020-01-01",
|
|
21493
|
+
protocol: "HTTPS",
|
|
21494
|
+
pathname: "/",
|
|
21495
|
+
method: "POST",
|
|
21496
|
+
authType: "AK",
|
|
21497
|
+
style: "RPC",
|
|
21498
|
+
reqBodyType: "formData",
|
|
21499
|
+
bodyType: "json",
|
|
21500
|
+
});
|
|
21501
|
+
return $tea.cast<ModifyOcspStatusResponse>(await this.callApi(params, req, runtime), new ModifyOcspStatusResponse({}));
|
|
21502
|
+
}
|
|
21503
|
+
|
|
21504
|
+
/**
|
|
21505
|
+
* This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.
|
|
21506
|
+
*
|
|
21507
|
+
* @param request ModifyOcspStatusRequest
|
|
21508
|
+
* @return ModifyOcspStatusResponse
|
|
21509
|
+
*/
|
|
21510
|
+
async modifyOcspStatus(request: ModifyOcspStatusRequest): Promise<ModifyOcspStatusResponse> {
|
|
21511
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21512
|
+
return await this.modifyOcspStatusWithOptions(request, runtime);
|
|
21513
|
+
}
|
|
21514
|
+
|
|
21515
|
+
/**
|
|
21516
|
+
* You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
21517
|
+
*
|
|
21518
|
+
* @param request ModifyPortRequest
|
|
21519
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21520
|
+
* @return ModifyPortResponse
|
|
21521
|
+
*/
|
|
19601
21522
|
async modifyPortWithOptions(request: ModifyPortRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPortResponse> {
|
|
19602
21523
|
Util.validateModel(request);
|
|
19603
21524
|
let query = { };
|
|
@@ -19638,6 +21559,12 @@ export default class Client extends OpenApi {
|
|
|
19638
21559
|
return $tea.cast<ModifyPortResponse>(await this.callApi(params, req, runtime), new ModifyPortResponse({}));
|
|
19639
21560
|
}
|
|
19640
21561
|
|
|
21562
|
+
/**
|
|
21563
|
+
* You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).
|
|
21564
|
+
*
|
|
21565
|
+
* @param request ModifyPortRequest
|
|
21566
|
+
* @return ModifyPortResponse
|
|
21567
|
+
*/
|
|
19641
21568
|
async modifyPort(request: ModifyPortRequest): Promise<ModifyPortResponse> {
|
|
19642
21569
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19643
21570
|
return await this.modifyPortWithOptions(request, runtime);
|
|
@@ -19951,6 +21878,15 @@ export default class Client extends OpenApi {
|
|
|
19951
21878
|
return await this.modifyWebAreaBlockWithOptions(request, runtime);
|
|
19952
21879
|
}
|
|
19953
21880
|
|
|
21881
|
+
/**
|
|
21882
|
+
* You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
|
21883
|
+
* ### Limits
|
|
21884
|
+
* 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.
|
|
21885
|
+
*
|
|
21886
|
+
* @param request ModifyWebAreaBlockSwitchRequest
|
|
21887
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21888
|
+
* @return ModifyWebAreaBlockSwitchResponse
|
|
21889
|
+
*/
|
|
19954
21890
|
async modifyWebAreaBlockSwitchWithOptions(request: ModifyWebAreaBlockSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWebAreaBlockSwitchResponse> {
|
|
19955
21891
|
Util.validateModel(request);
|
|
19956
21892
|
let query = { };
|
|
@@ -19983,6 +21919,14 @@ export default class Client extends OpenApi {
|
|
|
19983
21919
|
return $tea.cast<ModifyWebAreaBlockSwitchResponse>(await this.callApi(params, req, runtime), new ModifyWebAreaBlockSwitchResponse({}));
|
|
19984
21920
|
}
|
|
19985
21921
|
|
|
21922
|
+
/**
|
|
21923
|
+
* You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
|
21924
|
+
* ### Limits
|
|
21925
|
+
* 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.
|
|
21926
|
+
*
|
|
21927
|
+
* @param request ModifyWebAreaBlockSwitchRequest
|
|
21928
|
+
* @return ModifyWebAreaBlockSwitchResponse
|
|
21929
|
+
*/
|
|
19986
21930
|
async modifyWebAreaBlockSwitch(request: ModifyWebAreaBlockSwitchRequest): Promise<ModifyWebAreaBlockSwitchResponse> {
|
|
19987
21931
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19988
21932
|
return await this.modifyWebAreaBlockSwitchWithOptions(request, runtime);
|
|
@@ -20123,6 +22067,15 @@ export default class Client extends OpenApi {
|
|
|
20123
22067
|
return await this.modifyWebCacheModeWithOptions(request, runtime);
|
|
20124
22068
|
}
|
|
20125
22069
|
|
|
22070
|
+
/**
|
|
22071
|
+
* You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
|
|
22072
|
+
* ### Limits
|
|
22073
|
+
* 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.
|
|
22074
|
+
*
|
|
22075
|
+
* @param request ModifyWebCacheSwitchRequest
|
|
22076
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22077
|
+
* @return ModifyWebCacheSwitchResponse
|
|
22078
|
+
*/
|
|
20126
22079
|
async modifyWebCacheSwitchWithOptions(request: ModifyWebCacheSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyWebCacheSwitchResponse> {
|
|
20127
22080
|
Util.validateModel(request);
|
|
20128
22081
|
let query = { };
|
|
@@ -20155,6 +22108,14 @@ export default class Client extends OpenApi {
|
|
|
20155
22108
|
return $tea.cast<ModifyWebCacheSwitchResponse>(await this.callApi(params, req, runtime), new ModifyWebCacheSwitchResponse({}));
|
|
20156
22109
|
}
|
|
20157
22110
|
|
|
22111
|
+
/**
|
|
22112
|
+
* You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.
|
|
22113
|
+
* ### Limits
|
|
22114
|
+
* 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.
|
|
22115
|
+
*
|
|
22116
|
+
* @param request ModifyWebCacheSwitchRequest
|
|
22117
|
+
* @return ModifyWebCacheSwitchResponse
|
|
22118
|
+
*/
|
|
20158
22119
|
async modifyWebCacheSwitch(request: ModifyWebCacheSwitchRequest): Promise<ModifyWebCacheSwitchResponse> {
|
|
20159
22120
|
let runtime = new $Util.RuntimeOptions({ });
|
|
20160
22121
|
return await this.modifyWebCacheSwitchWithOptions(request, runtime);
|
|
@@ -20328,6 +22289,13 @@ export default class Client extends OpenApi {
|
|
|
20328
22289
|
return await this.modifyWebRuleWithOptions(request, runtime);
|
|
20329
22290
|
}
|
|
20330
22291
|
|
|
22292
|
+
/**
|
|
22293
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
22294
|
+
*
|
|
22295
|
+
* @param request ReleaseInstanceRequest
|
|
22296
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22297
|
+
* @return ReleaseInstanceResponse
|
|
22298
|
+
*/
|
|
20331
22299
|
async releaseInstanceWithOptions(request: ReleaseInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseInstanceResponse> {
|
|
20332
22300
|
Util.validateModel(request);
|
|
20333
22301
|
let query = { };
|
|
@@ -20352,11 +22320,27 @@ export default class Client extends OpenApi {
|
|
|
20352
22320
|
return $tea.cast<ReleaseInstanceResponse>(await this.callApi(params, req, runtime), new ReleaseInstanceResponse({}));
|
|
20353
22321
|
}
|
|
20354
22322
|
|
|
22323
|
+
/**
|
|
22324
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
22325
|
+
*
|
|
22326
|
+
* @param request ReleaseInstanceRequest
|
|
22327
|
+
* @return ReleaseInstanceResponse
|
|
22328
|
+
*/
|
|
20355
22329
|
async releaseInstance(request: ReleaseInstanceRequest): Promise<ReleaseInstanceResponse> {
|
|
20356
22330
|
let runtime = new $Util.RuntimeOptions({ });
|
|
20357
22331
|
return await this.releaseInstanceWithOptions(request, runtime);
|
|
20358
22332
|
}
|
|
20359
22333
|
|
|
22334
|
+
/**
|
|
22335
|
+
* 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.
|
|
22336
|
+
* Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
|
|
22337
|
+
* ### Limits
|
|
22338
|
+
* 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.
|
|
22339
|
+
*
|
|
22340
|
+
* @param request SwitchSchedulerRuleRequest
|
|
22341
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22342
|
+
* @return SwitchSchedulerRuleResponse
|
|
22343
|
+
*/
|
|
20360
22344
|
async switchSchedulerRuleWithOptions(request: SwitchSchedulerRuleRequest, runtime: $Util.RuntimeOptions): Promise<SwitchSchedulerRuleResponse> {
|
|
20361
22345
|
Util.validateModel(request);
|
|
20362
22346
|
let query = { };
|
|
@@ -20389,6 +22373,15 @@ export default class Client extends OpenApi {
|
|
|
20389
22373
|
return $tea.cast<SwitchSchedulerRuleResponse>(await this.callApi(params, req, runtime), new SwitchSchedulerRuleResponse({}));
|
|
20390
22374
|
}
|
|
20391
22375
|
|
|
22376
|
+
/**
|
|
22377
|
+
* 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.
|
|
22378
|
+
* Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.
|
|
22379
|
+
* ### Limits
|
|
22380
|
+
* 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.
|
|
22381
|
+
*
|
|
22382
|
+
* @param request SwitchSchedulerRuleRequest
|
|
22383
|
+
* @return SwitchSchedulerRuleResponse
|
|
22384
|
+
*/
|
|
20392
22385
|
async switchSchedulerRule(request: SwitchSchedulerRuleRequest): Promise<SwitchSchedulerRuleResponse> {
|
|
20393
22386
|
let runtime = new $Util.RuntimeOptions({ });
|
|
20394
22387
|
return await this.switchSchedulerRuleWithOptions(request, runtime);
|