@ucloud-sdks/ucloud-sdk-js 0.2.4 → 0.2.5
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/ulb/index.d.ts +3626 -861
- package/lib/services/ulb/index.js +261 -18
- package/package.json +1 -1
|
@@ -13,7 +13,25 @@ class ULBClient extends client_1.default {
|
|
|
13
13
|
super({ config, credential });
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* AddSSLBinding - ALB的监听器绑定SSL证书
|
|
17
|
+
*
|
|
18
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/add_ssl_binding
|
|
19
|
+
*/
|
|
20
|
+
addSSLBinding(request) {
|
|
21
|
+
const args = Object.assign({ Action: 'AddSSLBinding' }, (request || {}));
|
|
22
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* AddTargets - 给应用型负载均衡监听器添加后端服务节点
|
|
26
|
+
*
|
|
27
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/add_targets
|
|
28
|
+
*/
|
|
29
|
+
addTargets(request) {
|
|
30
|
+
const args = Object.assign({ Action: 'AddTargets' }, (request || {}));
|
|
31
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* AllocateBackend - 添加CLB后端资源实例
|
|
17
35
|
*
|
|
18
36
|
* See also: https://docs.ucloud.cn/api/ulb-api/allocate_backend
|
|
19
37
|
*/
|
|
@@ -22,7 +40,7 @@ class ULBClient extends client_1.default {
|
|
|
22
40
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
23
41
|
}
|
|
24
42
|
/**
|
|
25
|
-
* BindSSL - 将SSL
|
|
43
|
+
* BindSSL - 将SSL证书绑定到传统型负载均衡VServer
|
|
26
44
|
*
|
|
27
45
|
* See also: https://docs.ucloud.cn/api/ulb-api/bind_ssl
|
|
28
46
|
*/
|
|
@@ -31,7 +49,25 @@ class ULBClient extends client_1.default {
|
|
|
31
49
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
32
50
|
}
|
|
33
51
|
/**
|
|
34
|
-
*
|
|
52
|
+
* CreateListener - 创建一个应用型负载均衡的监听器
|
|
53
|
+
*
|
|
54
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/create_listener
|
|
55
|
+
*/
|
|
56
|
+
createListener(request) {
|
|
57
|
+
const args = Object.assign({ Action: 'CreateListener' }, (request || {}));
|
|
58
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* CreateLoadBalancer - 创建一个应用型负载均衡实例
|
|
62
|
+
*
|
|
63
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/create_load_balancer
|
|
64
|
+
*/
|
|
65
|
+
createLoadBalancer(request) {
|
|
66
|
+
const args = Object.assign({ Action: 'CreateLoadBalancer' }, (request || {}));
|
|
67
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* CreatePolicy - 传统型负载均衡创建VServer内容转发策略
|
|
35
71
|
*
|
|
36
72
|
* See also: https://docs.ucloud.cn/api/ulb-api/create_policy
|
|
37
73
|
*/
|
|
@@ -39,6 +75,15 @@ class ULBClient extends client_1.default {
|
|
|
39
75
|
const args = Object.assign({ Action: 'CreatePolicy' }, (request || {}));
|
|
40
76
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
41
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* CreateRule - 给应用型负载均衡监听器创建一条转发规则
|
|
80
|
+
*
|
|
81
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/create_rule
|
|
82
|
+
*/
|
|
83
|
+
createRule(request) {
|
|
84
|
+
const args = Object.assign({ Action: 'CreateRule' }, (request || {}));
|
|
85
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
86
|
+
}
|
|
42
87
|
/**
|
|
43
88
|
* CreateSSL - 创建SSL证书,可以把整个 Pem 证书内容传过来,或者把证书、私钥、CA证书分别传过来
|
|
44
89
|
*
|
|
@@ -49,7 +94,16 @@ class ULBClient extends client_1.default {
|
|
|
49
94
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
50
95
|
}
|
|
51
96
|
/**
|
|
52
|
-
*
|
|
97
|
+
* CreateSecurityPolicy - 创建安全策略
|
|
98
|
+
*
|
|
99
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/create_security_policy
|
|
100
|
+
*/
|
|
101
|
+
createSecurityPolicy(request) {
|
|
102
|
+
const args = Object.assign({ Action: 'CreateSecurityPolicy' }, (request || {}));
|
|
103
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* CreateULB - 创建传统型负载均衡负载均衡实例,可以选择内网或者外网
|
|
53
107
|
*
|
|
54
108
|
* See also: https://docs.ucloud.cn/api/ulb-api/create_ulb
|
|
55
109
|
*/
|
|
@@ -58,7 +112,7 @@ class ULBClient extends client_1.default {
|
|
|
58
112
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
59
113
|
}
|
|
60
114
|
/**
|
|
61
|
-
* CreateVServer - 创建VServer实例,定义监听的协议和端口以及负载均衡算法
|
|
115
|
+
* CreateVServer - 创建CLB的VServer实例,定义监听的协议和端口以及负载均衡算法
|
|
62
116
|
*
|
|
63
117
|
* See also: https://docs.ucloud.cn/api/ulb-api/create_vserver
|
|
64
118
|
*/
|
|
@@ -67,7 +121,25 @@ class ULBClient extends client_1.default {
|
|
|
67
121
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
68
122
|
}
|
|
69
123
|
/**
|
|
70
|
-
*
|
|
124
|
+
* DeleteListener - 删除一个应用型负载均衡监听器
|
|
125
|
+
*
|
|
126
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/delete_listener
|
|
127
|
+
*/
|
|
128
|
+
deleteListener(request) {
|
|
129
|
+
const args = Object.assign({ Action: 'DeleteListener' }, (request || {}));
|
|
130
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* DeleteLoadBalancer - 删除一个应用型负载均衡实例
|
|
134
|
+
*
|
|
135
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/delete_load_balancer
|
|
136
|
+
*/
|
|
137
|
+
deleteLoadBalancer(request) {
|
|
138
|
+
const args = Object.assign({ Action: 'DeleteLoadBalancer' }, (request || {}));
|
|
139
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* DeletePolicy - 删除传统型负载均衡的内容转发策略
|
|
71
143
|
*
|
|
72
144
|
* See also: https://docs.ucloud.cn/api/ulb-api/delete_policy
|
|
73
145
|
*/
|
|
@@ -75,6 +147,15 @@ class ULBClient extends client_1.default {
|
|
|
75
147
|
const args = Object.assign({ Action: 'DeletePolicy' }, (request || {}));
|
|
76
148
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
77
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* DeleteRule - 删除应用型负载均衡监听器的一条转发规则
|
|
152
|
+
*
|
|
153
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/delete_rule
|
|
154
|
+
*/
|
|
155
|
+
deleteRule(request) {
|
|
156
|
+
const args = Object.assign({ Action: 'DeleteRule' }, (request || {}));
|
|
157
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
158
|
+
}
|
|
78
159
|
/**
|
|
79
160
|
* DeleteSSL - 删除SSL证书
|
|
80
161
|
*
|
|
@@ -85,7 +166,25 @@ class ULBClient extends client_1.default {
|
|
|
85
166
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
86
167
|
}
|
|
87
168
|
/**
|
|
88
|
-
*
|
|
169
|
+
* DeleteSSLBinding - 删除监听器绑定的扩展证书
|
|
170
|
+
*
|
|
171
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/delete_ssl_binding
|
|
172
|
+
*/
|
|
173
|
+
deleteSSLBinding(request) {
|
|
174
|
+
const args = Object.assign({ Action: 'DeleteSSLBinding' }, (request || {}));
|
|
175
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* DeleteSecurityPolicy - 删除安全策略
|
|
179
|
+
*
|
|
180
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/delete_security_policy
|
|
181
|
+
*/
|
|
182
|
+
deleteSecurityPolicy(request) {
|
|
183
|
+
const args = Object.assign({ Action: 'DeleteSecurityPolicy' }, (request || {}));
|
|
184
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* DeleteULB - 删除传统型负载均衡实例
|
|
89
188
|
*
|
|
90
189
|
* See also: https://docs.ucloud.cn/api/ulb-api/delete_ulb
|
|
91
190
|
*/
|
|
@@ -94,7 +193,7 @@ class ULBClient extends client_1.default {
|
|
|
94
193
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
194
|
}
|
|
96
195
|
/**
|
|
97
|
-
* DeleteVServer - 删除VServer实例
|
|
196
|
+
* DeleteVServer - 删除CLB的VServer实例
|
|
98
197
|
*
|
|
99
198
|
* See also: https://docs.ucloud.cn/api/ulb-api/delete_vserver
|
|
100
199
|
*/
|
|
@@ -103,7 +202,34 @@ class ULBClient extends client_1.default {
|
|
|
103
202
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
203
|
}
|
|
105
204
|
/**
|
|
106
|
-
*
|
|
205
|
+
* DescribeListeners - 描述一个指定的监听器或者一个应用型负载均衡实例下的所有监听器
|
|
206
|
+
*
|
|
207
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_listeners
|
|
208
|
+
*/
|
|
209
|
+
describeListeners(request) {
|
|
210
|
+
const args = Object.assign({ Action: 'DescribeListeners' }, (request || {}));
|
|
211
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* DescribeLoadBalancers - 描述特定条件下的应用型负载均衡实例或者全部的应用型负载均衡实例
|
|
215
|
+
*
|
|
216
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_load_balancers
|
|
217
|
+
*/
|
|
218
|
+
describeLoadBalancers(request) {
|
|
219
|
+
const args = Object.assign({ Action: 'DescribeLoadBalancers' }, (request || {}));
|
|
220
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* DescribeRules - 描述一条指定的转发规则或者一个应用型负载均衡监听器下的所有转发规则
|
|
224
|
+
*
|
|
225
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_rules
|
|
226
|
+
*/
|
|
227
|
+
describeRules(request) {
|
|
228
|
+
const args = Object.assign({ Action: 'DescribeRules' }, (request || {}));
|
|
229
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* DescribeSSL - 获取SSL证书信息,仅能获取SSL证书与传统型负载均衡监听器的绑定关系
|
|
107
233
|
*
|
|
108
234
|
* See also: https://docs.ucloud.cn/api/ulb-api/describe_ssl
|
|
109
235
|
*/
|
|
@@ -112,7 +238,43 @@ class ULBClient extends client_1.default {
|
|
|
112
238
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
113
239
|
}
|
|
114
240
|
/**
|
|
115
|
-
*
|
|
241
|
+
* DescribeSSLV2 - 获取SSL证书信息,该接口可以同时获取SSL与传统型和应用型负载均衡监听器的绑定关系
|
|
242
|
+
*
|
|
243
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_sslv2
|
|
244
|
+
*/
|
|
245
|
+
describeSSLV2(request) {
|
|
246
|
+
const args = Object.assign({ Action: 'DescribeSSLV2' }, (request || {}));
|
|
247
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* DescribeSecurityPolicies - 获取安全策略的信息,绑定关系仅能获取安全策略与传统型负载均衡监听器的绑定关系
|
|
251
|
+
*
|
|
252
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_security_policies
|
|
253
|
+
*/
|
|
254
|
+
describeSecurityPolicies(request) {
|
|
255
|
+
const args = Object.assign({ Action: 'DescribeSecurityPolicies' }, (request || {}));
|
|
256
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* DescribeSecurityPoliciesV2 - 获取安全策略的信息,可以同时获取安全策略与传统型和应用性负载均衡监听器的绑定关系
|
|
260
|
+
*
|
|
261
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_security_policies_v2
|
|
262
|
+
*/
|
|
263
|
+
describeSecurityPoliciesV2(request) {
|
|
264
|
+
const args = Object.assign({ Action: 'DescribeSecurityPoliciesV2' }, (request || {}));
|
|
265
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* DescribeSupportCiphers - 返回安全策略所有支持的加密套件
|
|
269
|
+
*
|
|
270
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/describe_support_ciphers
|
|
271
|
+
*/
|
|
272
|
+
describeSupportCiphers(request) {
|
|
273
|
+
const args = Object.assign({ Action: 'DescribeSupportCiphers' }, (request || {}));
|
|
274
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* DescribeULB - 获取CLB详细信息
|
|
116
278
|
*
|
|
117
279
|
* See also: https://docs.ucloud.cn/api/ulb-api/describe_ulb
|
|
118
280
|
*/
|
|
@@ -121,7 +283,7 @@ class ULBClient extends client_1.default {
|
|
|
121
283
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
122
284
|
}
|
|
123
285
|
/**
|
|
124
|
-
* DescribeULBSimple - 获取
|
|
286
|
+
* DescribeULBSimple - 获取CLB信息
|
|
125
287
|
*
|
|
126
288
|
* See also: https://docs.ucloud.cn/api/ulb-api/describe_ulb_simple
|
|
127
289
|
*/
|
|
@@ -130,7 +292,7 @@ class ULBClient extends client_1.default {
|
|
|
130
292
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
131
293
|
}
|
|
132
294
|
/**
|
|
133
|
-
* DescribeVServer - 获取
|
|
295
|
+
* DescribeVServer - 获取CLB下的VServer的详细信息
|
|
134
296
|
*
|
|
135
297
|
* See also: https://docs.ucloud.cn/api/ulb-api/describe_vserver
|
|
136
298
|
*/
|
|
@@ -139,7 +301,7 @@ class ULBClient extends client_1.default {
|
|
|
139
301
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
140
302
|
}
|
|
141
303
|
/**
|
|
142
|
-
* ReleaseBackend - 从VServer释放后端资源实例
|
|
304
|
+
* ReleaseBackend - 从CLB的VServer释放后端资源实例
|
|
143
305
|
*
|
|
144
306
|
* See also: https://docs.ucloud.cn/api/ulb-api/release_backend
|
|
145
307
|
*/
|
|
@@ -148,7 +310,25 @@ class ULBClient extends client_1.default {
|
|
|
148
310
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
149
311
|
}
|
|
150
312
|
/**
|
|
151
|
-
*
|
|
313
|
+
* RemoveTargets - 从应用型负载均衡监听器删除后端服务节点
|
|
314
|
+
*
|
|
315
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/remove_targets
|
|
316
|
+
*/
|
|
317
|
+
removeTargets(request) {
|
|
318
|
+
const args = Object.assign({ Action: 'RemoveTargets' }, (request || {}));
|
|
319
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* UnBindSecurityPolicy - 批量解绑安全策略,会同时解绑与传统型和应用型负载均衡监听器的绑定关系
|
|
323
|
+
*
|
|
324
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/un_bind_security_policy
|
|
325
|
+
*/
|
|
326
|
+
unBindSecurityPolicy(request) {
|
|
327
|
+
const args = Object.assign({ Action: 'UnBindSecurityPolicy' }, (request || {}));
|
|
328
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* UnbindSSL - 从CLB下的VServer解绑SSL证书
|
|
152
332
|
*
|
|
153
333
|
* See also: https://docs.ucloud.cn/api/ulb-api/unbind_ssl
|
|
154
334
|
*/
|
|
@@ -157,7 +337,7 @@ class ULBClient extends client_1.default {
|
|
|
157
337
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
158
338
|
}
|
|
159
339
|
/**
|
|
160
|
-
* UpdateBackendAttribute - 更新
|
|
340
|
+
* UpdateBackendAttribute - 更新CLB后端资源实例(服务节点)属性
|
|
161
341
|
*
|
|
162
342
|
* See also: https://docs.ucloud.cn/api/ulb-api/update_backend_attribute
|
|
163
343
|
*/
|
|
@@ -166,7 +346,34 @@ class ULBClient extends client_1.default {
|
|
|
166
346
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
167
347
|
}
|
|
168
348
|
/**
|
|
169
|
-
*
|
|
349
|
+
* UpdateBackendBatch - 批量更新ULB后端资源实例(服务节点)属性
|
|
350
|
+
*
|
|
351
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_backend_batch
|
|
352
|
+
*/
|
|
353
|
+
updateBackendBatch(request) {
|
|
354
|
+
const args = Object.assign({ Action: 'UpdateBackendBatch' }, (request || {}));
|
|
355
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* UpdateListenerAttribute - 更新一个应用型负载均衡监听器的属性
|
|
359
|
+
*
|
|
360
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_listener_attribute
|
|
361
|
+
*/
|
|
362
|
+
updateListenerAttribute(request) {
|
|
363
|
+
const args = Object.assign({ Action: 'UpdateListenerAttribute' }, (request || {}));
|
|
364
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* UpdateLoadBalancerAttribute - 更新一个应用型负载均衡实例的属性
|
|
368
|
+
*
|
|
369
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_load_balancer_attribute
|
|
370
|
+
*/
|
|
371
|
+
updateLoadBalancerAttribute(request) {
|
|
372
|
+
const args = Object.assign({ Action: 'UpdateLoadBalancerAttribute' }, (request || {}));
|
|
373
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* UpdatePolicy - 更新传统型负载均衡内容转发规则,包括转发规则后的服务节点
|
|
170
377
|
*
|
|
171
378
|
* See also: https://docs.ucloud.cn/api/ulb-api/update_policy
|
|
172
379
|
*/
|
|
@@ -174,6 +381,15 @@ class ULBClient extends client_1.default {
|
|
|
174
381
|
const args = Object.assign({ Action: 'UpdatePolicy' }, (request || {}));
|
|
175
382
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
176
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* UpdateRuleAttribute - 更新应用型负载均衡监听器的一条转发规则的属性
|
|
386
|
+
*
|
|
387
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_rule_attribute
|
|
388
|
+
*/
|
|
389
|
+
updateRuleAttribute(request) {
|
|
390
|
+
const args = Object.assign({ Action: 'UpdateRuleAttribute' }, (request || {}));
|
|
391
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
392
|
+
}
|
|
177
393
|
/**
|
|
178
394
|
* UpdateSSLAttribute - 更新修改SSL的属性,如:修改SSLName
|
|
179
395
|
*
|
|
@@ -184,7 +400,34 @@ class ULBClient extends client_1.default {
|
|
|
184
400
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
185
401
|
}
|
|
186
402
|
/**
|
|
187
|
-
*
|
|
403
|
+
* UpdateSSLBinding - 将传统型或应用型负载均衡监听器绑定的证书更换为另一个证书,
|
|
404
|
+
*
|
|
405
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_ssl_binding
|
|
406
|
+
*/
|
|
407
|
+
updateSSLBinding(request) {
|
|
408
|
+
const args = Object.assign({ Action: 'UpdateSSLBinding' }, (request || {}));
|
|
409
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* UpdateSecurityPolicy - 更新安全策略
|
|
413
|
+
*
|
|
414
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_security_policy
|
|
415
|
+
*/
|
|
416
|
+
updateSecurityPolicy(request) {
|
|
417
|
+
const args = Object.assign({ Action: 'UpdateSecurityPolicy' }, (request || {}));
|
|
418
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* UpdateTargetsAttribute - 更新应用型负载均衡监听器后端服务节点的属性
|
|
422
|
+
*
|
|
423
|
+
* See also: https://docs.ucloud.cn/api/ulb-api/update_targets_attribute
|
|
424
|
+
*/
|
|
425
|
+
updateTargetsAttribute(request) {
|
|
426
|
+
const args = Object.assign({ Action: 'UpdateTargetsAttribute' }, (request || {}));
|
|
427
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* UpdateULBAttribute - 更新CLB名字业务组备注等属性字段
|
|
188
431
|
*
|
|
189
432
|
* See also: https://docs.ucloud.cn/api/ulb-api/update_ulb_attribute
|
|
190
433
|
*/
|
|
@@ -193,7 +436,7 @@ class ULBClient extends client_1.default {
|
|
|
193
436
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
194
437
|
}
|
|
195
438
|
/**
|
|
196
|
-
* UpdateVServerAttribute -
|
|
439
|
+
* UpdateVServerAttribute - 更新传统型负载均衡VServer实例属性
|
|
197
440
|
*
|
|
198
441
|
* See also: https://docs.ucloud.cn/api/ulb-api/update_vserver_attribute
|
|
199
442
|
*/
|