tencentcloud-sdk-nodejs-intl-en 3.0.1285 → 3.0.1287
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/package.json +1 -1
- package/tencentcloud/as/v20180419/models.js +29 -5
- package/tencentcloud/clb/v20180317/clb_client.js +665 -554
- package/tencentcloud/clb/v20180317/models.js +2243 -1253
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +9 -0
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/mongodb/v20190725/models.js +1002 -54
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +107 -1
- package/tencentcloud/ocr/v20181119/models.js +1 -0
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tdmq/v20200217/models.js +14304 -6362
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +776 -249
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +109 -9
- package/tencentcloud/teo/v20220901/teo_client.js +2 -0
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/trocket/index.js +3 -0
- package/tencentcloud/trocket/v20230308/index.js +4 -0
- package/tencentcloud/trocket/v20230308/models.js +7015 -0
- package/tencentcloud/trocket/v20230308/trocket_client.js +678 -0
|
@@ -24,6 +24,7 @@ const BatchDeregisterTargetsResponse = models.BatchDeregisterTargetsResponse;
|
|
|
24
24
|
const SetLoadBalancerSecurityGroupsResponse = models.SetLoadBalancerSecurityGroupsResponse;
|
|
25
25
|
const RulesItems = models.RulesItems;
|
|
26
26
|
const ExtraInfo = models.ExtraInfo;
|
|
27
|
+
const ClassicalListener = models.ClassicalListener;
|
|
27
28
|
const BatchModifyTargetWeightResponse = models.BatchModifyTargetWeightResponse;
|
|
28
29
|
const SetSecurityGroupForLoadbalancersRequest = models.SetSecurityGroupForLoadbalancersRequest;
|
|
29
30
|
const CreateLoadBalancerRequest = models.CreateLoadBalancerRequest;
|
|
@@ -31,7 +32,7 @@ const DescribeLoadBalancerOverviewResponse = models.DescribeLoadBalancerOverview
|
|
|
31
32
|
const DeleteRuleRequest = models.DeleteRuleRequest;
|
|
32
33
|
const CloneLoadBalancerRequest = models.CloneLoadBalancerRequest;
|
|
33
34
|
const DisassociateTargetGroupsResponse = models.DisassociateTargetGroupsResponse;
|
|
34
|
-
const
|
|
35
|
+
const ListenerBackend = models.ListenerBackend;
|
|
35
36
|
const SetLoadBalancerClsLogResponse = models.SetLoadBalancerClsLogResponse;
|
|
36
37
|
const DescribeLoadBalancerTrafficResponse = models.DescribeLoadBalancerTrafficResponse;
|
|
37
38
|
const MultiCertInfo = models.MultiCertInfo;
|
|
@@ -42,14 +43,17 @@ const DescribeBlockIPListResponse = models.DescribeBlockIPListResponse;
|
|
|
42
43
|
const DescribeRewriteRequest = models.DescribeRewriteRequest;
|
|
43
44
|
const ModifyLoadBalancerAttributesResponse = models.ModifyLoadBalancerAttributesResponse;
|
|
44
45
|
const DescribeTargetGroupInstancesRequest = models.DescribeTargetGroupInstancesRequest;
|
|
46
|
+
const DescribeLBOperateProtectRequest = models.DescribeLBOperateProtectRequest;
|
|
45
47
|
const DescribeIdleLoadBalancersResponse = models.DescribeIdleLoadBalancersResponse;
|
|
46
|
-
const
|
|
48
|
+
const BindItem = models.BindItem;
|
|
49
|
+
const AddCustomizedConfigRequest = models.AddCustomizedConfigRequest;
|
|
47
50
|
const ClassicalTarget = models.ClassicalTarget;
|
|
48
51
|
const ListenerItem = models.ListenerItem;
|
|
49
52
|
const RsWeightRule = models.RsWeightRule;
|
|
50
53
|
const RegisterFunctionTargetsRequest = models.RegisterFunctionTargetsRequest;
|
|
51
54
|
const DeregisterTargetsFromClassicalLBRequest = models.DeregisterTargetsFromClassicalLBRequest;
|
|
52
55
|
const InquiryPriceModifyLoadBalancerRequest = models.InquiryPriceModifyLoadBalancerRequest;
|
|
56
|
+
const ModifyCustomizedConfigRequest = models.ModifyCustomizedConfigRequest;
|
|
53
57
|
const BasicTargetGroupInfo = models.BasicTargetGroupInfo;
|
|
54
58
|
const ModifyTargetWeightResponse = models.ModifyTargetWeightResponse;
|
|
55
59
|
const ZoneResource = models.ZoneResource;
|
|
@@ -60,7 +64,7 @@ const CreateRuleResponse = models.CreateRuleResponse;
|
|
|
60
64
|
const CrossTargets = models.CrossTargets;
|
|
61
65
|
const RuleHealth = models.RuleHealth;
|
|
62
66
|
const ModifyDomainRequest = models.ModifyDomainRequest;
|
|
63
|
-
const
|
|
67
|
+
const DisassociateCustomizedConfigResponse = models.DisassociateCustomizedConfigResponse;
|
|
64
68
|
const BatchModifyTargetTagRequest = models.BatchModifyTargetTagRequest;
|
|
65
69
|
const RegisterTargetGroupInstancesResponse = models.RegisterTargetGroupInstancesResponse;
|
|
66
70
|
const ClassicalTargetInfo = models.ClassicalTargetInfo;
|
|
@@ -70,6 +74,7 @@ const RegisterTargetsWithClassicalLBResponse = models.RegisterTargetsWithClassic
|
|
|
70
74
|
const DescribeTargetGroupsResponse = models.DescribeTargetGroupsResponse;
|
|
71
75
|
const LoadBalancerHealth = models.LoadBalancerHealth;
|
|
72
76
|
const InquiryPriceCreateLoadBalancerRequest = models.InquiryPriceCreateLoadBalancerRequest;
|
|
77
|
+
const ModifyFunctionTargetsResponse = models.ModifyFunctionTargetsResponse;
|
|
73
78
|
const DeleteLoadBalancerListenersRequest = models.DeleteLoadBalancerListenersRequest;
|
|
74
79
|
const BlockedIP = models.BlockedIP;
|
|
75
80
|
const ModifyRuleResponse = models.ModifyRuleResponse;
|
|
@@ -78,9 +83,10 @@ const InquiryPriceRenewLoadBalancerResponse = models.InquiryPriceRenewLoadBalanc
|
|
|
78
83
|
const DeregisterFunctionTargetsResponse = models.DeregisterFunctionTargetsResponse;
|
|
79
84
|
const DescribeCustomizedConfigListRequest = models.DescribeCustomizedConfigListRequest;
|
|
80
85
|
const AutoRewriteRequest = models.AutoRewriteRequest;
|
|
86
|
+
const IdleLoadBalancer = models.IdleLoadBalancer;
|
|
81
87
|
const DescribeCrossTargetsResponse = models.DescribeCrossTargetsResponse;
|
|
82
88
|
const FunctionInfo = models.FunctionInfo;
|
|
83
|
-
const
|
|
89
|
+
const ModifyCustomizedConfigResponse = models.ModifyCustomizedConfigResponse;
|
|
84
90
|
const DescribeLoadBalancerListByCertIdResponse = models.DescribeLoadBalancerListByCertIdResponse;
|
|
85
91
|
const ModifyTargetGroupInstancesWeightResponse = models.ModifyTargetGroupInstancesWeightResponse;
|
|
86
92
|
const DescribeTargetGroupsRequest = models.DescribeTargetGroupsRequest;
|
|
@@ -93,6 +99,7 @@ const SlaUpdateParam = models.SlaUpdateParam;
|
|
|
93
99
|
const Target = models.Target;
|
|
94
100
|
const DescribeLoadBalancerTrafficRequest = models.DescribeLoadBalancerTrafficRequest;
|
|
95
101
|
const DescribeBlockIPListRequest = models.DescribeBlockIPListRequest;
|
|
102
|
+
const MigrateClassicalLoadBalancersResponse = models.MigrateClassicalLoadBalancersResponse;
|
|
96
103
|
const CertIdRelatedWithLoadBalancers = models.CertIdRelatedWithLoadBalancers;
|
|
97
104
|
const DescribeClassicalLBHealthStatusResponse = models.DescribeClassicalLBHealthStatusResponse;
|
|
98
105
|
const ModifyLoadBalancerSlaResponse = models.ModifyLoadBalancerSlaResponse;
|
|
@@ -102,13 +109,15 @@ const LoadBalancerTraffic = models.LoadBalancerTraffic;
|
|
|
102
109
|
const SpecAvailability = models.SpecAvailability;
|
|
103
110
|
const ConfigListItem = models.ConfigListItem;
|
|
104
111
|
const RegisterTargetsWithClassicalLBRequest = models.RegisterTargetsWithClassicalLBRequest;
|
|
112
|
+
const HealthCheck = models.HealthCheck;
|
|
105
113
|
const ModifyDomainAttributesResponse = models.ModifyDomainAttributesResponse;
|
|
106
114
|
const ReplaceCertForLoadBalancersResponse = models.ReplaceCertForLoadBalancersResponse;
|
|
107
115
|
const DescribeTargetsResponse = models.DescribeTargetsResponse;
|
|
108
116
|
const ModifyListenerRequest = models.ModifyListenerRequest;
|
|
117
|
+
const SetSecurityGroupForLoadbalancersResponse = models.SetSecurityGroupForLoadbalancersResponse;
|
|
109
118
|
const DeregisterTargetGroupInstancesResponse = models.DeregisterTargetGroupInstancesResponse;
|
|
110
119
|
const RegisterTargetsRequest = models.RegisterTargetsRequest;
|
|
111
|
-
const
|
|
120
|
+
const DisassociateCustomizedConfigRequest = models.DisassociateCustomizedConfigRequest;
|
|
112
121
|
const AssociateTargetGroupsResponse = models.AssociateTargetGroupsResponse;
|
|
113
122
|
const CreateTopicRequest = models.CreateTopicRequest;
|
|
114
123
|
const DeleteListenerRequest = models.DeleteListenerRequest;
|
|
@@ -126,16 +135,18 @@ const DescribeResourcesResponse = models.DescribeResourcesResponse;
|
|
|
126
135
|
const ModifyTargetGroupInstancesWeightRequest = models.ModifyTargetGroupInstancesWeightRequest;
|
|
127
136
|
const ManualRewriteResponse = models.ManualRewriteResponse;
|
|
128
137
|
const ModifyBlockIPListRequest = models.ModifyBlockIPListRequest;
|
|
138
|
+
const RuleOutput = models.RuleOutput;
|
|
129
139
|
const ModifyBlockIPListResponse = models.ModifyBlockIPListResponse;
|
|
130
140
|
const ExclusiveCluster = models.ExclusiveCluster;
|
|
131
141
|
const DescribeClassicalLBHealthStatusRequest = models.DescribeClassicalLBHealthStatusRequest;
|
|
132
142
|
const DescribeListenersRequest = models.DescribeListenersRequest;
|
|
133
143
|
const CreateClsLogSetResponse = models.CreateClsLogSetResponse;
|
|
134
|
-
const
|
|
144
|
+
const Backend = models.Backend;
|
|
135
145
|
const LBChargePrepaid = models.LBChargePrepaid;
|
|
136
|
-
const
|
|
146
|
+
const AddCustomizedConfigResponse = models.AddCustomizedConfigResponse;
|
|
137
147
|
const DeleteLoadBalancerRequest = models.DeleteLoadBalancerRequest;
|
|
138
148
|
const ModifyLoadBalancersProjectRequest = models.ModifyLoadBalancersProjectRequest;
|
|
149
|
+
const AssociateCustomizedConfigRequest = models.AssociateCustomizedConfigRequest;
|
|
139
150
|
const CertificateInput = models.CertificateInput;
|
|
140
151
|
const ResourceAvailability = models.ResourceAvailability;
|
|
141
152
|
const SetLoadBalancerSecurityGroupsRequest = models.SetLoadBalancerSecurityGroupsRequest;
|
|
@@ -143,11 +154,11 @@ const DescribeCustomizedConfigAssociateListResponse = models.DescribeCustomizedC
|
|
|
143
154
|
const SetCustomizedConfigForLoadBalancerRequest = models.SetCustomizedConfigForLoadBalancerRequest;
|
|
144
155
|
const CreateListenerResponse = models.CreateListenerResponse;
|
|
145
156
|
const CreateTargetGroupResponse = models.CreateTargetGroupResponse;
|
|
146
|
-
const
|
|
157
|
+
const AssociateCustomizedConfigResponse = models.AssociateCustomizedConfigResponse;
|
|
147
158
|
const CreateLoadBalancerSnatIpsResponse = models.CreateLoadBalancerSnatIpsResponse;
|
|
148
159
|
const ClassicalLoadBalancerInfo = models.ClassicalLoadBalancerInfo;
|
|
149
160
|
const DescribeListenersResponse = models.DescribeListenersResponse;
|
|
150
|
-
const
|
|
161
|
+
const LBOperateProtectInfo = models.LBOperateProtectInfo;
|
|
151
162
|
const RegisterFunctionTargetsResponse = models.RegisterFunctionTargetsResponse;
|
|
152
163
|
const CreateTopicResponse = models.CreateTopicResponse;
|
|
153
164
|
const CreateRuleRequest = models.CreateRuleRequest;
|
|
@@ -169,6 +180,7 @@ const CreateClsLogSetRequest = models.CreateClsLogSetRequest;
|
|
|
169
180
|
const TypeInfo = models.TypeInfo;
|
|
170
181
|
const DisassociateTargetGroupsRequest = models.DisassociateTargetGroupsRequest;
|
|
171
182
|
const Filter = models.Filter;
|
|
183
|
+
const AssociateTargetGroupsRequest = models.AssociateTargetGroupsRequest;
|
|
172
184
|
const ModifyDomainResponse = models.ModifyDomainResponse;
|
|
173
185
|
const RegisterTargetsResponse = models.RegisterTargetsResponse;
|
|
174
186
|
const DeregisterTargetsFromClassicalLBResponse = models.DeregisterTargetsFromClassicalLBResponse;
|
|
@@ -208,8 +220,8 @@ const DeleteTargetGroupsResponse = models.DeleteTargetGroupsResponse;
|
|
|
208
220
|
const Price = models.Price;
|
|
209
221
|
const ModifyTargetGroupInstancesPortRequest = models.ModifyTargetGroupInstancesPortRequest;
|
|
210
222
|
const BatchRegisterTargetsRequest = models.BatchRegisterTargetsRequest;
|
|
211
|
-
const
|
|
212
|
-
const
|
|
223
|
+
const DeleteCustomizedConfigResponse = models.DeleteCustomizedConfigResponse;
|
|
224
|
+
const DescribeLBOperateProtectResponse = models.DescribeLBOperateProtectResponse;
|
|
213
225
|
const RuleInput = models.RuleInput;
|
|
214
226
|
const TagInfo = models.TagInfo;
|
|
215
227
|
const SnatIp = models.SnatIp;
|
|
@@ -218,6 +230,7 @@ const DescribeResourcesRequest = models.DescribeResourcesRequest;
|
|
|
218
230
|
const DescribeClassicalLBListenersResponse = models.DescribeClassicalLBListenersResponse;
|
|
219
231
|
const ModifyTargetGroupAttributeResponse = models.ModifyTargetGroupAttributeResponse;
|
|
220
232
|
const ModifyLoadBalancerSlaRequest = models.ModifyLoadBalancerSlaRequest;
|
|
233
|
+
const SetLoadBalancerStartStatusResponse = models.SetLoadBalancerStartStatusResponse;
|
|
221
234
|
const DescribeBlockIPTaskRequest = models.DescribeBlockIPTaskRequest;
|
|
222
235
|
const Resource = models.Resource;
|
|
223
236
|
const CreateLoadBalancerResponse = models.CreateLoadBalancerResponse;
|
|
@@ -226,6 +239,7 @@ const DescribeRewriteResponse = models.DescribeRewriteResponse;
|
|
|
226
239
|
const Quota = models.Quota;
|
|
227
240
|
const SetLoadBalancerClsLogRequest = models.SetLoadBalancerClsLogRequest;
|
|
228
241
|
const LBItem = models.LBItem;
|
|
242
|
+
const DeleteCustomizedConfigRequest = models.DeleteCustomizedConfigRequest;
|
|
229
243
|
const DeleteLoadBalancerListenersResponse = models.DeleteLoadBalancerListenersResponse;
|
|
230
244
|
const DescribeIdleLoadBalancersRequest = models.DescribeIdleLoadBalancersRequest;
|
|
231
245
|
const DeleteLoadBalancerSnatIpsRequest = models.DeleteLoadBalancerSnatIpsRequest;
|
|
@@ -248,7 +262,7 @@ const SetLoadBalancerStartStatusRequest = models.SetLoadBalancerStartStatusReque
|
|
|
248
262
|
const TargetGroupAssociation = models.TargetGroupAssociation;
|
|
249
263
|
const ListenerHealth = models.ListenerHealth;
|
|
250
264
|
const AssociationItem = models.AssociationItem;
|
|
251
|
-
const
|
|
265
|
+
const DescribeCrossTargetsRequest = models.DescribeCrossTargetsRequest;
|
|
252
266
|
const RegisterTargetGroupInstancesRequest = models.RegisterTargetGroupInstancesRequest;
|
|
253
267
|
const LoadBalancer = models.LoadBalancer;
|
|
254
268
|
|
|
@@ -264,296 +278,310 @@ class ClbClient extends AbstractClient {
|
|
|
264
278
|
}
|
|
265
279
|
|
|
266
280
|
/**
|
|
267
|
-
* This API
|
|
268
|
-
|
|
269
|
-
* @param {
|
|
270
|
-
* @param {function(string, RegisterTargetsResponse):void} cb
|
|
281
|
+
* This API is used to query the configured location, bound server or bound CLB instance. If there are domain names, the result will be filtered by domain name.
|
|
282
|
+
* @param {DescribeCustomizedConfigAssociateListRequest} req
|
|
283
|
+
* @param {function(string, DescribeCustomizedConfigAssociateListResponse):void} cb
|
|
271
284
|
* @public
|
|
272
285
|
*/
|
|
273
|
-
|
|
274
|
-
let resp = new
|
|
275
|
-
this.request("
|
|
286
|
+
DescribeCustomizedConfigAssociateList(req, cb) {
|
|
287
|
+
let resp = new DescribeCustomizedConfigAssociateListResponse();
|
|
288
|
+
this.request("DescribeCustomizedConfigAssociateList", req, resp, cb);
|
|
276
289
|
}
|
|
277
290
|
|
|
278
291
|
/**
|
|
279
|
-
* This API is used to
|
|
280
|
-
* @param {
|
|
281
|
-
* @param {function(string,
|
|
292
|
+
* This API is used to query the price of adjusting the specification of a CLB instance.
|
|
293
|
+
* @param {InquiryPriceModifyLoadBalancerRequest} req
|
|
294
|
+
* @param {function(string, InquiryPriceModifyLoadBalancerResponse):void} cb
|
|
282
295
|
* @public
|
|
283
296
|
*/
|
|
284
|
-
|
|
285
|
-
let resp = new
|
|
286
|
-
this.request("
|
|
297
|
+
InquiryPriceModifyLoadBalancer(req, cb) {
|
|
298
|
+
let resp = new InquiryPriceModifyLoadBalancerResponse();
|
|
299
|
+
this.request("InquiryPriceModifyLoadBalancer", req, resp, cb);
|
|
287
300
|
}
|
|
288
301
|
|
|
289
302
|
/**
|
|
290
|
-
* This API is used to
|
|
291
|
-
|
|
292
|
-
* @param {
|
|
293
|
-
* @param {function(string, ModifyDomainAttributesResponse):void} cb
|
|
303
|
+
* This API is used to batch unbind real servers of the layer-4 and layer-7 VPC-based CLBs. Up to 500 real servers can be unbound in a batch.
|
|
304
|
+
* @param {BatchDeregisterTargetsRequest} req
|
|
305
|
+
* @param {function(string, BatchDeregisterTargetsResponse):void} cb
|
|
294
306
|
* @public
|
|
295
307
|
*/
|
|
296
|
-
|
|
297
|
-
let resp = new
|
|
298
|
-
this.request("
|
|
308
|
+
BatchDeregisterTargets(req, cb) {
|
|
309
|
+
let resp = new BatchDeregisterTargetsResponse();
|
|
310
|
+
this.request("BatchDeregisterTargets", req, resp, cb);
|
|
299
311
|
}
|
|
300
312
|
|
|
301
313
|
/**
|
|
302
|
-
*
|
|
303
|
-
* @param {
|
|
304
|
-
* @param {function(string,
|
|
314
|
+
* An HTTPS:443 listener needs to be created first, along with a forwarding rule. When this API is called, an HTTP:80 listener will be created automatically if it did not exist and a forwarding rule corresponding to `Domains` (specified in the input parameter) under the HTTPS:443 listener will also be created. After successful creation, access requests to an HTTP:80 address will be redirected to an HTTPS:443 address automatically.
|
|
315
|
+
* @param {AutoRewriteRequest} req
|
|
316
|
+
* @param {function(string, AutoRewriteResponse):void} cb
|
|
305
317
|
* @public
|
|
306
318
|
*/
|
|
307
|
-
|
|
308
|
-
let resp = new
|
|
309
|
-
this.request("
|
|
319
|
+
AutoRewrite(req, cb) {
|
|
320
|
+
let resp = new AutoRewriteResponse();
|
|
321
|
+
this.request("AutoRewrite", req, resp, cb);
|
|
310
322
|
}
|
|
311
323
|
|
|
312
324
|
/**
|
|
313
|
-
* This API
|
|
314
|
-
|
|
315
|
-
* @param {
|
|
325
|
+
* This API is used to modify server weights of a target group in batches.
|
|
326
|
+
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
|
|
327
|
+
* @param {ModifyTargetGroupInstancesWeightRequest} req
|
|
328
|
+
* @param {function(string, ModifyTargetGroupInstancesWeightResponse):void} cb
|
|
316
329
|
* @public
|
|
317
330
|
*/
|
|
318
|
-
|
|
319
|
-
let resp = new
|
|
320
|
-
this.request("
|
|
331
|
+
ModifyTargetGroupInstancesWeight(req, cb) {
|
|
332
|
+
let resp = new ModifyTargetGroupInstancesWeightResponse();
|
|
333
|
+
this.request("ModifyTargetGroupInstancesWeight", req, resp, cb);
|
|
321
334
|
}
|
|
322
335
|
|
|
323
336
|
/**
|
|
324
|
-
* This API is used to
|
|
325
|
-
* @param {
|
|
326
|
-
* @param {function(string,
|
|
337
|
+
* This API is used to associate configurations with a server or location based on the configuration type. It is preparing for decommissioning, please use SetCustomizedConfigForLoadBalancer.
|
|
338
|
+
* @param {AssociateCustomizedConfigRequest} req
|
|
339
|
+
* @param {function(string, AssociateCustomizedConfigResponse):void} cb
|
|
327
340
|
* @public
|
|
328
341
|
*/
|
|
329
|
-
|
|
330
|
-
let resp = new
|
|
331
|
-
this.request("
|
|
342
|
+
AssociateCustomizedConfig(req, cb) {
|
|
343
|
+
let resp = new AssociateCustomizedConfigResponse();
|
|
344
|
+
this.request("AssociateCustomizedConfig", req, resp, cb);
|
|
332
345
|
}
|
|
333
346
|
|
|
334
347
|
/**
|
|
335
|
-
* This API is used to
|
|
336
|
-
* @param {
|
|
337
|
-
* @param {function(string,
|
|
348
|
+
* This API is used to unbind a CLB real server. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
|
|
349
|
+
* @param {DeregisterTargetsFromClassicalLBRequest} req
|
|
350
|
+
* @param {function(string, DeregisterTargetsFromClassicalLBResponse):void} cb
|
|
338
351
|
* @public
|
|
339
352
|
*/
|
|
340
|
-
|
|
341
|
-
let resp = new
|
|
342
|
-
this.request("
|
|
353
|
+
DeregisterTargetsFromClassicalLB(req, cb) {
|
|
354
|
+
let resp = new DeregisterTargetsFromClassicalLBResponse();
|
|
355
|
+
this.request("DeregisterTargetsFromClassicalLB", req, resp, cb);
|
|
343
356
|
}
|
|
344
357
|
|
|
345
358
|
/**
|
|
346
|
-
* This API
|
|
347
|
-
|
|
348
|
-
* @param {
|
|
349
|
-
* @param {function(string, ModifyTargetWeightResponse):void} cb
|
|
359
|
+
* This API is used to query CLB instance details, including listener, rules, and target real servers.
|
|
360
|
+
* @param {DescribeLoadBalancersDetailRequest} req
|
|
361
|
+
* @param {function(string, DescribeLoadBalancersDetailResponse):void} cb
|
|
350
362
|
* @public
|
|
351
363
|
*/
|
|
352
|
-
|
|
353
|
-
let resp = new
|
|
354
|
-
this.request("
|
|
364
|
+
DescribeLoadBalancersDetail(req, cb) {
|
|
365
|
+
let resp = new DescribeLoadBalancersDetailResponse();
|
|
366
|
+
this.request("DescribeLoadBalancersDetail", req, resp, cb);
|
|
355
367
|
}
|
|
356
368
|
|
|
357
369
|
/**
|
|
358
|
-
* This API is used to
|
|
359
|
-
|
|
360
|
-
|
|
370
|
+
* This API is used to bind target groups to Cloud Load Balancer listeners (Layer-4 protocol) or forwarding rules (L7 protocol).
|
|
371
|
+
This API is asynchronous. After it returns a successful result, you need to call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as input parameter to check whether this task is successful.
|
|
372
|
+
This API is used to describe restrictions.
|
|
373
|
+
-Binding a legacy version target group to a Layer-4 listener requires the listener to have backend target groups enabled.
|
|
374
|
+
-Layer-7 bind target group. LocationId is a required item in the data structure TargetGroupAssociation.
|
|
375
|
+
-The VPC of the Cloud Load Balancer must match the VPC of the target group.
|
|
376
|
+
* @param {AssociateTargetGroupsRequest} req
|
|
377
|
+
* @param {function(string, AssociateTargetGroupsResponse):void} cb
|
|
361
378
|
* @public
|
|
362
379
|
*/
|
|
363
|
-
|
|
364
|
-
let resp = new
|
|
365
|
-
this.request("
|
|
380
|
+
AssociateTargetGroups(req, cb) {
|
|
381
|
+
let resp = new AssociateTargetGroupsResponse();
|
|
382
|
+
this.request("AssociateTargetGroups", req, resp, cb);
|
|
366
383
|
}
|
|
367
384
|
|
|
368
385
|
/**
|
|
369
|
-
* This API is used to
|
|
370
|
-
This is
|
|
371
|
-
* @param {
|
|
372
|
-
* @param {function(string,
|
|
386
|
+
* This API is used to unbind a server from a target group.
|
|
387
|
+
This API is used to perform asynchronous operations. After it returns a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
388
|
+
* @param {DeregisterTargetGroupInstancesRequest} req
|
|
389
|
+
* @param {function(string, DeregisterTargetGroupInstancesResponse):void} cb
|
|
373
390
|
* @public
|
|
374
391
|
*/
|
|
375
|
-
|
|
376
|
-
let resp = new
|
|
377
|
-
this.request("
|
|
392
|
+
DeregisterTargetGroupInstances(req, cb) {
|
|
393
|
+
let resp = new DeregisterTargetGroupInstancesResponse();
|
|
394
|
+
this.request("DeregisterTargetGroupInstances", req, resp, cb);
|
|
378
395
|
}
|
|
379
396
|
|
|
380
397
|
/**
|
|
381
|
-
* This API is used to
|
|
382
|
-
|
|
383
|
-
* @param {
|
|
384
|
-
* @param {function(string, DeleteListenerResponse):void} cb
|
|
398
|
+
* This API is used to get the list of listeners by CLB ID, listener protocol, or listener port. If no filter is specified, all listeners for the CLB instance will be returned.
|
|
399
|
+
* @param {DescribeListenersRequest} req
|
|
400
|
+
* @param {function(string, DescribeListenersResponse):void} cb
|
|
385
401
|
* @public
|
|
386
402
|
*/
|
|
387
|
-
|
|
388
|
-
let resp = new
|
|
389
|
-
this.request("
|
|
403
|
+
DescribeListeners(req, cb) {
|
|
404
|
+
let resp = new DescribeListenersResponse();
|
|
405
|
+
this.request("DescribeListeners", req, resp, cb);
|
|
390
406
|
}
|
|
391
407
|
|
|
392
408
|
/**
|
|
393
|
-
* This API is used to
|
|
394
|
-
* @param {
|
|
395
|
-
* @param {function(string,
|
|
409
|
+
* This API is used to create a topic with the full-text index and key-value index enabled by default. The creation will fail if there is no CLB exclusive logset.
|
|
410
|
+
* @param {CreateTopicRequest} req
|
|
411
|
+
* @param {function(string, CreateTopicResponse):void} cb
|
|
396
412
|
* @public
|
|
397
413
|
*/
|
|
398
|
-
|
|
399
|
-
let resp = new
|
|
400
|
-
this.request("
|
|
414
|
+
CreateTopic(req, cb) {
|
|
415
|
+
let resp = new CreateTopicResponse();
|
|
416
|
+
this.request("CreateTopic", req, resp, cb);
|
|
401
417
|
}
|
|
402
418
|
|
|
403
419
|
/**
|
|
404
|
-
*
|
|
405
|
-
* @param {
|
|
406
|
-
* @param {function(string,
|
|
420
|
+
* This API is used to modify the projects of CLB instances.
|
|
421
|
+
* @param {ModifyLoadBalancersProjectRequest} req
|
|
422
|
+
* @param {function(string, ModifyLoadBalancersProjectResponse):void} cb
|
|
407
423
|
* @public
|
|
408
424
|
*/
|
|
409
|
-
|
|
410
|
-
let resp = new
|
|
411
|
-
this.request("
|
|
425
|
+
ModifyLoadBalancersProject(req, cb) {
|
|
426
|
+
let resp = new ModifyLoadBalancersProjectResponse();
|
|
427
|
+
this.request("ModifyLoadBalancersProject", req, resp, cb);
|
|
412
428
|
}
|
|
413
429
|
|
|
414
430
|
/**
|
|
415
|
-
* This API is used to
|
|
416
|
-
* @param {
|
|
417
|
-
* @param {function(string,
|
|
431
|
+
* This API is used to create or manage a user-defined CLB configuration template.
|
|
432
|
+
* @param {SetCustomizedConfigForLoadBalancerRequest} req
|
|
433
|
+
* @param {function(string, SetCustomizedConfigForLoadBalancerResponse):void} cb
|
|
418
434
|
* @public
|
|
419
435
|
*/
|
|
420
|
-
|
|
421
|
-
let resp = new
|
|
422
|
-
this.request("
|
|
436
|
+
SetCustomizedConfigForLoadBalancer(req, cb) {
|
|
437
|
+
let resp = new SetCustomizedConfigForLoadBalancerResponse();
|
|
438
|
+
this.request("SetCustomizedConfigForLoadBalancer", req, resp, cb);
|
|
423
439
|
}
|
|
424
440
|
|
|
425
441
|
/**
|
|
426
|
-
* This API is used to
|
|
427
|
-
|
|
428
|
-
* @param {
|
|
429
|
-
* @param {function(string, RegisterTargetGroupInstancesResponse):void} cb
|
|
442
|
+
* This API is used to bind a real server with a classic CLB instance. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
|
|
443
|
+
* @param {RegisterTargetsWithClassicalLBRequest} req
|
|
444
|
+
* @param {function(string, RegisterTargetsWithClassicalLBResponse):void} cb
|
|
430
445
|
* @public
|
|
431
446
|
*/
|
|
432
|
-
|
|
433
|
-
let resp = new
|
|
434
|
-
this.request("
|
|
447
|
+
RegisterTargetsWithClassicalLB(req, cb) {
|
|
448
|
+
let resp = new RegisterTargetsWithClassicalLBResponse();
|
|
449
|
+
this.request("RegisterTargetsWithClassicalLB", req, resp, cb);
|
|
435
450
|
}
|
|
436
451
|
|
|
437
452
|
/**
|
|
438
|
-
* This API (
|
|
453
|
+
* This API (DeregisterTargets) is used to unbind one or more real servers from a CLB listener or forwarding rule. For layer-4 listeners, only the listener ID needs to be specified. For layer-7 listeners, the forwarding rule also needs to be specified through LocationId or Domain+Url.
|
|
439
454
|
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
440
|
-
* @param {
|
|
441
|
-
* @param {function(string,
|
|
455
|
+
* @param {DeregisterTargetsRequest} req
|
|
456
|
+
* @param {function(string, DeregisterTargetsResponse):void} cb
|
|
442
457
|
* @public
|
|
443
458
|
*/
|
|
444
|
-
|
|
445
|
-
let resp = new
|
|
446
|
-
this.request("
|
|
459
|
+
DeregisterTargets(req, cb) {
|
|
460
|
+
let resp = new DeregisterTargetsResponse();
|
|
461
|
+
this.request("DeregisterTargets", req, resp, cb);
|
|
447
462
|
}
|
|
448
463
|
|
|
449
464
|
/**
|
|
450
|
-
* This API is used to
|
|
451
|
-
|
|
452
|
-
|
|
465
|
+
* This API is used to modify the attributes of a CLB instance, such as name and cross-region attributes.
|
|
466
|
+
Non-bandwidth-upshift users must add their CLB instance to a bandwidth package to configure cross-domain attributes. To modify the network billing mode, go to the console.
|
|
467
|
+
This API is used to perform asynchronous operations. After returning a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
468
|
+
* @param {ModifyLoadBalancerAttributesRequest} req
|
|
469
|
+
* @param {function(string, ModifyLoadBalancerAttributesResponse):void} cb
|
|
453
470
|
* @public
|
|
454
471
|
*/
|
|
455
|
-
|
|
456
|
-
let resp = new
|
|
457
|
-
this.request("
|
|
472
|
+
ModifyLoadBalancerAttributes(req, cb) {
|
|
473
|
+
let resp = new ModifyLoadBalancerAttributesResponse();
|
|
474
|
+
this.request("ModifyLoadBalancerAttributes", req, resp, cb);
|
|
458
475
|
}
|
|
459
476
|
|
|
460
477
|
/**
|
|
461
|
-
*
|
|
462
|
-
|
|
463
|
-
* @param {
|
|
478
|
+
* This API is used to modify server ports of a target group in batches.
|
|
479
|
+
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
|
|
480
|
+
* @param {ModifyTargetGroupInstancesPortRequest} req
|
|
481
|
+
* @param {function(string, ModifyTargetGroupInstancesPortResponse):void} cb
|
|
464
482
|
* @public
|
|
465
483
|
*/
|
|
466
|
-
|
|
467
|
-
let resp = new
|
|
468
|
-
this.request("
|
|
484
|
+
ModifyTargetGroupInstancesPort(req, cb) {
|
|
485
|
+
let resp = new ModifyTargetGroupInstancesPortResponse();
|
|
486
|
+
this.request("ModifyTargetGroupInstancesPort", req, resp, cb);
|
|
469
487
|
}
|
|
470
488
|
|
|
471
489
|
/**
|
|
472
|
-
*
|
|
473
|
-
|
|
474
|
-
* @param {
|
|
475
|
-
* @param {function(string, DisassociateTargetGroupsResponse):void} cb
|
|
490
|
+
* The BatchModifyTargetWeight API is used to batch modify the forwarding weight of backend machines bound to a CLB listener. The maximum resource quantity for batch modification is 500. This is an asynchronous API. After it returns a successful result, you need to call the DescribeTaskStatus API with the returned RequestID as input parameter to check whether this task is successful. This API supports both layer-4 and layer-7 CLB listeners but is unsupported for classic CLB.
|
|
491
|
+
* @param {BatchModifyTargetWeightRequest} req
|
|
492
|
+
* @param {function(string, BatchModifyTargetWeightResponse):void} cb
|
|
476
493
|
* @public
|
|
477
494
|
*/
|
|
478
|
-
|
|
479
|
-
let resp = new
|
|
480
|
-
this.request("
|
|
495
|
+
BatchModifyTargetWeight(req, cb) {
|
|
496
|
+
let resp = new BatchModifyTargetWeightResponse();
|
|
497
|
+
this.request("BatchModifyTargetWeight", req, resp, cb);
|
|
481
498
|
}
|
|
482
499
|
|
|
483
500
|
/**
|
|
484
|
-
* This API is used to
|
|
485
|
-
|
|
486
|
-
* @param {
|
|
487
|
-
* @param {function(string, ModifyListenerResponse):void} cb
|
|
501
|
+
* This API (DeleteRewrite) is used to delete the redirection relationship between the specified forwarding rules.
|
|
502
|
+
* @param {DeleteRewriteRequest} req
|
|
503
|
+
* @param {function(string, DeleteRewriteResponse):void} cb
|
|
488
504
|
* @public
|
|
489
505
|
*/
|
|
490
|
-
|
|
491
|
-
let resp = new
|
|
492
|
-
this.request("
|
|
506
|
+
DeleteRewrite(req, cb) {
|
|
507
|
+
let resp = new DeleteRewriteResponse();
|
|
508
|
+
this.request("DeleteRewrite", req, resp, cb);
|
|
493
509
|
}
|
|
494
510
|
|
|
495
511
|
/**
|
|
496
|
-
* This API is used to
|
|
497
|
-
|
|
498
|
-
* @param {
|
|
499
|
-
* @param {function(string, DeleteLoadBalancerListenersResponse):void} cb
|
|
512
|
+
* This API is used to disassociate personalized configurations and prepare for decommissioning. Please use SetCustomizedConfigForLoadBalancer.
|
|
513
|
+
* @param {DisassociateCustomizedConfigRequest} req
|
|
514
|
+
* @param {function(string, DisassociateCustomizedConfigResponse):void} cb
|
|
500
515
|
* @public
|
|
501
516
|
*/
|
|
502
|
-
|
|
503
|
-
let resp = new
|
|
504
|
-
this.request("
|
|
517
|
+
DisassociateCustomizedConfig(req, cb) {
|
|
518
|
+
let resp = new DisassociateCustomizedConfigResponse();
|
|
519
|
+
this.request("DisassociateCustomizedConfig", req, resp, cb);
|
|
505
520
|
}
|
|
506
521
|
|
|
507
522
|
/**
|
|
508
|
-
* This API is used to
|
|
509
|
-
|
|
510
|
-
|
|
523
|
+
* This API is used to bind or unbind security groups for a public network load balancing instance. To query currently bound security groups of a load balancing instance, use the DescribeLoadBalancers API (https://www.tencentcloud.comom/document/product/1108/48459?from_cn_redirect=1). This API follows set semantics.
|
|
524
|
+
This API is used to pass in all security groups that should be bound to the Cloud Load Balancer instance during the binding operation (bound + new binding).
|
|
525
|
+
For unbinding operations, the input parameters should specify all security groups bound to a CLB instance after unbinding. If you want to unbind all security groups, you can omit this parameter or input an empty array. Note: After a private network CLB is bound to an EIP, the security groups on the CLB do not take effect for the traffic from the EIP, but take effect for the traffic from the private network CLB.
|
|
526
|
+
* @param {SetLoadBalancerSecurityGroupsRequest} req
|
|
527
|
+
* @param {function(string, SetLoadBalancerSecurityGroupsResponse):void} cb
|
|
511
528
|
* @public
|
|
512
529
|
*/
|
|
513
|
-
|
|
514
|
-
let resp = new
|
|
515
|
-
this.request("
|
|
530
|
+
SetLoadBalancerSecurityGroups(req, cb) {
|
|
531
|
+
let resp = new SetLoadBalancerSecurityGroupsResponse();
|
|
532
|
+
this.request("SetLoadBalancerSecurityGroups", req, resp, cb);
|
|
516
533
|
}
|
|
517
534
|
|
|
518
535
|
/**
|
|
519
|
-
* This API is used to
|
|
520
|
-
* @param {
|
|
521
|
-
* @param {function(string,
|
|
536
|
+
* This API is used to query the refund price of Cloud Load Balancer and only supports prepaid load balancing instances.
|
|
537
|
+
* @param {InquiryPriceRefundLoadBalancerRequest} req
|
|
538
|
+
* @param {function(string, InquiryPriceRefundLoadBalancerResponse):void} cb
|
|
522
539
|
* @public
|
|
523
540
|
*/
|
|
524
|
-
|
|
525
|
-
let resp = new
|
|
526
|
-
this.request("
|
|
541
|
+
InquiryPriceRefundLoadBalancer(req, cb) {
|
|
542
|
+
let resp = new InquiryPriceRefundLoadBalancerResponse();
|
|
543
|
+
this.request("InquiryPriceRefundLoadBalancer", req, resp, cb);
|
|
527
544
|
}
|
|
528
545
|
|
|
529
546
|
/**
|
|
530
|
-
* This API is used to delete a
|
|
531
|
-
|
|
532
|
-
* @param {
|
|
547
|
+
* This API is used to delete listeners (layer-4 and layer-7) under a Cloud Load Balancer instance.
|
|
548
|
+
This API is used to perform asynchronous operations. After returning a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
549
|
+
* @param {DeleteListenerRequest} req
|
|
550
|
+
* @param {function(string, DeleteListenerResponse):void} cb
|
|
533
551
|
* @public
|
|
534
552
|
*/
|
|
535
|
-
|
|
536
|
-
let resp = new
|
|
537
|
-
this.request("
|
|
553
|
+
DeleteListener(req, cb) {
|
|
554
|
+
let resp = new DeleteListenerResponse();
|
|
555
|
+
this.request("DeleteListener", req, resp, cb);
|
|
538
556
|
}
|
|
539
557
|
|
|
540
558
|
/**
|
|
541
|
-
* This API is used to
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
- An LCU-supported instance cannot be changed back to a shared instance.
|
|
545
|
-
- Classic CLB instances cannot be upgraded to LCU-supported instances.
|
|
546
|
-
* @param {ModifyLoadBalancerSlaRequest} req
|
|
547
|
-
* @param {function(string, ModifyLoadBalancerSlaResponse):void} cb
|
|
559
|
+
* This API is used to bind or unbind a security group to or from multiple public network CLB instances.
|
|
560
|
+
* @param {SetSecurityGroupForLoadbalancersRequest} req
|
|
561
|
+
* @param {function(string, SetSecurityGroupForLoadbalancersResponse):void} cb
|
|
548
562
|
* @public
|
|
549
563
|
*/
|
|
550
|
-
|
|
551
|
-
let resp = new
|
|
552
|
-
this.request("
|
|
564
|
+
SetSecurityGroupForLoadbalancers(req, cb) {
|
|
565
|
+
let resp = new SetSecurityGroupForLoadbalancersResponse();
|
|
566
|
+
this.request("SetSecurityGroupForLoadbalancers", req, resp, cb);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* This API is used to register servers to a target group.
|
|
571
|
+
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
|
|
572
|
+
* @param {RegisterTargetGroupInstancesRequest} req
|
|
573
|
+
* @param {function(string, RegisterTargetGroupInstancesResponse):void} cb
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
576
|
+
RegisterTargetGroupInstances(req, cb) {
|
|
577
|
+
let resp = new RegisterTargetGroupInstancesResponse();
|
|
578
|
+
this.request("RegisterTargetGroupInstances", req, resp, cb);
|
|
553
579
|
}
|
|
554
580
|
|
|
555
581
|
/**
|
|
556
|
-
* This API is used to
|
|
582
|
+
* This API is used to start or stop a load balancing instance or listener.
|
|
583
|
+
This API is used to perform asynchronous operations. After returning a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
584
|
+
This feature is currently in beta test. To use it, submit a [ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1) for application.
|
|
557
585
|
* @param {SetLoadBalancerStartStatusRequest} req
|
|
558
586
|
* @param {function(string, SetLoadBalancerStartStatusResponse):void} cb
|
|
559
587
|
* @public
|
|
@@ -564,366 +592,392 @@ Limits
|
|
|
564
592
|
}
|
|
565
593
|
|
|
566
594
|
/**
|
|
567
|
-
* This API is used to modify the
|
|
568
|
-
|
|
569
|
-
* @param {
|
|
570
|
-
* @param {function(string,
|
|
595
|
+
* This API is used to modify the attributes of a CLB instance listener, including the listener name, health check parameters, certificate information, and forwarding policy. This API does not support classic CLB instances.
|
|
596
|
+
This is an asynchronous API. After it returns the result successfully, you can call the [DescribeTaskStatus](https://intl.cloud.tencent.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
597
|
+
* @param {ModifyListenerRequest} req
|
|
598
|
+
* @param {function(string, ModifyListenerResponse):void} cb
|
|
571
599
|
* @public
|
|
572
600
|
*/
|
|
573
|
-
|
|
574
|
-
let resp = new
|
|
575
|
-
this.request("
|
|
601
|
+
ModifyListener(req, cb) {
|
|
602
|
+
let resp = new ModifyListenerResponse();
|
|
603
|
+
this.request("ModifyListener", req, resp, cb);
|
|
576
604
|
}
|
|
577
605
|
|
|
578
606
|
/**
|
|
579
|
-
* This API is used to
|
|
580
|
-
* @param {
|
|
581
|
-
* @param {function(string,
|
|
607
|
+
* This API is used to delete personalized configurations and prepare for decommissioning. Please use SetCustomizedConfigForLoadBalancer.
|
|
608
|
+
* @param {DeleteCustomizedConfigRequest} req
|
|
609
|
+
* @param {function(string, DeleteCustomizedConfigResponse):void} cb
|
|
582
610
|
* @public
|
|
583
611
|
*/
|
|
584
|
-
|
|
585
|
-
let resp = new
|
|
586
|
-
this.request("
|
|
612
|
+
DeleteCustomizedConfig(req, cb) {
|
|
613
|
+
let resp = new DeleteCustomizedConfigResponse();
|
|
614
|
+
this.request("DeleteCustomizedConfig", req, resp, cb);
|
|
587
615
|
}
|
|
588
616
|
|
|
589
617
|
/**
|
|
590
|
-
* This API is used to
|
|
591
|
-
* @param {
|
|
592
|
-
* @param {function(string,
|
|
618
|
+
* This API is used to query the list of AZs and resources supported for the user in the current region.
|
|
619
|
+
* @param {DescribeResourcesRequest} req
|
|
620
|
+
* @param {function(string, DescribeResourcesResponse):void} cb
|
|
593
621
|
* @public
|
|
594
622
|
*/
|
|
595
|
-
|
|
596
|
-
let resp = new
|
|
597
|
-
this.request("
|
|
623
|
+
DescribeResources(req, cb) {
|
|
624
|
+
let resp = new DescribeResourcesResponse();
|
|
625
|
+
this.request("DescribeResources", req, resp, cb);
|
|
598
626
|
}
|
|
599
627
|
|
|
600
628
|
/**
|
|
601
|
-
* This API is used to query CLB
|
|
602
|
-
* @param {
|
|
603
|
-
* @param {function(string,
|
|
629
|
+
* This API is used to query CLB instances bound to the CVM or ENI.
|
|
630
|
+
* @param {DescribeLBListenersRequest} req
|
|
631
|
+
* @param {function(string, DescribeLBListenersResponse):void} cb
|
|
604
632
|
* @public
|
|
605
633
|
*/
|
|
606
|
-
|
|
607
|
-
let resp = new
|
|
608
|
-
this.request("
|
|
634
|
+
DescribeLBListeners(req, cb) {
|
|
635
|
+
let resp = new DescribeLBListenersResponse();
|
|
636
|
+
this.request("DescribeLBListeners", req, resp, cb);
|
|
609
637
|
}
|
|
610
638
|
|
|
611
639
|
/**
|
|
612
|
-
* This API is used to
|
|
613
|
-
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {function(string, DeleteLoadBalancerResponse):void} cb
|
|
640
|
+
* This API is used to batch bind CVM instances or ENIs. Up to 500 servers can be bound in a batch. It supports cross-region binding, layer-4 and layer-7 (TCP/UDP/HTTP/HTTPS) protocols, and VPC-based CLBs only.
|
|
641
|
+
* @param {BatchRegisterTargetsRequest} req
|
|
642
|
+
* @param {function(string, BatchRegisterTargetsResponse):void} cb
|
|
616
643
|
* @public
|
|
617
644
|
*/
|
|
618
|
-
|
|
619
|
-
let resp = new
|
|
620
|
-
this.request("
|
|
645
|
+
BatchRegisterTargets(req, cb) {
|
|
646
|
+
let resp = new BatchRegisterTargetsResponse();
|
|
647
|
+
this.request("BatchRegisterTargets", req, resp, cb);
|
|
621
648
|
}
|
|
622
649
|
|
|
623
650
|
/**
|
|
624
|
-
* This API is used to
|
|
625
|
-
|
|
626
|
-
|
|
651
|
+
* This API is used to bind a cloud function to the forwarding rule of a Cloud Load Balancer. Before that, you need to create a related HTTP or HTTPS listener and forwarding rule.
|
|
652
|
+
This API is used to perform asynchronous operations. After returning a successful result, call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
653
|
+
This API is used to describe restrictions.
|
|
654
|
+
-SCF binding is supported only in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Tokyo, and Silicon Valley.
|
|
655
|
+
-Only the standard account type supports binding SCF. The classic account type is unsupported. We recommend upgrading to the standard account type. For more information, see [account type upgrade instructions](https://www.tencentcloud.comom/document/product/1199/49090?from_cn_redirect=1).
|
|
656
|
+
-Classic CLB does not support binding SCF.
|
|
657
|
+
-Basic Network Type does not support binding SCF.
|
|
658
|
+
-CLB supports binding ALL SCFs in the same region by default, supports cross-VPC binding, but cross-region selection is not supported.
|
|
659
|
+
-Currently, only IPv4 and IPv6 NAT64 versions of Cloud Load Balancer support binding SCF. IPv6 version is not currently supported.
|
|
660
|
+
-Only layer-7 (HTTP, HTTPS) listeners support binding SCF. Layer-4 (TCP, UDP, TCP SSL) listeners and layer-7 QUIC listeners are unsupported.
|
|
661
|
+
- CLB binding SCF only supports binding SCF of the "Event function" type.
|
|
662
|
+
-A forwarding rule supports binding only one SCF.
|
|
663
|
+
* @param {RegisterFunctionTargetsRequest} req
|
|
664
|
+
* @param {function(string, RegisterFunctionTargetsResponse):void} cb
|
|
627
665
|
* @public
|
|
628
666
|
*/
|
|
629
|
-
|
|
630
|
-
let resp = new
|
|
631
|
-
this.request("
|
|
667
|
+
RegisterFunctionTargets(req, cb) {
|
|
668
|
+
let resp = new RegisterFunctionTargetsResponse();
|
|
669
|
+
this.request("RegisterFunctionTargets", req, resp, cb);
|
|
632
670
|
}
|
|
633
671
|
|
|
634
672
|
/**
|
|
635
|
-
* This API is used to
|
|
636
|
-
* @param {
|
|
637
|
-
* @param {function(string,
|
|
673
|
+
* This API is used to pull custom configuration lists to return the user configuration of `AppId`.
|
|
674
|
+
* @param {DescribeCustomizedConfigListRequest} req
|
|
675
|
+
* @param {function(string, DescribeCustomizedConfigListResponse):void} cb
|
|
638
676
|
* @public
|
|
639
677
|
*/
|
|
640
|
-
|
|
641
|
-
let resp = new
|
|
642
|
-
this.request("
|
|
678
|
+
DescribeCustomizedConfigList(req, cb) {
|
|
679
|
+
let resp = new DescribeCustomizedConfigListResponse();
|
|
680
|
+
this.request("DescribeCustomizedConfigList", req, resp, cb);
|
|
643
681
|
}
|
|
644
682
|
|
|
645
683
|
/**
|
|
646
|
-
* This API
|
|
647
|
-
This is an
|
|
648
|
-
* @param {
|
|
649
|
-
* @param {function(string,
|
|
684
|
+
* This API is used to modify the properties of forwarding rules under a layer-7 (HTTP/HTTPS) listener in Cloud Load Balancer, including forwarding path, health check attributes and forwarding policy.
|
|
685
|
+
This is an asynchronous API. After it returns the result successfully, you can call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
686
|
+
* @param {ModifyRuleRequest} req
|
|
687
|
+
* @param {function(string, ModifyRuleResponse):void} cb
|
|
650
688
|
* @public
|
|
651
689
|
*/
|
|
652
|
-
|
|
653
|
-
let resp = new
|
|
654
|
-
this.request("
|
|
690
|
+
ModifyRule(req, cb) {
|
|
691
|
+
let resp = new ModifyRuleResponse();
|
|
692
|
+
this.request("ModifyRule", req, resp, cb);
|
|
655
693
|
}
|
|
656
694
|
|
|
657
695
|
/**
|
|
658
|
-
* This API
|
|
659
|
-
|
|
660
|
-
* @param {
|
|
661
|
-
* @param {function(string, DeleteRuleResponse):void} cb
|
|
696
|
+
* This API is used to add, delete, and update the CLS topic of a CLB instance.
|
|
697
|
+
* @param {SetLoadBalancerClsLogRequest} req
|
|
698
|
+
* @param {function(string, SetLoadBalancerClsLogResponse):void} cb
|
|
662
699
|
* @public
|
|
663
700
|
*/
|
|
664
|
-
|
|
665
|
-
let resp = new
|
|
666
|
-
this.request("
|
|
701
|
+
SetLoadBalancerClsLog(req, cb) {
|
|
702
|
+
let resp = new SetLoadBalancerClsLogResponse();
|
|
703
|
+
this.request("SetLoadBalancerClsLog", req, resp, cb);
|
|
667
704
|
}
|
|
668
705
|
|
|
669
706
|
/**
|
|
670
|
-
* This API
|
|
671
|
-
This API
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
* @param {ReplaceCertForLoadBalancersRequest} req
|
|
675
|
-
* @param {function(string, ReplaceCertForLoadBalancersResponse):void} cb
|
|
707
|
+
* This API is used to modify the client IP blocklist of a CLB instance. One forwarding rule supports blocking up to 2,000,000 IPs. One blocklist can contain up to 2,000,000 entries.
|
|
708
|
+
(This API is in beta test. To use it, please submit a ticket.)
|
|
709
|
+
* @param {ModifyBlockIPListRequest} req
|
|
710
|
+
* @param {function(string, ModifyBlockIPListResponse):void} cb
|
|
676
711
|
* @public
|
|
677
712
|
*/
|
|
678
|
-
|
|
679
|
-
let resp = new
|
|
680
|
-
this.request("
|
|
713
|
+
ModifyBlockIPList(req, cb) {
|
|
714
|
+
let resp = new ModifyBlockIPListResponse();
|
|
715
|
+
this.request("ModifyBlockIPList", req, resp, cb);
|
|
681
716
|
}
|
|
682
717
|
|
|
683
718
|
/**
|
|
684
|
-
* This API is used to
|
|
685
|
-
* @param {
|
|
686
|
-
* @param {function(string,
|
|
719
|
+
* This API (DescribeRewrite) is used to query the redirection relationship between the forwarding rules of a CLB instance by instance ID. If no listener ID or forwarding rule ID is specified, all redirection relationships in the instance will be returned.
|
|
720
|
+
* @param {DescribeRewriteRequest} req
|
|
721
|
+
* @param {function(string, DescribeRewriteResponse):void} cb
|
|
687
722
|
* @public
|
|
688
723
|
*/
|
|
689
|
-
|
|
690
|
-
let resp = new
|
|
691
|
-
this.request("
|
|
724
|
+
DescribeRewrite(req, cb) {
|
|
725
|
+
let resp = new DescribeRewriteResponse();
|
|
726
|
+
this.request("DescribeRewrite", req, resp, cb);
|
|
692
727
|
}
|
|
693
728
|
|
|
694
729
|
/**
|
|
695
|
-
* This API is used to
|
|
696
|
-
This is an async API. After it is returned successfully, you can call the
|
|
697
|
-
* @param {
|
|
698
|
-
* @param {function(string,
|
|
730
|
+
* This API (ModifyTargetPort) is used to modify the port of a real server bound to a listener.
|
|
731
|
+
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
732
|
+
* @param {ModifyTargetPortRequest} req
|
|
733
|
+
* @param {function(string, ModifyTargetPortResponse):void} cb
|
|
699
734
|
* @public
|
|
700
735
|
*/
|
|
701
|
-
|
|
702
|
-
let resp = new
|
|
703
|
-
this.request("
|
|
736
|
+
ModifyTargetPort(req, cb) {
|
|
737
|
+
let resp = new ModifyTargetPortResponse();
|
|
738
|
+
this.request("ModifyTargetPort", req, resp, cb);
|
|
704
739
|
}
|
|
705
740
|
|
|
706
741
|
/**
|
|
707
|
-
* This API is used to
|
|
708
|
-
|
|
709
|
-
|
|
742
|
+
* This API is used to unbind a cloud function from the forwarding rule of a Cloud Load Balancer. For a layer-7 (HTTP/HTTPS) listener, the forwarding rule must be specified by LocationId or Domain+Url.
|
|
743
|
+
This API is used to perform asynchronous operations. After it returns a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
744
|
+
This API is used to describe restrictions.
|
|
745
|
+
|
|
746
|
+
-SCF binding is supported only in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Tokyo, and Silicon Valley.
|
|
747
|
+
-Only the standard account type supports binding SCF. The classic account type is unsupported. We recommend upgrading to the standard account type. For more information, see [account type upgrade instructions](https://www.tencentcloud.comom/document/product/1199/49090?from_cn_redirect=1).
|
|
748
|
+
-Classic CLB does not support binding SCF.
|
|
749
|
+
-Basic Network Type does not support binding SCF.
|
|
750
|
+
-CLB supports binding ALL SCFs in the same region by default, supports cross-VPC binding, but cross-region selection is not supported.
|
|
751
|
+
-Currently, only IPv4 and IPv6 NAT64 versions of Cloud Load Balancer support binding SCF. IPv6 version is not currently supported.
|
|
752
|
+
-Only layer-7 (HTTP, HTTPS) listeners support binding SCF. Layer-4 (TCP, UDP, TCP SSL) listeners and layer-7 QUIC listeners are unsupported.
|
|
753
|
+
-CLB binding SCF only supports binding cloud functions of the "Event function" type.
|
|
754
|
+
* @param {DeregisterFunctionTargetsRequest} req
|
|
755
|
+
* @param {function(string, DeregisterFunctionTargetsResponse):void} cb
|
|
710
756
|
* @public
|
|
711
757
|
*/
|
|
712
|
-
|
|
713
|
-
let resp = new
|
|
714
|
-
this.request("
|
|
758
|
+
DeregisterFunctionTargets(req, cb) {
|
|
759
|
+
let resp = new DeregisterFunctionTargetsResponse();
|
|
760
|
+
this.request("DeregisterFunctionTargets", req, resp, cb);
|
|
715
761
|
}
|
|
716
762
|
|
|
717
763
|
/**
|
|
718
|
-
* This API is used to
|
|
719
|
-
|
|
720
|
-
|
|
764
|
+
* This API is used to adjust the performance capacity specification of usage-based billing mode instances, for example upgrading from shared type to performance capacity type or modifying the specification of LCU-supported instances.
|
|
765
|
+
This API is used to set use limits.
|
|
766
|
+
-This API only supports adjustments for pay-as-you-go CLB instances. For CLB instance upgrades with annual/monthly subscription, make adjustments through the console.
|
|
767
|
+
-After upgrading from a shared instance to a performance and capacity instance, reverting to a shared instance is not supported.
|
|
768
|
+
-A classic CLB instance does not support upgrading to a performance and capacity instance.
|
|
769
|
+
* @param {ModifyLoadBalancerSlaRequest} req
|
|
770
|
+
* @param {function(string, ModifyLoadBalancerSlaResponse):void} cb
|
|
721
771
|
* @public
|
|
722
772
|
*/
|
|
723
|
-
|
|
724
|
-
let resp = new
|
|
725
|
-
this.request("
|
|
773
|
+
ModifyLoadBalancerSla(req, cb) {
|
|
774
|
+
let resp = new ModifyLoadBalancerSlaResponse();
|
|
775
|
+
this.request("ModifyLoadBalancerSla", req, resp, cb);
|
|
726
776
|
}
|
|
727
777
|
|
|
728
778
|
/**
|
|
729
|
-
* This API is used to
|
|
730
|
-
|
|
731
|
-
* @param {
|
|
732
|
-
* @param {function(string, ModifyTargetGroupInstancesPortResponse):void} cb
|
|
779
|
+
* This API is used to query the execution status of an async IP blocking (blocklisting) task by the async task ID returned by the `ModifyBlockIPList` API. (This API is in beta test. To use it, please submit a ticket.)
|
|
780
|
+
* @param {DescribeBlockIPTaskRequest} req
|
|
781
|
+
* @param {function(string, DescribeBlockIPTaskResponse):void} cb
|
|
733
782
|
* @public
|
|
734
783
|
*/
|
|
735
|
-
|
|
736
|
-
let resp = new
|
|
737
|
-
this.request("
|
|
784
|
+
DescribeBlockIPTask(req, cb) {
|
|
785
|
+
let resp = new DescribeBlockIPTaskResponse();
|
|
786
|
+
this.request("DescribeBlockIPTask", req, resp, cb);
|
|
738
787
|
}
|
|
739
788
|
|
|
740
789
|
/**
|
|
741
|
-
* This API is used to
|
|
742
|
-
|
|
743
|
-
* @param {
|
|
744
|
-
* @param {function(string, DeregisterTargetGroupInstancesResponse):void} cb
|
|
790
|
+
* This API is used to get the list of classic CLB instance IDs through a real server ID.
|
|
791
|
+
* @param {DescribeClassicalLBByInstanceIdRequest} req
|
|
792
|
+
* @param {function(string, DescribeClassicalLBByInstanceIdResponse):void} cb
|
|
745
793
|
* @public
|
|
746
794
|
*/
|
|
747
|
-
|
|
748
|
-
let resp = new
|
|
749
|
-
this.request("
|
|
795
|
+
DescribeClassicalLBByInstanceId(req, cb) {
|
|
796
|
+
let resp = new DescribeClassicalLBByInstanceIdResponse();
|
|
797
|
+
this.request("DescribeClassicalLBByInstanceId", req, resp, cb);
|
|
750
798
|
}
|
|
751
799
|
|
|
752
800
|
/**
|
|
753
|
-
* This API is used to query the
|
|
754
|
-
* @param {
|
|
755
|
-
* @param {function(string,
|
|
756
|
-
* @public
|
|
757
|
-
*/
|
|
758
|
-
|
|
759
|
-
let resp = new
|
|
760
|
-
this.request("
|
|
801
|
+
* This API is used to query CLB instances with high traffic under the current account, and return the top 10 results. For queries using a sub-account, only the CLB instances authorized to the sub-account will be returned.
|
|
802
|
+
* @param {DescribeLoadBalancerTrafficRequest} req
|
|
803
|
+
* @param {function(string, DescribeLoadBalancerTrafficResponse):void} cb
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
DescribeLoadBalancerTraffic(req, cb) {
|
|
807
|
+
let resp = new DescribeLoadBalancerTrafficResponse();
|
|
808
|
+
this.request("DescribeLoadBalancerTraffic", req, resp, cb);
|
|
761
809
|
}
|
|
762
810
|
|
|
763
811
|
/**
|
|
764
|
-
*
|
|
765
|
-
* @param {
|
|
766
|
-
* @param {function(string,
|
|
812
|
+
* Queries information of CVMs and ENIs that use cross-region binding 2.0
|
|
813
|
+
* @param {DescribeCrossTargetsRequest} req
|
|
814
|
+
* @param {function(string, DescribeCrossTargetsResponse):void} cb
|
|
767
815
|
* @public
|
|
768
816
|
*/
|
|
769
|
-
|
|
770
|
-
let resp = new
|
|
771
|
-
this.request("
|
|
817
|
+
DescribeCrossTargets(req, cb) {
|
|
818
|
+
let resp = new DescribeCrossTargetsResponse();
|
|
819
|
+
this.request("DescribeCrossTargets", req, resp, cb);
|
|
772
820
|
}
|
|
773
821
|
|
|
774
822
|
/**
|
|
775
|
-
* This API is used to
|
|
776
|
-
* @param {
|
|
777
|
-
* @param {function(string,
|
|
823
|
+
* This API (DescribeTargetHealth) is used to query the health check result of a real server of a CLB instance.
|
|
824
|
+
* @param {DescribeTargetHealthRequest} req
|
|
825
|
+
* @param {function(string, DescribeTargetHealthResponse):void} cb
|
|
778
826
|
* @public
|
|
779
827
|
*/
|
|
780
|
-
|
|
781
|
-
let resp = new
|
|
782
|
-
this.request("
|
|
828
|
+
DescribeTargetHealth(req, cb) {
|
|
829
|
+
let resp = new DescribeTargetHealthResponse();
|
|
830
|
+
this.request("DescribeTargetHealth", req, resp, cb);
|
|
783
831
|
}
|
|
784
832
|
|
|
785
833
|
/**
|
|
786
|
-
*
|
|
787
|
-
* @param {
|
|
788
|
-
* @param {function(string,
|
|
834
|
+
* After the original access address and the address to be redirected are configured manually, the system will automatically redirect requests made to the original access address to the target address of the corresponding path. Multiple paths can be configured as a redirection policy under one domain name to achieve automatic redirection between HTTP and HTTPS. A redirection policy should meet the following rules: if A has already been redirected to B, then it cannot be redirected to C (unless the original redirection relationship is deleted and a new one is created), and B cannot be redirected to any other addresses.
|
|
835
|
+
* @param {ManualRewriteRequest} req
|
|
836
|
+
* @param {function(string, ManualRewriteResponse):void} cb
|
|
789
837
|
* @public
|
|
790
838
|
*/
|
|
791
|
-
|
|
792
|
-
let resp = new
|
|
793
|
-
this.request("
|
|
839
|
+
ManualRewrite(req, cb) {
|
|
840
|
+
let resp = new ManualRewriteResponse();
|
|
841
|
+
this.request("ManualRewrite", req, resp, cb);
|
|
794
842
|
}
|
|
795
843
|
|
|
796
844
|
/**
|
|
797
|
-
* This API is used to
|
|
798
|
-
This
|
|
799
|
-
|
|
800
|
-
* @param {
|
|
845
|
+
* This API is used to modify the SCF bound to a Cloud Load Balancer forwarding rule.
|
|
846
|
+
This API is used to describe restrictions.
|
|
847
|
+
-Only supports binding SCF of the "Event function" type.
|
|
848
|
+
* @param {ModifyFunctionTargetsRequest} req
|
|
849
|
+
* @param {function(string, ModifyFunctionTargetsResponse):void} cb
|
|
801
850
|
* @public
|
|
802
851
|
*/
|
|
803
|
-
|
|
804
|
-
let resp = new
|
|
805
|
-
this.request("
|
|
852
|
+
ModifyFunctionTargets(req, cb) {
|
|
853
|
+
let resp = new ModifyFunctionTargetsResponse();
|
|
854
|
+
this.request("ModifyFunctionTargets", req, resp, cb);
|
|
806
855
|
}
|
|
807
856
|
|
|
808
857
|
/**
|
|
809
|
-
* This API is used to
|
|
810
|
-
|
|
811
|
-
* @param {
|
|
858
|
+
* This API is used to delete the SnatIp of the SnatPro load balancing.
|
|
859
|
+
This API is used to perform asynchronous operations. After returning a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
860
|
+
* @param {DeleteLoadBalancerSnatIpsRequest} req
|
|
861
|
+
* @param {function(string, DeleteLoadBalancerSnatIpsResponse):void} cb
|
|
812
862
|
* @public
|
|
813
863
|
*/
|
|
814
|
-
|
|
815
|
-
let resp = new
|
|
816
|
-
this.request("
|
|
864
|
+
DeleteLoadBalancerSnatIps(req, cb) {
|
|
865
|
+
let resp = new DeleteLoadBalancerSnatIpsResponse();
|
|
866
|
+
this.request("DeleteLoadBalancerSnatIps", req, resp, cb);
|
|
817
867
|
}
|
|
818
868
|
|
|
819
869
|
/**
|
|
820
|
-
* This API is used to
|
|
821
|
-
This is an
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account.
|
|
825
|
-
- SCF functions cannot be bound with classic CLB instances.
|
|
826
|
-
- SCF functions cannot be bound with classic network-based CLB instances.
|
|
827
|
-
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
|
|
828
|
-
- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.
|
|
829
|
-
- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.
|
|
830
|
-
- Only SCF event-triggered functions can be bound with CLB instances.
|
|
831
|
-
* @param {RegisterFunctionTargetsRequest} req
|
|
832
|
-
* @param {function(string, RegisterFunctionTargetsResponse):void} cb
|
|
870
|
+
* This API is used to create forwarding rules under an existing layer-7 CLB listener. In layer-7 CLB listeners, backend services must be bound to rules instead of the listener.
|
|
871
|
+
This is an asynchronous API. After it returns the result successfully, you can call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
872
|
+
* @param {CreateRuleRequest} req
|
|
873
|
+
* @param {function(string, CreateRuleResponse):void} cb
|
|
833
874
|
* @public
|
|
834
875
|
*/
|
|
835
|
-
|
|
836
|
-
let resp = new
|
|
837
|
-
this.request("
|
|
876
|
+
CreateRule(req, cb) {
|
|
877
|
+
let resp = new CreateRuleResponse();
|
|
878
|
+
this.request("CreateRule", req, resp, cb);
|
|
838
879
|
}
|
|
839
880
|
|
|
840
881
|
/**
|
|
841
|
-
* This API is used to
|
|
842
|
-
* @param {
|
|
843
|
-
* @param {function(string,
|
|
882
|
+
* This API is used to add new personalized configurations and prepare for decommissioning. Please use SetCustomizedConfigForLoadBalancer.
|
|
883
|
+
* @param {AddCustomizedConfigRequest} req
|
|
884
|
+
* @param {function(string, AddCustomizedConfigResponse):void} cb
|
|
844
885
|
* @public
|
|
845
886
|
*/
|
|
846
|
-
|
|
847
|
-
let resp = new
|
|
848
|
-
this.request("
|
|
887
|
+
AddCustomizedConfig(req, cb) {
|
|
888
|
+
let resp = new AddCustomizedConfigResponse();
|
|
889
|
+
this.request("AddCustomizedConfig", req, resp, cb);
|
|
849
890
|
}
|
|
850
891
|
|
|
851
892
|
/**
|
|
852
|
-
* This API is used to modify the
|
|
853
|
-
|
|
854
|
-
* @param {
|
|
893
|
+
* This API is used to modify the domain name under a layer-7 (HTTP/HTTPS) listener of Cloud Load Balancer.
|
|
894
|
+
This is an asynchronous API. After it returns the result successfully, you can call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
895
|
+
* @param {ModifyDomainRequest} req
|
|
896
|
+
* @param {function(string, ModifyDomainResponse):void} cb
|
|
855
897
|
* @public
|
|
856
898
|
*/
|
|
857
|
-
|
|
858
|
-
let resp = new
|
|
859
|
-
this.request("
|
|
899
|
+
ModifyDomain(req, cb) {
|
|
900
|
+
let resp = new ModifyDomainResponse();
|
|
901
|
+
this.request("ModifyDomain", req, resp, cb);
|
|
860
902
|
}
|
|
861
903
|
|
|
862
904
|
/**
|
|
863
|
-
* This API is used to
|
|
864
|
-
* @param {
|
|
865
|
-
* @param {function(string,
|
|
905
|
+
* This API is used to query the price of renewing a CLB instance. It's only available to prepaid CLB instances.
|
|
906
|
+
* @param {InquiryPriceRenewLoadBalancerRequest} req
|
|
907
|
+
* @param {function(string, InquiryPriceRenewLoadBalancerResponse):void} cb
|
|
866
908
|
* @public
|
|
867
909
|
*/
|
|
868
|
-
|
|
869
|
-
let resp = new
|
|
870
|
-
this.request("
|
|
910
|
+
InquiryPriceRenewLoadBalancer(req, cb) {
|
|
911
|
+
let resp = new InquiryPriceRenewLoadBalancerResponse();
|
|
912
|
+
this.request("InquiryPriceRenewLoadBalancer", req, resp, cb);
|
|
871
913
|
}
|
|
872
914
|
|
|
873
915
|
/**
|
|
874
|
-
*
|
|
875
|
-
* @param {
|
|
876
|
-
* @param {function(string,
|
|
916
|
+
* Queries the total number of CLB instances and the number of CLB instances in different status (running, isolated and about to expire).
|
|
917
|
+
* @param {DescribeLoadBalancerOverviewRequest} req
|
|
918
|
+
* @param {function(string, DescribeLoadBalancerOverviewResponse):void} cb
|
|
877
919
|
* @public
|
|
878
920
|
*/
|
|
879
|
-
|
|
880
|
-
let resp = new
|
|
881
|
-
this.request("
|
|
921
|
+
DescribeLoadBalancerOverview(req, cb) {
|
|
922
|
+
let resp = new DescribeLoadBalancerOverviewResponse();
|
|
923
|
+
this.request("DescribeLoadBalancerOverview", req, resp, cb);
|
|
882
924
|
}
|
|
883
925
|
|
|
884
926
|
/**
|
|
885
|
-
* This API is used to
|
|
886
|
-
|
|
887
|
-
* @param {
|
|
927
|
+
* This API is used to delete one or more specified CLB instances. After successful deletion, the listeners and forwarding rules under the CLB instance will be deleted together, and the backend service will be unbound.
|
|
928
|
+
This API is asynchronous. After it returns the result successfully, you can call the [DescribeTaskStatus](https://www.tencentcloud.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
929
|
+
* @param {DeleteLoadBalancerRequest} req
|
|
930
|
+
* @param {function(string, DeleteLoadBalancerResponse):void} cb
|
|
888
931
|
* @public
|
|
889
932
|
*/
|
|
890
|
-
|
|
891
|
-
let resp = new
|
|
892
|
-
this.request("
|
|
933
|
+
DeleteLoadBalancer(req, cb) {
|
|
934
|
+
let resp = new DeleteLoadBalancerResponse();
|
|
935
|
+
this.request("DeleteLoadBalancer", req, resp, cb);
|
|
893
936
|
}
|
|
894
937
|
|
|
895
938
|
/**
|
|
896
|
-
* This API is used to
|
|
897
|
-
* @param {
|
|
898
|
-
* @param {function(string,
|
|
939
|
+
* This API is used to query the price of creating a CLB instance.
|
|
940
|
+
* @param {InquiryPriceCreateLoadBalancerRequest} req
|
|
941
|
+
* @param {function(string, InquiryPriceCreateLoadBalancerResponse):void} cb
|
|
899
942
|
* @public
|
|
900
943
|
*/
|
|
901
|
-
|
|
902
|
-
let resp = new
|
|
903
|
-
this.request("
|
|
944
|
+
InquiryPriceCreateLoadBalancer(req, cb) {
|
|
945
|
+
let resp = new InquiryPriceCreateLoadBalancerResponse();
|
|
946
|
+
this.request("InquiryPriceCreateLoadBalancer", req, resp, cb);
|
|
904
947
|
}
|
|
905
948
|
|
|
906
949
|
/**
|
|
907
|
-
* This API
|
|
908
|
-
This is
|
|
909
|
-
* @param {
|
|
910
|
-
* @param {function(string,
|
|
950
|
+
* This API is used to delete forwarding rules under a layer-7 listener of a load balancing instance.
|
|
951
|
+
This API is used to perform asynchronous operations. After it returns a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
952
|
+
* @param {DeleteRuleRequest} req
|
|
953
|
+
* @param {function(string, DeleteRuleResponse):void} cb
|
|
911
954
|
* @public
|
|
912
955
|
*/
|
|
913
|
-
|
|
914
|
-
let resp = new
|
|
915
|
-
this.request("
|
|
956
|
+
DeleteRule(req, cb) {
|
|
957
|
+
let resp = new DeleteRuleResponse();
|
|
958
|
+
this.request("DeleteRule", req, resp, cb);
|
|
916
959
|
}
|
|
917
960
|
|
|
918
961
|
/**
|
|
919
|
-
* This API
|
|
920
|
-
* @param {
|
|
921
|
-
* @param {function(string,
|
|
962
|
+
* This API is used to modify personalized configuration. If the configuration is already bound to clb, server or location, update simultaneously. Prepare for decommissioning. Please use SetCustomizedConfigForLoadBalancer.
|
|
963
|
+
* @param {ModifyCustomizedConfigRequest} req
|
|
964
|
+
* @param {function(string, ModifyCustomizedConfigResponse):void} cb
|
|
922
965
|
* @public
|
|
923
966
|
*/
|
|
924
|
-
|
|
925
|
-
let resp = new
|
|
926
|
-
this.request("
|
|
967
|
+
ModifyCustomizedConfig(req, cb) {
|
|
968
|
+
let resp = new ModifyCustomizedConfigResponse();
|
|
969
|
+
this.request("ModifyCustomizedConfig", req, resp, cb);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* This API is used to query the execution status of an async task. After non-query APIs (used to create/delete CLB instances, listeners, or rules or to bind/unbind real servers) are called successfully, this API needs to be used to query whether the task is successful.
|
|
974
|
+
* @param {DescribeTaskStatusRequest} req
|
|
975
|
+
* @param {function(string, DescribeTaskStatusResponse):void} cb
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
DescribeTaskStatus(req, cb) {
|
|
979
|
+
let resp = new DescribeTaskStatusResponse();
|
|
980
|
+
this.request("DescribeTaskStatus", req, resp, cb);
|
|
927
981
|
}
|
|
928
982
|
|
|
929
983
|
/**
|
|
@@ -938,299 +992,356 @@ This is an async API. After it is returned successfully, you can call the Descri
|
|
|
938
992
|
}
|
|
939
993
|
|
|
940
994
|
/**
|
|
941
|
-
* This API is used to query the
|
|
942
|
-
* @param {
|
|
943
|
-
* @param {function(string,
|
|
995
|
+
* This API is used to query the target group information.
|
|
996
|
+
* @param {DescribeTargetGroupsRequest} req
|
|
997
|
+
* @param {function(string, DescribeTargetGroupsResponse):void} cb
|
|
944
998
|
* @public
|
|
945
999
|
*/
|
|
946
|
-
|
|
947
|
-
let resp = new
|
|
948
|
-
this.request("
|
|
1000
|
+
DescribeTargetGroups(req, cb) {
|
|
1001
|
+
let resp = new DescribeTargetGroupsResponse();
|
|
1002
|
+
this.request("DescribeTargetGroups", req, resp, cb);
|
|
949
1003
|
}
|
|
950
1004
|
|
|
951
1005
|
/**
|
|
952
|
-
* This API is used to
|
|
953
|
-
* @param {
|
|
954
|
-
* @param {function(string,
|
|
1006
|
+
* This API is used to rename a target group or modify its default port attribute.
|
|
1007
|
+
* @param {ModifyTargetGroupAttributeRequest} req
|
|
1008
|
+
* @param {function(string, ModifyTargetGroupAttributeResponse):void} cb
|
|
955
1009
|
* @public
|
|
956
1010
|
*/
|
|
957
|
-
|
|
958
|
-
let resp = new
|
|
959
|
-
this.request("
|
|
1011
|
+
ModifyTargetGroupAttribute(req, cb) {
|
|
1012
|
+
let resp = new ModifyTargetGroupAttributeResponse();
|
|
1013
|
+
this.request("ModifyTargetGroupAttribute", req, resp, cb);
|
|
960
1014
|
}
|
|
961
1015
|
|
|
962
1016
|
/**
|
|
963
|
-
*
|
|
964
|
-
* @param {
|
|
965
|
-
* @param {function(string,
|
|
1017
|
+
* This API is used to create a CLB exclusive logset for storing CLB logs.
|
|
1018
|
+
* @param {CreateClsLogSetRequest} req
|
|
1019
|
+
* @param {function(string, CreateClsLogSetResponse):void} cb
|
|
966
1020
|
* @public
|
|
967
1021
|
*/
|
|
968
|
-
|
|
969
|
-
let resp = new
|
|
970
|
-
this.request("
|
|
1022
|
+
CreateClsLogSet(req, cb) {
|
|
1023
|
+
let resp = new CreateClsLogSetResponse();
|
|
1024
|
+
this.request("CreateClsLogSet", req, resp, cb);
|
|
971
1025
|
}
|
|
972
1026
|
|
|
973
1027
|
/**
|
|
974
|
-
* This API
|
|
975
|
-
* @param {
|
|
976
|
-
* @param {function(string,
|
|
1028
|
+
* This API is used to query various quotas in the current region.
|
|
1029
|
+
* @param {DescribeQuotaRequest} req
|
|
1030
|
+
* @param {function(string, DescribeQuotaResponse):void} cb
|
|
977
1031
|
* @public
|
|
978
1032
|
*/
|
|
979
|
-
|
|
980
|
-
let resp = new
|
|
981
|
-
this.request("
|
|
1033
|
+
DescribeQuota(req, cb) {
|
|
1034
|
+
let resp = new DescribeQuotaResponse();
|
|
1035
|
+
this.request("DescribeQuota", req, resp, cb);
|
|
982
1036
|
}
|
|
983
1037
|
|
|
984
1038
|
/**
|
|
985
|
-
* This API (
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
* @param {
|
|
1039
|
+
* This API (CreateLoadBalancer) is used to create a CLB instance. To use the CLB service, you first need to purchase one or more instances. After this API is called successfully, a unique instance ID will be returned. There are two types of instances: public network and private network. For more information, see the product types in the product documentation.
|
|
1040
|
+
Note: (1) To apply for a CLB instance in the specified AZ and cross-AZ disaster recovery, please [submit a ticket](https://console.cloud.tencent.com/workorder/category); (2) Currently, IPv6 is supported only in Beijing, Shanghai, and Guangzhou regions.
|
|
1041
|
+
This is an async API. After it is returned successfully, you can call the DescribeLoadBalancers API to query the status of the instance (such as creating and normal) to check whether it is successfully created.
|
|
1042
|
+
* @param {CreateLoadBalancerRequest} req
|
|
1043
|
+
* @param {function(string, CreateLoadBalancerResponse):void} cb
|
|
989
1044
|
* @public
|
|
990
1045
|
*/
|
|
991
|
-
|
|
992
|
-
let resp = new
|
|
993
|
-
this.request("
|
|
1046
|
+
CreateLoadBalancer(req, cb) {
|
|
1047
|
+
let resp = new CreateLoadBalancerResponse();
|
|
1048
|
+
this.request("CreateLoadBalancer", req, resp, cb);
|
|
994
1049
|
}
|
|
995
1050
|
|
|
996
1051
|
/**
|
|
997
|
-
*
|
|
998
|
-
|
|
999
|
-
* @param {
|
|
1000
|
-
* @param {function(string, MigrateClassicalLoadBalancersResponse):void} cb
|
|
1052
|
+
* Idle CLB instances are pay-as-you-go load balancers that, within seven days after the creation, do not have rules configured or the configured rules are not associated with any servers.
|
|
1053
|
+
* @param {DescribeIdleLoadBalancersRequest} req
|
|
1054
|
+
* @param {function(string, DescribeIdleLoadBalancersResponse):void} cb
|
|
1001
1055
|
* @public
|
|
1002
1056
|
*/
|
|
1003
|
-
|
|
1004
|
-
let resp = new
|
|
1005
|
-
this.request("
|
|
1057
|
+
DescribeIdleLoadBalancers(req, cb) {
|
|
1058
|
+
let resp = new DescribeIdleLoadBalancersResponse();
|
|
1059
|
+
this.request("DescribeIdleLoadBalancers", req, resp, cb);
|
|
1006
1060
|
}
|
|
1007
1061
|
|
|
1008
1062
|
/**
|
|
1009
|
-
* This API
|
|
1010
|
-
|
|
1011
|
-
* @param {
|
|
1063
|
+
* This API is used to bind one or more backend services to a Cloud Load Balancer listener or layer-7 forwarding rule. Before that, you need to create a related CLB layer-4 listener or layer-7 forwarding rule. For Layer-4 listeners (TCP/UDP), only specify the listener ID. For layer-7 (HTTP/HTTPS) listeners, forwarding rules must be specified through LocationId or Domain+Url.
|
|
1064
|
+
This API is used to perform asynchronous operations. After it returns a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
1065
|
+
* @param {RegisterTargetsRequest} req
|
|
1066
|
+
* @param {function(string, RegisterTargetsResponse):void} cb
|
|
1012
1067
|
* @public
|
|
1013
1068
|
*/
|
|
1014
|
-
|
|
1015
|
-
let resp = new
|
|
1016
|
-
this.request("
|
|
1069
|
+
RegisterTargets(req, cb) {
|
|
1070
|
+
let resp = new RegisterTargetsResponse();
|
|
1071
|
+
this.request("RegisterTargets", req, resp, cb);
|
|
1017
1072
|
}
|
|
1018
1073
|
|
|
1019
1074
|
/**
|
|
1020
|
-
* This API is used to
|
|
1021
|
-
* @param {
|
|
1022
|
-
* @param {function(string,
|
|
1075
|
+
* This API (DescribeClassicalLBListeners) is used to get the listener information of a classic CLB.
|
|
1076
|
+
* @param {DescribeClassicalLBListenersRequest} req
|
|
1077
|
+
* @param {function(string, DescribeClassicalLBListenersResponse):void} cb
|
|
1023
1078
|
* @public
|
|
1024
1079
|
*/
|
|
1025
|
-
|
|
1026
|
-
let resp = new
|
|
1027
|
-
this.request("
|
|
1080
|
+
DescribeClassicalLBListeners(req, cb) {
|
|
1081
|
+
let resp = new DescribeClassicalLBListenersResponse();
|
|
1082
|
+
this.request("DescribeClassicalLBListeners", req, resp, cb);
|
|
1028
1083
|
}
|
|
1029
1084
|
|
|
1030
1085
|
/**
|
|
1031
|
-
* This API is used to
|
|
1032
|
-
|
|
1033
|
-
|
|
1086
|
+
* This API (ReplaceCertForLoadBalancers) is used to replace the certificate associated with a CLB instance. A new certificates can be associated with a CLB only after the original certificate is disassociated from it.
|
|
1087
|
+
This API supports replacing server certificates and client certificates.
|
|
1088
|
+
The new certificate to be used can be specified by passing in the certificate ID. If no certificate ID is specified, relevant information such as certificate content must be passed in to create a new certificate and bind it to the CLB.
|
|
1089
|
+
Note: This API can only be called in the Guangzhou region; for other regions, an error will occur due to domain name resolution problems.
|
|
1090
|
+
* @param {ReplaceCertForLoadBalancersRequest} req
|
|
1091
|
+
* @param {function(string, ReplaceCertForLoadBalancersResponse):void} cb
|
|
1034
1092
|
* @public
|
|
1035
1093
|
*/
|
|
1036
|
-
|
|
1037
|
-
let resp = new
|
|
1038
|
-
this.request("
|
|
1094
|
+
ReplaceCertForLoadBalancers(req, cb) {
|
|
1095
|
+
let resp = new ReplaceCertForLoadBalancersResponse();
|
|
1096
|
+
this.request("ReplaceCertForLoadBalancers", req, resp, cb);
|
|
1039
1097
|
}
|
|
1040
1098
|
|
|
1041
1099
|
/**
|
|
1042
|
-
* This API is used to
|
|
1043
|
-
This is
|
|
1044
|
-
|
|
1100
|
+
* This API is used to delete multiple listeners of Cloud Load Balancer.
|
|
1101
|
+
This API is used to perform asynchronous operations. After it returns a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
1102
|
+
* @param {DeleteLoadBalancerListenersRequest} req
|
|
1103
|
+
* @param {function(string, DeleteLoadBalancerListenersResponse):void} cb
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
DeleteLoadBalancerListeners(req, cb) {
|
|
1107
|
+
let resp = new DeleteLoadBalancerListenersResponse();
|
|
1108
|
+
this.request("DeleteLoadBalancerListeners", req, resp, cb);
|
|
1109
|
+
}
|
|
1045
1110
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
|
|
1051
|
-
- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.
|
|
1052
|
-
- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.
|
|
1053
|
-
- Only SCF event-triggered functions can be bound with CLB instances.
|
|
1054
|
-
* @param {DeregisterFunctionTargetsRequest} req
|
|
1055
|
-
* @param {function(string, DeregisterFunctionTargetsResponse):void} cb
|
|
1111
|
+
/**
|
|
1112
|
+
* This API is used to delete target groups in batches, with a maximum of 20 target groups at a time.
|
|
1113
|
+
* @param {DeleteTargetGroupsRequest} req
|
|
1114
|
+
* @param {function(string, DeleteTargetGroupsResponse):void} cb
|
|
1056
1115
|
* @public
|
|
1057
1116
|
*/
|
|
1058
|
-
|
|
1059
|
-
let resp = new
|
|
1060
|
-
this.request("
|
|
1117
|
+
DeleteTargetGroups(req, cb) {
|
|
1118
|
+
let resp = new DeleteTargetGroupsResponse();
|
|
1119
|
+
this.request("DeleteTargetGroups", req, resp, cb);
|
|
1061
1120
|
}
|
|
1062
1121
|
|
|
1063
1122
|
/**
|
|
1064
|
-
* This API
|
|
1065
|
-
* @param {
|
|
1066
|
-
* @param {function(string,
|
|
1123
|
+
* This API is used to query the list of CLB instances associated with a certificate in a region by certificate ID.
|
|
1124
|
+
* @param {DescribeLoadBalancerListByCertIdRequest} req
|
|
1125
|
+
* @param {function(string, DescribeLoadBalancerListByCertIdResponse):void} cb
|
|
1067
1126
|
* @public
|
|
1068
1127
|
*/
|
|
1069
|
-
|
|
1070
|
-
let resp = new
|
|
1071
|
-
this.request("
|
|
1128
|
+
DescribeLoadBalancerListByCertId(req, cb) {
|
|
1129
|
+
let resp = new DescribeLoadBalancerListByCertIdResponse();
|
|
1130
|
+
this.request("DescribeLoadBalancerListByCertId", req, resp, cb);
|
|
1072
1131
|
}
|
|
1073
1132
|
|
|
1074
1133
|
/**
|
|
1075
|
-
* This API
|
|
1076
|
-
This is an async API. After it
|
|
1077
|
-
* @param {
|
|
1078
|
-
* @param {function(string,
|
|
1134
|
+
* This API is used to modify domain-level attributes of Cloud Load Balancer layer-7 listener forwarding rules, such as modifying domain name, changing DefaultServer, enabling/disabling Http/2, and modifying certificates.
|
|
1135
|
+
This is an async API. After it returns a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to check whether this task is successful.
|
|
1136
|
+
* @param {ModifyDomainAttributesRequest} req
|
|
1137
|
+
* @param {function(string, ModifyDomainAttributesResponse):void} cb
|
|
1079
1138
|
* @public
|
|
1080
1139
|
*/
|
|
1081
|
-
|
|
1082
|
-
let resp = new
|
|
1083
|
-
this.request("
|
|
1140
|
+
ModifyDomainAttributes(req, cb) {
|
|
1141
|
+
let resp = new ModifyDomainAttributesResponse();
|
|
1142
|
+
this.request("ModifyDomainAttributes", req, resp, cb);
|
|
1084
1143
|
}
|
|
1085
1144
|
|
|
1086
1145
|
/**
|
|
1087
|
-
* This API is used to
|
|
1146
|
+
* This API is used to disassociate a target group from a rule.
|
|
1147
|
+
This is an async API. After the API return succeeds, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
1148
|
+
When unbinding a Layer 7 forwarding rule, LocationId is a required item.
|
|
1149
|
+
* @param {DisassociateTargetGroupsRequest} req
|
|
1150
|
+
* @param {function(string, DisassociateTargetGroupsResponse):void} cb
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
DisassociateTargetGroups(req, cb) {
|
|
1154
|
+
let resp = new DisassociateTargetGroupsResponse();
|
|
1155
|
+
this.request("DisassociateTargetGroups", req, resp, cb);
|
|
1156
|
+
}
|
|
1088
1157
|
|
|
1089
|
-
|
|
1090
|
-
*
|
|
1091
|
-
* @param {
|
|
1158
|
+
/**
|
|
1159
|
+
* This API is used to query the list of CLB instances in a region.
|
|
1160
|
+
* @param {DescribeLoadBalancersRequest} req
|
|
1161
|
+
* @param {function(string, DescribeLoadBalancersResponse):void} cb
|
|
1092
1162
|
* @public
|
|
1093
1163
|
*/
|
|
1094
|
-
|
|
1095
|
-
let resp = new
|
|
1096
|
-
this.request("
|
|
1164
|
+
DescribeLoadBalancers(req, cb) {
|
|
1165
|
+
let resp = new DescribeLoadBalancersResponse();
|
|
1166
|
+
this.request("DescribeLoadBalancers", req, resp, cb);
|
|
1097
1167
|
}
|
|
1098
1168
|
|
|
1099
1169
|
/**
|
|
1100
|
-
* This API is used to
|
|
1101
|
-
|
|
1102
|
-
* @param {
|
|
1103
|
-
* @param {function(string, ModifyTargetGroupInstancesWeightResponse):void} cb
|
|
1170
|
+
* This API is used to query the list of blocked IPs (blocklist) of a CLB instance. (This API is in beta test. To use it, please submit a ticket.)
|
|
1171
|
+
* @param {DescribeBlockIPListRequest} req
|
|
1172
|
+
* @param {function(string, DescribeBlockIPListResponse):void} cb
|
|
1104
1173
|
* @public
|
|
1105
1174
|
*/
|
|
1106
|
-
|
|
1107
|
-
let resp = new
|
|
1108
|
-
this.request("
|
|
1175
|
+
DescribeBlockIPList(req, cb) {
|
|
1176
|
+
let resp = new DescribeBlockIPListResponse();
|
|
1177
|
+
this.request("DescribeBlockIPList", req, resp, cb);
|
|
1109
1178
|
}
|
|
1110
1179
|
|
|
1111
1180
|
/**
|
|
1112
|
-
* This API is used to
|
|
1113
|
-
|
|
1114
|
-
* @param {
|
|
1115
|
-
* @param {function(string, CreateLoadBalancerSnatIpsResponse):void} cb
|
|
1181
|
+
* This API is used to get the real servers bound to a classic CLB instance.
|
|
1182
|
+
* @param {DescribeClassicalLBTargetsRequest} req
|
|
1183
|
+
* @param {function(string, DescribeClassicalLBTargetsResponse):void} cb
|
|
1116
1184
|
* @public
|
|
1117
1185
|
*/
|
|
1118
|
-
|
|
1119
|
-
let resp = new
|
|
1120
|
-
this.request("
|
|
1186
|
+
DescribeClassicalLBTargets(req, cb) {
|
|
1187
|
+
let resp = new DescribeClassicalLBTargetsResponse();
|
|
1188
|
+
this.request("DescribeClassicalLBTargets", req, resp, cb);
|
|
1121
1189
|
}
|
|
1122
1190
|
|
|
1123
1191
|
/**
|
|
1124
|
-
* This API is used to
|
|
1125
|
-
|
|
1126
|
-
* @param {
|
|
1192
|
+
* This API is used to create a listener for a CLB instance.
|
|
1193
|
+
This is an asynchronous API. After it returns the result successfully, you can call the [DescribeTaskStatus](https://intl.cloud.tencent.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
1194
|
+
* @param {CreateListenerRequest} req
|
|
1195
|
+
* @param {function(string, CreateListenerResponse):void} cb
|
|
1127
1196
|
* @public
|
|
1128
1197
|
*/
|
|
1129
|
-
|
|
1130
|
-
let resp = new
|
|
1131
|
-
this.request("
|
|
1198
|
+
CreateListener(req, cb) {
|
|
1199
|
+
let resp = new CreateListenerResponse();
|
|
1200
|
+
this.request("CreateListener", req, resp, cb);
|
|
1132
1201
|
}
|
|
1133
1202
|
|
|
1134
1203
|
/**
|
|
1135
|
-
* This API is used to query
|
|
1136
|
-
* @param {
|
|
1137
|
-
* @param {function(string,
|
|
1204
|
+
* This API is used to query the operation protection info of Cloud Load Balancer.
|
|
1205
|
+
* @param {DescribeLBOperateProtectRequest} req
|
|
1206
|
+
* @param {function(string, DescribeLBOperateProtectResponse):void} cb
|
|
1138
1207
|
* @public
|
|
1139
1208
|
*/
|
|
1140
|
-
|
|
1141
|
-
let resp = new
|
|
1142
|
-
this.request("
|
|
1209
|
+
DescribeLBOperateProtect(req, cb) {
|
|
1210
|
+
let resp = new DescribeLBOperateProtectResponse();
|
|
1211
|
+
this.request("DescribeLBOperateProtect", req, resp, cb);
|
|
1143
1212
|
}
|
|
1144
1213
|
|
|
1145
1214
|
/**
|
|
1146
|
-
* This API is used to
|
|
1147
|
-
* @param {
|
|
1148
|
-
* @param {function(string,
|
|
1215
|
+
* This API is used to get the CLB exclusive logset.
|
|
1216
|
+
* @param {DescribeClsLogSetRequest} req
|
|
1217
|
+
* @param {function(string, DescribeClsLogSetResponse):void} cb
|
|
1149
1218
|
* @public
|
|
1150
1219
|
*/
|
|
1151
|
-
|
|
1152
|
-
let resp = new
|
|
1153
|
-
this.request("
|
|
1220
|
+
DescribeClsLogSet(req, cb) {
|
|
1221
|
+
let resp = new DescribeClsLogSetResponse();
|
|
1222
|
+
this.request("DescribeClsLogSet", req, resp, cb);
|
|
1154
1223
|
}
|
|
1155
1224
|
|
|
1156
1225
|
/**
|
|
1157
|
-
*
|
|
1158
|
-
|
|
1159
|
-
* @param {
|
|
1226
|
+
* This API is used to modify the forwarding weight of backend service bound to Cloud Load Balancer.
|
|
1227
|
+
This is an asynchronous API. After it returns the result successfully, you can call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
1228
|
+
* @param {ModifyTargetWeightRequest} req
|
|
1229
|
+
* @param {function(string, ModifyTargetWeightResponse):void} cb
|
|
1160
1230
|
* @public
|
|
1161
1231
|
*/
|
|
1162
|
-
|
|
1163
|
-
let resp = new
|
|
1164
|
-
this.request("
|
|
1232
|
+
ModifyTargetWeight(req, cb) {
|
|
1233
|
+
let resp = new ModifyTargetWeightResponse();
|
|
1234
|
+
this.request("ModifyTargetWeight", req, resp, cb);
|
|
1165
1235
|
}
|
|
1166
1236
|
|
|
1167
1237
|
/**
|
|
1168
|
-
* This API is used to
|
|
1238
|
+
* This API is used to create a target group. This feature is in beta test, if you want to try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1).
|
|
1239
|
+
* @param {CreateTargetGroupRequest} req
|
|
1240
|
+
* @param {function(string, CreateTargetGroupResponse):void} cb
|
|
1241
|
+
* @public
|
|
1242
|
+
*/
|
|
1243
|
+
CreateTargetGroup(req, cb) {
|
|
1244
|
+
let resp = new CreateTargetGroupResponse();
|
|
1245
|
+
this.request("CreateTargetGroup", req, resp, cb);
|
|
1246
|
+
}
|
|
1169
1247
|
|
|
1170
|
-
|
|
1171
|
-
*
|
|
1248
|
+
/**
|
|
1249
|
+
* This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.
|
|
1250
|
+
* @param {DescribeTargetsRequest} req
|
|
1251
|
+
* @param {function(string, DescribeTargetsResponse):void} cb
|
|
1172
1252
|
* @public
|
|
1173
1253
|
*/
|
|
1174
|
-
|
|
1175
|
-
let resp = new
|
|
1176
|
-
this.request("
|
|
1254
|
+
DescribeTargets(req, cb) {
|
|
1255
|
+
let resp = new DescribeTargetsResponse();
|
|
1256
|
+
this.request("DescribeTargets", req, resp, cb);
|
|
1177
1257
|
}
|
|
1178
1258
|
|
|
1179
1259
|
/**
|
|
1180
|
-
* This API is used to
|
|
1181
|
-
|
|
1182
|
-
* @param {
|
|
1260
|
+
* This API is used to upgrade classic CLB instances to application CLB instances.
|
|
1261
|
+
This is an async API. After it is returned successfully, you can check the action result by calling `DescribeLoadBalancers`.
|
|
1262
|
+
* @param {MigrateClassicalLoadBalancersRequest} req
|
|
1263
|
+
* @param {function(string, MigrateClassicalLoadBalancersResponse):void} cb
|
|
1183
1264
|
* @public
|
|
1184
1265
|
*/
|
|
1185
|
-
|
|
1186
|
-
let resp = new
|
|
1187
|
-
this.request("
|
|
1266
|
+
MigrateClassicalLoadBalancers(req, cb) {
|
|
1267
|
+
let resp = new MigrateClassicalLoadBalancersResponse();
|
|
1268
|
+
this.request("MigrateClassicalLoadBalancers", req, resp, cb);
|
|
1188
1269
|
}
|
|
1189
1270
|
|
|
1190
1271
|
/**
|
|
1191
|
-
* This API (
|
|
1192
|
-
* @param {
|
|
1193
|
-
* @param {function(string,
|
|
1272
|
+
* This API (DescribeClassicalLBHealthStatus) is used to get the real server health status of a classic CLB
|
|
1273
|
+
* @param {DescribeClassicalLBHealthStatusRequest} req
|
|
1274
|
+
* @param {function(string, DescribeClassicalLBHealthStatusResponse):void} cb
|
|
1194
1275
|
* @public
|
|
1195
1276
|
*/
|
|
1196
|
-
|
|
1197
|
-
let resp = new
|
|
1198
|
-
this.request("
|
|
1277
|
+
DescribeClassicalLBHealthStatus(req, cb) {
|
|
1278
|
+
let resp = new DescribeClassicalLBHealthStatusResponse();
|
|
1279
|
+
this.request("DescribeClassicalLBHealthStatus", req, resp, cb);
|
|
1199
1280
|
}
|
|
1200
1281
|
|
|
1201
1282
|
/**
|
|
1202
|
-
* This API is used to
|
|
1203
|
-
|
|
1204
|
-
* @param {
|
|
1283
|
+
* This API is used to add SnatIp for SnatPro Cloud Load Balancer. If SnatPro is not enabled, it will be auto on after adding SnatIp.
|
|
1284
|
+
This API is used to perform asynchronous operations. After returning a successful result, call the [DescribeTaskStatus](https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
1285
|
+
* @param {CreateLoadBalancerSnatIpsRequest} req
|
|
1286
|
+
* @param {function(string, CreateLoadBalancerSnatIpsResponse):void} cb
|
|
1205
1287
|
* @public
|
|
1206
1288
|
*/
|
|
1207
|
-
|
|
1208
|
-
let resp = new
|
|
1209
|
-
this.request("
|
|
1289
|
+
CreateLoadBalancerSnatIps(req, cb) {
|
|
1290
|
+
let resp = new CreateLoadBalancerSnatIpsResponse();
|
|
1291
|
+
this.request("CreateLoadBalancerSnatIps", req, resp, cb);
|
|
1210
1292
|
}
|
|
1211
1293
|
|
|
1212
1294
|
/**
|
|
1213
|
-
* This API
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
* @param {CreateLoadBalancerRequest} req
|
|
1217
|
-
* @param {function(string, CreateLoadBalancerResponse):void} cb
|
|
1295
|
+
* This API is used to get the information of servers bound to a target group.
|
|
1296
|
+
* @param {DescribeTargetGroupInstancesRequest} req
|
|
1297
|
+
* @param {function(string, DescribeTargetGroupInstancesResponse):void} cb
|
|
1218
1298
|
* @public
|
|
1219
1299
|
*/
|
|
1220
|
-
|
|
1221
|
-
let resp = new
|
|
1222
|
-
this.request("
|
|
1300
|
+
DescribeTargetGroupInstances(req, cb) {
|
|
1301
|
+
let resp = new DescribeTargetGroupInstancesResponse();
|
|
1302
|
+
this.request("DescribeTargetGroupInstances", req, resp, cb);
|
|
1223
1303
|
}
|
|
1224
1304
|
|
|
1225
1305
|
/**
|
|
1226
|
-
*
|
|
1227
|
-
|
|
1228
|
-
|
|
1306
|
+
* This API is used to clone a load balancing instance with identical rules and binding relationships based on the designated Cloud Load Balancer. The cloning process is an asynchronous operation. The cloned data is based on the status when calling CloneLoadBalancer. If the source CLB changes after calling CloneLoadBalancer, the change rules will not be cloned.
|
|
1307
|
+
|
|
1308
|
+
Note: The instance creation status can be queried based on the returned requestId by accessing the DescribeTaskStatus API (https://www.tencentcloud.comom/document/product/214/30683?from_cn_redirect=1).
|
|
1309
|
+
|
|
1310
|
+
This API is used to describe restriction descriptions.
|
|
1311
|
+
This API is used to set instance attribute restrictions.
|
|
1312
|
+
-The cloning feature supports both pay-as-you-go and monthly subscription instances. For cloned monthly subscription instances, the new instance's network billing mode switches to billing by hourly bandwidth, with its bandwidth and specifications remaining consistent with the settings of the original instance.
|
|
1313
|
+
-CLB instances not associated with billable items cannot be cloned (historic free activity creation).
|
|
1314
|
+
-Classic CLB instances and Anti-DDoS CLBs cannot be cloned.
|
|
1315
|
+
-Cloning of classic network-based instances is not supported.
|
|
1316
|
+
-Anycast instances cannot be cloned.
|
|
1317
|
+
-IPv6 NAT64 edition instances cannot be cloned.
|
|
1318
|
+
-Blocked or frozen instances cannot be cloned.
|
|
1319
|
+
-Before performing the cloning operation, make sure that all certificates used on the instance have not expired, otherwise cloning will fail.
|
|
1320
|
+
This API is used to set quota dimension restrictions.
|
|
1321
|
+
-Cloning is not supported when the number of instance listeners exceeds 50.
|
|
1322
|
+
-Cloning is not supported when the public network bandwidth cap of a shared instance exceeds 2G.
|
|
1323
|
+
|
|
1324
|
+
This API is used to call APIs.
|
|
1325
|
+
This API is used to specify the BGP bandwidth package ID.
|
|
1326
|
+
This API is used to perform exclusive cluster cloning with corresponding parameters, otherwise shared instance creation will be used.
|
|
1327
|
+
* @param {CloneLoadBalancerRequest} req
|
|
1328
|
+
* @param {function(string, CloneLoadBalancerResponse):void} cb
|
|
1229
1329
|
* @public
|
|
1230
1330
|
*/
|
|
1231
|
-
|
|
1232
|
-
let resp = new
|
|
1233
|
-
this.request("
|
|
1331
|
+
CloneLoadBalancer(req, cb) {
|
|
1332
|
+
let resp = new CloneLoadBalancerResponse();
|
|
1333
|
+
this.request("CloneLoadBalancer", req, resp, cb);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* This API is used to modify the tags of real servers bound to CLB listeners in batches. The maximum number of resources that can be modified in a batch is 500. This is a synchronous API. <br/> It is supported for Layer-4 and Layer-7 listeners of CLB instances, but not for classic CLB instances.
|
|
1338
|
+
* @param {BatchModifyTargetTagRequest} req
|
|
1339
|
+
* @param {function(string, BatchModifyTargetTagResponse):void} cb
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
BatchModifyTargetTag(req, cb) {
|
|
1343
|
+
let resp = new BatchModifyTargetTagResponse();
|
|
1344
|
+
this.request("BatchModifyTargetTag", req, resp, cb);
|
|
1234
1345
|
}
|
|
1235
1346
|
|
|
1236
1347
|
|