tencentcloud-sdk-nodejs-intl-en 3.0.1052 → 3.0.1054

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.1052",
3
+ "version": "3.0.1054",
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.1052";
1
+ const sdkVersion = "3.0.1054";
2
2
  module.exports = sdkVersion
@@ -881,11 +881,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
881
881
  this.NextRotationTime = null;
882
882
 
883
883
  /**
884
- * `0`: user-defined secret.
885
- `1`: Tencent Cloud services secret.
886
- `2`: SSH key secret.
887
- `3`: Tencent Cloud API key secret.
888
- Note: this field may return `null`, indicating that no valid values can be obtained.
884
+ * 0: custom secret;1: database credential;2: SSH key secret;3: cloud API key secret;4: Redis secret;Note: This field may return `null`, indicating no valid value can be obtained.
889
885
  * @type {number || null}
890
886
  */
891
887
  this.SecretType = null;
@@ -1379,11 +1375,8 @@ The `PendingCreate` and `CreateFailed` status only take effect when `SecretType`
1379
1375
  this.SecretType = null;
1380
1376
 
1381
1377
  /**
1382
- * This parameter is valid only when SecretType is `1`.
1383
-
1384
- An empty value indicates querying all types of Tencent Cloud service secrets.
1385
- `Mysql`: queries MySQL database credentials.
1386
- `Tdsql-mysql`: queries TDSQL MySQL database credentials.
1378
+ * This parameter only takes effect when the value of the SecretType parameter is 1.\nWhen the value of SecretType is `1`:
1379
+ If the ProductName value is empty, it means querying all types of Tencent Cloud product secrets;If the ProductName value is a specific cloud product value such as MySQL, it means querying MySQL database credential;If the ProductName value is multiple cloud product values, such as: Mysql, Tdsql-mysql, Tdsql_C_Mysql (multiple values are separated by commas in English), it means querying the secrets of three cloud product types;To query the list of supported cloud products, use the interface: `DescribeSupportedProducts`.
1387
1380
  * @type {string || null}
1388
1381
  */
1389
1382
  this.ProductName = null;
@@ -2502,7 +2495,7 @@ class ListSecretsResponse extends AbstractModel {
2502
2495
  this.SecretMetadatas = null;
2503
2496
 
2504
2497
  /**
2505
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2498
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2506
2499
  * @type {string || null}
2507
2500
  */
2508
2501
  this.RequestId = null;
@@ -17824,6 +17824,34 @@ class AttachCcnInstancesRequest extends AbstractModel {
17824
17824
  }
17825
17825
  }
17826
17826
 
17827
+ /**
17828
+ * ModifyBandwidthPackageBandwidth response structure.
17829
+ * @class
17830
+ */
17831
+ class ModifyBandwidthPackageBandwidthResponse extends AbstractModel {
17832
+ constructor(){
17833
+ super();
17834
+
17835
+ /**
17836
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
17837
+ * @type {string || null}
17838
+ */
17839
+ this.RequestId = null;
17840
+
17841
+ }
17842
+
17843
+ /**
17844
+ * @private
17845
+ */
17846
+ deserialize(params) {
17847
+ if (!params) {
17848
+ return;
17849
+ }
17850
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
17851
+
17852
+ }
17853
+ }
17854
+
17827
17855
  /**
17828
17856
  * DescribeDirectConnectGatewayCcnRoutes request structure.
17829
17857
  * @class
@@ -22732,6 +22760,41 @@ class ModifyVpcEndPointAttributeRequest extends AbstractModel {
22732
22760
  }
22733
22761
  }
22734
22762
 
22763
+ /**
22764
+ * ModifyBandwidthPackageBandwidth request structure.
22765
+ * @class
22766
+ */
22767
+ class ModifyBandwidthPackageBandwidthRequest extends AbstractModel {
22768
+ constructor(){
22769
+ super();
22770
+
22771
+ /**
22772
+ * Maximum bandwidth. Unit: Mbps.
22773
+ * @type {number || null}
22774
+ */
22775
+ this.InternetMaxBandwidth = null;
22776
+
22777
+ /**
22778
+ * Bandwidth package ID.
22779
+ * @type {string || null}
22780
+ */
22781
+ this.BandwidthPackageId = null;
22782
+
22783
+ }
22784
+
22785
+ /**
22786
+ * @private
22787
+ */
22788
+ deserialize(params) {
22789
+ if (!params) {
22790
+ return;
22791
+ }
22792
+ this.InternetMaxBandwidth = 'InternetMaxBandwidth' in params ? params.InternetMaxBandwidth : null;
22793
+ this.BandwidthPackageId = 'BandwidthPackageId' in params ? params.BandwidthPackageId : null;
22794
+
22795
+ }
22796
+ }
22797
+
22735
22798
  /**
22736
22799
  * DescribeTaskResult response structure.
22737
22800
  * @class
@@ -30060,6 +30123,7 @@ module.exports = {
30060
30123
  DeleteVpnGatewayRequest: DeleteVpnGatewayRequest,
30061
30124
  ReplaceRouteTableAssociationResponse: ReplaceRouteTableAssociationResponse,
30062
30125
  AttachCcnInstancesRequest: AttachCcnInstancesRequest,
30126
+ ModifyBandwidthPackageBandwidthResponse: ModifyBandwidthPackageBandwidthResponse,
30063
30127
  DescribeDirectConnectGatewayCcnRoutesRequest: DescribeDirectConnectGatewayCcnRoutesRequest,
30064
30128
  CcnInstance: CcnInstance,
30065
30129
  DescribeLocalGatewayResponse: DescribeLocalGatewayResponse,
@@ -30169,6 +30233,7 @@ module.exports = {
30169
30233
  AdjustPublicAddressRequest: AdjustPublicAddressRequest,
30170
30234
  CreateDirectConnectGatewayResponse: CreateDirectConnectGatewayResponse,
30171
30235
  ModifyVpcEndPointAttributeRequest: ModifyVpcEndPointAttributeRequest,
30236
+ ModifyBandwidthPackageBandwidthRequest: ModifyBandwidthPackageBandwidthRequest,
30172
30237
  DescribeTaskResultResponse: DescribeTaskResultResponse,
30173
30238
  DisassociateNetworkAclSubnetsRequest: DisassociateNetworkAclSubnetsRequest,
30174
30239
  ModifyAddressTemplateGroupAttributeRequest: ModifyAddressTemplateGroupAttributeRequest,
@@ -365,6 +365,7 @@ const DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse = models.Delet
365
365
  const DeleteVpnGatewayRequest = models.DeleteVpnGatewayRequest;
366
366
  const ReplaceRouteTableAssociationResponse = models.ReplaceRouteTableAssociationResponse;
367
367
  const AttachCcnInstancesRequest = models.AttachCcnInstancesRequest;
368
+ const ModifyBandwidthPackageBandwidthResponse = models.ModifyBandwidthPackageBandwidthResponse;
368
369
  const DescribeDirectConnectGatewayCcnRoutesRequest = models.DescribeDirectConnectGatewayCcnRoutesRequest;
369
370
  const CcnInstance = models.CcnInstance;
370
371
  const DescribeLocalGatewayResponse = models.DescribeLocalGatewayResponse;
@@ -474,6 +475,7 @@ const DeleteNatGatewayResponse = models.DeleteNatGatewayResponse;
474
475
  const AdjustPublicAddressRequest = models.AdjustPublicAddressRequest;
475
476
  const CreateDirectConnectGatewayResponse = models.CreateDirectConnectGatewayResponse;
476
477
  const ModifyVpcEndPointAttributeRequest = models.ModifyVpcEndPointAttributeRequest;
478
+ const ModifyBandwidthPackageBandwidthRequest = models.ModifyBandwidthPackageBandwidthRequest;
477
479
  const DescribeTaskResultResponse = models.DescribeTaskResultResponse;
478
480
  const DisassociateNetworkAclSubnetsRequest = models.DisassociateNetworkAclSubnetsRequest;
479
481
  const ModifyAddressTemplateGroupAttributeRequest = models.ModifyAddressTemplateGroupAttributeRequest;
@@ -2567,6 +2569,17 @@ Before taking actions on a NAT gateway, ensure that it has been successfully cre
2567
2569
  this.request("DescribeVpcEndPointServiceWhiteList", req, resp, cb);
2568
2570
  }
2569
2571
 
2572
+ /**
2573
+ * This API is used to adjust the bandwidth of a [bandwidth package](https://www.tencentcloud.com/document/product/684/15245).
2574
+ * @param {ModifyBandwidthPackageBandwidthRequest} req
2575
+ * @param {function(string, ModifyBandwidthPackageBandwidthResponse):void} cb
2576
+ * @public
2577
+ */
2578
+ ModifyBandwidthPackageBandwidth(req, cb) {
2579
+ let resp = new ModifyBandwidthPackageBandwidthResponse();
2580
+ this.request("ModifyBandwidthPackageBandwidth", req, resp, cb);
2581
+ }
2582
+
2570
2583
  /**
2571
2584
  * The API is used to reset a VPN tunnel.
2572
2585
  * @param {ResetVpnConnectionRequest} req