tencentcloud-sdk-nodejs 4.0.905 → 4.0.907
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 +225 -0
- package/SERVICE_CHANGELOG.md +215 -300
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +10 -12
- package/src/services/cfg/v20210820/cfg_client.ts +85 -29
- package/src/services/cfg/v20210820/cfg_models.ts +606 -139
- package/src/services/cfw/v20190904/cfw_models.ts +7 -2
- package/src/services/cls/v20201016/cls_models.ts +20 -9
- package/src/services/cme/v20191029/cme_models.ts +4 -4
- package/src/services/csip/v20221121/csip_client.ts +18 -6
- package/src/services/csip/v20221121/csip_models.ts +267 -208
- package/src/services/cwp/v20180228/cwp_models.ts +56 -46
- package/src/services/dnspod/v20210323/dnspod_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +1 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +19 -20
- package/src/services/lcic/v20220817/lcic_client.ts +12 -0
- package/src/services/lcic/v20220817/lcic_models.ts +28 -0
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/lke/v20231130/lke_models.ts +7 -7
- package/src/services/ocr/v20181119/ocr_models.ts +4 -0
- package/src/services/trtc/v20190722/trtc_client.ts +20 -7
- package/src/services/trtc/v20190722/trtc_models.ts +207 -163
- package/src/services/vclm/v20240523/vclm_client.ts +28 -2
- package/src/services/vclm/v20240523/vclm_models.ts +90 -10
- package/src/services/vpc/v20170312/vpc_models.ts +1 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +10 -12
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +25 -9
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +36 -12
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +596 -145
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +7 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +20 -9
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -4
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +5 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +6 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +264 -207
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +56 -46
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +1 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +19 -20
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +26 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +7 -7
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +5 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +6 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +203 -162
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +11 -1
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +14 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +86 -10
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -0
- package/test/cfg.v20210820.test.js +48 -8
- package/test/csip.v20221121.test.js +10 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/trtc.v20190722.test.js +10 -0
- package/test/vclm.v20240523.test.js +20 -0
|
@@ -26,13 +26,17 @@ export interface DescribeTaskRequest {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* DescribeActionFieldConfigList请求参数结构体
|
|
30
30
|
*/
|
|
31
|
-
export interface
|
|
31
|
+
export interface DescribeActionFieldConfigListRequest {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* 动作ID列表
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
ActionIds: Array<number | bigint>
|
|
36
|
+
/**
|
|
37
|
+
* 对象类型ID
|
|
38
|
+
*/
|
|
39
|
+
ObjectTypeId: number
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
/**
|
|
@@ -175,37 +179,37 @@ export interface TaskGroupInstancesExecuteRules {
|
|
|
175
179
|
}
|
|
176
180
|
|
|
177
181
|
/**
|
|
178
|
-
*
|
|
182
|
+
* CreateTaskFromAction请求参数结构体
|
|
179
183
|
*/
|
|
180
|
-
export interface
|
|
184
|
+
export interface CreateTaskFromActionRequest {
|
|
181
185
|
/**
|
|
182
|
-
*
|
|
186
|
+
* 动作ID,可从动作列表接口DescribeActionLibraryList获取
|
|
183
187
|
*/
|
|
184
|
-
|
|
188
|
+
TaskActionId: number
|
|
185
189
|
/**
|
|
186
|
-
*
|
|
190
|
+
* 参与演练的实例ID
|
|
187
191
|
*/
|
|
188
|
-
|
|
192
|
+
TaskInstances: Array<string>
|
|
189
193
|
/**
|
|
190
|
-
*
|
|
194
|
+
* 演练名称,不填则默认取动作名称
|
|
191
195
|
*/
|
|
192
|
-
|
|
196
|
+
TaskTitle?: string
|
|
193
197
|
/**
|
|
194
|
-
*
|
|
198
|
+
* 演练描述,不填则默认取动作描述
|
|
195
199
|
*/
|
|
196
|
-
|
|
200
|
+
TaskDescription?: string
|
|
197
201
|
/**
|
|
198
|
-
*
|
|
202
|
+
* 动作通用参数,需要json序列化传入,可以从动作详情接口DescribeActionFieldConfigList获取,不填默认使用动作默认参数
|
|
199
203
|
*/
|
|
200
|
-
|
|
204
|
+
TaskActionGeneralConfiguration?: string
|
|
201
205
|
/**
|
|
202
|
-
*
|
|
206
|
+
* 动作自定义参数,需要json序列化传入,可以从动作详情接口DescribeActionFieldConfigList获取,不填默认使用动作默认参数,注意:必填参数,是没有默认值的 ,务必保证传入有效值
|
|
203
207
|
*/
|
|
204
|
-
|
|
208
|
+
TaskActionCustomConfiguration?: string
|
|
205
209
|
/**
|
|
206
|
-
*
|
|
210
|
+
* 演练自动暂停时间,单位分钟, 不填则默认为60
|
|
207
211
|
*/
|
|
208
|
-
|
|
212
|
+
TaskPauseDuration?: number
|
|
209
213
|
}
|
|
210
214
|
|
|
211
215
|
/**
|
|
@@ -218,6 +222,36 @@ export interface DeleteTaskRequest {
|
|
|
218
222
|
TaskId: number
|
|
219
223
|
}
|
|
220
224
|
|
|
225
|
+
/**
|
|
226
|
+
* DescribeActionLibraryList请求参数结构体
|
|
227
|
+
*/
|
|
228
|
+
export interface DescribeActionLibraryListRequest {
|
|
229
|
+
/**
|
|
230
|
+
* 0-100
|
|
231
|
+
*/
|
|
232
|
+
Limit: number
|
|
233
|
+
/**
|
|
234
|
+
* 默认值0
|
|
235
|
+
*/
|
|
236
|
+
Offset: number
|
|
237
|
+
/**
|
|
238
|
+
* 对象类型ID
|
|
239
|
+
*/
|
|
240
|
+
ObjectType: number
|
|
241
|
+
/**
|
|
242
|
+
* Keyword取值{"动作名称": "a_title", "描述": "a_desc", "动作类型": "a_type", "创建时间": "a_create_time", "二级分类": "a_resource_type"}
|
|
243
|
+
*/
|
|
244
|
+
Filters?: Array<ActionFilter>
|
|
245
|
+
/**
|
|
246
|
+
* 动作分类,1表示故障动作,2表示恢复动作
|
|
247
|
+
*/
|
|
248
|
+
Attribute?: Array<number | bigint>
|
|
249
|
+
/**
|
|
250
|
+
* 筛选项 -动作ID
|
|
251
|
+
*/
|
|
252
|
+
ActionIds?: Array<number | bigint>
|
|
253
|
+
}
|
|
254
|
+
|
|
221
255
|
/**
|
|
222
256
|
* 任务分组
|
|
223
257
|
*/
|
|
@@ -290,29 +324,175 @@ export interface ExecuteTaskResponse {
|
|
|
290
324
|
}
|
|
291
325
|
|
|
292
326
|
/**
|
|
293
|
-
*
|
|
327
|
+
* DescribeActionFieldConfigList返回参数结构体
|
|
294
328
|
*/
|
|
295
|
-
export interface
|
|
329
|
+
export interface DescribeActionFieldConfigListResponse {
|
|
296
330
|
/**
|
|
297
|
-
*
|
|
331
|
+
* 通用栏位配置列表
|
|
298
332
|
*/
|
|
299
|
-
|
|
333
|
+
Common?: Array<ActionFieldConfigResult>
|
|
300
334
|
/**
|
|
301
|
-
*
|
|
335
|
+
* 动作栏位配置列表
|
|
302
336
|
*/
|
|
303
|
-
|
|
337
|
+
Results?: Array<ActionFieldConfigResult>
|
|
304
338
|
/**
|
|
305
|
-
*
|
|
339
|
+
* 资源下线信息
|
|
340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
341
|
*/
|
|
307
|
-
|
|
342
|
+
ResourceOffline?: Array<ResourceOffline>
|
|
308
343
|
/**
|
|
309
|
-
*
|
|
344
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
310
345
|
*/
|
|
311
|
-
|
|
346
|
+
RequestId?: string
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* 动作动态参数返回格式
|
|
351
|
+
*/
|
|
352
|
+
export interface ActionFieldConfigDetail {
|
|
312
353
|
/**
|
|
313
|
-
*
|
|
354
|
+
* 组件类型
|
|
355
|
+
可选项如下:
|
|
356
|
+
input 文本框
|
|
357
|
+
textarea 多行文本框
|
|
358
|
+
number 数值输入框
|
|
359
|
+
select 选择器
|
|
360
|
+
cascader 级联选择器
|
|
361
|
+
radio 单选
|
|
362
|
+
time 时间选择
|
|
314
363
|
*/
|
|
315
|
-
|
|
364
|
+
Type: string
|
|
365
|
+
/**
|
|
366
|
+
* 组件label
|
|
367
|
+
*/
|
|
368
|
+
Lable: string
|
|
369
|
+
/**
|
|
370
|
+
* 组件唯一标识, 传回后端时的key
|
|
371
|
+
*/
|
|
372
|
+
Field: string
|
|
373
|
+
/**
|
|
374
|
+
* 默认值
|
|
375
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
376
|
+
*/
|
|
377
|
+
DefaultValue: string
|
|
378
|
+
/**
|
|
379
|
+
* 支持配置项如下,可根据需要选择配置项,不需要配置是设置空{}:
|
|
380
|
+
|
|
381
|
+
{
|
|
382
|
+
|
|
383
|
+
placeholder: string (占位符)
|
|
384
|
+
|
|
385
|
+
tooltip: string (提示信息)
|
|
386
|
+
|
|
387
|
+
reg: RegExp (对输入内容格式进行正则校验的规则)
|
|
388
|
+
|
|
389
|
+
max: number (对于输入框,限制最大输入字符数,对于数值输入框,设置上限)
|
|
390
|
+
|
|
391
|
+
min: number (对于数值输入框,设置下限)
|
|
392
|
+
|
|
393
|
+
step: number (设置数值输入框的步长,默认为1)
|
|
394
|
+
|
|
395
|
+
format: string (时间选择的格式,如YYYY-MM-DD表示年月日, YYYY-MM-DD HH:mm:ss 表示时分秒)
|
|
396
|
+
|
|
397
|
+
separator: string[] (多行输入框的分隔符,不传或者为空时表示不分隔,直接返回用户输入的文本字符串)
|
|
398
|
+
|
|
399
|
+
multiple: boolean (是否多选,对选择器和级联选择器有效)
|
|
400
|
+
|
|
401
|
+
options: 选择器的选项【支持以下两种形式】
|
|
402
|
+
|
|
403
|
+
直接给定选项数组 { value: string; label: string }[]
|
|
404
|
+
通过调接口获取选项 { api: string(接口地址), params: string[] (接口参数,对应于参数配置的field,前端根据field对应的所有组件的输入值作为参数查询数据, 为空时在组件加载时直接请求数据) }
|
|
405
|
+
}
|
|
406
|
+
*/
|
|
407
|
+
Config: string
|
|
408
|
+
/**
|
|
409
|
+
* 是否必填 (0 -- 否 1-- 是)
|
|
410
|
+
*/
|
|
411
|
+
Required: number
|
|
412
|
+
/**
|
|
413
|
+
* compute配置依赖的其他field满足的条件时通过校验(如:三个表单项中必须至少有一个填写了)
|
|
414
|
+
|
|
415
|
+
[fieldName,
|
|
416
|
+
|
|
417
|
+
{ config: 此项保留,等待后面具体场景细化 }
|
|
418
|
+
|
|
419
|
+
]
|
|
420
|
+
*/
|
|
421
|
+
Validate: string
|
|
422
|
+
/**
|
|
423
|
+
* 是否可见
|
|
424
|
+
*/
|
|
425
|
+
Visible: string
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* 任务分组动作
|
|
430
|
+
*/
|
|
431
|
+
export interface TemplateGroupAction {
|
|
432
|
+
/**
|
|
433
|
+
* 经验库分组动作ID
|
|
434
|
+
*/
|
|
435
|
+
TemplateGroupActionId: number
|
|
436
|
+
/**
|
|
437
|
+
* 动作ID
|
|
438
|
+
*/
|
|
439
|
+
ActionId: number
|
|
440
|
+
/**
|
|
441
|
+
* 分组动作顺序
|
|
442
|
+
*/
|
|
443
|
+
Order: number
|
|
444
|
+
/**
|
|
445
|
+
* 分组动作通用配置
|
|
446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
447
|
+
*/
|
|
448
|
+
GeneralConfiguration: string
|
|
449
|
+
/**
|
|
450
|
+
* 分组动作自定义配置
|
|
451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
|
+
*/
|
|
453
|
+
CustomConfiguration: string
|
|
454
|
+
/**
|
|
455
|
+
* 动作分组创建时间
|
|
456
|
+
*/
|
|
457
|
+
CreateTime: string
|
|
458
|
+
/**
|
|
459
|
+
* 动作分组更新时间
|
|
460
|
+
*/
|
|
461
|
+
UpdateTime: string
|
|
462
|
+
/**
|
|
463
|
+
* 动作名称
|
|
464
|
+
*/
|
|
465
|
+
ActionTitle: string
|
|
466
|
+
/**
|
|
467
|
+
* 自身随机id
|
|
468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
469
|
+
*/
|
|
470
|
+
RandomId: number
|
|
471
|
+
/**
|
|
472
|
+
* 恢复动作id
|
|
473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
|
+
*/
|
|
475
|
+
RecoverId: number
|
|
476
|
+
/**
|
|
477
|
+
* 执行动作id
|
|
478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
479
|
+
*/
|
|
480
|
+
ExecuteId: number
|
|
481
|
+
/**
|
|
482
|
+
* 调用api类型,0:tat, 1:云api
|
|
483
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
484
|
+
*/
|
|
485
|
+
ActionApiType?: number
|
|
486
|
+
/**
|
|
487
|
+
* 1:故障,2:恢复
|
|
488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
489
|
+
*/
|
|
490
|
+
ActionAttribute?: number
|
|
491
|
+
/**
|
|
492
|
+
* 动作类型:平台和自定义
|
|
493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
494
|
+
*/
|
|
495
|
+
ActionType?: string
|
|
316
496
|
}
|
|
317
497
|
|
|
318
498
|
/**
|
|
@@ -423,18 +603,13 @@ export interface DescribeTaskExecuteLogsRequest {
|
|
|
423
603
|
}
|
|
424
604
|
|
|
425
605
|
/**
|
|
426
|
-
*
|
|
606
|
+
* DescribeObjectTypeList返回参数结构体
|
|
427
607
|
*/
|
|
428
|
-
export interface
|
|
608
|
+
export interface DescribeObjectTypeListResponse {
|
|
429
609
|
/**
|
|
430
|
-
*
|
|
610
|
+
* 对象类型列表
|
|
431
611
|
*/
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* 任务对应的演练报告信息,null表示未导出报告
|
|
435
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
436
|
-
*/
|
|
437
|
-
ReportInfo?: TaskReportInfo
|
|
612
|
+
ObjectTypeList?: Array<ObjectType>
|
|
438
613
|
/**
|
|
439
614
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
440
615
|
*/
|
|
@@ -514,6 +689,37 @@ export interface ActionFilter {
|
|
|
514
689
|
Values: Array<string>
|
|
515
690
|
}
|
|
516
691
|
|
|
692
|
+
/**
|
|
693
|
+
* 护栏策略触发日志
|
|
694
|
+
*/
|
|
695
|
+
export interface PolicyTriggerLog {
|
|
696
|
+
/**
|
|
697
|
+
* 演练ID
|
|
698
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
699
|
+
*/
|
|
700
|
+
TaskId?: number
|
|
701
|
+
/**
|
|
702
|
+
* 名称
|
|
703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
704
|
+
*/
|
|
705
|
+
Name?: string
|
|
706
|
+
/**
|
|
707
|
+
* 类型,0--触发,1--恢复
|
|
708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
*/
|
|
710
|
+
TriggerType?: number
|
|
711
|
+
/**
|
|
712
|
+
* 内容
|
|
713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
714
|
+
*/
|
|
715
|
+
Content?: string
|
|
716
|
+
/**
|
|
717
|
+
* 触发时间
|
|
718
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
719
|
+
*/
|
|
720
|
+
CreatTime?: string
|
|
721
|
+
}
|
|
722
|
+
|
|
517
723
|
/**
|
|
518
724
|
* DescribeTemplate请求参数结构体
|
|
519
725
|
*/
|
|
@@ -640,73 +846,24 @@ export interface DescribeTaskListResponse {
|
|
|
640
846
|
}
|
|
641
847
|
|
|
642
848
|
/**
|
|
643
|
-
*
|
|
849
|
+
* 资源下线
|
|
644
850
|
*/
|
|
645
|
-
export interface
|
|
646
|
-
/**
|
|
647
|
-
* 经验库分组动作ID
|
|
648
|
-
*/
|
|
649
|
-
TemplateGroupActionId: number
|
|
650
|
-
/**
|
|
651
|
-
* 动作ID
|
|
652
|
-
*/
|
|
653
|
-
ActionId: number
|
|
851
|
+
export interface ResourceOffline {
|
|
654
852
|
/**
|
|
655
|
-
*
|
|
656
|
-
*/
|
|
657
|
-
Order: number
|
|
658
|
-
/**
|
|
659
|
-
* 分组动作通用配置
|
|
853
|
+
* 资源ID
|
|
660
854
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
661
855
|
*/
|
|
662
|
-
|
|
856
|
+
ResourceId?: number
|
|
663
857
|
/**
|
|
664
|
-
*
|
|
858
|
+
* 资源下线时间
|
|
665
859
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
666
860
|
*/
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* 动作分组创建时间
|
|
670
|
-
*/
|
|
671
|
-
CreateTime: string
|
|
861
|
+
ResourceDeleteTime?: string
|
|
672
862
|
/**
|
|
673
|
-
*
|
|
674
|
-
*/
|
|
675
|
-
UpdateTime: string
|
|
676
|
-
/**
|
|
677
|
-
* 动作名称
|
|
678
|
-
*/
|
|
679
|
-
ActionTitle: string
|
|
680
|
-
/**
|
|
681
|
-
* 自身随机id
|
|
682
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
683
|
-
*/
|
|
684
|
-
RandomId: number
|
|
685
|
-
/**
|
|
686
|
-
* 恢复动作id
|
|
687
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
688
|
-
*/
|
|
689
|
-
RecoverId: number
|
|
690
|
-
/**
|
|
691
|
-
* 执行动作id
|
|
863
|
+
* 资源下线提示
|
|
692
864
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
693
865
|
*/
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* 调用api类型,0:tat, 1:云api
|
|
697
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
698
|
-
*/
|
|
699
|
-
ActionApiType?: number
|
|
700
|
-
/**
|
|
701
|
-
* 1:故障,2:恢复
|
|
702
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
703
|
-
*/
|
|
704
|
-
ActionAttribute?: number
|
|
705
|
-
/**
|
|
706
|
-
* 动作类型:平台和自定义
|
|
707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
708
|
-
*/
|
|
709
|
-
ActionType?: string
|
|
866
|
+
ResourceDeleteMessage?: string
|
|
710
867
|
}
|
|
711
868
|
|
|
712
869
|
/**
|
|
@@ -756,12 +913,54 @@ export interface TaskMonitor {
|
|
|
756
913
|
* 中文指标
|
|
757
914
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
758
915
|
*/
|
|
759
|
-
MetricChineseName: string
|
|
916
|
+
MetricChineseName: string
|
|
917
|
+
/**
|
|
918
|
+
* 单位
|
|
919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
920
|
+
*/
|
|
921
|
+
Unit: string
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* DescribeTemplateList请求参数结构体
|
|
926
|
+
*/
|
|
927
|
+
export interface DescribeTemplateListRequest {
|
|
928
|
+
/**
|
|
929
|
+
* 分页Limit, 最大值100
|
|
930
|
+
*/
|
|
931
|
+
Limit: number
|
|
932
|
+
/**
|
|
933
|
+
* 分页Offset
|
|
934
|
+
*/
|
|
935
|
+
Offset: number
|
|
936
|
+
/**
|
|
937
|
+
* 演练名称
|
|
938
|
+
*/
|
|
939
|
+
Title?: string
|
|
940
|
+
/**
|
|
941
|
+
* 标签键
|
|
942
|
+
*/
|
|
943
|
+
Tag?: Array<string>
|
|
944
|
+
/**
|
|
945
|
+
* 状态,1---使用中, 2---停用
|
|
946
|
+
*/
|
|
947
|
+
IsUsed?: number
|
|
948
|
+
/**
|
|
949
|
+
* 标签对
|
|
950
|
+
*/
|
|
951
|
+
Tags?: Array<TagWithDescribe>
|
|
952
|
+
/**
|
|
953
|
+
* 经验来源 0-自建 1-专家推荐
|
|
954
|
+
*/
|
|
955
|
+
TemplateSource?: number
|
|
956
|
+
/**
|
|
957
|
+
* 经验ID
|
|
958
|
+
*/
|
|
959
|
+
TemplateIdList?: Array<number | bigint>
|
|
760
960
|
/**
|
|
761
|
-
*
|
|
762
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
961
|
+
* 过滤参数
|
|
763
962
|
*/
|
|
764
|
-
|
|
963
|
+
Filters?: Array<ActionFilter>
|
|
765
964
|
}
|
|
766
965
|
|
|
767
966
|
/**
|
|
@@ -778,6 +977,19 @@ export interface TagWithDescribe {
|
|
|
778
977
|
TagValue: string
|
|
779
978
|
}
|
|
780
979
|
|
|
980
|
+
/**
|
|
981
|
+
* DescribeObjectTypeList请求参数结构体
|
|
982
|
+
*/
|
|
983
|
+
export interface DescribeObjectTypeListRequest {
|
|
984
|
+
/**
|
|
985
|
+
* 所支持的对象
|
|
986
|
+
0:全平台产品
|
|
987
|
+
1:平台接入的对象
|
|
988
|
+
2:应用所支持的部分对象
|
|
989
|
+
*/
|
|
990
|
+
SupportType?: number
|
|
991
|
+
}
|
|
992
|
+
|
|
781
993
|
/**
|
|
782
994
|
* DescribeTaskPolicyTriggerLog返回参数结构体
|
|
783
995
|
*/
|
|
@@ -817,6 +1029,38 @@ export interface DeleteTaskResponse {
|
|
|
817
1029
|
RequestId?: string
|
|
818
1030
|
}
|
|
819
1031
|
|
|
1032
|
+
/**
|
|
1033
|
+
* 对象类型
|
|
1034
|
+
*/
|
|
1035
|
+
export interface ObjectType {
|
|
1036
|
+
/**
|
|
1037
|
+
* 对象类型ID
|
|
1038
|
+
*/
|
|
1039
|
+
ObjectTypeId?: number
|
|
1040
|
+
/**
|
|
1041
|
+
* 对象类型名称
|
|
1042
|
+
*/
|
|
1043
|
+
ObjectTypeTitle?: string
|
|
1044
|
+
/**
|
|
1045
|
+
* 对象类型第一级
|
|
1046
|
+
*/
|
|
1047
|
+
ObjectTypeLevelOne?: string
|
|
1048
|
+
/**
|
|
1049
|
+
* 对象类型参数
|
|
1050
|
+
*/
|
|
1051
|
+
ObjectTypeParams?: ObjectTypeConfig
|
|
1052
|
+
/**
|
|
1053
|
+
* tke接口json解析规则,null不需要解析
|
|
1054
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1055
|
+
*/
|
|
1056
|
+
ObjectTypeJsonParse?: ObjectTypeJsonParse
|
|
1057
|
+
/**
|
|
1058
|
+
* 是否包含新动作
|
|
1059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1060
|
+
*/
|
|
1061
|
+
ObjectHasNewAction?: boolean
|
|
1062
|
+
}
|
|
1063
|
+
|
|
820
1064
|
/**
|
|
821
1065
|
* DescribeTaskPolicyTriggerLog请求参数结构体
|
|
822
1066
|
*/
|
|
@@ -1044,6 +1288,40 @@ export interface TriggerPolicyRequest {
|
|
|
1044
1288
|
TriggerType: number
|
|
1045
1289
|
}
|
|
1046
1290
|
|
|
1291
|
+
/**
|
|
1292
|
+
* 从经验模板创建演练时需要配置的任务参数
|
|
1293
|
+
*/
|
|
1294
|
+
export interface TaskConfig {
|
|
1295
|
+
/**
|
|
1296
|
+
* 动作组配置,需要保证配置个数和经验中的动作组个数一致
|
|
1297
|
+
*/
|
|
1298
|
+
TaskGroupsConfig: Array<TaskGroupConfig>
|
|
1299
|
+
/**
|
|
1300
|
+
* 更改后的演练名称,不填则默认取经验名称
|
|
1301
|
+
*/
|
|
1302
|
+
TaskTitle?: string
|
|
1303
|
+
/**
|
|
1304
|
+
* 更改后的演练描述,不填则默认取经验描述
|
|
1305
|
+
*/
|
|
1306
|
+
TaskDescription?: string
|
|
1307
|
+
/**
|
|
1308
|
+
* 演练执行模式:1----手工执行/ 2 ---自动执行,不填则默认取经验执行模式
|
|
1309
|
+
*/
|
|
1310
|
+
TaskMode?: number
|
|
1311
|
+
/**
|
|
1312
|
+
* 演练自动暂停时间,单位分钟, 不填则默认取经验自动暂停时间
|
|
1313
|
+
*/
|
|
1314
|
+
TaskPauseDuration?: number
|
|
1315
|
+
/**
|
|
1316
|
+
* 演练标签信息,不填则默认取经验标签
|
|
1317
|
+
*/
|
|
1318
|
+
Tags?: Array<TagWithCreate>
|
|
1319
|
+
/**
|
|
1320
|
+
* 护栏处理方式,1--顺序回滚,2--演练暂停
|
|
1321
|
+
*/
|
|
1322
|
+
PolicyDealType?: number
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1047
1325
|
/**
|
|
1048
1326
|
* TriggerPolicy返回参数结构体
|
|
1049
1327
|
*/
|
|
@@ -1124,6 +1402,50 @@ export interface DescribeTaskListRequest {
|
|
|
1124
1402
|
TaskStatusList?: Array<number | bigint>
|
|
1125
1403
|
}
|
|
1126
1404
|
|
|
1405
|
+
/**
|
|
1406
|
+
* DescribeActionLibraryList返回参数结构体
|
|
1407
|
+
*/
|
|
1408
|
+
export interface DescribeActionLibraryListResponse {
|
|
1409
|
+
/**
|
|
1410
|
+
* 查询结果列表
|
|
1411
|
+
*/
|
|
1412
|
+
Results?: Array<ActionLibraryListResult>
|
|
1413
|
+
/**
|
|
1414
|
+
* 符合记录条数
|
|
1415
|
+
*/
|
|
1416
|
+
Total?: number
|
|
1417
|
+
/**
|
|
1418
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1419
|
+
*/
|
|
1420
|
+
RequestId?: string
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* 标准pod对象类型下拉数据的解析
|
|
1425
|
+
*/
|
|
1426
|
+
export interface ObjectTypeJsonParse {
|
|
1427
|
+
/**
|
|
1428
|
+
* 命名空间
|
|
1429
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1430
|
+
*/
|
|
1431
|
+
NameSpace?: string
|
|
1432
|
+
/**
|
|
1433
|
+
* 工作负载名称
|
|
1434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1435
|
+
*/
|
|
1436
|
+
WorkloadName?: string
|
|
1437
|
+
/**
|
|
1438
|
+
* 节点IP
|
|
1439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1440
|
+
*/
|
|
1441
|
+
LanIP?: string
|
|
1442
|
+
/**
|
|
1443
|
+
* 节点ID
|
|
1444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1445
|
+
*/
|
|
1446
|
+
InstanceId?: string
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1127
1449
|
/**
|
|
1128
1450
|
* 任务列表信息
|
|
1129
1451
|
*/
|
|
@@ -1218,6 +1540,32 @@ export interface DescribeTaskExecuteLogsResponse {
|
|
|
1218
1540
|
RequestId?: string
|
|
1219
1541
|
}
|
|
1220
1542
|
|
|
1543
|
+
/**
|
|
1544
|
+
* 动作组的配置项
|
|
1545
|
+
*/
|
|
1546
|
+
export interface TaskGroupConfig {
|
|
1547
|
+
/**
|
|
1548
|
+
* 动作组所关联的实例对象
|
|
1549
|
+
*/
|
|
1550
|
+
TaskGroupInstances: Array<string>
|
|
1551
|
+
/**
|
|
1552
|
+
* 动作组标题,不填默认取经验中的动作组名称
|
|
1553
|
+
*/
|
|
1554
|
+
TaskGroupTitle?: string
|
|
1555
|
+
/**
|
|
1556
|
+
* 动作组描述,不填默认取经验中的动作组描述
|
|
1557
|
+
*/
|
|
1558
|
+
TaskGroupDescription?: string
|
|
1559
|
+
/**
|
|
1560
|
+
* 动作执行模式。1 --- 顺序执行,2 --- 阶段执行, 不填默认取经验中的动作组执行模式
|
|
1561
|
+
*/
|
|
1562
|
+
TaskGroupMode?: number
|
|
1563
|
+
/**
|
|
1564
|
+
* 动作组中的动作参数,不填默认使用经验中的动作参数,配置时可以只指定想要修改参数的动作
|
|
1565
|
+
*/
|
|
1566
|
+
TaskGroupActionsConfig?: Array<TaskGroupActionConfig>
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1221
1569
|
/**
|
|
1222
1570
|
* 监控指标
|
|
1223
1571
|
*/
|
|
@@ -1307,6 +1655,24 @@ export interface TemplatePolicy {
|
|
|
1307
1655
|
TemplatePolicyDealType: number
|
|
1308
1656
|
}
|
|
1309
1657
|
|
|
1658
|
+
/**
|
|
1659
|
+
* 动作栏位配置结果
|
|
1660
|
+
*/
|
|
1661
|
+
export interface ActionFieldConfigResult {
|
|
1662
|
+
/**
|
|
1663
|
+
* 动作ID
|
|
1664
|
+
*/
|
|
1665
|
+
ActionId: number
|
|
1666
|
+
/**
|
|
1667
|
+
* 动作名称
|
|
1668
|
+
*/
|
|
1669
|
+
ActionName: string
|
|
1670
|
+
/**
|
|
1671
|
+
* 动作对应的栏位配置详情
|
|
1672
|
+
*/
|
|
1673
|
+
ConfigDetail: Array<ActionFieldConfigDetail>
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1310
1676
|
/**
|
|
1311
1677
|
* 动作组中的动作参数
|
|
1312
1678
|
*/
|
|
@@ -1326,76 +1692,139 @@ export interface TaskGroupActionConfig {
|
|
|
1326
1692
|
}
|
|
1327
1693
|
|
|
1328
1694
|
/**
|
|
1329
|
-
*
|
|
1695
|
+
* 动作库数据列表
|
|
1330
1696
|
*/
|
|
1331
|
-
export interface
|
|
1697
|
+
export interface ActionLibraryListResult {
|
|
1332
1698
|
/**
|
|
1333
|
-
*
|
|
1334
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1699
|
+
* 动作名称
|
|
1335
1700
|
*/
|
|
1336
|
-
|
|
1701
|
+
ActionName?: string
|
|
1337
1702
|
/**
|
|
1338
|
-
*
|
|
1703
|
+
* 动作描述
|
|
1704
|
+
*/
|
|
1705
|
+
Desc?: string
|
|
1706
|
+
/**
|
|
1707
|
+
* 动作类型。范围:["平台","自定义"]
|
|
1708
|
+
*/
|
|
1709
|
+
ActionType?: string
|
|
1710
|
+
/**
|
|
1711
|
+
* 创建时间
|
|
1712
|
+
*/
|
|
1713
|
+
CreateTime?: string
|
|
1714
|
+
/**
|
|
1715
|
+
* 创建人
|
|
1716
|
+
*/
|
|
1717
|
+
Creator?: string
|
|
1718
|
+
/**
|
|
1719
|
+
* 更新时间
|
|
1720
|
+
*/
|
|
1721
|
+
UpdateTime?: string
|
|
1722
|
+
/**
|
|
1723
|
+
* 动作风险描述
|
|
1724
|
+
*/
|
|
1725
|
+
RiskDesc?: string
|
|
1726
|
+
/**
|
|
1727
|
+
* 动作ID
|
|
1728
|
+
*/
|
|
1729
|
+
ActionId?: number
|
|
1730
|
+
/**
|
|
1731
|
+
* 动作属性( 1:故障 2:恢复)
|
|
1732
|
+
*/
|
|
1733
|
+
AttributeId?: number
|
|
1734
|
+
/**
|
|
1735
|
+
* 关联的动作ID
|
|
1736
|
+
*/
|
|
1737
|
+
RelationActionId?: number
|
|
1738
|
+
/**
|
|
1739
|
+
* 操作命令
|
|
1740
|
+
*/
|
|
1741
|
+
ActionCommand?: string
|
|
1742
|
+
/**
|
|
1743
|
+
* 动作类型( 0 -- tat 1 -- 云API)
|
|
1744
|
+
*/
|
|
1745
|
+
ActionCommandType?: number
|
|
1746
|
+
/**
|
|
1747
|
+
* 自定义动作的参数,json string
|
|
1748
|
+
*/
|
|
1749
|
+
ActionContent?: string
|
|
1750
|
+
/**
|
|
1751
|
+
* 二级分类
|
|
1339
1752
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1340
1753
|
*/
|
|
1341
|
-
|
|
1754
|
+
ResourceType?: string
|
|
1342
1755
|
/**
|
|
1343
|
-
*
|
|
1756
|
+
* 动作描述
|
|
1344
1757
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1345
1758
|
*/
|
|
1346
|
-
|
|
1759
|
+
ActionDetail?: string
|
|
1347
1760
|
/**
|
|
1348
|
-
*
|
|
1761
|
+
* 是否允许当前账号使用
|
|
1349
1762
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1350
1763
|
*/
|
|
1351
|
-
|
|
1764
|
+
IsAllowed?: boolean
|
|
1352
1765
|
/**
|
|
1353
|
-
*
|
|
1766
|
+
* 最佳实践案例的链接地址
|
|
1354
1767
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1355
1768
|
*/
|
|
1356
|
-
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* DescribeTemplateList请求参数结构体
|
|
1361
|
-
*/
|
|
1362
|
-
export interface DescribeTemplateListRequest {
|
|
1769
|
+
ActionBestCase?: string
|
|
1363
1770
|
/**
|
|
1364
|
-
*
|
|
1771
|
+
* 对象类型
|
|
1772
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1365
1773
|
*/
|
|
1366
|
-
|
|
1774
|
+
ObjectType?: string
|
|
1367
1775
|
/**
|
|
1368
|
-
*
|
|
1776
|
+
* 监控指标ID列表
|
|
1777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1369
1778
|
*/
|
|
1370
|
-
|
|
1779
|
+
MetricIdList?: Array<number | bigint>
|
|
1371
1780
|
/**
|
|
1372
|
-
*
|
|
1781
|
+
* 是否是新动作
|
|
1782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1373
1783
|
*/
|
|
1374
|
-
|
|
1784
|
+
IsNewAction?: boolean
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* ModifyTaskRunStatus返回参数结构体
|
|
1789
|
+
*/
|
|
1790
|
+
export interface ModifyTaskRunStatusResponse {
|
|
1375
1791
|
/**
|
|
1376
|
-
*
|
|
1792
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1377
1793
|
*/
|
|
1378
|
-
|
|
1794
|
+
RequestId?: string
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* DescribeTask返回参数结构体
|
|
1799
|
+
*/
|
|
1800
|
+
export interface DescribeTaskResponse {
|
|
1379
1801
|
/**
|
|
1380
|
-
*
|
|
1802
|
+
* 任务信息
|
|
1381
1803
|
*/
|
|
1382
|
-
|
|
1804
|
+
Task?: Task
|
|
1383
1805
|
/**
|
|
1384
|
-
*
|
|
1806
|
+
* 任务对应的演练报告信息,null表示未导出报告
|
|
1807
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1385
1808
|
*/
|
|
1386
|
-
|
|
1809
|
+
ReportInfo?: TaskReportInfo
|
|
1387
1810
|
/**
|
|
1388
|
-
*
|
|
1811
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1389
1812
|
*/
|
|
1390
|
-
|
|
1813
|
+
RequestId?: string
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* CreateTaskFromAction返回参数结构体
|
|
1818
|
+
*/
|
|
1819
|
+
export interface CreateTaskFromActionResponse {
|
|
1391
1820
|
/**
|
|
1392
|
-
*
|
|
1821
|
+
* 创建成功的演练ID
|
|
1393
1822
|
*/
|
|
1394
|
-
|
|
1823
|
+
TaskId?: number
|
|
1395
1824
|
/**
|
|
1396
|
-
*
|
|
1825
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1397
1826
|
*/
|
|
1398
|
-
|
|
1827
|
+
RequestId?: string
|
|
1399
1828
|
}
|
|
1400
1829
|
|
|
1401
1830
|
/**
|
|
@@ -1455,3 +1884,41 @@ export interface TagWithCreate {
|
|
|
1455
1884
|
*/
|
|
1456
1885
|
TagValue: string
|
|
1457
1886
|
}
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* 对象类型字段类型
|
|
1890
|
+
*/
|
|
1891
|
+
export interface ObjectTypeConfigFields {
|
|
1892
|
+
/**
|
|
1893
|
+
* instanceId
|
|
1894
|
+
*/
|
|
1895
|
+
Key: string
|
|
1896
|
+
/**
|
|
1897
|
+
* 实例id
|
|
1898
|
+
*/
|
|
1899
|
+
Header: string
|
|
1900
|
+
/**
|
|
1901
|
+
* 字段值是否需要转译,当不需要转译时,此字段返回null
|
|
1902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1903
|
+
*/
|
|
1904
|
+
Transfer?: string
|
|
1905
|
+
/**
|
|
1906
|
+
* tke的pod字段信息解析
|
|
1907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1908
|
+
*/
|
|
1909
|
+
JsonParse?: string
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* 对象类型配置
|
|
1914
|
+
*/
|
|
1915
|
+
export interface ObjectTypeConfig {
|
|
1916
|
+
/**
|
|
1917
|
+
* 主键
|
|
1918
|
+
*/
|
|
1919
|
+
Key: string
|
|
1920
|
+
/**
|
|
1921
|
+
* 对象类型配置字段列表
|
|
1922
|
+
*/
|
|
1923
|
+
Fields: Array<ObjectTypeConfigFields>
|
|
1924
|
+
}
|