tencentcloud-sdk-nodejs-as 4.0.331 → 4.0.334
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 +421 -0
- package/SERVICE_CHANGELOG.md +944 -483
- package/package.json +1 -1
- package/products.md +45 -44
- package/src/services/as/v20180419/as_client.ts +12 -0
- package/src/services/as/v20180419/as_models.ts +99 -15
- package/tencentcloud/services/as/v20180419/as_client.d.ts +5 -1
- package/tencentcloud/services/as/v20180419/as_client.js +6 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +88 -15
|
@@ -471,19 +471,19 @@ export interface DescribeAccountLimitsResponse {
|
|
|
471
471
|
/**
|
|
472
472
|
* 用户账户被允许创建的启动配置最大数量
|
|
473
473
|
*/
|
|
474
|
-
MaxNumberOfLaunchConfigurations
|
|
474
|
+
MaxNumberOfLaunchConfigurations: number;
|
|
475
475
|
/**
|
|
476
476
|
* 用户账户启动配置的当前数量
|
|
477
477
|
*/
|
|
478
|
-
NumberOfLaunchConfigurations
|
|
478
|
+
NumberOfLaunchConfigurations: number;
|
|
479
479
|
/**
|
|
480
480
|
* 用户账户被允许创建的伸缩组最大数量
|
|
481
481
|
*/
|
|
482
|
-
MaxNumberOfAutoScalingGroups
|
|
482
|
+
MaxNumberOfAutoScalingGroups: number;
|
|
483
483
|
/**
|
|
484
484
|
* 用户账户伸缩组的当前数量
|
|
485
485
|
*/
|
|
486
|
-
NumberOfAutoScalingGroups
|
|
486
|
+
NumberOfAutoScalingGroups: number;
|
|
487
487
|
/**
|
|
488
488
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
489
489
|
*/
|
|
@@ -548,11 +548,11 @@ export interface DescribeAutoScalingGroupsResponse {
|
|
|
548
548
|
/**
|
|
549
549
|
* 伸缩组详细信息列表。
|
|
550
550
|
*/
|
|
551
|
-
AutoScalingGroupSet
|
|
551
|
+
AutoScalingGroupSet: Array<AutoScalingGroup>;
|
|
552
552
|
/**
|
|
553
553
|
* 符合条件的伸缩组数量。
|
|
554
554
|
*/
|
|
555
|
-
TotalCount
|
|
555
|
+
TotalCount: number;
|
|
556
556
|
/**
|
|
557
557
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
558
558
|
*/
|
|
@@ -1135,8 +1135,18 @@ export interface AutoScalingGroup {
|
|
|
1135
1135
|
*/
|
|
1136
1136
|
AutoScalingGroupName: string;
|
|
1137
1137
|
/**
|
|
1138
|
-
|
|
1139
|
-
|
|
1138
|
+
* 伸缩组当前状态。取值范围:<br>
|
|
1139
|
+
<li>NORMAL:正常<br>
|
|
1140
|
+
<li>CVM_ABNORMAL:启动配置异常<br>
|
|
1141
|
+
<li>LB_ABNORMAL:负载均衡器异常<br>
|
|
1142
|
+
<li>LB_LISTENER_ABNORMAL:负载均衡器监听器异常<br>
|
|
1143
|
+
<li>LB_LOCATION_ABNORMAL:负载均衡器监听器转发配置异常<br>
|
|
1144
|
+
<li>VPC_ABNORMAL:VPC网络异常<br>
|
|
1145
|
+
<li>SUBNET_ABNORMAL:VPC子网异常<br>
|
|
1146
|
+
<li>INSUFFICIENT_BALANCE:余额不足<br>
|
|
1147
|
+
<li>LB_BACKEND_REGION_NOT_MATCH:CLB实例后端地域与AS服务所在地域不匹配<br>
|
|
1148
|
+
<li>LB_BACKEND_VPC_NOT_MATCH:CLB实例VPC与伸缩组VPC不匹配
|
|
1149
|
+
*/
|
|
1140
1150
|
AutoScalingGroupStatus: string;
|
|
1141
1151
|
/**
|
|
1142
1152
|
* 创建时间,采用UTC标准计时
|
|
@@ -1278,7 +1288,7 @@ export interface DescribeAutoScalingGroupLastActivitiesResponse {
|
|
|
1278
1288
|
/**
|
|
1279
1289
|
* 符合条件的伸缩活动信息集合。说明:伸缩组伸缩活动不存在的则不返回,如传50个伸缩组ID,返回45条数据,说明其中有5个伸缩组伸缩活动不存在。
|
|
1280
1290
|
*/
|
|
1281
|
-
ActivitySet
|
|
1291
|
+
ActivitySet: Array<Activity>;
|
|
1282
1292
|
/**
|
|
1283
1293
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1284
1294
|
*/
|
|
@@ -1586,6 +1596,15 @@ export interface InstanceTag {
|
|
|
1586
1596
|
*/
|
|
1587
1597
|
Value: string;
|
|
1588
1598
|
}
|
|
1599
|
+
/**
|
|
1600
|
+
* ModifyLifecycleHook返回参数结构体
|
|
1601
|
+
*/
|
|
1602
|
+
export interface ModifyLifecycleHookResponse {
|
|
1603
|
+
/**
|
|
1604
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1605
|
+
*/
|
|
1606
|
+
RequestId?: string;
|
|
1607
|
+
}
|
|
1589
1608
|
/**
|
|
1590
1609
|
* DescribeAutoScalingAdvices返回参数结构体
|
|
1591
1610
|
*/
|
|
@@ -1856,11 +1875,11 @@ export interface DescribeNotificationConfigurationsResponse {
|
|
|
1856
1875
|
/**
|
|
1857
1876
|
* 符合条件的通知数量。
|
|
1858
1877
|
*/
|
|
1859
|
-
TotalCount
|
|
1878
|
+
TotalCount: number;
|
|
1860
1879
|
/**
|
|
1861
1880
|
* 弹性伸缩事件通知详细信息列表。
|
|
1862
1881
|
*/
|
|
1863
|
-
AutoScalingNotificationSet
|
|
1882
|
+
AutoScalingNotificationSet: Array<AutoScalingNotification>;
|
|
1864
1883
|
/**
|
|
1865
1884
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1866
1885
|
*/
|
|
@@ -1871,7 +1890,7 @@ export interface DescribeNotificationConfigurationsResponse {
|
|
|
1871
1890
|
*/
|
|
1872
1891
|
export interface DataDisk {
|
|
1873
1892
|
/**
|
|
1874
|
-
* 数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><br>默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
|
|
1893
|
+
* 数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><br>默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
|
|
1875
1894
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1876
1895
|
*/
|
|
1877
1896
|
DiskType?: string;
|
|
@@ -1895,6 +1914,12 @@ export interface DataDisk {
|
|
|
1895
1914
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1896
1915
|
*/
|
|
1897
1916
|
Encrypt?: boolean;
|
|
1917
|
+
/**
|
|
1918
|
+
* 云硬盘性能,单位:MB/s。使用此参数可给云硬盘购买额外的性能,功能介绍和类型限制详见:[增强型 SSD 云硬盘额外性能说明](https://cloud.tencent.com/document/product/362/51896#.E5.A2.9E.E5.BC.BA.E5.9E.8B-ssd-.E4.BA.91.E7.A1.AC.E7.9B.98.E9.A2.9D.E5.A4.96.E6.80.A7.E8.83.BD)。
|
|
1919
|
+
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且 需容量 > 460GB。
|
|
1920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1921
|
+
*/
|
|
1922
|
+
ThroughputPerformance?: number;
|
|
1898
1923
|
}
|
|
1899
1924
|
/**
|
|
1900
1925
|
* DeleteScalingPolicy请求参数结构体
|
|
@@ -2164,7 +2189,7 @@ export interface CreateScheduledActionResponse {
|
|
|
2164
2189
|
/**
|
|
2165
2190
|
* 定时任务ID
|
|
2166
2191
|
*/
|
|
2167
|
-
ScheduledActionId
|
|
2192
|
+
ScheduledActionId: string;
|
|
2168
2193
|
/**
|
|
2169
2194
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2170
2195
|
*/
|
|
@@ -2256,6 +2281,47 @@ export interface ScheduledAction {
|
|
|
2256
2281
|
*/
|
|
2257
2282
|
ScheduledType: string;
|
|
2258
2283
|
}
|
|
2284
|
+
/**
|
|
2285
|
+
* ModifyLifecycleHook请求参数结构体
|
|
2286
|
+
*/
|
|
2287
|
+
export interface ModifyLifecycleHookRequest {
|
|
2288
|
+
/**
|
|
2289
|
+
* 生命周期挂钩ID。
|
|
2290
|
+
*/
|
|
2291
|
+
LifecycleHookId: string;
|
|
2292
|
+
/**
|
|
2293
|
+
* 生命周期挂钩名称。
|
|
2294
|
+
*/
|
|
2295
|
+
LifecycleHookName?: string;
|
|
2296
|
+
/**
|
|
2297
|
+
* 进入生命周期挂钩场景,取值包括:
|
|
2298
|
+
<li> INSTANCE_LAUNCHING:实例启动后
|
|
2299
|
+
<li> INSTANCE_TERMINATING:实例销毁前
|
|
2300
|
+
*/
|
|
2301
|
+
LifecycleTransition?: string;
|
|
2302
|
+
/**
|
|
2303
|
+
* 定义伸缩组在生命周期挂钩超时的情况下应采取的操作,取值包括:
|
|
2304
|
+
<li> CONTINUE: 超时后继续伸缩活动
|
|
2305
|
+
<li> ABANDON:超时后终止伸缩活动
|
|
2306
|
+
*/
|
|
2307
|
+
DefaultResult?: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从 30 到 7200 秒。
|
|
2310
|
+
*/
|
|
2311
|
+
HeartbeatTimeout?: number;
|
|
2312
|
+
/**
|
|
2313
|
+
* 弹性伸缩向通知目标发送的附加信息。
|
|
2314
|
+
*/
|
|
2315
|
+
NotificationMetadata?: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* 进行生命周期挂钩的场景类型,取值范围包括`NORMAL`和 `EXTENSION`。说明:设置为`EXTENSION`值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为`NORMAL`则不会在这些接口中触发生命周期挂钩。
|
|
2318
|
+
*/
|
|
2319
|
+
LifecycleTransitionType?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* 通知目标信息。
|
|
2322
|
+
*/
|
|
2323
|
+
NotificationTarget?: NotificationTarget;
|
|
2324
|
+
}
|
|
2259
2325
|
/**
|
|
2260
2326
|
* CompleteLifecycleAction返回参数结构体
|
|
2261
2327
|
*/
|
|
@@ -2772,6 +2838,13 @@ export interface AutoScalingAdvice {
|
|
|
2772
2838
|
* 伸缩组ID。
|
|
2773
2839
|
*/
|
|
2774
2840
|
AutoScalingGroupId: string;
|
|
2841
|
+
/**
|
|
2842
|
+
* 伸缩组警告级别。取值范围:<br>
|
|
2843
|
+
<li>NORMAL:正常<br>
|
|
2844
|
+
<li>WARNING:警告级别<br>
|
|
2845
|
+
<li>CRITICAL:严重级别<br>
|
|
2846
|
+
*/
|
|
2847
|
+
Level: string;
|
|
2775
2848
|
/**
|
|
2776
2849
|
* 伸缩组配置建议集合。
|
|
2777
2850
|
*/
|
|
@@ -2859,11 +2932,11 @@ export interface DescribeScalingPoliciesResponse {
|
|
|
2859
2932
|
/**
|
|
2860
2933
|
* 弹性伸缩告警触发策略详细信息列表。
|
|
2861
2934
|
*/
|
|
2862
|
-
ScalingPolicySet
|
|
2935
|
+
ScalingPolicySet: Array<ScalingPolicy>;
|
|
2863
2936
|
/**
|
|
2864
2937
|
* 符合条件的通知数量。
|
|
2865
2938
|
*/
|
|
2866
|
-
TotalCount
|
|
2939
|
+
TotalCount: number;
|
|
2867
2940
|
/**
|
|
2868
2941
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2869
2942
|
*/
|