tencentcloud-sdk-nodejs-as 4.1.28 → 4.1.37
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
|
@@ -1573,7 +1573,7 @@ export interface ScaleInInstancesResponse {
|
|
|
1573
1573
|
/**
|
|
1574
1574
|
* 伸缩活动ID。
|
|
1575
1575
|
*/
|
|
1576
|
-
ActivityId
|
|
1576
|
+
ActivityId?: string;
|
|
1577
1577
|
/**
|
|
1578
1578
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1579
1579
|
*/
|
|
@@ -1683,6 +1683,10 @@ export interface DescribeAutoScalingGroupLastActivitiesRequest {
|
|
|
1683
1683
|
* 伸缩组ID列表
|
|
1684
1684
|
*/
|
|
1685
1685
|
AutoScalingGroupIds: Array<string>;
|
|
1686
|
+
/**
|
|
1687
|
+
* 查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
|
|
1688
|
+
*/
|
|
1689
|
+
ExcludeCancelledActivity?: boolean;
|
|
1686
1690
|
}
|
|
1687
1691
|
/**
|
|
1688
1692
|
* 云服务器主机名(HostName)的相关设置
|
|
@@ -1821,7 +1825,7 @@ export interface ModifyNotificationConfigurationRequest {
|
|
|
1821
1825
|
*/
|
|
1822
1826
|
export interface DeleteLifecycleHookRequest {
|
|
1823
1827
|
/**
|
|
1824
|
-
* 生命周期挂钩ID
|
|
1828
|
+
* 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
|
1825
1829
|
*/
|
|
1826
1830
|
LifecycleHookId: string;
|
|
1827
1831
|
}
|
|
@@ -3522,11 +3526,13 @@ export interface DescribeNotificationConfigurationsRequest {
|
|
|
3522
3526
|
*/
|
|
3523
3527
|
export interface ScaleInInstancesRequest {
|
|
3524
3528
|
/**
|
|
3525
|
-
* 伸缩组ID
|
|
3529
|
+
* 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
|
3530
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
|
3531
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
3526
3532
|
*/
|
|
3527
3533
|
AutoScalingGroupId: string;
|
|
3528
3534
|
/**
|
|
3529
|
-
*
|
|
3535
|
+
* 希望缩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最小值的差值。例如伸缩组期望数为 100,最小值为 20,此时可取值范围为 [1,80]。
|
|
3530
3536
|
*/
|
|
3531
3537
|
ScaleInNumber: number;
|
|
3532
3538
|
}
|
|
@@ -3547,15 +3553,19 @@ export interface LifecycleHook {
|
|
|
3547
3553
|
*/
|
|
3548
3554
|
AutoScalingGroupId?: string;
|
|
3549
3555
|
/**
|
|
3550
|
-
*
|
|
3556
|
+
* 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
|
3557
|
+
- CONTINUE: 默认值,表示继续执行扩缩容活动
|
|
3558
|
+
- ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动
|
|
3551
3559
|
*/
|
|
3552
3560
|
DefaultResult?: string;
|
|
3553
3561
|
/**
|
|
3554
|
-
*
|
|
3562
|
+
* 生命周期挂钩超时等待时间(以秒为单位),范围从 30 到 7200 秒。
|
|
3555
3563
|
*/
|
|
3556
3564
|
HeartbeatTimeout?: number;
|
|
3557
3565
|
/**
|
|
3558
|
-
*
|
|
3566
|
+
* 生命周期挂钩场景,取值范围如下:
|
|
3567
|
+
- INSTANCE_LAUNCHING: 扩容生命周期挂钩
|
|
3568
|
+
- INSTANCE_TERMINATING: 缩容生命周期挂钩
|
|
3559
3569
|
*/
|
|
3560
3570
|
LifecycleTransition?: string;
|
|
3561
3571
|
/**
|
|
@@ -3563,7 +3573,7 @@ export interface LifecycleHook {
|
|
|
3563
3573
|
*/
|
|
3564
3574
|
NotificationMetadata?: string;
|
|
3565
3575
|
/**
|
|
3566
|
-
*
|
|
3576
|
+
* 创建时间,采用 UTC 标准计时
|
|
3567
3577
|
*/
|
|
3568
3578
|
CreatedTime?: string;
|
|
3569
3579
|
/**
|
|
@@ -3571,7 +3581,8 @@ export interface LifecycleHook {
|
|
|
3571
3581
|
*/
|
|
3572
3582
|
NotificationTarget?: NotificationTarget;
|
|
3573
3583
|
/**
|
|
3574
|
-
*
|
|
3584
|
+
* 进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
|
3585
|
+
说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
|
3575
3586
|
*/
|
|
3576
3587
|
LifecycleTransitionType?: string;
|
|
3577
3588
|
/**
|