tccli 3.0.1158.1__py2.py3-none-any.whl → 3.0.1160.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +11 -14
  3. tccli/services/ams/v20201229/api.json +314 -56
  4. tccli/services/ams/v20201229/examples.json +2 -2
  5. tccli/services/bi/v20220105/api.json +1 -1
  6. tccli/services/cat/v20180409/api.json +9 -0
  7. tccli/services/cdb/v20170320/api.json +33 -4
  8. tccli/services/cdn/v20180606/api.json +86 -0
  9. tccli/services/cfg/cfg_client.py +224 -12
  10. tccli/services/cfg/v20210820/api.json +897 -32
  11. tccli/services/cfg/v20210820/examples.json +32 -0
  12. tccli/services/cfw/cfw_client.py +53 -0
  13. tccli/services/cfw/v20190904/api.json +255 -2
  14. tccli/services/cfw/v20190904/examples.json +8 -0
  15. tccli/services/cls/v20201016/api.json +11 -1
  16. tccli/services/cme/v20191029/api.json +9 -9
  17. tccli/services/cme/v20191029/examples.json +1 -1
  18. tccli/services/csip/csip_client.py +53 -0
  19. tccli/services/csip/v20221121/api.json +134 -0
  20. tccli/services/csip/v20221121/examples.json +8 -0
  21. tccli/services/cwp/v20180228/api.json +66 -46
  22. tccli/services/cwp/v20180228/examples.json +1 -1
  23. tccli/services/cynosdb/v20190107/api.json +91 -0
  24. tccli/services/dnspod/v20210323/api.json +1 -1
  25. tccli/services/ecm/v20190719/api.json +23 -5
  26. tccli/services/emr/emr_client.py +53 -0
  27. tccli/services/emr/v20190103/api.json +351 -98
  28. tccli/services/emr/v20190103/examples.json +11 -3
  29. tccli/services/ess/v20201111/api.json +1 -1
  30. tccli/services/ess/v20201111/examples.json +6 -6
  31. tccli/services/essbasic/v20210526/api.json +10 -1
  32. tccli/services/essbasic/v20210526/examples.json +7 -1
  33. tccli/services/hunyuan/v20230901/api.json +114 -3
  34. tccli/services/iotexplorer/v20190423/api.json +25 -25
  35. tccli/services/iotexplorer/v20190423/examples.json +10 -4
  36. tccli/services/lcic/lcic_client.py +57 -4
  37. tccli/services/lcic/v20220817/api.json +52 -0
  38. tccli/services/lcic/v20220817/examples.json +8 -0
  39. tccli/services/live/v20180801/api.json +1 -1
  40. tccli/services/lke/v20231130/api.json +7 -7
  41. tccli/services/ocr/v20181119/api.json +10 -0
  42. tccli/services/tke/tke_client.py +53 -0
  43. tccli/services/tke/v20180525/api.json +188 -0
  44. tccli/services/tke/v20180525/examples.json +8 -0
  45. tccli/services/trtc/trtc_client.py +53 -0
  46. tccli/services/trtc/v20190722/api.json +76 -0
  47. tccli/services/trtc/v20190722/examples.json +8 -0
  48. tccli/services/vclm/v20240523/api.json +136 -0
  49. tccli/services/vclm/v20240523/examples.json +46 -0
  50. tccli/services/vclm/vclm_client.py +106 -0
  51. tccli/services/vm/v20201229/api.json +209 -45
  52. tccli/services/vm/v20201229/examples.json +1 -1
  53. tccli/services/vm/v20210922/api.json +25 -25
  54. tccli/services/vpc/v20170312/api.json +1 -1
  55. {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/RECORD +59 -59
  57. {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateTaskFromAction": {
4
+ "document": "从动作创建演练",
5
+ "input": "CreateTaskFromActionRequest",
6
+ "name": "从动作创建演练",
7
+ "output": "CreateTaskFromActionResponse",
8
+ "status": "online"
9
+ },
3
10
  "CreateTaskFromTemplate": {
4
11
  "document": "从经验库创建演练",
5
12
  "input": "CreateTaskFromTemplateRequest",
@@ -14,6 +21,27 @@
14
21
  "output": "DeleteTaskResponse",
15
22
  "status": "online"
16
23
  },
24
+ "DescribeActionFieldConfigList": {
25
+ "document": "根据动作ID获取动作栏位动态配置参数信息,里面包含动作自有和通用两部分参数。",
26
+ "input": "DescribeActionFieldConfigListRequest",
27
+ "name": "获取动作栏位配置参数列表",
28
+ "output": "DescribeActionFieldConfigListResponse",
29
+ "status": "online"
30
+ },
31
+ "DescribeActionLibraryList": {
32
+ "document": "获取混沌演练平台的动作库列表",
33
+ "input": "DescribeActionLibraryListRequest",
34
+ "name": "获取动作库列表",
35
+ "output": "DescribeActionLibraryListResponse",
36
+ "status": "online"
37
+ },
38
+ "DescribeObjectTypeList": {
39
+ "document": "查询对象类型列表",
40
+ "input": "DescribeObjectTypeListRequest",
41
+ "name": "查询对象类型列表",
42
+ "output": "DescribeObjectTypeListResponse",
43
+ "status": "online"
44
+ },
17
45
  "DescribeTask": {
18
46
  "document": "查询任务",
19
47
  "input": "DescribeTaskRequest",
@@ -92,6 +120,128 @@
92
120
  "serviceShortName": "cfg"
93
121
  },
94
122
  "objects": {
123
+ "ActionFieldConfigDetail": {
124
+ "document": "动作动态参数返回格式",
125
+ "members": [
126
+ {
127
+ "disabled": false,
128
+ "document": "组件类型\n可选项如下:\ninput 文本框\ntextarea 多行文本框\nnumber 数值输入框\nselect 选择器\ncascader 级联选择器\nradio 单选\ntime 时间选择",
129
+ "example": "input",
130
+ "member": "string",
131
+ "name": "Type",
132
+ "required": true,
133
+ "type": "string",
134
+ "value_allowed_null": false
135
+ },
136
+ {
137
+ "disabled": false,
138
+ "document": "组件label",
139
+ "example": "开机时间",
140
+ "member": "string",
141
+ "name": "Lable",
142
+ "required": true,
143
+ "type": "string",
144
+ "value_allowed_null": false
145
+ },
146
+ {
147
+ "disabled": false,
148
+ "document": "组件唯一标识, 传回后端时的key",
149
+ "example": "open_time",
150
+ "member": "string",
151
+ "name": "Field",
152
+ "required": true,
153
+ "type": "string",
154
+ "value_allowed_null": false
155
+ },
156
+ {
157
+ "disabled": false,
158
+ "document": "默认值\n注意:此字段可能返回 null,表示取不到有效值。",
159
+ "example": "默认值",
160
+ "member": "string",
161
+ "name": "DefaultValue",
162
+ "required": true,
163
+ "type": "string",
164
+ "value_allowed_null": true
165
+ },
166
+ {
167
+ "disabled": false,
168
+ "document": "支持配置项如下,可根据需要选择配置项,不需要配置是设置空{}:\n\n{\n\n placeholder: string (占位符)\n\n tooltip: string (提示信息)\n\n reg: RegExp (对输入内容格式进行正则校验的规则)\n\n max: number (对于输入框,限制最大输入字符数,对于数值输入框,设置上限)\n\n min: number (对于数值输入框,设置下限)\n\n step: number (设置数值输入框的步长,默认为1)\n\n format: string (时间选择的格式,如YYYY-MM-DD表示年月日, YYYY-MM-DD HH:mm:ss 表示时分秒)\n\n separator: string[] (多行输入框的分隔符,不传或者为空时表示不分隔,直接返回用户输入的文本字符串)\n\n multiple: boolean (是否多选,对选择器和级联选择器有效)\n\n options: 选择器的选项【支持以下两种形式】\n\n直接给定选项数组 { value: string; label: string }[]\n通过调接口获取选项 { api: string(接口地址), params: string[] (接口参数,对应于参数配置的field,前端根据field对应的所有组件的输入值作为参数查询数据, 为空时在组件加载时直接请求数据) }\n}",
169
+ "example": "{}",
170
+ "member": "string",
171
+ "name": "Config",
172
+ "required": true,
173
+ "type": "string",
174
+ "value_allowed_null": false
175
+ },
176
+ {
177
+ "disabled": false,
178
+ "document": "是否必填 (0 -- 否 1-- 是)",
179
+ "example": "0",
180
+ "member": "uint64",
181
+ "name": "Required",
182
+ "required": true,
183
+ "type": "int",
184
+ "value_allowed_null": false
185
+ },
186
+ {
187
+ "disabled": false,
188
+ "document": "compute配置依赖的其他field满足的条件时通过校验(如:三个表单项中必须至少有一个填写了)\n\n[fieldName,\n\n{ config: 此项保留,等待后面具体场景细化 }\n\n]",
189
+ "example": "{}",
190
+ "member": "string",
191
+ "name": "Validate",
192
+ "required": true,
193
+ "type": "string",
194
+ "value_allowed_null": false
195
+ },
196
+ {
197
+ "disabled": false,
198
+ "document": "是否可见",
199
+ "example": "{}",
200
+ "member": "string",
201
+ "name": "Visible",
202
+ "required": true,
203
+ "type": "string",
204
+ "value_allowed_null": false
205
+ }
206
+ ],
207
+ "usage": "out"
208
+ },
209
+ "ActionFieldConfigResult": {
210
+ "document": "动作栏位配置结果",
211
+ "members": [
212
+ {
213
+ "disabled": false,
214
+ "document": "动作ID",
215
+ "example": "1",
216
+ "member": "uint64",
217
+ "name": "ActionId",
218
+ "required": true,
219
+ "type": "int",
220
+ "value_allowed_null": false
221
+ },
222
+ {
223
+ "disabled": false,
224
+ "document": "动作名称",
225
+ "example": "关机",
226
+ "member": "string",
227
+ "name": "ActionName",
228
+ "required": true,
229
+ "type": "string",
230
+ "value_allowed_null": false
231
+ },
232
+ {
233
+ "disabled": false,
234
+ "document": "动作对应的栏位配置详情",
235
+ "example": "无",
236
+ "member": "ActionFieldConfigDetail",
237
+ "name": "ConfigDetail",
238
+ "required": true,
239
+ "type": "list",
240
+ "value_allowed_null": false
241
+ }
242
+ ],
243
+ "usage": "out"
244
+ },
95
245
  "ActionFilter": {
96
246
  "document": "动作库筛选栏位",
97
247
  "members": [
@@ -118,6 +268,212 @@
118
268
  ],
119
269
  "usage": "in"
120
270
  },
271
+ "ActionLibraryListResult": {
272
+ "document": "动作库数据列表",
273
+ "members": [
274
+ {
275
+ "disabled": false,
276
+ "document": "动作名称",
277
+ "example": "Esc关机",
278
+ "member": "string",
279
+ "name": "ActionName",
280
+ "output_required": true,
281
+ "type": "string",
282
+ "value_allowed_null": false
283
+ },
284
+ {
285
+ "disabled": false,
286
+ "document": "动作描述",
287
+ "example": "Windows内Cpu满载",
288
+ "member": "string",
289
+ "name": "Desc",
290
+ "output_required": true,
291
+ "type": "string",
292
+ "value_allowed_null": false
293
+ },
294
+ {
295
+ "disabled": false,
296
+ "document": "动作类型。范围:[\"平台\",\"自定义\"]",
297
+ "example": "平台",
298
+ "member": "string",
299
+ "name": "ActionType",
300
+ "output_required": true,
301
+ "type": "string",
302
+ "value_allowed_null": false
303
+ },
304
+ {
305
+ "disabled": false,
306
+ "document": "创建时间",
307
+ "example": "2021-08-01 12:20:20",
308
+ "member": "string",
309
+ "name": "CreateTime",
310
+ "output_required": true,
311
+ "type": "string",
312
+ "value_allowed_null": false
313
+ },
314
+ {
315
+ "disabled": false,
316
+ "document": "创建人",
317
+ "example": "李四",
318
+ "member": "string",
319
+ "name": "Creator",
320
+ "output_required": true,
321
+ "type": "string",
322
+ "value_allowed_null": false
323
+ },
324
+ {
325
+ "disabled": false,
326
+ "document": "更新时间",
327
+ "example": "2021-08-01 13:20:20",
328
+ "member": "string",
329
+ "name": "UpdateTime",
330
+ "output_required": true,
331
+ "type": "string",
332
+ "value_allowed_null": false
333
+ },
334
+ {
335
+ "disabled": false,
336
+ "document": "动作风险描述",
337
+ "example": "执行后不可逆",
338
+ "member": "string",
339
+ "name": "RiskDesc",
340
+ "output_required": true,
341
+ "type": "string",
342
+ "value_allowed_null": false
343
+ },
344
+ {
345
+ "disabled": false,
346
+ "document": "动作ID",
347
+ "example": "1",
348
+ "member": "uint64",
349
+ "name": "ActionId",
350
+ "output_required": true,
351
+ "type": "int",
352
+ "value_allowed_null": false
353
+ },
354
+ {
355
+ "disabled": false,
356
+ "document": "动作属性( 1:故障 2:恢复)",
357
+ "example": "1",
358
+ "member": "uint64",
359
+ "name": "AttributeId",
360
+ "output_required": true,
361
+ "type": "int",
362
+ "value_allowed_null": false
363
+ },
364
+ {
365
+ "disabled": false,
366
+ "document": "关联的动作ID",
367
+ "example": "1",
368
+ "member": "uint64",
369
+ "name": "RelationActionId",
370
+ "output_required": true,
371
+ "type": "int",
372
+ "value_allowed_null": false
373
+ },
374
+ {
375
+ "disabled": false,
376
+ "document": "操作命令",
377
+ "example": "ls -l",
378
+ "member": "string",
379
+ "name": "ActionCommand",
380
+ "output_required": true,
381
+ "type": "string",
382
+ "value_allowed_null": false
383
+ },
384
+ {
385
+ "disabled": false,
386
+ "document": "动作类型( 0 -- tat 1 -- 云API)",
387
+ "example": "1",
388
+ "member": "uint64",
389
+ "name": "ActionCommandType",
390
+ "output_required": true,
391
+ "type": "int",
392
+ "value_allowed_null": false
393
+ },
394
+ {
395
+ "disabled": false,
396
+ "document": "自定义动作的参数,json string",
397
+ "example": "{\"Command\": \"ff\", \"CommandParameters\": \"{}\", \"CommandType\": \"she",
398
+ "member": "string",
399
+ "name": "ActionContent",
400
+ "output_required": true,
401
+ "type": "string",
402
+ "value_allowed_null": false
403
+ },
404
+ {
405
+ "disabled": false,
406
+ "document": "二级分类\n注意:此字段可能返回 null,表示取不到有效值。",
407
+ "example": "服务器资源",
408
+ "member": "string",
409
+ "name": "ResourceType",
410
+ "output_required": true,
411
+ "type": "string",
412
+ "value_allowed_null": true
413
+ },
414
+ {
415
+ "disabled": false,
416
+ "document": "动作描述\n注意:此字段可能返回 null,表示取不到有效值。",
417
+ "example": "<p>调用云api <a href=\\\"https://cloud.tencent.com/document/product/2",
418
+ "member": "string",
419
+ "name": "ActionDetail",
420
+ "output_required": true,
421
+ "type": "string",
422
+ "value_allowed_null": true
423
+ },
424
+ {
425
+ "disabled": false,
426
+ "document": "是否允许当前账号使用\n注意:此字段可能返回 null,表示取不到有效值。",
427
+ "example": "true",
428
+ "member": "bool",
429
+ "name": "IsAllowed",
430
+ "output_required": true,
431
+ "type": "bool",
432
+ "value_allowed_null": true
433
+ },
434
+ {
435
+ "disabled": false,
436
+ "document": "最佳实践案例的链接地址\n注意:此字段可能返回 null,表示取不到有效值。",
437
+ "example": "http//qq.com",
438
+ "member": "string",
439
+ "name": "ActionBestCase",
440
+ "output_required": true,
441
+ "type": "string",
442
+ "value_allowed_null": true
443
+ },
444
+ {
445
+ "disabled": false,
446
+ "document": "对象类型\n注意:此字段可能返回 null,表示取不到有效值。",
447
+ "example": "CVM",
448
+ "member": "string",
449
+ "name": "ObjectType",
450
+ "output_required": true,
451
+ "type": "string",
452
+ "value_allowed_null": true
453
+ },
454
+ {
455
+ "disabled": false,
456
+ "document": "监控指标ID列表\n注意:此字段可能返回 null,表示取不到有效值。",
457
+ "example": "[1,2,3,4]",
458
+ "member": "uint64",
459
+ "name": "MetricIdList",
460
+ "output_required": false,
461
+ "type": "list",
462
+ "value_allowed_null": true
463
+ },
464
+ {
465
+ "disabled": false,
466
+ "document": "是否是新动作\n注意:此字段可能返回 null,表示取不到有效值。",
467
+ "example": "true",
468
+ "member": "bool",
469
+ "name": "IsNewAction",
470
+ "output_required": false,
471
+ "type": "bool",
472
+ "value_allowed_null": true
473
+ }
474
+ ],
475
+ "usage": "out"
476
+ },
121
477
  "ApmServiceInfo": {
122
478
  "document": "应用性能监控产品中应用信息",
123
479
  "members": [
@@ -139,57 +495,333 @@
139
495
  "member": "string",
140
496
  "name": "ServiceNameList",
141
497
  "output_required": true,
142
- "required": true,
498
+ "required": true,
499
+ "type": "list",
500
+ "value_allowed_null": true
501
+ },
502
+ {
503
+ "disabled": false,
504
+ "document": "地域ID\n注意:此字段可能返回 null,表示取不到有效值。",
505
+ "example": "1",
506
+ "member": "int64",
507
+ "name": "RegionId",
508
+ "output_required": false,
509
+ "required": false,
510
+ "type": "int",
511
+ "value_allowed_null": true
512
+ }
513
+ ],
514
+ "usage": "both"
515
+ },
516
+ "CreateTaskFromActionRequest": {
517
+ "document": "CreateTaskFromAction请求参数结构体",
518
+ "members": [
519
+ {
520
+ "disabled": false,
521
+ "document": "动作ID,可从动作列表接口DescribeActionLibraryList获取",
522
+ "example": "127",
523
+ "member": "uint64",
524
+ "name": "TaskActionId",
525
+ "required": true,
526
+ "type": "int"
527
+ },
528
+ {
529
+ "disabled": false,
530
+ "document": "参与演练的实例ID",
531
+ "example": "[\"ins-87b12frpq\"]",
532
+ "member": "string",
533
+ "name": "TaskInstances",
534
+ "required": true,
535
+ "type": "list"
536
+ },
537
+ {
538
+ "disabled": false,
539
+ "document": "演练名称,不填则默认取动作名称",
540
+ "example": "演练名称",
541
+ "member": "string",
542
+ "name": "TaskTitle",
543
+ "required": false,
544
+ "type": "string"
545
+ },
546
+ {
547
+ "disabled": false,
548
+ "document": "演练描述,不填则默认取动作描述",
549
+ "example": "演练描述",
550
+ "member": "string",
551
+ "name": "TaskDescription",
552
+ "required": false,
553
+ "type": "string"
554
+ },
555
+ {
556
+ "disabled": false,
557
+ "document": "动作通用参数,需要json序列化传入,可以从动作详情接口DescribeActionFieldConfigList获取,不填默认使用动作默认参数",
558
+ "example": "\"{\\\"ActionTimeout\\\":1800,\\\"AfterTimeWait\\\":0,\\\"PreTimeWait\\\":0,\\\"AliasTitle\\\":\\\"\\\"}\"",
559
+ "member": "string",
560
+ "name": "TaskActionGeneralConfiguration",
561
+ "required": false,
562
+ "type": "string"
563
+ },
564
+ {
565
+ "disabled": false,
566
+ "document": "动作自定义参数,需要json序列化传入,可以从动作详情接口DescribeActionFieldConfigList获取,不填默认使用动作默认参数,注意:必填参数,是没有默认值的 ,务必保证传入有效值",
567
+ "example": "\"{\\\"timeout\\\":200,\\\"percentage\\\":80}\"",
568
+ "member": "string",
569
+ "name": "TaskActionCustomConfiguration",
570
+ "required": false,
571
+ "type": "string"
572
+ },
573
+ {
574
+ "disabled": false,
575
+ "document": "演练自动暂停时间,单位分钟, 不填则默认为60",
576
+ "example": "60",
577
+ "member": "uint64",
578
+ "name": "TaskPauseDuration",
579
+ "required": false,
580
+ "type": "int"
581
+ }
582
+ ],
583
+ "type": "object"
584
+ },
585
+ "CreateTaskFromActionResponse": {
586
+ "document": "CreateTaskFromAction返回参数结构体",
587
+ "members": [
588
+ {
589
+ "disabled": false,
590
+ "document": "创建成功的演练ID",
591
+ "example": "50",
592
+ "member": "uint64",
593
+ "name": "TaskId",
594
+ "output_required": true,
595
+ "type": "int",
596
+ "value_allowed_null": false
597
+ },
598
+ {
599
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
600
+ "member": "string",
601
+ "name": "RequestId",
602
+ "type": "string"
603
+ }
604
+ ],
605
+ "type": "object"
606
+ },
607
+ "CreateTaskFromTemplateRequest": {
608
+ "document": "CreateTaskFromTemplate请求参数结构体",
609
+ "members": [
610
+ {
611
+ "disabled": false,
612
+ "document": "从经验库中查询到的经验模板ID",
613
+ "example": "11",
614
+ "member": "uint64",
615
+ "name": "TemplateId",
616
+ "required": true,
617
+ "type": "int"
618
+ },
619
+ {
620
+ "disabled": false,
621
+ "document": "演练的配置参数",
622
+ "example": "无",
623
+ "member": "TaskConfig",
624
+ "name": "TaskConfig",
625
+ "required": true,
626
+ "type": "object"
627
+ }
628
+ ],
629
+ "type": "object"
630
+ },
631
+ "CreateTaskFromTemplateResponse": {
632
+ "document": "CreateTaskFromTemplate返回参数结构体",
633
+ "members": [
634
+ {
635
+ "disabled": false,
636
+ "document": "创建成功的演练ID",
637
+ "example": "50",
638
+ "member": "uint64",
639
+ "name": "TaskId",
640
+ "type": "int",
641
+ "value_allowed_null": false
642
+ },
643
+ {
644
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
645
+ "member": "string",
646
+ "name": "RequestId",
647
+ "type": "string"
648
+ }
649
+ ],
650
+ "type": "object"
651
+ },
652
+ "DeleteTaskRequest": {
653
+ "document": "DeleteTask请求参数结构体",
654
+ "members": [
655
+ {
656
+ "disabled": false,
657
+ "document": "任务ID",
658
+ "example": "5689",
659
+ "member": "int64",
660
+ "name": "TaskId",
661
+ "required": true,
662
+ "type": "int"
663
+ }
664
+ ],
665
+ "type": "object"
666
+ },
667
+ "DeleteTaskResponse": {
668
+ "document": "DeleteTask返回参数结构体",
669
+ "members": [
670
+ {
671
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
672
+ "member": "string",
673
+ "name": "RequestId",
674
+ "type": "string"
675
+ }
676
+ ],
677
+ "type": "object"
678
+ },
679
+ "DescribeActionFieldConfigListRequest": {
680
+ "document": "DescribeActionFieldConfigList请求参数结构体",
681
+ "members": [
682
+ {
683
+ "disabled": false,
684
+ "document": "动作ID列表",
685
+ "example": "[1,2,3]",
686
+ "member": "uint64",
687
+ "name": "ActionIds",
688
+ "required": true,
689
+ "type": "list"
690
+ },
691
+ {
692
+ "disabled": false,
693
+ "document": "对象类型ID",
694
+ "example": "10",
695
+ "member": "uint64",
696
+ "name": "ObjectTypeId",
697
+ "required": true,
698
+ "type": "int"
699
+ }
700
+ ],
701
+ "type": "object"
702
+ },
703
+ "DescribeActionFieldConfigListResponse": {
704
+ "document": "DescribeActionFieldConfigList返回参数结构体",
705
+ "members": [
706
+ {
707
+ "disabled": false,
708
+ "document": "通用栏位配置列表",
709
+ "example": "[{\"ActionId\": 4, \"ActionName\": \"CPU利用率高\", \"ConfigDetail\": [ {\"Type\": \"input\", \"Lable\": \"动作别名\", \"Field\": \"AliasTitle\", \"DefaultValue\": \"\", \"Config\": \"{}\", \"Required\": 0, \"Validate\": \"{}\", \"Visible\": \"{}\"}]}]",
710
+ "member": "ActionFieldConfigResult",
711
+ "name": "Common",
712
+ "output_required": true,
713
+ "type": "list",
714
+ "value_allowed_null": false
715
+ },
716
+ {
717
+ "disabled": false,
718
+ "document": "动作栏位配置列表",
719
+ "example": "[{\"ActionId\": 4, \"ActionName\": \"CPU利用率高\", \"ConfigDetail\": [ {\"Type\": \"number\", \"Lable\": \"cpu利用率(%)\", \"Field\": \"percentage\", \"DefaultValue\": \"90\", \"Config\": \"{\\\"max\\\": 100, \\\"min\\\": 0}\", \"Required\": 0, \"Validate\": \"{}\", \"Visible\": \"{}\"}]}]",
720
+ "member": "ActionFieldConfigResult",
721
+ "name": "Results",
722
+ "output_required": true,
143
723
  "type": "list",
144
- "value_allowed_null": true
724
+ "value_allowed_null": false
145
725
  },
146
726
  {
147
727
  "disabled": false,
148
- "document": "地域ID\n注意:此字段可能返回 null,表示取不到有效值。",
149
- "example": "1",
150
- "member": "int64",
151
- "name": "RegionId",
728
+ "document": "资源下线信息\n注意:此字段可能返回 null,表示取不到有效值。",
729
+ "example": "{\"ResourceId\": 4, \"ResourceDeleteTime\": \"2023-12-14\",\"ResourceDeleteMessage\": \"由于该动作不具备手动中止能力,已将该动作下线。现有新的故障动作替换,请参考<a href=\\\"https://cloud.tencent.com/document/product/1500/102833\\\" target=\\\"_blank\\\">探针管理</a>文档,在实例安装探针后重新创建新的演练执行。\"}",
730
+ "member": "ResourceOffline",
731
+ "name": "ResourceOffline",
152
732
  "output_required": false,
153
- "required": false,
154
- "type": "int",
733
+ "type": "list",
155
734
  "value_allowed_null": true
735
+ },
736
+ {
737
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
738
+ "member": "string",
739
+ "name": "RequestId",
740
+ "type": "string"
156
741
  }
157
742
  ],
158
- "usage": "both"
743
+ "type": "object"
159
744
  },
160
- "CreateTaskFromTemplateRequest": {
161
- "document": "CreateTaskFromTemplate请求参数结构体",
745
+ "DescribeActionLibraryListRequest": {
746
+ "document": "DescribeActionLibraryList请求参数结构体",
162
747
  "members": [
163
748
  {
164
749
  "disabled": false,
165
- "document": "从经验库中查询到的经验模板ID",
166
- "example": "11",
750
+ "document": "0-100",
751
+ "example": "10",
167
752
  "member": "uint64",
168
- "name": "TemplateId",
753
+ "name": "Limit",
169
754
  "required": true,
170
755
  "type": "int"
171
756
  },
172
757
  {
173
758
  "disabled": false,
174
- "document": "演练的配置参数",
175
- "example": "",
176
- "member": "TaskConfig",
177
- "name": "TaskConfig",
759
+ "document": "默认值0",
760
+ "example": "0",
761
+ "member": "uint64",
762
+ "name": "Offset",
178
763
  "required": true,
179
- "type": "object"
764
+ "type": "int"
765
+ },
766
+ {
767
+ "disabled": false,
768
+ "document": "对象类型ID",
769
+ "example": "1",
770
+ "member": "uint64",
771
+ "name": "ObjectType",
772
+ "required": true,
773
+ "type": "int"
774
+ },
775
+ {
776
+ "disabled": false,
777
+ "document": "Keyword取值{\"动作名称\": \"a_title\", \"描述\": \"a_desc\", \"动作类型\": \"a_type\", \"创建时间\": \"a_create_time\", \"二级分类\": \"a_resource_type\"}",
778
+ "example": "无",
779
+ "member": "ActionFilter",
780
+ "name": "Filters",
781
+ "required": false,
782
+ "type": "list"
783
+ },
784
+ {
785
+ "disabled": false,
786
+ "document": "动作分类,1表示故障动作,2表示恢复动作",
787
+ "example": "[1,2]",
788
+ "member": "int64",
789
+ "name": "Attribute",
790
+ "required": false,
791
+ "type": "list"
792
+ },
793
+ {
794
+ "disabled": false,
795
+ "document": "筛选项 -动作ID",
796
+ "example": "无",
797
+ "member": "uint64",
798
+ "name": "ActionIds",
799
+ "required": false,
800
+ "type": "list"
180
801
  }
181
802
  ],
182
803
  "type": "object"
183
804
  },
184
- "CreateTaskFromTemplateResponse": {
185
- "document": "CreateTaskFromTemplate返回参数结构体",
805
+ "DescribeActionLibraryListResponse": {
806
+ "document": "DescribeActionLibraryList返回参数结构体",
186
807
  "members": [
187
808
  {
188
809
  "disabled": false,
189
- "document": "创建成功的演练ID",
190
- "example": "50",
810
+ "document": "查询结果列表",
811
+ "example": "",
812
+ "member": "ActionLibraryListResult",
813
+ "name": "Results",
814
+ "output_required": true,
815
+ "type": "list",
816
+ "value_allowed_null": false
817
+ },
818
+ {
819
+ "disabled": false,
820
+ "document": "符合记录条数",
821
+ "example": "1000",
191
822
  "member": "uint64",
192
- "name": "TaskId",
823
+ "name": "Total",
824
+ "output_required": true,
193
825
  "type": "int",
194
826
  "value_allowed_null": false
195
827
  },
@@ -202,24 +834,34 @@
202
834
  ],
203
835
  "type": "object"
204
836
  },
205
- "DeleteTaskRequest": {
206
- "document": "DeleteTask请求参数结构体",
837
+ "DescribeObjectTypeListRequest": {
838
+ "document": "DescribeObjectTypeList请求参数结构体",
207
839
  "members": [
208
840
  {
209
841
  "disabled": false,
210
- "document": "任务ID",
211
- "example": "5689",
842
+ "document": "所支持的对象\n0:全平台产品\n1:平台接入的对象\n2:应用所支持的部分对象",
843
+ "example": "1",
212
844
  "member": "int64",
213
- "name": "TaskId",
214
- "required": true,
845
+ "name": "SupportType",
846
+ "required": false,
215
847
  "type": "int"
216
848
  }
217
849
  ],
218
850
  "type": "object"
219
851
  },
220
- "DeleteTaskResponse": {
221
- "document": "DeleteTask返回参数结构体",
852
+ "DescribeObjectTypeListResponse": {
853
+ "document": "DescribeObjectTypeList返回参数结构体",
222
854
  "members": [
855
+ {
856
+ "disabled": false,
857
+ "document": "对象类型列表",
858
+ "example": "[{\"Key\":\"NatGatewayId\",\"Header\":\"实例ID\",\"Transfer\":null,\"JsonParse\":null},{\"Key\":\"NatGatewayName\",\"Header\":\"实例名称\",\"Transfer\":null,\"JsonParse\":null},{\"Key\":\"InternetMaxBandwidthOut\",\"Header\":\"最大出带宽(Mbps)\",\"Transfer\":null,\"JsonParse\":null},{\"Key\":\"MaxConcurrentConnection\",\"Header\":\"最大并发连接数\",\"Transfer\":null,\"JsonParse\":null},{\"Key\":\"VpcId\",\"Header\":\"VPC-ID\",\"Transfer\":null,\"JsonParse\":null}]",
859
+ "member": "ObjectType",
860
+ "name": "ObjectTypeList",
861
+ "output_required": true,
862
+ "type": "list",
863
+ "value_allowed_null": false
864
+ },
223
865
  {
224
866
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
225
867
  "member": "string",
@@ -909,6 +1551,190 @@
909
1551
  ],
910
1552
  "type": "object"
911
1553
  },
1554
+ "ObjectType": {
1555
+ "document": "对象类型",
1556
+ "members": [
1557
+ {
1558
+ "disabled": false,
1559
+ "document": "对象类型ID",
1560
+ "example": "1",
1561
+ "member": "int64",
1562
+ "name": "ObjectTypeId",
1563
+ "output_required": true,
1564
+ "type": "int",
1565
+ "value_allowed_null": false
1566
+ },
1567
+ {
1568
+ "disabled": false,
1569
+ "document": "对象类型名称",
1570
+ "example": "CVM",
1571
+ "member": "string",
1572
+ "name": "ObjectTypeTitle",
1573
+ "output_required": true,
1574
+ "type": "string",
1575
+ "value_allowed_null": false
1576
+ },
1577
+ {
1578
+ "disabled": false,
1579
+ "document": "对象类型第一级",
1580
+ "example": "主机",
1581
+ "member": "string",
1582
+ "name": "ObjectTypeLevelOne",
1583
+ "output_required": true,
1584
+ "type": "string",
1585
+ "value_allowed_null": false
1586
+ },
1587
+ {
1588
+ "disabled": false,
1589
+ "document": "对象类型参数",
1590
+ "example": "无",
1591
+ "member": "ObjectTypeConfig",
1592
+ "name": "ObjectTypeParams",
1593
+ "output_required": true,
1594
+ "type": "object",
1595
+ "value_allowed_null": false
1596
+ },
1597
+ {
1598
+ "disabled": false,
1599
+ "document": "tke接口json解析规则,null不需要解析\n注意:此字段可能返回 null,表示取不到有效值。",
1600
+ "example": "{\"NameSpace\": \"$.metadata.name\", \"WorkloadName\": \"$.metadata.name\"}",
1601
+ "member": "ObjectTypeJsonParse",
1602
+ "name": "ObjectTypeJsonParse",
1603
+ "output_required": true,
1604
+ "type": "object",
1605
+ "value_allowed_null": true
1606
+ },
1607
+ {
1608
+ "disabled": false,
1609
+ "document": "是否包含新动作\n注意:此字段可能返回 null,表示取不到有效值。",
1610
+ "example": "true",
1611
+ "member": "bool",
1612
+ "name": "ObjectHasNewAction",
1613
+ "output_required": false,
1614
+ "type": "bool",
1615
+ "value_allowed_null": true
1616
+ }
1617
+ ],
1618
+ "usage": "out"
1619
+ },
1620
+ "ObjectTypeConfig": {
1621
+ "document": "对象类型配置",
1622
+ "members": [
1623
+ {
1624
+ "disabled": false,
1625
+ "document": "主键",
1626
+ "example": "instanceId",
1627
+ "member": "string",
1628
+ "name": "Key",
1629
+ "required": true,
1630
+ "type": "string",
1631
+ "value_allowed_null": false
1632
+ },
1633
+ {
1634
+ "disabled": false,
1635
+ "document": "对象类型配置字段列表",
1636
+ "example": "无",
1637
+ "member": "ObjectTypeConfigFields",
1638
+ "name": "Fields",
1639
+ "required": true,
1640
+ "type": "list",
1641
+ "value_allowed_null": false
1642
+ }
1643
+ ],
1644
+ "usage": "out"
1645
+ },
1646
+ "ObjectTypeConfigFields": {
1647
+ "document": "对象类型字段类型",
1648
+ "members": [
1649
+ {
1650
+ "disabled": false,
1651
+ "document": "instanceId",
1652
+ "example": "instanceId",
1653
+ "member": "string",
1654
+ "name": "Key",
1655
+ "required": true,
1656
+ "type": "string",
1657
+ "value_allowed_null": false
1658
+ },
1659
+ {
1660
+ "disabled": false,
1661
+ "document": "实例id",
1662
+ "example": "实例id",
1663
+ "member": "string",
1664
+ "name": "Header",
1665
+ "required": true,
1666
+ "type": "string",
1667
+ "value_allowed_null": false
1668
+ },
1669
+ {
1670
+ "disabled": false,
1671
+ "document": "字段值是否需要转译,当不需要转译时,此字段返回null\n注意:此字段可能返回 null,表示取不到有效值。",
1672
+ "example": "无",
1673
+ "member": "string",
1674
+ "name": "Transfer",
1675
+ "required": false,
1676
+ "type": "string",
1677
+ "value_allowed_null": true
1678
+ },
1679
+ {
1680
+ "disabled": false,
1681
+ "document": "tke的pod字段信息解析\n注意:此字段可能返回 null,表示取不到有效值。",
1682
+ "example": "无",
1683
+ "member": "string",
1684
+ "name": "JsonParse",
1685
+ "required": false,
1686
+ "type": "string",
1687
+ "value_allowed_null": true
1688
+ }
1689
+ ],
1690
+ "usage": "both"
1691
+ },
1692
+ "ObjectTypeJsonParse": {
1693
+ "document": "标准pod对象类型下拉数据的解析",
1694
+ "members": [
1695
+ {
1696
+ "disabled": false,
1697
+ "document": "命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
1698
+ "example": "\"$.metadata.name\"",
1699
+ "member": "string",
1700
+ "name": "NameSpace",
1701
+ "output_required": false,
1702
+ "type": "string",
1703
+ "value_allowed_null": true
1704
+ },
1705
+ {
1706
+ "disabled": false,
1707
+ "document": "工作负载名称\n注意:此字段可能返回 null,表示取不到有效值。",
1708
+ "example": "\"$.metadata.name\"",
1709
+ "member": "string",
1710
+ "name": "WorkloadName",
1711
+ "output_required": false,
1712
+ "type": "string",
1713
+ "value_allowed_null": true
1714
+ },
1715
+ {
1716
+ "disabled": false,
1717
+ "document": "节点IP\n注意:此字段可能返回 null,表示取不到有效值。",
1718
+ "example": "\"$.metadata.name\"",
1719
+ "member": "string",
1720
+ "name": "LanIP",
1721
+ "output_required": false,
1722
+ "type": "string",
1723
+ "value_allowed_null": true
1724
+ },
1725
+ {
1726
+ "disabled": false,
1727
+ "document": "节点ID\n注意:此字段可能返回 null,表示取不到有效值。",
1728
+ "example": "\"$.metadata.name\"",
1729
+ "member": "string",
1730
+ "name": "InstanceId",
1731
+ "output_required": false,
1732
+ "type": "string",
1733
+ "value_allowed_null": true
1734
+ }
1735
+ ],
1736
+ "usage": "out"
1737
+ },
912
1738
  "PolicyTriggerLog": {
913
1739
  "document": "护栏策略触发日志",
914
1740
  "members": [
@@ -965,6 +1791,45 @@
965
1791
  ],
966
1792
  "usage": "out"
967
1793
  },
1794
+ "ResourceOffline": {
1795
+ "document": "资源下线",
1796
+ "members": [
1797
+ {
1798
+ "disabled": false,
1799
+ "document": "资源ID\n注意:此字段可能返回 null,表示取不到有效值。",
1800
+ "example": "1",
1801
+ "member": "int64",
1802
+ "name": "ResourceId",
1803
+ "output_required": false,
1804
+ "required": false,
1805
+ "type": "int",
1806
+ "value_allowed_null": true
1807
+ },
1808
+ {
1809
+ "disabled": false,
1810
+ "document": "资源下线时间\n注意:此字段可能返回 null,表示取不到有效值。",
1811
+ "example": "2024-01-01",
1812
+ "member": "string",
1813
+ "name": "ResourceDeleteTime",
1814
+ "output_required": false,
1815
+ "required": false,
1816
+ "type": "string",
1817
+ "value_allowed_null": true
1818
+ },
1819
+ {
1820
+ "disabled": false,
1821
+ "document": "资源下线提示\n注意:此字段可能返回 null,表示取不到有效值。",
1822
+ "example": "该动作所使用所使用探针工具功能不完善,已将该动作下线。",
1823
+ "member": "string",
1824
+ "name": "ResourceDeleteMessage",
1825
+ "output_required": false,
1826
+ "required": false,
1827
+ "type": "string",
1828
+ "value_allowed_null": true
1829
+ }
1830
+ ],
1831
+ "usage": "both"
1832
+ },
968
1833
  "TagWithCreate": {
969
1834
  "document": "用于传入创建、编辑标签",
970
1835
  "members": [