tencentcloud-sdk-nodejs 4.0.1051 → 4.0.1052

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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/src/common/sdk_version.ts +1 -1
  3. package/src/services/as/v20180419/as_client.ts +17 -2
  4. package/src/services/as/v20180419/as_models.ts +44 -16
  5. package/src/services/cdc/v20201214/cdc_models.ts +19 -45
  6. package/src/services/cdwch/v20200915/cdwch_client.ts +1 -0
  7. package/src/services/cdwch/v20200915/cdwch_models.ts +34 -0
  8. package/src/services/cdz/v20221123/cdz_models.ts +0 -4
  9. package/src/services/cynosdb/v20190107/cynosdb_models.ts +10 -155
  10. package/src/services/dbbrain/v20210527/dbbrain_models.ts +6 -2
  11. package/src/services/hunyuan/v20230901/hunyuan_client.ts +24 -2
  12. package/src/services/hunyuan/v20230901/hunyuan_models.ts +185 -39
  13. package/src/services/lcic/v20220817/lcic_models.ts +2 -2
  14. package/src/services/lighthouse/v20200324/lighthouse_client.ts +19 -11
  15. package/src/services/lighthouse/v20200324/lighthouse_models.ts +78 -28
  16. package/src/services/lke/v20231130/lke_client.ts +1 -1
  17. package/src/services/lke/v20231130/lke_models.ts +3 -3
  18. package/src/services/ocr/v20181119/ocr_client.ts +1 -0
  19. package/src/services/ocr/v20181119/ocr_models.ts +20 -0
  20. package/src/services/ssl/v20191205/ssl_models.ts +15 -171
  21. package/src/services/tchd/v20230306/tchd_client.ts +16 -2
  22. package/src/services/tchd/v20230306/tchd_models.ts +64 -15
  23. package/src/services/wedata/v20210820/wedata_models.ts +64 -94
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/as/v20180419/as_client.d.ts +8 -1
  27. package/tencentcloud/services/as/v20180419/as_client.js +9 -0
  28. package/tencentcloud/services/as/v20180419/as_models.d.ts +42 -16
  29. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +19 -45
  30. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +33 -0
  31. package/tencentcloud/services/cdz/v20221123/cdz_models.d.ts +0 -4
  32. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -151
  33. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +6 -2
  34. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +12 -1
  35. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +13 -0
  36. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +180 -39
  37. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -2
  38. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +12 -4
  39. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +12 -4
  40. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +78 -28
  41. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
  42. package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
  43. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +3 -3
  44. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +19 -0
  45. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +3 -159
  46. package/tencentcloud/services/tchd/v20230306/tchd_client.d.ts +6 -1
  47. package/tencentcloud/services/tchd/v20230306/tchd_client.js +7 -0
  48. package/tencentcloud/services/tchd/v20230306/tchd_models.d.ts +60 -14
  49. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +64 -94
@@ -18,10 +18,13 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
- EventDetail,
21
+ DescribeEventStatisticsResponse,
22
22
  DescribeEventsResponse,
23
- DescribeEventsRequest,
23
+ EventDetail,
24
24
  ProductEventList,
25
+ TotalStatus,
26
+ DescribeEventStatisticsRequest,
27
+ DescribeEventsRequest,
25
28
  } from "./tchd_models"
26
29
 
27
30
  /**
@@ -44,4 +47,15 @@ export class Client extends AbstractClient {
44
47
  ): Promise<DescribeEventsResponse> {
45
48
  return this.request("DescribeEvents", req, cb)
46
49
  }
50
+
51
+ /**
52
+ * 本接口用于查询腾讯云健康看板的实时可用性事件信息,可以通过产品列表、地域进行过滤查询。
53
+ 可以参考健康看板历史事件页面来获取查询案例(链接:https://status.cloud.tencent.com/history)。
54
+ */
55
+ async DescribeEventStatistics(
56
+ req: DescribeEventStatisticsRequest,
57
+ cb?: (error: string, rep: DescribeEventStatisticsResponse) => void
58
+ ): Promise<DescribeEventStatisticsResponse> {
59
+ return this.request("DescribeEventStatistics", req, cb)
60
+ }
47
61
  }
@@ -15,6 +15,34 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * DescribeEventStatistics返回参数结构体
20
+ */
21
+ export interface DescribeEventStatisticsResponse {
22
+ /**
23
+ * 正常产品数
24
+ */
25
+ Data?: TotalStatus
26
+ /**
27
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
28
+ */
29
+ RequestId?: string
30
+ }
31
+
32
+ /**
33
+ * DescribeEvents返回参数结构体
34
+ */
35
+ export interface DescribeEventsResponse {
36
+ /**
37
+ * 事件详情列表
38
+ */
39
+ Data?: ProductEventList
40
+ /**
41
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
42
+ */
43
+ RequestId?: string
44
+ }
45
+
18
46
  /**
19
47
  * 事件详情信息,包含:产品名称、地域名称、事件开始时间、事件结束时间、事件当前状态;
20
48
  */
@@ -50,17 +78,48 @@ export interface EventDetail {
50
78
  }
51
79
 
52
80
  /**
53
- * DescribeEvents返回参数结构体
81
+ * 产品可用性事件详情列表
54
82
  */
55
- export interface DescribeEventsResponse {
83
+ export interface ProductEventList {
56
84
  /**
57
85
  * 事件详情列表
58
86
  */
59
- Data?: ProductEventList
87
+ EventList?: Array<EventDetail>
88
+ }
89
+
90
+ /**
91
+ * 状态汇总
92
+ */
93
+ export interface TotalStatus {
60
94
  /**
61
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
95
+ * 正常状态的数目
62
96
  */
63
- RequestId?: string
97
+ NormalCount?: number
98
+ /**
99
+ * 通知状态的数目
100
+ */
101
+ NotifyCount?: number
102
+ /**
103
+ * 异常状态的数目
104
+ 注意:此字段可能返回 null,表示取不到有效值。
105
+ */
106
+ AbnormalCount?: number
107
+ }
108
+
109
+ /**
110
+ * DescribeEventStatistics请求参数结构体
111
+ */
112
+ export interface DescribeEventStatisticsRequest {
113
+ /**
114
+ * 1. 查询非区域性产品事件时,地域ID指定为:non-regional
115
+ 2. 其他地域ID取值请参考:https://cloud.tencent.com/document/api/213/15692
116
+ */
117
+ RegionId: string
118
+ /**
119
+ * 1. 不指定产品列表时将查询所有产品。
120
+ 2. 产品ID示例:cvm、lb、cdb、cdn、crs
121
+ */
122
+ ProductIds?: Array<string>
64
123
  }
65
124
 
66
125
  /**
@@ -83,13 +142,3 @@ export interface DescribeEventsRequest {
83
142
  */
84
143
  RegionIds?: Array<string>
85
144
  }
86
-
87
- /**
88
- * 产品可用性事件详情列表
89
- */
90
- export interface ProductEventList {
91
- /**
92
- * 事件详情列表
93
- */
94
- EventList?: Array<EventDetail>
95
- }
@@ -233,7 +233,7 @@ export interface DescribeReportTaskListRequest {
233
233
  */
234
234
  EngineTaskId?: string
235
235
  /**
236
- * 产品模块
236
+ * 数据来源,DATA_INTEGRATION、DATA_EXPLORATION、DATA_QUALITY、OM_CENTER等
237
237
  */
238
238
  ProductSource?: string
239
239
  /**
@@ -5742,7 +5742,7 @@ presto\SparkJob\SparkSql
5742
5742
  */
5743
5743
  export interface DescribeReportTaskListResponse {
5744
5744
  /**
5745
- * 1
5745
+ * 任务列表信息
5746
5746
  */
5747
5747
  Data?: ReportTaskListInfo
5748
5748
  /**
@@ -6782,92 +6782,92 @@ export interface ModifyApproveStatusResponse {
6782
6782
  */
6783
6783
  export interface TaskInfoVo {
6784
6784
  /**
6785
- * 1
6785
+ * 租户id
6786
6786
  注意:此字段可能返回 null,表示取不到有效值。
6787
6787
  */
6788
6788
  AppID?: string
6789
6789
  /**
6790
- * 1
6790
+ * 项目id
6791
6791
  注意:此字段可能返回 null,表示取不到有效值。
6792
6792
  */
6793
6793
  ProjectId?: string
6794
6794
  /**
6795
- * 1
6795
+ * 任务id
6796
6796
  注意:此字段可能返回 null,表示取不到有效值。
6797
6797
  */
6798
6798
  TaskId?: string
6799
6799
  /**
6800
- * 1
6800
+ * 任务名
6801
6801
  注意:此字段可能返回 null,表示取不到有效值。
6802
6802
  */
6803
6803
  TaskName?: string
6804
6804
  /**
6805
- * 1
6805
+ * 任务类型id
6806
6806
  注意:此字段可能返回 null,表示取不到有效值。
6807
6807
  */
6808
6808
  TaskTypeId?: number
6809
6809
  /**
6810
- * 1
6810
+ * 主账号id
6811
6811
  注意:此字段可能返回 null,表示取不到有效值。
6812
6812
  */
6813
6813
  OnwerUid?: string
6814
6814
  /**
6815
- * 1
6815
+ * 负责人
6816
6816
  注意:此字段可能返回 null,表示取不到有效值。
6817
6817
  */
6818
6818
  InChargeId?: string
6819
6819
  /**
6820
- * 1
6820
+ * 实例id
6821
6821
  注意:此字段可能返回 null,表示取不到有效值。
6822
6822
  */
6823
6823
  InstanceId?: string
6824
6824
  /**
6825
- * 1
6825
+ * jobId
6826
6826
  注意:此字段可能返回 null,表示取不到有效值。
6827
6827
  */
6828
6828
  JobId?: string
6829
6829
  /**
6830
- * 1
6830
+ * 引擎类型,DLC、EMR
6831
6831
  注意:此字段可能返回 null,表示取不到有效值。
6832
6832
  */
6833
6833
  EngineType?: string
6834
6834
  /**
6835
- * 1
6835
+ * 引擎名称
6836
6836
  注意:此字段可能返回 null,表示取不到有效值。
6837
6837
  */
6838
6838
  EngineName?: string
6839
6839
  /**
6840
- * 1
6840
+ * 引擎子类型
6841
6841
  注意:此字段可能返回 null,表示取不到有效值。
6842
6842
  */
6843
6843
  EngineSubType?: string
6844
6844
  /**
6845
- * 1
6845
+ * 引擎taskId
6846
6846
  注意:此字段可能返回 null,表示取不到有效值。
6847
6847
  */
6848
6848
  EngineTaskId?: string
6849
6849
  /**
6850
- * 1
6850
+ * 引擎执行状态,枚举
6851
6851
  注意:此字段可能返回 null,表示取不到有效值。
6852
6852
  */
6853
6853
  EngineExeStatus?: string
6854
6854
  /**
6855
- * 1
6855
+ * 引擎执行用户
6856
6856
  注意:此字段可能返回 null,表示取不到有效值。
6857
6857
  */
6858
6858
  EngineExeUser?: string
6859
6859
  /**
6860
- * 1
6860
+ * 引擎执行开始时间
6861
6861
  注意:此字段可能返回 null,表示取不到有效值。
6862
6862
  */
6863
6863
  EngineExeStartTime?: string
6864
6864
  /**
6865
- * 1
6865
+ * 引擎执行结束时间
6866
6866
  注意:此字段可能返回 null,表示取不到有效值。
6867
6867
  */
6868
6868
  EngineExeEndTime?: string
6869
6869
  /**
6870
- * 1
6870
+ * 数据来源,DATA_INTEGRATION、DATA_EXPLORATION、DATA_QUALITY、OM_CENTER等
6871
6871
  注意:此字段可能返回 null,表示取不到有效值。
6872
6872
  */
6873
6873
  ProductSource?: string
@@ -8200,37 +8200,37 @@ export interface InstanceCondition {
8200
8200
  */
8201
8201
  export interface ReportTaskDetail {
8202
8202
  /**
8203
- * 1
8203
+ * 引擎任务id
8204
8204
  注意:此字段可能返回 null,表示取不到有效值。
8205
8205
  */
8206
8206
  EngineTaskId?: string
8207
8207
  /**
8208
- * 1
8208
+ * 引擎执行状态,枚举
8209
8209
  注意:此字段可能返回 null,表示取不到有效值。
8210
8210
  */
8211
8211
  EngineExeStatus?: string
8212
8212
  /**
8213
- * 1
8213
+ * 引擎执行开始时间
8214
8214
  注意:此字段可能返回 null,表示取不到有效值。
8215
8215
  */
8216
8216
  EngineExeStartTime?: string
8217
8217
  /**
8218
- * 1
8218
+ * 引擎执行结束时间
8219
8219
  注意:此字段可能返回 null,表示取不到有效值。
8220
8220
  */
8221
8221
  EngineExeEndTime?: string
8222
8222
  /**
8223
- * 1
8223
+ * 任务类型id
8224
8224
  注意:此字段可能返回 null,表示取不到有效值。
8225
8225
  */
8226
8226
  TaskTypeId?: number
8227
8227
  /**
8228
- * 1
8228
+ * 业务信息
8229
8229
  注意:此字段可能返回 null,表示取不到有效值。
8230
8230
  */
8231
8231
  BusinessInfo?: string
8232
8232
  /**
8233
- * 1
8233
+ * 引擎任务信息
8234
8234
  注意:此字段可能返回 null,表示取不到有效值。
8235
8235
  */
8236
8236
  EngineTaskInfo?: EngineTaskInfo
@@ -10241,102 +10241,107 @@ ACROSS_WORKFLOWS:跨工作流
10241
10241
  */
10242
10242
  export interface EngineTaskInfo {
10243
10243
  /**
10244
- * 1
10244
+ * 引擎提交时间
10245
10245
  注意:此字段可能返回 null,表示取不到有效值。
10246
10246
  */
10247
10247
  EngineSubmitTime?: string
10248
10248
  /**
10249
- * 1
10249
+ * 引擎执行时间
10250
10250
  注意:此字段可能返回 null,表示取不到有效值。
10251
10251
  */
10252
10252
  EngineExeTime?: string
10253
10253
  /**
10254
- * 1
10254
+ * 引擎执行总时间
10255
10255
  注意:此字段可能返回 null,表示取不到有效值。
10256
10256
  */
10257
10257
  EngineExeTimes?: number
10258
10258
  /**
10259
- * 1
10259
+ * cu消耗
10260
10260
  注意:此字段可能返回 null,表示取不到有效值。
10261
10261
  */
10262
10262
  CuConsume?: number
10263
10263
  /**
10264
- * 1
10264
+ * 资源消耗
10265
10265
  注意:此字段可能返回 null,表示取不到有效值。
10266
10266
  */
10267
10267
  ResourceUsage?: number
10268
10268
  /**
10269
- * 1
10269
+ * 引擎名
10270
10270
  注意:此字段可能返回 null,表示取不到有效值。
10271
10271
  */
10272
10272
  EngineName?: string
10273
10273
  /**
10274
- * 1
10274
+ * 引擎执行状态
10275
10275
  注意:此字段可能返回 null,表示取不到有效值。
10276
10276
  */
10277
10277
  EngineExeStatus?: string
10278
10278
  /**
10279
- * 1
10279
+ * 任务种类
10280
10280
  注意:此字段可能返回 null,表示取不到有效值。
10281
10281
  */
10282
10282
  TaskKind?: string
10283
10283
  /**
10284
- * 1
10284
+ * 任务类型
10285
10285
  注意:此字段可能返回 null,表示取不到有效值。
10286
10286
  */
10287
10287
  TaskType?: string
10288
10288
  /**
10289
- * 1
10289
+ * 任务SQL语句
10290
10290
  注意:此字段可能返回 null,表示取不到有效值。
10291
10291
  */
10292
10292
  TaskContent?: string
10293
10293
  /**
10294
- * 1
10294
+ * 数据扫描总 bytes
10295
+ 注意:此字段可能返回 null,表示取不到有效值。
10295
10296
  注意:此字段可能返回 null,表示取不到有效值。
10296
10297
  */
10297
10298
  InputBytesSum?: number
10298
10299
  /**
10299
- * 1
10300
+ * shuffle read 总 bytes
10301
+ 注意:此字段可能返回 null,表示取不到有效值。
10300
10302
  注意:此字段可能返回 null,表示取不到有效值。
10301
10303
  */
10302
10304
  ShuffleReadBytesSum?: number
10303
10305
  /**
10304
- * 1
10306
+ * shuffle read 总行数
10307
+ 注意:此字段可能返回 null,表示取不到有效值。
10305
10308
  注意:此字段可能返回 null,表示取不到有效值。
10306
10309
  */
10307
10310
  ShuffleReadRecordsSum?: number
10308
10311
  /**
10309
- * 1
10312
+ * 输出总行数
10313
+ 注意:此字段可能返回 null,表示取不到有效值。
10310
10314
  注意:此字段可能返回 null,表示取不到有效值。
10311
10315
  */
10312
10316
  OutputRecordsSum?: number
10313
10317
  /**
10314
- * 1
10318
+ * 输出总 bytes
10319
+ 注意:此字段可能返回 null,表示取不到有效值。
10315
10320
  注意:此字段可能返回 null,表示取不到有效值。
10316
10321
  */
10317
10322
  OutputBytesSum?: number
10318
10323
  /**
10319
- * 1
10324
+ * 输出文件数
10320
10325
  注意:此字段可能返回 null,表示取不到有效值。
10321
10326
  */
10322
10327
  OutputFilesNum?: number
10323
10328
  /**
10324
- * 1
10329
+ * 输出小文件数
10325
10330
  注意:此字段可能返回 null,表示取不到有效值。
10326
10331
  */
10327
10332
  OutputSmallFilesNum?: number
10328
10333
  /**
10329
- * 1
10334
+ * 执行等待时间
10330
10335
  注意:此字段可能返回 null,表示取不到有效值。
10331
10336
  */
10332
10337
  WaitTime?: number
10333
10338
  /**
10334
- * 1
10339
+ * 查询结果时间
10335
10340
  注意:此字段可能返回 null,表示取不到有效值。
10336
10341
  */
10337
10342
  QueryResultTime?: number
10338
10343
  /**
10339
- * 1
10344
+ * 入参
10340
10345
  注意:此字段可能返回 null,表示取不到有效值。
10341
10346
  */
10342
10347
  CmdArgs?: string
@@ -12743,54 +12748,14 @@ export interface CheckIntegrationNodeNameExistsRequest {
12743
12748
  * DescribeReportTaskDetail请求参数结构体
12744
12749
  */
12745
12750
  export interface DescribeReportTaskDetailRequest {
12746
- /**
12747
- * 页码
12748
- */
12749
- PageNum?: number
12750
- /**
12751
- * 每页条数
12752
- */
12753
- PageSize?: number
12754
12751
  /**
12755
12752
  * 租户id
12756
12753
  */
12757
- TenantId?: string
12758
- /**
12759
- * 项目id
12760
- */
12761
- ProjectId?: string
12762
- /**
12763
- * 任务id
12764
- */
12765
- TaskId?: string
12766
- /**
12767
- * 实例id
12768
- */
12769
- InstanceId?: string
12770
- /**
12771
- * 作业id
12772
- */
12773
- JobId?: string
12754
+ TenantId: string
12774
12755
  /**
12775
12756
  * 引擎任务id
12776
12757
  */
12777
- EngineTaskId?: string
12778
- /**
12779
- * 产品模块
12780
- */
12781
- ProductSource?: string
12782
- /**
12783
- * 主账号
12784
- */
12785
- OnwerUid?: string
12786
- /**
12787
- * 开始时间
12788
- */
12789
- StartTime?: string
12790
- /**
12791
- * 结束时间
12792
- */
12793
- EndTime?: string
12758
+ EngineTaskId: string
12794
12759
  }
12795
12760
 
12796
12761
  /**
@@ -15494,27 +15459,27 @@ export interface DescribeTaskLockStatusResponse {
15494
15459
  */
15495
15460
  export interface ReportTaskListInfo {
15496
15461
  /**
15497
- * 1
15462
+ * 任务列表详情
15498
15463
  注意:此字段可能返回 null,表示取不到有效值。
15499
15464
  */
15500
15465
  Rows?: Array<TaskInfoVo>
15501
15466
  /**
15502
- * 1
15467
+ * 页码
15503
15468
  注意:此字段可能返回 null,表示取不到有效值。
15504
15469
  */
15505
15470
  PageNum?: number
15506
15471
  /**
15507
- * 1
15472
+ * 每页条数
15508
15473
  注意:此字段可能返回 null,表示取不到有效值。
15509
15474
  */
15510
15475
  PageSize?: number
15511
15476
  /**
15512
- * 1
15477
+ * 总记录数
15513
15478
  注意:此字段可能返回 null,表示取不到有效值。
15514
15479
  */
15515
15480
  TotalCount?: number
15516
15481
  /**
15517
- * 1
15482
+ * 总页数
15518
15483
  注意:此字段可能返回 null,表示取不到有效值。
15519
15484
  */
15520
15485
  TotalPageNumber?: number
@@ -20461,6 +20426,11 @@ export interface Project {
20461
20426
  注意:此字段可能返回 null,表示取不到有效值。
20462
20427
  */
20463
20428
  SecondModuleList?: Array<string>
20429
+ /**
20430
+ * 项目负责人
20431
+ 注意:此字段可能返回 null,表示取不到有效值。
20432
+ */
20433
+ Owner?: BaseUser
20464
20434
  }
20465
20435
 
20466
20436
  /**
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.1051";
1
+ export declare const sdkVersion = "4.0.1052";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.1051";
4
+ exports.sdkVersion = "4.0.1052";
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, DescribeRefreshActivitiesResponse, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, CreateScheduledActionRequest, ExitStandbyRequest, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, AttachLoadBalancersResponse, ExecuteScalingPolicyResponse, DeleteAutoScalingGroupRequest, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeRefreshActivitiesRequest, DescribeLaunchConfigurationsResponse, RemoveInstancesRequest, DeleteScalingPolicyResponse, DetachLoadBalancersRequest, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, DeleteLaunchConfigurationRequest, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, ModifyLaunchConfigurationAttributesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, ScaleInInstancesResponse, CancelInstanceRefreshRequest, DetachLoadBalancersResponse, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse, CreateNotificationConfigurationRequest, DescribeScheduledActionsResponse, ModifyNotificationConfigurationRequest, DeleteLifecycleHookRequest, ModifyLoadBalancerTargetAttributesResponse, ModifyAutoScalingGroupResponse, ExitStandbyResponse, ModifyScalingPolicyRequest, UpgradeLifecycleHookResponse, ModifyLifecycleHookResponse, DescribeAutoScalingAdvicesResponse, CreateAutoScalingGroupRequest, DeleteScheduledActionResponse, UpgradeLaunchConfigurationRequest, DescribeAutoScalingActivitiesResponse, DescribeNotificationConfigurationsResponse, RollbackInstanceRefreshResponse, DeleteScalingPolicyRequest, CreateAutoScalingGroupFromInstanceResponse, DetachInstancesRequest, DescribeAutoScalingInstancesResponse, DeleteLaunchConfigurationResponse, DescribeScheduledActionsRequest, DeleteScheduledActionRequest, DescribeAutoScalingActivitiesRequest, ModifyDesiredCapacityRequest, CreateScheduledActionResponse, StartInstanceRefreshResponse, CreateLifecycleHookRequest, ModifyLifecycleHookRequest, CompleteLifecycleActionResponse, ScaleOutInstancesResponse, DescribeLifecycleHooksRequest, CreateAutoScalingGroupResponse, ModifyNotificationConfigurationResponse, DescribeLifecycleHooksResponse, CreateScalingPolicyRequest, ResumeInstanceRefreshRequest, DescribeAutoScalingAdvicesRequest, DeleteNotificationConfigurationRequest, DescribeLaunchConfigurationsRequest, ModifyLoadBalancerTargetAttributesRequest, RollbackInstanceRefreshRequest, StartInstanceRefreshRequest, DeleteAutoScalingGroupResponse, EnableAutoScalingGroupRequest, StopInstanceRefreshRequest, DescribeNotificationConfigurationsRequest, ScaleInInstancesRequest, ClearLaunchConfigurationAttributesRequest, StartAutoScalingInstancesRequest, AttachInstancesRequest, StopInstanceRefreshResponse, AttachLoadBalancersRequest, UpgradeLifecycleHookRequest, ResumeInstanceRefreshResponse, DescribeScalingPoliciesResponse, ModifyDesiredCapacityResponse, StopAutoScalingInstancesRequest, CancelInstanceRefreshResponse, CreateAutoScalingGroupFromInstanceRequest, EnableAutoScalingGroupResponse, UpgradeLaunchConfigurationResponse, DeleteLifecycleHookResponse, ExecuteScalingPolicyRequest } from "./as_models";
3
+ import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, DescribeRefreshActivitiesResponse, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, EnterStandbyRequest, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, CreateScheduledActionRequest, ExitStandbyRequest, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, AttachLoadBalancersResponse, ExecuteScalingPolicyResponse, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeRefreshActivitiesRequest, DescribeLaunchConfigurationsResponse, RemoveInstancesRequest, DeleteScalingPolicyResponse, DetachLoadBalancersRequest, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, DeleteLaunchConfigurationRequest, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, ModifyLaunchConfigurationAttributesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, ScaleInInstancesResponse, CancelInstanceRefreshRequest, DetachLoadBalancersResponse, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse, CreateNotificationConfigurationRequest, DescribeScheduledActionsResponse, ModifyNotificationConfigurationRequest, DeleteLifecycleHookRequest, ModifyLoadBalancerTargetAttributesResponse, ModifyAutoScalingGroupResponse, ExitStandbyResponse, ModifyScalingPolicyRequest, EnterStandbyResponse, UpgradeLifecycleHookResponse, ModifyLifecycleHookResponse, DescribeAutoScalingAdvicesResponse, CreateAutoScalingGroupRequest, DeleteScheduledActionResponse, UpgradeLaunchConfigurationRequest, DescribeAutoScalingActivitiesResponse, DescribeNotificationConfigurationsResponse, RollbackInstanceRefreshResponse, DeleteScalingPolicyRequest, CreateAutoScalingGroupFromInstanceResponse, DetachInstancesRequest, DescribeAutoScalingInstancesResponse, DeleteLaunchConfigurationResponse, DescribeScheduledActionsRequest, DeleteScheduledActionRequest, DescribeAutoScalingActivitiesRequest, ModifyDesiredCapacityRequest, CreateScheduledActionResponse, StartInstanceRefreshResponse, CreateLifecycleHookRequest, ModifyLifecycleHookRequest, CompleteLifecycleActionResponse, ScaleOutInstancesResponse, DescribeLifecycleHooksRequest, CreateAutoScalingGroupResponse, ModifyNotificationConfigurationResponse, DescribeLifecycleHooksResponse, CreateScalingPolicyRequest, ResumeInstanceRefreshRequest, DescribeAutoScalingAdvicesRequest, DeleteNotificationConfigurationRequest, DescribeLaunchConfigurationsRequest, ModifyLoadBalancerTargetAttributesRequest, RollbackInstanceRefreshRequest, StartInstanceRefreshRequest, DeleteAutoScalingGroupResponse, EnableAutoScalingGroupRequest, StopInstanceRefreshRequest, DescribeNotificationConfigurationsRequest, ScaleInInstancesRequest, ClearLaunchConfigurationAttributesRequest, DeleteAutoScalingGroupRequest, StartAutoScalingInstancesRequest, AttachInstancesRequest, StopInstanceRefreshResponse, AttachLoadBalancersRequest, UpgradeLifecycleHookRequest, ResumeInstanceRefreshResponse, DescribeScalingPoliciesResponse, ModifyDesiredCapacityResponse, StopAutoScalingInstancesRequest, CancelInstanceRefreshResponse, CreateAutoScalingGroupFromInstanceRequest, EnableAutoScalingGroupResponse, UpgradeLaunchConfigurationResponse, DeleteLifecycleHookResponse, ExecuteScalingPolicyRequest } from "./as_models";
4
4
  /**
5
5
  * as client
6
6
  * @class
@@ -311,6 +311,13 @@ export declare class Client extends AbstractClient {
311
311
  * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的启动配置。
312
312
  */
313
313
  DescribeLaunchConfigurations(req: DescribeLaunchConfigurationsRequest, cb?: (error: string, rep: DescribeLaunchConfigurationsResponse) => void): Promise<DescribeLaunchConfigurationsResponse>;
314
+ /**
315
+ * 伸缩组内实例进入备用中状态。
316
+ * 备用中状态实例的 CLB 权重值为 0,不会被自动缩容、不健康替换、实例刷新操作选中
317
+ * 调用弹性伸缩开关机接口会使得备用中状态发生变化,而云服务器开关机接口不会影响
318
+ * 实例进入备用中状态后,伸缩组会尝试下调期望实例数,新期望数不会小于最小值
319
+ */
320
+ EnterStandby(req: EnterStandbyRequest, cb?: (error: string, rep: EnterStandbyResponse) => void): Promise<EnterStandbyResponse>;
314
321
  /**
315
322
  * 本接口(CreateScalingPolicy)用于创建告警触发策略。
316
323
  */
@@ -415,6 +415,15 @@ class Client extends abstract_client_1.AbstractClient {
415
415
  async DescribeLaunchConfigurations(req, cb) {
416
416
  return this.request("DescribeLaunchConfigurations", req, cb);
417
417
  }
418
+ /**
419
+ * 伸缩组内实例进入备用中状态。
420
+ * 备用中状态实例的 CLB 权重值为 0,不会被自动缩容、不健康替换、实例刷新操作选中
421
+ * 调用弹性伸缩开关机接口会使得备用中状态发生变化,而云服务器开关机接口不会影响
422
+ * 实例进入备用中状态后,伸缩组会尝试下调期望实例数,新期望数不会小于最小值
423
+ */
424
+ async EnterStandby(req, cb) {
425
+ return this.request("EnterStandby", req, cb);
426
+ }
418
427
  /**
419
428
  * 本接口(CreateScalingPolicy)用于创建告警触发策略。
420
429
  */
@@ -629,6 +629,19 @@ export interface Advice {
629
629
  */
630
630
  Level?: string;
631
631
  }
632
+ /**
633
+ * EnterStandby请求参数结构体
634
+ */
635
+ export interface EnterStandbyRequest {
636
+ /**
637
+ * 伸缩组 ID。
638
+ */
639
+ AutoScalingGroupId: string;
640
+ /**
641
+ * 运行中状态实例列表,不支持传入非运行中状态实例。
642
+ */
643
+ InstanceIds: Array<string>;
644
+ }
632
645
  /**
633
646
  * CreateLifecycleHook返回参数结构体
634
647
  */
@@ -882,13 +895,21 @@ export interface ExecuteScalingPolicyResponse {
882
895
  RequestId?: string;
883
896
  }
884
897
  /**
885
- * DeleteAutoScalingGroup请求参数结构体
898
+ * 应用型负载均衡器标识信息
886
899
  */
887
- export interface DeleteAutoScalingGroupRequest {
900
+ export interface ForwardLoadBalancerIdentification {
888
901
  /**
889
- * 伸缩组ID
902
+ * 负载均衡器ID
890
903
  */
891
- AutoScalingGroupId: string;
904
+ LoadBalancerId: string;
905
+ /**
906
+ * 应用型负载均衡监听器 ID
907
+ */
908
+ ListenerId: string;
909
+ /**
910
+ * 转发规则ID,注意:针对七层监听器此参数必填
911
+ */
912
+ LocationId?: string;
892
913
  }
893
914
  /**
894
915
  * SetInstancesProtection返回参数结构体
@@ -1938,6 +1959,19 @@ export interface RefreshBatch {
1938
1959
  */
1939
1960
  EndTime?: string;
1940
1961
  }
1962
+ /**
1963
+ * EnterStandby返回参数结构体
1964
+ */
1965
+ export interface EnterStandbyResponse {
1966
+ /**
1967
+ * 伸缩活动ID。
1968
+ */
1969
+ ActivityId?: string;
1970
+ /**
1971
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1972
+ */
1973
+ RequestId?: string;
1974
+ }
1941
1975
  /**
1942
1976
  * UpgradeLifecycleHook返回参数结构体
1943
1977
  */
@@ -3594,21 +3628,13 @@ export interface InstanceNameIndexSettings {
3594
3628
  BeginIndex?: number;
3595
3629
  }
3596
3630
  /**
3597
- * 应用型负载均衡器标识信息
3631
+ * DeleteAutoScalingGroup请求参数结构体
3598
3632
  */
3599
- export interface ForwardLoadBalancerIdentification {
3600
- /**
3601
- * 负载均衡器ID
3602
- */
3603
- LoadBalancerId: string;
3604
- /**
3605
- * 应用型负载均衡监听器 ID
3606
- */
3607
- ListenerId: string;
3633
+ export interface DeleteAutoScalingGroupRequest {
3608
3634
  /**
3609
- * 转发规则ID,注意:针对七层监听器此参数必填
3635
+ * 伸缩组ID
3610
3636
  */
3611
- LocationId?: string;
3637
+ AutoScalingGroupId: string;
3612
3638
  }
3613
3639
  /**
3614
3640
  * 伸缩组配置建议。