tencentcloud-sdk-nodejs-intl-en 3.0.1445 → 3.0.1447
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/alb/index.js +3 -0
- package/tencentcloud/alb/v20251030/alb_client.js +730 -0
- package/tencentcloud/alb/v20251030/index.js +4 -0
- package/tencentcloud/alb/v20251030/models.js +8602 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/models.js +56 -21
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/rce/v20260130/models.js +1 -1
- package/tencentcloud/rce/v20260130/rce_client.js +1 -1
|
@@ -0,0 +1,730 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const NotifyUnbindTargetRequest = models.NotifyUnbindTargetRequest;
|
|
20
|
+
const DescribeQuotaRequest = models.DescribeQuotaRequest;
|
|
21
|
+
const InquirePriceCreateLoadBalancerRequest = models.InquirePriceCreateLoadBalancerRequest;
|
|
22
|
+
const DeleteRulesRequest = models.DeleteRulesRequest;
|
|
23
|
+
const SetLoadBalancerSecurityGroupsResponse = models.SetLoadBalancerSecurityGroupsResponse;
|
|
24
|
+
const ZoneMappingsItem = models.ZoneMappingsItem;
|
|
25
|
+
const LoadBalancerDetail = models.LoadBalancerDetail;
|
|
26
|
+
const CreateLoadBalancerRequest = models.CreateLoadBalancerRequest;
|
|
27
|
+
const ModifyLoadBalancerAttributesRequest = models.ModifyLoadBalancerAttributesRequest;
|
|
28
|
+
const DisassociateBandwidthPackageFromLoadBalancerRequest = models.DisassociateBandwidthPackageFromLoadBalancerRequest;
|
|
29
|
+
const CreateHealthCheckTemplateRequest = models.CreateHealthCheckTemplateRequest;
|
|
30
|
+
const DescribeListenerHealthStatusRequest = models.DescribeListenerHealthStatusRequest;
|
|
31
|
+
const HTTPHeaderInfo = models.HTTPHeaderInfo;
|
|
32
|
+
const DeleteHealthCheckTemplatesRequest = models.DeleteHealthCheckTemplatesRequest;
|
|
33
|
+
const ModifyLoadBalancerAttributesResponse = models.ModifyLoadBalancerAttributesResponse;
|
|
34
|
+
const LoadBalancerAddress = models.LoadBalancerAddress;
|
|
35
|
+
const NotifyUnbindTargetResponse = models.NotifyUnbindTargetResponse;
|
|
36
|
+
const TargetOutput = models.TargetOutput;
|
|
37
|
+
const CreateHealthCheckTemplateResponse = models.CreateHealthCheckTemplateResponse;
|
|
38
|
+
const ModifyHealthCheckTemplateRequest = models.ModifyHealthCheckTemplateRequest;
|
|
39
|
+
const AssociateListenerAdditionalCertificatesRequest = models.AssociateListenerAdditionalCertificatesRequest;
|
|
40
|
+
const IPAddressInfo = models.IPAddressInfo;
|
|
41
|
+
const DescribeListenerDetailResponse = models.DescribeListenerDetailResponse;
|
|
42
|
+
const RuleAction = models.RuleAction;
|
|
43
|
+
const DescribeRulesResponse = models.DescribeRulesResponse;
|
|
44
|
+
const DescribeTargetGroupsResponse = models.DescribeTargetGroupsResponse;
|
|
45
|
+
const RemoveTargetsFromTargetGroupRequest = models.RemoveTargetsFromTargetGroupRequest;
|
|
46
|
+
const DescribeListenerDetailRequest = models.DescribeListenerDetailRequest;
|
|
47
|
+
const AddTargetsToTargetGroupRequest = models.AddTargetsToTargetGroupRequest;
|
|
48
|
+
const ModifyListenerAttributesResponse = models.ModifyListenerAttributesResponse;
|
|
49
|
+
const AccessLogConfig = models.AccessLogConfig;
|
|
50
|
+
const ModifyRulesAttributesResponse = models.ModifyRulesAttributesResponse;
|
|
51
|
+
const HTTPRewriteInfo = models.HTTPRewriteInfo;
|
|
52
|
+
const AssociateBandwidthPackageWithLoadBalancerResponse = models.AssociateBandwidthPackageWithLoadBalancerResponse;
|
|
53
|
+
const DescribeListenersResponse = models.DescribeListenersResponse;
|
|
54
|
+
const AssociateBandwidthPackageWithLoadBalancerRequest = models.AssociateBandwidthPackageWithLoadBalancerRequest;
|
|
55
|
+
const XForwardedForConfig = models.XForwardedForConfig;
|
|
56
|
+
const DescribeTargetGroupsRequest = models.DescribeTargetGroupsRequest;
|
|
57
|
+
const QuotaInfo = models.QuotaInfo;
|
|
58
|
+
const DeleteLoadBalancersResponse = models.DeleteLoadBalancersResponse;
|
|
59
|
+
const DescribeRulesRequest = models.DescribeRulesRequest;
|
|
60
|
+
const HTTPCookieInfo = models.HTTPCookieInfo;
|
|
61
|
+
const ModifySecurityPolicyAttributesRequest = models.ModifySecurityPolicyAttributesRequest;
|
|
62
|
+
const DescribeSecurityPolicyRelationsResponse = models.DescribeSecurityPolicyRelationsResponse;
|
|
63
|
+
const DescribeSecurityPoliciesResponse = models.DescribeSecurityPoliciesResponse;
|
|
64
|
+
const HTTPRedirectInfo = models.HTTPRedirectInfo;
|
|
65
|
+
const DescribeZonesRequest = models.DescribeZonesRequest;
|
|
66
|
+
const Job = models.Job;
|
|
67
|
+
const RelatedListener = models.RelatedListener;
|
|
68
|
+
const DescribeListenerCertificatesRequest = models.DescribeListenerCertificatesRequest;
|
|
69
|
+
const ModifyLoadBalancerAddressTypeRequest = models.ModifyLoadBalancerAddressTypeRequest;
|
|
70
|
+
const CreateRulesResponse = models.CreateRulesResponse;
|
|
71
|
+
const CreateSecurityPolicyResponse = models.CreateSecurityPolicyResponse;
|
|
72
|
+
const DeleteListenerRequest = models.DeleteListenerRequest;
|
|
73
|
+
const ModifyTargetGroupAttributesResponse = models.ModifyTargetGroupAttributesResponse;
|
|
74
|
+
const RuleModify = models.RuleModify;
|
|
75
|
+
const StickySessionConfig = models.StickySessionConfig;
|
|
76
|
+
const AssociateListenerAdditionalCertificatesResponse = models.AssociateListenerAdditionalCertificatesResponse;
|
|
77
|
+
const ListenerOutput = models.ListenerOutput;
|
|
78
|
+
const PostPayPriceInfo = models.PostPayPriceInfo;
|
|
79
|
+
const CreateRulesRequest = models.CreateRulesRequest;
|
|
80
|
+
const DeleteSecurityPolicyResponse = models.DeleteSecurityPolicyResponse;
|
|
81
|
+
const TargetToAdd = models.TargetToAdd;
|
|
82
|
+
const DisassociateListenerAdditionalCertificatesResponse = models.DisassociateListenerAdditionalCertificatesResponse;
|
|
83
|
+
const DescribeSecurityPolicyCapabilitiesResponse = models.DescribeSecurityPolicyCapabilitiesResponse;
|
|
84
|
+
const RemoveHTTPHeaderInfo = models.RemoveHTTPHeaderInfo;
|
|
85
|
+
const DescribeTargetGroupTargetsRequest = models.DescribeTargetGroupTargetsRequest;
|
|
86
|
+
const DescribeListenerCertificatesResponse = models.DescribeListenerCertificatesResponse;
|
|
87
|
+
const SetLoadBalancerSecurityGroupsRequest = models.SetLoadBalancerSecurityGroupsRequest;
|
|
88
|
+
const RemoveTargetsFromTargetGroupResponse = models.RemoveTargetsFromTargetGroupResponse;
|
|
89
|
+
const AddTargetsToTargetGroupResponse = models.AddTargetsToTargetGroupResponse;
|
|
90
|
+
const DescribeAsyncJobsRequest = models.DescribeAsyncJobsRequest;
|
|
91
|
+
const CreateListenerResponse = models.CreateListenerResponse;
|
|
92
|
+
const CreateTargetGroupResponse = models.CreateTargetGroupResponse;
|
|
93
|
+
const TargetGroupConfig = models.TargetGroupConfig;
|
|
94
|
+
const DescribeTargetGroupsByTargetRequest = models.DescribeTargetGroupsByTargetRequest;
|
|
95
|
+
const TargetGroupStickySession = models.TargetGroupStickySession;
|
|
96
|
+
const DeleteLoadBalancersRequest = models.DeleteLoadBalancersRequest;
|
|
97
|
+
const RuleCondition = models.RuleCondition;
|
|
98
|
+
const Zone = models.Zone;
|
|
99
|
+
const RuleOutput = models.RuleOutput;
|
|
100
|
+
const SecurityPolicyCapability = models.SecurityPolicyCapability;
|
|
101
|
+
const ModificationProtectionInfo = models.ModificationProtectionInfo;
|
|
102
|
+
const ModifyTargetsInTargetGroupResponse = models.ModifyTargetsInTargetGroupResponse;
|
|
103
|
+
const ModifySecurityPolicyAttributesResponse = models.ModifySecurityPolicyAttributesResponse;
|
|
104
|
+
const DeleteSecurityPolicyRequest = models.DeleteSecurityPolicyRequest;
|
|
105
|
+
const RuleHealthStatusInfo = models.RuleHealthStatusInfo;
|
|
106
|
+
const ModifyLoadBalancerAddressTypeResponse = models.ModifyLoadBalancerAddressTypeResponse;
|
|
107
|
+
const CertificateInfo = models.CertificateInfo;
|
|
108
|
+
const DescribeHealthCheckTemplatesResponse = models.DescribeHealthCheckTemplatesResponse;
|
|
109
|
+
const DescribeTargetGroupsByTargetResponse = models.DescribeTargetGroupsByTargetResponse;
|
|
110
|
+
const CreateTargetGroupRequest = models.CreateTargetGroupRequest;
|
|
111
|
+
const TargetHealthStatusInfo = models.TargetHealthStatusInfo;
|
|
112
|
+
const CreateListenerRequest = models.CreateListenerRequest;
|
|
113
|
+
const ModifyLoadBalancerModificationProtectionResponse = models.ModifyLoadBalancerModificationProtectionResponse;
|
|
114
|
+
const RuleInput = models.RuleInput;
|
|
115
|
+
const DefaultAction = models.DefaultAction;
|
|
116
|
+
const TargetGroupHealthInfo = models.TargetGroupHealthInfo;
|
|
117
|
+
const SecurityPolicyRelations = models.SecurityPolicyRelations;
|
|
118
|
+
const DescribeSecurityPolicyRelationsRequest = models.DescribeSecurityPolicyRelationsRequest;
|
|
119
|
+
const LoadBalancerOperationLocksItem = models.LoadBalancerOperationLocksItem;
|
|
120
|
+
const DescribeLoadBalancersRequest = models.DescribeLoadBalancersRequest;
|
|
121
|
+
const ModifyTargetsInTargetGroupRequest = models.ModifyTargetsInTargetGroupRequest;
|
|
122
|
+
const DescribeSecurityPolicyCapabilitiesRequest = models.DescribeSecurityPolicyCapabilitiesRequest;
|
|
123
|
+
const HealthCheckConfig = models.HealthCheckConfig;
|
|
124
|
+
const ModifyTargetGroupAttributesRequest = models.ModifyTargetGroupAttributesRequest;
|
|
125
|
+
const HealthCheckTemplate = models.HealthCheckTemplate;
|
|
126
|
+
const DescribeZonesResponse = models.DescribeZonesResponse;
|
|
127
|
+
const CreateSecurityPolicyRequest = models.CreateSecurityPolicyRequest;
|
|
128
|
+
const TargetGroupOutput = models.TargetGroupOutput;
|
|
129
|
+
const InquirePriceCreateLoadBalancerResponse = models.InquirePriceCreateLoadBalancerResponse;
|
|
130
|
+
const DescribeListenerHealthStatusResponse = models.DescribeListenerHealthStatusResponse;
|
|
131
|
+
const SecurityPolicyInfo = models.SecurityPolicyInfo;
|
|
132
|
+
const ModifyRulesAttributesRequest = models.ModifyRulesAttributesRequest;
|
|
133
|
+
const DeletionProtectionConfig = models.DeletionProtectionConfig;
|
|
134
|
+
const DisassociateListenerAdditionalCertificatesRequest = models.DisassociateListenerAdditionalCertificatesRequest;
|
|
135
|
+
const DescribeLoadBalancerDetailRequest = models.DescribeLoadBalancerDetailRequest;
|
|
136
|
+
const InsertHTTPHeaderInfo = models.InsertHTTPHeaderInfo;
|
|
137
|
+
const DescribeHealthCheckTemplatesRequest = models.DescribeHealthCheckTemplatesRequest;
|
|
138
|
+
const DescribeSystemSecurityPoliciesResponse = models.DescribeSystemSecurityPoliciesResponse;
|
|
139
|
+
const HTTPQueryStringInfo = models.HTTPQueryStringInfo;
|
|
140
|
+
const ModifyHealthCheckTemplateResponse = models.ModifyHealthCheckTemplateResponse;
|
|
141
|
+
const DeleteRulesResponse = models.DeleteRulesResponse;
|
|
142
|
+
const DescribeQuotaResponse = models.DescribeQuotaResponse;
|
|
143
|
+
const DeleteTargetGroupsResponse = models.DeleteTargetGroupsResponse;
|
|
144
|
+
const Price = models.Price;
|
|
145
|
+
const ModifyListenerAttributesRequest = models.ModifyListenerAttributesRequest;
|
|
146
|
+
const TargetToRemove = models.TargetToRemove;
|
|
147
|
+
const LoadBalancerBillingConfig = models.LoadBalancerBillingConfig;
|
|
148
|
+
const TagInfo = models.TagInfo;
|
|
149
|
+
const TargetGroupTuple = models.TargetGroupTuple;
|
|
150
|
+
const CreateLoadBalancerResponse = models.CreateLoadBalancerResponse;
|
|
151
|
+
const TargetToModify = models.TargetToModify;
|
|
152
|
+
const DescribeListenersRequest = models.DescribeListenersRequest;
|
|
153
|
+
const ModifyLoadBalancerModificationProtectionRequest = models.ModifyLoadBalancerModificationProtectionRequest;
|
|
154
|
+
const DisassociateBandwidthPackageFromLoadBalancerResponse = models.DisassociateBandwidthPackageFromLoadBalancerResponse;
|
|
155
|
+
const DescribeLoadBalancerDetailResponse = models.DescribeLoadBalancerDetailResponse;
|
|
156
|
+
const FixedResponseInfo = models.FixedResponseInfo;
|
|
157
|
+
const DescribeLoadBalancersResponse = models.DescribeLoadBalancersResponse;
|
|
158
|
+
const Filter = models.Filter;
|
|
159
|
+
const ZoneMappingInfo = models.ZoneMappingInfo;
|
|
160
|
+
const DeleteListenerResponse = models.DeleteListenerResponse;
|
|
161
|
+
const DescribeSystemSecurityPoliciesRequest = models.DescribeSystemSecurityPoliciesRequest;
|
|
162
|
+
const DeleteTargetGroupsRequest = models.DeleteTargetGroupsRequest;
|
|
163
|
+
const DescribeAsyncJobsResponse = models.DescribeAsyncJobsResponse;
|
|
164
|
+
const DescribeTargetGroupTargetsResponse = models.DescribeTargetGroupTargetsResponse;
|
|
165
|
+
const DescribeSecurityPoliciesRequest = models.DescribeSecurityPoliciesRequest;
|
|
166
|
+
const DeleteHealthCheckTemplatesResponse = models.DeleteHealthCheckTemplatesResponse;
|
|
167
|
+
const LoadBalancer = models.LoadBalancer;
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* alb client
|
|
172
|
+
* @class
|
|
173
|
+
*/
|
|
174
|
+
class AlbClient extends AbstractClient {
|
|
175
|
+
|
|
176
|
+
constructor(credential, region, profile) {
|
|
177
|
+
super("alb.intl.tencentcloudapi.com", "2025-10-30", credential, region, profile);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Add a backend service in the target group.
|
|
182
|
+
* @param {AddTargetsToTargetGroupRequest} req
|
|
183
|
+
* @param {function(string, AddTargetsToTargetGroupResponse):void} cb
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
AddTargetsToTargetGroup(req, cb) {
|
|
187
|
+
let resp = new AddTargetsToTargetGroupResponse();
|
|
188
|
+
this.request("AddTargetsToTargetGroup", req, resp, cb);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* The SetLoadBalancerSecurityGroups API supports setting (binding and unbinding) security groups for a public network load balancing instance. To query the security groups currently bound to a load balancing instance, use the DescribeLoadBalancerDetail API (https://www.tencentcloud.com/document/api/1822/133711?from_cn_redirect=1). This API uses SET semantics.
|
|
193
|
+
For the binding operation, input parameters need to be passed in for all security groups that should be bound to the load balancing instance (bound + new binding).
|
|
194
|
+
During unbinding, input parameters need to pass in all security groups bound to a CLB instance after unbinding. To unbind all security groups, omit this parameter or specify an empty array.
|
|
195
|
+
* @param {SetLoadBalancerSecurityGroupsRequest} req
|
|
196
|
+
* @param {function(string, SetLoadBalancerSecurityGroupsResponse):void} cb
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
SetLoadBalancerSecurityGroups(req, cb) {
|
|
200
|
+
let resp = new SetLoadBalancerSecurityGroupsResponse();
|
|
201
|
+
this.request("SetLoadBalancerSecurityGroups", req, resp, cb);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Create a custom security policy for configuring the TLS protocol version and encryption suite of an HTTPS listener. With a security policy, you can flexibly control the security level of HTTPS communication between clients and load balancing.
|
|
206
|
+
* @param {CreateSecurityPolicyRequest} req
|
|
207
|
+
* @param {function(string, CreateSecurityPolicyResponse):void} cb
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
CreateSecurityPolicy(req, cb) {
|
|
211
|
+
let resp = new CreateSecurityPolicyResponse();
|
|
212
|
+
this.request("CreateSecurityPolicy", req, resp, cb);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Delete one or more custom security policies. Before deletion, please ensure the policy hasn't been referenced by any HTTPS listener, otherwise the deletion will fail.
|
|
217
|
+
* @param {DeleteSecurityPolicyRequest} req
|
|
218
|
+
* @param {function(string, DeleteSecurityPolicyResponse):void} cb
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
DeleteSecurityPolicy(req, cb) {
|
|
222
|
+
let resp = new DeleteSecurityPolicyResponse();
|
|
223
|
+
this.request("DeleteSecurityPolicy", req, resp, cb);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Notify load balancing to unbind real servers
|
|
228
|
+
* @param {NotifyUnbindTargetRequest} req
|
|
229
|
+
* @param {function(string, NotifyUnbindTargetResponse):void} cb
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
NotifyUnbindTarget(req, cb) {
|
|
233
|
+
let resp = new NotifyUnbindTargetResponse();
|
|
234
|
+
this.request("NotifyUnbindTarget", req, resp, cb);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Delete a listener
|
|
239
|
+
* @param {DeleteListenerRequest} req
|
|
240
|
+
* @param {function(string, DeleteListenerResponse):void} cb
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
DeleteListener(req, cb) {
|
|
244
|
+
let resp = new DeleteListenerResponse();
|
|
245
|
+
this.request("DeleteListener", req, resp, cb);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The **DeleteLoadBalancers** API is an async API. The system returns a request ID, but the application CLB instance is not yet deleted successfully. The deletion task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/api/1822/133711) to query the deletion status of the application CLB instance.
|
|
250
|
+
- When an application CLB instance is in the **Deleting** status, it means the application CLB instance is being deleted.
|
|
251
|
+
-If the specified application CLB instance cannot be queried, the application CLB instance has been deleted successfully.
|
|
252
|
+
* @param {DeleteLoadBalancersRequest} req
|
|
253
|
+
* @param {function(string, DeleteLoadBalancersResponse):void} cb
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
DeleteLoadBalancers(req, cb) {
|
|
257
|
+
let resp = new DeleteLoadBalancersResponse();
|
|
258
|
+
this.request("DeleteLoadBalancers", req, resp, cb);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Modifies listener properties.
|
|
263
|
+
* @param {ModifyListenerAttributesRequest} req
|
|
264
|
+
* @param {function(string, ModifyListenerAttributesResponse):void} cb
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
ModifyListenerAttributes(req, cb) {
|
|
268
|
+
let resp = new ModifyListenerAttributesResponse();
|
|
269
|
+
this.request("ModifyListenerAttributes", req, resp, cb);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Queries system security policies.
|
|
274
|
+
* @param {DescribeSystemSecurityPoliciesRequest} req
|
|
275
|
+
* @param {function(string, DescribeSystemSecurityPoliciesResponse):void} cb
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
DescribeSystemSecurityPolicies(req, cb) {
|
|
279
|
+
let resp = new DescribeSystemSecurityPoliciesResponse();
|
|
280
|
+
this.request("DescribeSystemSecurityPolicies", req, resp, cb);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Modify the target group.
|
|
285
|
+
* @param {ModifyTargetGroupAttributesRequest} req
|
|
286
|
+
* @param {function(string, ModifyTargetGroupAttributesResponse):void} cb
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
ModifyTargetGroupAttributes(req, cb) {
|
|
290
|
+
let resp = new ModifyTargetGroupAttributesResponse();
|
|
291
|
+
this.request("ModifyTargetGroupAttributes", req, resp, cb);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* The **ModifyLoadBalancerAttributes** API is an async API. It returns a request ID, but the application CLB instance attribute has not been modified yet. The modifying task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/api/1822/133711) to query the modification status of the application CLB instance attribute.
|
|
296
|
+
-When the application CLB instance attribute is in the **Configuring** status, it means the application CLB instance attribute is being modified.
|
|
297
|
+
- When the application CLB instance attribute is in the **Active** status, it means the application CLB instance attribute was modified successfully.
|
|
298
|
+
* @param {ModifyLoadBalancerAttributesRequest} req
|
|
299
|
+
* @param {function(string, ModifyLoadBalancerAttributesResponse):void} cb
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
ModifyLoadBalancerAttributes(req, cb) {
|
|
303
|
+
let resp = new ModifyLoadBalancerAttributesResponse();
|
|
304
|
+
this.request("ModifyLoadBalancerAttributes", req, resp, cb);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* This API is used to modify forwarding rule attributes. This is an async API. After the API return succeeds, you can call the DescribeAsyncJobs API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
309
|
+
A rule supports up to 10 forward Conditions and 5 forward Actions.
|
|
310
|
+
* @param {ModifyRulesAttributesRequest} req
|
|
311
|
+
* @param {function(string, ModifyRulesAttributesResponse):void} cb
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
ModifyRulesAttributes(req, cb) {
|
|
315
|
+
let resp = new ModifyRulesAttributesResponse();
|
|
316
|
+
this.request("ModifyRulesAttributes", req, resp, cb);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Delete a target group.
|
|
321
|
+
* @param {DeleteTargetGroupsRequest} req
|
|
322
|
+
* @param {function(string, DeleteTargetGroupsResponse):void} cb
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
DeleteTargetGroups(req, cb) {
|
|
326
|
+
let resp = new DeleteTargetGroupsResponse();
|
|
327
|
+
this.request("DeleteTargetGroups", req, resp, cb);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* This API is used to create forwarding rules. It is an async API. After returning successfully, call the DescribeAsyncJobs API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
332
|
+
A rule supports up to 10 forward Conditions and 5 forward Actions.
|
|
333
|
+
* @param {CreateRulesRequest} req
|
|
334
|
+
* @param {function(string, CreateRulesResponse):void} cb
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
CreateRules(req, cb) {
|
|
338
|
+
let resp = new CreateRulesResponse();
|
|
339
|
+
this.request("CreateRules", req, resp, cb);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Query API for async tasks
|
|
344
|
+
* @param {DescribeAsyncJobsRequest} req
|
|
345
|
+
* @param {function(string, DescribeAsyncJobsResponse):void} cb
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
DescribeAsyncJobs(req, cb) {
|
|
349
|
+
let resp = new DescribeAsyncJobsResponse();
|
|
350
|
+
this.request("DescribeAsyncJobs", req, resp, cb);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* This API is used to query the health check template list.
|
|
355
|
+
* @param {DescribeHealthCheckTemplatesRequest} req
|
|
356
|
+
* @param {function(string, DescribeHealthCheckTemplatesResponse):void} cb
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
DescribeHealthCheckTemplates(req, cb) {
|
|
360
|
+
let resp = new DescribeHealthCheckTemplatesResponse();
|
|
361
|
+
this.request("DescribeHealthCheckTemplates", req, resp, cb);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Unbind a Bandwidth Package from an application CLB instance.
|
|
366
|
+
* @param {DisassociateBandwidthPackageFromLoadBalancerRequest} req
|
|
367
|
+
* @param {function(string, DisassociateBandwidthPackageFromLoadBalancerResponse):void} cb
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
DisassociateBandwidthPackageFromLoadBalancer(req, cb) {
|
|
371
|
+
let resp = new DisassociateBandwidthPackageFromLoadBalancerResponse();
|
|
372
|
+
this.request("DisassociateBandwidthPackageFromLoadBalancer", req, resp, cb);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Removes a backend service from the target group
|
|
377
|
+
* @param {RemoveTargetsFromTargetGroupRequest} req
|
|
378
|
+
* @param {function(string, RemoveTargetsFromTargetGroupResponse):void} cb
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
RemoveTargetsFromTargetGroup(req, cb) {
|
|
382
|
+
let resp = new RemoveTargetsFromTargetGroupResponse();
|
|
383
|
+
this.request("RemoveTargetsFromTargetGroup", req, resp, cb);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Queries backend services in the target group.
|
|
388
|
+
* @param {DescribeTargetGroupTargetsRequest} req
|
|
389
|
+
* @param {function(string, DescribeTargetGroupTargetsResponse):void} cb
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
DescribeTargetGroupTargets(req, cb) {
|
|
393
|
+
let resp = new DescribeTargetGroupTargetsResponse();
|
|
394
|
+
this.request("DescribeTargetGroupTargets", req, resp, cb);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Query instance configuration.
|
|
399
|
+
* @param {DescribeLoadBalancersRequest} req
|
|
400
|
+
* @param {function(string, DescribeLoadBalancersResponse):void} cb
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
DescribeLoadBalancers(req, cb) {
|
|
404
|
+
let resp = new DescribeLoadBalancersResponse();
|
|
405
|
+
this.request("DescribeLoadBalancers", req, resp, cb);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Queries the listener list
|
|
410
|
+
* @param {DescribeListenersRequest} req
|
|
411
|
+
* @param {function(string, DescribeListenersResponse):void} cb
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
DescribeListeners(req, cb) {
|
|
415
|
+
let resp = new DescribeListenersResponse();
|
|
416
|
+
this.request("DescribeListeners", req, resp, cb);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Query the relationship between a security policy and the HTTPS listeners that refer to it. Before deleting or modifying a security policy, it is advisable to call this API to confirm the impact.
|
|
421
|
+
* @param {DescribeSecurityPolicyRelationsRequest} req
|
|
422
|
+
* @param {function(string, DescribeSecurityPolicyRelationsResponse):void} cb
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
DescribeSecurityPolicyRelations(req, cb) {
|
|
426
|
+
let resp = new DescribeSecurityPolicyRelationsResponse();
|
|
427
|
+
this.request("DescribeSecurityPolicyRelations", req, resp, cb);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* This API is used to create a listener.
|
|
432
|
+
* @param {CreateListenerRequest} req
|
|
433
|
+
* @param {function(string, CreateListenerResponse):void} cb
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
CreateListener(req, cb) {
|
|
437
|
+
let resp = new CreateListenerResponse();
|
|
438
|
+
this.request("CreateListener", req, resp, cb);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Set load balancing instance modification protection.
|
|
443
|
+
* @param {ModifyLoadBalancerModificationProtectionRequest} req
|
|
444
|
+
* @param {function(string, ModifyLoadBalancerModificationProtectionResponse):void} cb
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
ModifyLoadBalancerModificationProtection(req, cb) {
|
|
448
|
+
let resp = new ModifyLoadBalancerModificationProtectionResponse();
|
|
449
|
+
this.request("ModifyLoadBalancerModificationProtection", req, resp, cb);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* DeleteRules deletes forwarding rules. This is an async API. After returning successfully, call the DescribeAsyncJobs API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
454
|
+
* @param {DeleteRulesRequest} req
|
|
455
|
+
* @param {function(string, DeleteRulesResponse):void} cb
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
DeleteRules(req, cb) {
|
|
459
|
+
let resp = new DeleteRulesResponse();
|
|
460
|
+
this.request("DeleteRules", req, resp, cb);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Queries the custom security policy list, supports filtering by security policy ID, name, or tag, and supports paging query.
|
|
465
|
+
* @param {DescribeSecurityPoliciesRequest} req
|
|
466
|
+
* @param {function(string, DescribeSecurityPoliciesResponse):void} cb
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
DescribeSecurityPolicies(req, cb) {
|
|
470
|
+
let resp = new DescribeSecurityPoliciesResponse();
|
|
471
|
+
this.request("DescribeSecurityPolicies", req, resp, cb);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Queries details of one listener.
|
|
476
|
+
* @param {DescribeListenerDetailRequest} req
|
|
477
|
+
* @param {function(string, DescribeListenerDetailResponse):void} cb
|
|
478
|
+
* @public
|
|
479
|
+
*/
|
|
480
|
+
DescribeListenerDetail(req, cb) {
|
|
481
|
+
let resp = new DescribeListenerDetailResponse();
|
|
482
|
+
this.request("DescribeListenerDetail", req, resp, cb);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Queries detailed information of a specified load balancing instance.
|
|
487
|
+
* @param {DescribeLoadBalancerDetailRequest} req
|
|
488
|
+
* @param {function(string, DescribeLoadBalancerDetailResponse):void} cb
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
DescribeLoadBalancerDetail(req, cb) {
|
|
492
|
+
let resp = new DescribeLoadBalancerDetailResponse();
|
|
493
|
+
this.request("DescribeLoadBalancerDetail", req, resp, cb);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* This API is used to query the price for creating a load balancer.
|
|
498
|
+
* @param {InquirePriceCreateLoadBalancerRequest} req
|
|
499
|
+
* @param {function(string, InquirePriceCreateLoadBalancerResponse):void} cb
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
InquirePriceCreateLoadBalancer(req, cb) {
|
|
503
|
+
let resp = new InquirePriceCreateLoadBalancerResponse();
|
|
504
|
+
this.request("InquirePriceCreateLoadBalancer", req, resp, cb);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Queries the health status of a listener.
|
|
509
|
+
* @param {DescribeListenerHealthStatusRequest} req
|
|
510
|
+
* @param {function(string, DescribeListenerHealthStatusResponse):void} cb
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
DescribeListenerHealthStatus(req, cb) {
|
|
514
|
+
let resp = new DescribeListenerHealthStatusResponse();
|
|
515
|
+
this.request("DescribeListenerHealthStatus", req, resp, cb);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Query the security policy configuration capacity supported in the current region, including optional TLS protocol versions and the encryption suite list for each version. Before creating or modifying a custom security policy, call this API to get available configuration options.
|
|
520
|
+
* @param {DescribeSecurityPolicyCapabilitiesRequest} req
|
|
521
|
+
* @param {function(string, DescribeSecurityPolicyCapabilitiesResponse):void} cb
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
DescribeSecurityPolicyCapabilities(req, cb) {
|
|
525
|
+
let resp = new DescribeSecurityPolicyCapabilitiesResponse();
|
|
526
|
+
this.request("DescribeSecurityPolicyCapabilities", req, resp, cb);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Target Group APIs
|
|
531
|
+
* @param {CreateTargetGroupRequest} req
|
|
532
|
+
* @param {function(string, CreateTargetGroupResponse):void} cb
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
CreateTargetGroup(req, cb) {
|
|
536
|
+
let resp = new CreateTargetGroupResponse();
|
|
537
|
+
this.request("CreateTargetGroup", req, resp, cb);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Modify a health check template
|
|
542
|
+
* @param {ModifyHealthCheckTemplateRequest} req
|
|
543
|
+
* @param {function(string, ModifyHealthCheckTemplateResponse):void} cb
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
ModifyHealthCheckTemplate(req, cb) {
|
|
547
|
+
let resp = new ModifyHealthCheckTemplateResponse();
|
|
548
|
+
this.request("ModifyHealthCheckTemplate", req, resp, cb);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Modifies backend service information in the target group.
|
|
553
|
+
* @param {ModifyTargetsInTargetGroupRequest} req
|
|
554
|
+
* @param {function(string, ModifyTargetsInTargetGroupResponse):void} cb
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
ModifyTargetsInTargetGroup(req, cb) {
|
|
558
|
+
let resp = new ModifyTargetsInTargetGroupResponse();
|
|
559
|
+
this.request("ModifyTargetsInTargetGroup", req, resp, cb);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Query the target group list.
|
|
564
|
+
* @param {DescribeTargetGroupsRequest} req
|
|
565
|
+
* @param {function(string, DescribeTargetGroupsResponse):void} cb
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
DescribeTargetGroups(req, cb) {
|
|
569
|
+
let resp = new DescribeTargetGroupsResponse();
|
|
570
|
+
this.request("DescribeTargetGroups", req, resp, cb);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Modify the properties of a custom security policy, including the policy name, TLS protocol version, and encryption suite. The modified configuration will be applied to all HTTPS listeners associated with this policy immediately.
|
|
575
|
+
* @param {ModifySecurityPolicyAttributesRequest} req
|
|
576
|
+
* @param {function(string, ModifySecurityPolicyAttributesResponse):void} cb
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
ModifySecurityPolicyAttributes(req, cb) {
|
|
580
|
+
let resp = new ModifySecurityPolicyAttributesResponse();
|
|
581
|
+
this.request("ModifySecurityPolicyAttributes", req, resp, cb);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Bind a Bandwidth Package to an application CLB instance.
|
|
586
|
+
* @param {AssociateBandwidthPackageWithLoadBalancerRequest} req
|
|
587
|
+
* @param {function(string, AssociateBandwidthPackageWithLoadBalancerResponse):void} cb
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
AssociateBandwidthPackageWithLoadBalancer(req, cb) {
|
|
591
|
+
let resp = new AssociateBandwidthPackageWithLoadBalancerResponse();
|
|
592
|
+
this.request("AssociateBandwidthPackageWithLoadBalancer", req, resp, cb);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Querying Availability Zones
|
|
597
|
+
* @param {DescribeZonesRequest} req
|
|
598
|
+
* @param {function(string, DescribeZonesResponse):void} cb
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
DescribeZones(req, cb) {
|
|
602
|
+
let resp = new DescribeZonesResponse();
|
|
603
|
+
this.request("DescribeZones", req, resp, cb);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Query bound target groups based on the slave machine.
|
|
608
|
+
* @param {DescribeTargetGroupsByTargetRequest} req
|
|
609
|
+
* @param {function(string, DescribeTargetGroupsByTargetResponse):void} cb
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
DescribeTargetGroupsByTarget(req, cb) {
|
|
613
|
+
let resp = new DescribeTargetGroupsByTargetResponse();
|
|
614
|
+
this.request("DescribeTargetGroupsByTarget", req, resp, cb);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* This API is used to query forwarding rules.
|
|
619
|
+
* @param {DescribeRulesRequest} req
|
|
620
|
+
* @param {function(string, DescribeRulesResponse):void} cb
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
DescribeRules(req, cb) {
|
|
624
|
+
let resp = new DescribeRulesResponse();
|
|
625
|
+
this.request("DescribeRules", req, resp, cb);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Deletes a health check Template
|
|
630
|
+
* @param {DeleteHealthCheckTemplatesRequest} req
|
|
631
|
+
* @param {function(string, DeleteHealthCheckTemplatesResponse):void} cb
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
634
|
+
DeleteHealthCheckTemplates(req, cb) {
|
|
635
|
+
let resp = new DeleteHealthCheckTemplatesResponse();
|
|
636
|
+
this.request("DeleteHealthCheckTemplates", req, resp, cb);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* This API is used to create a health check Template.
|
|
641
|
+
* @param {CreateHealthCheckTemplateRequest} req
|
|
642
|
+
* @param {function(string, CreateHealthCheckTemplateResponse):void} cb
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
CreateHealthCheckTemplate(req, cb) {
|
|
646
|
+
let resp = new CreateHealthCheckTemplateResponse();
|
|
647
|
+
this.request("CreateHealthCheckTemplate", req, resp, cb);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* This API is used to query the list of certificates bound to a specified listener by instance id and listener id.
|
|
652
|
+
If `CertificateType` is set to `SVR`, the information of the extended server certificate and the default server certificate is returned.
|
|
653
|
+
If CertificateType is set to CA, the default CA certificate info is returned.
|
|
654
|
+
* @param {DescribeListenerCertificatesRequest} req
|
|
655
|
+
* @param {function(string, DescribeListenerCertificatesResponse):void} cb
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
DescribeListenerCertificates(req, cb) {
|
|
659
|
+
let resp = new DescribeListenerCertificatesResponse();
|
|
660
|
+
this.request("DescribeListenerCertificates", req, resp, cb);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Queries the ALB quota configuration of the current account. It supports querying by quota type and allows you to pass a resource ID to query resource-level quotas. You can use DisplayFields to return the used amount and remaining available quantity as needed.
|
|
665
|
+
* @param {DescribeQuotaRequest} req
|
|
666
|
+
* @param {function(string, DescribeQuotaResponse):void} cb
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
DescribeQuota(req, cb) {
|
|
670
|
+
let resp = new DescribeQuotaResponse();
|
|
671
|
+
this.request("DescribeQuota", req, resp, cb);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* DisassociateListenerAdditionalCertificates is an async API. The system returns a request ID, but the additional cert is not yet unbound. The unbinding task is still in progress in the system backend. You can call the DescribeListenerCertificates API to query the cert unbinding status. If the cert is in Disassociating status, it is being unbound.
|
|
676
|
+
* @param {DisassociateListenerAdditionalCertificatesRequest} req
|
|
677
|
+
* @param {function(string, DisassociateListenerAdditionalCertificatesResponse):void} cb
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
DisassociateListenerAdditionalCertificates(req, cb) {
|
|
681
|
+
let resp = new DisassociateListenerAdditionalCertificatesResponse();
|
|
682
|
+
this.request("DisassociateListenerAdditionalCertificates", req, resp, cb);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* **CreateLoadBalancer** is an async API. The system returns an instance ID, but the application CLB instance is not created successfully yet, and the creation task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/api/1822/133711) to query the creation status of the application CLB instance.
|
|
687
|
+
- When an application CLB instance is in the **Provisioning** status, it means the application CLB instance is being created.
|
|
688
|
+
-When an application CLB instance is in the **Active** status, the application CLB instance is successfully created.
|
|
689
|
+
* @param {CreateLoadBalancerRequest} req
|
|
690
|
+
* @param {function(string, CreateLoadBalancerResponse):void} cb
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
CreateLoadBalancer(req, cb) {
|
|
694
|
+
let resp = new CreateLoadBalancerResponse();
|
|
695
|
+
this.request("CreateLoadBalancer", req, resp, cb);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* AssociateListenerAdditionalCertificates is an async API. The system returns a request ID, but the additional cert is not yet successfully added. The add task is still in progress in the system backend. You can call the DescribeListenerCertificates API to query the add status of the additional cert.
|
|
700
|
+
When HTTPS and QUIC listeners are in Associating status, it means certificate expansion is ongoing.
|
|
701
|
+
When HTTPS and QUIC listeners are in the Associated status, the extension cert is successfully added.
|
|
702
|
+
* @param {AssociateListenerAdditionalCertificatesRequest} req
|
|
703
|
+
* @param {function(string, AssociateListenerAdditionalCertificatesResponse):void} cb
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
AssociateListenerAdditionalCertificates(req, cb) {
|
|
707
|
+
let resp = new AssociateListenerAdditionalCertificatesResponse();
|
|
708
|
+
this.request("AssociateListenerAdditionalCertificates", req, resp, cb);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* **Prerequisite:**
|
|
713
|
+
You have created an application CLB instance. For detailed operations, please see CreateLoadBalancer.
|
|
714
|
+
When you need to change the network type of an application CLB instance from private network to public network through this API, you need to create an Elastic IP first.
|
|
715
|
+
**Instructions:**
|
|
716
|
+
The ModifyLoadBalancerAddressType API is an async API. The system returns a request ID, but the network type of the application CLB instance has not been changed yet. The change task is still in progress in the system backend. You can call DescribeLoadBalancerDetail to query the change status of the network type of the application CLB instance.
|
|
717
|
+
When an application CLB instance is in the Configuring status, it means the network type of the instance is changing.
|
|
718
|
+
When an application CLB instance is in the Active status, the network type change of the instance is successful.
|
|
719
|
+
* @param {ModifyLoadBalancerAddressTypeRequest} req
|
|
720
|
+
* @param {function(string, ModifyLoadBalancerAddressTypeResponse):void} cb
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
ModifyLoadBalancerAddressType(req, cb) {
|
|
724
|
+
let resp = new ModifyLoadBalancerAddressTypeResponse();
|
|
725
|
+
this.request("ModifyLoadBalancerAddressType", req, resp, cb);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
}
|
|
730
|
+
module.exports = AlbClient;
|