tencentcloud-sdk-nodejs 4.0.756 → 4.0.758

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 (69) hide show
  1. package/CHANGELOG.md +235 -0
  2. package/README.md +3 -2
  3. package/SERVICE_CHANGELOG.md +234 -80
  4. package/package.json +1 -1
  5. package/products.md +18 -17
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +25 -12
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +91 -42
  9. package/src/services/cdb/v20170320/cdb_models.ts +4 -0
  10. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -1
  11. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +2 -2
  12. package/src/services/cvm/v20170312/cvm_models.ts +12 -12
  13. package/src/services/eb/v20210416/eb_models.ts +2 -2
  14. package/src/services/ess/v20201111/ess_models.ts +9 -1
  15. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -3
  16. package/src/services/hai/v20230812/hai_client.ts +31 -7
  17. package/src/services/hai/v20230812/hai_models.ts +66 -4
  18. package/src/services/index.ts +1 -0
  19. package/src/services/ioa/index.ts +5 -0
  20. package/src/services/ioa/v20220601/index.ts +6 -0
  21. package/src/services/ioa/v20220601/ioa_client.ts +49 -0
  22. package/src/services/ioa/v20220601/ioa_models.ts +213 -0
  23. package/src/services/lcic/v20220817/lcic_models.ts +8 -0
  24. package/src/services/lighthouse/v20200324/lighthouse_models.ts +35 -27
  25. package/src/services/omics/v20221128/omics_client.ts +1 -1
  26. package/src/services/omics/v20221128/omics_models.ts +22 -4
  27. package/src/services/tdmq/v20200217/tdmq_models.ts +13 -5
  28. package/src/services/teo/v20220901/teo_models.ts +30 -18
  29. package/src/services/tsf/v20180326/tsf_client.ts +1 -1
  30. package/src/services/tsf/v20180326/tsf_models.ts +5 -5
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +10 -6
  34. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +13 -7
  35. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +88 -42
  36. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
  37. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +1 -1
  38. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +1 -1
  39. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +2 -2
  40. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +12 -12
  41. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +2 -2
  42. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -1
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -3
  44. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +11 -3
  45. package/tencentcloud/services/hai/v20230812/hai_client.js +15 -3
  46. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +62 -4
  47. package/tencentcloud/services/index.d.ts +1 -0
  48. package/tencentcloud/services/index.js +2 -0
  49. package/tencentcloud/services/ioa/index.d.ts +6 -0
  50. package/tencentcloud/services/ioa/index.js +7 -0
  51. package/tencentcloud/services/ioa/v20220601/index.d.ts +6 -0
  52. package/tencentcloud/services/ioa/v20220601/index.js +9 -0
  53. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +14 -0
  54. package/tencentcloud/services/ioa/v20220601/ioa_client.js +37 -0
  55. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +189 -0
  56. package/tencentcloud/services/ioa/v20220601/ioa_models.js +18 -0
  57. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
  58. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +35 -27
  59. package/tencentcloud/services/omics/v20221128/omics_client.d.ts +1 -1
  60. package/tencentcloud/services/omics/v20221128/omics_client.js +1 -1
  61. package/tencentcloud/services/omics/v20221128/omics_models.d.ts +22 -4
  62. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +13 -5
  63. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +30 -18
  64. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
  65. package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
  66. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -5
  67. package/test/antiddos.v20200309.test.js +14 -4
  68. package/test/hai.v20230812.test.js +22 -2
  69. package/test/ioa.v20220601.test.js +31 -0
@@ -20,14 +20,16 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  NetworkStatus,
22
22
  InquirePriceRunInstancesResponse,
23
- TerminateInstancesRequest,
23
+ StopInstanceRequest,
24
24
  DescribeServiceLoginSettingsResponse,
25
25
  DescribeInstanceNetworkStatusResponse,
26
26
  Instance,
27
27
  TerminateInstancesResponse,
28
28
  DescribeRegionsRequest,
29
+ StartInstanceRequest,
29
30
  LoginSetting,
30
31
  Price,
32
+ TerminateInstancesRequest,
31
33
  RegionInfo,
32
34
  DescribeScenesResponse,
33
35
  DescribeApplicationsRequest,
@@ -40,12 +42,14 @@ import {
40
42
  DescribeScenesRequest,
41
43
  DescribeRegionsResponse,
42
44
  InquirePriceRunInstancesRequest,
45
+ StartInstanceResponse,
43
46
  DescribeServiceLoginSettingsRequest,
44
47
  ApplicationInfo,
45
48
  DescribeApplicationsResponse,
46
49
  ItemPrice,
47
50
  DescribeInstanceNetworkStatusRequest,
48
51
  LoginService,
52
+ StopInstanceResponse,
49
53
  SceneInfo,
50
54
  } from "./hai_models"
51
55
 
@@ -108,6 +112,26 @@ export class Client extends AbstractClient {
108
112
  return this.request("RunInstances", req, cb)
109
113
  }
110
114
 
115
+ /**
116
+ * 本接口 (StartInstance) 用于主动启动实例。
117
+ */
118
+ async StartInstance(
119
+ req: StartInstanceRequest,
120
+ cb?: (error: string, rep: StartInstanceResponse) => void
121
+ ): Promise<StartInstanceResponse> {
122
+ return this.request("StartInstance", req, cb)
123
+ }
124
+
125
+ /**
126
+ * 本接口 (TerminateInstances) 用于主动退还实例。
127
+ */
128
+ async TerminateInstances(
129
+ req: TerminateInstancesRequest,
130
+ cb?: (error: string, rep: TerminateInstancesResponse) => void
131
+ ): Promise<TerminateInstancesResponse> {
132
+ return this.request("TerminateInstances", req, cb)
133
+ }
134
+
111
135
  /**
112
136
  * 查询实例的网络配置及消耗情况
113
137
  */
@@ -139,12 +163,12 @@ export class Client extends AbstractClient {
139
163
  }
140
164
 
141
165
  /**
142
- * 本接口 (TerminateInstances) 用于主动退还实例。
166
+ * 本接口 (StopInstance) 用于主动关闭实例。
143
167
  */
144
- async TerminateInstances(
145
- req: TerminateInstancesRequest,
146
- cb?: (error: string, rep: TerminateInstancesResponse) => void
147
- ): Promise<TerminateInstancesResponse> {
148
- return this.request("TerminateInstances", req, cb)
168
+ async StopInstance(
169
+ req: StopInstanceRequest,
170
+ cb?: (error: string, rep: StopInstanceResponse) => void
171
+ ): Promise<StopInstanceResponse> {
172
+ return this.request("StopInstance", req, cb)
149
173
  }
150
174
  }
@@ -62,13 +62,19 @@ export interface InquirePriceRunInstancesResponse {
62
62
  }
63
63
 
64
64
  /**
65
- * TerminateInstances请求参数结构体
65
+ * StopInstance请求参数结构体
66
66
  */
67
- export interface TerminateInstancesRequest {
67
+ export interface StopInstanceRequest {
68
68
  /**
69
- * 实例ID列表
69
+ * 实例ID
70
70
  */
71
- InstanceIds: Array<string>
71
+ InstanceId: string
72
+ /**
73
+ * hai实例关机的模式,目前仅支持关机不收费:
74
+ STOP_CHARGE -- 关闭hai实例,释放计算资源,停止收取计算资源的费用。
75
+ 注意:默认值为STOP_CHARGE
76
+ */
77
+ StopMode?: string
72
78
  /**
73
79
  * 默认为False,True代表只验证接口连通性
74
80
  */
@@ -250,6 +256,20 @@ export interface TerminateInstancesResponse {
250
256
  */
251
257
  export type DescribeRegionsRequest = null
252
258
 
259
+ /**
260
+ * StartInstance请求参数结构体
261
+ */
262
+ export interface StartInstanceRequest {
263
+ /**
264
+ * 实例ID
265
+ */
266
+ InstanceId: string
267
+ /**
268
+ * 默认为False,True代表只验证接口连通性
269
+ */
270
+ DryRun?: boolean
271
+ }
272
+
253
273
  /**
254
274
  * 某服务的登录配置
255
275
  */
@@ -282,6 +302,20 @@ export interface Price {
282
302
  CloudDiskPrice?: ItemPrice
283
303
  }
284
304
 
305
+ /**
306
+ * TerminateInstances请求参数结构体
307
+ */
308
+ export interface TerminateInstancesRequest {
309
+ /**
310
+ * 实例ID列表
311
+ */
312
+ InstanceIds: Array<string>
313
+ /**
314
+ * 默认为False,True代表只验证接口连通性
315
+ */
316
+ DryRun?: boolean
317
+ }
318
+
285
319
  /**
286
320
  * 地域列表
287
321
  */
@@ -545,6 +579,20 @@ export interface InquirePriceRunInstancesRequest {
545
579
  DryRun?: boolean
546
580
  }
547
581
 
582
+ /**
583
+ * StartInstance返回参数结构体
584
+ */
585
+ export interface StartInstanceResponse {
586
+ /**
587
+ * task任务id
588
+ */
589
+ TaskId?: number
590
+ /**
591
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
592
+ */
593
+ RequestId?: string
594
+ }
595
+
548
596
  /**
549
597
  * DescribeServiceLoginSettings请求参数结构体
550
598
  */
@@ -665,6 +713,20 @@ export interface LoginService {
665
713
  ServiceName?: string
666
714
  }
667
715
 
716
+ /**
717
+ * StopInstance返回参数结构体
718
+ */
719
+ export interface StopInstanceResponse {
720
+ /**
721
+ * task任务id
722
+ */
723
+ TaskId?: number
724
+ /**
725
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
726
+ */
727
+ RequestId?: string
728
+ }
729
+
668
730
  /**
669
731
  * 场景详情
670
732
  */
@@ -118,6 +118,7 @@ export { ie } from "./ie"
118
118
  export { iecp } from "./iecp"
119
119
  export { iir } from "./iir"
120
120
  export { ims } from "./ims"
121
+ export { ioa } from "./ioa"
121
122
  export { iot } from "./iot"
122
123
  export { iotcloud } from "./iotcloud"
123
124
  export { iotexplorer } from "./iotexplorer"
@@ -0,0 +1,5 @@
1
+ import { v20220601 } from "./v20220601"
2
+
3
+ export const ioa = {
4
+ v20220601: v20220601,
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./ioa_models"
2
+ import { Client } from "./ioa_client"
3
+ export const v20220601 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1,49 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ Sort,
22
+ DescribeDevicesPageRsp,
23
+ FilterGroup,
24
+ DescribeDevicesResponse,
25
+ Filter,
26
+ DescribeDevicesRequest,
27
+ Paging,
28
+ Condition,
29
+ } from "./ioa_models"
30
+
31
+ /**
32
+ * ioa client
33
+ * @class
34
+ */
35
+ export class Client extends AbstractClient {
36
+ constructor(clientConfig: ClientConfig) {
37
+ super("ioa.tencentcloudapi.com", "2022-06-01", clientConfig)
38
+ }
39
+
40
+ /**
41
+ * 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
42
+ */
43
+ async DescribeDevices(
44
+ req: DescribeDevicesRequest,
45
+ cb?: (error: string, rep: DescribeDevicesResponse) => void
46
+ ): Promise<DescribeDevicesResponse> {
47
+ return this.request("DescribeDevices", req, cb)
48
+ }
49
+ }
@@ -0,0 +1,213 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * Sort 排序字段
20
+ */
21
+ export interface Sort {
22
+ /**
23
+ * 排序字段
24
+ 注意:此字段可能返回 null,表示取不到有效值。
25
+ */
26
+ Field?: string
27
+ /**
28
+ * 排序方式
29
+ 注意:此字段可能返回 null,表示取不到有效值。
30
+ */
31
+ Order?: string
32
+ }
33
+
34
+ /**
35
+ * 分页的data数据
36
+ */
37
+ export interface DescribeDevicesPageRsp {
38
+ /**
39
+ * 数据分页信息
40
+ 注意:此字段可能返回 null,表示取不到有效值。
41
+ */
42
+ Paging?: Paging
43
+ }
44
+
45
+ /**
46
+ * FilterGroups 条件过滤组
47
+ */
48
+ export interface FilterGroup {
49
+ /**
50
+ * Filters 条件过滤
51
+ 注意:此字段可能返回 null,表示取不到有效值。
52
+ */
53
+ Filters?: Array<Filter>
54
+ }
55
+
56
+ /**
57
+ * DescribeDevices返回参数结构体
58
+ */
59
+ export interface DescribeDevicesResponse {
60
+ /**
61
+ * 分页的data数据
62
+ 注意:此字段可能返回 null,表示取不到有效值。
63
+ */
64
+ Data?: DescribeDevicesPageRsp
65
+ /**
66
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
67
+ */
68
+ RequestId?: string
69
+ }
70
+
71
+ /**
72
+ * Filters 条件过滤
73
+ */
74
+ export interface Filter {
75
+ /**
76
+ * 过滤字段
77
+ 注意:此字段可能返回 null,表示取不到有效值。
78
+ */
79
+ Field?: string
80
+ /**
81
+ * 过滤方式 eq:等于,net:不等于,like,nlike,gt:大于,lt:小于,egt:大于等于,elt:小于等于
82
+ 注意:此字段可能返回 null,表示取不到有效值。
83
+ */
84
+ Operator?: string
85
+ /**
86
+ * 过滤条件
87
+ 注意:此字段可能返回 null,表示取不到有效值。
88
+ */
89
+ Values?: Array<string>
90
+ }
91
+
92
+ /**
93
+ * DescribeDevices请求参数结构体
94
+ */
95
+ export interface DescribeDevicesRequest {
96
+ /**
97
+ * 过滤条件<br>
98
+ <li>Ip - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照Ip进行过滤。</li>
99
+ <li>MacAddr - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照mac地址进行过滤。</li>
100
+ <li>IoaUserName - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照ioa用户名进行过滤。</li>
101
+ 分页参数<br>
102
+ <li>PageNum 从1开始,小于等于0时使用默认参数。</li>
103
+ <li>PageSize 最大值5000,最好不超过100。</li>
104
+ */
105
+ Condition?: Condition
106
+ /**
107
+ * 私有化默认分组id-名称-操作系统
108
+ 1 全网终端 Win
109
+ 2 未分组终端 Win
110
+ 30000000 服务器 Win
111
+ 40000101 全网终端 Linux
112
+ 40000102 未分组终端 Linux
113
+ 40000103 服务器 Linux
114
+ 40000201 全网终端 macOS
115
+ 40000202 未分组终端 macOS
116
+ 40000203 服务器 macOS
117
+ 40000401 全网终端 Android
118
+ 40000402 未分组终端 Android
119
+ 40000501 全网终端 iOS
120
+ 40000502 未分组终端 iOS
121
+ */
122
+ GroupId?: number
123
+ /**
124
+ * 系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0)
125
+ */
126
+ OsType?: number
127
+ /**
128
+ * 在线状态 2 在线 0,1 离线
129
+ */
130
+ OnlineStatus?: number
131
+ /**
132
+ * 过滤条件--兼容旧接口,参数同Condition
133
+ */
134
+ Filters?: Array<Filter>
135
+ /**
136
+ * 排序字段--兼容旧接口,参数同Condition
137
+ */
138
+ Sort?: Sort
139
+ /**
140
+ * 获取第几页--兼容旧接口,参数同Condition(只支持32位)
141
+ */
142
+ PageNum?: number
143
+ /**
144
+ * 每页获取数--兼容旧接口,参数同Condition(只支持32位)
145
+ */
146
+ PageSize?: number
147
+ /**
148
+ * 授权状态 4未授权 5已授权
149
+ */
150
+ Status?: number
151
+ }
152
+
153
+ /**
154
+ * 数据分页信息
155
+ */
156
+ export interface Paging {
157
+ /**
158
+ * 每页条数(只支持32位)
159
+ 注意:此字段可能返回 null,表示取不到有效值。
160
+ */
161
+ PageSize?: number
162
+ /**
163
+ * 页码(只支持32位)
164
+ 注意:此字段可能返回 null,表示取不到有效值。
165
+ */
166
+ PageNum?: number
167
+ /**
168
+ * 总页数(只支持32位)
169
+ 注意:此字段可能返回 null,表示取不到有效值。
170
+ */
171
+ PageCount?: number
172
+ /**
173
+ * 记录总数
174
+ 注意:此字段可能返回 null,表示取不到有效值。
175
+ */
176
+ Total?: number
177
+ }
178
+
179
+ /**
180
+ * - [ ] 过滤条件<br>
181
+
182
+ <li>Name - String - 是否必填:否 - 操作符: ilike - 排序支持:否- 根据分组名称进行查询。</li>
183
+ 分页参数<br>
184
+ <li>PageNum 从1开始,小于等于0时使用默认参数。</li>
185
+ <li>PageSize 最大值5000,最好不超过100。</li>
186
+ */
187
+ export interface Condition {
188
+ /**
189
+ * Filters 条件过滤
190
+ 注意:此字段可能返回 null,表示取不到有效值。
191
+ */
192
+ Filters?: Array<Filter>
193
+ /**
194
+ * FilterGroups 条件过滤组
195
+ 注意:此字段可能返回 null,表示取不到有效值。
196
+ */
197
+ FilterGroups?: Array<FilterGroup>
198
+ /**
199
+ * Sort 排序字段
200
+ 注意:此字段可能返回 null,表示取不到有效值。
201
+ */
202
+ Sort?: Sort
203
+ /**
204
+ * PageSize 每页获取数(只支持32位)
205
+ 注意:此字段可能返回 null,表示取不到有效值。
206
+ */
207
+ PageSize?: number
208
+ /**
209
+ * PageNum 获取第几页(只支持32位)
210
+ 注意:此字段可能返回 null,表示取不到有效值。
211
+ */
212
+ PageNum?: number
213
+ }
@@ -141,6 +141,10 @@ video 纯视频
141
141
  * 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
142
142
  */
143
143
  EnableAutoStart?: number
144
+ /**
145
+ * 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
146
+ */
147
+ RecordBackground?: string
144
148
  }
145
149
 
146
150
  /**
@@ -2129,6 +2133,10 @@ video 纯视频
2129
2133
  * 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
2130
2134
  */
2131
2135
  EnableAutoStart?: number
2136
+ /**
2137
+ * 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
2138
+ */
2139
+ RecordBackground?: string
2132
2140
  /**
2133
2141
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2134
2142
  */
@@ -368,11 +368,11 @@ export interface InstanceDeniedActions {
368
368
  * 实例 ID。
369
369
  注意:此字段可能返回 null,表示取不到有效值。
370
370
  */
371
- InstanceId: string
371
+ InstanceId?: string
372
372
  /**
373
373
  * 操作限制列表。
374
374
  */
375
- DeniedActions: Array<DeniedAction>
375
+ DeniedActions?: Array<DeniedAction>
376
376
  }
377
377
 
378
378
  /**
@@ -1174,30 +1174,30 @@ export interface KeyPair {
1174
1174
  /**
1175
1175
  * 密钥对 ID ,是密钥对的唯一标识。
1176
1176
  */
1177
- KeyId: string
1177
+ KeyId?: string
1178
1178
  /**
1179
1179
  * 密钥对名称。
1180
1180
  */
1181
- KeyName: string
1181
+ KeyName?: string
1182
1182
  /**
1183
1183
  * 密钥对的纯文本公钥。
1184
1184
  */
1185
- PublicKey: string
1185
+ PublicKey?: string
1186
1186
  /**
1187
1187
  * 密钥对关联的实例 ID 列表。
1188
1188
  注意:此字段可能返回 null,表示取不到有效值。
1189
1189
  */
1190
- AssociatedInstanceIds: Array<string>
1190
+ AssociatedInstanceIds?: Array<string>
1191
1191
  /**
1192
1192
  * 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
1193
1193
  注意:此字段可能返回 null,表示取不到有效值。
1194
1194
  */
1195
- CreatedTime: string
1195
+ CreatedTime?: string
1196
1196
  /**
1197
1197
  * 密钥对私钥。
1198
1198
  注意:此字段可能返回 null,表示取不到有效值。
1199
1199
  */
1200
- PrivateKey: string
1200
+ PrivateKey?: string
1201
1201
  }
1202
1202
 
1203
1203
  /**
@@ -1565,11 +1565,11 @@ export interface SnapshotDeniedActions {
1565
1565
  /**
1566
1566
  * 快照 ID。
1567
1567
  */
1568
- SnapshotId: string
1568
+ SnapshotId?: string
1569
1569
  /**
1570
1570
  * 操作限制列表。
1571
1571
  */
1572
- DeniedActions: Array<DeniedAction>
1572
+ DeniedActions?: Array<DeniedAction>
1573
1573
  }
1574
1574
 
1575
1575
  /**
@@ -2435,19 +2435,19 @@ export interface DiskReturnable {
2435
2435
  /**
2436
2436
  * 云硬盘ID。
2437
2437
  */
2438
- DiskId: string
2438
+ DiskId?: string
2439
2439
  /**
2440
2440
  * 云硬盘是否可退还。
2441
2441
  */
2442
- IsReturnable: boolean
2442
+ IsReturnable?: boolean
2443
2443
  /**
2444
2444
  * 云硬盘退还失败错误码。
2445
2445
  */
2446
- ReturnFailCode: number
2446
+ ReturnFailCode?: number
2447
2447
  /**
2448
2448
  * 云硬盘退还失败错误信息。
2449
2449
  */
2450
- ReturnFailMessage: string
2450
+ ReturnFailMessage?: string
2451
2451
  }
2452
2452
 
2453
2453
  /**
@@ -2761,11 +2761,11 @@ export interface DescribeDockerActivitiesResponse {
2761
2761
  /**
2762
2762
  * 总数量。
2763
2763
  */
2764
- TotalCount: number
2764
+ TotalCount?: number
2765
2765
  /**
2766
2766
  * Docker活动列表。
2767
2767
  */
2768
- DockerActivitySet: Array<DockerActivity>
2768
+ DockerActivitySet?: Array<DockerActivity>
2769
2769
  /**
2770
2770
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2771
2771
  */
@@ -2986,15 +2986,15 @@ export interface DeniedAction {
2986
2986
  /**
2987
2987
  * 限制操作名。
2988
2988
  */
2989
- Action: string
2989
+ Action?: string
2990
2990
  /**
2991
2991
  * 限制操作消息码。
2992
2992
  */
2993
- Code: string
2993
+ Code?: string
2994
2994
  /**
2995
2995
  * 限制操作消息。
2996
2996
  */
2997
- Message: string
2997
+ Message?: string
2998
2998
  }
2999
2999
 
3000
3000
  /**
@@ -3441,11 +3441,11 @@ export interface DockerActivity {
3441
3441
  /**
3442
3442
  * 活动ID。
3443
3443
  */
3444
- ActivityId: string
3444
+ ActivityId?: string
3445
3445
  /**
3446
3446
  * 活动名称。
3447
3447
  */
3448
- ActivityName: string
3448
+ ActivityName?: string
3449
3449
  /**
3450
3450
  * 活动状态。取值范围:
3451
3451
  <li>INIT:表示初始化,活动尚未执行</li>
@@ -3453,24 +3453,24 @@ export interface DockerActivity {
3453
3453
  <li>SUCCESS:表示活动执行成功</li>
3454
3454
  <li>FAILED:表示活动执行失败</li>
3455
3455
  */
3456
- ActivityState: string
3456
+ ActivityState?: string
3457
3457
  /**
3458
3458
  * 活动执行的命令输出,以base64编码。
3459
3459
  */
3460
- ActivityCommandOutput: string
3460
+ ActivityCommandOutput?: string
3461
3461
  /**
3462
3462
  * 容器ID列表。
3463
3463
  */
3464
- ContainerIds: Array<string>
3464
+ ContainerIds?: Array<string>
3465
3465
  /**
3466
3466
  * 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3467
3467
  */
3468
- CreatedTime: string
3468
+ CreatedTime?: string
3469
3469
  /**
3470
3470
  * 结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3471
3471
  注意:此字段可能返回 null,表示取不到有效值。
3472
3472
  */
3473
- EndTime: string
3473
+ EndTime?: string
3474
3474
  }
3475
3475
 
3476
3476
  /**
@@ -4328,6 +4328,14 @@ export interface ResetInstanceRequest {
4328
4328
  * 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
4329
4329
  */
4330
4330
  BlueprintId?: string
4331
+ /**
4332
+ * 要创建的容器配置列表。
4333
+ */
4334
+ Containers?: Array<DockerContainerConfiguration>
4335
+ /**
4336
+ * 实例登录信息配置。默认缺失情况下代表用户选择实例创建后设置登录密码或绑定密钥。
4337
+ */
4338
+ LoginConfiguration?: LoginConfiguration
4331
4339
  }
4332
4340
 
4333
4341
  /**
@@ -5152,7 +5160,7 @@ export interface InstanceChargePrepaid {
5152
5160
  */
5153
5161
  Period: number
5154
5162
  /**
5155
- * 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知<br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
5163
+ * 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费</li><br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知</li><br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
5156
5164
  */
5157
5165
  RenewFlag?: string
5158
5166
  }
@@ -105,7 +105,7 @@ export class Client extends AbstractClient {
105
105
  }
106
106
 
107
107
  /**
108
- * 查询任务详情文件。
108
+ * 获取任务详情文件。
109
109
  */
110
110
  async GetRunMetadataFile(
111
111
  req: GetRunMetadataFileRequest,