@ucloud-sdks/ucloud-sdk-js 0.2.27 → 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.
|
@@ -30,6 +30,24 @@ class UWSCClient extends client_1.default {
|
|
|
30
30
|
const args = Object.assign({ Action: 'BindCPE' }, (request || {}));
|
|
31
31
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* CreateCEGateway - 创建CE客户网关
|
|
35
|
+
*
|
|
36
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/create_ce_gateway
|
|
37
|
+
*/
|
|
38
|
+
createCEGateway(request) {
|
|
39
|
+
const args = Object.assign({ Action: 'CreateCEGateway' }, (request || {}));
|
|
40
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* CreateCETunnel - 创建隧道
|
|
44
|
+
*
|
|
45
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/create_ce_tunnel
|
|
46
|
+
*/
|
|
47
|
+
createCETunnel(request) {
|
|
48
|
+
const args = Object.assign({ Action: 'CreateCETunnel' }, (request || {}));
|
|
49
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
50
|
+
}
|
|
33
51
|
/**
|
|
34
52
|
* CreateCPE - 创建 CPE
|
|
35
53
|
*
|
|
@@ -48,6 +66,33 @@ class UWSCClient extends client_1.default {
|
|
|
48
66
|
const args = Object.assign({ Action: 'CreateExportLine' }, (request || {}));
|
|
49
67
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
50
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* CreatePOPGW - 创建UWAN虚拟路由器
|
|
71
|
+
*
|
|
72
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/create_popgw
|
|
73
|
+
*/
|
|
74
|
+
createPOPGW(request) {
|
|
75
|
+
const args = Object.assign({ Action: 'CreatePOPGW' }, (request || {}));
|
|
76
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* DeleteCEGateway - 删除CE网关
|
|
80
|
+
*
|
|
81
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_ce_gateway
|
|
82
|
+
*/
|
|
83
|
+
deleteCEGateway(request) {
|
|
84
|
+
const args = Object.assign({ Action: 'DeleteCEGateway' }, (request || {}));
|
|
85
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* DeleteCETunnel - 删除隧道
|
|
89
|
+
*
|
|
90
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_ce_tunnel
|
|
91
|
+
*/
|
|
92
|
+
deleteCETunnel(request) {
|
|
93
|
+
const args = Object.assign({ Action: 'DeleteCETunnel' }, (request || {}));
|
|
94
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
|
+
}
|
|
51
96
|
/**
|
|
52
97
|
* DeleteExportLine - 删除加速线路
|
|
53
98
|
*
|
|
@@ -66,6 +111,33 @@ class UWSCClient extends client_1.default {
|
|
|
66
111
|
const args = Object.assign({ Action: 'DeleteExportLineRules' }, (request || {}));
|
|
67
112
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
68
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* DeletePOPGW - 删除UWAN虚拟路由器
|
|
116
|
+
*
|
|
117
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/delete_popgw
|
|
118
|
+
*/
|
|
119
|
+
deletePOPGW(request) {
|
|
120
|
+
const args = Object.assign({ Action: 'DeletePOPGW' }, (request || {}));
|
|
121
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* DescribeCEGateway - 查询CE网关,优先级 Region > PopGwId > VPNId
|
|
125
|
+
*
|
|
126
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_ce_gateway
|
|
127
|
+
*/
|
|
128
|
+
describeCEGateway(request) {
|
|
129
|
+
const args = Object.assign({ Action: 'DescribeCEGateway' }, (request || {}));
|
|
130
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* DescribeCETunnel - 查询隧道
|
|
134
|
+
*
|
|
135
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_ce_tunnel
|
|
136
|
+
*/
|
|
137
|
+
describeCETunnel(request) {
|
|
138
|
+
const args = Object.assign({ Action: 'DescribeCETunnel' }, (request || {}));
|
|
139
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
140
|
+
}
|
|
69
141
|
/**
|
|
70
142
|
* DescribeCPE - 查询 CPE 信息
|
|
71
143
|
*
|
|
@@ -93,6 +165,60 @@ class UWSCClient extends client_1.default {
|
|
|
93
165
|
const args = Object.assign({ Action: 'DescribeExportLineRules' }, (request || {}));
|
|
94
166
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* DescribePOPGW - 查询UWAN虚拟路由器
|
|
170
|
+
*
|
|
171
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/describe_popgw
|
|
172
|
+
*/
|
|
173
|
+
describePOPGW(request) {
|
|
174
|
+
const args = Object.assign({ Action: 'DescribePOPGW' }, (request || {}));
|
|
175
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* ListAvailableRegion - 获取可用地域
|
|
179
|
+
*
|
|
180
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/list_available_region
|
|
181
|
+
*/
|
|
182
|
+
listAvailableRegion(request) {
|
|
183
|
+
const args = Object.assign({ Action: 'ListAvailableRegion' }, (request || {}));
|
|
184
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* UpdateBWPackage - 更新UWSC带宽包
|
|
188
|
+
*
|
|
189
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_bw_package
|
|
190
|
+
*/
|
|
191
|
+
updateBWPackage(request) {
|
|
192
|
+
const args = Object.assign({ Action: 'UpdateBWPackage' }, (request || {}));
|
|
193
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* UpdateCEGateway - 更新CE网关
|
|
197
|
+
*
|
|
198
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_ce_gateway
|
|
199
|
+
*/
|
|
200
|
+
updateCEGateway(request) {
|
|
201
|
+
const args = Object.assign({ Action: 'UpdateCEGateway' }, (request || {}));
|
|
202
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* UpdateCETunnel - 更新隧道配置
|
|
206
|
+
*
|
|
207
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_ce_tunnel
|
|
208
|
+
*/
|
|
209
|
+
updateCETunnel(request) {
|
|
210
|
+
const args = Object.assign({ Action: 'UpdateCETunnel' }, (request || {}));
|
|
211
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* UpdateCETunnelAttribute - 更新隧道属性
|
|
215
|
+
*
|
|
216
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_ce_tunnel_attribute
|
|
217
|
+
*/
|
|
218
|
+
updateCETunnelAttribute(request) {
|
|
219
|
+
const args = Object.assign({ Action: 'UpdateCETunnelAttribute' }, (request || {}));
|
|
220
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
221
|
+
}
|
|
96
222
|
/**
|
|
97
223
|
* UpdateExportLine - 修改加速线路
|
|
98
224
|
*
|
|
@@ -102,6 +228,15 @@ class UWSCClient extends client_1.default {
|
|
|
102
228
|
const args = Object.assign({ Action: 'UpdateExportLine' }, (request || {}));
|
|
103
229
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* UpdatePOPGWAttribute - 更新UWAN虚拟路由器属性
|
|
233
|
+
*
|
|
234
|
+
* See also: https://docs.ucloud.cn/api/uwsc-api/update_popgw_attribute
|
|
235
|
+
*/
|
|
236
|
+
updatePOPGWAttribute(request) {
|
|
237
|
+
const args = Object.assign({ Action: 'UpdatePOPGWAttribute' }, (request || {}));
|
|
238
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
239
|
+
}
|
|
105
240
|
/**
|
|
106
241
|
* UpgradeExportLine - 升级加速线路
|
|
107
242
|
*
|