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