tencentcloud-sdk-nodejs-intl-en 3.0.1216 → 3.0.1218
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/CHANGELOG.md +48 -0
- package/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +41 -26
- package/tencentcloud/as/v20180419/models.js +594 -364
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/iai/v20200303/models.js +19 -14
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +2080 -348
- package/tencentcloud/teo/v20220901/teo_client.js +108 -22
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
## [3.0.1142](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.1141...3.0.1142) (2025-03-27)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* Update README.md (#11) ([48b7256](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/48b7256ec767acb6ddf15ba63aa2ad4d43aa2df7)), closes [#11](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/issues/11)
|
|
6
|
+
## [3.0.1135](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.1134...3.0.1135) (2025-03-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Change the sse data reading mode ([#10](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/issues/10)) ([a607fdd](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/a607fdd849005cca53bd27abd2d0c4cca1e456df))
|
|
11
|
+
## [3.0.1096](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.1095...3.0.1096) (2025-01-15)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* update readme ([33fd22a](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/33fd22aa89f2382136ef89a3170e64c002112f72))
|
|
16
|
+
## [3.0.923](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.922...3.0.923) (2024-04-24)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add export AbstractClient and AbstractModel ([#9](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/issues/9)) ([a3eea19](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/a3eea19f623adf452789d8149748dd0704669230))
|
|
21
|
+
## [3.0.904](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.903...3.0.904) (2024-03-28)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* request header add traceId ([#8](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/issues/8)) ([2dbc88f](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/2dbc88f6ef4f62ce76c6a6db895c0fffe867f43e))
|
|
26
|
+
## [3.0.881](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.880...3.0.881) (2024-02-26)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* sse response error ([#7](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/issues/7)) ([aaafe2e](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/aaafe2e6a2cdd8935e535d096ade5d422d1e4210))
|
|
31
|
+
## [3.0.872](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.871...3.0.872) (2024-01-29)
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* support CommonClient ([77a39ba](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/77a39ba0bba1f200547dac695aa1781141e4f57d))
|
|
36
|
+
* support requestOctetStream ([c42dca2](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/c42dca21106a0fe9679002f3c0f35768c9ab2a50))
|
|
37
|
+
* support text/event-stream ([9367c54](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/9367c542abe37abe1fd164c658102864680ecdef))
|
|
38
|
+
## [3.0.688](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/3.0.687...3.0.688) (2023-05-17)
|
|
39
|
+
|
|
40
|
+
### Features
|
|
41
|
+
|
|
42
|
+
* support signature process version 3 [#5](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/issues/5) ([2b2ba1a](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/2b2ba1a35ea325901decf5aeb8c625c741ef2499))
|
|
43
|
+
## [3.0.1](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/compare/4226d7ac635fd5d90835b7bc3c50d5c96035b297...3.0.1) (2020-03-19)
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* update readme ([227c584](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/227c584048887b21bffa1fc5532b462b75db657d))
|
|
48
|
+
* init commit ([4226d7a](https://github.com/tencentcloud/tencentcloud-sdk-nodejs-intl-en/commit/4226d7ac635fd5d90835b7bc3c50d5c96035b297))
|
package/package.json
CHANGED
|
@@ -31,6 +31,7 @@ const DescribeAccountLimitsResponse = models.DescribeAccountLimitsResponse;
|
|
|
31
31
|
const CreateLaunchConfigurationResponse = models.CreateLaunchConfigurationResponse;
|
|
32
32
|
const RelatedInstance = models.RelatedInstance;
|
|
33
33
|
const Advice = models.Advice;
|
|
34
|
+
const EnterStandbyRequest = models.EnterStandbyRequest;
|
|
34
35
|
const CreateLifecycleHookResponse = models.CreateLifecycleHookResponse;
|
|
35
36
|
const ClearLaunchConfigurationAttributesResponse = models.ClearLaunchConfigurationAttributesResponse;
|
|
36
37
|
const DescribeAutoScalingGroupsResponse = models.DescribeAutoScalingGroupsResponse;
|
|
@@ -45,7 +46,7 @@ const DetailedStatusMessage = models.DetailedStatusMessage;
|
|
|
45
46
|
const ModifyScheduledActionResponse = models.ModifyScheduledActionResponse;
|
|
46
47
|
const AttachLoadBalancersResponse = models.AttachLoadBalancersResponse;
|
|
47
48
|
const ExecuteScalingPolicyResponse = models.ExecuteScalingPolicyResponse;
|
|
48
|
-
const
|
|
49
|
+
const ForwardLoadBalancerIdentification = models.ForwardLoadBalancerIdentification;
|
|
49
50
|
const SetInstancesProtectionResponse = models.SetInstancesProtectionResponse;
|
|
50
51
|
const StartAutoScalingInstancesResponse = models.StartAutoScalingInstancesResponse;
|
|
51
52
|
const CompleteLifecycleActionRequest = models.CompleteLifecycleActionRequest;
|
|
@@ -90,6 +91,7 @@ const InvocationResult = models.InvocationResult;
|
|
|
90
91
|
const ModifyScalingPolicyRequest = models.ModifyScalingPolicyRequest;
|
|
91
92
|
const InstanceMarketOptionsRequest = models.InstanceMarketOptionsRequest;
|
|
92
93
|
const RefreshBatch = models.RefreshBatch;
|
|
94
|
+
const EnterStandbyResponse = models.EnterStandbyResponse;
|
|
93
95
|
const UpgradeLifecycleHookResponse = models.UpgradeLifecycleHookResponse;
|
|
94
96
|
const InstanceTag = models.InstanceTag;
|
|
95
97
|
const ModifyLifecycleHookResponse = models.ModifyLifecycleHookResponse;
|
|
@@ -156,7 +158,7 @@ const LifecycleHook = models.LifecycleHook;
|
|
|
156
158
|
const ForwardLoadBalancer = models.ForwardLoadBalancer;
|
|
157
159
|
const ClearLaunchConfigurationAttributesRequest = models.ClearLaunchConfigurationAttributesRequest;
|
|
158
160
|
const InstanceNameIndexSettings = models.InstanceNameIndexSettings;
|
|
159
|
-
const
|
|
161
|
+
const DeleteAutoScalingGroupRequest = models.DeleteAutoScalingGroupRequest;
|
|
160
162
|
const AutoScalingAdvice = models.AutoScalingAdvice;
|
|
161
163
|
const StartAutoScalingInstancesRequest = models.StartAutoScalingInstancesRequest;
|
|
162
164
|
const AttachInstancesRequest = models.AttachInstancesRequest;
|
|
@@ -323,9 +325,10 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
323
325
|
}
|
|
324
326
|
|
|
325
327
|
/**
|
|
326
|
-
* This API is used to exit instances from
|
|
327
|
-
*
|
|
328
|
-
|
|
328
|
+
* This API is used to exit instances from standby status in the scaling group.
|
|
329
|
+
* After exiting standby status, the instance enters running state and the CLB weight value is restored to the default value.
|
|
330
|
+
This API is used to call the Auto Scaling power-on/power-off API which may change the standby status, while the Cloud Virtual Machine server power on/off API will not affect it.
|
|
331
|
+
After instances exit standby status, the scaling group will raise the expected number of instances. The new expected number cannot exceed the maximum value.
|
|
329
332
|
* @param {ExitStandbyRequest} req
|
|
330
333
|
* @param {function(string, ExitStandbyResponse):void} cb
|
|
331
334
|
* @public
|
|
@@ -396,10 +399,9 @@ This API (UpgradeLaunchConfiguration) is used to upgrade the launch configuratio
|
|
|
396
399
|
}
|
|
397
400
|
|
|
398
401
|
/**
|
|
399
|
-
* This
|
|
402
|
+
* This interface (AttachInstances) is used to add CVM instances to a scaling group.
|
|
400
403
|
* Only CVM instances in `RUNNING` or `STOPPED` status can be added.
|
|
401
|
-
|
|
402
|
-
|
|
404
|
+
This API is used to ensure added CVM instances match the VPC network of the scaling group.
|
|
403
405
|
* @param {AttachInstancesRequest} req
|
|
404
406
|
* @param {function(string, AttachInstancesResponse):void} cb
|
|
405
407
|
* @public
|
|
@@ -615,11 +617,11 @@ When scale-in protection is enabled, the instance will not be removed in scale-i
|
|
|
615
617
|
}
|
|
616
618
|
|
|
617
619
|
/**
|
|
618
|
-
* This
|
|
620
|
+
* This interface (CreateLaunchConfiguration) is used to create new launch configuration.
|
|
619
621
|
|
|
620
|
-
* To modify a launch configuration,
|
|
622
|
+
* To modify a launch configuration, use [ModifyLaunchConfigurationAttributes](https://intl.cloud.tencent.com/document/api/377/31298?from_cn_redirect=1) to partially modify fields. If needed, create a new launch configuration.
|
|
621
623
|
|
|
622
|
-
|
|
624
|
+
By default, 50 launch configurations can be created per region. For details, see [Usage Limits](https://intl.cloud.tencent.com/document/product/377/3120?from_cn_redirect=1).
|
|
623
625
|
* @param {CreateLaunchConfigurationRequest} req
|
|
624
626
|
* @param {function(string, CreateLaunchConfigurationResponse):void} cb
|
|
625
627
|
* @public
|
|
@@ -706,11 +708,11 @@ Note: for a scaling group that is created based on a monthly-subscribed instance
|
|
|
706
708
|
}
|
|
707
709
|
|
|
708
710
|
/**
|
|
709
|
-
* This
|
|
711
|
+
* This interface (CreateLifecycleHook) is used for creating a lifecycle hook.
|
|
710
712
|
|
|
711
|
-
* You can configure notifications or automation commands
|
|
713
|
+
* You can configure notifications or automation commands for the lifecycle hook.
|
|
712
714
|
|
|
713
|
-
If you configured a notification, Auto Scaling will notify the TDMQ
|
|
715
|
+
If you configured a notification, Auto Scaling will notify the TDMQ Message Queue of the following information:.
|
|
714
716
|
|
|
715
717
|
```
|
|
716
718
|
{
|
|
@@ -718,11 +720,11 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
|
|
|
718
720
|
"Time": "2019-03-14T10:15:11Z",
|
|
719
721
|
"AppId": "1251783334",
|
|
720
722
|
"ActivityId": "asa-fznnvrja",
|
|
721
|
-
"AutoScalingGroupId": "asg-
|
|
722
|
-
"LifecycleHookId": "ash-
|
|
723
|
+
"AutoScalingGroupId": "asg-ft6y7u8n",
|
|
724
|
+
"LifecycleHookId": "ash-p9i7y6t5",
|
|
723
725
|
"LifecycleHookName": "my-hook",
|
|
724
726
|
"LifecycleActionToken": "3080e1c9-0efe-4dd7-ad3b-90cd6618298f",
|
|
725
|
-
"InstanceId": "ins-
|
|
727
|
+
"InstanceId": "ins-y6dr5e43",
|
|
726
728
|
"LifecycleTransition": "INSTANCE_LAUNCHING",
|
|
727
729
|
"NotificationMetadata": ""
|
|
728
730
|
}
|
|
@@ -787,6 +789,20 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
|
|
|
787
789
|
this.request("DescribeLaunchConfigurations", req, resp, cb);
|
|
788
790
|
}
|
|
789
791
|
|
|
792
|
+
/**
|
|
793
|
+
* This API is used to set instances within the scaling group to standby status.
|
|
794
|
+
Instances in standby status have a CLB weight value of 0 and will not be selected for scaling in, unhealthy replacement, or refresh operation.
|
|
795
|
+
This API is used to call the Auto Scaling power-on/power-off API which may change the standby status, while the Cloud Virtual Machine server power on/off API will not affect it.
|
|
796
|
+
The instance enters standby status, and the scaling group attempts to lower the expected number of instances, which will not be less than the minimum value.
|
|
797
|
+
* @param {EnterStandbyRequest} req
|
|
798
|
+
* @param {function(string, EnterStandbyResponse):void} cb
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
EnterStandby(req, cb) {
|
|
802
|
+
let resp = new EnterStandbyResponse();
|
|
803
|
+
this.request("EnterStandby", req, resp, cb);
|
|
804
|
+
}
|
|
805
|
+
|
|
790
806
|
/**
|
|
791
807
|
* This API (CreateScalingPolicy) is used to create an alarm trigger policy.
|
|
792
808
|
* @param {CreateScalingPolicyRequest} req
|
|
@@ -801,8 +817,7 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
|
|
|
801
817
|
/**
|
|
802
818
|
* This API (DeleteLaunchConfiguration) is used to delete a launch configuration.
|
|
803
819
|
|
|
804
|
-
* If the launch configuration is active in
|
|
805
|
-
|
|
820
|
+
* If the launch configuration is active in a scaling group, it cannot be deleted.
|
|
806
821
|
* @param {DeleteLaunchConfigurationRequest} req
|
|
807
822
|
* @param {function(string, DeleteLaunchConfigurationResponse):void} cb
|
|
808
823
|
* @public
|
|
@@ -935,10 +950,11 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
|
|
|
935
950
|
|
|
936
951
|
/**
|
|
937
952
|
* This API is used to cancel the instance refresh activity of the scaling group.
|
|
938
|
-
* The batches that have already been refreshed
|
|
939
|
-
* If a
|
|
940
|
-
|
|
941
|
-
*
|
|
953
|
+
* The batches that have already been refreshed remain unaffected, but the batches pending refresh will be canceled.
|
|
954
|
+
* If a batch is currently refreshing, cancellation is not allowed. You can suspend the event and wait until the current batch finishes before canceling.
|
|
955
|
+
This API is used to refresh the failed instances. If a refresh fails, the affected instances will remain in standby status, and require manual intervention to exit the standby status or terminate the instances.
|
|
956
|
+
* Rollback operations are not allowed after cancellation, and recovery is unsupported.
|
|
957
|
+
Temporarily expanded instances due to the maxSurge parameter are automatically destroyed after cancellation.
|
|
942
958
|
* During scale-in, all instances have already been updated and cannot be canceled.
|
|
943
959
|
* @param {CancelInstanceRefreshRequest} req
|
|
944
960
|
* @param {function(string, CancelInstanceRefreshResponse):void} cb
|
|
@@ -961,10 +977,9 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
|
|
|
961
977
|
}
|
|
962
978
|
|
|
963
979
|
/**
|
|
964
|
-
* This API (ModifyLaunchConfigurationAttributes) is used to modify
|
|
980
|
+
* This API (ModifyLaunchConfigurationAttributes) is used to modify part of a launch configuration's attributes.
|
|
965
981
|
|
|
966
|
-
|
|
967
|
-
* This API supports modifying certain simple types of attributes.
|
|
982
|
+
This API is used to modify the startup configuration. Existing instances scaled out using this configuration will not change, while newly added instances using this launch configuration will scale out according to the new configuration.
|
|
968
983
|
* @param {ModifyLaunchConfigurationAttributesRequest} req
|
|
969
984
|
* @param {function(string, ModifyLaunchConfigurationAttributesResponse):void} cb
|
|
970
985
|
* @public
|