tencentcloud-sdk-nodejs-intl-en 3.0.1051 → 3.0.1053

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1051",
3
+ "version": "3.0.1053",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -193,7 +193,8 @@ class AsClient extends AbstractClient {
193
193
  /**
194
194
  * This API is used to pause the ongoing instance refresh activity.
195
195
  * In the paused status, the scaling group will also be disabled.
196
- * Instances that are currently being updated will not be paused, instances pending updates will have their updates paused.
196
+ * The instances that are currently being updated or scaled out will not be paused, but instances pending updates will have their updates paused.
197
+ * During scale-in, all instances have already been updated and cannot be paused.
197
198
  * @param {StopInstanceRefreshRequest} req
198
199
  * @param {function(string, StopInstanceRefreshResponse):void} cb
199
200
  * @public
@@ -571,11 +572,12 @@ When scale-in protection is enabled, the instance will not be removed in scale-i
571
572
  }
572
573
 
573
574
  /**
574
- * This API is used to generate a new instance refresh activity, which also supports batched refreshing and operations such as pausing, resuming, and canceling. The interface returns the RefreshActivityId for the rollback activity.
575
- * Instances pending refresh in the original activity are updated to a canceled status. Nonexistent instances are disregarded, while instances in all other statuses proceed to enter the rollback process.
576
- * Instances that were being refreshed in the original activity will not be immediately terminated; instead, the rollback activity will be executed after their refresh has been completed.
577
- * Rollback is supported for activities that are in a paused status or those with the most recent successful refresh; it is not supported for activities in other statuses.
578
- * When the original refresh activity involves reinstalling instances, for the ImageId parameter, it will automatically restore to the image ID before the rollback; for parameters such as UserData, EnhancedService, LoginSettings, and HostName, they will still be retrieved from the launch configuration, requiring users to manually modify the launch configuration before initiating the rollback.
575
+ * This API is used to generate a new instance refresh activity, which also supports batch refreshing and operations such as pausing, resuming, and canceling. This API returns RefreshActivityId for the rollback activity.
576
+ * The instances pending refresh in the original activity are updated to canceled status. Nonexistent instances are disregarded, while instances in all other statuses proceed to enter the rollback process.
577
+ * The instances that are being refreshed in the original activity will not be immediately terminated. Instead, the rollback activity will be executed after their refresh complete.
578
+ * Rollback is supported for activities that are in the paused status or those succeeded in refreshing last time. It is not supported for activities in other statuses.
579
+ * When the original refresh activity involves reinstalling instances, for the ImageId parameter, it will automatically recover to the image ID before the rollback; for parameters such as UserData, EnhancedService, LoginSettings, and HostName, they will still be read from the launch configuration, requiring users to manually modify the launch configuration before initiating the rollback.
580
+ * The rollback activity does not support the MaxSurge parameter currently.
579
581
  * @param {RollbackInstanceRefreshRequest} req
580
582
  * @param {function(string, RollbackInstanceRefreshResponse):void} cb
581
583
  * @public
@@ -920,7 +922,9 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
920
922
  }
921
923
 
922
924
  /**
923
- * This API is used to resume the paused instance refresh activity, allowing it to retry failed instances in the current batch or proceed with refreshing subsequent batches. Note that calling this interface is ineffective when the activity is not in a paused status.
925
+ * This API is used to resume the paused instance refresh activity, allowing it to retry failed instances in the current batch or proceed with refreshing subsequent batches. Note that calling this API is ineffective when the activity is not in a paused status.
926
+
927
+ - When the MaxSurge parameter is used, the activity may be paused due to scale-out or scale-in failures. This API can also be used to retry scaling operations.
924
928
  * @param {ResumeInstanceRefreshRequest} req
925
929
  * @param {function(string, ResumeInstanceRefreshResponse):void} cb
926
930
  * @public
@@ -932,9 +936,11 @@ If you configured a notification, Auto Scaling will notify the TDMQ queue of the
932
936
 
933
937
  /**
934
938
  * This API is used to cancel the instance refresh activity of the scaling group.
935
- * Batches that have already been refreshed or are currently being refreshed remain unaffected; batches pending refresh will be canceled.
936
- * If a refresh fails, the affected instances will remain in the standby status and require manual intervention by the user to either attempt to exit the standby status or destroy the instances.
937
- * Rollback operations are not allowed after cancellation, and resuming is also unsupported.
939
+ * The batches that have already been refreshed or are currently being refreshed remain unaffected, but the batches pending refresh will be canceled.
940
+ * If a refresh fails, the affected instances will remain in the secondary status, and require manual intervention to exit the secondary status or terminate the instances.
941
+ * Rollback operations are not allowed after cancellation, and recovery is also unsupported.
942
+ * The instances temporarily scaled out due to the MaxSurge parameter are automatically terminated after cancellation.
943
+ * During scale-in, all instances have already been updated and cannot be canceled.
938
944
  * @param {CancelInstanceRefreshRequest} req
939
945
  * @param {function(string, CancelInstanceRefreshResponse):void} cb
940
946
  * @public
@@ -2793,11 +2793,20 @@ class RollingUpdateSettings extends AbstractModel {
2793
2793
  this.BatchNumber = null;
2794
2794
 
2795
2795
  /**
2796
- * Pause policy between batches. Default value: Automatic. Valid values: <br><li>FIRST_BATCH_PAUSE: Pause after the first batch update completes.</li> <li>BATCH_INTERVAL_PAUSE: Pause between each batch update.</li> <li>AUTOMATIC: No pauses.
2796
+ * Pause policy between batches. Default value: Automatic. Valid values:
2797
+ <li>FIRST_BATCH_PAUSE: Pause after the first batch of updates is completed.</li>
2798
+ <li>BATCH_INTERVAL_PAUSE: Pause between batches.</li>
2799
+ <li>AUTOMATIC: Do not pause.</li>
2797
2800
  * @type {string || null}
2798
2801
  */
2799
2802
  this.BatchPause = null;
2800
2803
 
2804
+ /**
2805
+ * The maximum additional quantity of instances. After this parameter is set, create a batch of additional pay-as-you-go instances according to the launch configuration before the rolling update starts. After the rolling update is completed, the additional instances will be terminated.This parameter is used to ensure a certain number of instances available during the rolling update. The maximum additional quantity of instances cannot exceed the number of refreshing instances in a single batch of the rolling update. The rollback process does not support this parameter currently.
2806
+ * @type {number || null}
2807
+ */
2808
+ this.MaxSurge = null;
2809
+
2801
2810
  }
2802
2811
 
2803
2812
  /**
@@ -2809,6 +2818,7 @@ class RollingUpdateSettings extends AbstractModel {
2809
2818
  }
2810
2819
  this.BatchNumber = 'BatchNumber' in params ? params.BatchNumber : null;
2811
2820
  this.BatchPause = 'BatchPause' in params ? params.BatchPause : null;
2821
+ this.MaxSurge = 'MaxSurge' in params ? params.MaxSurge : null;
2812
2822
 
2813
2823
  }
2814
2824
  }
@@ -7136,7 +7146,7 @@ class ResumeInstanceRefreshRequest extends AbstractModel {
7136
7146
  this.RefreshActivityId = null;
7137
7147
 
7138
7148
  /**
7139
- * The recovery method for the current batch's failed instances. If there are no failed instances, this parameter becomes invalid. Default value: RETRY. Valid values: <br><li>RETRY: Retry refreshing failed instances in the current batch.</li> <li>CONTINUE: Skip failed instances in the current batch.
7149
+ * Recovery mode of instances that have failed to be refreshed in the current batch. If there are no failed instances, this parameter is invalid. Default value: RETRY. Valid values: <li>RETRY: Retry instances that have failed to be refreshed in the current batch.</li> <li>CONTINUE: Skip instances that have failed to be refreshed in the current batch.</li>
7140
7150
  * @type {string || null}
7141
7151
  */
7142
7152
  this.ResumeMode = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1051";
1
+ const sdkVersion = "3.0.1053";
2
2
  module.exports = sdkVersion