@ucloud-sdks/ucloud-sdk-js 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/lib/core/middlewares.js +1 -1
  2. package/lib/services/cube/index.d.ts +141 -1
  3. package/lib/services/cube/index.js +36 -0
  4. package/lib/services/index.d.ts +1 -0
  5. package/lib/services/index.js +7 -0
  6. package/lib/services/ipsecvpn/index.d.ts +13 -5
  7. package/lib/services/pathx/index.d.ts +986 -60
  8. package/lib/services/pathx/index.js +144 -0
  9. package/lib/services/uaccount/index.d.ts +0 -24
  10. package/lib/services/uaccount/index.js +0 -9
  11. package/lib/services/ubill/index.d.ts +284 -4
  12. package/lib/services/ubill/index.js +18 -0
  13. package/lib/services/ucdn/index.d.ts +1085 -946
  14. package/lib/services/ucdn/index.js +72 -45
  15. package/lib/services/udb/index.d.ts +89 -12
  16. package/lib/services/udb/index.js +21 -3
  17. package/lib/services/udisk/index.d.ts +32 -8
  18. package/lib/services/uec/index.d.ts +68 -8
  19. package/lib/services/uec/index.js +9 -0
  20. package/lib/services/ufile/index.d.ts +288 -0
  21. package/lib/services/ufile/index.js +45 -0
  22. package/lib/services/ufs/index.d.ts +201 -3
  23. package/lib/services/ufs/index.js +45 -0
  24. package/lib/services/uhost/index.d.ts +18 -99
  25. package/lib/services/uk8s/index.d.ts +690 -9
  26. package/lib/services/uk8s/index.js +45 -0
  27. package/lib/services/ulb/index.d.ts +45 -5
  28. package/lib/services/ulb/index.js +9 -0
  29. package/lib/services/umem/index.d.ts +337 -9
  30. package/lib/services/umem/index.js +27 -0
  31. package/lib/services/unet/index.d.ts +175 -6
  32. package/lib/services/unet/index.js +36 -0
  33. package/lib/services/uphost/index.d.ts +221 -25
  34. package/lib/services/uphost/index.js +36 -0
  35. package/lib/services/usms/index.d.ts +23 -3
  36. package/lib/services/uvms/index.d.ts +64 -0
  37. package/lib/services/uvms/index.js +25 -0
  38. package/lib/services/vpc/index.d.ts +390 -19
  39. package/lib/services/vpc/index.js +54 -0
  40. package/package.json +1 -1
@@ -27,6 +27,18 @@ export default class PathXClient extends Client {
27
27
  * See also: https://docs.ucloud.cn/api/pathx-api/create_path_xssl
28
28
  */
29
29
  createPathXSSL(request?: CreatePathXSSLRequest): Promise<CreatePathXSSLResponse>;
30
+ /**
31
+ * CreateUGA3Instance - 创建全球统一接入加速配置项
32
+ *
33
+ * See also: https://docs.ucloud.cn/api/pathx-api/create_uga3_instance
34
+ */
35
+ createUGA3Instance(request?: CreateUGA3InstanceRequest): Promise<CreateUGA3InstanceResponse>;
36
+ /**
37
+ * CreateUGA3Port - 创建统一接入加速实例端口,目前仅支持四层TCP端口
38
+ *
39
+ * See also: https://docs.ucloud.cn/api/pathx-api/create_uga3_port
40
+ */
41
+ createUGA3Port(request?: CreateUGA3PortRequest): Promise<CreateUGA3PortResponse>;
30
42
  /**
31
43
  * CreateUGAForwarder - 创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源
32
44
  *
@@ -57,6 +69,18 @@ export default class PathXClient extends Client {
57
69
  * See also: https://docs.ucloud.cn/api/pathx-api/delete_path_xssl
58
70
  */
59
71
  deletePathXSSL(request?: DeletePathXSSLRequest): Promise<DeletePathXSSLResponse>;
72
+ /**
73
+ * DeleteUGA3Instance - 删除全球统一接入转发实例
74
+ *
75
+ * See also: https://docs.ucloud.cn/api/pathx-api/delete_uga3_instance
76
+ */
77
+ deleteUGA3Instance(request?: DeleteUGA3InstanceRequest): Promise<DeleteUGA3InstanceResponse>;
78
+ /**
79
+ * DeleteUGA3Port - 删除统一接入加速实例转发器 按接入端口删除
80
+ *
81
+ * See also: https://docs.ucloud.cn/api/pathx-api/delete_uga3_port
82
+ */
83
+ deleteUGA3Port(request?: DeleteUGA3PortRequest): Promise<DeleteUGA3PortResponse>;
60
84
  /**
61
85
  * DeleteUGAForwarder - 删除加速实例转发器 按接入端口删除
62
86
  *
@@ -93,6 +117,24 @@ export default class PathXClient extends Client {
93
117
  * See also: https://docs.ucloud.cn/api/pathx-api/describe_path_xssl
94
118
  */
95
119
  describePathXSSL(request?: DescribePathXSSLRequest): Promise<DescribePathXSSLResponse>;
120
+ /**
121
+ * DescribeUGA3Area - 获取全球接入源站可选列表
122
+ *
123
+ * See also: https://docs.ucloud.cn/api/pathx-api/describe_uga3_area
124
+ */
125
+ describeUGA3Area(request?: DescribeUGA3AreaRequest): Promise<DescribeUGA3AreaResponse>;
126
+ /**
127
+ * DescribeUGA3Instance - 获取全球统一接入加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
128
+ *
129
+ * See also: https://docs.ucloud.cn/api/pathx-api/describe_uga3_instance
130
+ */
131
+ describeUGA3Instance(request?: DescribeUGA3InstanceRequest): Promise<DescribeUGA3InstanceResponse>;
132
+ /**
133
+ * DescribeUGA3Optimization - 获取全球接入UGA3线路加速化情况
134
+ *
135
+ * See also: https://docs.ucloud.cn/api/pathx-api/describe_uga3_optimization
136
+ */
137
+ describeUGA3Optimization(request?: DescribeUGA3OptimizationRequest): Promise<DescribeUGA3OptimizationResponse>;
96
138
  /**
97
139
  * DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
98
140
  *
@@ -129,18 +171,66 @@ export default class PathXClient extends Client {
129
171
  * See also: https://docs.ucloud.cn/api/pathx-api/get_path_x_metric
130
172
  */
131
173
  getPathXMetric(request?: GetPathXMetricRequest): Promise<GetPathXMetricResponse>;
174
+ /**
175
+ * GetUGA3Metric - 获取全地域加速监控信息
176
+ *
177
+ * See also: https://docs.ucloud.cn/api/pathx-api/get_uga3_metric
178
+ */
179
+ getUGA3Metric(request?: GetUGA3MetricRequest): Promise<GetUGA3MetricResponse>;
180
+ /**
181
+ * GetUGA3Price - 获取全球统一接入转发实例价格
182
+ *
183
+ * See also: https://docs.ucloud.cn/api/pathx-api/get_uga3_price
184
+ */
185
+ getUGA3Price(request?: GetUGA3PriceRequest): Promise<GetUGA3PriceResponse>;
186
+ /**
187
+ * GetUGA3UpdatePrice - 全球统一接入获取实例更新价格(增加、删退)
188
+ *
189
+ * See also: https://docs.ucloud.cn/api/pathx-api/get_uga3_update_price
190
+ */
191
+ getUGA3UpdatePrice(request?: GetUGA3UpdatePriceRequest): Promise<GetUGA3UpdatePriceResponse>;
132
192
  /**
133
193
  * ModifyGlobalSSHPort - 修改GlobalSSH端口
134
194
  *
135
195
  * See also: https://docs.ucloud.cn/api/pathx-api/modify_global_ssh_port
136
196
  */
137
197
  modifyGlobalSSHPort(request?: ModifyGlobalSSHPortRequest): Promise<ModifyGlobalSSHPortResponse>;
198
+ /**
199
+ * ModifyGlobalSSHRemark - 修改GlobalSSH备注
200
+ *
201
+ * See also: https://docs.ucloud.cn/api/pathx-api/modify_global_ssh_remark
202
+ */
203
+ modifyGlobalSSHRemark(request?: ModifyGlobalSSHRemarkRequest): Promise<ModifyGlobalSSHRemarkResponse>;
138
204
  /**
139
205
  * ModifyGlobalSSHType - 修改GlobalSSH实例类型,仅支持低版本升级到高版本,不支持高版本降级到低版本
140
206
  *
141
207
  * See also: https://docs.ucloud.cn/api/pathx-api/modify_global_ssh_type
142
208
  */
143
209
  modifyGlobalSSHType(request?: ModifyGlobalSSHTypeRequest): Promise<ModifyGlobalSSHTypeResponse>;
210
+ /**
211
+ * ModifyUGA3Bandwidth - 修改统一接入加速配置带宽
212
+ *
213
+ * See also: https://docs.ucloud.cn/api/pathx-api/modify_uga3_bandwidth
214
+ */
215
+ modifyUGA3Bandwidth(request?: ModifyUGA3BandwidthRequest): Promise<ModifyUGA3BandwidthResponse>;
216
+ /**
217
+ * ModifyUGA3Instance - 修改统一接入加速配置属性,如Name,ReMark
218
+ *
219
+ * See also: https://docs.ucloud.cn/api/pathx-api/modify_uga3_instance
220
+ */
221
+ modifyUGA3Instance(request?: ModifyUGA3InstanceRequest): Promise<ModifyUGA3InstanceResponse>;
222
+ /**
223
+ * ModifyUGA3OriginInfo - Domain, IPList注意:修改Domain或IPList时, 请确保源站服务端口已经开启且外网防火墙允许pathx出口ip访问。
224
+ *
225
+ * See also: https://docs.ucloud.cn/api/pathx-api/modify_uga3_origin_info
226
+ */
227
+ modifyUGA3OriginInfo(request?: ModifyUGA3OriginInfoRequest): Promise<ModifyUGA3OriginInfoResponse>;
228
+ /**
229
+ * ModifyUGA3Port - 修改统一接入加速实例端口,目前仅支持四层TCP端口
230
+ *
231
+ * See also: https://docs.ucloud.cn/api/pathx-api/modify_uga3_port
232
+ */
233
+ modifyUGA3Port(request?: ModifyUGA3PortRequest): Promise<ModifyUGA3PortResponse>;
144
234
  /**
145
235
  * ModifyUPathBandwidth - 修改加速线路带宽
146
236
  *
@@ -171,6 +261,12 @@ export default class PathXClient extends Client {
171
261
  * See also: https://docs.ucloud.cn/api/pathx-api/un_bind_path_xssl
172
262
  */
173
263
  unBindPathXSSL(request?: UnBindPathXSSLRequest): Promise<UnBindPathXSSLResponse>;
264
+ /**
265
+ * UpdatePathXWhitelist - 更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效
266
+ *
267
+ * See also: https://docs.ucloud.cn/api/pathx-api/update_path_x_whitelist
268
+ */
269
+ updatePathXWhitelist(request?: UpdatePathXWhitelistRequest): Promise<UpdatePathXWhitelistResponse>;
174
270
  }
175
271
  /**
176
272
  * BindPathXSSL - 绑定PathX SSL证书
@@ -199,7 +295,7 @@ export interface BindPathXSSLResponse {
199
295
  */
200
296
  export interface CreateGlobalSSHInstanceRequest {
201
297
  /**
202
- * 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”。Area和AreaCode两者必填一个
298
+ * 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”,“首尔”。Area和AreaCode两者必填一个
203
299
  */
204
300
  Area: string;
205
301
  /**
@@ -219,15 +315,15 @@ export interface CreateGlobalSSHInstanceRequest {
219
315
  */
220
316
  Remark?: string;
221
317
  /**
222
- * 支付方式,如按月、按年、按时
318
+ * 支付方式,如按月:Month、 按年:Year、按时:Dynamic
223
319
  */
224
320
  ChargeType?: string;
225
321
  /**
226
- * 购买数量
322
+ * 购买数量按月购买至月底请传0
227
323
  */
228
324
  Quantity?: number;
229
325
  /**
230
- * 枚举值:["Enterprise","Basic","Free"], 分别代表企业版,基础版,免费版
326
+ * 枚举值:["Ultimate","Enterprise","Basic","Primary"], 分别代表旗舰版,企业版,基础版,入门版
231
327
  */
232
328
  InstanceType?: string;
233
329
  /**
@@ -235,7 +331,7 @@ export interface CreateGlobalSSHInstanceRequest {
235
331
  */
236
332
  BandwidthPackage?: number;
237
333
  /**
238
- * InstanceType等于Basic时可以在["cn-bj2","cn-sh2","cn-gd"]中选择1个作为转发机房,Free版本固定为cn-bj2,其他付费版默认配置三个转发机房
334
+ * InstanceType等于Basic时可以在["cn-bj2","cn-sh2","cn-gd"]中选择1个作为转发机房,其他付费版默认配置三个转发机房
239
335
  */
240
336
  ForwardRegion?: string;
241
337
  /**
@@ -294,6 +390,86 @@ export interface CreatePathXSSLResponse {
294
390
  */
295
391
  SSLId: string;
296
392
  }
393
+ /**
394
+ * CreateUGA3Instance - 创建全球统一接入加速配置项
395
+ */
396
+ export interface CreateUGA3InstanceRequest {
397
+ /**
398
+ * 实例的共享带宽大小,单位Mbps
399
+ */
400
+ Bandwidth: number;
401
+ /**
402
+ * 加速配置实例名称,默认PathX
403
+ */
404
+ Name?: string;
405
+ /**
406
+ * 非必填,如果不填,会根据Domain 和IPList 去选一个最近的源站区域BKK表示AreaCode;曼谷表示Area["BKK":"曼谷","DXB":"迪拜","FRA":"法兰克福","SGN":"胡志明市","HKG":"香港",CGK":"雅加达","LOS":"拉各斯","LHR":"伦敦","LAX":"洛杉矶","MNL":"马尼拉","DME":"莫斯科","BOM":"孟买","MSP":"圣保罗","ICN":"首尔","PVG":"上海","SIN":"新加坡","NRT":"东京","IAD":"华盛顿","TPE": "台北"]
407
+ */
408
+ AreaCode?: string;
409
+ /**
410
+ * 备注项
411
+ */
412
+ Remark?: string;
413
+ /**
414
+ * 支付方式,如按月、按年、按时[Year,Month,Dynamic]
415
+ */
416
+ ChargeType?: string;
417
+ /**
418
+ * 购买周期
419
+ */
420
+ Quantity?: number;
421
+ /**
422
+ * 加速大区,默认Global,[ "Global":"全球", "AP":"亚太", "EU":"欧洲", "ME":"中东", "OA":"大洋洲", "AF":"非洲", "NA":"北美洲", "SA":"南美洲"]
423
+ */
424
+ AccelerationArea?: string;
425
+ /**
426
+ * 加速源IP,多个IP用英文半角逗号(,)隔开;IPList和Domain二选一必填
427
+ */
428
+ OriginIPList?: string;
429
+ /**
430
+ * 加速源域名,IPList和Domain二选一必填
431
+ */
432
+ OriginDomain?: string;
433
+ /**
434
+ * 使用代金券可冲抵部分费用,仅全地域可用的代金券
435
+ */
436
+ CouponId?: string;
437
+ }
438
+ /**
439
+ * CreateUGA3Instance - 创建全球统一接入加速配置项
440
+ */
441
+ export interface CreateUGA3InstanceResponse {
442
+ /**
443
+ * 加速配置ID
444
+ */
445
+ InstanceId: string;
446
+ /**
447
+ * 加速域名 用户可把业务域名CName到此域名上
448
+ */
449
+ CName?: string;
450
+ }
451
+ /**
452
+ * CreateUGA3Port - 创建统一接入加速实例端口,目前仅支持四层TCP端口
453
+ */
454
+ export interface CreateUGA3PortRequest {
455
+ /**
456
+ * 加速配置实例ID
457
+ */
458
+ InstanceId: string;
459
+ /**
460
+ * TCP接入端口,禁用65123端口
461
+ */
462
+ TCP?: number[];
463
+ /**
464
+ * TCP回源端口
465
+ */
466
+ TCPRS?: number[];
467
+ }
468
+ /**
469
+ * CreateUGA3Port - 创建统一接入加速实例端口,目前仅支持四层TCP端口
470
+ */
471
+ export interface CreateUGA3PortResponse {
472
+ }
297
473
  /**
298
474
  * CreateUGAForwarder - 创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源
299
475
  */
@@ -327,7 +503,7 @@ export interface CreateUGAForwarderRequest {
327
503
  */
328
504
  HTTPSHTTPSRS?: number[];
329
505
  /**
330
- * TCP接入端口
506
+ * TCP接入端口,禁用65123端口
331
507
  */
332
508
  TCP?: number[];
333
509
  /**
@@ -335,13 +511,37 @@ export interface CreateUGAForwarderRequest {
335
511
  */
336
512
  TCPRS?: number[];
337
513
  /**
338
- * UDP接入端口
514
+ * UDP接入端口,禁用65123端口
339
515
  */
340
516
  UDP?: number[];
341
517
  /**
342
518
  * UDP回源端口
343
519
  */
344
520
  UDPRS?: number[];
521
+ /**
522
+ * WebSocket接入WebSocket回源转发,接入端口。禁用65123。
523
+ */
524
+ WSWS?: number[];
525
+ /**
526
+ * WebSocket接入WebSocket回源转发,源站监听端口
527
+ */
528
+ WSWSRS?: number[];
529
+ /**
530
+ * WebSocketS接入WebSocketS回源转发,接入端口。禁用65123。
531
+ */
532
+ WSSWSS?: number[];
533
+ /**
534
+ * WebSocketS接入WebSocketS回源转发,源站监听端口。
535
+ */
536
+ WSSWSSRS?: number[];
537
+ /**
538
+ * WebSocketS接入WebSocket回源转发,接入端口。禁用65123。
539
+ */
540
+ WSSWS?: number[];
541
+ /**
542
+ * WebSocketS接入WebSocket回源转发,源站监听端口。
543
+ */
544
+ WSSWSRS?: number[];
345
545
  }
346
546
  /**
347
547
  * CreateUGAForwarder - 创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源
@@ -391,15 +591,15 @@ export interface CreateUGAInstanceResponse {
391
591
  */
392
592
  export interface CreateUPathRequest {
393
593
  /**
394
- * UPath名字
594
+ * 名字,便于记忆区分
395
595
  */
396
596
  Name: string;
397
597
  /**
398
- * 选择的线路
598
+ * 选择的线路,由DescribePathXLineConfig接口提供
399
599
  */
400
600
  LineId: string;
401
601
  /**
402
- * 线路带宽,最小1Mbps,最大带宽由 DescribePathXLineConfig 接口获得。如需更大带宽,请联系产品团队。
602
+ * 当PostPaid为false时,该值为预付费固定带宽;当PostPaid为true时,该值为后付费保底带宽,保底带宽越大可用的上限带宽越大。最小1Mbps,最大带宽由 DescribePathXLineConfig 接口获得。可联系产品团队咨询最大带宽。
403
603
  */
404
604
  Bandwidth: number;
405
605
  /**
@@ -411,9 +611,13 @@ export interface CreateUPathRequest {
411
611
  */
412
612
  Quantity?: number;
413
613
  /**
414
- * 是否开启后付费, 默认为false
614
+ * 是否开启后付费, 默认为false ,不开启后付费。当ChargeType为Dynamic时不能开启后付费。
415
615
  */
416
616
  PostPaid?: boolean;
617
+ /**
618
+ * private:专线线路;public:海外SD-WAN。默认为private。
619
+ */
620
+ PathType?: string;
417
621
  /**
418
622
  * 代金券Id
419
623
  */
@@ -426,7 +630,7 @@ export interface CreateUPathResponse {
426
630
  /**
427
631
  * 加速线路实例Id
428
632
  */
429
- UPathId: string;
633
+ PathId: string;
430
634
  }
431
635
  /**
432
636
  * DeleteGlobalSSHInstance - 删除GlobalSSH实例
@@ -456,6 +660,38 @@ export interface DeletePathXSSLRequest {
456
660
  */
457
661
  export interface DeletePathXSSLResponse {
458
662
  }
663
+ /**
664
+ * DeleteUGA3Instance - 删除全球统一接入转发实例
665
+ */
666
+ export interface DeleteUGA3InstanceRequest {
667
+ /**
668
+ * 实例Id,资源的唯一标识
669
+ */
670
+ InstanceId: string;
671
+ }
672
+ /**
673
+ * DeleteUGA3Instance - 删除全球统一接入转发实例
674
+ */
675
+ export interface DeleteUGA3InstanceResponse {
676
+ }
677
+ /**
678
+ * DeleteUGA3Port - 删除统一接入加速实例转发器 按接入端口删除
679
+ */
680
+ export interface DeleteUGA3PortRequest {
681
+ /**
682
+ * 加速配置实例ID
683
+ */
684
+ InstanceId: string;
685
+ /**
686
+ * TCP接入端口
687
+ */
688
+ TCP?: number[];
689
+ }
690
+ /**
691
+ * DeleteUGA3Port - 删除统一接入加速实例转发器 按接入端口删除
692
+ */
693
+ export interface DeleteUGA3PortResponse {
694
+ }
459
695
  /**
460
696
  * DeleteUGAForwarder - 删除加速实例转发器 按接入端口删除
461
697
  */
@@ -476,6 +712,18 @@ export interface DeleteUGAForwarderRequest {
476
712
  * HTTPS接入HTTPS回源, 接入端口。禁用65123端口
477
713
  */
478
714
  HTTPSHTTPS?: number[];
715
+ /**
716
+ * WebSocketS接入WebSocketS回源, 接入端口。禁用65123端口
717
+ */
718
+ WSSWSS?: number[];
719
+ /**
720
+ * WebSocket接入WebSocket回源, 接入端口。禁用65123端口
721
+ */
722
+ WSWS?: number[];
723
+ /**
724
+ * WebSocketS接入WebSocket回源, 接入端口。禁用65123端口。
725
+ */
726
+ WSSWS?: number[];
479
727
  /**
480
728
  * TCP接入端口
481
729
  */
@@ -738,13 +986,60 @@ export interface DescribePathXSSLResponse {
738
986
  TotalCount?: number;
739
987
  }
740
988
  /**
741
- * DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
989
+ * DescribeUGA3Area - 获取全球接入源站可选列表
742
990
  */
743
- export interface DescribeUGAInstanceRequest {
991
+ export interface DescribeUGA3AreaRequest {
992
+ /**
993
+ * IP集合,非必填。如果填IP或者域名,会推荐一个地域在返回列表的第一个,源站IP集合,以逗号分隔[127.0.0.1,127.0.0.2]
994
+ */
995
+ IPList?: string;
996
+ /**
997
+ * 域名,非必填。如果填IP或者域名,会推荐一个地域在返回列表的第一个
998
+ */
999
+ Domain?: string;
1000
+ }
1001
+ /**
1002
+ * DescribeUGA3Area - 获取全球接入源站可选列表
1003
+ */
1004
+ export interface DescribeUGA3AreaResponse {
1005
+ /**
1006
+ * 支持源站的地区,比如:AreaSet[{ "Area": "首尔", "AreaCode": "ICN", "CountryCode": "CN", "ContinentCode": "CN" }]ContinentCode:["CN","NA","OT"];"CN":表示国内,"NA":表示美洲,“OT":表示欧洲等其他地区
1007
+ */
1008
+ AreaSet?: {
1009
+ /**
1010
+ * 源站区域代码
1011
+ */
1012
+ AreaCode: string;
1013
+ /**
1014
+ * 源站区域中文
1015
+ */
1016
+ Area: string;
1017
+ /**
1018
+ * 国家代码
1019
+ */
1020
+ CountryCode: string;
1021
+ /**
1022
+ * 国旗unicode
1023
+ */
1024
+ FlagUnicode: string;
1025
+ /**
1026
+ * 国旗 emoji
1027
+ */
1028
+ FlagEmoji: string;
1029
+ /**
1030
+ * 大陆代码
1031
+ */
1032
+ ContinentCode: string;
1033
+ }[];
1034
+ }
1035
+ /**
1036
+ * DescribeUGA3Instance - 获取全球统一接入加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
1037
+ */
1038
+ export interface DescribeUGA3InstanceRequest {
744
1039
  /**
745
1040
  * 加速配置实例ID,如果传了实例ID 则返回匹配实例ID的记录;如果没传则返回 ProjectId 下全部实例且符合分页要求
746
1041
  */
747
- UGAId?: string;
1042
+ InstanceId?: string;
748
1043
  /**
749
1044
  * 返回的最大条数,默认为100,最大值400
750
1045
  */
@@ -755,81 +1050,312 @@ export interface DescribeUGAInstanceRequest {
755
1050
  Offset?: number;
756
1051
  }
757
1052
  /**
758
- * DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
1053
+ * DescribeUGA3Instance - 获取全球统一接入加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
759
1054
  */
760
- export interface DescribeUGAInstanceResponse {
1055
+ export interface DescribeUGA3InstanceResponse {
761
1056
  /**
762
1057
  * 全球加速实例信息列表
763
1058
  */
764
- UGAList?: {
1059
+ ForwardInstanceInfos?: {
765
1060
  /**
766
- * 加速配置实例ID
1061
+ * 加速配置ID
767
1062
  */
768
- UGAId: string;
1063
+ InstanceId: string;
769
1064
  /**
770
- * 加速域名,请在加速区域配置您的业务域名的CName记录值为加速域名
1065
+ * 加速域名
771
1066
  */
772
1067
  CName: string;
773
1068
  /**
774
- * 加速配置名称
775
- */
776
- UGAName: string;
777
- /**
778
- * 源站IP列表,多个值由半角英文逗号相隔
1069
+ * 加速实例名称
779
1070
  */
780
- IPList?: string[];
1071
+ Name: string;
781
1072
  /**
782
- * 源站域名
1073
+ * 加速大区代码
783
1074
  */
784
- Domain?: string;
1075
+ AccelerationArea: string;
785
1076
  /**
786
- * 源站所在区域,加速实例在绑定线路后会自动设置该值。console页面上通过该值过滤加速实例可以绑定的upath实例。注意:缺少该值会导致在console上无法修改线路
1077
+ * 加速大区名称
787
1078
  */
788
- Location?: string;
1079
+ AccelerationAreaName: string;
789
1080
  /**
790
- * 绑定的加速线路
1081
+ * 加速节点列表
791
1082
  */
792
- UPathSet?: {
793
- /**
794
- * UPath名字
795
- */
796
- UPathName?: string;
1083
+ AccelerationAreaInfos: {
797
1084
  /**
798
- * UPath 实例ID
1085
+ * 加速区code
799
1086
  */
800
- UPathId?: string;
1087
+ AccelerationArea: string;
801
1088
  /**
802
- * 带宽 Mbps, 1~800Mbps
1089
+ * 加速节点信息
803
1090
  */
804
- Bandwidth?: number;
1091
+ AccelerationNodes: {
1092
+ /**
1093
+ * AreaCode ,城市机场代码
1094
+ */
1095
+ AreaCode: string;
1096
+ /**
1097
+ * AreaCode对应城市名
1098
+ */
1099
+ Area: string;
1100
+ /**
1101
+ * 国旗Emoji
1102
+ */
1103
+ FlagEmoji: string;
1104
+ /**
1105
+ * 国旗Unicode
1106
+ */
1107
+ FlagUnicode: string;
1108
+ }[];
1109
+ }[];
1110
+ /**
1111
+ * 回源出口IP地址
1112
+ */
1113
+ EgressIpList: {
805
1114
  /**
806
- * 线路ID
1115
+ * 线路回源节点EIP
807
1116
  */
808
- LineId?: string;
1117
+ IP?: string;
809
1118
  /**
810
- * 线路起点中文名字,加速区域
1119
+ * 线路回源节点机房代号
811
1120
  */
812
- LineFromName?: string;
1121
+ Area?: string;
1122
+ }[];
1123
+ /**
1124
+ * 购买的带宽值
1125
+ */
1126
+ Bandwidth: number;
1127
+ /**
1128
+ * 源站中文名
1129
+ */
1130
+ OriginArea: string;
1131
+ /**
1132
+ * 源站AreaCode
1133
+ */
1134
+ OriginAreaCode: string;
1135
+ /**
1136
+ * 资源创建时间
1137
+ */
1138
+ CreateTime: number;
1139
+ /**
1140
+ * 资源过期时间
1141
+ */
1142
+ ExpireTime: number;
1143
+ /**
1144
+ * 计费方式
1145
+ */
1146
+ ChargeType: string;
1147
+ /**
1148
+ * 备注
1149
+ */
1150
+ Remark?: string;
1151
+ /**
1152
+ * 端口列表
1153
+ */
1154
+ PortSets?: {
813
1155
  /**
814
- * 线路对端中文名字,源站区域
1156
+ * 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS","WSWS","WSSWS","WSSWSS"]。TCP和UDP代表四层转发,其余为七层转发。
815
1157
  */
816
- LineToName?: string;
1158
+ Protocol: string;
817
1159
  /**
818
- * 线路起点英文代号,加速区域
1160
+ * 源站服务器监听的端口号
819
1161
  */
820
- LineFrom?: string;
1162
+ RSPort: number;
821
1163
  /**
822
- * 线路对端英文代号,源站区域
1164
+ * 加速端口
823
1165
  */
824
- LineTo?: string;
1166
+ Port: number;
825
1167
  }[];
826
1168
  /**
827
- * 端口配置信息(不再维护,建议使用ForwarderSet)
1169
+ * 源站IP列表,多个值由半角英文逗号相隔
828
1170
  */
829
- TaskSet?: {
830
- /**
831
- * 接入端口
832
- */
1171
+ IPList?: string[];
1172
+ /**
1173
+ * 源站域名
1174
+ */
1175
+ Domain?: string;
1176
+ }[];
1177
+ /**
1178
+ * 符合条件的总数
1179
+ */
1180
+ TotalCount?: number;
1181
+ }
1182
+ /**
1183
+ * DescribeUGA3Optimization - 获取全球接入UGA3线路加速化情况
1184
+ */
1185
+ export interface DescribeUGA3OptimizationRequest {
1186
+ /**
1187
+ * 源站AreaCode
1188
+ */
1189
+ AreaCode: string;
1190
+ /**
1191
+ * 默认一天 ,枚举类型["Hour","Day","Week"]
1192
+ */
1193
+ TimeRange?: string;
1194
+ /**
1195
+ * 加速大区,默认Global,[ "Global":"全球", "AP":"亚太", "EU":"欧洲", "ME":"中东", "OA":"大洋洲", "AF":"非洲", "NA":"北美洲", "SA":"南美洲"]
1196
+ */
1197
+ AccelerationArea?: string;
1198
+ }
1199
+ /**
1200
+ * DescribeUGA3Optimization - 获取全球接入UGA3线路加速化情况
1201
+ */
1202
+ export interface DescribeUGA3OptimizationResponse {
1203
+ /**
1204
+ * 加速详情
1205
+ */
1206
+ AccelerationInfos?: {
1207
+ /**
1208
+ * 加速大区代码
1209
+ */
1210
+ AccelerationArea: string;
1211
+ /**
1212
+ * 加速大区名称
1213
+ */
1214
+ AccelerationName: string;
1215
+ /**
1216
+ * 加速提升情况
1217
+ */
1218
+ NodeInfo: {
1219
+ /**
1220
+ * 加速区域
1221
+ */
1222
+ Area: string;
1223
+ /**
1224
+ * 加速区域Code
1225
+ */
1226
+ AreaCode: string;
1227
+ /**
1228
+ * 国家代码
1229
+ */
1230
+ CountryCode: string;
1231
+ /**
1232
+ * 国旗Code
1233
+ */
1234
+ FlagUnicode: string;
1235
+ /**
1236
+ * 国旗Emoji
1237
+ */
1238
+ FlagEmoji: string;
1239
+ /**
1240
+ * 加速延迟
1241
+ */
1242
+ Latency: number;
1243
+ /**
1244
+ * 公网延迟
1245
+ */
1246
+ LatencyInternet: number;
1247
+ /**
1248
+ * 加速提升比例
1249
+ */
1250
+ LatencyOptimization: number;
1251
+ /**
1252
+ * 加速后丢包率
1253
+ */
1254
+ Loss: number;
1255
+ /**
1256
+ * 原始丢包率
1257
+ */
1258
+ LossInternet: number;
1259
+ /**
1260
+ * 丢包下降比例
1261
+ */
1262
+ LossOptimization: number;
1263
+ }[];
1264
+ }[];
1265
+ }
1266
+ /**
1267
+ * DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
1268
+ */
1269
+ export interface DescribeUGAInstanceRequest {
1270
+ /**
1271
+ * 加速配置实例ID,如果传了实例ID 则返回匹配实例ID的记录;如果没传则返回 ProjectId 下全部实例且符合分页要求
1272
+ */
1273
+ UGAId?: string;
1274
+ /**
1275
+ * 返回的最大条数,默认为100,最大值400
1276
+ */
1277
+ Limit?: number;
1278
+ /**
1279
+ * 偏移量,默认为0
1280
+ */
1281
+ Offset?: number;
1282
+ }
1283
+ /**
1284
+ * DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
1285
+ */
1286
+ export interface DescribeUGAInstanceResponse {
1287
+ /**
1288
+ * 全球加速实例信息列表
1289
+ */
1290
+ UGAList?: {
1291
+ /**
1292
+ * 加速配置实例ID
1293
+ */
1294
+ UGAId: string;
1295
+ /**
1296
+ * 加速域名,请在加速区域配置您的业务域名的CName记录值为加速域名
1297
+ */
1298
+ CName: string;
1299
+ /**
1300
+ * 加速配置名称
1301
+ */
1302
+ UGAName: string;
1303
+ /**
1304
+ * 源站IP列表,多个值由半角英文逗号相隔
1305
+ */
1306
+ IPList?: string[];
1307
+ /**
1308
+ * 源站域名
1309
+ */
1310
+ Domain?: string;
1311
+ /**
1312
+ * 源站所在区域,加速实例在绑定线路后会自动设置该值。console页面上通过该值过滤加速实例可以绑定的upath实例。注意:缺少该值会导致在console上无法修改线路
1313
+ */
1314
+ Location?: string;
1315
+ /**
1316
+ * 绑定的加速线路
1317
+ */
1318
+ UPathSet?: {
1319
+ /**
1320
+ * UPath名字
1321
+ */
1322
+ UPathName?: string;
1323
+ /**
1324
+ * UPath 实例ID
1325
+ */
1326
+ UPathId?: string;
1327
+ /**
1328
+ * 带宽 Mbps, 1~800Mbps
1329
+ */
1330
+ Bandwidth?: number;
1331
+ /**
1332
+ * 线路ID
1333
+ */
1334
+ LineId?: string;
1335
+ /**
1336
+ * 线路起点中文名字,加速区域
1337
+ */
1338
+ LineFromName?: string;
1339
+ /**
1340
+ * 线路对端中文名字,源站区域
1341
+ */
1342
+ LineToName?: string;
1343
+ /**
1344
+ * 线路起点英文代号,加速区域
1345
+ */
1346
+ LineFrom?: string;
1347
+ /**
1348
+ * 线路对端英文代号,源站区域
1349
+ */
1350
+ LineTo?: string;
1351
+ }[];
1352
+ /**
1353
+ * 端口配置信息(不再维护,建议使用ForwarderSet)
1354
+ */
1355
+ TaskSet?: {
1356
+ /**
1357
+ * 接入端口
1358
+ */
833
1359
  Port: number;
834
1360
  /**
835
1361
  * 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
@@ -883,11 +1409,11 @@ export interface DescribeUGAInstanceResponse {
883
1409
  */
884
1410
  OutPublicIpList?: {
885
1411
  /**
886
- * 线路出口EIP
1412
+ * 线路回源节点EIP
887
1413
  */
888
1414
  IP?: string;
889
1415
  /**
890
- * 线路出口机房代号
1416
+ * 线路回源节点机房代号
891
1417
  */
892
1418
  Area?: string;
893
1419
  }[];
@@ -976,11 +1502,11 @@ export interface DescribeUPathResponse {
976
1502
  */
977
1503
  OutPublicIpList?: {
978
1504
  /**
979
- * 线路出口EIP
1505
+ * 线路回源节点EIP
980
1506
  */
981
1507
  IP?: string;
982
1508
  /**
983
- * 线路出口机房代号
1509
+ * 线路回源节点机房代号
984
1510
  */
985
1511
  Area?: string;
986
1512
  }[];
@@ -1188,6 +1714,282 @@ export interface GetPathXMetricResponse {
1188
1714
  }[];
1189
1715
  };
1190
1716
  }
1717
+ /**
1718
+ * GetUGA3Metric - 获取全地域加速监控信息
1719
+ */
1720
+ export interface GetUGA3MetricRequest {
1721
+ /**
1722
+ * 资源ID
1723
+ */
1724
+ InstanceId: string;
1725
+ /**
1726
+ * 查询起始时间,10位长度时间戳
1727
+ */
1728
+ BeginTime: number;
1729
+ /**
1730
+ * 查询结束时间,10位长度时间戳
1731
+ */
1732
+ EndTime: number;
1733
+ /**
1734
+ * 查询监控的指标项。可不传 NetworkOut:出口总带宽 NetworkIn:入口总带宽 NetworkOutUsage:出口带宽使用率 NetworkInUsage:入口总带宽使用率 NetworkOutSubline :子线路出口带宽 NetworkInSubline:子线路入口带宽 Delay:线路平均延迟 DelaySubline:子线路延迟 ConnectCount:当前连接数 ConnectCountSubline:子线路当前连接数 DelayPromote:延迟提升 DelayPromoteSubline:子线路延迟提升
1735
+ */
1736
+ MetricName?: string[];
1737
+ /**
1738
+ * 是否为子线路。为了简化查询,true 会返回所有子线路监控项可以,false:返回所有汇总的监控数据
1739
+ */
1740
+ IsSubline?: boolean;
1741
+ /**
1742
+ * 子线路AreaCode ,子线路的时候传,不是子线路可以不传
1743
+ */
1744
+ AreaCode?: string;
1745
+ }
1746
+ /**
1747
+ * GetUGA3Metric - 获取全地域加速监控信息
1748
+ */
1749
+ export interface GetUGA3MetricResponse {
1750
+ /**
1751
+ * 监控数据结果集
1752
+ */
1753
+ DataSet?: {
1754
+ /**
1755
+ * 出向带宽
1756
+ */
1757
+ NetworkOut?: {
1758
+ /**
1759
+ * 时间戳
1760
+ */
1761
+ Timestamp?: number;
1762
+ /**
1763
+ * 监控点数值
1764
+ */
1765
+ Value?: number;
1766
+ }[];
1767
+ /**
1768
+ * 入向带宽
1769
+ */
1770
+ NetworkIn?: {
1771
+ /**
1772
+ * 时间戳
1773
+ */
1774
+ Timestamp?: number;
1775
+ /**
1776
+ * 监控点数值
1777
+ */
1778
+ Value?: number;
1779
+ }[];
1780
+ /**
1781
+ * 出向带宽使用率
1782
+ */
1783
+ NetworkOutUsage?: {
1784
+ /**
1785
+ * 时间戳
1786
+ */
1787
+ Timestamp?: number;
1788
+ /**
1789
+ * 监控点数值
1790
+ */
1791
+ Value?: number;
1792
+ }[];
1793
+ /**
1794
+ * 入向带宽使用率
1795
+ */
1796
+ NetworkInUsage?: {
1797
+ /**
1798
+ * 时间戳
1799
+ */
1800
+ Timestamp?: number;
1801
+ /**
1802
+ * 监控点数值
1803
+ */
1804
+ Value?: number;
1805
+ }[];
1806
+ /**
1807
+ * 子线路出口带宽
1808
+ */
1809
+ NetworkOutSubline?: {
1810
+ /**
1811
+ * 时间戳
1812
+ */
1813
+ Timestamp?: number;
1814
+ /**
1815
+ * 监控点数值
1816
+ */
1817
+ Value?: number;
1818
+ }[];
1819
+ /**
1820
+ * 子线路入口带宽
1821
+ */
1822
+ NetworkInSubline?: {
1823
+ /**
1824
+ * 时间戳
1825
+ */
1826
+ Timestamp?: number;
1827
+ /**
1828
+ * 监控点数值
1829
+ */
1830
+ Value?: number;
1831
+ }[];
1832
+ /**
1833
+ * 线路平均延迟
1834
+ */
1835
+ Delay?: {
1836
+ /**
1837
+ * 时间戳
1838
+ */
1839
+ Timestamp?: number;
1840
+ /**
1841
+ * 监控点数值
1842
+ */
1843
+ Value?: number;
1844
+ }[];
1845
+ /**
1846
+ * 子线路延迟
1847
+ */
1848
+ DelaySubline?: {
1849
+ /**
1850
+ * 时间戳
1851
+ */
1852
+ Timestamp?: number;
1853
+ /**
1854
+ * 监控点数值
1855
+ */
1856
+ Value?: number;
1857
+ }[];
1858
+ /**
1859
+ * 延迟提升
1860
+ */
1861
+ DelayPromote?: {
1862
+ /**
1863
+ * 时间戳
1864
+ */
1865
+ Timestamp?: number;
1866
+ /**
1867
+ * 监控点数值
1868
+ */
1869
+ Value?: number;
1870
+ }[];
1871
+ /**
1872
+ * 子线路延迟提升
1873
+ */
1874
+ DelayPromoteSubline?: {
1875
+ /**
1876
+ * 时间戳
1877
+ */
1878
+ Timestamp?: number;
1879
+ /**
1880
+ * 监控点数值
1881
+ */
1882
+ Value?: number;
1883
+ }[];
1884
+ /**
1885
+ * 当前连接数
1886
+ */
1887
+ ConnectCount?: {
1888
+ /**
1889
+ * 时间戳
1890
+ */
1891
+ Timestamp?: number;
1892
+ /**
1893
+ * 监控点数值
1894
+ */
1895
+ Value?: number;
1896
+ }[];
1897
+ /**
1898
+ * 子线路当前连接数
1899
+ */
1900
+ ConnectCountSubline?: {
1901
+ /**
1902
+ * 时间戳
1903
+ */
1904
+ Timestamp?: number;
1905
+ /**
1906
+ * 监控点数值
1907
+ */
1908
+ Value?: number;
1909
+ }[];
1910
+ };
1911
+ }
1912
+ /**
1913
+ * GetUGA3Price - 获取全球统一接入转发实例价格
1914
+ */
1915
+ export interface GetUGA3PriceRequest {
1916
+ /**
1917
+ * 共享带宽大小
1918
+ */
1919
+ Bandwidth: number;
1920
+ /**
1921
+ * 源站区域
1922
+ */
1923
+ AreaCode: string;
1924
+ /**
1925
+ * 购买时间数量,当ChargeType为Month时 Quantity默认为0,代表购买至月底。按年按小时必须为大于0
1926
+ */
1927
+ Quantity?: number;
1928
+ /**
1929
+ * 计费方式,默认按月支付。Month: 按月; Year: 按年; Dynamic: 按小时收
1930
+ */
1931
+ ChargeType?: string;
1932
+ /**
1933
+ * 加速大区,默认返回所有加速大区价格
1934
+ */
1935
+ AccelerationArea?: string;
1936
+ }
1937
+ /**
1938
+ * GetUGA3Price - 获取全球统一接入转发实例价格
1939
+ */
1940
+ export interface GetUGA3PriceResponse {
1941
+ /**
1942
+ * 加速大区对应价格
1943
+ */
1944
+ UGA3Price: {
1945
+ /**
1946
+ * 加速大区代码
1947
+ */
1948
+ AccelerationArea: string;
1949
+ /**
1950
+ * 加速大区名称
1951
+ */
1952
+ AccelerationAreaName: string;
1953
+ /**
1954
+ * 转发配置价格
1955
+ */
1956
+ AccelerationForwarderPrice: number;
1957
+ /**
1958
+ * 加速配置带宽价格
1959
+ */
1960
+ AccelerationBandwidthPrice: number;
1961
+ }[];
1962
+ }
1963
+ /**
1964
+ * GetUGA3UpdatePrice - 全球统一接入获取实例更新价格(增加、删退)
1965
+ */
1966
+ export interface GetUGA3UpdatePriceRequest {
1967
+ /**
1968
+ * 资源ID
1969
+ */
1970
+ InstanceId: string;
1971
+ /**
1972
+ * 只有升级带宽的时候有价格变化
1973
+ */
1974
+ Bandwidth?: number;
1975
+ /**
1976
+ * 暂未支持,加速大区,在更换加速大区的时候使用
1977
+ */
1978
+ AccelerationArea?: string;
1979
+ /**
1980
+ * 暂未支持,源站区域
1981
+ */
1982
+ AreaCode?: string;
1983
+ }
1984
+ /**
1985
+ * GetUGA3UpdatePrice - 全球统一接入获取实例更新价格(增加、删退)
1986
+ */
1987
+ export interface GetUGA3UpdatePriceResponse {
1988
+ /**
1989
+ * 价格 元。大于0需付费,小于0则退费。
1990
+ */
1991
+ Price: number;
1992
+ }
1191
1993
  /**
1192
1994
  * ModifyGlobalSSHPort - 修改GlobalSSH端口
1193
1995
  */
@@ -1206,6 +2008,24 @@ export interface ModifyGlobalSSHPortRequest {
1206
2008
  */
1207
2009
  export interface ModifyGlobalSSHPortResponse {
1208
2010
  }
2011
+ /**
2012
+ * ModifyGlobalSSHRemark - 修改GlobalSSH备注
2013
+ */
2014
+ export interface ModifyGlobalSSHRemarkRequest {
2015
+ /**
2016
+ * 实例ID,资源唯一标识
2017
+ */
2018
+ InstanceId: string;
2019
+ /**
2020
+ * 备注信息,不填默认为空字符串
2021
+ */
2022
+ Remark?: string;
2023
+ }
2024
+ /**
2025
+ * ModifyGlobalSSHRemark - 修改GlobalSSH备注
2026
+ */
2027
+ export interface ModifyGlobalSSHRemarkResponse {
2028
+ }
1209
2029
  /**
1210
2030
  * ModifyGlobalSSHType - 修改GlobalSSH实例类型,仅支持低版本升级到高版本,不支持高版本降级到低版本
1211
2031
  */
@@ -1236,6 +2056,94 @@ export interface ModifyGlobalSSHTypeRequest {
1236
2056
  */
1237
2057
  export interface ModifyGlobalSSHTypeResponse {
1238
2058
  }
2059
+ /**
2060
+ * ModifyUGA3Bandwidth - 修改统一接入加速配置带宽
2061
+ */
2062
+ export interface ModifyUGA3BandwidthRequest {
2063
+ /**
2064
+ * 加速配置实例ID,格式uga3-xxxx
2065
+ */
2066
+ InstanceId: string;
2067
+ /**
2068
+ * 带宽大小,范围[1,100],不传则不更新
2069
+ */
2070
+ Bandwidth?: number;
2071
+ /**
2072
+ * 需要全地域可用的代金券
2073
+ */
2074
+ CouponId?: string;
2075
+ }
2076
+ /**
2077
+ * ModifyUGA3Bandwidth - 修改统一接入加速配置带宽
2078
+ */
2079
+ export interface ModifyUGA3BandwidthResponse {
2080
+ }
2081
+ /**
2082
+ * ModifyUGA3Instance - 修改统一接入加速配置属性,如Name,ReMark
2083
+ */
2084
+ export interface ModifyUGA3InstanceRequest {
2085
+ /**
2086
+ * 加速配置实例ID,格式uga-xxxx。不支持GlobalSSH实例。
2087
+ */
2088
+ InstanceId: string;
2089
+ /**
2090
+ * 加速配置实例名称,不填或空字符串则不更新
2091
+ */
2092
+ Name?: string;
2093
+ /**
2094
+ * 备注信息,暂时前端为使用
2095
+ */
2096
+ Remark?: string;
2097
+ }
2098
+ /**
2099
+ * ModifyUGA3Instance - 修改统一接入加速配置属性,如Name,ReMark
2100
+ */
2101
+ export interface ModifyUGA3InstanceResponse {
2102
+ }
2103
+ /**
2104
+ * ModifyUGA3OriginInfo - Domain, IPList注意:修改Domain或IPList时, 请确保源站服务端口已经开启且外网防火墙允许pathx出口ip访问。
2105
+ */
2106
+ export interface ModifyUGA3OriginInfoRequest {
2107
+ /**
2108
+ * 加速配置实例ID,格式uga3-xxxx。
2109
+ */
2110
+ InstanceId: string;
2111
+ /**
2112
+ * 加速源域名,仅支持1个域名。修改源站时 OriginIPList和OriginDomain至少填一个。OriginIPList和OriginDomain都填时 以Domain为准,如果两个都不填,不修改
2113
+ */
2114
+ OriginDomain: string;
2115
+ /**
2116
+ * ,加速源IP,多个IP用英文半角逗号(,)隔开。修改源站时 ,OriginIPList和OriginDomain至少填一个。OriginIPList和OriginDomain都填时 以OriginDomain为准。如果两个都不填,不修改
2117
+ */
2118
+ OriginIPList: string;
2119
+ }
2120
+ /**
2121
+ * ModifyUGA3OriginInfo - Domain, IPList注意:修改Domain或IPList时, 请确保源站服务端口已经开启且外网防火墙允许pathx出口ip访问。
2122
+ */
2123
+ export interface ModifyUGA3OriginInfoResponse {
2124
+ }
2125
+ /**
2126
+ * ModifyUGA3Port - 修改统一接入加速实例端口,目前仅支持四层TCP端口
2127
+ */
2128
+ export interface ModifyUGA3PortRequest {
2129
+ /**
2130
+ * 加速配置实例ID
2131
+ */
2132
+ InstanceId: string;
2133
+ /**
2134
+ * TCP接入端口,禁用65123端口
2135
+ */
2136
+ TCP?: number[];
2137
+ /**
2138
+ * TCP回源端口
2139
+ */
2140
+ TCPRS?: number[];
2141
+ }
2142
+ /**
2143
+ * ModifyUGA3Port - 修改统一接入加速实例端口,目前仅支持四层TCP端口
2144
+ */
2145
+ export interface ModifyUGA3PortResponse {
2146
+ }
1239
2147
  /**
1240
2148
  * ModifyUPathBandwidth - 修改加速线路带宽
1241
2149
  */
@@ -1358,3 +2266,21 @@ export interface UnBindPathXSSLRequest {
1358
2266
  */
1359
2267
  export interface UnBindPathXSSLResponse {
1360
2268
  }
2269
+ /**
2270
+ * UpdatePathXWhitelist - 更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效
2271
+ */
2272
+ export interface UpdatePathXWhitelistRequest {
2273
+ /**
2274
+ * GlobalSSH实例ID,资源唯一标识
2275
+ */
2276
+ InstanceId: string;
2277
+ /**
2278
+ * 白名单规则,例如 "Whitelist.0": "192.168.1.1/24|tcp|22","Whitelist.1": "192.168.1.2|tcp|8080:8090",第一个参数为ip或ip段,第二个参数代表协议(tcp/udp),第三个参数代表端口号或端口范围(使用 ':' 隔开);可以添加多条规则(递增Whitelist.n字段内的n值);此接口需要列出全部规则,例如不填则为清空白名单规则,如若需要增量添加,使用InsertPathXWhitelist接口,globalssh 没有端口范围:端口设置成加速端口,协议设置成tcp:ip|tcp|加速端口
2279
+ */
2280
+ Whitelist?: string[];
2281
+ }
2282
+ /**
2283
+ * UpdatePathXWhitelist - 更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效
2284
+ */
2285
+ export interface UpdatePathXWhitelistResponse {
2286
+ }