tencentcloud-sdk-nodejs 4.1.271 → 4.1.272

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.
Files changed (100) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/adp/v20260520/adp_client.js +15 -6
  3. package/es/services/ams/index.js +2 -2
  4. package/es/services/antiddos/index.js +2 -2
  5. package/es/services/btoe/index.js +2 -2
  6. package/es/services/cfw/v20190904/cfw_client.js +8 -2
  7. package/es/services/chdfs/index.js +2 -2
  8. package/es/services/cii/index.js +2 -2
  9. package/es/services/dataagent/v20250513/dataagent_client.js +7 -4
  10. package/es/services/dlc/v20210125/dlc_client.js +6 -0
  11. package/es/services/dts/index.js +2 -2
  12. package/es/services/ga2/v20250115/ga2_client.js +23 -5
  13. package/es/services/iotvideo/index.js +2 -2
  14. package/es/services/monitor/index.js +2 -2
  15. package/es/services/organization/index.js +2 -2
  16. package/es/services/rce/index.js +4 -2
  17. package/es/services/rce/v20260130/index.js +6 -0
  18. package/es/services/rce/v20260130/rce_client.js +9 -0
  19. package/es/services/rce/v20260130/rce_models.js +1 -0
  20. package/es/services/tbp/index.js +2 -2
  21. package/es/services/tem/index.js +2 -2
  22. package/es/services/teo/index.js +2 -2
  23. package/es/services/thpc/index.js +2 -2
  24. package/es/services/tione/index.js +2 -2
  25. package/es/services/tke/index.js +2 -2
  26. package/es/services/yunsou/index.js +2 -2
  27. package/package.json +1 -1
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +19 -7
  31. package/tencentcloud/services/adp/v20260520/adp_client.js +27 -9
  32. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +371 -112
  33. package/tencentcloud/services/ams/index.d.ts +4 -4
  34. package/tencentcloud/services/ams/index.js +2 -2
  35. package/tencentcloud/services/antiddos/index.d.ts +4 -4
  36. package/tencentcloud/services/antiddos/index.js +2 -2
  37. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +6 -6
  38. package/tencentcloud/services/btoe/index.d.ts +4 -4
  39. package/tencentcloud/services/btoe/index.js +2 -2
  40. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
  41. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +25 -5
  42. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +14 -6
  43. package/tencentcloud/services/cfw/v20190904/cfw_client.js +17 -5
  44. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +548 -297
  45. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  46. package/tencentcloud/services/chdfs/index.js +2 -2
  47. package/tencentcloud/services/cii/index.d.ts +4 -4
  48. package/tencentcloud/services/cii/index.js +2 -2
  49. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +14 -2
  50. package/tencentcloud/services/dataagent/v20250513/dataagent_client.d.ts +9 -5
  51. package/tencentcloud/services/dataagent/v20250513/dataagent_client.js +12 -6
  52. package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +47 -8
  53. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +27 -27
  54. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +9 -1
  55. package/tencentcloud/services/dlc/v20210125/dlc_client.js +12 -0
  56. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +219 -193
  57. package/tencentcloud/services/dts/index.d.ts +4 -4
  58. package/tencentcloud/services/dts/index.js +2 -2
  59. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +35 -35
  60. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +18 -31
  61. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  62. package/tencentcloud/services/ga2/v20250115/ga2_client.d.ts +31 -7
  63. package/tencentcloud/services/ga2/v20250115/ga2_client.js +45 -9
  64. package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +1086 -861
  65. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +14 -1
  66. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  67. package/tencentcloud/services/iotvideo/index.js +2 -2
  68. package/tencentcloud/services/monitor/index.d.ts +4 -4
  69. package/tencentcloud/services/monitor/index.js +2 -2
  70. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +13 -0
  71. package/tencentcloud/services/organization/index.d.ts +4 -4
  72. package/tencentcloud/services/organization/index.js +2 -2
  73. package/tencentcloud/services/rce/index.d.ts +7 -3
  74. package/tencentcloud/services/rce/index.js +4 -2
  75. package/tencentcloud/services/rce/v20260130/index.d.ts +6 -0
  76. package/tencentcloud/services/rce/v20260130/index.js +10 -0
  77. package/tencentcloud/services/rce/v20260130/rce_client.d.ts +14 -0
  78. package/tencentcloud/services/rce/v20260130/rce_client.js +37 -0
  79. package/tencentcloud/services/rce/v20260130/rce_models.d.ts +184 -0
  80. package/tencentcloud/services/rce/v20260130/rce_models.js +18 -0
  81. package/tencentcloud/services/tbp/index.d.ts +4 -4
  82. package/tencentcloud/services/tbp/index.js +2 -2
  83. package/tencentcloud/services/tem/index.d.ts +4 -4
  84. package/tencentcloud/services/tem/index.js +2 -2
  85. package/tencentcloud/services/teo/index.d.ts +4 -4
  86. package/tencentcloud/services/teo/index.js +2 -2
  87. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  88. package/tencentcloud/services/teo/v20220901/teo_client.js +1 -1
  89. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +21 -16
  90. package/tencentcloud/services/thpc/index.d.ts +4 -4
  91. package/tencentcloud/services/thpc/index.js +2 -2
  92. package/tencentcloud/services/tione/index.d.ts +4 -4
  93. package/tencentcloud/services/tione/index.js +2 -2
  94. package/tencentcloud/services/tke/index.d.ts +4 -4
  95. package/tencentcloud/services/tke/index.js +2 -2
  96. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  97. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +18 -18
  98. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +242 -54
  99. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  100. package/tencentcloud/services/yunsou/index.js +2 -2
@@ -1,16 +1,3 @@
1
- /**
2
- * CreateAccelerateAreas返回参数结构体
3
- */
4
- export interface CreateAccelerateAreasResponse {
5
- /**
6
- * <p>异步任务ID。</p>
7
- */
8
- TaskId?: string;
9
- /**
10
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11
- */
12
- RequestId?: string;
13
- }
14
1
  /**
15
2
  * DescribeTaskResult返回参数结构体
16
3
  */
@@ -24,65 +11,6 @@ export interface DescribeTaskResultResponse {
24
11
  */
25
12
  RequestId?: string;
26
13
  }
27
- /**
28
- * DescribeListeners返回参数结构体
29
- */
30
- export interface DescribeListenersResponse {
31
- /**
32
- * 符合条件的监听器实例。
33
- */
34
- ListenerSet?: Array<ListenerSet>;
35
- /**
36
- * 符合条件的实例个数。
37
- */
38
- TotalCount?: number;
39
- /**
40
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41
- */
42
- RequestId?: string;
43
- }
44
- /**
45
- * CreateForwardingPolicy请求参数结构体
46
- */
47
- export interface CreateForwardingPolicyRequest {
48
- /**
49
- * <p>全球加速实例ID。</p>
50
- */
51
- GlobalAcceleratorId: string;
52
- /**
53
- * <p>监听器ID。</p>
54
- */
55
- ListenerId: string;
56
- /**
57
- * <p>域名。</p><p>参数格式:格式,必须满足正则表达式:^(<a href="?:[a-z0-9-]{0,61}[a-z0-9]">a-z0-9</a>?.)+[a-z]{2,}$</p><p>入参限制:长度范围是1-80。</p>
58
- */
59
- Host: string;
60
- }
61
- /**
62
- * DescribeForwardingRule请求参数结构体
63
- */
64
- export interface DescribeForwardingRuleRequest {
65
- /**
66
- * 全球加速实例ID。
67
- */
68
- GlobalAcceleratorId: string;
69
- /**
70
- * 监听器ID。
71
- */
72
- ListenerId: string;
73
- /**
74
- * 七层转发规则ID。
75
- */
76
- ForwardingPolicyId: string;
77
- /**
78
- * 偏移量,默认为0。
79
- */
80
- Offset?: number;
81
- /**
82
- * 返回数量,默认为20,最大值为100。
83
- */
84
- Limit?: number;
85
- }
86
14
  /**
87
15
  * DescribeEndpointGroups返回参数结构体
88
16
  */
@@ -101,9 +29,9 @@ export interface DescribeEndpointGroupsResponse {
101
29
  RequestId?: string;
102
30
  }
103
31
  /**
104
- * DeleteListenerAdditionalCert返回参数结构体
32
+ * ReplaceListenerAdditionalCert返回参数结构体
105
33
  */
106
- export interface DeleteListenerAdditionalCertResponse {
34
+ export interface ReplaceListenerAdditionalCertResponse {
107
35
  /**
108
36
  * 任务ID。
109
37
  */
@@ -113,27 +41,6 @@ export interface DeleteListenerAdditionalCertResponse {
113
41
  */
114
42
  RequestId?: string;
115
43
  }
116
- /**
117
- * ModifyForwardingPolicy请求参数结构体
118
- */
119
- export interface ModifyForwardingPolicyRequest {
120
- /**
121
- * <p>全球加速实例ID。</p>
122
- */
123
- GlobalAcceleratorId: string;
124
- /**
125
- * <p>监听器ID。</p>
126
- */
127
- ListenerId: string;
128
- /**
129
- * <p>策略ID。</p>
130
- */
131
- ForwardingPolicyId: string;
132
- /**
133
- * <p>域名。</p><p>入参限制:长度范围在1-80。</p><p>格式必须满足正则表达式:^(<a href="?:[a-z0-9-]{0,61}[a-z0-9]">a-z0-9</a>?.)+[a-z]{2,}$</p>
134
- */
135
- Host: string;
136
- }
137
44
  /**
138
45
  * CreateForwardingRule请求参数结构体
139
46
  */
@@ -183,98 +90,6 @@ export interface CreateForwardingRuleRequest {
183
90
  */
184
91
  HideResponseHeaders?: Array<HideResponseHeaders>;
185
92
  }
186
- /**
187
- * 七层转发策略信息
188
- */
189
- export interface ForwardingPolicySet {
190
- /**
191
- * 全球加速实例ID。
192
- */
193
- GlobalAcceleratorId?: string;
194
- /**
195
- * 监听器ID。
196
- */
197
- ListenerId?: string;
198
- /**
199
- * 策略ID。
200
- */
201
- ForwardingPolicyId?: string;
202
- /**
203
- * 域名。
204
- */
205
- Host?: string;
206
- /**
207
- * 是否为默认域名。
208
- */
209
- DefaultHostFlag?: boolean;
210
- }
211
- /**
212
- * 可加速地域信息
213
- */
214
- export interface AcceleratorRegionSet {
215
- /**
216
- * <p>地域中文名称。</p>
217
- */
218
- Name?: string;
219
- /**
220
- * <p>是否可用;0:不可用,1:可用。</p>
221
- */
222
- IsAvailable?: number;
223
- /**
224
- * <p>地域信息。</p>
225
- */
226
- Region?: string;
227
- /**
228
- * <p>地区名称。</p>
229
- */
230
- AreaName?: string;
231
- /**
232
- * <p>是否中国地域。</p>
233
- */
234
- IsChinaMainland?: number;
235
- /**
236
- * <p>支持IspType类型。</p>
237
- */
238
- SupportIspType?: Array<string>;
239
- /**
240
- * <p>是否腾讯地域。</p>
241
- */
242
- IsTencentRegion?: number;
243
- }
244
- /**
245
- * DeleteListenerAdditionalCert请求参数结构体
246
- */
247
- export interface DeleteListenerAdditionalCertRequest {
248
- /**
249
- * 全球加速实例ID。
250
- */
251
- GlobalAcceleratorId: string;
252
- /**
253
- * 监听器ID。
254
- */
255
- ListenerId: string;
256
- /**
257
- * 证书ID。
258
- */
259
- AdditionalCertificates: Array<string>;
260
- }
261
- /**
262
- * CreateListener返回参数结构体
263
- */
264
- export interface CreateListenerResponse {
265
- /**
266
- * <p>任务ID。</p>
267
- */
268
- TaskId?: string;
269
- /**
270
- * <p>监听器ID。</p>
271
- */
272
- ListenerId?: string;
273
- /**
274
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
275
- */
276
- RequestId?: string;
277
- }
278
93
  /**
279
94
  * DescribeForwardingPolicy返回参数结构体
280
95
  */
@@ -343,28 +158,24 @@ export interface DescribeCrossBorderSettlementRequest {
343
158
  SettlementMonth: number;
344
159
  }
345
160
  /**
346
- * 加速地域公网IP信息
161
+ * CreateListenerAdditionalCert返回参数结构体
347
162
  */
348
- export interface IpAddressInfoSet {
349
- /**
350
- * <p>IP地址。</p>
351
- */
352
- IpAddress?: string;
163
+ export interface CreateListenerAdditionalCertResponse {
353
164
  /**
354
- * <p>IP类型。</p>
165
+ * <p>任务ID。</p>
355
166
  */
356
- IspType?: string;
167
+ TaskId?: string;
357
168
  /**
358
- * <p>Ddos类型</p>
169
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
359
170
  */
360
- DdosProtectionType?: string;
171
+ RequestId?: string;
361
172
  }
362
173
  /**
363
- * ModifyForwardingPolicy返回参数结构体
174
+ * DeleteGlobalAcceleratorAclPolicy返回参数结构体
364
175
  */
365
- export interface ModifyForwardingPolicyResponse {
176
+ export interface DeleteGlobalAcceleratorAclPolicyResponse {
366
177
  /**
367
- * <p>异步任务ID。</p>
178
+ * 异步任务ID
368
179
  */
369
180
  TaskId?: string;
370
181
  /**
@@ -373,11 +184,11 @@ export interface ModifyForwardingPolicyResponse {
373
184
  RequestId?: string;
374
185
  }
375
186
  /**
376
- * CreateListenerAdditionalCert返回参数结构体
187
+ * CreateAccelerateAreas返回参数结构体
377
188
  */
378
- export interface CreateListenerAdditionalCertResponse {
189
+ export interface CreateAccelerateAreasResponse {
379
190
  /**
380
- * <p>任务ID。</p>
191
+ * <p>异步任务ID。</p>
381
192
  */
382
193
  TaskId?: string;
383
194
  /**
@@ -386,81 +197,235 @@ export interface CreateListenerAdditionalCertResponse {
386
197
  RequestId?: string;
387
198
  }
388
199
  /**
389
- * DescribeAccelerateAreas请求参数结构体
200
+ * DescribeEndpointGroups请求参数结构体
390
201
  */
391
- export interface DescribeAccelerateAreasRequest {
202
+ export interface DescribeEndpointGroupsRequest {
392
203
  /**
393
204
  * <p>全球加速实例ID。</p>
394
205
  */
395
206
  GlobalAcceleratorId: string;
396
207
  /**
397
- * <p>偏移量。默认为0。</p>
208
+ * <p>偏移量,默认为0。</p>
398
209
  */
399
210
  Offset?: number;
400
211
  /**
401
- * <p>符合条件实例数量。默认为20,最大200。</p>
212
+ * <p>返回数量,默认为10,最大值为10。</p>
402
213
  */
403
214
  Limit?: number;
404
215
  /**
405
- * <p>过滤条件。 accelerate-region- String -(过滤条件)终端节点组地域。</p>
216
+ * <p>过滤条件。 endpoint-group-id- String -(过滤条件)终端节点组实例ID。endpoint-group-type- String -(过滤条件)终端节点组实例类型。</p>
406
217
  */
407
218
  Filters?: Array<Filter>;
408
219
  }
409
220
  /**
410
- * ModifyAccelerateAreas请求参数结构体
221
+ * 响应Header
411
222
  */
412
- export interface ModifyAccelerateAreasRequest {
223
+ export interface ResponseHeaders {
413
224
  /**
414
- * <p>全球加速实例ID。</p>
225
+ * <p>key</p><p>参数格式:1、字符串只包含可打印的ASCII字符 2、不能包含这些字符()&lt;&gt;@,;:\&quot;/[ ]?={ }</p><p>入参限制:长度在1-40。</p>
415
226
  */
416
- GlobalAcceleratorId: string;
227
+ Key: string;
417
228
  /**
418
- * <p>加速地域信息。</p><p>入参限制:数组长度不能超过10。</p>
229
+ * <p>value</p><p>入参限制:长度不能超过128</p><p>如果字符串包含$,那仅能配置&#39;$remote_addr&#39;, &#39;$remote_port&#39;,否则不支持。</p>
419
230
  */
420
- AcceleratorAreas: Array<AcceleratorAreas>;
231
+ Value: string;
421
232
  }
422
233
  /**
423
- * DescribeCrossBorderSettlement返回参数结构体
234
+ * DeleteGlobalAcceleratorAclRule返回参数结构体
424
235
  */
425
- export interface DescribeCrossBorderSettlementResponse {
236
+ export interface DeleteGlobalAcceleratorAclRuleResponse {
426
237
  /**
427
- * 流量用量,单位是GB;精度为保留小数点6位。
238
+ * 异步任务ID。
428
239
  */
429
- Traffic?: number;
240
+ TaskId?: string;
430
241
  /**
431
242
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
432
243
  */
433
244
  RequestId?: string;
434
245
  }
435
246
  /**
436
- * DescribeForwardingRule返回参数结构体
247
+ * ModifyGlobalAccelerator返回参数结构体
437
248
  */
438
- export interface DescribeForwardingRuleResponse {
439
- /**
440
- * 符合条件的规则信息。
441
- */
442
- ForwardingRuleSet?: Array<ForwardingRuleSet>;
249
+ export interface ModifyGlobalAcceleratorResponse {
443
250
  /**
444
- * 符合条件的实例个数。
251
+ * <p>异步任务ID。</p>
445
252
  */
446
- TotalCount?: number;
253
+ TaskId?: string;
447
254
  /**
448
255
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
449
256
  */
450
257
  RequestId?: string;
451
258
  }
452
259
  /**
453
- * DeleteAccelerateAreas请求参数结构体
260
+ * 七层转发规则行为信息
454
261
  */
455
- export interface DeleteAccelerateAreasRequest {
262
+ export interface RuleAction {
263
+ /**
264
+ * <p>七层转发规则行为类型</p><p>枚举值:</p><ul><li>ForwardGroup: 转发策略为转发至终端节点组。</li><li>Drop: 转发策略为丢弃。</li></ul>
265
+ 注意:此字段可能返回 null,表示取不到有效值。
266
+ */
267
+ RuleActionType: string;
268
+ /**
269
+ * <p>七层转发规则行为值</p><p>当RuleActionType是Drop时,此字段不用传;当RuleActionType是ForwardGroup时,此字段必传,需要填写的是自定义终端节点组ID, 不支持配置默认终端节点组。</p>
270
+ 注意:此字段可能返回 null,表示取不到有效值。
271
+ */
272
+ RuleActionValue?: string;
273
+ }
274
+ /**
275
+ * DeleteEndpointGroups请求参数结构体
276
+ */
277
+ export interface DeleteEndpointGroupsRequest {
456
278
  /**
457
279
  * 全球加速实例ID。
458
280
  */
459
281
  GlobalAcceleratorId: string;
460
282
  /**
461
- * 加速地域ID。
283
+ * 监听器ID。
462
284
  */
463
- AcceleratorAreaIds: Array<string>;
285
+ ListenerId: string;
286
+ /**
287
+ * 终端节点组ID。
288
+ */
289
+ EndpointGroupIds: Array<string>;
290
+ }
291
+ /**
292
+ * ModifyEndpointGroup请求参数结构体
293
+ */
294
+ export interface ModifyEndpointGroupRequest {
295
+ /**
296
+ * <p>全球加速实例ID。</p>
297
+ */
298
+ GlobalAcceleratorId: string;
299
+ /**
300
+ * <p>监听器ID。</p>
301
+ */
302
+ ListenerId: string;
303
+ /**
304
+ * <p>终端节点组ID。</p>
305
+ */
306
+ EndpointGroupId: string;
307
+ /**
308
+ * <p>终端节点配置。</p>
309
+ */
310
+ EndpointConfigurations?: Array<EndpointConfigurations>;
311
+ /**
312
+ * <p>名称。</p><p>入参限制:最大长度不能超过128个字节。</p><p>以大小写字母或中文开头。</p>
313
+ */
314
+ Name?: string;
315
+ /**
316
+ * <p>描述信息。</p><p>入参限制:最大长度不能超过100个字节。</p>
317
+ */
318
+ Description?: string;
319
+ /**
320
+ * <p>是否开启健康检查。</p>
321
+ */
322
+ EnableHealthCheck?: boolean;
323
+ /**
324
+ * <p>响应超时时间。</p><p>取值范围:[1, 100]</p><p>当开启健康检查时候,此参数必传。</p>
325
+ */
326
+ ConnectTimeout?: number;
327
+ /**
328
+ * <p>健康检查间隔。</p><p>取值范围:[5, 300]</p><p>当开启健康检查时,此参数必传。</p>
329
+ */
330
+ HealthCheckInterval?: number;
331
+ /**
332
+ * <p>不健康阀值。</p><p>取值范围:[1, 10]</p><p>当开启健康检查时,此字段必传。</p>
333
+ */
334
+ UnhealthyThreshold?: number;
335
+ /**
336
+ * <p>健康阀值。</p><p>取值范围:[1, 10]</p><p>当开启健康检查时,此字段必传。</p>
337
+ */
338
+ HealthyThreshold?: number;
339
+ /**
340
+ * <p>检查协议。</p><p>入参限制:支持填写:&#39;TCP&#39;, &#39;HTTP&#39;, &#39;PING&#39;, &#39;CUSTOM&#39;。</p><p>1、当监听器是TCP时,可以选CUSTOM+TCP。<br>2、当监听器是UDP时,可以选PING+CUSTOM。<br>3、当监听器是HTTP或HTTPS时,可以选HTTP。</p>
341
+ */
342
+ CheckType?: string;
343
+ /**
344
+ * <p>检查端口。</p><p>取值范围:[1, 65535]</p><p>当CheckType是CUSTOM时,此字段必传。</p>
345
+ */
346
+ CheckPort?: number;
347
+ /**
348
+ * <p>检查内容。</p><p>入参限制:仅支持TEXT。</p><p>当CheckType是CUSTOM时,此字段必传。</p>
349
+ */
350
+ ContextType?: string;
351
+ /**
352
+ * <p>检查请求。</p><p>入参限制:长度范围在1-500。</p><p>当CheckType是CUSTOM时,此字段必传。</p>
353
+ */
354
+ CheckSendContext?: string;
355
+ /**
356
+ * <p>检查返回结果。</p><p>入参限制:长度范围在1-500。</p><p>当CheckType是CUSTOM时,此字段必传。</p>
357
+ */
358
+ CheckRecvContext?: string;
359
+ /**
360
+ * <p>检查域名。</p><p>入参限制:长度范围在3-80。</p><p>当CheckType是HTTP时,此字段必传。</p>
361
+ */
362
+ CheckDomain?: string;
363
+ /**
364
+ * <p>检查URL。</p><p>入参限制:长度范围在3-80。</p><p>当CheckType是HTTP时,此字段必传。</p>
365
+ */
366
+ CheckPath?: string;
367
+ /**
368
+ * <p>请求方式。</p><p>入参限制:支持填写 &#39;GET&#39;, &#39;HEAD&#39;。</p><p>当CheckType是HTTP时,此字段必传。</p>
369
+ */
370
+ CheckMethod?: string;
371
+ /**
372
+ * <p>状态检测码。</p><p>入参限制:支持选择&#39;http_2xx&#39;, &#39;http_3xx&#39;, &#39;http_4xx&#39;, &#39;http_5xx&#39;。</p><p>当CheckType是HTTP时,此字段必传。</p>
373
+ */
374
+ StatusMask?: Array<string>;
375
+ /**
376
+ * <p>回源协议。</p><p>入参限制:支持选择:&#39;HTTP&#39;, &#39;HTTPS&#39;。</p><p>当监听器协议是HTTP时只能配置HTTP,是HTTPS时能配HTTP或HTTPS。</p>
377
+ */
378
+ ForwardProtocol?: string;
379
+ /**
380
+ * <p>端口映射。</p><p>当监听器协议是HTTP或HTTPS支持配置一对。当监听器协议是UDP或TCP支持配置最多30对。</p>
381
+ */
382
+ PortOverrides?: Array<PortOverride>;
383
+ /**
384
+ * <p>HPPTS加密算法套件</p><p>入参限制:支持选择&#39;tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;。</p><p>当监听器协议是HTTPS时,才支持修改此参数。</p>
385
+ */
386
+ CipherPolicyId?: string;
387
+ /**
388
+ * <p>仅HTTPS回源协议支持选择[&#39;HTTP/1.1&#39;, &#39;HTTP/2&#39;]</p><p>枚举值:</p><ul><li>HTTP/1.1: 版本HTTP/1.1</li><li>HTTP/2: 版本HTTP/2</li></ul>
389
+ */
390
+ HttpVersion?: string;
391
+ }
392
+ /**
393
+ * ReplaceListenerAdditionalCert请求参数结构体
394
+ */
395
+ export interface ReplaceListenerAdditionalCertRequest {
396
+ /**
397
+ * 全球加速实例ID。
398
+ */
399
+ GlobalAcceleratorId: string;
400
+ /**
401
+ * 监听器ID。
402
+ */
403
+ ListenerId: string;
404
+ /**
405
+ * 证书ID。
406
+ */
407
+ AdditionalCertificate: string;
408
+ /**
409
+ * 旧的证书ID。
410
+ */
411
+ OldCertificate: string;
412
+ }
413
+ /**
414
+ * ModifyGlobalAcceleratorAclPolicy请求参数结构体
415
+ */
416
+ export interface ModifyGlobalAcceleratorAclPolicyRequest {
417
+ /**
418
+ * <p>全球加速实例ID。</p>
419
+ */
420
+ GlobalAcceleratorId: string;
421
+ /**
422
+ * <p>访问控制策略ID。</p>
423
+ */
424
+ GlobalAcceleratorAclPolicyId: string;
425
+ /**
426
+ * <p>访问控制策略状态。</p><p>枚举值:</p><ul><li>OPEN: 打开。</li><li>CLOSE: 关闭。</li></ul>
427
+ */
428
+ Status: string;
464
429
  }
465
430
  /**
466
431
  * 终端节点组信息
@@ -584,50 +549,62 @@ export interface EndpointGroupConfigurationSet {
584
549
  HttpVersion?: string;
585
550
  }
586
551
  /**
587
- * ModifyListener返回参数结构体
552
+ * DescribeGlobalAccelerators返回参数结构体
588
553
  */
589
- export interface ModifyListenerResponse {
554
+ export interface DescribeGlobalAcceleratorsResponse {
590
555
  /**
591
- * <p>任务ID。</p>
556
+ * <p>符合条件的全球加速实例。</p>
592
557
  */
593
- TaskId?: string;
558
+ GlobalAcceleratorSet?: Array<GlobalAcceleratorSet>;
559
+ /**
560
+ * <p>符合条件的实例个数。</p>
561
+ */
562
+ TotalCount?: number;
594
563
  /**
595
564
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
596
565
  */
597
566
  RequestId?: string;
598
567
  }
599
568
  /**
600
- * DeleteGlobalAccelerator返回参数结构体
569
+ * DescribeListeners返回参数结构体
601
570
  */
602
- export interface DeleteGlobalAcceleratorResponse {
571
+ export interface DescribeListenersResponse {
603
572
  /**
604
- * 任务ID。
573
+ * 符合条件的监听器实例。
605
574
  */
606
- TaskId?: string;
575
+ ListenerSet?: Array<ListenerSet>;
576
+ /**
577
+ * 符合条件的实例个数。
578
+ */
579
+ TotalCount?: number;
607
580
  /**
608
581
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
609
582
  */
610
583
  RequestId?: string;
611
584
  }
612
585
  /**
613
- * DeleteAccelerateAreas返回参数结构体
586
+ * CreateForwardingPolicy请求参数结构体
614
587
  */
615
- export interface DeleteAccelerateAreasResponse {
588
+ export interface CreateForwardingPolicyRequest {
616
589
  /**
617
- * 异步任务ID
590
+ * <p>全球加速实例ID。</p>
618
591
  */
619
- TaskId?: string;
592
+ GlobalAcceleratorId: string;
620
593
  /**
621
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
594
+ * <p>监听器ID。</p>
622
595
  */
623
- RequestId?: string;
596
+ ListenerId: string;
597
+ /**
598
+ * <p>域名。</p><p>参数格式:格式,必须满足正则表达式:^(<a href="?:[a-z0-9-]{0,61}[a-z0-9]">a-z0-9</a>?.)+[a-z]{2,}$</p><p>入参限制:长度范围是1-80。</p>
599
+ */
600
+ Host: string;
624
601
  }
625
602
  /**
626
- * ModifyAccelerateAreas返回参数结构体
603
+ * DeleteListenerAdditionalCert返回参数结构体
627
604
  */
628
- export interface ModifyAccelerateAreasResponse {
605
+ export interface DeleteListenerAdditionalCertResponse {
629
606
  /**
630
- * <p>异步任务ID。</p>
607
+ * 任务ID
631
608
  */
632
609
  TaskId?: string;
633
610
  /**
@@ -636,634 +613,696 @@ export interface ModifyAccelerateAreasResponse {
636
613
  RequestId?: string;
637
614
  }
638
615
  /**
639
- * DeleteGlobalAccelerator请求参数结构体
616
+ * Acl信息
640
617
  */
641
- export interface DeleteGlobalAcceleratorRequest {
618
+ export interface AclEntries {
642
619
  /**
643
- * 全球加速实例ID。
620
+ * <p>协议。</p><p>入参限制:支持配置&#39;TCP&#39;, &#39;UDP&#39;, &#39;ALL&#39;;</p>
644
621
  */
645
- GlobalAcceleratorId: string;
646
- }
647
- /**
648
- * 终端节点配置
649
- */
650
- export interface EndpointConfigurations {
622
+ Protocol: string;
651
623
  /**
652
- * <p>域名类型。可选值&#39;Domain&#39;, &#39;PublicIp&#39;。</p>
624
+ * <p>端口。</p>
653
625
  */
654
- EndpointType: string;
626
+ Port: string;
655
627
  /**
656
- * <p>域名。</p>
628
+ * <p>网段。</p>
657
629
  */
658
- EndpointService: string;
630
+ SourceCidrBlock: string;
659
631
  /**
660
- * <p>权重。</p>
632
+ * <p>执行动作。</p><p>入参限制:支持配置&#39;ACCEPT&#39;, &#39;DROP&#39;;</p>
661
633
  */
662
- Weight: number;
634
+ Policy: string;
663
635
  /**
664
- * <p>健康检查状态;HEALTH:健康;UNHEALTH:不健康。</p>
636
+ * <p>描述信息,最大长度不能超过100个字节。</p>
665
637
  */
666
- HealthCheckStatus?: string;
638
+ Description?: string;
667
639
  }
668
640
  /**
669
- * 端口范围
641
+ * CreateListenerAdditionalCert请求参数结构体
670
642
  */
671
- export interface PortRanges {
643
+ export interface CreateListenerAdditionalCertRequest {
672
644
  /**
673
- * 起始端口。
674
- 注意:此字段可能返回 null,表示取不到有效值。
645
+ * <p>全球加速实例ID。</p>
675
646
  */
676
- FromPort: number;
647
+ GlobalAcceleratorId: string;
677
648
  /**
678
- * 终点端口。
679
- 注意:此字段可能返回 null,表示取不到有效值。
649
+ * <p>监听器ID。</p>
680
650
  */
681
- ToPort: number;
651
+ ListenerId: string;
652
+ /**
653
+ * <p>证书ID。</p><p>当前只能添加服务器证书。</p>
654
+ */
655
+ AdditionalCertificates: Array<string>;
682
656
  }
683
657
  /**
684
- * 回源Header信息
658
+ * DeleteListenerAdditionalCert请求参数结构体
685
659
  */
686
- export interface OriginHeader {
660
+ export interface DeleteListenerAdditionalCertRequest {
687
661
  /**
688
- * <p>键。</p><p>参数格式:1、字符串只包含可打印的ASCII字符 2、不能包含这些字符()&lt;&gt;@,;:\&quot;/[ ]?={ }</p><p>入参限制:长度在1-40。</p>
689
- 注意:此字段可能返回 null,表示取不到有效值。
662
+ * 全球加速实例ID。
690
663
  */
691
- Key: string;
664
+ GlobalAcceleratorId: string;
692
665
  /**
693
- * <p>值。</p><p>入参限制:长度不能超过128</p><p>如果字符串包含$,那仅能配置&#39;$remote_addr&#39;, &#39;$remote_port&#39;,否则不支持。</p>
694
- 注意:此字段可能返回 null,表示取不到有效值。
666
+ * 监听器ID。
695
667
  */
696
- Value: string;
697
- }
698
- /**
699
- * DeleteForwardingRule返回参数结构体
700
- */
701
- export interface DeleteForwardingRuleResponse {
702
- /**
703
- * 异步任务ID。
704
- */
705
- TaskId?: string;
668
+ ListenerId: string;
706
669
  /**
707
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
670
+ * 证书ID。
708
671
  */
709
- RequestId?: string;
672
+ AdditionalCertificates: Array<string>;
710
673
  }
711
674
  /**
712
- * 七层转发规则信息
675
+ * DescribeGlobalAccelerators请求参数结构体
713
676
  */
714
- export interface ForwardingRuleSet {
715
- /**
716
- * 七层转发规则条件信息。
717
- */
718
- RuleCondition?: Array<RuleCondition>;
719
- /**
720
- * 七层转发规则行为信息。
721
- */
722
- RuleAction?: Array<RuleAction>;
723
- /**
724
- * 是否开启回源Sni。
725
- */
726
- EnableOriginSni?: boolean;
677
+ export interface DescribeGlobalAcceleratorsRequest {
727
678
  /**
728
- * 回源Sni。
679
+ * <p>偏移量,默认为0。</p>
729
680
  */
730
- OriginSni?: string;
681
+ Offset?: number;
731
682
  /**
732
- * 回源Herder信息。
683
+ * <p>返回数量。</p><p>取值范围:[1, 200]</p><p>默认值:20</p>
733
684
  */
734
- OriginHeaders?: Array<OriginHeader>;
685
+ Limit?: number;
735
686
  /**
736
- * 回源Host。
687
+ * <p>过滤条件。<li>global-accelerator-id - String -(过滤条件)全球加速实例ID。</li> <li>global-accelerator-state - String -(过滤条件)全球加速实例状态。</li></p>
737
688
  */
738
- OriginHost?: string;
689
+ Filters?: Array<Filter>;
690
+ }
691
+ /**
692
+ * DeleteGlobalAcceleratorAclRule请求参数结构体
693
+ */
694
+ export interface DeleteGlobalAcceleratorAclRuleRequest {
739
695
  /**
740
696
  * 全球加速实例ID。
741
697
  */
742
- GlobalAcceleratorId?: string;
743
- /**
744
- * 监听器ID。
745
- */
746
- ListenerId?: string;
698
+ GlobalAcceleratorId: string;
747
699
  /**
748
- * 七层转发策略ID
700
+ * 安全策略ID
749
701
  */
750
- ForwardingPolicyId?: string;
702
+ GlobalAcceleratorAclPolicyId: string;
751
703
  /**
752
- * 七层转发规则ID。
704
+ * Acl规则ID。
753
705
  */
754
- ForwardingRuleId?: string;
706
+ GlobalAcceleratorAclRuleIds: Array<string>;
755
707
  }
756
708
  /**
757
- * ModifyForwardingRule请求参数结构体
709
+ * 标签键值对
758
710
  */
759
- export interface ModifyForwardingRuleRequest {
711
+ export interface Tag {
760
712
  /**
761
- * <p>全球加速实例ID。</p>
713
+ * 标签键
762
714
  */
763
- GlobalAcceleratorId: string;
715
+ Key: string;
764
716
  /**
765
- * <p>监听器ID。</p>
717
+ * 标签值
766
718
  */
767
- ListenerId: string;
719
+ Value: string;
720
+ }
721
+ /**
722
+ * ModifyAccelerateAreas返回参数结构体
723
+ */
724
+ export interface ModifyAccelerateAreasResponse {
768
725
  /**
769
- * <p>策略ID。</p>
726
+ * <p>异步任务ID。</p>
770
727
  */
771
- ForwardingPolicyId: string;
728
+ TaskId?: string;
772
729
  /**
773
- * <p>七层转发规则ID。</p>
730
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
774
731
  */
775
- ForwardingRuleId: string;
732
+ RequestId?: string;
733
+ }
734
+ /**
735
+ * 终端节点配置
736
+ */
737
+ export interface EndpointConfigurations {
776
738
  /**
777
- * <p>七层转发规则条件信息。</p><p>入参限制:数组长度不能超过1。</p>
739
+ * <p>域名类型。可选值&#39;Domain&#39;, &#39;PublicIp&#39;。</p>
778
740
  */
779
- RuleConditions?: Array<RuleCondition>;
741
+ EndpointType: string;
780
742
  /**
781
- * <p>七层转发规则行为信息。</p><p>入参限制:数组长度不能超过1。</p>
743
+ * <p>域名。</p>
782
744
  */
783
- RuleActions?: Array<RuleAction>;
745
+ EndpointService: string;
784
746
  /**
785
- * <p>回源Header信息。</p><p>入参限制:数组长度在1-5。</p>
747
+ * <p>权重。</p>
786
748
  */
787
- OriginHeaders?: Array<OriginHeader>;
749
+ Weight: number;
788
750
  /**
789
- * <p>是否开启回源sni。</p>
751
+ * <p>健康检查状态;HEALTH:健康;UNHEALTH:不健康。</p>
790
752
  */
791
- EnableOriginSni?: boolean;
753
+ HealthCheckStatus?: string;
754
+ }
755
+ /**
756
+ * 端口范围
757
+ */
758
+ export interface PortRanges {
792
759
  /**
793
- * <p>回源sni。</p><p>入参限制:长度不能超过80。</p><p>当开启回源sni时,此字段必传。</p>
760
+ * 起始端口。
761
+ 注意:此字段可能返回 null,表示取不到有效值。
794
762
  */
795
- OriginSni?: string;
763
+ FromPort: number;
796
764
  /**
797
- * <p>回源host。</p><p>入参限制:长度不能超过80。</p><p>当开启回源sni时,此字段必传。</p>
765
+ * 终点端口。
766
+ 注意:此字段可能返回 null,表示取不到有效值。
798
767
  */
799
- OriginHost?: string;
768
+ ToPort: number;
769
+ }
770
+ /**
771
+ * ModifyGlobalAcceleratorAclPolicy返回参数结构体
772
+ */
773
+ export interface ModifyGlobalAcceleratorAclPolicyResponse {
800
774
  /**
801
- * <p>源站响应头</p><p>入参限制:数组长度不能超过5。</p>
775
+ * <p>异步任务ID。</p>
802
776
  */
803
- ResponseHeaders?: Array<ResponseHeaders>;
777
+ TaskId?: string;
804
778
  /**
805
- * <p>删除源站响应头</p><p>入参限制:数组长度不能超过5。</p>
779
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
806
780
  */
807
- HideResponseHeaders?: Array<HideResponseHeaders>;
781
+ RequestId?: string;
808
782
  }
809
783
  /**
810
- * DescribeGlobalAccelerators请求参数结构体
784
+ * CreateGlobalAcceleratorAclRule返回参数结构体
811
785
  */
812
- export interface DescribeGlobalAcceleratorsRequest {
786
+ export interface CreateGlobalAcceleratorAclRuleResponse {
813
787
  /**
814
- * <p>偏移量,默认为0。</p>
788
+ * 异步任务ID。
815
789
  */
816
- Offset?: number;
790
+ TaskId?: string;
817
791
  /**
818
- * <p>返回数量。</p><p>取值范围:[1, 200]</p><p>默认值:20</p>
792
+ * ACL规则ID。
819
793
  */
820
- Limit?: number;
794
+ GlobalAcceleratorAclRuleIds?: Array<string>;
821
795
  /**
822
- * <p>过滤条件。<li>global-accelerator-id - String -(过滤条件)全球加速实例ID。</li> <li>global-accelerator-state - String -(过滤条件)全球加速实例状态。</li></p>
796
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
823
797
  */
824
- Filters?: Array<Filter>;
798
+ RequestId?: string;
825
799
  }
826
800
  /**
827
- * 标签键值对
801
+ * DeleteListener请求参数结构体
828
802
  */
829
- export interface Tag {
803
+ export interface DeleteListenerRequest {
830
804
  /**
831
- * 标签键
805
+ * 全球加速实例ID。
832
806
  */
833
- Key: string;
807
+ GlobalAcceleratorId: string;
834
808
  /**
835
- * 标签值
809
+ * 监听器ID。
836
810
  */
837
- Value: string;
811
+ ListenerId: string;
838
812
  }
839
813
  /**
840
- * DescribeTaskResult请求参数结构体
814
+ * CreateGlobalAcceleratorAclPolicy请求参数结构体
841
815
  */
842
- export interface DescribeTaskResultRequest {
816
+ export interface CreateGlobalAcceleratorAclPolicyRequest {
843
817
  /**
844
- * 异步任务ID
818
+ * <p>全球加速实例ID。</p>
845
819
  */
846
- TaskId: string;
820
+ GlobalAcceleratorId: string;
821
+ /**
822
+ * <p>默认行为。</p><p>枚举值:</p><ul><li>ACCEPT: 默认准许所有流量访问通道</li><li>DROP: 默认拒绝所有流量访问通道</li></ul>
823
+ */
824
+ DefaultAction: string;
847
825
  }
848
826
  /**
849
- * DescribeEndpointGroups请求参数结构体
827
+ * DescribeForwardingRule请求参数结构体
850
828
  */
851
- export interface DescribeEndpointGroupsRequest {
829
+ export interface DescribeForwardingRuleRequest {
852
830
  /**
853
- * <p>全球加速实例ID。</p>
831
+ * 全球加速实例ID
854
832
  */
855
833
  GlobalAcceleratorId: string;
856
834
  /**
857
- * <p>偏移量,默认为0。</p>
835
+ * 监听器ID。
858
836
  */
859
- Offset?: number;
837
+ ListenerId: string;
860
838
  /**
861
- * <p>返回数量,默认为10,最大值为10。</p>
839
+ * 七层转发规则ID。
862
840
  */
863
- Limit?: number;
841
+ ForwardingPolicyId: string;
864
842
  /**
865
- * <p>过滤条件。 endpoint-group-id- String -(过滤条件)终端节点组实例IDendpoint-group-type- String -(过滤条件)终端节点组实例类型。</p>
843
+ * 偏移量,默认为0
866
844
  */
867
- Filters?: Array<Filter>;
845
+ Offset?: number;
846
+ /**
847
+ * 返回数量,默认为20,最大值为100。
848
+ */
849
+ Limit?: number;
868
850
  }
869
851
  /**
870
- * CreateAccelerateAreas请求参数结构体
852
+ * DeleteEndpointGroups返回参数结构体
871
853
  */
872
- export interface CreateAccelerateAreasRequest {
854
+ export interface DeleteEndpointGroupsResponse {
873
855
  /**
874
- * <p>全球加速实例ID。</p>
856
+ * 任务ID
875
857
  */
876
- GlobalAcceleratorId: string;
858
+ TaskId?: string;
877
859
  /**
878
- * <p>加速地域信息。一次最多创建10组加速地域。</p>
860
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
879
861
  */
880
- AcceleratorAreas: Array<AcceleratorAreas>;
862
+ RequestId?: string;
881
863
  }
882
864
  /**
883
- * DeleteForwardingPolicy请求参数结构体
865
+ * DescribeAccelerateAreas返回参数结构体
884
866
  */
885
- export interface DeleteForwardingPolicyRequest {
867
+ export interface DescribeAccelerateAreasResponse {
886
868
  /**
887
- * 全球加速实例ID。
869
+ * <p>加速地域信息。</p>
888
870
  */
889
- GlobalAcceleratorId: string;
871
+ AccelerateAreaSet?: Array<AcceleratorAreas>;
890
872
  /**
891
- * 监听器ID。
873
+ * <p>实例个数。</p>
892
874
  */
893
- ListenerId: string;
875
+ TotalCount?: number;
894
876
  /**
895
- * 策略ID。
877
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
896
878
  */
897
- ForwardingPolicyId: string;
879
+ RequestId?: string;
898
880
  }
899
881
  /**
900
- * CreateListener请求参数结构体
882
+ * 终端节点组配置
901
883
  */
902
- export interface CreateListenerRequest {
903
- /**
904
- * <p>全球加速实例ID。</p>
905
- */
906
- GlobalAcceleratorId: string;
884
+ export interface EndpointGroupConfiguration {
907
885
  /**
908
- * <p>名称,最大长度不能超过60个字节。</p>
886
+ * <p>终端节点组名称。</p><p>最大长度不能超过128个字节。必须以字母(a-z, A-Z)或中文字符开头。</p>
909
887
  */
910
888
  Name: string;
911
889
  /**
912
- * <p>端口范围。</p>
890
+ * <p>终端节点组所在地域。</p>
913
891
  */
914
- PortRanges: PortRanges;
892
+ EndpointGroupRegion: string;
915
893
  /**
916
- * <p>描述信息,最大长度不能超过100个字节。</p>
894
+ * <p>终端节点配置。</p>
917
895
  */
918
- Description?: string;
896
+ EndpointConfigurations: Array<EndpointConfigurations>;
919
897
  /**
920
- * <p>监听类型,默认为智能路由。</p><p>枚举值:</p><ul><li>Standard智能路由。</li></ul>
898
+ * <p>检查协议。支持配置&#39;TCP&#39;, &#39;HTTP&#39;, &#39;PING&#39;, &#39;CUSTOM&#39;。</p><p>枚举值:</p><ul><li>TCP当终端节点组所在监听器协议是TCP时,可以选择检查协议为TCP。</li><li>HTTP: 当终端节点组所在监听器协议是HTTP或HTTPS时,可以选择检查协议为HTTP。</li><li>PING: 当终端节点组所在监听器协议是UDP时,可以选择检查协议为PING。</li><li>CUSTOM: 当终端节点组所在监听器协议是UDP或TCP时,可以选择检查协议为CUSTOM。</li></ul><p>当开启健康检查时此字段必传。</p>
921
899
  */
922
- ListenerType?: string;
900
+ CheckType?: string;
923
901
  /**
924
- * <p>协议,默认为TCP。支持配置&#39;TCP&#39;, &#39;UDP&#39;, &#39;HTTP&#39;, &#39;HTTPS&#39;。</p>
902
+ * <p>描述信息。</p><p>默认值:默认值为空,代表不配置描述信息。</p><p>最大长度不能超过100个字节。</p>
925
903
  */
926
- Protocol?: string;
904
+ Description?: string;
927
905
  /**
928
- * <p>连接空闲等待时间。</p><p>1、HTTP/HTTPS监听器,默认值为15,支持范围为1-60;<br>2、TCP监听器,默认值为900,支持范围为10-900;<br>3、UDP监听器,默认值为20,支持范围为10-20;</p>
906
+ * <p>检查端口。</p><p>入参限制:范围是1-65535。</p><p>当CheckType为CUSTOM时候,此字段必传。</p>
929
907
  */
930
- IdleTimeout?: number;
908
+ CheckPort?: string;
931
909
  /**
932
- * <p>四层获取源IP方式,支持&#39;TOA&#39;, &#39;ProxyProtocol&#39;, &#39;ProxyProtocolV2&#39;。</p><p>需要开启四层获取源IP方式,才填写此参数。</p>
910
+ * <p>检查内容。支持配置&#39;TEXT&#39;。</p><p>枚举值:</p><ul><li>TEXT: 文本内容。</li></ul><p>当CheckType为CUSTOM时候,此字段必传。</p>
933
911
  */
934
- GetRealIpType?: string;
912
+ ContextType?: string;
935
913
  /**
936
- * <p>是否开启会话保持。支持配置&#39;Open&#39;, &#39;Close&#39;。</p><p>枚举值:</p><ul><li>Open: 开启。</li><li>Close: 关闭。</li></ul>
914
+ * <p>检查请求。</p><p>入参限制:字节长度要在1-500范围内。</p><p>当CheckType为CUSTOM时候,此字段必传。</p>
937
915
  */
938
- ClientAffinity?: string;
916
+ CheckSendContext?: string;
939
917
  /**
940
- * <p>请求超时时间。</p><p>取值范围:[1, 180]</p><p>默认值:60</p><p>当HTTPS监听器时才可配置此参数。</p>
918
+ * <p>检查返回结果。</p><p>入参限制:字节长度要在1-500范围内。</p><p>当CheckType为CUSTOM时候,此字段必传。</p>
941
919
  */
942
- RequestTimeout?: number;
920
+ CheckRecvContext?: string;
943
921
  /**
944
- * <p>是否打开七层获取源IP方式。</p>
922
+ * <p>是否开启健康检查。</p><p>默认值:False</p>
945
923
  */
946
- XForwardedForRealIp?: boolean;
924
+ EnableHealthCheck?: boolean;
947
925
  /**
948
- * <p>解析方式。</p><p>枚举值:</p><ul><li>UNIDIRECTIONAL: 双向。</li><li>U: 单向。</li></ul><p>HTTPS监听器,此字段必传。</p>
926
+ * <p>响应超时时间。</p><p>取值范围:[1, 100]</p><p>默认值:2</p><p>开启健康检查时,此字段必传。</p>
949
927
  */
950
- CertificationType?: string;
928
+ ConnectTimeout?: number;
951
929
  /**
952
- * <p>加密算法套件。支持配置&#39;tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;。</p>
930
+ * <p>健康检查间隔。</p><p>取值范围:[5, 300]</p><p>默认值:30</p><p>开启健康检查,此字段必传。</p>
953
931
  */
954
- CipherPolicyId?: string;
932
+ HealthCheckInterval?: number;
955
933
  /**
956
- * <p>服务器证书。</p><p>当是HTTPS监听器时,此字段必传。</p>
934
+ * <p>不健康阀值。</p><p>取值范围:[1, 10]</p><p>默认值:3</p><p>开启健康检查,此字段必传。</p>
957
935
  */
958
- ServerCertificates?: Array<string>;
936
+ UnhealthyThreshold?: number;
959
937
  /**
960
- * <p>客户端证书。</p><p>当时HTTPS监听器且开启双向认证时,此字段必传。</p>
938
+ * <p>健康阈值。</p><p>取值范围:[1, 10]</p><p>默认值:3</p><p>开启健康检查,此字段必传。</p>
961
939
  */
962
- ClientCaCertificates?: Array<string>;
940
+ HealthyThreshold?: number;
963
941
  /**
964
- * <p>HTTPS监听器支持选择版本</p><p>枚举值:</p><ul><li>HTTP/1.1: HTTP/1.1</li><li>HTTP/2HTTP/2</li></ul>
942
+ * <p>回源协议。支持配置&#39;HTTP&#39;, &#39;HTTPS&#39;。</p><p>枚举值:</p><ul><li>HTTP: HTTP回源;当终端节点组所在监听器协议是HTTP或HTTPS时可以配置HTTP。</li><li>HTTPSHTTPS回源;当终端节点组所在监听器协议是HTTPS时可以配置HTTPS。</li></ul><p>当终端节点组所在监听器协议为HTTP或HTTPS时候,此字段必传。</p>
965
943
  */
966
- HttpVersion?: string;
967
- }
968
- /**
969
- * DescribeAccelerateRegions返回参数结构体
970
- */
971
- export interface DescribeAccelerateRegionsResponse {
944
+ ForwardProtocol?: string;
972
945
  /**
973
- * 加速地域信息。
946
+ * <p>检查域名。</p><p>入参限制:字节长度范围是3-80。</p><p>当CheckType是HTTP时,此字段必传。</p>
974
947
  */
975
- AcceleratorRegionSet?: Array<AcceleratorRegionSet>;
948
+ CheckDomain?: string;
976
949
  /**
977
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
950
+ * <p>检查URL。</p><p>参数格式:必须满足正则:^[a-zA-Z0-9_.\-\/]{1,80}$</p><p>当CheckType是HTTP时,此字段必传。</p>
978
951
  */
979
- RequestId?: string;
980
- }
981
- /**
982
- * ModifyForwardingRule返回参数结构体
983
- */
984
- export interface ModifyForwardingRuleResponse {
952
+ CheckPath?: string;
985
953
  /**
986
- * <p>异步任务ID。</p>
954
+ * <p>请求方式。支持配置&#39;GET&#39;, &#39;HEAD&#39;。</p><p>枚举值:</p><ul><li>GET: 请求方式为GET。</li><li>HEAD: 请求方式为HEAD。</li></ul><p>当CheckType是HTTP时,此字段必传。</p>
987
955
  */
988
- TaskId?: string;
956
+ CheckMethod?: string;
989
957
  /**
990
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
958
+ * <p>状态检测码。支持配置&#39;http_2xx&#39;, &#39;http_3xx&#39;, &#39;http_4xx&#39;, &#39;http_5xx&#39;。</p><p>枚举值:</p><ul><li>http_2xx: 2开头的http code。</li><li>http_3xx: 3开头的http code。</li><li>http_4xx: 4开头的http code。</li><li>http_5xx: 5开头的http code。</li></ul><p>当CheckType是HTTP时,此字段必传。</p>
991
959
  */
992
- RequestId?: string;
993
- }
994
- /**
995
- * DeleteForwardingRule请求参数结构体
996
- */
997
- export interface DeleteForwardingRuleRequest {
960
+ StatusMask?: Array<string>;
998
961
  /**
999
- * 全球加速实例ID。
962
+ * <p>端口映射。</p><p>入参限制:七层支持1个端口映射,四层支持最多30个端口映射。</p>
1000
963
  */
1001
- GlobalAcceleratorId: string;
964
+ PortOverrides?: Array<PortOverride>;
1002
965
  /**
1003
- * 监听器ID。
966
+ * <p>运营商类型。支持配置&#39;CMCC&#39;, &#39;CTCC&#39;, &#39;CUCC&#39;。</p><p>枚举值:</p><ul><li>CMCC: 中国移动</li><li>CUCC: 中国联通</li><li>CTCC: 中国电信</li></ul><p>当终端节点组地域为三网地域时,此字段必传。</p>
1004
967
  */
1005
- ListenerId: string;
968
+ IspType?: string;
1006
969
  /**
1007
- * 策略ID。
970
+ * <p>HPPTS加密算法套件;支持配置&#39;tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;;</p><p>枚举值:</p><ul><li>tls_policy_1.0-2: 加密算法套件。</li><li>tls_policy_1.1-2: 加密算法套件。</li><li>tls_policy_1.2: 加密算法套件。</li><li>tls_policy_1.2_strict: 加密算法套件。</li><li>tls_policy_1.2_strict-1.3: 加密算法套件。</li></ul><p>当回源协议为HTTPS,此字段必传。</p>
1008
971
  */
1009
- ForwardingPolicyId: string;
972
+ CipherPolicyId?: string;
1010
973
  /**
1011
- * 七层转发规则ID。
974
+ * <p>回源协议。支持配置&#39;HTTP/1.1&#39;, &#39;HTTP/2&#39;。</p><p>枚举值:</p><ul><li>HTTP/1.1: 版本HTTP/1.1</li><li>HTTP/2: 版本HTTP/2</li></ul><p>当回源协议为HTTPS时,此字段必传。</p>
1012
975
  */
1013
- ForwardingRuleId: string;
976
+ HttpVersion?: string;
1014
977
  }
1015
978
  /**
1016
- * 监听器信息
979
+ * 全球加速实例信息
1017
980
  */
1018
- export interface ListenerSet {
981
+ export interface GlobalAcceleratorSet {
1019
982
  /**
1020
- * 全球加速实例ID
983
+ * <p>全球加速实例ID。</p>
1021
984
  */
1022
985
  GlobalAcceleratorId?: string;
1023
986
  /**
1024
- * 监听器ID。
1025
- */
1026
- ListenerId?: string;
1027
- /**
1028
- * 监听器名称。
987
+ * <p>全球加速实例名称。</p>
1029
988
  */
1030
989
  Name?: string;
1031
990
  /**
1032
- * 监听器描述。
991
+ * <p>全球加速实例描述。</p>
1033
992
  */
1034
993
  Description?: string;
1035
994
  /**
1036
- * 协议。
995
+ * <p>全球加速实例创建时间。</p>
1037
996
  */
1038
- Protocol?: string;
997
+ CreateTime?: string;
1039
998
  /**
1040
- * 端口范围。
999
+ * <p>全球加速实例状态。</p>
1041
1000
  */
1042
- PortRanges?: PortRanges;
1001
+ State?: string;
1043
1002
  /**
1044
- * 是否打开七层获取源IP方式。
1003
+ * <p>全球加速实例付费类型。</p>
1045
1004
  */
1046
- XForwardedForRealIp?: boolean;
1005
+ InstanceChargeType?: string;
1047
1006
  /**
1048
- * 开启会话保持。
1007
+ * <p>全球加速实例DdosId。</p>
1049
1008
  */
1050
- ClientAffinity?: string;
1009
+ DdosId?: string;
1051
1010
  /**
1052
- * 会话保持时间。
1011
+ * <p>所属加速实例监听器个数。</p>
1053
1012
  */
1054
- ClientAffinityTime?: number;
1013
+ ListenerCounts?: number;
1055
1014
  /**
1056
- * SSL解析方式。
1015
+ * <p>所属加速实例加速地域个数。</p>
1057
1016
  */
1058
- CertificationType?: string;
1017
+ AcceleratorAreaCounts?: number;
1059
1018
  /**
1060
- * 服务器证书。
1019
+ * <p>全球加速实例状态。</p>
1061
1020
  */
1062
- ServerCertificates?: Array<string>;
1021
+ Status?: string;
1063
1022
  /**
1064
- * 客户端证书。
1023
+ * <p>域名。</p>
1065
1024
  */
1066
- ClientCaCertificates?: Array<string>;
1025
+ Cname?: string;
1067
1026
  /**
1068
- * TLS密码套件包。
1027
+ * <p>跨境类型;HighQuality(精品跨境)、Unicom(联通跨境)、NotAvailable(未开通)。</p>
1028
+ 注意:此字段可能返回 null,表示取不到有效值。
1069
1029
  */
1070
- CipherPolicyId?: string;
1030
+ CrossBorderType?: string;
1071
1031
  /**
1072
- * HTTP版本。
1032
+ * <p>标签信息。</p>
1073
1033
  */
1074
- HttpVersion?: string;
1034
+ TagSet?: Array<Tag>;
1035
+ }
1036
+ /**
1037
+ * 加速地域信息
1038
+ */
1039
+ export interface AcceleratorAreas {
1075
1040
  /**
1076
- * 请求超时时间。
1041
+ * <p>加速地域。</p>
1077
1042
  */
1078
- RequestTimeout?: number;
1043
+ AccelerateRegion: string;
1079
1044
  /**
1080
- * 创建时间。
1045
+ * <p>带宽。</p>
1081
1046
  */
1082
- CreateTime?: string;
1047
+ Bandwidth: number;
1083
1048
  /**
1084
- * 监听路由类型。
1049
+ * <p>支持&#39;BGP&#39;, &#39;QUALITY_BGP&#39;, &#39;STATIC_IP&#39;,默认BGP。</p><p>枚举值:</p><ul><li>BGP: BGP</li><li>STATIC_IP: 三网</li><li>QUALITY_BGP: 精品BGP</li></ul>
1085
1050
  */
1086
- ListenerType?: string;
1051
+ IspType?: string;
1087
1052
  /**
1088
- * 监听器状态。
1053
+ * <p>仅支持IPv4,默认是IPv4。</p>
1089
1054
  */
1090
- Status?: string;
1055
+ IpVersion?: string;
1091
1056
  /**
1092
- * 所属监听器终端节点组个数。
1057
+ * <p>加速地域ID。</p>
1093
1058
  */
1094
- EndpointGroupCounts?: number;
1059
+ AcceleratorAreaId?: string;
1095
1060
  /**
1096
- * 四层获取源IP方式。
1061
+ * <p>IP。</p>
1097
1062
  */
1098
- GetRealIpType?: string;
1063
+ IpAddress?: Array<string>;
1099
1064
  /**
1100
- * 连接超时时间。
1065
+ * <p>IP信息。</p>
1066
+ 注意:此字段可能返回 null,表示取不到有效值。
1101
1067
  */
1102
- IdleTimeout?: number;
1068
+ IpAddressInfoSet?: Array<IpAddressInfoSet>;
1103
1069
  }
1104
1070
  /**
1105
- * ModifyGlobalAccelerator请求参数结构体
1071
+ * CreateEndpointGroup请求参数结构体
1106
1072
  */
1107
- export interface ModifyGlobalAcceleratorRequest {
1073
+ export interface CreateEndpointGroupRequest {
1108
1074
  /**
1109
1075
  * <p>全球加速实例ID。</p>
1110
1076
  */
1111
1077
  GlobalAcceleratorId: string;
1112
1078
  /**
1113
- * <p>名称,最大长度不能超过60个字节。</p>
1114
- */
1115
- Name?: string;
1116
- /**
1117
- * <p>描述信息,最大长度不能超过100个字节。</p>
1079
+ * <p>监听器ID。</p>
1118
1080
  */
1119
- Description?: string;
1081
+ ListenerId: string;
1120
1082
  /**
1121
- * <p>跨境类型。</p><p>枚举值:</p><ul><li>HighQuality精品跨境。</li><li>Unicom联通跨境。</li></ul>
1083
+ * <p>终端节点组类型。</p><p>枚举值:</p><ul><li>VIRTUAL自定义终端节点组</li><li>DEFAULT默认终端节点组</li></ul>
1122
1084
  */
1123
- CrossBorderType?: string;
1085
+ EndpointGroupType: string;
1124
1086
  /**
1125
- * <p>代表是否填写跨境服务承诺书。</p><p>当CrossBorderType传入时,此字段必须填ture,代表填写跨境承诺书。</p>
1087
+ * <p>终端节点组配置。</p>
1126
1088
  */
1127
- CrossBorderPromiseFlag?: boolean;
1089
+ EndpointGroupConfiguration: EndpointGroupConfiguration;
1128
1090
  }
1129
1091
  /**
1130
- * DescribeAccelerateAreas返回参数结构体
1092
+ * CreateEndpointGroup返回参数结构体
1131
1093
  */
1132
- export interface DescribeAccelerateAreasResponse {
1094
+ export interface CreateEndpointGroupResponse {
1133
1095
  /**
1134
- * <p>加速地域信息。</p>
1096
+ * <p>任务ID。</p>
1135
1097
  */
1136
- AccelerateAreaSet?: Array<AcceleratorAreas>;
1098
+ TaskId?: string;
1137
1099
  /**
1138
- * <p>实例个数。</p>
1100
+ * <p>终端节点组实例ID。</p>
1139
1101
  */
1140
- TotalCount?: number;
1102
+ EndpointGroupId?: string;
1141
1103
  /**
1142
1104
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1143
1105
  */
1144
1106
  RequestId?: string;
1145
1107
  }
1146
1108
  /**
1147
- * DeleteListener请求参数结构体
1109
+ * DeleteGlobalAccelerator返回参数结构体
1148
1110
  */
1149
- export interface DeleteListenerRequest {
1111
+ export interface DeleteGlobalAcceleratorResponse {
1150
1112
  /**
1151
- * 全球加速实例ID。
1113
+ * 任务ID。
1152
1114
  */
1153
- GlobalAcceleratorId: string;
1115
+ TaskId?: string;
1154
1116
  /**
1155
- * 监听器ID。
1117
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
1156
1118
  */
1157
- ListenerId: string;
1119
+ RequestId?: string;
1158
1120
  }
1159
1121
  /**
1160
- * ModifyGlobalAccelerator返回参数结构体
1122
+ * DescribeAccelerateRegions返回参数结构体
1161
1123
  */
1162
- export interface ModifyGlobalAcceleratorResponse {
1124
+ export interface DescribeAccelerateRegionsResponse {
1163
1125
  /**
1164
- * <p>异步任务ID。</p>
1126
+ * 加速地域信息。
1165
1127
  */
1166
- TaskId?: string;
1128
+ AcceleratorRegionSet?: Array<AcceleratorRegionSet>;
1167
1129
  /**
1168
1130
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1169
1131
  */
1170
1132
  RequestId?: string;
1171
1133
  }
1172
1134
  /**
1173
- * 隐藏Header
1135
+ * 七层转发规则信息
1174
1136
  */
1175
- export interface HideResponseHeaders {
1137
+ export interface ForwardingRuleSet {
1176
1138
  /**
1177
- * <p>key</p><p>入参限制:长度不能超过128</p><p>如果字符串包含$,那仅能配置&#39;$remote_addr&#39;, &#39;$remote_port&#39;,否则不支持。</p>
1139
+ * 七层转发规则条件信息。
1178
1140
  */
1179
- Key: string;
1141
+ RuleCondition?: Array<RuleCondition>;
1180
1142
  /**
1181
- * <p>value</p><p>当前传&#39;&#39;值即可。</p>
1143
+ * 七层转发规则行为信息。
1182
1144
  */
1183
- Value: string;
1184
- }
1185
- /**
1186
- * DescribeListeners请求参数结构体
1187
- */
1188
- export interface DescribeListenersRequest {
1145
+ RuleAction?: Array<RuleAction>;
1189
1146
  /**
1190
- * 全球加速实例ID
1147
+ * 是否开启回源Sni
1191
1148
  */
1192
- GlobalAcceleratorId: string;
1149
+ EnableOriginSni?: boolean;
1193
1150
  /**
1194
- * 偏移量,默认为0
1151
+ * 回源Sni
1195
1152
  */
1196
- Offset?: number;
1153
+ OriginSni?: string;
1197
1154
  /**
1198
- * 返回数量,默认为20,最大值为100。
1155
+ * 回源Herder信息。
1199
1156
  */
1200
- Limit?: number;
1157
+ OriginHeaders?: Array<OriginHeader>;
1201
1158
  /**
1202
- * 过滤条件。 listener-id- String -(过滤条件)监听器实例ID
1159
+ * 回源Host
1203
1160
  */
1204
- Filters?: Array<Filter>;
1205
- }
1206
- /**
1207
- * 七层转发规则行为信息
1208
- */
1209
- export interface RuleAction {
1161
+ OriginHost?: string;
1210
1162
  /**
1211
- * <p>七层转发规则行为类型</p><p>枚举值:</p><ul><li>ForwardGroup: 转发策略为转发至终端节点组。</li><li>Drop: 转发策略为丢弃。</li></ul>
1212
- 注意:此字段可能返回 null,表示取不到有效值。
1163
+ * 全球加速实例ID。
1213
1164
  */
1214
- RuleActionType: string;
1165
+ GlobalAcceleratorId?: string;
1215
1166
  /**
1216
- * <p>七层转发规则行为值</p><p>当RuleActionType是Drop时,此字段不用传;当RuleActionType是ForwardGroup时,此字段必传,需要填写的是自定义终端节点组ID, 不支持配置默认终端节点组。</p>
1217
- 注意:此字段可能返回 null,表示取不到有效值。
1167
+ * 监听器ID
1218
1168
  */
1219
- RuleActionValue?: string;
1220
- }
1221
- /**
1222
- * DescribeForwardingPolicy请求参数结构体
1169
+ ListenerId?: string;
1170
+ /**
1171
+ * 七层转发策略ID。
1172
+ */
1173
+ ForwardingPolicyId?: string;
1174
+ /**
1175
+ * 七层转发规则ID。
1176
+ */
1177
+ ForwardingRuleId?: string;
1178
+ }
1179
+ /**
1180
+ * CreateForwardingRule返回参数结构体
1223
1181
  */
1224
- export interface DescribeForwardingPolicyRequest {
1182
+ export interface CreateForwardingRuleResponse {
1225
1183
  /**
1226
- * 全球加速实例ID
1184
+ * <p>异步任务ID。</p>
1185
+ */
1186
+ TaskId?: string;
1187
+ /**
1188
+ * <p>七层转发规则ID。</p>
1189
+ */
1190
+ ForwardingRuleId?: string;
1191
+ /**
1192
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1193
+ */
1194
+ RequestId?: string;
1195
+ }
1196
+ /**
1197
+ * CreateGlobalAcceleratorAclPolicy返回参数结构体
1198
+ */
1199
+ export interface CreateGlobalAcceleratorAclPolicyResponse {
1200
+ /**
1201
+ * <p>异步任务ID。</p>
1202
+ */
1203
+ TaskId?: string;
1204
+ /**
1205
+ * <p>访问控制策略ID。</p>
1206
+ */
1207
+ GlobalAcceleratorAclPolicyId?: string;
1208
+ /**
1209
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1210
+ */
1211
+ RequestId?: string;
1212
+ }
1213
+ /**
1214
+ * ModifyGlobalAcceleratorAclRule请求参数结构体
1215
+ */
1216
+ export interface ModifyGlobalAcceleratorAclRuleRequest {
1217
+ /**
1218
+ * <p>全球加速实例ID。</p>
1227
1219
  */
1228
1220
  GlobalAcceleratorId: string;
1229
1221
  /**
1230
- * 监听器ID
1222
+ * <p>安全策略ID</p>
1231
1223
  */
1232
- ListenerId: string;
1224
+ GlobalAcceleratorAclPolicyId: string;
1233
1225
  /**
1234
- * 偏移量,默认为0。
1226
+ * <p>Acl规则ID。</p>
1235
1227
  */
1236
- Offset?: number;
1228
+ GlobalAcceleratorAclRuleId: string;
1237
1229
  /**
1238
- * 返回数量,默认为20,最大值为100。
1230
+ * <p>协议。</p><p>入参限制:支持选择&#39;TCP&#39;, &#39;UDP&#39;, &#39;ALL&#39;。</p>
1239
1231
  */
1240
- Limit?: number;
1232
+ Protocol?: string;
1233
+ /**
1234
+ * <p>端口。</p>
1235
+ */
1236
+ Port?: string;
1237
+ /**
1238
+ * <p>网段。</p>
1239
+ */
1240
+ SourceCidrBlock?: string;
1241
+ /**
1242
+ * <p>动作。</p><p>入参限制:支持选择&#39;ACCEPT&#39;, &#39;DROP&#39;。</p><p>枚举值:</p><ul><li>ACCEPT: 允许。</li><li>DROP: 拒绝。</li></ul>
1243
+ */
1244
+ Policy?: string;
1245
+ /**
1246
+ * <p>描述信息,最大长度不能超过100个字节。</p>
1247
+ */
1248
+ Description?: string;
1241
1249
  }
1242
1250
  /**
1243
- * 七层转发规则条件信息
1251
+ * 可加速地域信息
1244
1252
  */
1245
- export interface RuleCondition {
1253
+ export interface AcceleratorRegionSet {
1246
1254
  /**
1247
- * <p>七层转发规则条件类型</p><p>枚举值:</p><ul><li>Path: Path</li></ul>
1248
- 注意:此字段可能返回 null,表示取不到有效值。
1255
+ * <p>地域中文名称。</p>
1249
1256
  */
1250
- RuleConditionType: string;
1257
+ Name?: string;
1251
1258
  /**
1252
- * <p>七层转发规则条件值</p><p>参数格式:格式必须满足正则表达:^[a-zA-Z0-9_.-/]{1,80}$</p><p>数组长度不能超过1。</p>
1253
- 注意:此字段可能返回 null,表示取不到有效值。
1259
+ * <p>是否可用;0:不可用,1:可用。</p>
1254
1260
  */
1255
- RuleConditionValue: Array<string>;
1261
+ IsAvailable?: number;
1262
+ /**
1263
+ * <p>地域信息。</p>
1264
+ */
1265
+ Region?: string;
1266
+ /**
1267
+ * <p>地区名称。</p>
1268
+ */
1269
+ AreaName?: string;
1270
+ /**
1271
+ * <p>是否中国地域。</p>
1272
+ */
1273
+ IsChinaMainland?: number;
1274
+ /**
1275
+ * <p>支持IspType类型。</p>
1276
+ */
1277
+ SupportIspType?: Array<string>;
1278
+ /**
1279
+ * <p>是否腾讯地域。</p>
1280
+ */
1281
+ IsTencentRegion?: number;
1256
1282
  }
1257
1283
  /**
1258
- * DescribeAccelerateRegions请求参数结构体
1284
+ * CreateListener返回参数结构体
1259
1285
  */
1260
- export type DescribeAccelerateRegionsRequest = null;
1286
+ export interface CreateListenerResponse {
1287
+ /**
1288
+ * <p>任务ID。</p>
1289
+ */
1290
+ TaskId?: string;
1291
+ /**
1292
+ * <p>监听器ID。</p>
1293
+ */
1294
+ ListenerId?: string;
1295
+ /**
1296
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1297
+ */
1298
+ RequestId?: string;
1299
+ }
1261
1300
  /**
1262
- * ReplaceListenerAdditionalCert返回参数结构体
1301
+ * ModifyForwardingPolicy返回参数结构体
1263
1302
  */
1264
- export interface ReplaceListenerAdditionalCertResponse {
1303
+ export interface ModifyForwardingPolicyResponse {
1265
1304
  /**
1266
- * 任务ID
1305
+ * <p>异步任务ID。</p>
1267
1306
  */
1268
1307
  TaskId?: string;
1269
1308
  /**
@@ -1272,233 +1311,387 @@ export interface ReplaceListenerAdditionalCertResponse {
1272
1311
  RequestId?: string;
1273
1312
  }
1274
1313
  /**
1275
- * 响应Header
1314
+ * CreateGlobalAcceleratorAclRule请求参数结构体
1276
1315
  */
1277
- export interface ResponseHeaders {
1316
+ export interface CreateGlobalAcceleratorAclRuleRequest {
1278
1317
  /**
1279
- * <p>key</p><p>参数格式:1、字符串只包含可打印的ASCII字符 2、不能包含这些字符()&lt;&gt;@,;:\&quot;/[ ]?={ }</p><p>入参限制:长度在1-40。</p>
1318
+ * 全球加速实例ID。
1319
+ */
1320
+ GlobalAcceleratorId: string;
1321
+ /**
1322
+ * 安全策略ID
1323
+ */
1324
+ GlobalAcceleratorAclPolicyId: string;
1325
+ /**
1326
+ * Acl信息。
1327
+ */
1328
+ AclEntries: Array<AclEntries>;
1329
+ }
1330
+ /**
1331
+ * ModifyListener请求参数结构体
1332
+ */
1333
+ export interface ModifyListenerRequest {
1334
+ /**
1335
+ * <p>全球加速实例ID。</p>
1336
+ */
1337
+ GlobalAcceleratorId: string;
1338
+ /**
1339
+ * <p>监听器ID。</p>
1340
+ */
1341
+ ListenerId: string;
1342
+ /**
1343
+ * <p>名称,最大长度不能超过60个字节。</p>
1344
+ */
1345
+ Name?: string;
1346
+ /**
1347
+ * <p>描述信息,最大长度不能超过100个字节。</p>
1348
+ */
1349
+ Description?: string;
1350
+ /**
1351
+ * <p>连接空闲等待时间。</p><p>1、HTTP/HTTPS监听器,支持范围为1-60;2、TCP监听器,支持范围为10-900;3、UDP监听器,支持范围为10-20;</p>
1352
+ */
1353
+ IdleTimeout?: number;
1354
+ /**
1355
+ * <p>是否开启会话保持。</p><p>枚举值:</p><ul><li>Open: 打开。</li><li>Close: 关闭。</li></ul><p>TCP/UDP监听器支持修改此参数。</p>
1356
+ */
1357
+ ClientAffinity?: string;
1358
+ /**
1359
+ * <p>会话保持时间。</p><p>取值范围:[60, 3600]</p>
1360
+ */
1361
+ ClientAffinityTime?: number;
1362
+ /**
1363
+ * <p>请求超时时间。</p><p>取值范围:[1, 180]</p><p>HTTPS监听器才支持此参数修改。</p>
1364
+ */
1365
+ RequestTimeout?: number;
1366
+ /**
1367
+ * <p>是否打开七层获取源IP方式。</p><p>HTTPS/HTTP监听器才支持此参数修改。</p>
1368
+ */
1369
+ XForwardedForRealIp?: boolean;
1370
+ /**
1371
+ * <p>解析方式。</p><p>枚举值:</p><ul><li>UNIDIRECTIONAL: 双向。</li><li>MUTUAL: 单向。</li></ul><p>HTTPS/HTTP监听器才支持修改此参数。</p>
1372
+ */
1373
+ CertificationType?: string;
1374
+ /**
1375
+ * <p>加密算法套件。</p><p>入参限制:支持选择tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;。</p><p>HTTPS监听器才支持此参数修改。</p>
1376
+ */
1377
+ CipherPolicyId?: string;
1378
+ /**
1379
+ * <p>服务器证书。</p><p>HTTPS监听器才支持此参数修改。</p>
1380
+ */
1381
+ ServerCertificates?: Array<string>;
1382
+ /**
1383
+ * <p>客户端证书。</p><p>HTTPS监听器才支持此参数修改,并且开启双向认证。</p>
1384
+ */
1385
+ ClientCaCertificates?: Array<string>;
1386
+ /**
1387
+ * <p>获取源IP方式。</p><p>入参限制:支持选择&#39;ProxyProtocol&#39;, &#39;Close&#39;, &#39;ProxyProtocolV2&#39;, &#39;TOA&#39;。</p><p>TCP监听器才支持此参数修改。</p>
1388
+ */
1389
+ GetRealIpType?: string;
1390
+ }
1391
+ /**
1392
+ * 七层转发规则条件信息
1393
+ */
1394
+ export interface RuleCondition {
1395
+ /**
1396
+ * <p>七层转发规则条件类型</p><p>枚举值:</p><ul><li>Path: Path</li></ul>
1397
+ 注意:此字段可能返回 null,表示取不到有效值。
1398
+ */
1399
+ RuleConditionType: string;
1400
+ /**
1401
+ * <p>七层转发规则条件值</p><p>参数格式:格式必须满足正则表达:^[a-zA-Z0-9_.-/]{1,80}$</p><p>数组长度不能超过1。</p>
1402
+ 注意:此字段可能返回 null,表示取不到有效值。
1403
+ */
1404
+ RuleConditionValue: Array<string>;
1405
+ }
1406
+ /**
1407
+ * 隐藏Header
1408
+ */
1409
+ export interface HideResponseHeaders {
1410
+ /**
1411
+ * <p>key</p><p>入参限制:长度不能超过128</p><p>如果字符串包含$,那仅能配置&#39;$remote_addr&#39;, &#39;$remote_port&#39;,否则不支持。</p>
1280
1412
  */
1281
1413
  Key: string;
1282
1414
  /**
1283
- * <p>value</p><p>入参限制:长度不能超过128</p><p>如果字符串包含$,那仅能配置&#39;$remote_addr&#39;, &#39;$remote_port&#39;,否则不支持。</p>
1415
+ * <p>value</p><p>当前传&#39;&#39;值即可。</p>
1284
1416
  */
1285
1417
  Value: string;
1286
1418
  }
1287
1419
  /**
1288
- * DeleteEndpointGroups返回参数结构体
1420
+ * DescribeForwardingRule返回参数结构体
1289
1421
  */
1290
- export interface DeleteEndpointGroupsResponse {
1422
+ export interface DescribeForwardingRuleResponse {
1291
1423
  /**
1292
- * 任务ID。
1424
+ * 符合条件的规则信息。
1293
1425
  */
1294
- TaskId?: string;
1426
+ ForwardingRuleSet?: Array<ForwardingRuleSet>;
1427
+ /**
1428
+ * 符合条件的实例个数。
1429
+ */
1430
+ TotalCount?: number;
1295
1431
  /**
1296
1432
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1297
1433
  */
1298
1434
  RequestId?: string;
1299
1435
  }
1300
1436
  /**
1301
- * 过滤器
1437
+ * DeleteGlobalAccelerator请求参数结构体
1302
1438
  */
1303
- export interface Filter {
1304
- /**
1305
- * 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
1306
- */
1307
- Name: string;
1439
+ export interface DeleteGlobalAcceleratorRequest {
1308
1440
  /**
1309
- * 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。当值类型为布尔类型时,可直接取值为字符串"TRUE"或 "FALSE"
1441
+ * 全球加速实例ID
1310
1442
  */
1311
- Values: Array<string>;
1443
+ GlobalAcceleratorId: string;
1312
1444
  }
1313
1445
  /**
1314
- * DeleteEndpointGroups请求参数结构体
1446
+ * ModifyForwardingRule请求参数结构体
1315
1447
  */
1316
- export interface DeleteEndpointGroupsRequest {
1448
+ export interface ModifyForwardingRuleRequest {
1317
1449
  /**
1318
- * 全球加速实例ID
1450
+ * <p>全球加速实例ID。</p>
1319
1451
  */
1320
1452
  GlobalAcceleratorId: string;
1321
1453
  /**
1322
- * 监听器ID
1454
+ * <p>监听器ID。</p>
1323
1455
  */
1324
1456
  ListenerId: string;
1325
1457
  /**
1326
- * 终端节点组ID
1458
+ * <p>策略ID。</p>
1327
1459
  */
1328
- EndpointGroupIds: Array<string>;
1460
+ ForwardingPolicyId: string;
1461
+ /**
1462
+ * <p>七层转发规则ID。</p>
1463
+ */
1464
+ ForwardingRuleId: string;
1465
+ /**
1466
+ * <p>七层转发规则条件信息。</p><p>入参限制:数组长度不能超过1。</p>
1467
+ */
1468
+ RuleConditions?: Array<RuleCondition>;
1469
+ /**
1470
+ * <p>七层转发规则行为信息。</p><p>入参限制:数组长度不能超过1。</p>
1471
+ */
1472
+ RuleActions?: Array<RuleAction>;
1473
+ /**
1474
+ * <p>回源Header信息。</p><p>入参限制:数组长度在1-5。</p>
1475
+ */
1476
+ OriginHeaders?: Array<OriginHeader>;
1477
+ /**
1478
+ * <p>是否开启回源sni。</p>
1479
+ */
1480
+ EnableOriginSni?: boolean;
1481
+ /**
1482
+ * <p>回源sni。</p><p>入参限制:长度不能超过80。</p><p>当开启回源sni时,此字段必传。</p>
1483
+ */
1484
+ OriginSni?: string;
1485
+ /**
1486
+ * <p>回源host。</p><p>入参限制:长度不能超过80。</p><p>当开启回源sni时,此字段必传。</p>
1487
+ */
1488
+ OriginHost?: string;
1489
+ /**
1490
+ * <p>源站响应头</p><p>入参限制:数组长度不能超过5。</p>
1491
+ */
1492
+ ResponseHeaders?: Array<ResponseHeaders>;
1493
+ /**
1494
+ * <p>删除源站响应头</p><p>入参限制:数组长度不能超过5。</p>
1495
+ */
1496
+ HideResponseHeaders?: Array<HideResponseHeaders>;
1329
1497
  }
1330
1498
  /**
1331
- * 终端节点组配置
1499
+ * ModifyListener返回参数结构体
1332
1500
  */
1333
- export interface EndpointGroupConfiguration {
1501
+ export interface ModifyListenerResponse {
1334
1502
  /**
1335
- * <p>终端节点组名称。</p><p>最大长度不能超过128个字节。必须以字母(a-z, A-Z)或中文字符开头。</p>
1503
+ * <p>任务ID。</p>
1336
1504
  */
1337
- Name: string;
1505
+ TaskId?: string;
1338
1506
  /**
1339
- * <p>终端节点组所在地域。</p>
1507
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1340
1508
  */
1341
- EndpointGroupRegion: string;
1509
+ RequestId?: string;
1510
+ }
1511
+ /**
1512
+ * CreateAccelerateAreas请求参数结构体
1513
+ */
1514
+ export interface CreateAccelerateAreasRequest {
1342
1515
  /**
1343
- * <p>终端节点配置。</p>
1516
+ * <p>全球加速实例ID。</p>
1344
1517
  */
1345
- EndpointConfigurations: Array<EndpointConfigurations>;
1518
+ GlobalAcceleratorId: string;
1346
1519
  /**
1347
- * <p>检查协议。支持配置&#39;TCP&#39;, &#39;HTTP&#39;, &#39;PING&#39;, &#39;CUSTOM&#39;。</p><p>枚举值:</p><ul><li>TCP: 当终端节点组所在监听器协议是TCP时,可以选择检查协议为TCP。</li><li>HTTP: 当终端节点组所在监听器协议是HTTP或HTTPS时,可以选择检查协议为HTTP。</li><li>PING: 当终端节点组所在监听器协议是UDP时,可以选择检查协议为PING。</li><li>CUSTOM: 当终端节点组所在监听器协议是UDP或TCP时,可以选择检查协议为CUSTOM。</li></ul><p>当开启健康检查时此字段必传。</p>
1520
+ * <p>加速地域信息。一次最多创建10组加速地域。</p>
1348
1521
  */
1349
- CheckType?: string;
1522
+ AcceleratorAreas: Array<AcceleratorAreas>;
1523
+ }
1524
+ /**
1525
+ * DeleteForwardingPolicy请求参数结构体
1526
+ */
1527
+ export interface DeleteForwardingPolicyRequest {
1350
1528
  /**
1351
- * <p>描述信息。</p><p>默认值:默认值为空,代表不配置描述信息。</p><p>最大长度不能超过100个字节。</p>
1529
+ * 全球加速实例ID。
1352
1530
  */
1353
- Description?: string;
1531
+ GlobalAcceleratorId: string;
1354
1532
  /**
1355
- * <p>检查端口。</p><p>入参限制:范围是1-65535。</p><p>当CheckType为CUSTOM时候,此字段必传。</p>
1533
+ * 监听器ID。
1356
1534
  */
1357
- CheckPort?: string;
1535
+ ListenerId: string;
1358
1536
  /**
1359
- * <p>检查内容。支持配置&#39;TEXT&#39;。</p><p>枚举值:</p><ul><li>TEXT: 文本内容。</li></ul><p>当CheckType为CUSTOM时候,此字段必传。</p>
1537
+ * 策略ID。
1360
1538
  */
1361
- ContextType?: string;
1539
+ ForwardingPolicyId: string;
1540
+ }
1541
+ /**
1542
+ * CreateListener请求参数结构体
1543
+ */
1544
+ export interface CreateListenerRequest {
1362
1545
  /**
1363
- * <p>检查请求。</p><p>入参限制:字节长度要在1-500范围内。</p><p>当CheckType为CUSTOM时候,此字段必传。</p>
1546
+ * <p>全球加速实例ID。</p>
1364
1547
  */
1365
- CheckSendContext?: string;
1548
+ GlobalAcceleratorId: string;
1366
1549
  /**
1367
- * <p>检查返回结果。</p><p>入参限制:字节长度要在1-500范围内。</p><p>当CheckType为CUSTOM时候,此字段必传。</p>
1550
+ * <p>名称,最大长度不能超过60个字节。</p>
1368
1551
  */
1369
- CheckRecvContext?: string;
1552
+ Name: string;
1370
1553
  /**
1371
- * <p>是否开启健康检查。</p><p>默认值:False</p>
1554
+ * <p>端口范围。</p>
1372
1555
  */
1373
- EnableHealthCheck?: boolean;
1556
+ PortRanges: PortRanges;
1374
1557
  /**
1375
- * <p>响应超时时间。</p><p>取值范围:[1, 100]</p><p>默认值:2</p><p>开启健康检查时,此字段必传。</p>
1558
+ * <p>描述信息,最大长度不能超过100个字节。</p>
1376
1559
  */
1377
- ConnectTimeout?: number;
1560
+ Description?: string;
1378
1561
  /**
1379
- * <p>健康检查间隔。</p><p>取值范围:[5, 300]</p><p>默认值:30</p><p>开启健康检查,此字段必传。</p>
1562
+ * <p>监听类型,默认为智能路由。</p><p>枚举值:</p><ul><li>Standard: 智能路由。</li></ul>
1380
1563
  */
1381
- HealthCheckInterval?: number;
1564
+ ListenerType?: string;
1382
1565
  /**
1383
- * <p>不健康阀值。</p><p>取值范围:[1, 10]</p><p>默认值:3</p><p>开启健康检查,此字段必传。</p>
1566
+ * <p>协议,默认为TCP。支持配置&#39;TCP&#39;, &#39;UDP&#39;, &#39;HTTP&#39;, &#39;HTTPS&#39;。</p>
1384
1567
  */
1385
- UnhealthyThreshold?: number;
1568
+ Protocol?: string;
1386
1569
  /**
1387
- * <p>健康阈值。</p><p>取值范围:[1, 10]</p><p>默认值:3</p><p>开启健康检查,此字段必传。</p>
1570
+ * <p>连接空闲等待时间。</p><p>1、HTTP/HTTPS监听器,默认值为15,支持范围为1-60;<br>2、TCP监听器,默认值为900,支持范围为10-900;<br>3、UDP监听器,默认值为20,支持范围为10-20;</p>
1388
1571
  */
1389
- HealthyThreshold?: number;
1572
+ IdleTimeout?: number;
1390
1573
  /**
1391
- * <p>回源协议。支持配置&#39;HTTP&#39;, &#39;HTTPS&#39;。</p><p>枚举值:</p><ul><li>HTTP: HTTP回源;当终端节点组所在监听器协议是HTTP或HTTPS时可以配置HTTP。</li><li>HTTPS: HTTPS回源;当终端节点组所在监听器协议是HTTPS时可以配置HTTPS。</li></ul><p>当终端节点组所在监听器协议为HTTP或HTTPS时候,此字段必传。</p>
1574
+ * <p>四层获取源IP方式,支持&#39;TOA&#39;, &#39;ProxyProtocol&#39;, &#39;ProxyProtocolV2&#39;。</p><p>需要开启四层获取源IP方式,才填写此参数。</p>
1392
1575
  */
1393
- ForwardProtocol?: string;
1576
+ GetRealIpType?: string;
1394
1577
  /**
1395
- * <p>检查域名。</p><p>入参限制:字节长度范围是3-80。</p><p>当CheckType是HTTP时,此字段必传。</p>
1578
+ * <p>是否开启会话保持。支持配置&#39;Open&#39;, &#39;Close&#39;。</p><p>枚举值:</p><ul><li>Open: 开启。</li><li>Close: 关闭。</li></ul>
1396
1579
  */
1397
- CheckDomain?: string;
1580
+ ClientAffinity?: string;
1398
1581
  /**
1399
- * <p>检查URL。</p><p>参数格式:必须满足正则:^[a-zA-Z0-9_.\-\/]{1,80}$</p><p>当CheckType是HTTP时,此字段必传。</p>
1582
+ * <p>请求超时时间。</p><p>取值范围:[1, 180]</p><p>默认值:60</p><p>当HTTPS监听器时才可配置此参数。</p>
1400
1583
  */
1401
- CheckPath?: string;
1584
+ RequestTimeout?: number;
1402
1585
  /**
1403
- * <p>请求方式。支持配置&#39;GET&#39;, &#39;HEAD&#39;。</p><p>枚举值:</p><ul><li>GET: 请求方式为GET。</li><li>HEAD: 请求方式为HEAD。</li></ul><p>当CheckType是HTTP时,此字段必传。</p>
1586
+ * <p>是否打开七层获取源IP方式。</p>
1404
1587
  */
1405
- CheckMethod?: string;
1588
+ XForwardedForRealIp?: boolean;
1406
1589
  /**
1407
- * <p>状态检测码。支持配置&#39;http_2xx&#39;, &#39;http_3xx&#39;, &#39;http_4xx&#39;, &#39;http_5xx&#39;。</p><p>枚举值:</p><ul><li>http_2xx2开头的http code。</li><li>http_3xx3开头的http code。</li><li>http_4xx: 4开头的http code。</li><li>http_5xx: 5开头的http code。</li></ul><p>当CheckType是HTTP时,此字段必传。</p>
1590
+ * <p>解析方式。</p><p>枚举值:</p><ul><li>UNIDIRECTIONAL双向。</li><li>U单向。</li></ul><p>HTTPS监听器,此字段必传。</p>
1408
1591
  */
1409
- StatusMask?: Array<string>;
1592
+ CertificationType?: string;
1410
1593
  /**
1411
- * <p>端口映射。</p><p>入参限制:七层支持1个端口映射,四层支持最多30个端口映射。</p>
1594
+ * <p>加密算法套件。支持配置&#39;tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;。</p>
1412
1595
  */
1413
- PortOverrides?: Array<PortOverride>;
1596
+ CipherPolicyId?: string;
1414
1597
  /**
1415
- * <p>运营商类型。支持配置&#39;CMCC&#39;, &#39;CTCC&#39;, &#39;CUCC&#39;。</p><p>枚举值:</p><ul><li>CMCC: 中国移动</li><li>CUCC: 中国联通</li><li>CTCC: 中国电信</li></ul><p>当终端节点组地域为三网地域时,此字段必传。</p>
1598
+ * <p>服务器证书。</p><p>当是HTTPS监听器时,此字段必传。</p>
1416
1599
  */
1417
- IspType?: string;
1600
+ ServerCertificates?: Array<string>;
1418
1601
  /**
1419
- * <p>HPPTS加密算法套件;支持配置&#39;tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;;</p><p>枚举值:</p><ul><li>tls_policy_1.0-2: 加密算法套件。</li><li>tls_policy_1.1-2: 加密算法套件。</li><li>tls_policy_1.2: 加密算法套件。</li><li>tls_policy_1.2_strict: 加密算法套件。</li><li>tls_policy_1.2_strict-1.3: 加密算法套件。</li></ul><p>当回源协议为HTTPS,此字段必传。</p>
1602
+ * <p>客户端证书。</p><p>当时HTTPS监听器且开启双向认证时,此字段必传。</p>
1420
1603
  */
1421
- CipherPolicyId?: string;
1604
+ ClientCaCertificates?: Array<string>;
1422
1605
  /**
1423
- * <p>回源协议。支持配置&#39;HTTP/1.1&#39;, &#39;HTTP/2&#39;。</p><p>枚举值:</p><ul><li>HTTP/1.1: 版本HTTP/1.1</li><li>HTTP/2: 版本HTTP/2</li></ul><p>当回源协议为HTTPS时,此字段必传。</p>
1606
+ * <p>HTTPS监听器支持选择版本</p><p>枚举值:</p><ul><li>HTTP/1.1: HTTP/1.1</li><li>HTTP/2: HTTP/2</li></ul>
1424
1607
  */
1425
1608
  HttpVersion?: string;
1426
1609
  }
1427
1610
  /**
1428
- * 全球加速实例信息
1611
+ * DescribeTaskResult请求参数结构体
1429
1612
  */
1430
- export interface GlobalAcceleratorSet {
1613
+ export interface DescribeTaskResultRequest {
1614
+ /**
1615
+ * 异步任务ID。
1616
+ */
1617
+ TaskId: string;
1618
+ }
1619
+ /**
1620
+ * ModifyGlobalAccelerator请求参数结构体
1621
+ */
1622
+ export interface ModifyGlobalAcceleratorRequest {
1431
1623
  /**
1432
1624
  * <p>全球加速实例ID。</p>
1433
1625
  */
1434
- GlobalAcceleratorId?: string;
1626
+ GlobalAcceleratorId: string;
1435
1627
  /**
1436
- * <p>全球加速实例名称。</p>
1628
+ * <p>名称,最大长度不能超过60个字节。</p>
1437
1629
  */
1438
1630
  Name?: string;
1439
1631
  /**
1440
- * <p>全球加速实例描述。</p>
1632
+ * <p>描述信息,最大长度不能超过100个字节。</p>
1441
1633
  */
1442
1634
  Description?: string;
1443
1635
  /**
1444
- * <p>全球加速实例创建时间。</p>
1445
- */
1446
- CreateTime?: string;
1447
- /**
1448
- * <p>全球加速实例状态。</p>
1449
- */
1450
- State?: string;
1451
- /**
1452
- * <p>全球加速实例付费类型。</p>
1453
- */
1454
- InstanceChargeType?: string;
1455
- /**
1456
- * <p>全球加速实例DdosId。</p>
1457
- */
1458
- DdosId?: string;
1459
- /**
1460
- * <p>所属加速实例监听器个数。</p>
1636
+ * <p>跨境类型。</p><p>枚举值:</p><ul><li>HighQuality: 精品跨境。</li><li>Unicom: 联通跨境。</li></ul>
1461
1637
  */
1462
- ListenerCounts?: number;
1638
+ CrossBorderType?: string;
1463
1639
  /**
1464
- * <p>所属加速实例加速地域个数。</p>
1640
+ * <p>代表是否填写跨境服务承诺书。</p><p>当CrossBorderType传入时,此字段必须填ture,代表填写跨境承诺书。</p>
1465
1641
  */
1466
- AcceleratorAreaCounts?: number;
1642
+ CrossBorderPromiseFlag?: boolean;
1643
+ }
1644
+ /**
1645
+ * 过滤器
1646
+ */
1647
+ export interface Filter {
1467
1648
  /**
1468
- * <p>全球加速实例状态。</p>
1649
+ * 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
1469
1650
  */
1470
- Status?: string;
1651
+ Name: string;
1471
1652
  /**
1472
- * <p>域名。</p>
1653
+ * 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。当值类型为布尔类型时,可直接取值为字符串"TRUE"或 "FALSE"。
1473
1654
  */
1474
- Cname?: string;
1655
+ Values: Array<string>;
1656
+ }
1657
+ /**
1658
+ * DescribeAccelerateRegions请求参数结构体
1659
+ */
1660
+ export type DescribeAccelerateRegionsRequest = null;
1661
+ /**
1662
+ * DeleteForwardingRule返回参数结构体
1663
+ */
1664
+ export interface DeleteForwardingRuleResponse {
1475
1665
  /**
1476
- * <p>跨境类型;HighQuality(精品跨境)、Unicom(联通跨境)、NotAvailable(未开通)。</p>
1477
- 注意:此字段可能返回 null,表示取不到有效值。
1666
+ * 异步任务ID。
1478
1667
  */
1479
- CrossBorderType?: string;
1668
+ TaskId?: string;
1480
1669
  /**
1481
- * <p>标签信息。</p>
1670
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1482
1671
  */
1483
- TagSet?: Array<Tag>;
1672
+ RequestId?: string;
1484
1673
  }
1485
1674
  /**
1486
- * DeleteListener返回参数结构体
1675
+ * CreateForwardingPolicy返回参数结构体
1487
1676
  */
1488
- export interface DeleteListenerResponse {
1677
+ export interface CreateForwardingPolicyResponse {
1489
1678
  /**
1490
- * 任务ID
1679
+ * <p>异步任务ID。</p>
1491
1680
  */
1492
1681
  TaskId?: string;
1682
+ /**
1683
+ * <p>七层转发策略ID。</p>
1684
+ */
1685
+ ForwardingPolicyId?: string;
1493
1686
  /**
1494
1687
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1495
1688
  */
1496
1689
  RequestId?: string;
1497
1690
  }
1498
1691
  /**
1499
- * ModifyEndpointGroup请求参数结构体
1692
+ * ModifyForwardingPolicy请求参数结构体
1500
1693
  */
1501
- export interface ModifyEndpointGroupRequest {
1694
+ export interface ModifyForwardingPolicyRequest {
1502
1695
  /**
1503
1696
  * <p>全球加速实例ID。</p>
1504
1697
  */
@@ -1508,144 +1701,170 @@ export interface ModifyEndpointGroupRequest {
1508
1701
  */
1509
1702
  ListenerId: string;
1510
1703
  /**
1511
- * <p>终端节点组ID。</p>
1704
+ * <p>策略ID。</p>
1512
1705
  */
1513
- EndpointGroupId: string;
1706
+ ForwardingPolicyId: string;
1514
1707
  /**
1515
- * <p>终端节点配置。</p>
1708
+ * <p>域名。</p><p>入参限制:长度范围在1-80。</p><p>格式必须满足正则表达式:^(<a href="?:[a-z0-9-]{0,61}[a-z0-9]">a-z0-9</a>?.)+[a-z]{2,}$</p>
1516
1709
  */
1517
- EndpointConfigurations?: Array<EndpointConfigurations>;
1710
+ Host: string;
1711
+ }
1712
+ /**
1713
+ * ModifyGlobalAcceleratorAclRule返回参数结构体
1714
+ */
1715
+ export interface ModifyGlobalAcceleratorAclRuleResponse {
1518
1716
  /**
1519
- * <p>名称。</p><p>入参限制:最大长度不能超过128个字节。</p><p>以大小写字母或中文开头。</p>
1717
+ * <p>异步任务ID。</p>
1520
1718
  */
1521
- Name?: string;
1719
+ TaskId?: string;
1522
1720
  /**
1523
- * <p>描述信息。</p><p>入参限制:最大长度不能超过100个字节。</p>
1721
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1524
1722
  */
1525
- Description?: string;
1723
+ RequestId?: string;
1724
+ }
1725
+ /**
1726
+ * 加速地域公网IP信息
1727
+ */
1728
+ export interface IpAddressInfoSet {
1526
1729
  /**
1527
- * <p>是否开启健康检查。</p>
1730
+ * <p>IP地址。</p>
1528
1731
  */
1529
- EnableHealthCheck?: boolean;
1732
+ IpAddress?: string;
1530
1733
  /**
1531
- * <p>响应超时时间。</p><p>取值范围:[1, 100]</p><p>当开启健康检查时候,此参数必传。</p>
1734
+ * <p>IP类型。</p>
1532
1735
  */
1533
- ConnectTimeout?: number;
1736
+ IspType?: string;
1534
1737
  /**
1535
- * <p>健康检查间隔。</p><p>取值范围:[5, 300]</p><p>当开启健康检查时,此参数必传。</p>
1738
+ * <p>Ddos类型</p>
1536
1739
  */
1537
- HealthCheckInterval?: number;
1740
+ DdosProtectionType?: string;
1741
+ }
1742
+ /**
1743
+ * DeleteForwardingPolicy返回参数结构体
1744
+ */
1745
+ export interface DeleteForwardingPolicyResponse {
1538
1746
  /**
1539
- * <p>不健康阀值。</p><p>取值范围:[1, 10]</p><p>当开启健康检查时,此字段必传。</p>
1747
+ * 异步任务ID。
1540
1748
  */
1541
- UnhealthyThreshold?: number;
1749
+ TaskId?: string;
1542
1750
  /**
1543
- * <p>健康阀值。</p><p>取值范围:[1, 10]</p><p>当开启健康检查时,此字段必传。</p>
1751
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1544
1752
  */
1545
- HealthyThreshold?: number;
1753
+ RequestId?: string;
1754
+ }
1755
+ /**
1756
+ * 监听器信息
1757
+ */
1758
+ export interface ListenerSet {
1546
1759
  /**
1547
- * <p>检查协议。</p><p>入参限制:支持填写:&#39;TCP&#39;, &#39;HTTP&#39;, &#39;PING&#39;, &#39;CUSTOM&#39;。</p><p>1、当监听器是TCP时,可以选CUSTOM+TCP。<br>2、当监听器是UDP时,可以选PING+CUSTOM。<br>3、当监听器是HTTP或HTTPS时,可以选HTTP。</p>
1760
+ * 全球加速实例ID。
1548
1761
  */
1549
- CheckType?: string;
1762
+ GlobalAcceleratorId?: string;
1550
1763
  /**
1551
- * <p>检查端口。</p><p>取值范围:[1, 65535]</p><p>当CheckType是CUSTOM时,此字段必传。</p>
1764
+ * 监听器ID。
1552
1765
  */
1553
- CheckPort?: number;
1766
+ ListenerId?: string;
1554
1767
  /**
1555
- * <p>检查内容。</p><p>入参限制:仅支持TEXT。</p><p>当CheckType是CUSTOM时,此字段必传。</p>
1768
+ * 监听器名称。
1556
1769
  */
1557
- ContextType?: string;
1770
+ Name?: string;
1558
1771
  /**
1559
- * <p>检查请求。</p><p>入参限制:长度范围在1-500。</p><p>当CheckType是CUSTOM时,此字段必传。</p>
1772
+ * 监听器描述。
1560
1773
  */
1561
- CheckSendContext?: string;
1774
+ Description?: string;
1562
1775
  /**
1563
- * <p>检查返回结果。</p><p>入参限制:长度范围在1-500。</p><p>当CheckType是CUSTOM时,此字段必传。</p>
1776
+ * 协议。
1564
1777
  */
1565
- CheckRecvContext?: string;
1778
+ Protocol?: string;
1566
1779
  /**
1567
- * <p>检查域名。</p><p>入参限制:长度范围在3-80。</p><p>当CheckType是HTTP时,此字段必传。</p>
1780
+ * 端口范围。
1568
1781
  */
1569
- CheckDomain?: string;
1782
+ PortRanges?: PortRanges;
1570
1783
  /**
1571
- * <p>检查URL。</p><p>入参限制:长度范围在3-80。</p><p>当CheckType是HTTP时,此字段必传。</p>
1784
+ * 是否打开七层获取源IP方式。
1572
1785
  */
1573
- CheckPath?: string;
1786
+ XForwardedForRealIp?: boolean;
1574
1787
  /**
1575
- * <p>请求方式。</p><p>入参限制:支持填写 &#39;GET&#39;, &#39;HEAD&#39;。</p><p>当CheckType是HTTP时,此字段必传。</p>
1788
+ * 开启会话保持。
1576
1789
  */
1577
- CheckMethod?: string;
1790
+ ClientAffinity?: string;
1578
1791
  /**
1579
- * <p>状态检测码。</p><p>入参限制:支持选择&#39;http_2xx&#39;, &#39;http_3xx&#39;, &#39;http_4xx&#39;, &#39;http_5xx&#39;。</p><p>当CheckType是HTTP时,此字段必传。</p>
1792
+ * 会话保持时间。
1580
1793
  */
1581
- StatusMask?: Array<string>;
1794
+ ClientAffinityTime?: number;
1582
1795
  /**
1583
- * <p>回源协议。</p><p>入参限制:支持选择:&#39;HTTP&#39;, &#39;HTTPS&#39;。</p><p>当监听器协议是HTTP时只能配置HTTP,是HTTPS时能配HTTP或HTTPS。</p>
1796
+ * SSL解析方式。
1584
1797
  */
1585
- ForwardProtocol?: string;
1798
+ CertificationType?: string;
1586
1799
  /**
1587
- * <p>端口映射。</p><p>当监听器协议是HTTP或HTTPS支持配置一对。当监听器协议是UDP或TCP支持配置最多30对。</p>
1800
+ * 服务器证书。
1588
1801
  */
1589
- PortOverrides?: Array<PortOverride>;
1802
+ ServerCertificates?: Array<string>;
1590
1803
  /**
1591
- * <p>HPPTS加密算法套件</p><p>入参限制:支持选择&#39;tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;。</p><p>当监听器协议是HTTPS时,才支持修改此参数。</p>
1804
+ * 客户端证书。
1805
+ */
1806
+ ClientCaCertificates?: Array<string>;
1807
+ /**
1808
+ * TLS密码套件包。
1592
1809
  */
1593
1810
  CipherPolicyId?: string;
1594
1811
  /**
1595
- * <p>仅HTTPS回源协议支持选择[&#39;HTTP/1.1&#39;, &#39;HTTP/2&#39;]</p><p>枚举值:</p><ul><li>HTTP/1.1: 版本HTTP/1.1</li><li>HTTP/2: 版本HTTP/2</li></ul>
1812
+ * HTTP版本。
1596
1813
  */
1597
1814
  HttpVersion?: string;
1598
- }
1599
- /**
1600
- * CreateForwardingPolicy返回参数结构体
1601
- */
1602
- export interface CreateForwardingPolicyResponse {
1603
1815
  /**
1604
- * <p>异步任务ID。</p>
1816
+ * 请求超时时间。
1817
+ */
1818
+ RequestTimeout?: number;
1819
+ /**
1820
+ * 创建时间。
1821
+ */
1822
+ CreateTime?: string;
1823
+ /**
1824
+ * 监听路由类型。
1605
1825
  */
1606
- TaskId?: string;
1826
+ ListenerType?: string;
1607
1827
  /**
1608
- * <p>七层转发策略ID。</p>
1828
+ * 监听器状态。
1609
1829
  */
1610
- ForwardingPolicyId?: string;
1830
+ Status?: string;
1611
1831
  /**
1612
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1832
+ * 所属监听器终端节点组个数。
1613
1833
  */
1614
- RequestId?: string;
1615
- }
1616
- /**
1617
- * 加速地域信息
1618
- */
1619
- export interface AcceleratorAreas {
1834
+ EndpointGroupCounts?: number;
1620
1835
  /**
1621
- * <p>加速地域。</p>
1836
+ * 四层获取源IP方式。
1622
1837
  */
1623
- AccelerateRegion: string;
1838
+ GetRealIpType?: string;
1624
1839
  /**
1625
- * <p>带宽。</p>
1840
+ * 连接超时时间。
1626
1841
  */
1627
- Bandwidth: number;
1842
+ IdleTimeout?: number;
1843
+ }
1844
+ /**
1845
+ * 七层转发策略信息
1846
+ */
1847
+ export interface ForwardingPolicySet {
1628
1848
  /**
1629
- * <p>支持&#39;BGP&#39;, &#39;QUALITY_BGP&#39;, &#39;STATIC_IP&#39;,默认BGP。</p><p>枚举值:</p><ul><li>BGP: BGP</li><li>STATIC_IP: 三网</li><li>QUALITY_BGP: 精品BGP</li></ul>
1849
+ * 全球加速实例ID。
1630
1850
  */
1631
- IspType?: string;
1851
+ GlobalAcceleratorId?: string;
1632
1852
  /**
1633
- * <p>仅支持IPv4,默认是IPv4。</p>
1853
+ * 监听器ID。
1634
1854
  */
1635
- IpVersion?: string;
1855
+ ListenerId?: string;
1636
1856
  /**
1637
- * <p>加速地域ID。</p>
1857
+ * 策略ID
1638
1858
  */
1639
- AcceleratorAreaId?: string;
1859
+ ForwardingPolicyId?: string;
1640
1860
  /**
1641
- * <p>IP。</p>
1861
+ * 域名。
1642
1862
  */
1643
- IpAddress?: Array<string>;
1863
+ Host?: string;
1644
1864
  /**
1645
- * <p>IP信息。</p>
1646
- 注意:此字段可能返回 null,表示取不到有效值。
1865
+ * 是否为默认域名。
1647
1866
  */
1648
- IpAddressInfoSet?: Array<IpAddressInfoSet>;
1867
+ DefaultHostFlag?: boolean;
1649
1868
  }
1650
1869
  /**
1651
1870
  * ModifyEndpointGroup返回参数结构体
@@ -1661,93 +1880,90 @@ export interface ModifyEndpointGroupResponse {
1661
1880
  RequestId?: string;
1662
1881
  }
1663
1882
  /**
1664
- * CreateEndpointGroup请求参数结构体
1883
+ * DescribeAccelerateAreas请求参数结构体
1665
1884
  */
1666
- export interface CreateEndpointGroupRequest {
1885
+ export interface DescribeAccelerateAreasRequest {
1667
1886
  /**
1668
1887
  * <p>全球加速实例ID。</p>
1669
1888
  */
1670
1889
  GlobalAcceleratorId: string;
1671
1890
  /**
1672
- * <p>监听器ID。</p>
1891
+ * <p>偏移量。默认为0。</p>
1673
1892
  */
1674
- ListenerId: string;
1893
+ Offset?: number;
1675
1894
  /**
1676
- * <p>终端节点组类型。</p><p>枚举值:</p><ul><li>VIRTUAL: 自定义终端节点组</li><li>DEFAULT: 默认终端节点组</li></ul>
1895
+ * <p>符合条件实例数量。默认为20,最大200。</p>
1677
1896
  */
1678
- EndpointGroupType: string;
1897
+ Limit?: number;
1679
1898
  /**
1680
- * <p>终端节点组配置。</p>
1899
+ * <p>过滤条件。 accelerate-region- String -(过滤条件)终端节点组地域。</p>
1681
1900
  */
1682
- EndpointGroupConfiguration: EndpointGroupConfiguration;
1901
+ Filters?: Array<Filter>;
1683
1902
  }
1684
1903
  /**
1685
- * ReplaceListenerAdditionalCert请求参数结构体
1904
+ * DescribeCrossBorderSettlement返回参数结构体
1686
1905
  */
1687
- export interface ReplaceListenerAdditionalCertRequest {
1906
+ export interface DescribeCrossBorderSettlementResponse {
1688
1907
  /**
1689
- * 全球加速实例ID。
1908
+ * 流量用量,单位是GB;精度为保留小数点6位。
1690
1909
  */
1691
- GlobalAcceleratorId: string;
1910
+ Traffic?: number;
1692
1911
  /**
1693
- * 监听器ID。
1912
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
1694
1913
  */
1695
- ListenerId: string;
1914
+ RequestId?: string;
1915
+ }
1916
+ /**
1917
+ * DeleteAccelerateAreas请求参数结构体
1918
+ */
1919
+ export interface DeleteAccelerateAreasRequest {
1696
1920
  /**
1697
- * 证书ID。
1921
+ * 全球加速实例ID。
1698
1922
  */
1699
- AdditionalCertificate: string;
1923
+ GlobalAcceleratorId: string;
1700
1924
  /**
1701
- * 旧的证书ID。
1925
+ * 加速地域ID。
1702
1926
  */
1703
- OldCertificate: string;
1927
+ AcceleratorAreaIds: Array<string>;
1704
1928
  }
1705
1929
  /**
1706
- * CreateEndpointGroup返回参数结构体
1930
+ * DeleteAccelerateAreas返回参数结构体
1707
1931
  */
1708
- export interface CreateEndpointGroupResponse {
1932
+ export interface DeleteAccelerateAreasResponse {
1709
1933
  /**
1710
- * <p>任务ID。</p>
1934
+ * 异步任务ID
1711
1935
  */
1712
1936
  TaskId?: string;
1713
- /**
1714
- * <p>终端节点组实例ID。</p>
1715
- */
1716
- EndpointGroupId?: string;
1717
1937
  /**
1718
1938
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1719
1939
  */
1720
1940
  RequestId?: string;
1721
1941
  }
1722
1942
  /**
1723
- * CreateListenerAdditionalCert请求参数结构体
1943
+ * ModifyForwardingRule返回参数结构体
1724
1944
  */
1725
- export interface CreateListenerAdditionalCertRequest {
1726
- /**
1727
- * <p>全球加速实例ID。</p>
1728
- */
1729
- GlobalAcceleratorId: string;
1945
+ export interface ModifyForwardingRuleResponse {
1730
1946
  /**
1731
- * <p>监听器ID。</p>
1947
+ * <p>异步任务ID。</p>
1732
1948
  */
1733
- ListenerId: string;
1949
+ TaskId?: string;
1734
1950
  /**
1735
- * <p>证书ID。</p><p>当前只能添加服务器证书。</p>
1951
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1736
1952
  */
1737
- AdditionalCertificates: Array<string>;
1953
+ RequestId?: string;
1738
1954
  }
1739
1955
  /**
1740
- * DeleteForwardingPolicy返回参数结构体
1956
+ * ModifyAccelerateAreas请求参数结构体
1741
1957
  */
1742
- export interface DeleteForwardingPolicyResponse {
1958
+ export interface ModifyAccelerateAreasRequest {
1743
1959
  /**
1744
- * 异步任务ID
1960
+ * <p>全球加速实例ID。</p>
1745
1961
  */
1746
- TaskId?: string;
1962
+ GlobalAcceleratorId: string;
1747
1963
  /**
1748
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1964
+ * <p>加速地域信息。</p><p>入参限制:数组长度不能超过10。</p>
1749
1965
  */
1750
- RequestId?: string;
1966
+ AcceleratorAreas: Array<AcceleratorAreas>;
1751
1967
  }
1752
1968
  /**
1753
1969
  * CreateGlobalAccelerator返回参数结构体
@@ -1767,112 +1983,121 @@ export interface CreateGlobalAcceleratorResponse {
1767
1983
  RequestId?: string;
1768
1984
  }
1769
1985
  /**
1770
- * DescribeGlobalAccelerators返回参数结构体
1986
+ * DescribeListeners请求参数结构体
1771
1987
  */
1772
- export interface DescribeGlobalAcceleratorsResponse {
1988
+ export interface DescribeListenersRequest {
1773
1989
  /**
1774
- * <p>符合条件的全球加速实例。</p>
1990
+ * 全球加速实例ID。
1775
1991
  */
1776
- GlobalAcceleratorSet?: Array<GlobalAcceleratorSet>;
1992
+ GlobalAcceleratorId: string;
1777
1993
  /**
1778
- * <p>符合条件的实例个数。</p>
1994
+ * 偏移量,默认为0。
1779
1995
  */
1780
- TotalCount?: number;
1996
+ Offset?: number;
1781
1997
  /**
1782
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
1998
+ * 返回数量,默认为20,最大值为100
1783
1999
  */
1784
- RequestId?: string;
2000
+ Limit?: number;
2001
+ /**
2002
+ * 过滤条件。 listener-id- String -(过滤条件)监听器实例ID。
2003
+ */
2004
+ Filters?: Array<Filter>;
1785
2005
  }
1786
2006
  /**
1787
- * CreateForwardingRule返回参数结构体
2007
+ * DescribeForwardingPolicy请求参数结构体
1788
2008
  */
1789
- export interface CreateForwardingRuleResponse {
1790
- /**
1791
- * <p>异步任务ID。</p>
1792
- */
1793
- TaskId?: string;
2009
+ export interface DescribeForwardingPolicyRequest {
1794
2010
  /**
1795
- * <p>七层转发规则ID。</p>
2011
+ * 全球加速实例ID
1796
2012
  */
1797
- ForwardingRuleId?: string;
2013
+ GlobalAcceleratorId: string;
1798
2014
  /**
1799
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
2015
+ * 监听器ID。
1800
2016
  */
1801
- RequestId?: string;
1802
- }
1803
- /**
1804
- * 端口映射
1805
- */
1806
- export interface PortOverride {
2017
+ ListenerId: string;
1807
2018
  /**
1808
- * 监听端口。
1809
- 注意:此字段可能返回 null,表示取不到有效值。
2019
+ * 偏移量,默认为0。
1810
2020
  */
1811
- ListenerPort: number;
2021
+ Offset?: number;
1812
2022
  /**
1813
- * 映射端口。
1814
- 注意:此字段可能返回 null,表示取不到有效值。
2023
+ * 返回数量,默认为20,最大值为100。
1815
2024
  */
1816
- EndpointPort: number;
2025
+ Limit?: number;
1817
2026
  }
1818
2027
  /**
1819
- * ModifyListener请求参数结构体
2028
+ * DeleteForwardingRule请求参数结构体
1820
2029
  */
1821
- export interface ModifyListenerRequest {
2030
+ export interface DeleteForwardingRuleRequest {
1822
2031
  /**
1823
- * <p>全球加速实例ID。</p>
2032
+ * 全球加速实例ID
1824
2033
  */
1825
2034
  GlobalAcceleratorId: string;
1826
2035
  /**
1827
- * <p>监听器ID。</p>
2036
+ * 监听器ID
1828
2037
  */
1829
2038
  ListenerId: string;
1830
2039
  /**
1831
- * <p>名称,最大长度不能超过60个字节。</p>
1832
- */
1833
- Name?: string;
1834
- /**
1835
- * <p>描述信息,最大长度不能超过100个字节。</p>
1836
- */
1837
- Description?: string;
1838
- /**
1839
- * <p>连接空闲等待时间。</p><p>1、HTTP/HTTPS监听器,支持范围为1-60;2、TCP监听器,支持范围为10-900;3、UDP监听器,支持范围为10-20;</p>
2040
+ * 策略ID。
1840
2041
  */
1841
- IdleTimeout?: number;
2042
+ ForwardingPolicyId: string;
1842
2043
  /**
1843
- * <p>是否开启会话保持。</p><p>枚举值:</p><ul><li>Open: 打开。</li><li>Close: 关闭。</li></ul><p>TCP/UDP监听器支持修改此参数。</p>
2044
+ * 七层转发规则ID。
1844
2045
  */
1845
- ClientAffinity?: string;
2046
+ ForwardingRuleId: string;
2047
+ }
2048
+ /**
2049
+ * 回源Header信息
2050
+ */
2051
+ export interface OriginHeader {
1846
2052
  /**
1847
- * <p>会话保持时间。</p><p>取值范围:[60, 3600]</p>
2053
+ * <p>键。</p><p>参数格式:1、字符串只包含可打印的ASCII字符 2、不能包含这些字符()&lt;&gt;@,;:\&quot;/[ ]?={ }</p><p>入参限制:长度在1-40。</p>
2054
+ 注意:此字段可能返回 null,表示取不到有效值。
1848
2055
  */
1849
- ClientAffinityTime?: number;
2056
+ Key: string;
1850
2057
  /**
1851
- * <p>请求超时时间。</p><p>取值范围:[1, 180]</p><p>HTTPS监听器才支持此参数修改。</p>
2058
+ * <p>值。</p><p>入参限制:长度不能超过128</p><p>如果字符串包含$,那仅能配置&#39;$remote_addr&#39;, &#39;$remote_port&#39;,否则不支持。</p>
2059
+ 注意:此字段可能返回 null,表示取不到有效值。
1852
2060
  */
1853
- RequestTimeout?: number;
2061
+ Value: string;
2062
+ }
2063
+ /**
2064
+ * DeleteListener返回参数结构体
2065
+ */
2066
+ export interface DeleteListenerResponse {
1854
2067
  /**
1855
- * <p>是否打开七层获取源IP方式。</p><p>HTTPS/HTTP监听器才支持此参数修改。</p>
2068
+ * 任务ID。
1856
2069
  */
1857
- XForwardedForRealIp?: boolean;
2070
+ TaskId?: string;
1858
2071
  /**
1859
- * <p>解析方式。</p><p>枚举值:</p><ul><li>UNIDIRECTIONAL: 双向。</li><li>MUTUAL: 单向。</li></ul><p>HTTPS/HTTP监听器才支持修改此参数。</p>
2072
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1860
2073
  */
1861
- CertificationType?: string;
2074
+ RequestId?: string;
2075
+ }
2076
+ /**
2077
+ * DeleteGlobalAcceleratorAclPolicy请求参数结构体
2078
+ */
2079
+ export interface DeleteGlobalAcceleratorAclPolicyRequest {
1862
2080
  /**
1863
- * <p>加密算法套件。</p><p>入参限制:支持选择tls_policy_1.0-2&#39;, &#39;tls_policy_1.1-2&#39;, &#39;tls_policy_1.2&#39;, &#39;tls_policy_1.2_strict&#39;, &#39;tls_policy_1.2_strict-1.3&#39;。</p><p>HTTPS监听器才支持此参数修改。</p>
2081
+ * 全球加速实例ID。
1864
2082
  */
1865
- CipherPolicyId?: string;
2083
+ GlobalAcceleratorId: string;
1866
2084
  /**
1867
- * <p>服务器证书。</p><p>HTTPS监听器才支持此参数修改。</p>
2085
+ * 访问控制策略ID。
1868
2086
  */
1869
- ServerCertificates?: Array<string>;
2087
+ GlobalAcceleratorAclPolicyId: string;
2088
+ }
2089
+ /**
2090
+ * 端口映射
2091
+ */
2092
+ export interface PortOverride {
1870
2093
  /**
1871
- * <p>客户端证书。</p><p>HTTPS监听器才支持此参数修改,并且开启双向认证。</p>
2094
+ * 监听端口。
2095
+ 注意:此字段可能返回 null,表示取不到有效值。
1872
2096
  */
1873
- ClientCaCertificates?: Array<string>;
2097
+ ListenerPort: number;
1874
2098
  /**
1875
- * <p>获取源IP方式。</p><p>入参限制:支持选择&#39;ProxyProtocol&#39;, &#39;Close&#39;, &#39;ProxyProtocolV2&#39;, &#39;TOA&#39;。</p><p>TCP监听器才支持此参数修改。</p>
2099
+ * 映射端口。
2100
+ 注意:此字段可能返回 null,表示取不到有效值。
1876
2101
  */
1877
- GetRealIpType?: string;
2102
+ EndpointPort: number;
1878
2103
  }