tccli 3.0.1155.1__py2.py3-none-any.whl → 3.0.1157.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 (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +48 -20
  3. tccli/services/cam/v20190116/api.json +10 -0
  4. tccli/services/ccc/v20200210/api.json +10 -0
  5. tccli/services/ccc/v20200210/examples.json +1 -1
  6. tccli/services/cdb/v20170320/api.json +38 -1
  7. tccli/services/cdwch/v20200915/api.json +27 -0
  8. tccli/services/cdwdoris/v20211228/api.json +27 -0
  9. tccli/services/cynosdb/v20190107/api.json +1 -1
  10. tccli/services/dts/v20211206/api.json +9 -0
  11. tccli/services/ess/ess_client.py +53 -0
  12. tccli/services/ess/v20201111/api.json +91 -0
  13. tccli/services/ess/v20201111/examples.json +8 -0
  14. tccli/services/gaap/v20180529/api.json +17 -17
  15. tccli/services/gaap/v20180529/examples.json +7 -13
  16. tccli/services/hunyuan/v20230901/api.json +2 -2
  17. tccli/services/iss/v20230517/api.json +6 -6
  18. tccli/services/mongodb/mongodb_client.py +273 -8
  19. tccli/services/mongodb/v20190725/api.json +486 -6
  20. tccli/services/mongodb/v20190725/examples.json +40 -0
  21. tccli/services/monitor/v20180724/api.json +23 -23
  22. tccli/services/monitor/v20180724/examples.json +12 -12
  23. tccli/services/mps/v20190612/api.json +2 -2
  24. tccli/services/mps/v20190612/examples.json +2 -2
  25. tccli/services/oceanus/v20190422/api.json +9 -0
  26. tccli/services/postgres/postgres_client.py +395 -24
  27. tccli/services/postgres/v20170312/api.json +549 -0
  28. tccli/services/postgres/v20170312/examples.json +92 -0
  29. tccli/services/rce/v20201103/api.json +78 -0
  30. tccli/services/tcr/v20190924/api.json +71 -45
  31. tccli/services/tcr/v20190924/examples.json +9 -9
  32. tccli/services/tem/v20210701/api.json +21 -3
  33. tccli/services/tem/v20210701/examples.json +1 -7
  34. tccli/services/thpc/thpc_client.py +110 -4
  35. tccli/services/thpc/v20230321/api.json +170 -35
  36. tccli/services/thpc/v20230321/examples.json +17 -1
  37. tccli/services/tke/v20220501/api.json +10 -0
  38. tccli/services/vclm/v20240523/api.json +9 -0
  39. tccli/services/vpc/v20170312/api.json +74 -15
  40. tccli/services/waf/v20180125/api.json +421 -72
  41. tccli/services/waf/v20180125/examples.json +6 -6
  42. tccli/services/wedata/v20210820/api.json +45 -7
  43. tccli/services/wedata/v20210820/examples.json +6 -0
  44. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/RECORD +48 -48
  46. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/license_files/LICENSE +0 -0
@@ -42,6 +42,13 @@
42
42
  "output": "CreateDBInstanceHourResponse",
43
43
  "status": "online"
44
44
  },
45
+ "CreateDBInstanceParamTpl": {
46
+ "document": "本接口(CreateDBInstanceParamTpl)用于创建云数据库MongoDB实例的参数模板\n**说明:CreateDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**",
47
+ "input": "CreateDBInstanceParamTplRequest",
48
+ "name": "创建数据库参数模板",
49
+ "output": "CreateDBInstanceParamTplResponse",
50
+ "status": "online"
51
+ },
45
52
  "DeleteAccountUser": {
46
53
  "document": "本接口(DeleteAccountUser)用于删除实例的自定义账号。",
47
54
  "input": "DeleteAccountUserRequest",
@@ -112,6 +119,20 @@
112
119
  "output": "DescribeDBInstanceNodePropertyResponse",
113
120
  "status": "online"
114
121
  },
122
+ "DescribeDBInstanceParamTpl": {
123
+ "document": "本接口(DescribeDBInstanceParamTpl )用于查询当前账号下所有MongoDB数据库参数模板\n**说明:DescribeDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**",
124
+ "input": "DescribeDBInstanceParamTplRequest",
125
+ "name": "查询实例参数模板列表",
126
+ "output": "DescribeDBInstanceParamTplResponse",
127
+ "status": "online"
128
+ },
129
+ "DescribeDBInstanceParamTplDetail": {
130
+ "document": "本接口(DescribeDBInstanceParamTplDetail )用于查询MongoDB云数据库实例的参数模板详情。\n**说明:DescribeDBInstanceParamTplDetail API正在公测中,在此期间,该接口仅对公测用户开放**",
131
+ "input": "DescribeDBInstanceParamTplDetailRequest",
132
+ "name": "参数模板详情",
133
+ "output": "DescribeDBInstanceParamTplDetailResponse",
134
+ "status": "online"
135
+ },
115
136
  "DescribeDBInstances": {
116
137
  "document": "本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、实例状态等过滤条件来筛选主实例、灾备实例和只读实例信息列表。",
117
138
  "input": "DescribeDBInstancesRequest",
@@ -161,6 +182,13 @@
161
182
  "output": "DescribeTransparentDataEncryptionStatusResponse",
162
183
  "status": "online"
163
184
  },
185
+ "DropDBInstanceParamTpl": {
186
+ "document": "本接口(DropDBInstanceParamTpl )用于删除云数据库MongoDB实例的参数模板\n**说明:DropDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**",
187
+ "input": "DropDBInstanceParamTplRequest",
188
+ "name": "删除参数模板",
189
+ "output": "DropDBInstanceParamTplResponse",
190
+ "status": "online"
191
+ },
164
192
  "EnableTransparentDataEncryption": {
165
193
  "document": "本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。",
166
194
  "input": "EnableTransparentDataEncryptionRequest",
@@ -224,6 +252,13 @@
224
252
  "output": "ModifyDBInstanceNetworkAddressResponse",
225
253
  "status": "online"
226
254
  },
255
+ "ModifyDBInstanceParamTpl": {
256
+ "document": "本接口(ModifyDBInstanceParamTpl )用于修改MongoDB云数据库实例的参数模板。\n**说明:ModifyDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**",
257
+ "input": "ModifyDBInstanceParamTplRequest",
258
+ "name": "修改数据库参数模板",
259
+ "output": "ModifyDBInstanceParamTplResponse",
260
+ "status": "online"
261
+ },
227
262
  "ModifyDBInstanceSecurityGroup": {
228
263
  "document": "本接口(ModifyDBInstanceSecurityGroup)用于修改实例绑定的安全组",
229
264
  "input": "ModifyDBInstanceSecurityGroupRequest",
@@ -1161,6 +1196,88 @@
1161
1196
  ],
1162
1197
  "type": "object"
1163
1198
  },
1199
+ "CreateDBInstanceParamTplRequest": {
1200
+ "document": "CreateDBInstanceParamTpl请求参数结构体",
1201
+ "members": [
1202
+ {
1203
+ "disabled": false,
1204
+ "document": "参数模板名称。",
1205
+ "example": "高性能模板",
1206
+ "member": "string",
1207
+ "name": "TplName",
1208
+ "required": true,
1209
+ "type": "string"
1210
+ },
1211
+ {
1212
+ "disabled": false,
1213
+ "document": "版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。",
1214
+ "example": "MONGO_42_WT",
1215
+ "member": "string",
1216
+ "name": "MongoVersion",
1217
+ "required": false,
1218
+ "type": "string"
1219
+ },
1220
+ {
1221
+ "disabled": false,
1222
+ "document": "实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点\n当MirrorTplId为空时,该字段必填。",
1223
+ "example": "SHARD",
1224
+ "member": "string",
1225
+ "name": "ClusterType",
1226
+ "required": false,
1227
+ "type": "string"
1228
+ },
1229
+ {
1230
+ "disabled": false,
1231
+ "document": "模板描述信息。",
1232
+ "example": "用于压测场景",
1233
+ "member": "string",
1234
+ "name": "TplDesc",
1235
+ "required": false,
1236
+ "type": "string"
1237
+ },
1238
+ {
1239
+ "disabled": false,
1240
+ "document": "模板参数,若为空,则以系统默认模板作为新版本参数。",
1241
+ "example": "无",
1242
+ "member": "ParamType",
1243
+ "name": "Params",
1244
+ "required": false,
1245
+ "type": "list"
1246
+ },
1247
+ {
1248
+ "disabled": false,
1249
+ "document": "镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。",
1250
+ "example": "tpl-sdah144hg",
1251
+ "member": "string",
1252
+ "name": "MirrorTplId",
1253
+ "required": false,
1254
+ "type": "string"
1255
+ }
1256
+ ],
1257
+ "type": "object"
1258
+ },
1259
+ "CreateDBInstanceParamTplResponse": {
1260
+ "document": "CreateDBInstanceParamTpl返回参数结构体",
1261
+ "members": [
1262
+ {
1263
+ "disabled": false,
1264
+ "document": "模板ID",
1265
+ "example": "tpl-sdah144hg",
1266
+ "member": "string",
1267
+ "name": "TplId",
1268
+ "output_required": true,
1269
+ "type": "string",
1270
+ "value_allowed_null": false
1271
+ },
1272
+ {
1273
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1274
+ "member": "string",
1275
+ "name": "RequestId",
1276
+ "type": "string"
1277
+ }
1278
+ ],
1279
+ "type": "object"
1280
+ },
1164
1281
  "CreateDBInstanceRequest": {
1165
1282
  "document": "CreateDBInstance请求参数结构体",
1166
1283
  "members": [
@@ -2367,6 +2484,196 @@
2367
2484
  ],
2368
2485
  "type": "object"
2369
2486
  },
2487
+ "DescribeDBInstanceParamTplDetailRequest": {
2488
+ "document": "DescribeDBInstanceParamTplDetail请求参数结构体",
2489
+ "members": [
2490
+ {
2491
+ "disabled": false,
2492
+ "document": "参数模板 ID。",
2493
+ "example": "tpl-sdvj2jh4k",
2494
+ "member": "string",
2495
+ "name": "TplId",
2496
+ "required": true,
2497
+ "type": "string"
2498
+ },
2499
+ {
2500
+ "disabled": false,
2501
+ "document": "参数名称,传入该值,则只会获取该字段的参数详情。为空时,返回全部参数。",
2502
+ "example": "operationProfiling.mode",
2503
+ "member": "string",
2504
+ "name": "ParamName",
2505
+ "required": false,
2506
+ "type": "string"
2507
+ }
2508
+ ],
2509
+ "type": "object"
2510
+ },
2511
+ "DescribeDBInstanceParamTplDetailResponse": {
2512
+ "document": "DescribeDBInstanceParamTplDetail返回参数结构体",
2513
+ "members": [
2514
+ {
2515
+ "disabled": false,
2516
+ "document": "枚举类参数详情列表。\n注意:此字段可能返回 null,表示取不到有效值。",
2517
+ "example": "无",
2518
+ "member": "InstanceEnumParam",
2519
+ "name": "InstanceEnumParams",
2520
+ "output_required": true,
2521
+ "type": "list",
2522
+ "value_allowed_null": true
2523
+ },
2524
+ {
2525
+ "disabled": false,
2526
+ "document": "整形参数详情列表。\n注意:此字段可能返回 null,表示取不到有效值。",
2527
+ "example": "无",
2528
+ "member": "InstanceIntegerParam",
2529
+ "name": "InstanceIntegerParams",
2530
+ "output_required": true,
2531
+ "type": "list",
2532
+ "value_allowed_null": true
2533
+ },
2534
+ {
2535
+ "disabled": false,
2536
+ "document": "文本参数详情列表。\n注意:此字段可能返回 null,表示取不到有效值。",
2537
+ "example": "无",
2538
+ "member": "InstanceTextParam",
2539
+ "name": "InstanceTextParams",
2540
+ "output_required": true,
2541
+ "type": "list",
2542
+ "value_allowed_null": true
2543
+ },
2544
+ {
2545
+ "disabled": false,
2546
+ "document": "多值参数详情列表。\n注意:此字段可能返回 null,表示取不到有效值。",
2547
+ "example": "无",
2548
+ "member": "InstanceMultiParam",
2549
+ "name": "InstanceMultiParams",
2550
+ "output_required": true,
2551
+ "type": "list",
2552
+ "value_allowed_null": true
2553
+ },
2554
+ {
2555
+ "disabled": false,
2556
+ "document": "参数总个数。\n注意:此字段可能返回 null,表示取不到有效值。",
2557
+ "example": "无",
2558
+ "member": "int64",
2559
+ "name": "TotalCount",
2560
+ "output_required": true,
2561
+ "type": "int",
2562
+ "value_allowed_null": true
2563
+ },
2564
+ {
2565
+ "disabled": false,
2566
+ "document": "模板适配实例版本。\n注意:此字段可能返回 null,表示取不到有效值。",
2567
+ "example": "MONGO_50_WT",
2568
+ "member": "string",
2569
+ "name": "MongoVersion",
2570
+ "output_required": true,
2571
+ "type": "string",
2572
+ "value_allowed_null": true
2573
+ },
2574
+ {
2575
+ "disabled": false,
2576
+ "document": "模板适配集群类型,副本集或分片。。\n注意:此字段可能返回 null,表示取不到有效值。",
2577
+ "example": "SHARD",
2578
+ "member": "string",
2579
+ "name": "ClusterType",
2580
+ "output_required": true,
2581
+ "type": "string",
2582
+ "value_allowed_null": true
2583
+ },
2584
+ {
2585
+ "disabled": false,
2586
+ "document": "参数模板名称。\n注意:此字段可能返回 null,表示取不到有效值。",
2587
+ "example": "test",
2588
+ "member": "string",
2589
+ "name": "TplName",
2590
+ "output_required": true,
2591
+ "type": "string",
2592
+ "value_allowed_null": true
2593
+ },
2594
+ {
2595
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2596
+ "member": "string",
2597
+ "name": "RequestId",
2598
+ "type": "string"
2599
+ }
2600
+ ],
2601
+ "type": "object"
2602
+ },
2603
+ "DescribeDBInstanceParamTplRequest": {
2604
+ "document": "DescribeDBInstanceParamTpl请求参数结构体",
2605
+ "members": [
2606
+ {
2607
+ "disabled": false,
2608
+ "document": "参数模板 ID 查询条件。",
2609
+ "example": "[\"tpl-sdjf143qu\"]",
2610
+ "member": "string",
2611
+ "name": "TplIds",
2612
+ "required": false,
2613
+ "type": "list"
2614
+ },
2615
+ {
2616
+ "disabled": false,
2617
+ "document": "模板名称,查询条件。",
2618
+ "example": "[\"test\"]",
2619
+ "member": "string",
2620
+ "name": "TplNames",
2621
+ "required": false,
2622
+ "type": "list"
2623
+ },
2624
+ {
2625
+ "disabled": false,
2626
+ "document": "根据版本号插叙参数模板,具体支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。",
2627
+ "example": "[\"MONGO_42_WT\"]",
2628
+ "member": "string",
2629
+ "name": "MongoVersion",
2630
+ "required": false,
2631
+ "type": "list"
2632
+ },
2633
+ {
2634
+ "disabled": false,
2635
+ "document": "根据模板类型查询参数模板,支持DEFAULT(默认模板)和CUSTOMIZE(自定义模板)两种。",
2636
+ "example": "CUSTOMIZE",
2637
+ "member": "string",
2638
+ "name": "TplType",
2639
+ "required": false,
2640
+ "type": "string"
2641
+ }
2642
+ ],
2643
+ "type": "object"
2644
+ },
2645
+ "DescribeDBInstanceParamTplResponse": {
2646
+ "document": "DescribeDBInstanceParamTpl返回参数结构体",
2647
+ "members": [
2648
+ {
2649
+ "disabled": false,
2650
+ "document": "参数模板列表信息。\n注意:此字段可能返回 null,表示取不到有效值。",
2651
+ "example": "无",
2652
+ "member": "ParamTpl",
2653
+ "name": "ParamTpls",
2654
+ "output_required": true,
2655
+ "type": "list",
2656
+ "value_allowed_null": true
2657
+ },
2658
+ {
2659
+ "disabled": false,
2660
+ "document": "参数模板总数。\n注意:此字段可能返回 null,表示取不到有效值。",
2661
+ "example": "无",
2662
+ "member": "uint64",
2663
+ "name": "TotalCount",
2664
+ "output_required": true,
2665
+ "type": "int",
2666
+ "value_allowed_null": true
2667
+ },
2668
+ {
2669
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2670
+ "member": "string",
2671
+ "name": "RequestId",
2672
+ "type": "string"
2673
+ }
2674
+ ],
2675
+ "type": "object"
2676
+ },
2370
2677
  "DescribeDBInstancesRequest": {
2371
2678
  "document": "DescribeDBInstances请求参数结构体",
2372
2679
  "members": [
@@ -2381,7 +2688,7 @@
2381
2688
  },
2382
2689
  {
2383
2690
  "disabled": false,
2384
- "document": "实例类型。取值范围如下:<ul><li>0:所有实例。</li><li>1:正式实例。</li><li>2:临时实例。</li><li>3:只读实例。</li><li>-1:正式实例、只读、灾备实例。</li></ul>",
2691
+ "document": "指定查询的实例类型。取值范围如下:<ul><li>0:所有实例。</li><li>1:正式实例。</li><li>3:只读实例。</li><li>4:灾备实例。</li></ul>",
2385
2692
  "example": "0",
2386
2693
  "member": "int64",
2387
2694
  "name": "InstanceType",
@@ -2390,7 +2697,7 @@
2390
2697
  },
2391
2698
  {
2392
2699
  "disabled": false,
2393
- "document": "集群类型,取值范围如下:<ul><li>0:副本集实例。</li><li>1:分片实例。</li><li>-1:所有实例。</li></ul>",
2700
+ "document": "指定所查询实例的集群类型,取值范围如下:<ul><li>0:副本集实例。</li><li>1:分片实例。</li><li>-1:副本集与分片实例。</li></ul>",
2394
2701
  "example": "0",
2395
2702
  "member": "int64",
2396
2703
  "name": "ClusterType",
@@ -2399,7 +2706,7 @@
2399
2706
  },
2400
2707
  {
2401
2708
  "disabled": false,
2402
- "document": "实例状态,取值范围如下所示:<ul><li>0:待初始化。</li><li>1:流程执行中。</li><li>2:实例有效。</li><li>-2:已隔离(包年包月实例)。</li><li>-3:已隔离(按量计费实例)。</li></ul>",
2709
+ "document": "指定所查询实例的当前状态,取值范围如下所示:<ul><li>0:待初始化。</li><li>1:流程处理中,例如:变更规格、参数修改等。</li><li>2:实例正常运行中。</li><li>-2:实例已过期。</li></ul>",
2403
2710
  "example": "2",
2404
2711
  "member": "int64",
2405
2712
  "name": "Status",
@@ -2426,7 +2733,7 @@
2426
2733
  },
2427
2734
  {
2428
2735
  "disabled": false,
2429
- "document": "付费类型,取值范围如下:<ul><li>0:查询按量计费实例。</li><li>1:查询包年包月实例。</li><li>-1:查询按量计费与包年包月实例。</li></ul>",
2736
+ "document": "指定所查询实例的付费类型,取值范围如下:<ul><li>0:查询按量计费实例。</li><li>1:查询包年包月实例。</li><li>-1:查询按量计费与包年包月实例。</li></ul>",
2430
2737
  "example": "1",
2431
2738
  "member": "int64",
2432
2739
  "name": "PayMode",
@@ -2480,7 +2787,7 @@
2480
2787
  },
2481
2788
  {
2482
2789
  "disabled": false,
2483
- "document": "配置查询搜索的关键词。支持配置为实例ID、实例名称或者内网 IP 地址。",
2790
+ "document": "指定查询搜索的关键词。支持设置为具体的实例ID、实例名称或者内网 IP 地址。",
2484
2791
  "example": "无",
2485
2792
  "member": "string",
2486
2793
  "name": "SearchKey",
@@ -2928,6 +3235,33 @@
2928
3235
  ],
2929
3236
  "type": "object"
2930
3237
  },
3238
+ "DropDBInstanceParamTplRequest": {
3239
+ "document": "DropDBInstanceParamTpl请求参数结构体",
3240
+ "members": [
3241
+ {
3242
+ "disabled": false,
3243
+ "document": "参数模板 ID。",
3244
+ "example": "tpl-djtuhy1d",
3245
+ "member": "string",
3246
+ "name": "TplId",
3247
+ "required": true,
3248
+ "type": "string"
3249
+ }
3250
+ ],
3251
+ "type": "object"
3252
+ },
3253
+ "DropDBInstanceParamTplResponse": {
3254
+ "document": "DropDBInstanceParamTpl返回参数结构体",
3255
+ "members": [
3256
+ {
3257
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3258
+ "member": "string",
3259
+ "name": "RequestId",
3260
+ "type": "string"
3261
+ }
3262
+ ],
3263
+ "type": "object"
3264
+ },
2931
3265
  "EnableTransparentDataEncryptionRequest": {
2932
3266
  "document": "EnableTransparentDataEncryption请求参数结构体",
2933
3267
  "members": [
@@ -3594,7 +3928,7 @@
3594
3928
  },
3595
3929
  {
3596
3930
  "disabled": false,
3597
- "document": "实例状态,可能的返回值:0-待初始化,1-流程处理中,2-运行中,-2-实例已过期。",
3931
+ "document": "实例状态,可能的返回值:0-创建中,1-流程处理中,2-运行中,-2-实例已过期。",
3598
3932
  "example": "2",
3599
3933
  "member": "int64",
3600
3934
  "name": "Status",
@@ -4547,6 +4881,60 @@
4547
4881
  ],
4548
4882
  "type": "object"
4549
4883
  },
4884
+ "ModifyDBInstanceParamTplRequest": {
4885
+ "document": "ModifyDBInstanceParamTpl请求参数结构体",
4886
+ "members": [
4887
+ {
4888
+ "disabled": false,
4889
+ "document": "待修改的参数模板 ID,示例:tpl-jglr91vew。",
4890
+ "example": "tpl-sdh134udi",
4891
+ "member": "string",
4892
+ "name": "TplId",
4893
+ "required": true,
4894
+ "type": "string"
4895
+ },
4896
+ {
4897
+ "disabled": false,
4898
+ "document": "待修改参数模板名称,为空时,保持原有名称。",
4899
+ "example": "压测模板",
4900
+ "member": "string",
4901
+ "name": "TplName",
4902
+ "required": false,
4903
+ "type": "string"
4904
+ },
4905
+ {
4906
+ "disabled": false,
4907
+ "document": "待修改参数模板描述,为空时,保持原有描述。",
4908
+ "example": "用于压测",
4909
+ "member": "string",
4910
+ "name": "TplDesc",
4911
+ "required": false,
4912
+ "type": "string"
4913
+ },
4914
+ {
4915
+ "disabled": false,
4916
+ "document": "待修改参数名及参数值,为空时,各参数保持原有值,支持单条或批量修改。",
4917
+ "example": "无",
4918
+ "member": "ParamType",
4919
+ "name": "Params",
4920
+ "required": false,
4921
+ "type": "list"
4922
+ }
4923
+ ],
4924
+ "type": "object"
4925
+ },
4926
+ "ModifyDBInstanceParamTplResponse": {
4927
+ "document": "ModifyDBInstanceParamTpl返回参数结构体",
4928
+ "members": [
4929
+ {
4930
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4931
+ "member": "string",
4932
+ "name": "RequestId",
4933
+ "type": "string"
4934
+ }
4935
+ ],
4936
+ "type": "object"
4937
+ },
4550
4938
  "ModifyDBInstanceSecurityGroupRequest": {
4551
4939
  "document": "ModifyDBInstanceSecurityGroup请求参数结构体",
4552
4940
  "members": [
@@ -5031,6 +5419,98 @@
5031
5419
  ],
5032
5420
  "usage": "in"
5033
5421
  },
5422
+ "ParamTpl": {
5423
+ "document": "数据库参数模板",
5424
+ "members": [
5425
+ {
5426
+ "disabled": false,
5427
+ "document": "参数模板名称",
5428
+ "example": "压测参数模板",
5429
+ "member": "string",
5430
+ "name": "TplName",
5431
+ "required": true,
5432
+ "type": "string",
5433
+ "value_allowed_null": false
5434
+ },
5435
+ {
5436
+ "disabled": false,
5437
+ "document": "参数模板ID",
5438
+ "example": "tpl-adh42hg1y",
5439
+ "member": "string",
5440
+ "name": "TplId",
5441
+ "required": true,
5442
+ "type": "string",
5443
+ "value_allowed_null": false
5444
+ },
5445
+ {
5446
+ "disabled": false,
5447
+ "document": "适用数据库版本",
5448
+ "example": "MONGO_42_WT",
5449
+ "member": "string",
5450
+ "name": "MongoVersion",
5451
+ "required": true,
5452
+ "type": "string",
5453
+ "value_allowed_null": false
5454
+ },
5455
+ {
5456
+ "disabled": false,
5457
+ "document": "适用数据库类型",
5458
+ "example": "SHARD",
5459
+ "member": "string",
5460
+ "name": "ClusterType",
5461
+ "required": true,
5462
+ "type": "string",
5463
+ "value_allowed_null": false
5464
+ },
5465
+ {
5466
+ "disabled": false,
5467
+ "document": "参数模板描述",
5468
+ "example": "用于压测",
5469
+ "member": "string",
5470
+ "name": "TplDesc",
5471
+ "required": true,
5472
+ "type": "string",
5473
+ "value_allowed_null": false
5474
+ },
5475
+ {
5476
+ "disabled": false,
5477
+ "document": "模板类型,包括DEFAULT(默认模板)及CUSTOMIZE(定制模板)两种类型",
5478
+ "example": "DEFAULT",
5479
+ "member": "string",
5480
+ "name": "TplType",
5481
+ "required": true,
5482
+ "type": "string",
5483
+ "value_allowed_null": false
5484
+ }
5485
+ ],
5486
+ "usage": "out"
5487
+ },
5488
+ "ParamType": {
5489
+ "document": "数据库参数",
5490
+ "members": [
5491
+ {
5492
+ "disabled": false,
5493
+ "document": "参数",
5494
+ "example": "balance.window",
5495
+ "member": "string",
5496
+ "name": "Key",
5497
+ "required": true,
5498
+ "type": "string",
5499
+ "value_allowed_null": false
5500
+ },
5501
+ {
5502
+ "disabled": false,
5503
+ "document": "参数值",
5504
+ "example": "1|2",
5505
+ "member": "string",
5506
+ "name": "Value",
5507
+ "required": true,
5508
+ "type": "string",
5509
+ "value_allowed_null": false
5510
+ }
5511
+ ],
5512
+ "usage": "both"
5513
+ },
5034
5514
  "RemoveNodeList": {
5035
5515
  "document": "修改实例节点详情",
5036
5516
  "members": [
@@ -48,6 +48,14 @@
48
48
  "title": "创建云数据库实例(按量计费)"
49
49
  }
50
50
  ],
51
+ "CreateDBInstanceParamTpl": [
52
+ {
53
+ "document": "",
54
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceParamTpl\n<公共请求参数>\n\n{\n \"ClusterType\": \"SHARD\",\n \"MongoVersion\": \"MONGO_44_WT\",\n \"TplDesc\": \"\",\n \"TplName\": \"test-4.4\"\n}",
55
+ "output": "{\n \"Response\": {\n \"RequestId\": \"f3924f2d-6b76-4fe3-b705-1e0144049b90\",\n \"TplId\": \"tpl-bi5f78srm\"\n }\n}",
56
+ "title": "创建参数模板"
57
+ }
58
+ ],
51
59
  "DeleteAccountUser": [
52
60
  {
53
61
  "document": "刪除实例账号",
@@ -128,6 +136,22 @@
128
136
  "title": "查询实例节点信息"
129
137
  }
130
138
  ],
139
+ "DescribeDBInstanceParamTpl": [
140
+ {
141
+ "document": "",
142
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceParamTpl\n<公共请求参数>\n\n{\n \"TplIds\": [\n \"tpl-eykkk2khs\"\n ]\n}",
143
+ "output": "{\n \"Response\": {\n \"ParamTpls\": [\n {\n \"ClusterType\": \"REPLSET\",\n \"MongoVersion\": \"MONGO_42_WT\",\n \"TplDesc\": \"System predefined, forbid modify and delete.\",\n \"TplId\": \"tpl-eykkk2khs\",\n \"TplName\": \"default parameter template\",\n \"TplType\": \"DEFAULT\"\n }\n ],\n \"RequestId\": \"7878d7d7-8c80-4050-93a1-5e1785effd1a\",\n \"TotalCount\": 1\n }\n}",
144
+ "title": "根据模板ID查询参数模板"
145
+ }
146
+ ],
147
+ "DescribeDBInstanceParamTplDetail": [
148
+ {
149
+ "document": "",
150
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceParamTplDetail\n<公共请求参数>\n\n{\n \"TplId\": \"tpl-2284g3nmw\"\n}",
151
+ "output": "{\n \"Response\": {\n \"ClusterType\": \"REPLSET\",\n \"InstanceEnumParams\": [\n {\n \"CurrentValue\": \"off\",\n \"DefaultValue\": \"off\",\n \"EnumValue\": [\n \"off\",\n \"slowOp\",\n \"all\"\n ],\n \"NeedRestart\": \"0\",\n \"ParamName\": \"operationProfiling.mode\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"specifies which operations should be profiled.\"\n ],\n \"ValueType\": \"enum\"\n },\n {\n \"CurrentValue\": \"snappy\",\n \"DefaultValue\": \"snappy\",\n \"EnumValue\": [\n \"snappy\",\n \"zlib\",\n \"zstd\",\n \"none\"\n ],\n \"NeedRestart\": \"1\",\n \"ParamName\": \"storage.wiredTiger.collectionConfig.blockCompressor\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"you can uses zstd for journal compression and data compression.\"\n ],\n \"ValueType\": \"enum\"\n }\n ],\n \"InstanceIntegerParams\": [\n {\n \"CurrentValue\": \"100\",\n \"DefaultValue\": \"100\",\n \"Max\": \"65536\",\n \"Min\": \"0\",\n \"NeedRestart\": \"0\",\n \"ParamName\": \"operation.profiling.slowOpThresholdMs\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"the slow operation time threshold, in milliseconds.\"\n ],\n \"Unit\": \"\",\n \"ValueType\": \"integer\"\n },\n {\n \"CurrentValue\": \"600000\",\n \"DefaultValue\": \"600000\",\n \"Max\": \"2147483647\",\n \"Min\": \"1\",\n \"NeedRestart\": \"0\",\n \"ParamName\": \"setParameter.cursorTimeoutMillis\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"sets the expiration threshold in milliseconds for idle cursors before MongoDB removes them.\"\n ],\n \"Unit\": \"\",\n \"ValueType\": \"integer\"\n },\n {\n \"CurrentValue\": \"33554432\",\n \"DefaultValue\": \"33554432\",\n \"Max\": \"268435456\",\n \"Min\": \"33554432\",\n \"NeedRestart\": \"0\",\n \"ParamName\": \"setParameter.internalQueryMaxBlockingSortMemoryUsageBytes\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"internal query exec max blocking sort bytes.\"\n ],\n \"Unit\": \"\",\n \"ValueType\": \"integer\"\n },\n {\n \"CurrentValue\": \"5\",\n \"DefaultValue\": \"5\",\n \"Max\": \"60\",\n \"Min\": \"0\",\n \"NeedRestart\": \"0\",\n \"ParamName\": \"setParameter.maxTransactionLockRequestTimeoutMillis\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"the maximum amount of time in milliseconds that multi-document transactions should wait to acquire locks required by the operations in the transaction.\"\n ],\n \"Unit\": \"\",\n \"ValueType\": \"integer\"\n },\n {\n \"CurrentValue\": \"60\",\n \"DefaultValue\": \"60\",\n \"Max\": \"300\",\n \"Min\": \"5\",\n \"NeedRestart\": \"0\",\n \"ParamName\": \"setParameter.transactionLifetimeLimitSeconds\",\n \"Status\": 1,\n \"Tips\": [\n \"\",\n \"specifies the lifetime of multi-document transactions.\"\n ],\n \"Unit\": \"\",\n \"ValueType\": \"integer\"\n }\n ],\n \"InstanceMultiParams\": [],\n \"InstanceTextParams\": [],\n \"MongoVersion\": \"MONGO_50_WT\",\n \"RequestId\": \"5dedc31c-ee80-4a12-9ed3-6003504b5a57\",\n \"TotalCount\": 7,\n \"TplName\": \"demo\"\n }\n}",
152
+ "title": "查询参数模板详情"
153
+ }
154
+ ],
131
155
  "DescribeDBInstances": [
132
156
  {
133
157
  "document": "查询实例列表",
@@ -184,6 +208,14 @@
184
208
  "title": "获取当前实例是否已开启数据加密"
185
209
  }
186
210
  ],
211
+ "DropDBInstanceParamTpl": [
212
+ {
213
+ "document": "",
214
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DropDBInstanceParamTpl\n<公共请求参数>\n\n{\n \"TplId\": \"tpl-b2l1n0886\"\n}",
215
+ "output": "{\n \"Response\": {\n \"RequestId\": \"33bb57b9-4090-40d8-a608-22299973063f\"\n }\n}",
216
+ "title": "删除参数模板"
217
+ }
218
+ ],
187
219
  "EnableTransparentDataEncryption": [
188
220
  {
189
221
  "document": "",
@@ -256,6 +288,14 @@
256
288
  "title": "修改云数据库实例网络信息"
257
289
  }
258
290
  ],
291
+ "ModifyDBInstanceParamTpl": [
292
+ {
293
+ "document": "",
294
+ "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceParamTpl\n<公共请求参数>\n\n{\n \"Params\": [\n {\n \"Key\": \"operation.profiling.slowOpThresholdMs\",\n \"Value\": \"1001\"\n }\n ],\n \"TplId\": \"tpl-2284g3nmw\"\n}",
295
+ "output": "{\n \"Response\": {\n \"RequestId\": \"55c81522-95ae-4dc1-a8a4-15b3efd06f36\"\n }\n}",
296
+ "title": "修改参数"
297
+ }
298
+ ],
259
299
  "ModifyDBInstanceSecurityGroup": [
260
300
  {
261
301
  "document": "修改指定实例的安全组入站规则",