@ucloud-sdks/ucloud-sdk-js 0.2.26 → 0.2.28
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.
|
@@ -21,6 +21,18 @@ export default class UWSCClient extends Client {
|
|
|
21
21
|
* See also: https://docs.ucloud.cn/api/uwsc-api/bind_cpe
|
|
22
22
|
*/
|
|
23
23
|
bindCPE(request?: BindCPERequest): Promise<BindCPEResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* CreateCEGateway - 创建CE客户网关
|
|
26
|
+
*
|
|
27
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/create_ce_gateway
|
|
28
|
+
*/
|
|
29
|
+
createCEGateway(request?: CreateCEGatewayRequest): Promise<CreateCEGatewayResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* CreateCETunnel - 创建隧道
|
|
32
|
+
*
|
|
33
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/create_ce_tunnel
|
|
34
|
+
*/
|
|
35
|
+
createCETunnel(request?: CreateCETunnelRequest): Promise<CreateCETunnelResponse>;
|
|
24
36
|
/**
|
|
25
37
|
* CreateCPE - 创建 CPE
|
|
26
38
|
*
|
|
@@ -33,6 +45,24 @@ export default class UWSCClient extends Client {
|
|
|
33
45
|
* See also: https://docs.ucloud.cn/api/uwsc-api/create_export_line
|
|
34
46
|
*/
|
|
35
47
|
createExportLine(request?: CreateExportLineRequest): Promise<CreateExportLineResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* CreatePOPGW - 创建UWAN虚拟路由器
|
|
50
|
+
*
|
|
51
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/create_popgw
|
|
52
|
+
*/
|
|
53
|
+
createPOPGW(request?: CreatePOPGWRequest): Promise<CreatePOPGWResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* DeleteCEGateway - 删除CE网关
|
|
56
|
+
*
|
|
57
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_ce_gateway
|
|
58
|
+
*/
|
|
59
|
+
deleteCEGateway(request?: DeleteCEGatewayRequest): Promise<DeleteCEGatewayResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* DeleteCETunnel - 删除隧道
|
|
62
|
+
*
|
|
63
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_ce_tunnel
|
|
64
|
+
*/
|
|
65
|
+
deleteCETunnel(request?: DeleteCETunnelRequest): Promise<DeleteCETunnelResponse>;
|
|
36
66
|
/**
|
|
37
67
|
* DeleteExportLine - 删除加速线路
|
|
38
68
|
*
|
|
@@ -45,6 +75,24 @@ export default class UWSCClient extends Client {
|
|
|
45
75
|
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_export_line_rules
|
|
46
76
|
*/
|
|
47
77
|
deleteExportLineRules(request?: DeleteExportLineRulesRequest): Promise<DeleteExportLineRulesResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* DeletePOPGW - 删除UWAN虚拟路由器
|
|
80
|
+
*
|
|
81
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_popgw
|
|
82
|
+
*/
|
|
83
|
+
deletePOPGW(request?: DeletePOPGWRequest): Promise<DeletePOPGWResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* DescribeCEGateway - 查询CE网关,优先级 Region > PopGwId > VPNId
|
|
86
|
+
*
|
|
87
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_ce_gateway
|
|
88
|
+
*/
|
|
89
|
+
describeCEGateway(request?: DescribeCEGatewayRequest): Promise<DescribeCEGatewayResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* DescribeCETunnel - 查询隧道
|
|
92
|
+
*
|
|
93
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_ce_tunnel
|
|
94
|
+
*/
|
|
95
|
+
describeCETunnel(request?: DescribeCETunnelRequest): Promise<DescribeCETunnelResponse>;
|
|
48
96
|
/**
|
|
49
97
|
* DescribeCPE - 查询 CPE 信息
|
|
50
98
|
*
|
|
@@ -63,12 +111,54 @@ export default class UWSCClient extends Client {
|
|
|
63
111
|
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_export_line_rules
|
|
64
112
|
*/
|
|
65
113
|
describeExportLineRules(request?: DescribeExportLineRulesRequest): Promise<DescribeExportLineRulesResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* DescribePOPGW - 查询UWAN虚拟路由器
|
|
116
|
+
*
|
|
117
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_popgw
|
|
118
|
+
*/
|
|
119
|
+
describePOPGW(request?: DescribePOPGWRequest): Promise<DescribePOPGWResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* ListAvailableRegion - 获取可用地域
|
|
122
|
+
*
|
|
123
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/list_available_region
|
|
124
|
+
*/
|
|
125
|
+
listAvailableRegion(request?: ListAvailableRegionRequest): Promise<ListAvailableRegionResponse>;
|
|
126
|
+
/**
|
|
127
|
+
* UpdateBWPackage - 更新UWSC带宽包
|
|
128
|
+
*
|
|
129
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_bw_package
|
|
130
|
+
*/
|
|
131
|
+
updateBWPackage(request?: UpdateBWPackageRequest): Promise<UpdateBWPackageResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* UpdateCEGateway - 更新CE网关
|
|
134
|
+
*
|
|
135
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_ce_gateway
|
|
136
|
+
*/
|
|
137
|
+
updateCEGateway(request?: UpdateCEGatewayRequest): Promise<UpdateCEGatewayResponse>;
|
|
138
|
+
/**
|
|
139
|
+
* UpdateCETunnel - 更新隧道配置
|
|
140
|
+
*
|
|
141
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_ce_tunnel
|
|
142
|
+
*/
|
|
143
|
+
updateCETunnel(request?: UpdateCETunnelRequest): Promise<UpdateCETunnelResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* UpdateCETunnelAttribute - 更新隧道属性
|
|
146
|
+
*
|
|
147
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_ce_tunnel_attribute
|
|
148
|
+
*/
|
|
149
|
+
updateCETunnelAttribute(request?: UpdateCETunnelAttributeRequest): Promise<UpdateCETunnelAttributeResponse>;
|
|
66
150
|
/**
|
|
67
151
|
* UpdateExportLine - 修改加速线路
|
|
68
152
|
*
|
|
69
153
|
* See also: https://docs.ucloud.cn/api/uwsc-api/update_export_line
|
|
70
154
|
*/
|
|
71
155
|
updateExportLine(request?: UpdateExportLineRequest): Promise<UpdateExportLineResponse>;
|
|
156
|
+
/**
|
|
157
|
+
* UpdatePOPGWAttribute - 更新UWAN虚拟路由器属性
|
|
158
|
+
*
|
|
159
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_popgw_attribute
|
|
160
|
+
*/
|
|
161
|
+
updatePOPGWAttribute(request?: UpdatePOPGWAttributeRequest): Promise<UpdatePOPGWAttributeResponse>;
|
|
72
162
|
/**
|
|
73
163
|
* UpgradeExportLine - 升级加速线路
|
|
74
164
|
*
|
|
@@ -112,6 +202,206 @@ export interface BindCPERequest {
|
|
|
112
202
|
*/
|
|
113
203
|
export interface BindCPEResponse {
|
|
114
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* CreateCEGateway - 创建CE客户网关
|
|
207
|
+
*/
|
|
208
|
+
export interface CreateCEGatewayRequest {
|
|
209
|
+
/**
|
|
210
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
211
|
+
*/
|
|
212
|
+
Zone?: string;
|
|
213
|
+
/**
|
|
214
|
+
* 所属UWAN虚拟路由器资源ID
|
|
215
|
+
*/
|
|
216
|
+
PopGwId: string;
|
|
217
|
+
/**
|
|
218
|
+
* 客户自有公网IP
|
|
219
|
+
*/
|
|
220
|
+
PublicIp: string;
|
|
221
|
+
/**
|
|
222
|
+
* IP类型 枚举值:静态IP(Static) | 动态IP(Dynamic)
|
|
223
|
+
*/
|
|
224
|
+
IpType: string;
|
|
225
|
+
/**
|
|
226
|
+
* 资源名称
|
|
227
|
+
*/
|
|
228
|
+
Name?: string;
|
|
229
|
+
/**
|
|
230
|
+
* 备注
|
|
231
|
+
*/
|
|
232
|
+
Remark?: string;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* CreateCEGateway - 创建CE客户网关
|
|
236
|
+
*/
|
|
237
|
+
export interface CreateCEGatewayResponse {
|
|
238
|
+
/**
|
|
239
|
+
* 客户网关资源 ID
|
|
240
|
+
*/
|
|
241
|
+
VPNId: string;
|
|
242
|
+
/**
|
|
243
|
+
* 请求 ID
|
|
244
|
+
*/
|
|
245
|
+
RequestId?: string;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* CreateCETunnel - 创建隧道
|
|
249
|
+
*/
|
|
250
|
+
export interface CreateCETunnelRequest {
|
|
251
|
+
/**
|
|
252
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
253
|
+
*/
|
|
254
|
+
Zone?: string;
|
|
255
|
+
/**
|
|
256
|
+
* 所属CE网关资源ID
|
|
257
|
+
*/
|
|
258
|
+
VPNId: string;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
*/
|
|
262
|
+
IKEConf?: {
|
|
263
|
+
/**
|
|
264
|
+
* IKE 共享密钥
|
|
265
|
+
*/
|
|
266
|
+
PreSharedKey: string;
|
|
267
|
+
/**
|
|
268
|
+
* IKE 版本,取值: "ike v1","ike v2"
|
|
269
|
+
*/
|
|
270
|
+
Version: string;
|
|
271
|
+
/**
|
|
272
|
+
* IKE 协商模式,主模式(main)/野蛮模式(aggressive),IKE V2时不使用该参数
|
|
273
|
+
*/
|
|
274
|
+
ExchangeMode: string;
|
|
275
|
+
/**
|
|
276
|
+
* IKE 加密算法,取值:"aes128", "aes192", "aes256", "aes512", "3des"
|
|
277
|
+
*/
|
|
278
|
+
EncryptionAlgorithm: string;
|
|
279
|
+
/**
|
|
280
|
+
* IKE 认证算法,取值:"md5", "sha1", "sha2-256"
|
|
281
|
+
*/
|
|
282
|
+
AuthenticationAlgorithm: string;
|
|
283
|
+
/**
|
|
284
|
+
* DH group,指定IKE交换密钥时使用的DH组。取值:"1", "2", "5", "14", "15", "16"
|
|
285
|
+
*/
|
|
286
|
+
DhGroup: string;
|
|
287
|
+
/**
|
|
288
|
+
* 本端标识,取值:“auto”,“<ip-address>”
|
|
289
|
+
*/
|
|
290
|
+
LocalId: string;
|
|
291
|
+
/**
|
|
292
|
+
* 对端标识,取值:“auto”,“<ip-address>”
|
|
293
|
+
*/
|
|
294
|
+
RemoteId: string;
|
|
295
|
+
/**
|
|
296
|
+
* IKE SA的生存周期,取值范围:600-604800
|
|
297
|
+
*/
|
|
298
|
+
SALifeTime: string;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
*/
|
|
303
|
+
IPSecConf?: {
|
|
304
|
+
/**
|
|
305
|
+
* 需要和 VPC 互通的本地数据中心侧的网段,用于第二阶段协商。
|
|
306
|
+
*/
|
|
307
|
+
CENetwork: string[];
|
|
308
|
+
/**
|
|
309
|
+
* IPSec 安全协议,取值:“esp”,“ah”
|
|
310
|
+
*/
|
|
311
|
+
Protocol: string;
|
|
312
|
+
/**
|
|
313
|
+
* IPSec 加密算法,取值:"aes128", "aes192", "aes256", "aes512", "3des"
|
|
314
|
+
*/
|
|
315
|
+
EncryptionAlgorithm: string;
|
|
316
|
+
/**
|
|
317
|
+
* 第二阶段协商的认证算法。取值:md5、sha1、sha2-256。
|
|
318
|
+
*/
|
|
319
|
+
AuthenticationAlgorithm: string;
|
|
320
|
+
/**
|
|
321
|
+
* 第二阶段协商使用的 Diffie-Hellman 密钥交换算法。取值:disabled、1、2、5、14、15、16。
|
|
322
|
+
*/
|
|
323
|
+
PFSDhGroup: string;
|
|
324
|
+
/**
|
|
325
|
+
* 第二阶段协商出的 SA 的生存周期。单位:秒。取值范围:1200~604800
|
|
326
|
+
*/
|
|
327
|
+
SALifeTime: string;
|
|
328
|
+
/**
|
|
329
|
+
* 第二阶段协商出的 SA 的生存周期。单位:字节 KB。取值范围:8000 – 20000000,默认使用SA超时时间
|
|
330
|
+
*/
|
|
331
|
+
SALifetimeBytes?: string;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* IPSec 关闭后动作,枚举值:restart、trap、none
|
|
335
|
+
*/
|
|
336
|
+
CloseAction: string;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
*/
|
|
340
|
+
DPDConf?: {
|
|
341
|
+
/**
|
|
342
|
+
* 是否开启 DPD(对等体存活检测)功能。取值:0(关闭)、1(开启)
|
|
343
|
+
*/
|
|
344
|
+
Enabled: number;
|
|
345
|
+
/**
|
|
346
|
+
* DPD超时后的动作,Enable为1(开启)时有效。可取值为clear(断开)、restart(重试)和 trap(流量触发)
|
|
347
|
+
*/
|
|
348
|
+
Action?: string;
|
|
349
|
+
/**
|
|
350
|
+
* DPD探测间隔时间。dpdEnable为1(开启)时有效。单位为秒,默认为 10
|
|
351
|
+
*/
|
|
352
|
+
Delay?: number;
|
|
353
|
+
/**
|
|
354
|
+
* DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。单位为秒。取值范围为 30-60(IKEv2 默认为 0)
|
|
355
|
+
*/
|
|
356
|
+
Timeout?: number;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* 路由模式,枚举值:感兴趣流(FLow) | BGP(BGP)
|
|
360
|
+
*/
|
|
361
|
+
Mode: string;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
*/
|
|
365
|
+
BGPConf?: {
|
|
366
|
+
/**
|
|
367
|
+
* BGP隧道网段。该网段需是一个在 169.254.0.0/16 内的掩码长度为 30 的网段。
|
|
368
|
+
*/
|
|
369
|
+
TunnelCidr?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Ucloud侧的自治系统号。
|
|
372
|
+
*/
|
|
373
|
+
LocalAsn?: string;
|
|
374
|
+
/**
|
|
375
|
+
* 对端BGP ASN号。
|
|
376
|
+
*/
|
|
377
|
+
PeerAsn?: string;
|
|
378
|
+
/**
|
|
379
|
+
* 云端BGP地址。必须从BGP隧道网段内分配。
|
|
380
|
+
*/
|
|
381
|
+
LocalIp?: string;
|
|
382
|
+
/**
|
|
383
|
+
* 用户端BGP地址。必须从BGP隧道网段内分配。
|
|
384
|
+
*/
|
|
385
|
+
PeerIp?: string;
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* 资源名称
|
|
389
|
+
*/
|
|
390
|
+
Name?: string;
|
|
391
|
+
/**
|
|
392
|
+
* 备注
|
|
393
|
+
*/
|
|
394
|
+
Remark?: string;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* CreateCETunnel - 创建隧道
|
|
398
|
+
*/
|
|
399
|
+
export interface CreateCETunnelResponse {
|
|
400
|
+
/**
|
|
401
|
+
* VPN 隧道 ID
|
|
402
|
+
*/
|
|
403
|
+
VPNTunnelId: string;
|
|
404
|
+
}
|
|
115
405
|
/**
|
|
116
406
|
* CreateCPE - 创建 CPE
|
|
117
407
|
*/
|
|
@@ -216,6 +506,137 @@ export interface CreateExportLineResponse {
|
|
|
216
506
|
*/
|
|
217
507
|
ResourceId: string;
|
|
218
508
|
}
|
|
509
|
+
/**
|
|
510
|
+
* CreatePOPGW - 创建UWAN虚拟路由器
|
|
511
|
+
*/
|
|
512
|
+
export interface CreatePOPGWRequest {
|
|
513
|
+
/**
|
|
514
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
515
|
+
*/
|
|
516
|
+
Zone?: string;
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
*/
|
|
520
|
+
BWConf?: {
|
|
521
|
+
/**
|
|
522
|
+
* 带宽的名称
|
|
523
|
+
*/
|
|
524
|
+
Name: string;
|
|
525
|
+
/**
|
|
526
|
+
* 带宽的计费方式,取值:- fixed-bw:固定带宽计费;- traffic:流量计费。
|
|
527
|
+
*/
|
|
528
|
+
PayMode: string;
|
|
529
|
+
/**
|
|
530
|
+
* UWAN 网关的带宽规格。取值:1-100。单位:Mbps。
|
|
531
|
+
*/
|
|
532
|
+
BwMax: number;
|
|
533
|
+
/**
|
|
534
|
+
* 付费方式,枚举值:- Month:月付;- Year:年付;- Postpadi:后付费(仅支持流量计费方式)
|
|
535
|
+
*/
|
|
536
|
+
ChargeType: string;
|
|
537
|
+
/**
|
|
538
|
+
* 带宽购买时长,默认为 0,代表有效期至月底
|
|
539
|
+
*/
|
|
540
|
+
Quantity?: number;
|
|
541
|
+
/**
|
|
542
|
+
* 产品 ID
|
|
543
|
+
*/
|
|
544
|
+
ProductId?: number;
|
|
545
|
+
/**
|
|
546
|
+
* 优惠券 ID
|
|
547
|
+
*/
|
|
548
|
+
CouponId?: string;
|
|
549
|
+
/**
|
|
550
|
+
* 带宽包备注信息
|
|
551
|
+
*/
|
|
552
|
+
Remark?: string;
|
|
553
|
+
/**
|
|
554
|
+
* 带宽类型,默认为空字符串
|
|
555
|
+
*/
|
|
556
|
+
BwType?: string;
|
|
557
|
+
};
|
|
558
|
+
/**
|
|
559
|
+
* 资源名称
|
|
560
|
+
*/
|
|
561
|
+
Name: string;
|
|
562
|
+
/**
|
|
563
|
+
* UWAN 网关的购买时长,默认为 0,代表有效期至月底。(保持和BWConf.Quantity 相同)
|
|
564
|
+
*/
|
|
565
|
+
Quantity: number;
|
|
566
|
+
/**
|
|
567
|
+
* 资源备注信息
|
|
568
|
+
*/
|
|
569
|
+
Remark?: string;
|
|
570
|
+
/**
|
|
571
|
+
* 付费方式, 枚举值为: - Year:按年付费; - Month: 按月付费;(月付非必填,默认为 0;年付必填。)
|
|
572
|
+
*/
|
|
573
|
+
ChargeType?: string;
|
|
574
|
+
/**
|
|
575
|
+
* 入网类型,仅支持“IPSec”
|
|
576
|
+
*/
|
|
577
|
+
Type?: string;
|
|
578
|
+
/**
|
|
579
|
+
* 代金券ID, 默认不使用
|
|
580
|
+
*/
|
|
581
|
+
CouponId?: string;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* CreatePOPGW - 创建UWAN虚拟路由器
|
|
585
|
+
*/
|
|
586
|
+
export interface CreatePOPGWResponse {
|
|
587
|
+
/**
|
|
588
|
+
* UWAN 网关实例 ID
|
|
589
|
+
*/
|
|
590
|
+
PopGwId?: string;
|
|
591
|
+
/**
|
|
592
|
+
* 请求 ID
|
|
593
|
+
*/
|
|
594
|
+
RequestId?: string;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* DeleteCEGateway - 删除CE网关
|
|
598
|
+
*/
|
|
599
|
+
export interface DeleteCEGatewayRequest {
|
|
600
|
+
/**
|
|
601
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
602
|
+
*/
|
|
603
|
+
Zone?: string;
|
|
604
|
+
/**
|
|
605
|
+
* CE 实例 ID
|
|
606
|
+
*/
|
|
607
|
+
VPNId: string;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* DeleteCEGateway - 删除CE网关
|
|
611
|
+
*/
|
|
612
|
+
export interface DeleteCEGatewayResponse {
|
|
613
|
+
/**
|
|
614
|
+
* 请求 ID
|
|
615
|
+
*/
|
|
616
|
+
RequestId?: string;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* DeleteCETunnel - 删除隧道
|
|
620
|
+
*/
|
|
621
|
+
export interface DeleteCETunnelRequest {
|
|
622
|
+
/**
|
|
623
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
624
|
+
*/
|
|
625
|
+
Zone?: string;
|
|
626
|
+
/**
|
|
627
|
+
* 资源ID
|
|
628
|
+
*/
|
|
629
|
+
VPNTunnelId: string;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* DeleteCETunnel - 删除隧道
|
|
633
|
+
*/
|
|
634
|
+
export interface DeleteCETunnelResponse {
|
|
635
|
+
/**
|
|
636
|
+
* 请求 ID
|
|
637
|
+
*/
|
|
638
|
+
RequestId?: string;
|
|
639
|
+
}
|
|
219
640
|
/**
|
|
220
641
|
* DeleteExportLine - 删除加速线路
|
|
221
642
|
*/
|
|
@@ -239,14 +660,322 @@ export interface DeleteExportLineRulesRequest {
|
|
|
239
660
|
*/
|
|
240
661
|
ResourceId: string;
|
|
241
662
|
/**
|
|
242
|
-
* 白名单类型:Developer、CrossBorder
|
|
663
|
+
* 白名单类型:Developer、CrossBorder
|
|
664
|
+
*/
|
|
665
|
+
RuleTypes: string[];
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* DeleteExportLineRules - 删除加速规则
|
|
669
|
+
*/
|
|
670
|
+
export interface DeleteExportLineRulesResponse {
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* DeletePOPGW - 删除UWAN虚拟路由器
|
|
674
|
+
*/
|
|
675
|
+
export interface DeletePOPGWRequest {
|
|
676
|
+
/**
|
|
677
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
678
|
+
*/
|
|
679
|
+
Zone?: string;
|
|
680
|
+
/**
|
|
681
|
+
* UWAN虚拟路由器资源ID
|
|
682
|
+
*/
|
|
683
|
+
PopGwId: string;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* DeletePOPGW - 删除UWAN虚拟路由器
|
|
687
|
+
*/
|
|
688
|
+
export interface DeletePOPGWResponse {
|
|
689
|
+
/**
|
|
690
|
+
* 请求 ID
|
|
691
|
+
*/
|
|
692
|
+
RequestId?: string;
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* DescribeCEGateway - 查询CE网关,优先级 Region > PopGwId > VPNId
|
|
696
|
+
*/
|
|
697
|
+
export interface DescribeCEGatewayRequest {
|
|
698
|
+
/**
|
|
699
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
700
|
+
*/
|
|
701
|
+
Zone?: string;
|
|
702
|
+
/**
|
|
703
|
+
* UWAN 实例 ID
|
|
704
|
+
*/
|
|
705
|
+
PopGwId?: string;
|
|
706
|
+
/**
|
|
707
|
+
* CE 实例 ID
|
|
708
|
+
*/
|
|
709
|
+
VPNId?: string;
|
|
710
|
+
/**
|
|
711
|
+
* 偏移量
|
|
712
|
+
*/
|
|
713
|
+
Offset?: number;
|
|
714
|
+
/**
|
|
715
|
+
* 限制量
|
|
716
|
+
*/
|
|
717
|
+
Limit?: number;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* DescribeCEGateway - 查询CE网关,优先级 Region > PopGwId > VPNId
|
|
721
|
+
*/
|
|
722
|
+
export interface DescribeCEGatewayResponse {
|
|
723
|
+
/**
|
|
724
|
+
* 总数
|
|
725
|
+
*/
|
|
726
|
+
TotalCount: number;
|
|
727
|
+
/**
|
|
728
|
+
* CE信息
|
|
729
|
+
*/
|
|
730
|
+
VPNInfos: {
|
|
731
|
+
/**
|
|
732
|
+
* 地域
|
|
733
|
+
*/
|
|
734
|
+
Region?: string;
|
|
735
|
+
/**
|
|
736
|
+
* UWAN 实例 ID
|
|
737
|
+
*/
|
|
738
|
+
PopGwId?: string;
|
|
739
|
+
/**
|
|
740
|
+
* UWAN 资源名称
|
|
741
|
+
*/
|
|
742
|
+
PopGwName?: string;
|
|
743
|
+
/**
|
|
744
|
+
* CE 网关 ID
|
|
745
|
+
*/
|
|
746
|
+
VPNId?: string;
|
|
747
|
+
/**
|
|
748
|
+
* 子隧道 ID
|
|
749
|
+
*/
|
|
750
|
+
VPNTunnelIds?: string[];
|
|
751
|
+
/**
|
|
752
|
+
* CE 名称
|
|
753
|
+
*/
|
|
754
|
+
Name?: string;
|
|
755
|
+
/**
|
|
756
|
+
* 客户自有外网 IP
|
|
757
|
+
*/
|
|
758
|
+
PublicIp?: string;
|
|
759
|
+
/**
|
|
760
|
+
* CE网关的接入方式:静态IP(Static),动态IP(Dynamic)
|
|
761
|
+
*/
|
|
762
|
+
IpType?: string;
|
|
763
|
+
/**
|
|
764
|
+
* 状态(默认为空)
|
|
765
|
+
*/
|
|
766
|
+
Status?: string;
|
|
767
|
+
/**
|
|
768
|
+
* 创建时间
|
|
769
|
+
*/
|
|
770
|
+
CreateTime?: number;
|
|
771
|
+
/**
|
|
772
|
+
* CE备注
|
|
773
|
+
*/
|
|
774
|
+
Remark?: string;
|
|
775
|
+
}[];
|
|
776
|
+
/**
|
|
777
|
+
* 请求 ID
|
|
778
|
+
*/
|
|
779
|
+
RequestId?: string;
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* DescribeCETunnel - 查询隧道
|
|
783
|
+
*/
|
|
784
|
+
export interface DescribeCETunnelRequest {
|
|
785
|
+
/**
|
|
786
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
787
|
+
*/
|
|
788
|
+
Zone?: string;
|
|
789
|
+
/**
|
|
790
|
+
* CE 网关 ID
|
|
791
|
+
*/
|
|
792
|
+
VPNId?: string;
|
|
793
|
+
/**
|
|
794
|
+
* 隧道 ID
|
|
795
|
+
*/
|
|
796
|
+
VPNTunnelId?: string;
|
|
797
|
+
/**
|
|
798
|
+
* 列表起始位置偏移量,默认为0
|
|
799
|
+
*/
|
|
800
|
+
Offset?: number;
|
|
801
|
+
/**
|
|
802
|
+
* 返回数据长度,默认为20,最大100
|
|
803
|
+
*/
|
|
804
|
+
Limit?: number;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* DescribeCETunnel - 查询隧道
|
|
808
|
+
*/
|
|
809
|
+
export interface DescribeCETunnelResponse {
|
|
810
|
+
/**
|
|
811
|
+
* 总数
|
|
812
|
+
*/
|
|
813
|
+
TotalCount: number;
|
|
814
|
+
/**
|
|
815
|
+
* 隧道信息
|
|
816
|
+
*/
|
|
817
|
+
VPNTunnelInfos: {
|
|
818
|
+
/**
|
|
819
|
+
* 地域
|
|
820
|
+
*/
|
|
821
|
+
Region?: string;
|
|
822
|
+
/**
|
|
823
|
+
* CE 网关 ID
|
|
824
|
+
*/
|
|
825
|
+
VPNId?: string;
|
|
826
|
+
/**
|
|
827
|
+
* 隧道 ID
|
|
828
|
+
*/
|
|
829
|
+
VPNTunnelId?: string;
|
|
830
|
+
/**
|
|
831
|
+
* 隧道名称
|
|
832
|
+
*/
|
|
833
|
+
Name?: string;
|
|
834
|
+
/**
|
|
835
|
+
* 备注
|
|
836
|
+
*/
|
|
837
|
+
Remark?: string;
|
|
838
|
+
/**
|
|
839
|
+
* 创建时间
|
|
840
|
+
*/
|
|
841
|
+
CreateTime?: number;
|
|
842
|
+
/**
|
|
843
|
+
* IKE 配置信息
|
|
844
|
+
*/
|
|
845
|
+
IKEConf?: {
|
|
846
|
+
/**
|
|
847
|
+
* 预共享密钥
|
|
848
|
+
*/
|
|
849
|
+
PreSharedKey?: string;
|
|
850
|
+
/**
|
|
851
|
+
* 版本
|
|
852
|
+
*/
|
|
853
|
+
Version?: string;
|
|
854
|
+
/**
|
|
855
|
+
* 协商模式
|
|
856
|
+
*/
|
|
857
|
+
ExchangeMode?: string;
|
|
858
|
+
/**
|
|
859
|
+
* 加密算法
|
|
860
|
+
*/
|
|
861
|
+
EncryptionAlgorithm?: string;
|
|
862
|
+
/**
|
|
863
|
+
* 认证算法
|
|
864
|
+
*/
|
|
865
|
+
AuthenticationAlgorithm?: string;
|
|
866
|
+
/**
|
|
867
|
+
* 分组信息
|
|
868
|
+
*/
|
|
869
|
+
DhGroup?: string;
|
|
870
|
+
/**
|
|
871
|
+
* 本端标识
|
|
872
|
+
*/
|
|
873
|
+
LocalId?: string;
|
|
874
|
+
/**
|
|
875
|
+
* 对端标识
|
|
876
|
+
*/
|
|
877
|
+
RemoteId?: string;
|
|
878
|
+
/**
|
|
879
|
+
* IKE SA的生存周期
|
|
880
|
+
*/
|
|
881
|
+
SALifeTime?: string;
|
|
882
|
+
};
|
|
883
|
+
/**
|
|
884
|
+
* IPSec 配置信息
|
|
885
|
+
*/
|
|
886
|
+
IPSecConf?: {
|
|
887
|
+
/**
|
|
888
|
+
* 客户网段
|
|
889
|
+
*/
|
|
890
|
+
CENetwork?: string[];
|
|
891
|
+
/**
|
|
892
|
+
* 安全协议
|
|
893
|
+
*/
|
|
894
|
+
Protocol?: string;
|
|
895
|
+
/**
|
|
896
|
+
* 加密算法
|
|
897
|
+
*/
|
|
898
|
+
EncryptionAlgorithm?: string;
|
|
899
|
+
/**
|
|
900
|
+
* 认证算法
|
|
901
|
+
*/
|
|
902
|
+
AuthenticationAlgorithm?: string;
|
|
903
|
+
/**
|
|
904
|
+
* 第二阶段协商使用的 Diffie-Hellman 密钥交换算法
|
|
905
|
+
*/
|
|
906
|
+
PFSDhGroup?: string;
|
|
907
|
+
/**
|
|
908
|
+
* 第二阶段的 SA 的生存周期
|
|
909
|
+
*/
|
|
910
|
+
SALifeTime?: string;
|
|
911
|
+
/**
|
|
912
|
+
* 第二阶段的 SA 的生存周期
|
|
913
|
+
*/
|
|
914
|
+
SALifetimeBytes?: string;
|
|
915
|
+
};
|
|
916
|
+
/**
|
|
917
|
+
* 隧道关闭后动作
|
|
918
|
+
*/
|
|
919
|
+
CloseAction?: string;
|
|
920
|
+
/**
|
|
921
|
+
* BGP 配置信息
|
|
922
|
+
*/
|
|
923
|
+
BGPConf?: {
|
|
924
|
+
/**
|
|
925
|
+
* BGP隧道网段
|
|
926
|
+
*/
|
|
927
|
+
TunnelCidr?: string;
|
|
928
|
+
/**
|
|
929
|
+
* 本端自治系统号
|
|
930
|
+
*/
|
|
931
|
+
LocalAsn?: number;
|
|
932
|
+
/**
|
|
933
|
+
* 对端自治系统号
|
|
934
|
+
*/
|
|
935
|
+
PeerAsn?: number;
|
|
936
|
+
/**
|
|
937
|
+
* 云端BGP地址
|
|
938
|
+
*/
|
|
939
|
+
LocalIp?: string;
|
|
940
|
+
/**
|
|
941
|
+
* 用户端BGP地址
|
|
942
|
+
*/
|
|
943
|
+
PeerIp?: string;
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* 路由模式
|
|
947
|
+
*/
|
|
948
|
+
Mode?: string;
|
|
949
|
+
/**
|
|
950
|
+
* DPD 配置信息
|
|
951
|
+
*/
|
|
952
|
+
DPDConf?: {
|
|
953
|
+
/**
|
|
954
|
+
* 是否开启 DPD
|
|
955
|
+
*/
|
|
956
|
+
Enabled: number;
|
|
957
|
+
/**
|
|
958
|
+
* DPD 行为
|
|
959
|
+
*/
|
|
960
|
+
Action: string;
|
|
961
|
+
/**
|
|
962
|
+
* DPD 探测间隔时间
|
|
963
|
+
*/
|
|
964
|
+
Delay: number;
|
|
965
|
+
/**
|
|
966
|
+
* DPD 探测超时时间
|
|
967
|
+
*/
|
|
968
|
+
Timeout: number;
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* 隧道协商动作
|
|
972
|
+
*/
|
|
973
|
+
StartAction?: string;
|
|
974
|
+
}[];
|
|
975
|
+
/**
|
|
976
|
+
* 请求 ID
|
|
243
977
|
*/
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* DeleteExportLineRules - 删除加速规则
|
|
248
|
-
*/
|
|
249
|
-
export interface DeleteExportLineRulesResponse {
|
|
978
|
+
RequestId?: string;
|
|
250
979
|
}
|
|
251
980
|
/**
|
|
252
981
|
* DescribeCPE - 查询 CPE 信息
|
|
@@ -486,6 +1215,402 @@ export interface DescribeExportLineRulesResponse {
|
|
|
486
1215
|
Remark?: string;
|
|
487
1216
|
}[];
|
|
488
1217
|
}
|
|
1218
|
+
/**
|
|
1219
|
+
* DescribePOPGW - 查询UWAN虚拟路由器
|
|
1220
|
+
*/
|
|
1221
|
+
export interface DescribePOPGWRequest {
|
|
1222
|
+
/**
|
|
1223
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
1224
|
+
*/
|
|
1225
|
+
Zone?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* UWAN 实例 ID
|
|
1228
|
+
*/
|
|
1229
|
+
PopGwId: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* 偏移量
|
|
1232
|
+
*/
|
|
1233
|
+
Offset?: number;
|
|
1234
|
+
/**
|
|
1235
|
+
* 限制量
|
|
1236
|
+
*/
|
|
1237
|
+
Limit?: number;
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
* DescribePOPGW - 查询UWAN虚拟路由器
|
|
1241
|
+
*/
|
|
1242
|
+
export interface DescribePOPGWResponse {
|
|
1243
|
+
/**
|
|
1244
|
+
* 总数
|
|
1245
|
+
*/
|
|
1246
|
+
TotalCount: number;
|
|
1247
|
+
/**
|
|
1248
|
+
* UWAN 实例信息
|
|
1249
|
+
*/
|
|
1250
|
+
POPGWInfos: {
|
|
1251
|
+
/**
|
|
1252
|
+
* 地域信息
|
|
1253
|
+
*/
|
|
1254
|
+
Region?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* 网关实例 ID
|
|
1257
|
+
*/
|
|
1258
|
+
PopGwId?: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* 网关名称
|
|
1261
|
+
*/
|
|
1262
|
+
Name?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* 备注
|
|
1265
|
+
*/
|
|
1266
|
+
Remark?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* 创建时间
|
|
1269
|
+
*/
|
|
1270
|
+
CreateTime?: number;
|
|
1271
|
+
/**
|
|
1272
|
+
* 带宽包信息
|
|
1273
|
+
*/
|
|
1274
|
+
BWPackageInfo?: {
|
|
1275
|
+
/**
|
|
1276
|
+
* UWAN 网关带宽 ID
|
|
1277
|
+
*/
|
|
1278
|
+
BwId?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* 带宽包名称
|
|
1281
|
+
*/
|
|
1282
|
+
Name?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* 备注
|
|
1285
|
+
*/
|
|
1286
|
+
Remark?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* 计费方式eg:(固定带宽)
|
|
1289
|
+
*/
|
|
1290
|
+
PayMode?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* 付费方式eg:(Month)
|
|
1293
|
+
*/
|
|
1294
|
+
ChargeType?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* 网关外网 IP
|
|
1297
|
+
*/
|
|
1298
|
+
PublicIp?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* 最大带宽值
|
|
1301
|
+
*/
|
|
1302
|
+
BandWidth?: number;
|
|
1303
|
+
/**
|
|
1304
|
+
* 过期时间
|
|
1305
|
+
*/
|
|
1306
|
+
DueTime?: number;
|
|
1307
|
+
};
|
|
1308
|
+
/**
|
|
1309
|
+
* 云联网信息
|
|
1310
|
+
*/
|
|
1311
|
+
UGNInfo?: {
|
|
1312
|
+
/**
|
|
1313
|
+
* 云联网 ID
|
|
1314
|
+
*/
|
|
1315
|
+
UGNId?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* 云联网名称
|
|
1318
|
+
*/
|
|
1319
|
+
UGNName?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* UGN 带宽包信息
|
|
1322
|
+
*/
|
|
1323
|
+
UGNBWInfos?: {
|
|
1324
|
+
/**
|
|
1325
|
+
* UGN带宽包ID
|
|
1326
|
+
*/
|
|
1327
|
+
UGNBWId?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* UGN带宽包名称
|
|
1330
|
+
*/
|
|
1331
|
+
UGNBWName?: string;
|
|
1332
|
+
}[];
|
|
1333
|
+
};
|
|
1334
|
+
/**
|
|
1335
|
+
* CPE数量
|
|
1336
|
+
*/
|
|
1337
|
+
CPENum?: number;
|
|
1338
|
+
/**
|
|
1339
|
+
* 客户网关数量
|
|
1340
|
+
*/
|
|
1341
|
+
CENum?: number;
|
|
1342
|
+
/**
|
|
1343
|
+
* VCPE 数量
|
|
1344
|
+
*/
|
|
1345
|
+
VCPENum?: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* 唯一标识
|
|
1348
|
+
*/
|
|
1349
|
+
VNI?: number;
|
|
1350
|
+
/**
|
|
1351
|
+
* 过期时间
|
|
1352
|
+
*/
|
|
1353
|
+
DueTime?: number;
|
|
1354
|
+
/**
|
|
1355
|
+
* 付费类型
|
|
1356
|
+
*/
|
|
1357
|
+
ChargeType?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* 规格:IPSec、SSL
|
|
1360
|
+
*/
|
|
1361
|
+
Type?: string;
|
|
1362
|
+
}[];
|
|
1363
|
+
/**
|
|
1364
|
+
* 请求 ID
|
|
1365
|
+
*/
|
|
1366
|
+
RequestId?: string;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* ListAvailableRegion - 获取可用地域
|
|
1370
|
+
*/
|
|
1371
|
+
export interface ListAvailableRegionRequest {
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* ListAvailableRegion - 获取可用地域
|
|
1375
|
+
*/
|
|
1376
|
+
export interface ListAvailableRegionResponse {
|
|
1377
|
+
/**
|
|
1378
|
+
* 可用地域
|
|
1379
|
+
*/
|
|
1380
|
+
Region: string[];
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* UpdateBWPackage - 更新UWSC带宽包
|
|
1384
|
+
*/
|
|
1385
|
+
export interface UpdateBWPackageRequest {
|
|
1386
|
+
/**
|
|
1387
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
1388
|
+
*/
|
|
1389
|
+
Zone?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* 带宽包资源ID
|
|
1392
|
+
*/
|
|
1393
|
+
BwId: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* 带宽峰值
|
|
1396
|
+
*/
|
|
1397
|
+
BwMax: number;
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* UpdateBWPackage - 更新UWSC带宽包
|
|
1401
|
+
*/
|
|
1402
|
+
export interface UpdateBWPackageResponse {
|
|
1403
|
+
/**
|
|
1404
|
+
* 请求 ID
|
|
1405
|
+
*/
|
|
1406
|
+
RequestId?: string;
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* UpdateCEGateway - 更新CE网关
|
|
1410
|
+
*/
|
|
1411
|
+
export interface UpdateCEGatewayRequest {
|
|
1412
|
+
/**
|
|
1413
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
1414
|
+
*/
|
|
1415
|
+
Zone?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* CE网关资源ID
|
|
1418
|
+
*/
|
|
1419
|
+
VPNId: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* 公网IP
|
|
1422
|
+
*/
|
|
1423
|
+
PublicIp?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* 资源名称
|
|
1426
|
+
*/
|
|
1427
|
+
Name?: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* 备注
|
|
1430
|
+
*/
|
|
1431
|
+
Remark?: string;
|
|
1432
|
+
}
|
|
1433
|
+
/**
|
|
1434
|
+
* UpdateCEGateway - 更新CE网关
|
|
1435
|
+
*/
|
|
1436
|
+
export interface UpdateCEGatewayResponse {
|
|
1437
|
+
/**
|
|
1438
|
+
* 请求 ID
|
|
1439
|
+
*/
|
|
1440
|
+
RequestId?: string;
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1443
|
+
* UpdateCETunnel - 更新隧道配置
|
|
1444
|
+
*/
|
|
1445
|
+
export interface UpdateCETunnelRequest {
|
|
1446
|
+
/**
|
|
1447
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
1448
|
+
*/
|
|
1449
|
+
Zone?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* 资源ID
|
|
1452
|
+
*/
|
|
1453
|
+
VPNTunnelId: string;
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
*/
|
|
1457
|
+
IKEConf?: {
|
|
1458
|
+
/**
|
|
1459
|
+
* IKE 共享密钥
|
|
1460
|
+
*/
|
|
1461
|
+
PreSharedKey: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* IKE 版本,取值: "ike v1","ike v2"
|
|
1464
|
+
*/
|
|
1465
|
+
Version: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* IKE 协商模式,主模式(main)/野蛮模式(aggressive),IKE V2时不使用该参数
|
|
1468
|
+
*/
|
|
1469
|
+
ExchangeMode: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* IKE 加密算法,取值:"aes128", "aes192", "aes256", "aes512", "3des"
|
|
1472
|
+
*/
|
|
1473
|
+
EncryptionAlgorithm: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* IKE 认证算法,取值:"md5", "sha1", "sha2-256"
|
|
1476
|
+
*/
|
|
1477
|
+
AuthenticationAlgorithm: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* DH group,指定IKE交换密钥时使用的DH组。取值:"1", "2", "5", "14", "15", "16"
|
|
1480
|
+
*/
|
|
1481
|
+
DhGroup: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* 本端标识,取值:“auto”,“<ip-address>”
|
|
1484
|
+
*/
|
|
1485
|
+
LocalId: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* 对端标识,取值:“auto”,“<ip-address>”
|
|
1488
|
+
*/
|
|
1489
|
+
RemoteId: string;
|
|
1490
|
+
/**
|
|
1491
|
+
* IKE SA的生存周期,取值范围:600-604800
|
|
1492
|
+
*/
|
|
1493
|
+
SALifeTime: string;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
*/
|
|
1498
|
+
IPSecConf?: {
|
|
1499
|
+
/**
|
|
1500
|
+
* 需要和 VPC 互通的本地数据中心侧的网段,用于第二阶段协商。
|
|
1501
|
+
*/
|
|
1502
|
+
CENetwork: string[];
|
|
1503
|
+
/**
|
|
1504
|
+
* IPSec 安全协议,取值:“esp”,“ah”
|
|
1505
|
+
*/
|
|
1506
|
+
Protocol: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* IPSec 加密算法,取值:"aes128", "aes192", "aes256", "aes512", "3des"
|
|
1509
|
+
*/
|
|
1510
|
+
EncryptionAlgorithm: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* 第二阶段协商的认证算法。取值:md5、sha1、sha2-256。
|
|
1513
|
+
*/
|
|
1514
|
+
AuthenticationAlgorithm: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* 第二阶段协商使用的 Diffie-Hellman 密钥交换算法。取值:disabled、1、2、5、14、15、16。
|
|
1517
|
+
*/
|
|
1518
|
+
PFSDhGroup: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* 第二阶段协商出的 SA 的生存周期。单位:秒。取值范围:1200~604800
|
|
1521
|
+
*/
|
|
1522
|
+
SALifeTime: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* 第二阶段协商出的 SA 的生存周期。单位:字节 KB。取值范围:8000 – 20000000,默认使用SA超时时间
|
|
1525
|
+
*/
|
|
1526
|
+
SALifetimeBytes?: string;
|
|
1527
|
+
};
|
|
1528
|
+
/**
|
|
1529
|
+
* IPSec 关闭后动作,枚举值:restart、trap、none
|
|
1530
|
+
*/
|
|
1531
|
+
CloseAction?: string;
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
*/
|
|
1535
|
+
DPDConf?: {
|
|
1536
|
+
/**
|
|
1537
|
+
* 是否开启 DPD(对等体存活检测)功能。取值:0(关闭)、1(开启)
|
|
1538
|
+
*/
|
|
1539
|
+
Enabled?: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* DPD超时后的动作,Enable为1(开启)时有效。可取值为clear(断开)、restart(重试)和 trap(流量触发)
|
|
1542
|
+
*/
|
|
1543
|
+
Action?: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* DPD探测间隔时间。dpdEnable为1(开启)时有效。单位为秒,默认为 10
|
|
1546
|
+
*/
|
|
1547
|
+
Delay?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。单位为秒。取值范围为 30-60(IKEv2 默认为 0)
|
|
1550
|
+
*/
|
|
1551
|
+
Timeout?: string;
|
|
1552
|
+
};
|
|
1553
|
+
/**
|
|
1554
|
+
*
|
|
1555
|
+
*/
|
|
1556
|
+
BGPConf?: {
|
|
1557
|
+
/**
|
|
1558
|
+
* BGP隧道网段。该网段需是一个在 169.254.0.0/16 内的掩码长度为 30 的网段。
|
|
1559
|
+
*/
|
|
1560
|
+
TunnelCidr?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Ucloud侧的自治系统号。
|
|
1563
|
+
*/
|
|
1564
|
+
LocalAsn?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* 对端BGP ASN号。
|
|
1567
|
+
*/
|
|
1568
|
+
PeerAsn?: string;
|
|
1569
|
+
/**
|
|
1570
|
+
* 云端BGP地址。必须从BGP隧道网段内分配。
|
|
1571
|
+
*/
|
|
1572
|
+
LocalIp?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* 用户端BGP地址。必须从BGP隧道网段内分配。
|
|
1575
|
+
*/
|
|
1576
|
+
PeerIp?: string;
|
|
1577
|
+
};
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* UpdateCETunnel - 更新隧道配置
|
|
1581
|
+
*/
|
|
1582
|
+
export interface UpdateCETunnelResponse {
|
|
1583
|
+
}
|
|
1584
|
+
/**
|
|
1585
|
+
* UpdateCETunnelAttribute - 更新隧道属性
|
|
1586
|
+
*/
|
|
1587
|
+
export interface UpdateCETunnelAttributeRequest {
|
|
1588
|
+
/**
|
|
1589
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
1590
|
+
*/
|
|
1591
|
+
Zone?: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* 资源ID
|
|
1594
|
+
*/
|
|
1595
|
+
VPNTunnelId: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* 资源名称
|
|
1598
|
+
*/
|
|
1599
|
+
Name?: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* 备注
|
|
1602
|
+
*/
|
|
1603
|
+
Remark?: string;
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
* UpdateCETunnelAttribute - 更新隧道属性
|
|
1607
|
+
*/
|
|
1608
|
+
export interface UpdateCETunnelAttributeResponse {
|
|
1609
|
+
/**
|
|
1610
|
+
* 请求 ID
|
|
1611
|
+
*/
|
|
1612
|
+
RequestId?: string;
|
|
1613
|
+
}
|
|
489
1614
|
/**
|
|
490
1615
|
* UpdateExportLine - 修改加速线路
|
|
491
1616
|
*/
|
|
@@ -504,6 +1629,36 @@ export interface UpdateExportLineRequest {
|
|
|
504
1629
|
*/
|
|
505
1630
|
export interface UpdateExportLineResponse {
|
|
506
1631
|
}
|
|
1632
|
+
/**
|
|
1633
|
+
* UpdatePOPGWAttribute - 更新UWAN虚拟路由器属性
|
|
1634
|
+
*/
|
|
1635
|
+
export interface UpdatePOPGWAttributeRequest {
|
|
1636
|
+
/**
|
|
1637
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
1638
|
+
*/
|
|
1639
|
+
Zone?: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* UWAN虚拟路由器资源ID
|
|
1642
|
+
*/
|
|
1643
|
+
PopGwId: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* 资源名称
|
|
1646
|
+
*/
|
|
1647
|
+
Name?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* 备注
|
|
1650
|
+
*/
|
|
1651
|
+
Remark?: string;
|
|
1652
|
+
}
|
|
1653
|
+
/**
|
|
1654
|
+
* UpdatePOPGWAttribute - 更新UWAN虚拟路由器属性
|
|
1655
|
+
*/
|
|
1656
|
+
export interface UpdatePOPGWAttributeResponse {
|
|
1657
|
+
/**
|
|
1658
|
+
* 请求 ID
|
|
1659
|
+
*/
|
|
1660
|
+
RequestId?: string;
|
|
1661
|
+
}
|
|
507
1662
|
/**
|
|
508
1663
|
* UpgradeExportLine - 升级加速线路
|
|
509
1664
|
*/
|