@ucloud-sdks/ucloud-sdk-js 0.2.40 → 0.2.41
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/lib/services/vpc/index.d.ts +1618 -160
- package/lib/services/vpc/index.js +357 -69
- package/package.json +1 -1
|
@@ -15,16 +15,34 @@ class VPCClient extends client_1.default {
|
|
|
15
15
|
/**
|
|
16
16
|
* AddSnatRule - 对于绑定了多个EIP的NAT网关,您可以将一个子网下的某台云主机映射到某个特定的EIP上,规则生效后,则该云主机通过该特定的EIP访问互联网。
|
|
17
17
|
*
|
|
18
|
-
* See also: https://docs.ucloud.cn/api/
|
|
18
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/add_snat_rule
|
|
19
19
|
*/
|
|
20
20
|
addSnatRule(request) {
|
|
21
21
|
const args = Object.assign({ Action: 'AddSnatRule' }, (request || {}));
|
|
22
22
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* AddSubnetIPv6 - 子网关联IPv6
|
|
26
|
+
*
|
|
27
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/add_subnet_ip_v6
|
|
28
|
+
*/
|
|
29
|
+
addSubnetIPv6(request) {
|
|
30
|
+
const args = Object.assign({ Action: 'AddSubnetIPv6' }, (request || {}));
|
|
31
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* AddVPCIPv6 - VPC关联IPv6网段
|
|
35
|
+
*
|
|
36
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/add_vpc_ip_v6
|
|
37
|
+
*/
|
|
38
|
+
addVPCIPv6(request) {
|
|
39
|
+
const args = Object.assign({ Action: 'AddVPCIPv6' }, (request || {}));
|
|
40
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
41
|
+
}
|
|
24
42
|
/**
|
|
25
43
|
* AddVPCNetwork - 添加VPC网段
|
|
26
44
|
*
|
|
27
|
-
* See also: https://docs.ucloud.cn/api/
|
|
45
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/add_vpc_network
|
|
28
46
|
*/
|
|
29
47
|
addVPCNetwork(request) {
|
|
30
48
|
const args = Object.assign({ Action: 'AddVPCNetwork' }, (request || {}));
|
|
@@ -33,7 +51,7 @@ class VPCClient extends client_1.default {
|
|
|
33
51
|
/**
|
|
34
52
|
* AddWhiteListResource - 添加NAT网关白名单
|
|
35
53
|
*
|
|
36
|
-
* See also: https://docs.ucloud.cn/api/
|
|
54
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/add_white_list_resource
|
|
37
55
|
*/
|
|
38
56
|
addWhiteListResource(request) {
|
|
39
57
|
const args = Object.assign({ Action: 'AddWhiteListResource' }, (request || {}));
|
|
@@ -42,7 +60,7 @@ class VPCClient extends client_1.default {
|
|
|
42
60
|
/**
|
|
43
61
|
* AllocateBatchSecondaryIp - 批量申请虚拟网卡辅助IP
|
|
44
62
|
*
|
|
45
|
-
* See also: https://docs.ucloud.cn/api/
|
|
63
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/allocate_batch_secondary_ip
|
|
46
64
|
*/
|
|
47
65
|
allocateBatchSecondaryIp(request) {
|
|
48
66
|
const args = Object.assign({ Action: 'AllocateBatchSecondaryIp' }, (request || {}));
|
|
@@ -51,7 +69,7 @@ class VPCClient extends client_1.default {
|
|
|
51
69
|
/**
|
|
52
70
|
* AllocateSecondaryIp - 分配ip(用于uk8s使用)
|
|
53
71
|
*
|
|
54
|
-
* See also: https://docs.ucloud.cn/api/
|
|
72
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/allocate_secondary_ip
|
|
55
73
|
*/
|
|
56
74
|
allocateSecondaryIp(request) {
|
|
57
75
|
const args = Object.assign({ Action: 'AllocateSecondaryIp' }, (request || {}));
|
|
@@ -60,34 +78,79 @@ class VPCClient extends client_1.default {
|
|
|
60
78
|
/**
|
|
61
79
|
* AllocateVIP - 根据提供信息,申请内网VIP(Virtual IP),多用于高可用程序作为漂移IP。
|
|
62
80
|
*
|
|
63
|
-
* See also: https://docs.ucloud.cn/api/
|
|
81
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/allocate_vip
|
|
64
82
|
*/
|
|
65
83
|
allocateVIP(request) {
|
|
66
84
|
const args = Object.assign({ Action: 'AllocateVIP' }, (request || {}));
|
|
67
85
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
68
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* AssignIPv6 - 申请IPv6地址
|
|
89
|
+
*
|
|
90
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/assign_ip_v6
|
|
91
|
+
*/
|
|
92
|
+
assignIPv6(request) {
|
|
93
|
+
const args = Object.assign({ Action: 'AssignIPv6' }, (request || {}));
|
|
94
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
|
+
}
|
|
69
96
|
/**
|
|
70
97
|
* AssociateRouteTable - 绑定子网的路由表
|
|
71
98
|
*
|
|
72
|
-
* See also: https://docs.ucloud.cn/api/
|
|
99
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/associate_route_table
|
|
73
100
|
*/
|
|
74
101
|
associateRouteTable(request) {
|
|
75
102
|
const args = Object.assign({ Action: 'AssociateRouteTable' }, (request || {}));
|
|
76
103
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
77
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* AssociateSecGroup - 绑定资源到安全组
|
|
107
|
+
*
|
|
108
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/associate_sec_group
|
|
109
|
+
*/
|
|
110
|
+
associateSecGroup(request) {
|
|
111
|
+
const args = Object.assign({ Action: 'AssociateSecGroup' }, (request || {}));
|
|
112
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* AssociateSecGroupDynamic - 绑定安全组,动态调整绑定优先级
|
|
116
|
+
*
|
|
117
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/associate_sec_group_dynamic
|
|
118
|
+
*/
|
|
119
|
+
associateSecGroupDynamic(request) {
|
|
120
|
+
const args = Object.assign({ Action: 'AssociateSecGroupDynamic' }, (request || {}));
|
|
121
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* AttachNetworkInterface - 绑定网卡到云主机
|
|
125
|
+
*
|
|
126
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/attach_network_interface
|
|
127
|
+
*/
|
|
128
|
+
attachNetworkInterface(request) {
|
|
129
|
+
const args = Object.assign({ Action: 'AttachNetworkInterface' }, (request || {}));
|
|
130
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
131
|
+
}
|
|
78
132
|
/**
|
|
79
133
|
* CloneRouteTable - 将现有的路由表复制为一张新的路由表
|
|
80
134
|
*
|
|
81
|
-
* See also: https://docs.ucloud.cn/api/
|
|
135
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/clone_route_table
|
|
82
136
|
*/
|
|
83
137
|
cloneRouteTable(request) {
|
|
84
138
|
const args = Object.assign({ Action: 'CloneRouteTable' }, (request || {}));
|
|
85
139
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
86
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* CopySecGroup - 复制安全组
|
|
143
|
+
*
|
|
144
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/copy_sec_group
|
|
145
|
+
*/
|
|
146
|
+
copySecGroup(request) {
|
|
147
|
+
const args = Object.assign({ Action: 'CopySecGroup' }, (request || {}));
|
|
148
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
149
|
+
}
|
|
87
150
|
/**
|
|
88
151
|
* CreateNATGW - 创建NAT网关
|
|
89
152
|
*
|
|
90
|
-
* See also: https://docs.ucloud.cn/api/
|
|
153
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_natgw
|
|
91
154
|
*/
|
|
92
155
|
createNATGW(request) {
|
|
93
156
|
const args = Object.assign({ Action: 'CreateNATGW' }, (request || {}));
|
|
@@ -96,7 +159,7 @@ class VPCClient extends client_1.default {
|
|
|
96
159
|
/**
|
|
97
160
|
* CreateNATGWPolicy - 添加NAT网关端口转发规则
|
|
98
161
|
*
|
|
99
|
-
* See also: https://docs.ucloud.cn/api/
|
|
162
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_natgw_policy
|
|
100
163
|
*/
|
|
101
164
|
createNATGWPolicy(request) {
|
|
102
165
|
const args = Object.assign({ Action: 'CreateNATGWPolicy' }, (request || {}));
|
|
@@ -105,7 +168,7 @@ class VPCClient extends client_1.default {
|
|
|
105
168
|
/**
|
|
106
169
|
* CreateNetworkAcl - 创建网络ACL
|
|
107
170
|
*
|
|
108
|
-
* See also: https://docs.ucloud.cn/api/
|
|
171
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_network_acl
|
|
109
172
|
*/
|
|
110
173
|
createNetworkAcl(request) {
|
|
111
174
|
const args = Object.assign({ Action: 'CreateNetworkAcl' }, (request || {}));
|
|
@@ -114,7 +177,7 @@ class VPCClient extends client_1.default {
|
|
|
114
177
|
/**
|
|
115
178
|
* CreateNetworkAclAssociation - 创建ACL的绑定关系
|
|
116
179
|
*
|
|
117
|
-
* See also: https://docs.ucloud.cn/api/
|
|
180
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_network_acl_association
|
|
118
181
|
*/
|
|
119
182
|
createNetworkAclAssociation(request) {
|
|
120
183
|
const args = Object.assign({ Action: 'CreateNetworkAclAssociation' }, (request || {}));
|
|
@@ -123,7 +186,7 @@ class VPCClient extends client_1.default {
|
|
|
123
186
|
/**
|
|
124
187
|
* CreateNetworkAclEntry - 创建ACL的规则
|
|
125
188
|
*
|
|
126
|
-
* See also: https://docs.ucloud.cn/api/
|
|
189
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_network_acl_entry
|
|
127
190
|
*/
|
|
128
191
|
createNetworkAclEntry(request) {
|
|
129
192
|
const args = Object.assign({ Action: 'CreateNetworkAclEntry' }, (request || {}));
|
|
@@ -132,7 +195,7 @@ class VPCClient extends client_1.default {
|
|
|
132
195
|
/**
|
|
133
196
|
* CreateNetworkInterface - 创建虚拟网卡
|
|
134
197
|
*
|
|
135
|
-
* See also: https://docs.ucloud.cn/api/
|
|
198
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_network_interface
|
|
136
199
|
*/
|
|
137
200
|
createNetworkInterface(request) {
|
|
138
201
|
const args = Object.assign({ Action: 'CreateNetworkInterface' }, (request || {}));
|
|
@@ -141,16 +204,34 @@ class VPCClient extends client_1.default {
|
|
|
141
204
|
/**
|
|
142
205
|
* CreateRouteTable - 创建路由表
|
|
143
206
|
*
|
|
144
|
-
* See also: https://docs.ucloud.cn/api/
|
|
207
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_route_table
|
|
145
208
|
*/
|
|
146
209
|
createRouteTable(request) {
|
|
147
210
|
const args = Object.assign({ Action: 'CreateRouteTable' }, (request || {}));
|
|
148
211
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
149
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* CreateSecGroup - 创建安全组
|
|
215
|
+
*
|
|
216
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_sec_group
|
|
217
|
+
*/
|
|
218
|
+
createSecGroup(request) {
|
|
219
|
+
const args = Object.assign({ Action: 'CreateSecGroup' }, (request || {}));
|
|
220
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* CreateSecGroupRule -
|
|
224
|
+
*
|
|
225
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_sec_group_rule
|
|
226
|
+
*/
|
|
227
|
+
createSecGroupRule(request) {
|
|
228
|
+
const args = Object.assign({ Action: 'CreateSecGroupRule' }, (request || {}));
|
|
229
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
230
|
+
}
|
|
150
231
|
/**
|
|
151
232
|
* CreateSnatDnatRule - 调用接口后会自动创建内外网IP之间的SNAT和DNAT规则,支持TCP、UDP协议全端口
|
|
152
233
|
*
|
|
153
|
-
* See also: https://docs.ucloud.cn/api/
|
|
234
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_snat_dnat_rule
|
|
154
235
|
*/
|
|
155
236
|
createSnatDnatRule(request) {
|
|
156
237
|
const args = Object.assign({ Action: 'CreateSnatDnatRule' }, (request || {}));
|
|
@@ -159,7 +240,7 @@ class VPCClient extends client_1.default {
|
|
|
159
240
|
/**
|
|
160
241
|
* CreateSubnet - 创建子网
|
|
161
242
|
*
|
|
162
|
-
* See also: https://docs.ucloud.cn/api/
|
|
243
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_subnet
|
|
163
244
|
*/
|
|
164
245
|
createSubnet(request) {
|
|
165
246
|
const args = Object.assign({ Action: 'CreateSubnet' }, (request || {}));
|
|
@@ -168,7 +249,7 @@ class VPCClient extends client_1.default {
|
|
|
168
249
|
/**
|
|
169
250
|
* CreateVPC - 创建VPC
|
|
170
251
|
*
|
|
171
|
-
* See also: https://docs.ucloud.cn/api/
|
|
252
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_vpc
|
|
172
253
|
*/
|
|
173
254
|
createVPC(request) {
|
|
174
255
|
const args = Object.assign({ Action: 'CreateVPC' }, (request || {}));
|
|
@@ -177,7 +258,7 @@ class VPCClient extends client_1.default {
|
|
|
177
258
|
/**
|
|
178
259
|
* CreateVPCIntercom - 新建VPC互通关系
|
|
179
260
|
*
|
|
180
|
-
* See also: https://docs.ucloud.cn/api/
|
|
261
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/create_vpc_intercom
|
|
181
262
|
*/
|
|
182
263
|
createVPCIntercom(request) {
|
|
183
264
|
const args = Object.assign({ Action: 'CreateVPCIntercom' }, (request || {}));
|
|
@@ -186,7 +267,7 @@ class VPCClient extends client_1.default {
|
|
|
186
267
|
/**
|
|
187
268
|
* DeleteNATGW - 删除NAT网关
|
|
188
269
|
*
|
|
189
|
-
* See also: https://docs.ucloud.cn/api/
|
|
270
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_natgw
|
|
190
271
|
*/
|
|
191
272
|
deleteNATGW(request) {
|
|
192
273
|
const args = Object.assign({ Action: 'DeleteNATGW' }, (request || {}));
|
|
@@ -195,7 +276,7 @@ class VPCClient extends client_1.default {
|
|
|
195
276
|
/**
|
|
196
277
|
* DeleteNATGWPolicy - 删除NAT网关端口转发规则
|
|
197
278
|
*
|
|
198
|
-
* See also: https://docs.ucloud.cn/api/
|
|
279
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_natgw_policy
|
|
199
280
|
*/
|
|
200
281
|
deleteNATGWPolicy(request) {
|
|
201
282
|
const args = Object.assign({ Action: 'DeleteNATGWPolicy' }, (request || {}));
|
|
@@ -204,7 +285,7 @@ class VPCClient extends client_1.default {
|
|
|
204
285
|
/**
|
|
205
286
|
* DeleteNetworkAcl - 删除网络ACL
|
|
206
287
|
*
|
|
207
|
-
* See also: https://docs.ucloud.cn/api/
|
|
288
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_network_acl
|
|
208
289
|
*/
|
|
209
290
|
deleteNetworkAcl(request) {
|
|
210
291
|
const args = Object.assign({ Action: 'DeleteNetworkAcl' }, (request || {}));
|
|
@@ -213,7 +294,7 @@ class VPCClient extends client_1.default {
|
|
|
213
294
|
/**
|
|
214
295
|
* DeleteNetworkAclAssociation - 删除网络ACL绑定关系
|
|
215
296
|
*
|
|
216
|
-
* See also: https://docs.ucloud.cn/api/
|
|
297
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_network_acl_association
|
|
217
298
|
*/
|
|
218
299
|
deleteNetworkAclAssociation(request) {
|
|
219
300
|
const args = Object.assign({ Action: 'DeleteNetworkAclAssociation' }, (request || {}));
|
|
@@ -222,25 +303,52 @@ class VPCClient extends client_1.default {
|
|
|
222
303
|
/**
|
|
223
304
|
* DeleteNetworkAclEntry - 删除ACL的规则
|
|
224
305
|
*
|
|
225
|
-
* See also: https://docs.ucloud.cn/api/
|
|
306
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_network_acl_entry
|
|
226
307
|
*/
|
|
227
308
|
deleteNetworkAclEntry(request) {
|
|
228
309
|
const args = Object.assign({ Action: 'DeleteNetworkAclEntry' }, (request || {}));
|
|
229
310
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
230
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* DeleteNetworkInterface - 删除网卡
|
|
314
|
+
*
|
|
315
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_network_interface
|
|
316
|
+
*/
|
|
317
|
+
deleteNetworkInterface(request) {
|
|
318
|
+
const args = Object.assign({ Action: 'DeleteNetworkInterface' }, (request || {}));
|
|
319
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
320
|
+
}
|
|
231
321
|
/**
|
|
232
322
|
* DeleteRouteTable - 删除自定义路由表
|
|
233
323
|
*
|
|
234
|
-
* See also: https://docs.ucloud.cn/api/
|
|
324
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_route_table
|
|
235
325
|
*/
|
|
236
326
|
deleteRouteTable(request) {
|
|
237
327
|
const args = Object.assign({ Action: 'DeleteRouteTable' }, (request || {}));
|
|
238
328
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
239
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* DeleteSecGroup - 删除安全组
|
|
332
|
+
*
|
|
333
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_sec_group
|
|
334
|
+
*/
|
|
335
|
+
deleteSecGroup(request) {
|
|
336
|
+
const args = Object.assign({ Action: 'DeleteSecGroup' }, (request || {}));
|
|
337
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* DeleteSecGroupRule -
|
|
341
|
+
*
|
|
342
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_sec_group_rule
|
|
343
|
+
*/
|
|
344
|
+
deleteSecGroupRule(request) {
|
|
345
|
+
const args = Object.assign({ Action: 'DeleteSecGroupRule' }, (request || {}));
|
|
346
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
347
|
+
}
|
|
240
348
|
/**
|
|
241
349
|
* DeleteSecondaryIp - 删除ip(用于uk8s使用)
|
|
242
350
|
*
|
|
243
|
-
* See also: https://docs.ucloud.cn/api/
|
|
351
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_secondary_ip
|
|
244
352
|
*/
|
|
245
353
|
deleteSecondaryIp(request) {
|
|
246
354
|
const args = Object.assign({ Action: 'DeleteSecondaryIp' }, (request || {}));
|
|
@@ -249,7 +357,7 @@ class VPCClient extends client_1.default {
|
|
|
249
357
|
/**
|
|
250
358
|
* DeleteSnatDnatRule - 删除NAT创建内外网IP映射规则
|
|
251
359
|
*
|
|
252
|
-
* See also: https://docs.ucloud.cn/api/
|
|
360
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_snat_dnat_rule
|
|
253
361
|
*/
|
|
254
362
|
deleteSnatDnatRule(request) {
|
|
255
363
|
const args = Object.assign({ Action: 'DeleteSnatDnatRule' }, (request || {}));
|
|
@@ -258,7 +366,7 @@ class VPCClient extends client_1.default {
|
|
|
258
366
|
/**
|
|
259
367
|
* DeleteSnatRule - 删除指定的出口规则(SNAT规则)
|
|
260
368
|
*
|
|
261
|
-
* See also: https://docs.ucloud.cn/api/
|
|
369
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_snat_rule
|
|
262
370
|
*/
|
|
263
371
|
deleteSnatRule(request) {
|
|
264
372
|
const args = Object.assign({ Action: 'DeleteSnatRule' }, (request || {}));
|
|
@@ -267,25 +375,43 @@ class VPCClient extends client_1.default {
|
|
|
267
375
|
/**
|
|
268
376
|
* DeleteSubnet - 删除子网
|
|
269
377
|
*
|
|
270
|
-
* See also: https://docs.ucloud.cn/api/
|
|
378
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_subnet
|
|
271
379
|
*/
|
|
272
380
|
deleteSubnet(request) {
|
|
273
381
|
const args = Object.assign({ Action: 'DeleteSubnet' }, (request || {}));
|
|
274
382
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
275
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* DeleteSubnetIPv6 - 子网取消关联IPv6
|
|
386
|
+
*
|
|
387
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_subnet_ip_v6
|
|
388
|
+
*/
|
|
389
|
+
deleteSubnetIPv6(request) {
|
|
390
|
+
const args = Object.assign({ Action: 'DeleteSubnetIPv6' }, (request || {}));
|
|
391
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
392
|
+
}
|
|
276
393
|
/**
|
|
277
394
|
* DeleteVPC - 删除VPC
|
|
278
395
|
*
|
|
279
|
-
* See also: https://docs.ucloud.cn/api/
|
|
396
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_vpc
|
|
280
397
|
*/
|
|
281
398
|
deleteVPC(request) {
|
|
282
399
|
const args = Object.assign({ Action: 'DeleteVPC' }, (request || {}));
|
|
283
400
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
284
401
|
}
|
|
402
|
+
/**
|
|
403
|
+
* DeleteVPCIPv6 - VPC取消关联IPv6网段
|
|
404
|
+
*
|
|
405
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_vpc_ip_v6
|
|
406
|
+
*/
|
|
407
|
+
deleteVPCIPv6(request) {
|
|
408
|
+
const args = Object.assign({ Action: 'DeleteVPCIPv6' }, (request || {}));
|
|
409
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
410
|
+
}
|
|
285
411
|
/**
|
|
286
412
|
* DeleteVPCIntercom - 删除VPC互通关系
|
|
287
413
|
*
|
|
288
|
-
* See also: https://docs.ucloud.cn/api/
|
|
414
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_vpc_intercom
|
|
289
415
|
*/
|
|
290
416
|
deleteVPCIntercom(request) {
|
|
291
417
|
const args = Object.assign({ Action: 'DeleteVPCIntercom' }, (request || {}));
|
|
@@ -294,7 +420,7 @@ class VPCClient extends client_1.default {
|
|
|
294
420
|
/**
|
|
295
421
|
* DeleteWhiteListResource - 删除NAT网关白名单列表
|
|
296
422
|
*
|
|
297
|
-
* See also: https://docs.ucloud.cn/api/
|
|
423
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/delete_white_list_resource
|
|
298
424
|
*/
|
|
299
425
|
deleteWhiteListResource(request) {
|
|
300
426
|
const args = Object.assign({ Action: 'DeleteWhiteListResource' }, (request || {}));
|
|
@@ -303,7 +429,7 @@ class VPCClient extends client_1.default {
|
|
|
303
429
|
/**
|
|
304
430
|
* DescribeInstanceNetworkInterface - 展示云主机绑定的网卡信息
|
|
305
431
|
*
|
|
306
|
-
* See also: https://docs.ucloud.cn/api/
|
|
432
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_instance_network_interface
|
|
307
433
|
*/
|
|
308
434
|
describeInstanceNetworkInterface(request) {
|
|
309
435
|
const args = Object.assign({ Action: 'DescribeInstanceNetworkInterface' }, (request || {}));
|
|
@@ -312,7 +438,7 @@ class VPCClient extends client_1.default {
|
|
|
312
438
|
/**
|
|
313
439
|
* DescribeNATGW - 获取NAT网关信息
|
|
314
440
|
*
|
|
315
|
-
* See also: https://docs.ucloud.cn/api/
|
|
441
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_natgw
|
|
316
442
|
*/
|
|
317
443
|
describeNATGW(request) {
|
|
318
444
|
const args = Object.assign({ Action: 'DescribeNATGW' }, (request || {}));
|
|
@@ -321,7 +447,7 @@ class VPCClient extends client_1.default {
|
|
|
321
447
|
/**
|
|
322
448
|
* DescribeNATGWPolicy - 展示NAT网关端口转发规则
|
|
323
449
|
*
|
|
324
|
-
* See also: https://docs.ucloud.cn/api/
|
|
450
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_natgw_policy
|
|
325
451
|
*/
|
|
326
452
|
describeNATGWPolicy(request) {
|
|
327
453
|
const args = Object.assign({ Action: 'DescribeNATGWPolicy' }, (request || {}));
|
|
@@ -330,7 +456,7 @@ class VPCClient extends client_1.default {
|
|
|
330
456
|
/**
|
|
331
457
|
* DescribeNetworkAcl - 获取网络ACL
|
|
332
458
|
*
|
|
333
|
-
* See also: https://docs.ucloud.cn/api/
|
|
459
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_network_acl
|
|
334
460
|
*/
|
|
335
461
|
describeNetworkAcl(request) {
|
|
336
462
|
const args = Object.assign({ Action: 'DescribeNetworkAcl' }, (request || {}));
|
|
@@ -339,7 +465,7 @@ class VPCClient extends client_1.default {
|
|
|
339
465
|
/**
|
|
340
466
|
* DescribeNetworkAclAssociation - 获取网络ACL的绑定关系列表
|
|
341
467
|
*
|
|
342
|
-
* See also: https://docs.ucloud.cn/api/
|
|
468
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_network_acl_association
|
|
343
469
|
*/
|
|
344
470
|
describeNetworkAclAssociation(request) {
|
|
345
471
|
const args = Object.assign({ Action: 'DescribeNetworkAclAssociation' }, (request || {}));
|
|
@@ -348,7 +474,7 @@ class VPCClient extends client_1.default {
|
|
|
348
474
|
/**
|
|
349
475
|
* DescribeNetworkAclAssociationBySubnet - 获取子网的ACL绑定信息
|
|
350
476
|
*
|
|
351
|
-
* See also: https://docs.ucloud.cn/api/
|
|
477
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_network_acl_association_by_subnet
|
|
352
478
|
*/
|
|
353
479
|
describeNetworkAclAssociationBySubnet(request) {
|
|
354
480
|
const args = Object.assign({ Action: 'DescribeNetworkAclAssociationBySubnet' }, (request || {}));
|
|
@@ -357,7 +483,7 @@ class VPCClient extends client_1.default {
|
|
|
357
483
|
/**
|
|
358
484
|
* DescribeNetworkAclEntry - 获取ACL的规则信息
|
|
359
485
|
*
|
|
360
|
-
* See also: https://docs.ucloud.cn/api/
|
|
486
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_network_acl_entry
|
|
361
487
|
*/
|
|
362
488
|
describeNetworkAclEntry(request) {
|
|
363
489
|
const args = Object.assign({ Action: 'DescribeNetworkAclEntry' }, (request || {}));
|
|
@@ -366,25 +492,52 @@ class VPCClient extends client_1.default {
|
|
|
366
492
|
/**
|
|
367
493
|
* DescribeNetworkInterface - 展示虚拟网卡信息
|
|
368
494
|
*
|
|
369
|
-
* See also: https://docs.ucloud.cn/api/
|
|
495
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_network_interface
|
|
370
496
|
*/
|
|
371
497
|
describeNetworkInterface(request) {
|
|
372
498
|
const args = Object.assign({ Action: 'DescribeNetworkInterface' }, (request || {}));
|
|
373
499
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
374
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* DescribeResourceSecGroup - 查询资源绑定的安全组信息
|
|
503
|
+
*
|
|
504
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_resource_sec_group
|
|
505
|
+
*/
|
|
506
|
+
describeResourceSecGroup(request) {
|
|
507
|
+
const args = Object.assign({ Action: 'DescribeResourceSecGroup' }, (request || {}));
|
|
508
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
509
|
+
}
|
|
375
510
|
/**
|
|
376
511
|
* DescribeRouteTable - 获取路由表详细信息(包括路由策略)
|
|
377
512
|
*
|
|
378
|
-
* See also: https://docs.ucloud.cn/api/
|
|
513
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_route_table
|
|
379
514
|
*/
|
|
380
515
|
describeRouteTable(request) {
|
|
381
516
|
const args = Object.assign({ Action: 'DescribeRouteTable' }, (request || {}));
|
|
382
517
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
383
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* DescribeSecGroup -
|
|
521
|
+
*
|
|
522
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_sec_group
|
|
523
|
+
*/
|
|
524
|
+
describeSecGroup(request) {
|
|
525
|
+
const args = Object.assign({ Action: 'DescribeSecGroup' }, (request || {}));
|
|
526
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* DescribeSecGroupResource - 获取安全组绑资源信息
|
|
530
|
+
*
|
|
531
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_sec_group_resource
|
|
532
|
+
*/
|
|
533
|
+
describeSecGroupResource(request) {
|
|
534
|
+
const args = Object.assign({ Action: 'DescribeSecGroupResource' }, (request || {}));
|
|
535
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
536
|
+
}
|
|
384
537
|
/**
|
|
385
538
|
* DescribeSecondaryIp - 查询SecondaryIp(uk8s使用)
|
|
386
539
|
*
|
|
387
|
-
* See also: https://docs.ucloud.cn/api/
|
|
540
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_secondary_ip
|
|
388
541
|
*/
|
|
389
542
|
describeSecondaryIp(request) {
|
|
390
543
|
const args = Object.assign({ Action: 'DescribeSecondaryIp' }, (request || {}));
|
|
@@ -393,7 +546,7 @@ class VPCClient extends client_1.default {
|
|
|
393
546
|
/**
|
|
394
547
|
* DescribeSnatDnatRule - 获取基于NAT创建的内外网IP映射规则信息
|
|
395
548
|
*
|
|
396
|
-
* See also: https://docs.ucloud.cn/api/
|
|
549
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_snat_dnat_rule
|
|
397
550
|
*/
|
|
398
551
|
describeSnatDnatRule(request) {
|
|
399
552
|
const args = Object.assign({ Action: 'DescribeSnatDnatRule' }, (request || {}));
|
|
@@ -402,7 +555,7 @@ class VPCClient extends client_1.default {
|
|
|
402
555
|
/**
|
|
403
556
|
* DescribeSnatRule - 获取Nat网关的出口规则(SNAT规则)
|
|
404
557
|
*
|
|
405
|
-
* See also: https://docs.ucloud.cn/api/
|
|
558
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_snat_rule
|
|
406
559
|
*/
|
|
407
560
|
describeSnatRule(request) {
|
|
408
561
|
const args = Object.assign({ Action: 'DescribeSnatRule' }, (request || {}));
|
|
@@ -411,7 +564,7 @@ class VPCClient extends client_1.default {
|
|
|
411
564
|
/**
|
|
412
565
|
* DescribeSubnet - 获取子网信息
|
|
413
566
|
*
|
|
414
|
-
* See also: https://docs.ucloud.cn/api/
|
|
567
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_subnet
|
|
415
568
|
*/
|
|
416
569
|
describeSubnet(request) {
|
|
417
570
|
const args = Object.assign({ Action: 'DescribeSubnet' }, (request || {}));
|
|
@@ -420,7 +573,7 @@ class VPCClient extends client_1.default {
|
|
|
420
573
|
/**
|
|
421
574
|
* DescribeSubnetResource - 展示子网资源
|
|
422
575
|
*
|
|
423
|
-
* See also: https://docs.ucloud.cn/api/
|
|
576
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_subnet_resource
|
|
424
577
|
*/
|
|
425
578
|
describeSubnetResource(request) {
|
|
426
579
|
const args = Object.assign({ Action: 'DescribeSubnetResource' }, (request || {}));
|
|
@@ -429,7 +582,7 @@ class VPCClient extends client_1.default {
|
|
|
429
582
|
/**
|
|
430
583
|
* DescribeVIP - 获取内网VIP详细信息
|
|
431
584
|
*
|
|
432
|
-
* See also: https://docs.ucloud.cn/api/
|
|
585
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_vip
|
|
433
586
|
*/
|
|
434
587
|
describeVIP(request) {
|
|
435
588
|
const args = Object.assign({ Action: 'DescribeVIP' }, (request || {}));
|
|
@@ -438,7 +591,7 @@ class VPCClient extends client_1.default {
|
|
|
438
591
|
/**
|
|
439
592
|
* DescribeVPC - 获取VPC信息
|
|
440
593
|
*
|
|
441
|
-
* See also: https://docs.ucloud.cn/api/
|
|
594
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_vpc
|
|
442
595
|
*/
|
|
443
596
|
describeVPC(request) {
|
|
444
597
|
const args = Object.assign({ Action: 'DescribeVPC' }, (request || {}));
|
|
@@ -447,7 +600,7 @@ class VPCClient extends client_1.default {
|
|
|
447
600
|
/**
|
|
448
601
|
* DescribeVPCIntercom - 获取VPC互通信息
|
|
449
602
|
*
|
|
450
|
-
* See also: https://docs.ucloud.cn/api/
|
|
603
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_vpc_intercom
|
|
451
604
|
*/
|
|
452
605
|
describeVPCIntercom(request) {
|
|
453
606
|
const args = Object.assign({ Action: 'DescribeVPCIntercom' }, (request || {}));
|
|
@@ -456,16 +609,61 @@ class VPCClient extends client_1.default {
|
|
|
456
609
|
/**
|
|
457
610
|
* DescribeWhiteListResource - 展示NAT网关白名单资源列表
|
|
458
611
|
*
|
|
459
|
-
* See also: https://docs.ucloud.cn/api/
|
|
612
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/describe_white_list_resource
|
|
460
613
|
*/
|
|
461
614
|
describeWhiteListResource(request) {
|
|
462
615
|
const args = Object.assign({ Action: 'DescribeWhiteListResource' }, (request || {}));
|
|
463
616
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
464
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* DetachNetworkInterface - 解绑云主机关联网卡
|
|
620
|
+
*
|
|
621
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/detach_network_interface
|
|
622
|
+
*/
|
|
623
|
+
detachNetworkInterface(request) {
|
|
624
|
+
const args = Object.assign({ Action: 'DetachNetworkInterface' }, (request || {}));
|
|
625
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* DisableUniEipDirectMode - 关闭虚拟网卡EIP直通功能
|
|
629
|
+
*
|
|
630
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/disable_uni_eip_direct_mode
|
|
631
|
+
*/
|
|
632
|
+
disableUniEipDirectMode(request) {
|
|
633
|
+
const args = Object.assign({ Action: 'DisableUniEipDirectMode' }, (request || {}));
|
|
634
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* DisableVPCIPv6 - VPC关闭IPv6
|
|
638
|
+
*
|
|
639
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/disable_vpc_ip_v6
|
|
640
|
+
*/
|
|
641
|
+
disableVPCIPv6(request) {
|
|
642
|
+
const args = Object.assign({ Action: 'DisableVPCIPv6' }, (request || {}));
|
|
643
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* DisassociateSecGroup - 解绑安全组和资源绑定关系
|
|
647
|
+
*
|
|
648
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/disassociate_sec_group
|
|
649
|
+
*/
|
|
650
|
+
disassociateSecGroup(request) {
|
|
651
|
+
const args = Object.assign({ Action: 'DisassociateSecGroup' }, (request || {}));
|
|
652
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* EnableUniEipDirectMode - 开启虚拟网卡EIP直通功能
|
|
656
|
+
*
|
|
657
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/enable_uni_eip_direct_mode
|
|
658
|
+
*/
|
|
659
|
+
enableUniEipDirectMode(request) {
|
|
660
|
+
const args = Object.assign({ Action: 'EnableUniEipDirectMode' }, (request || {}));
|
|
661
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
662
|
+
}
|
|
465
663
|
/**
|
|
466
664
|
* EnableWhiteList - 修改NAT网关白名单开关
|
|
467
665
|
*
|
|
468
|
-
* See also: https://docs.ucloud.cn/api/
|
|
666
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/enable_white_list
|
|
469
667
|
*/
|
|
470
668
|
enableWhiteList(request) {
|
|
471
669
|
const args = Object.assign({ Action: 'EnableWhiteList' }, (request || {}));
|
|
@@ -474,7 +672,7 @@ class VPCClient extends client_1.default {
|
|
|
474
672
|
/**
|
|
475
673
|
* GetAvailableResourceForPolicy - 获取NAT网关可配置端口转发规则的资源信息
|
|
476
674
|
*
|
|
477
|
-
* See also: https://docs.ucloud.cn/api/
|
|
675
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/get_available_resource_for_policy
|
|
478
676
|
*/
|
|
479
677
|
getAvailableResourceForPolicy(request) {
|
|
480
678
|
const args = Object.assign({ Action: 'GetAvailableResourceForPolicy' }, (request || {}));
|
|
@@ -483,7 +681,7 @@ class VPCClient extends client_1.default {
|
|
|
483
681
|
/**
|
|
484
682
|
* GetAvailableResourceForSnatRule - 获取可用于添加snat规则(出口规则)的资源列表
|
|
485
683
|
*
|
|
486
|
-
* See also: https://docs.ucloud.cn/api/
|
|
684
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/get_available_resource_for_snat_rule
|
|
487
685
|
*/
|
|
488
686
|
getAvailableResourceForSnatRule(request) {
|
|
489
687
|
const args = Object.assign({ Action: 'GetAvailableResourceForSnatRule' }, (request || {}));
|
|
@@ -492,7 +690,7 @@ class VPCClient extends client_1.default {
|
|
|
492
690
|
/**
|
|
493
691
|
* GetAvailableResourceForWhiteList - 获取NAT网关可添加白名单的资源
|
|
494
692
|
*
|
|
495
|
-
* See also: https://docs.ucloud.cn/api/
|
|
693
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/get_available_resource_for_white_list
|
|
496
694
|
*/
|
|
497
695
|
getAvailableResourceForWhiteList(request) {
|
|
498
696
|
const args = Object.assign({ Action: 'GetAvailableResourceForWhiteList' }, (request || {}));
|
|
@@ -501,7 +699,7 @@ class VPCClient extends client_1.default {
|
|
|
501
699
|
/**
|
|
502
700
|
* GetNetworkAclTargetResource - 获取ACL规则应用目标列表
|
|
503
701
|
*
|
|
504
|
-
* See also: https://docs.ucloud.cn/api/
|
|
702
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/get_network_acl_target_resource
|
|
505
703
|
*/
|
|
506
704
|
getNetworkAclTargetResource(request) {
|
|
507
705
|
const args = Object.assign({ Action: 'GetNetworkAclTargetResource' }, (request || {}));
|
|
@@ -510,7 +708,7 @@ class VPCClient extends client_1.default {
|
|
|
510
708
|
/**
|
|
511
709
|
* ListSubnetForNATGW - 展示NAT网关可绑定的子网列表
|
|
512
710
|
*
|
|
513
|
-
* See also: https://docs.ucloud.cn/api/
|
|
711
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/list_subnet_for_natgw
|
|
514
712
|
*/
|
|
515
713
|
listSubnetForNATGW(request) {
|
|
516
714
|
const args = Object.assign({ Action: 'ListSubnetForNATGW' }, (request || {}));
|
|
@@ -519,7 +717,7 @@ class VPCClient extends client_1.default {
|
|
|
519
717
|
/**
|
|
520
718
|
* ModifyRouteRule - 路由策略增、删、改
|
|
521
719
|
*
|
|
522
|
-
* See also: https://docs.ucloud.cn/api/
|
|
720
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/modify_route_rule
|
|
523
721
|
*/
|
|
524
722
|
modifyRouteRule(request) {
|
|
525
723
|
const args = Object.assign({ Action: 'ModifyRouteRule' }, (request || {}));
|
|
@@ -528,7 +726,7 @@ class VPCClient extends client_1.default {
|
|
|
528
726
|
/**
|
|
529
727
|
* MoveSecondaryIPMac - 把 Secondary IP 从旧 MAC 迁移到新 MAC
|
|
530
728
|
*
|
|
531
|
-
* See also: https://docs.ucloud.cn/api/
|
|
729
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/move_secondary_ip_mac
|
|
532
730
|
*/
|
|
533
731
|
moveSecondaryIPMac(request) {
|
|
534
732
|
const args = Object.assign({ Action: 'MoveSecondaryIPMac' }, (request || {}));
|
|
@@ -537,7 +735,7 @@ class VPCClient extends client_1.default {
|
|
|
537
735
|
/**
|
|
538
736
|
* ReleaseVIP - 释放VIP资源
|
|
539
737
|
*
|
|
540
|
-
* See also: https://docs.ucloud.cn/api/
|
|
738
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/release_vip
|
|
541
739
|
*/
|
|
542
740
|
releaseVIP(request) {
|
|
543
741
|
const args = Object.assign({ Action: 'ReleaseVIP' }, (request || {}));
|
|
@@ -546,25 +744,70 @@ class VPCClient extends client_1.default {
|
|
|
546
744
|
/**
|
|
547
745
|
* SetGwDefaultExport - 设置NAT网关的默认出口
|
|
548
746
|
*
|
|
549
|
-
* See also: https://docs.ucloud.cn/api/
|
|
747
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/set_gw_default_export
|
|
550
748
|
*/
|
|
551
749
|
setGwDefaultExport(request) {
|
|
552
750
|
const args = Object.assign({ Action: 'SetGwDefaultExport' }, (request || {}));
|
|
553
751
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
554
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* SwitchToFirewall - 切换至防火墙模式
|
|
755
|
+
*
|
|
756
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/switch_to_firewall
|
|
757
|
+
*/
|
|
758
|
+
switchToFirewall(request) {
|
|
759
|
+
const args = Object.assign({ Action: 'SwitchToFirewall' }, (request || {}));
|
|
760
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* SwitchToSecGroup - 切换至安全组模式
|
|
764
|
+
*
|
|
765
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/switch_to_sec_group
|
|
766
|
+
*/
|
|
767
|
+
switchToSecGroup(request) {
|
|
768
|
+
const args = Object.assign({ Action: 'SwitchToSecGroup' }, (request || {}));
|
|
769
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* UnassignIPv6 - 释放IPv6地址
|
|
773
|
+
*
|
|
774
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/unassign_ip_v6
|
|
775
|
+
*/
|
|
776
|
+
unassignIPv6(request) {
|
|
777
|
+
const args = Object.assign({ Action: 'UnassignIPv6' }, (request || {}));
|
|
778
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* UpdateNATGW - 更新nat网关基本信息
|
|
782
|
+
*
|
|
783
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_natgw
|
|
784
|
+
*/
|
|
785
|
+
updateNATGW(request) {
|
|
786
|
+
const args = Object.assign({ Action: 'UpdateNATGW' }, (request || {}));
|
|
787
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
788
|
+
}
|
|
555
789
|
/**
|
|
556
790
|
* UpdateNATGWPolicy - 更新NAT网关端口转发规则
|
|
557
791
|
*
|
|
558
|
-
* See also: https://docs.ucloud.cn/api/
|
|
792
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_natgw_policy
|
|
559
793
|
*/
|
|
560
794
|
updateNATGWPolicy(request) {
|
|
561
795
|
const args = Object.assign({ Action: 'UpdateNATGWPolicy' }, (request || {}));
|
|
562
796
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
563
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
* UpdateNATGWSnatpool - NAT网关默认出口规则是否开启Snatpool,若开启,对应控制台上的负载均衡流量出口方式。
|
|
800
|
+
*
|
|
801
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_natgw_snatpool
|
|
802
|
+
*/
|
|
803
|
+
updateNATGWSnatpool(request) {
|
|
804
|
+
const args = Object.assign({ Action: 'UpdateNATGWSnatpool' }, (request || {}));
|
|
805
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
806
|
+
}
|
|
564
807
|
/**
|
|
565
808
|
* UpdateNATGWSubnet - 更新NAT网关绑定的子网
|
|
566
809
|
*
|
|
567
|
-
* See also: https://docs.ucloud.cn/api/
|
|
810
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_natgw_subnet
|
|
568
811
|
*/
|
|
569
812
|
updateNATGWSubnet(request) {
|
|
570
813
|
const args = Object.assign({ Action: 'UpdateNATGWSubnet' }, (request || {}));
|
|
@@ -573,7 +816,7 @@ class VPCClient extends client_1.default {
|
|
|
573
816
|
/**
|
|
574
817
|
* UpdateNetworkAcl - 更改ACL
|
|
575
818
|
*
|
|
576
|
-
* See also: https://docs.ucloud.cn/api/
|
|
819
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_network_acl
|
|
577
820
|
*/
|
|
578
821
|
updateNetworkAcl(request) {
|
|
579
822
|
const args = Object.assign({ Action: 'UpdateNetworkAcl' }, (request || {}));
|
|
@@ -582,25 +825,61 @@ class VPCClient extends client_1.default {
|
|
|
582
825
|
/**
|
|
583
826
|
* UpdateNetworkAclEntry - 更新ACL的规则
|
|
584
827
|
*
|
|
585
|
-
* See also: https://docs.ucloud.cn/api/
|
|
828
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_network_acl_entry
|
|
586
829
|
*/
|
|
587
830
|
updateNetworkAclEntry(request) {
|
|
588
831
|
const args = Object.assign({ Action: 'UpdateNetworkAclEntry' }, (request || {}));
|
|
589
832
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
590
833
|
}
|
|
834
|
+
/**
|
|
835
|
+
* UpdateNetworkInterfaceDefaultOutput - 更新虚拟网卡默认出口(仅用于开启EIP网卡可见模式的虚拟网卡)
|
|
836
|
+
*
|
|
837
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_network_interface_default_output
|
|
838
|
+
*/
|
|
839
|
+
updateNetworkInterfaceDefaultOutput(request) {
|
|
840
|
+
const args = Object.assign({ Action: 'UpdateNetworkInterfaceDefaultOutput' }, (request || {}));
|
|
841
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
842
|
+
}
|
|
591
843
|
/**
|
|
592
844
|
* UpdateRouteTableAttribute - 更新路由表基本信息
|
|
593
845
|
*
|
|
594
|
-
* See also: https://docs.ucloud.cn/api/
|
|
846
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_route_table_attribute
|
|
595
847
|
*/
|
|
596
848
|
updateRouteTableAttribute(request) {
|
|
597
849
|
const args = Object.assign({ Action: 'UpdateRouteTableAttribute' }, (request || {}));
|
|
598
850
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
599
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
* UpdateSecGroup - 更新安全组基本信息
|
|
854
|
+
*
|
|
855
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_sec_group
|
|
856
|
+
*/
|
|
857
|
+
updateSecGroup(request) {
|
|
858
|
+
const args = Object.assign({ Action: 'UpdateSecGroup' }, (request || {}));
|
|
859
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* UpdateSecGroupAssociation - 仅对操作的安全组ID生效,其他已有的绑定关系不受影响。
|
|
863
|
+
*
|
|
864
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_sec_group_association
|
|
865
|
+
*/
|
|
866
|
+
updateSecGroupAssociation(request) {
|
|
867
|
+
const args = Object.assign({ Action: 'UpdateSecGroupAssociation' }, (request || {}));
|
|
868
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* UpdateSecGroupRule -
|
|
872
|
+
*
|
|
873
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_sec_group_rule
|
|
874
|
+
*/
|
|
875
|
+
updateSecGroupRule(request) {
|
|
876
|
+
const args = Object.assign({ Action: 'UpdateSecGroupRule' }, (request || {}));
|
|
877
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
878
|
+
}
|
|
600
879
|
/**
|
|
601
880
|
* UpdateSnatRule - 更新指定的出口规则(SNAT规则)
|
|
602
881
|
*
|
|
603
|
-
* See also: https://docs.ucloud.cn/api/
|
|
882
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_snat_rule
|
|
604
883
|
*/
|
|
605
884
|
updateSnatRule(request) {
|
|
606
885
|
const args = Object.assign({ Action: 'UpdateSnatRule' }, (request || {}));
|
|
@@ -609,7 +888,7 @@ class VPCClient extends client_1.default {
|
|
|
609
888
|
/**
|
|
610
889
|
* UpdateSubnetAttribute - 更新子网信息
|
|
611
890
|
*
|
|
612
|
-
* See also: https://docs.ucloud.cn/api/
|
|
891
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_subnet_attribute
|
|
613
892
|
*/
|
|
614
893
|
updateSubnetAttribute(request) {
|
|
615
894
|
const args = Object.assign({ Action: 'UpdateSubnetAttribute' }, (request || {}));
|
|
@@ -618,16 +897,25 @@ class VPCClient extends client_1.default {
|
|
|
618
897
|
/**
|
|
619
898
|
* UpdateVIPAttribute - 更新VIP信息
|
|
620
899
|
*
|
|
621
|
-
* See also: https://docs.ucloud.cn/api/
|
|
900
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_vip_attribute
|
|
622
901
|
*/
|
|
623
902
|
updateVIPAttribute(request) {
|
|
624
903
|
const args = Object.assign({ Action: 'UpdateVIPAttribute' }, (request || {}));
|
|
625
904
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
626
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
* UpdateVPCIPv6 - 更新VPC IPv6网段
|
|
908
|
+
*
|
|
909
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_vpc_ip_v6
|
|
910
|
+
*/
|
|
911
|
+
updateVPCIPv6(request) {
|
|
912
|
+
const args = Object.assign({ Action: 'UpdateVPCIPv6' }, (request || {}));
|
|
913
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
914
|
+
}
|
|
627
915
|
/**
|
|
628
916
|
* UpdateVPCNetwork - 更新VPC网段
|
|
629
917
|
*
|
|
630
|
-
* See also: https://docs.ucloud.cn/api/
|
|
918
|
+
* See also: https://docs.ucloud.cn/api/vpc-api/update_vpc_network
|
|
631
919
|
*/
|
|
632
920
|
updateVPCNetwork(request) {
|
|
633
921
|
const args = Object.assign({ Action: 'UpdateVPCNetwork' }, (request || {}));
|