tencentcloud-sdk-nodejs-intl-en 3.0.362 → 3.0.366
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 +64 -9
- package/tencentcloud/as/v20180419/models.js +1566 -1093
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +16 -2
- package/tencentcloud/ckafka/v20190819/models.js +197 -81
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/kms/v20190118/kms_client.js +3 -3
- package/tencentcloud/kms/v20190118/models.js +41 -11
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +243 -49
- package/tencentcloud/lighthouse/v20200324/models.js +2093 -207
- package/tencentcloud/scf/v20180416/models.js +335 -9
- package/tencentcloud/scf/v20180416/scf_client.js +40 -12
- package/tencentcloud/vpc/v20170312/models.js +165 -17
- package/tencentcloud/vpc/v20170312/vpc_client.js +8 -8
package/package.json
CHANGED
|
@@ -24,12 +24,14 @@ const ScaleOutInstancesRequest = models.ScaleOutInstancesRequest;
|
|
|
24
24
|
const AutoScalingNotification = models.AutoScalingNotification;
|
|
25
25
|
const ModifyScheduledActionRequest = models.ModifyScheduledActionRequest;
|
|
26
26
|
const DescribeAutoScalingGroupsRequest = models.DescribeAutoScalingGroupsRequest;
|
|
27
|
-
const
|
|
27
|
+
const LaunchConfiguration = models.LaunchConfiguration;
|
|
28
28
|
const DescribeAccountLimitsResponse = models.DescribeAccountLimitsResponse;
|
|
29
29
|
const CreateLaunchConfigurationResponse = models.CreateLaunchConfigurationResponse;
|
|
30
|
+
const Advice = models.Advice;
|
|
30
31
|
const CreateLifecycleHookResponse = models.CreateLifecycleHookResponse;
|
|
31
32
|
const ClearLaunchConfigurationAttributesResponse = models.ClearLaunchConfigurationAttributesResponse;
|
|
32
33
|
const DescribeAutoScalingGroupsResponse = models.DescribeAutoScalingGroupsResponse;
|
|
34
|
+
const CreateScheduledActionRequest = models.CreateScheduledActionRequest;
|
|
33
35
|
const SystemDisk = models.SystemDisk;
|
|
34
36
|
const SpotMarketOptions = models.SpotMarketOptions;
|
|
35
37
|
const StopAutoScalingInstancesResponse = models.StopAutoScalingInstancesResponse;
|
|
@@ -37,31 +39,34 @@ const DescribeScalingPoliciesRequest = models.DescribeScalingPoliciesRequest;
|
|
|
37
39
|
const InstanceNameSettings = models.InstanceNameSettings;
|
|
38
40
|
const DetailedStatusMessage = models.DetailedStatusMessage;
|
|
39
41
|
const ModifyScheduledActionResponse = models.ModifyScheduledActionResponse;
|
|
40
|
-
const
|
|
42
|
+
const AttachLoadBalancersResponse = models.AttachLoadBalancersResponse;
|
|
41
43
|
const ExecuteScalingPolicyResponse = models.ExecuteScalingPolicyResponse;
|
|
42
|
-
const
|
|
44
|
+
const DeleteAutoScalingGroupRequest = models.DeleteAutoScalingGroupRequest;
|
|
43
45
|
const SetInstancesProtectionResponse = models.SetInstancesProtectionResponse;
|
|
44
46
|
const StartAutoScalingInstancesResponse = models.StartAutoScalingInstancesResponse;
|
|
45
47
|
const CompleteLifecycleActionRequest = models.CompleteLifecycleActionRequest;
|
|
46
48
|
const CreateScalingPolicyResponse = models.CreateScalingPolicyResponse;
|
|
47
49
|
const CreateNotificationConfigurationResponse = models.CreateNotificationConfigurationResponse;
|
|
48
50
|
const DescribeLaunchConfigurationsResponse = models.DescribeLaunchConfigurationsResponse;
|
|
51
|
+
const RemoveInstancesRequest = models.RemoveInstancesRequest;
|
|
49
52
|
const DeleteScalingPolicyResponse = models.DeleteScalingPolicyResponse;
|
|
50
53
|
const Tag = models.Tag;
|
|
54
|
+
const DetachLoadBalancersRequest = models.DetachLoadBalancersRequest;
|
|
51
55
|
const DescribeAutoScalingInstancesRequest = models.DescribeAutoScalingInstancesRequest;
|
|
52
|
-
const LimitedLoginSettings = models.LimitedLoginSettings;
|
|
53
56
|
const ModifyLoadBalancersRequest = models.ModifyLoadBalancersRequest;
|
|
54
57
|
const RemoveInstancesResponse = models.RemoveInstancesResponse;
|
|
55
58
|
const ModifyScalingPolicyResponse = models.ModifyScalingPolicyResponse;
|
|
56
59
|
const SetInstancesProtectionRequest = models.SetInstancesProtectionRequest;
|
|
57
60
|
const DeleteNotificationConfigurationResponse = models.DeleteNotificationConfigurationResponse;
|
|
58
61
|
const DetachInstancesResponse = models.DetachInstancesResponse;
|
|
62
|
+
const ModifyLaunchConfigurationAttributesResponse = models.ModifyLaunchConfigurationAttributesResponse;
|
|
59
63
|
const CreateLaunchConfigurationRequest = models.CreateLaunchConfigurationRequest;
|
|
60
64
|
const AutoScalingGroup = models.AutoScalingGroup;
|
|
61
65
|
const AttachInstancesResponse = models.AttachInstancesResponse;
|
|
62
66
|
const DescribeAutoScalingGroupLastActivitiesResponse = models.DescribeAutoScalingGroupLastActivitiesResponse;
|
|
63
67
|
const DescribeAccountLimitsRequest = models.DescribeAccountLimitsRequest;
|
|
64
68
|
const UpgradeLifecycleHookRequest = models.UpgradeLifecycleHookRequest;
|
|
69
|
+
const DetachLoadBalancersResponse = models.DetachLoadBalancersResponse;
|
|
65
70
|
const ScalingPolicy = models.ScalingPolicy;
|
|
66
71
|
const DescribeAutoScalingGroupLastActivitiesRequest = models.DescribeAutoScalingGroupLastActivitiesRequest;
|
|
67
72
|
const HostNameSettings = models.HostNameSettings;
|
|
@@ -69,12 +74,14 @@ const ModifyLoadBalancersResponse = models.ModifyLoadBalancersResponse;
|
|
|
69
74
|
const CreateNotificationConfigurationRequest = models.CreateNotificationConfigurationRequest;
|
|
70
75
|
const DescribeScheduledActionsResponse = models.DescribeScheduledActionsResponse;
|
|
71
76
|
const DeleteLifecycleHookRequest = models.DeleteLifecycleHookRequest;
|
|
77
|
+
const ModifyLoadBalancerTargetAttributesResponse = models.ModifyLoadBalancerTargetAttributesResponse;
|
|
72
78
|
const ModifyAutoScalingGroupResponse = models.ModifyAutoScalingGroupResponse;
|
|
73
79
|
const DeleteLaunchConfigurationRequest = models.DeleteLaunchConfigurationRequest;
|
|
74
80
|
const ModifyScalingPolicyRequest = models.ModifyScalingPolicyRequest;
|
|
75
81
|
const InstanceMarketOptionsRequest = models.InstanceMarketOptionsRequest;
|
|
76
82
|
const UpgradeLifecycleHookResponse = models.UpgradeLifecycleHookResponse;
|
|
77
83
|
const InstanceTag = models.InstanceTag;
|
|
84
|
+
const DescribeAutoScalingAdvicesResponse = models.DescribeAutoScalingAdvicesResponse;
|
|
78
85
|
const CreateAutoScalingGroupRequest = models.CreateAutoScalingGroupRequest;
|
|
79
86
|
const DeleteScheduledActionResponse = models.DeleteScheduledActionResponse;
|
|
80
87
|
const UpgradeLaunchConfigurationRequest = models.UpgradeLaunchConfigurationRequest;
|
|
@@ -86,7 +93,7 @@ const LoginSettings = models.LoginSettings;
|
|
|
86
93
|
const CreateAutoScalingGroupFromInstanceResponse = models.CreateAutoScalingGroupFromInstanceResponse;
|
|
87
94
|
const DetachInstancesRequest = models.DetachInstancesRequest;
|
|
88
95
|
const Instance = models.Instance;
|
|
89
|
-
const
|
|
96
|
+
const DescribeAutoScalingInstancesResponse = models.DescribeAutoScalingInstancesResponse;
|
|
90
97
|
const EnhancedService = models.EnhancedService;
|
|
91
98
|
const DeleteLaunchConfigurationResponse = models.DeleteLaunchConfigurationResponse;
|
|
92
99
|
const DescribeScheduledActionsRequest = models.DescribeScheduledActionsRequest;
|
|
@@ -102,16 +109,18 @@ const ScaleOutInstancesResponse = models.ScaleOutInstancesResponse;
|
|
|
102
109
|
const Filter = models.Filter;
|
|
103
110
|
const DescribeLifecycleHooksRequest = models.DescribeLifecycleHooksRequest;
|
|
104
111
|
const ServiceSettings = models.ServiceSettings;
|
|
105
|
-
const
|
|
112
|
+
const CreateAutoScalingGroupResponse = models.CreateAutoScalingGroupResponse;
|
|
106
113
|
const TargetAttribute = models.TargetAttribute;
|
|
107
114
|
const ModifyNotificationConfigurationResponse = models.ModifyNotificationConfigurationResponse;
|
|
108
|
-
const
|
|
115
|
+
const LimitedLoginSettings = models.LimitedLoginSettings;
|
|
109
116
|
const DescribeLifecycleHooksResponse = models.DescribeLifecycleHooksResponse;
|
|
110
117
|
const CreateScalingPolicyRequest = models.CreateScalingPolicyRequest;
|
|
111
118
|
const ScaleInInstancesResponse = models.ScaleInInstancesResponse;
|
|
119
|
+
const DescribeAutoScalingAdvicesRequest = models.DescribeAutoScalingAdvicesRequest;
|
|
112
120
|
const DeleteNotificationConfigurationRequest = models.DeleteNotificationConfigurationRequest;
|
|
113
121
|
const DescribeLaunchConfigurationsRequest = models.DescribeLaunchConfigurationsRequest;
|
|
114
122
|
const NotificationTarget = models.NotificationTarget;
|
|
123
|
+
const ModifyLoadBalancerTargetAttributesRequest = models.ModifyLoadBalancerTargetAttributesRequest;
|
|
115
124
|
const DeleteAutoScalingGroupResponse = models.DeleteAutoScalingGroupResponse;
|
|
116
125
|
const LifecycleActionResultInfo = models.LifecycleActionResultInfo;
|
|
117
126
|
const AutoScalingGroupAbstract = models.AutoScalingGroupAbstract;
|
|
@@ -122,10 +131,11 @@ const ScaleInInstancesRequest = models.ScaleInInstancesRequest;
|
|
|
122
131
|
const LifecycleHook = models.LifecycleHook;
|
|
123
132
|
const ForwardLoadBalancer = models.ForwardLoadBalancer;
|
|
124
133
|
const ClearLaunchConfigurationAttributesRequest = models.ClearLaunchConfigurationAttributesRequest;
|
|
125
|
-
const
|
|
126
|
-
const
|
|
134
|
+
const ForwardLoadBalancerIdentification = models.ForwardLoadBalancerIdentification;
|
|
135
|
+
const AutoScalingAdvice = models.AutoScalingAdvice;
|
|
127
136
|
const StartAutoScalingInstancesRequest = models.StartAutoScalingInstancesRequest;
|
|
128
137
|
const AttachInstancesRequest = models.AttachInstancesRequest;
|
|
138
|
+
const AttachLoadBalancersRequest = models.AttachLoadBalancersRequest;
|
|
129
139
|
const SpotMixedAllocationPolicy = models.SpotMixedAllocationPolicy;
|
|
130
140
|
const DescribeScalingPoliciesResponse = models.DescribeScalingPoliciesResponse;
|
|
131
141
|
const Activity = models.Activity;
|
|
@@ -134,6 +144,7 @@ const StopAutoScalingInstancesRequest = models.StopAutoScalingInstancesRequest;
|
|
|
134
144
|
const RunMonitorServiceEnabled = models.RunMonitorServiceEnabled;
|
|
135
145
|
const ModifyNotificationConfigurationRequest = models.ModifyNotificationConfigurationRequest;
|
|
136
146
|
const ActivtyRelatedInstance = models.ActivtyRelatedInstance;
|
|
147
|
+
const CreateAutoScalingGroupFromInstanceRequest = models.CreateAutoScalingGroupFromInstanceRequest;
|
|
137
148
|
const InternetAccessible = models.InternetAccessible;
|
|
138
149
|
const EnableAutoScalingGroupResponse = models.EnableAutoScalingGroupResponse;
|
|
139
150
|
const UpgradeLaunchConfigurationResponse = models.UpgradeLaunchConfigurationResponse;
|
|
@@ -199,6 +210,17 @@ class AsClient extends AbstractClient {
|
|
|
199
210
|
this.request("ModifyScalingPolicy", req, resp, cb);
|
|
200
211
|
}
|
|
201
212
|
|
|
213
|
+
/**
|
|
214
|
+
* This API is used to modify the target rule attributes of the CLB in the scaling group.
|
|
215
|
+
* @param {ModifyLoadBalancerTargetAttributesRequest} req
|
|
216
|
+
* @param {function(string, ModifyLoadBalancerTargetAttributesResponse):void} cb
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
ModifyLoadBalancerTargetAttributes(req, cb) {
|
|
220
|
+
let resp = new ModifyLoadBalancerTargetAttributesResponse();
|
|
221
|
+
this.request("ModifyLoadBalancerTargetAttributes", req, resp, cb);
|
|
222
|
+
}
|
|
223
|
+
|
|
202
224
|
/**
|
|
203
225
|
* This API (DescribeNotificationConfigurations) is used to query the information of one or more notifications.
|
|
204
226
|
|
|
@@ -265,6 +287,17 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
265
287
|
this.request("UpgradeLaunchConfiguration", req, resp, cb);
|
|
266
288
|
}
|
|
267
289
|
|
|
290
|
+
/**
|
|
291
|
+
* This API is used to unbind one or more CLBs from a scaling group. This API will not terminate CLBs.
|
|
292
|
+
* @param {DetachLoadBalancersRequest} req
|
|
293
|
+
* @param {function(string, DetachLoadBalancersResponse):void} cb
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
DetachLoadBalancers(req, cb) {
|
|
297
|
+
let resp = new DetachLoadBalancersResponse();
|
|
298
|
+
this.request("DetachLoadBalancers", req, resp, cb);
|
|
299
|
+
}
|
|
300
|
+
|
|
268
301
|
/**
|
|
269
302
|
* This API (AttachInstances) is used to add CVM instances to an auto scaling group.
|
|
270
303
|
|
|
@@ -299,6 +332,17 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
299
332
|
this.request("DeleteScheduledAction", req, resp, cb);
|
|
300
333
|
}
|
|
301
334
|
|
|
335
|
+
/**
|
|
336
|
+
* This API is used to add CLBs to a security group.
|
|
337
|
+
* @param {AttachLoadBalancersRequest} req
|
|
338
|
+
* @param {function(string, AttachLoadBalancersResponse):void} cb
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
AttachLoadBalancers(req, cb) {
|
|
342
|
+
let resp = new AttachLoadBalancersResponse();
|
|
343
|
+
this.request("AttachLoadBalancers", req, resp, cb);
|
|
344
|
+
}
|
|
345
|
+
|
|
302
346
|
/**
|
|
303
347
|
* This API is used to remove CVM instances from a scaling group. Instances removed via this API will not be terminated.
|
|
304
348
|
* If the number of remaining `IN_SERVICE` instances in the scaling group is less than the minimum capacity, this API will return an error.
|
|
@@ -340,6 +384,17 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
340
384
|
this.request("CreateScheduledAction", req, resp, cb);
|
|
341
385
|
}
|
|
342
386
|
|
|
387
|
+
/**
|
|
388
|
+
* This API is used to query suggestions for scaling group configurations.
|
|
389
|
+
* @param {DescribeAutoScalingAdvicesRequest} req
|
|
390
|
+
* @param {function(string, DescribeAutoScalingAdvicesResponse):void} cb
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
DescribeAutoScalingAdvices(req, cb) {
|
|
394
|
+
let resp = new DescribeAutoScalingAdvicesResponse();
|
|
395
|
+
this.request("DescribeAutoScalingAdvices", req, resp, cb);
|
|
396
|
+
}
|
|
397
|
+
|
|
343
398
|
/**
|
|
344
399
|
* This API is used to delete CVM instances from a scaling group. Instances that are automatically created through AS will be terminated, while those manually added to the scaling group will be removed and retained.
|
|
345
400
|
* If the number of remaining `IN_SERVICE` instances in the scaling group is less than the minimum capacity, this API will return an error.
|