tencentcloud-sdk-nodejs-intl-en 3.0.324 → 3.0.328
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/as_client.js +36 -8
- package/tencentcloud/as/v20180419/models.js +80 -15
- package/tencentcloud/billing/v20180709/models.js +32 -29
- package/tencentcloud/clb/v20180317/clb_client.js +18 -0
- package/tencentcloud/clb/v20180317/models.js +407 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/gaap/v20180529/gaap_client.js +3 -2
- package/tencentcloud/gaap/v20180529/models.js +220 -91
- package/tencentcloud/mdl/v20200326/mdl_client.js +2 -0
- package/tencentcloud/mdl/v20200326/models.js +103 -0
- package/tencentcloud/ocr/v20181119/models.js +17 -3
- package/tencentcloud/postgres/v20170312/models.js +787 -85
- package/tencentcloud/postgres/v20170312/postgres_client.js +68 -12
- package/tencentcloud/redis/v20180412/models.js +29 -19
package/package.json
CHANGED
|
@@ -380,11 +380,11 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
|
-
* This API
|
|
383
|
+
* This API is used to modify the cloud load balancers of a scaling group.
|
|
384
384
|
|
|
385
|
-
* This API can specify a new load balancer configuration for the
|
|
386
|
-
*
|
|
387
|
-
* This API modifies the load balancer of the
|
|
385
|
+
* This API can specify a new cloud load balancer configuration for the scaling group. The new configuration overwrites the original load balancer configuration.
|
|
386
|
+
* To clear the cloud load balancer of the scaling group, specify only the scaling group ID but not the specific cloud load balancer.
|
|
387
|
+
* This API modifies the cloud load balancer of the scaling group and generate a scaling activity to asynchronously modify the cloud load balancers of existing instances.
|
|
388
388
|
* @param {ModifyLoadBalancersRequest} req
|
|
389
389
|
* @param {function(string, ModifyLoadBalancersResponse):void} cb
|
|
390
390
|
* @public
|
|
@@ -406,8 +406,8 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
/**
|
|
409
|
-
* This API
|
|
410
|
-
When
|
|
409
|
+
* This API is used to enable scale-in protection for an instance.
|
|
410
|
+
When scale-in protection is enabled, the instance will not be removed in scale-in activities triggered by replacement of unhealthy instances, alarm threshold reached, change of desired quantity, etc.
|
|
411
411
|
* @param {SetInstancesProtectionRequest} req
|
|
412
412
|
* @param {function(string, SetInstancesProtectionResponse):void} cb
|
|
413
413
|
* @public
|
|
@@ -418,7 +418,8 @@ When an instance has scale-in protection enabled, it will not be removed when sc
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
|
-
* This API
|
|
421
|
+
* This API is used to modify a notification policy.
|
|
422
|
+
* The receiver type of the notification policy cannot be modified.
|
|
422
423
|
* @param {ModifyNotificationConfigurationRequest} req
|
|
423
424
|
* @param {function(string, ModifyNotificationConfigurationResponse):void} cb
|
|
424
425
|
* @public
|
|
@@ -471,7 +472,34 @@ When an instance has scale-in protection enabled, it will not be removed when sc
|
|
|
471
472
|
}
|
|
472
473
|
|
|
473
474
|
/**
|
|
474
|
-
* This API
|
|
475
|
+
* This API is used to create a notification policy.
|
|
476
|
+
When the notification is sent to a CMQ topic or queue, the following contents are included:
|
|
477
|
+
```
|
|
478
|
+
{
|
|
479
|
+
"Service": "Tencent Cloud Auto Scaling",
|
|
480
|
+
"CreatedTime": "2021-10-11T10:15:11Z", // Activity creation time
|
|
481
|
+
"AppId": "100000000",
|
|
482
|
+
"ActivityId": "asa-fznnvrja", // Scaling activity ID
|
|
483
|
+
"AutoScalingGroupId": "asg-pc2oqu2z", // Scaling group ID
|
|
484
|
+
"ActivityType": "SCALE_OUT", // Scaling activity type
|
|
485
|
+
"StatusCode": "SUCCESSFUL", // Scaling activity result
|
|
486
|
+
"Description": "Activity was launched in response to a difference between desired capacity and actual capacity,
|
|
487
|
+
scale out 1 instance(s).", // Scaling activity description
|
|
488
|
+
"StartTime": "2021-10-11T10:15:11Z", // Activity starting time
|
|
489
|
+
"EndTime": "2021-10-11T10:15:32Z", // Activity ending time
|
|
490
|
+
"DetailedStatusMessageSet": [ // A collection of failed attempts during the scaling process (Failed attempts are allowed in a successful scaling activity)
|
|
491
|
+
{
|
|
492
|
+
"Code": "InvalidInstanceType",
|
|
493
|
+
"Zone": "ap-guangzhou-2",
|
|
494
|
+
"InstanceId": "",
|
|
495
|
+
"InstanceChargeType": "POSTPAID_BY_HOUR",
|
|
496
|
+
"SubnetId": "subnet-4t5mgeuu",
|
|
497
|
+
"Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-2`.",
|
|
498
|
+
"InstanceType": "S5.LARGE8",
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
```
|
|
475
503
|
* @param {CreateNotificationConfigurationRequest} req
|
|
476
504
|
* @param {function(string, CreateNotificationConfigurationResponse):void} cb
|
|
477
505
|
* @public
|
|
@@ -172,6 +172,12 @@ This field requires passing in the `InstanceName` field. Other fields that are n
|
|
|
172
172
|
*/
|
|
173
173
|
this.InstanceNameSettings = null;
|
|
174
174
|
|
|
175
|
+
/**
|
|
176
|
+
* Specifies whether to enable additional services, such as security services and monitoring service.
|
|
177
|
+
* @type {EnhancedService || null}
|
|
178
|
+
*/
|
|
179
|
+
this.EnhancedService = null;
|
|
180
|
+
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
/**
|
|
@@ -236,6 +242,12 @@ This field requires passing in the `InstanceName` field. Other fields that are n
|
|
|
236
242
|
this.InstanceNameSettings = obj;
|
|
237
243
|
}
|
|
238
244
|
|
|
245
|
+
if (params.EnhancedService) {
|
|
246
|
+
let obj = new EnhancedService();
|
|
247
|
+
obj.deserialize(params.EnhancedService)
|
|
248
|
+
this.EnhancedService = obj;
|
|
249
|
+
}
|
|
250
|
+
|
|
239
251
|
}
|
|
240
252
|
}
|
|
241
253
|
|
|
@@ -542,6 +554,24 @@ class AutoScalingNotification extends AbstractModel {
|
|
|
542
554
|
*/
|
|
543
555
|
this.AutoScalingNotificationId = null;
|
|
544
556
|
|
|
557
|
+
/**
|
|
558
|
+
* Notification receiver type.
|
|
559
|
+
* @type {string || null}
|
|
560
|
+
*/
|
|
561
|
+
this.TargetType = null;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* CMQ queue name.
|
|
565
|
+
* @type {string || null}
|
|
566
|
+
*/
|
|
567
|
+
this.QueueName = null;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* CMQ topic name.
|
|
571
|
+
* @type {string || null}
|
|
572
|
+
*/
|
|
573
|
+
this.TopicName = null;
|
|
574
|
+
|
|
545
575
|
}
|
|
546
576
|
|
|
547
577
|
/**
|
|
@@ -555,6 +585,9 @@ class AutoScalingNotification extends AbstractModel {
|
|
|
555
585
|
this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
|
|
556
586
|
this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
|
|
557
587
|
this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
|
|
588
|
+
this.TargetType = 'TargetType' in params ? params.TargetType : null;
|
|
589
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
590
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
558
591
|
|
|
559
592
|
}
|
|
560
593
|
}
|
|
@@ -1787,7 +1820,7 @@ class ModifyLoadBalancersRequest extends AbstractModel {
|
|
|
1787
1820
|
this.LoadBalancerIds = null;
|
|
1788
1821
|
|
|
1789
1822
|
/**
|
|
1790
|
-
* List of CLBs.
|
|
1823
|
+
* List of application CLBs. Up to 50 CLBs are allowed. You cannot specify `loadBalancerIds` and `ForwardLoadBalancers` at the same time.
|
|
1791
1824
|
* @type {Array.<ForwardLoadBalancer> || null}
|
|
1792
1825
|
*/
|
|
1793
1826
|
this.ForwardLoadBalancers = null;
|
|
@@ -1909,7 +1942,7 @@ class SetInstancesProtectionRequest extends AbstractModel {
|
|
|
1909
1942
|
this.InstanceIds = null;
|
|
1910
1943
|
|
|
1911
1944
|
/**
|
|
1912
|
-
* Whether
|
|
1945
|
+
* Whether to enable scale-in protection for this instance
|
|
1913
1946
|
* @type {boolean || null}
|
|
1914
1947
|
*/
|
|
1915
1948
|
this.ProtectedFromScaleIn = null;
|
|
@@ -2014,7 +2047,8 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
|
|
|
2014
2047
|
this.ImageId = null;
|
|
2015
2048
|
|
|
2016
2049
|
/**
|
|
2017
|
-
* ID of the
|
|
2050
|
+
* Project ID of the launch configuration. The default project is used if it’s left blank.
|
|
2051
|
+
Note that this project ID is not the same as the project ID of the scaling group.
|
|
2018
2052
|
* @type {number || null}
|
|
2019
2053
|
*/
|
|
2020
2054
|
this.ProjectId = null;
|
|
@@ -2900,6 +2934,24 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
|
|
|
2900
2934
|
*/
|
|
2901
2935
|
this.NotificationUserGroupIds = null;
|
|
2902
2936
|
|
|
2937
|
+
/**
|
|
2938
|
+
* Notification receiver type. Values: `USER_GROUP`,`CMQ_QUEUE`,`CMQ_TOPIC`. Default: `USER_GROUP`.
|
|
2939
|
+
* @type {string || null}
|
|
2940
|
+
*/
|
|
2941
|
+
this.TargetType = null;
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* CMQ queue name. This field is required when `TargetType` is `CMQ_QUEUE`.
|
|
2945
|
+
* @type {string || null}
|
|
2946
|
+
*/
|
|
2947
|
+
this.QueueName = null;
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* CMQ topic name. This field is required when `TargetType` is `CMQ_TOPIC`.
|
|
2951
|
+
* @type {string || null}
|
|
2952
|
+
*/
|
|
2953
|
+
this.TopicName = null;
|
|
2954
|
+
|
|
2903
2955
|
}
|
|
2904
2956
|
|
|
2905
2957
|
/**
|
|
@@ -2912,6 +2964,9 @@ class CreateNotificationConfigurationRequest extends AbstractModel {
|
|
|
2912
2964
|
this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
|
|
2913
2965
|
this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
|
|
2914
2966
|
this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
|
|
2967
|
+
this.TargetType = 'TargetType' in params ? params.TargetType : null;
|
|
2968
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
2969
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
2915
2970
|
|
|
2916
2971
|
}
|
|
2917
2972
|
}
|
|
@@ -3287,13 +3342,13 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
|
|
|
3287
3342
|
this.LoadBalancerIds = null;
|
|
3288
3343
|
|
|
3289
3344
|
/**
|
|
3290
|
-
* Project ID
|
|
3345
|
+
* Project ID of an instance in a scaling group. The default project is used if it’s left blank.
|
|
3291
3346
|
* @type {number || null}
|
|
3292
3347
|
*/
|
|
3293
3348
|
this.ProjectId = null;
|
|
3294
3349
|
|
|
3295
3350
|
/**
|
|
3296
|
-
* List of CLBs.
|
|
3351
|
+
* List of application CLBs. Up to 50 CLBs are allowed. You cannot specify `loadBalancerIds` and `ForwardLoadBalancers` at the same time.
|
|
3297
3352
|
* @type {Array.<ForwardLoadBalancer> || null}
|
|
3298
3353
|
*/
|
|
3299
3354
|
this.ForwardLoadBalancers = null;
|
|
@@ -3580,7 +3635,7 @@ If a model in InstanceTypes does not exist or has been deactivated, a verificati
|
|
|
3580
3635
|
this.LoginSettings = null;
|
|
3581
3636
|
|
|
3582
3637
|
/**
|
|
3583
|
-
* Project ID of the instance.
|
|
3638
|
+
* Project ID of the instance. Leave it blank as the default.
|
|
3584
3639
|
* @type {number || null}
|
|
3585
3640
|
*/
|
|
3586
3641
|
this.ProjectId = null;
|
|
@@ -4844,15 +4899,11 @@ class DescribeLifecycleHooksRequest extends AbstractModel {
|
|
|
4844
4899
|
this.LifecycleHookIds = null;
|
|
4845
4900
|
|
|
4846
4901
|
/**
|
|
4847
|
-
*
|
|
4848
|
-
<li> lifecycle-hook-id - String - Required: No - (Filter) Filter by lifecycle hook ID.</li>
|
|
4849
|
-
<li> lifecycle-hook-name - String - Required: No - (Filter) Filter by lifecycle hook name.</li>
|
|
4850
|
-
<li> auto-scaling-group-id - String - Required: No - (Filter) Filter by
|
|
4851
|
-
|
|
4852
|
-
<li> lifecycle-hook-id - String - Required: No - (Filter) Filter by lifecycle hook ID.</li>
|
|
4853
|
-
<li> lifecycle-hook-name - String - Required: No - (Filter) Filter by lifecycle hook name.</li>
|
|
4854
|
-
<li> auto-scaling-group-id - String - Required: No - (Filter) Filter by auto scaling group ID.</li>
|
|
4855
|
-
The maximum number of `Filters` per request is 10. The upper limit for `Filter.Values` is 5. This parameter does not support specifying both `LifecycleHookIds` and `Filters` at the same time.
|
|
4902
|
+
* Filters.
|
|
4903
|
+
<li> `lifecycle-hook-id` - String - Required: No - (Filter) Filter by lifecycle hook ID.</li>
|
|
4904
|
+
<li> `lifecycle-hook-name` - String - Required: No - (Filter) Filter by lifecycle hook name.</li>
|
|
4905
|
+
<li> `auto-scaling-group-id` - String - Required: No - (Filter) Filter by scaling group ID.</li>
|
|
4906
|
+
Up to 10 filters can be included in a request and up to 5 values for each filter. It cannot be specified with `LifecycleHookIds` at the same time.
|
|
4856
4907
|
* @type {Array.<Filter> || null}
|
|
4857
4908
|
*/
|
|
4858
4909
|
this.Filters = null;
|
|
@@ -6671,6 +6722,18 @@ class ModifyNotificationConfigurationRequest extends AbstractModel {
|
|
|
6671
6722
|
*/
|
|
6672
6723
|
this.NotificationUserGroupIds = null;
|
|
6673
6724
|
|
|
6725
|
+
/**
|
|
6726
|
+
* CMQ queue name.
|
|
6727
|
+
* @type {string || null}
|
|
6728
|
+
*/
|
|
6729
|
+
this.QueueName = null;
|
|
6730
|
+
|
|
6731
|
+
/**
|
|
6732
|
+
* CMQ topic name.
|
|
6733
|
+
* @type {string || null}
|
|
6734
|
+
*/
|
|
6735
|
+
this.TopicName = null;
|
|
6736
|
+
|
|
6674
6737
|
}
|
|
6675
6738
|
|
|
6676
6739
|
/**
|
|
@@ -6683,6 +6746,8 @@ class ModifyNotificationConfigurationRequest extends AbstractModel {
|
|
|
6683
6746
|
this.AutoScalingNotificationId = 'AutoScalingNotificationId' in params ? params.AutoScalingNotificationId : null;
|
|
6684
6747
|
this.NotificationTypes = 'NotificationTypes' in params ? params.NotificationTypes : null;
|
|
6685
6748
|
this.NotificationUserGroupIds = 'NotificationUserGroupIds' in params ? params.NotificationUserGroupIds : null;
|
|
6749
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
6750
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
6686
6751
|
|
|
6687
6752
|
}
|
|
6688
6753
|
}
|
|
@@ -1333,35 +1333,26 @@ class DescribeBillResourceSummaryRequest extends AbstractModel {
|
|
|
1333
1333
|
|
|
1334
1334
|
/**
|
|
1335
1335
|
* Action type to query. Valid values:
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1336
|
+
Purchase
|
|
1337
|
+
Renewal
|
|
1338
|
+
Modify
|
|
1339
|
+
Refund
|
|
1340
|
+
Deduction
|
|
1341
|
+
Hourly settlement
|
|
1342
|
+
Daily settlement
|
|
1343
|
+
Monthly settlement
|
|
1344
|
+
Offline project deduction
|
|
1345
|
+
Offline deduction
|
|
1346
|
+
adjust-CR
|
|
1347
|
+
adjust-DR
|
|
1348
|
+
One-off RI Fee
|
|
1349
|
+
Spot
|
|
1350
|
+
Hourly RI fee
|
|
1351
|
+
New monthly subscription
|
|
1352
|
+
Monthly subscription renewal
|
|
1353
|
+
Monthly subscription specification adjustment
|
|
1354
|
+
Monthly subscription specification adjustment
|
|
1355
|
+
Monthly subscription refund
|
|
1365
1356
|
* @type {string || null}
|
|
1366
1357
|
*/
|
|
1367
1358
|
this.ActionType = null;
|
|
@@ -1425,6 +1416,17 @@ class DescribeBillSummaryByProductRequest extends AbstractModel {
|
|
|
1425
1416
|
*/
|
|
1426
1417
|
this.PayerUin = null;
|
|
1427
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
* A bill type, which corresponds to a subtotal type of L0 bills.
|
|
1421
|
+
This parameter has become valid since v3.0 bills took effect in May 2021.
|
|
1422
|
+
Valid values:
|
|
1423
|
+
`consume`: consumption
|
|
1424
|
+
`refund`: refund
|
|
1425
|
+
`adjustment`: bill adjustment
|
|
1426
|
+
* @type {string || null}
|
|
1427
|
+
*/
|
|
1428
|
+
this.PayType = null;
|
|
1429
|
+
|
|
1428
1430
|
}
|
|
1429
1431
|
|
|
1430
1432
|
/**
|
|
@@ -1437,6 +1439,7 @@ class DescribeBillSummaryByProductRequest extends AbstractModel {
|
|
|
1437
1439
|
this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
|
|
1438
1440
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1439
1441
|
this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
|
|
1442
|
+
this.PayType = 'PayType' in params ? params.PayType : null;
|
|
1440
1443
|
|
|
1441
1444
|
}
|
|
1442
1445
|
}
|
|
@@ -22,6 +22,7 @@ const DescribeQuotaRequest = models.DescribeQuotaRequest;
|
|
|
22
22
|
const DescribeTargetGroupListRequest = models.DescribeTargetGroupListRequest;
|
|
23
23
|
const BatchDeregisterTargetsResponse = models.BatchDeregisterTargetsResponse;
|
|
24
24
|
const SetLoadBalancerSecurityGroupsResponse = models.SetLoadBalancerSecurityGroupsResponse;
|
|
25
|
+
const RulesItems = models.RulesItems;
|
|
25
26
|
const ExtraInfo = models.ExtraInfo;
|
|
26
27
|
const BatchModifyTargetWeightResponse = models.BatchModifyTargetWeightResponse;
|
|
27
28
|
const SetSecurityGroupForLoadbalancersRequest = models.SetSecurityGroupForLoadbalancersRequest;
|
|
@@ -39,6 +40,7 @@ const ModifyLoadBalancerAttributesResponse = models.ModifyLoadBalancerAttributes
|
|
|
39
40
|
const DescribeTargetGroupInstancesRequest = models.DescribeTargetGroupInstancesRequest;
|
|
40
41
|
const AssociateTargetGroupsRequest = models.AssociateTargetGroupsRequest;
|
|
41
42
|
const ClassicalTarget = models.ClassicalTarget;
|
|
43
|
+
const ListenerItem = models.ListenerItem;
|
|
42
44
|
const RsWeightRule = models.RsWeightRule;
|
|
43
45
|
const DeregisterTargetsFromClassicalLBRequest = models.DeregisterTargetsFromClassicalLBRequest;
|
|
44
46
|
const SetSecurityGroupForLoadbalancersResponse = models.SetSecurityGroupForLoadbalancersResponse;
|
|
@@ -68,6 +70,7 @@ const DescribeTargetGroupsRequest = models.DescribeTargetGroupsRequest;
|
|
|
68
70
|
const DescribeTaskStatusResponse = models.DescribeTaskStatusResponse;
|
|
69
71
|
const BatchRegisterTargetsResponse = models.BatchRegisterTargetsResponse;
|
|
70
72
|
const ModifyLoadBalancerAttributesRequest = models.ModifyLoadBalancerAttributesRequest;
|
|
73
|
+
const DescribeLBListenersRequest = models.DescribeLBListenersRequest;
|
|
71
74
|
const Target = models.Target;
|
|
72
75
|
const DescribeLoadBalancerTrafficRequest = models.DescribeLoadBalancerTrafficRequest;
|
|
73
76
|
const DescribeBlockIPListRequest = models.DescribeBlockIPListRequest;
|
|
@@ -116,6 +119,7 @@ const RuleOutput = models.RuleOutput;
|
|
|
116
119
|
const CreateTopicResponse = models.CreateTopicResponse;
|
|
117
120
|
const CreateRuleRequest = models.CreateRuleRequest;
|
|
118
121
|
const ModifyTargetGroupInstancesPortResponse = models.ModifyTargetGroupInstancesPortResponse;
|
|
122
|
+
const LbRsItem = models.LbRsItem;
|
|
119
123
|
const RuleTargets = models.RuleTargets;
|
|
120
124
|
const BatchDeregisterTargetsRequest = models.BatchDeregisterTargetsRequest;
|
|
121
125
|
const DeregisterTargetGroupInstancesRequest = models.DeregisterTargetGroupInstancesRequest;
|
|
@@ -141,6 +145,7 @@ const RewriteTarget = models.RewriteTarget;
|
|
|
141
145
|
const ModifyTargetWeightRequest = models.ModifyTargetWeightRequest;
|
|
142
146
|
const DescribeLoadBalancersDetailResponse = models.DescribeLoadBalancersDetailResponse;
|
|
143
147
|
const LoadBalancerDetail = models.LoadBalancerDetail;
|
|
148
|
+
const LbRsTargets = models.LbRsTargets;
|
|
144
149
|
const BatchModifyTargetWeightRequest = models.BatchModifyTargetWeightRequest;
|
|
145
150
|
const DeleteRewriteResponse = models.DeleteRewriteResponse;
|
|
146
151
|
const BatchTarget = models.BatchTarget;
|
|
@@ -171,6 +176,7 @@ const DescribeBlockIPTaskRequest = models.DescribeBlockIPTaskRequest;
|
|
|
171
176
|
const CreateLoadBalancerResponse = models.CreateLoadBalancerResponse;
|
|
172
177
|
const DescribeRewriteResponse = models.DescribeRewriteResponse;
|
|
173
178
|
const Quota = models.Quota;
|
|
179
|
+
const LBItem = models.LBItem;
|
|
174
180
|
const DeleteLoadBalancerListenersResponse = models.DeleteLoadBalancerListenersResponse;
|
|
175
181
|
const DescribeListenersRequest = models.DescribeListenersRequest;
|
|
176
182
|
const DeleteLoadBalancerSnatIpsRequest = models.DeleteLoadBalancerSnatIpsRequest;
|
|
@@ -179,6 +185,7 @@ const DescribeClassicalLBTargetsResponse = models.DescribeClassicalLBTargetsResp
|
|
|
179
185
|
const RewriteLocationMap = models.RewriteLocationMap;
|
|
180
186
|
const ModifyTargetPortRequest = models.ModifyTargetPortRequest;
|
|
181
187
|
const DescribeLoadBalancersResponse = models.DescribeLoadBalancersResponse;
|
|
188
|
+
const DescribeLBListenersResponse = models.DescribeLBListenersResponse;
|
|
182
189
|
const DeleteListenerResponse = models.DeleteListenerResponse;
|
|
183
190
|
const DeleteLoadBalancerSnatIpsResponse = models.DeleteLoadBalancerSnatIpsResponse;
|
|
184
191
|
const CertificateOutput = models.CertificateOutput;
|
|
@@ -540,6 +547,17 @@ This is an async API. After it is returned successfully, you can call the `Descr
|
|
|
540
547
|
this.request("AssociateTargetGroups", req, resp, cb);
|
|
541
548
|
}
|
|
542
549
|
|
|
550
|
+
/**
|
|
551
|
+
* This API is used to query CLB instances bound to the CVM or ENI.
|
|
552
|
+
* @param {DescribeLBListenersRequest} req
|
|
553
|
+
* @param {function(string, DescribeLBListenersResponse):void} cb
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
DescribeLBListeners(req, cb) {
|
|
557
|
+
let resp = new DescribeLBListenersResponse();
|
|
558
|
+
this.request("DescribeLBListeners", req, resp, cb);
|
|
559
|
+
}
|
|
560
|
+
|
|
543
561
|
/**
|
|
544
562
|
* This API is used to unbind a server from a target group.
|
|
545
563
|
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.
|