tencentcloud-sdk-nodejs 4.1.106 → 4.1.108

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 (36) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/lighthouse/v20200324/lighthouse_client.js +23 -2
  3. package/es/services/mna/v20210119/mna_client.js +3 -0
  4. package/es/services/waf/v20180125/waf_client.js +22 -4
  5. package/package.json +1 -1
  6. package/tencentcloud/common/sdk_version.d.ts +1 -1
  7. package/tencentcloud/common/sdk_version.js +1 -1
  8. package/tencentcloud/services/as/v20180419/as_models.d.ts +14 -4
  9. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +4 -4
  10. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +4 -4
  11. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +133 -89
  12. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +12 -0
  13. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +8 -4
  14. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +43 -5
  15. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +57 -5
  16. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +374 -85
  17. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +53 -18
  18. package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +22 -1
  19. package/tencentcloud/services/mna/v20210119/mna_client.d.ts +5 -1
  20. package/tencentcloud/services/mna/v20210119/mna_client.js +6 -0
  21. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +63 -0
  22. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +1 -1
  23. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +42 -0
  24. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
  25. package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
  26. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
  27. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +4 -0
  28. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +4 -0
  29. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -3
  30. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +9 -6
  31. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
  32. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  33. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +43 -20
  34. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +32 -5
  35. package/tencentcloud/services/waf/v20180125/waf_client.js +45 -6
  36. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +743 -59
@@ -78,6 +78,15 @@ export interface DescribeDisksDeniedActionsRequest {
78
78
  */
79
79
  DiskIds: Array<string>;
80
80
  }
81
+ /**
82
+ * StopMcpServers返回参数结构体
83
+ */
84
+ export interface StopMcpServersResponse {
85
+ /**
86
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
87
+ */
88
+ RequestId?: string;
89
+ }
81
90
  /**
82
91
  * Docker容器映射的端口
83
92
  */
@@ -100,13 +109,29 @@ export interface DockerContainerPublishPort {
100
109
  Protocol?: string;
101
110
  }
102
111
  /**
103
- * InquirePriceCreateBlueprint请求参数结构体
112
+ * DescribeMcpServers返回参数结构体
104
113
  */
105
- export interface InquirePriceCreateBlueprintRequest {
114
+ export interface DescribeMcpServersResponse {
106
115
  /**
107
- * 自定义镜像的个数。默认值为1。
116
+ * MCP Server列表。
108
117
  */
109
- BlueprintCount?: number;
118
+ McpServerSet?: Array<McpServer>;
119
+ /**
120
+ * 符合条件的MCP Server数量。
121
+ */
122
+ TotalCount?: number;
123
+ /**
124
+ * 实例 ID。
125
+ */
126
+ InstanceId?: string;
127
+ /**
128
+ * 实例名称。
129
+ */
130
+ InstanceName?: string;
131
+ /**
132
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
133
+ */
134
+ RequestId?: string;
110
135
  }
111
136
  /**
112
137
  * DescribeDiskBackups请求参数结构体
@@ -325,6 +350,19 @@ export interface RegionInfo {
325
350
  */
326
351
  IsChinaMainland?: boolean;
327
352
  }
353
+ /**
354
+ * StopMcpServers请求参数结构体
355
+ */
356
+ export interface StopMcpServersRequest {
357
+ /**
358
+ * 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
359
+ */
360
+ InstanceId: string;
361
+ /**
362
+ * MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
363
+ */
364
+ McpServerIds: Array<string>;
365
+ }
328
366
  /**
329
367
  * DescribeBlueprintInstances返回参数结构体
330
368
  */
@@ -503,6 +541,15 @@ export interface InquirePriceRenewInstancesResponse {
503
541
  */
504
542
  RequestId?: string;
505
543
  }
544
+ /**
545
+ * RenewDisks返回参数结构体
546
+ */
547
+ export interface RenewDisksResponse {
548
+ /**
549
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
550
+ */
551
+ RequestId?: string;
552
+ }
506
553
  /**
507
554
  * DeleteFirewallRules返回参数结构体
508
555
  */
@@ -632,6 +679,19 @@ export interface DescribeBundlesResponse {
632
679
  */
633
680
  RequestId?: string;
634
681
  }
682
+ /**
683
+ * ResetFirewallTemplateRules请求参数结构体
684
+ */
685
+ export interface ResetFirewallTemplateRulesRequest {
686
+ /**
687
+ * 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。
688
+ */
689
+ TemplateId: string;
690
+ /**
691
+ * 重置后的防火墙模板规则列表。每次请求批量防火墙规则的上限为 100。
692
+ */
693
+ TemplateRules: Array<FirewallRule>;
694
+ }
635
695
  /**
636
696
  * ModifyImageSharePermission返回参数结构体
637
697
  */
@@ -687,6 +747,15 @@ export interface DescribeFirewallTemplatesRequest {
687
747
  */
688
748
  Limit?: number;
689
749
  }
750
+ /**
751
+ * ModifyDiskBackupsAttribute返回参数结构体
752
+ */
753
+ export interface ModifyDiskBackupsAttributeResponse {
754
+ /**
755
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
756
+ */
757
+ RequestId?: string;
758
+ }
690
759
  /**
691
760
  * ModifyInstancesBundle请求参数结构体
692
761
  */
@@ -960,6 +1029,15 @@ export interface AssociateInstancesKeyPairsRequest {
960
1029
  */
961
1030
  InstanceIds: Array<string>;
962
1031
  }
1032
+ /**
1033
+ * RestartMcpServers返回参数结构体
1034
+ */
1035
+ export interface RestartMcpServersResponse {
1036
+ /**
1037
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1038
+ */
1039
+ RequestId?: string;
1040
+ }
963
1041
  /**
964
1042
  * Docker容器信息
965
1043
  */
@@ -1451,21 +1529,17 @@ export interface CreateBlueprintRequest {
1451
1529
  ForcePowerOff?: boolean;
1452
1530
  }
1453
1531
  /**
1454
- * DeleteFirewallRules请求参数结构体
1532
+ * CreateMcpServer返回参数结构体
1455
1533
  */
1456
- export interface DeleteFirewallRulesRequest {
1534
+ export interface CreateMcpServerResponse {
1457
1535
  /**
1458
- * 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。
1459
- */
1460
- InstanceId: string;
1461
- /**
1462
- * 防火墙规则列表。
1536
+ * MCP Server ID。
1463
1537
  */
1464
- FirewallRules: Array<FirewallRule>;
1538
+ McpServerId?: string;
1465
1539
  /**
1466
- * 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。
1540
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1467
1541
  */
1468
- FirewallVersion?: number;
1542
+ RequestId?: string;
1469
1543
  }
1470
1544
  /**
1471
1545
  * RerunDockerContainer请求参数结构体
@@ -1625,6 +1699,23 @@ export interface ApplyDiskBackupResponse {
1625
1699
  */
1626
1700
  RequestId?: string;
1627
1701
  }
1702
+ /**
1703
+ * DeleteFirewallRules请求参数结构体
1704
+ */
1705
+ export interface DeleteFirewallRulesRequest {
1706
+ /**
1707
+ * 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。
1708
+ */
1709
+ InstanceId: string;
1710
+ /**
1711
+ * 防火墙规则列表。
1712
+ */
1713
+ FirewallRules: Array<FirewallRule>;
1714
+ /**
1715
+ * 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。
1716
+ */
1717
+ FirewallVersion?: number;
1718
+ }
1628
1719
  /**
1629
1720
  * DescribeBlueprints请求参数结构体
1630
1721
  */
@@ -1671,6 +1762,23 @@ export interface DescribeBlueprintsRequest {
1671
1762
  */
1672
1763
  Filters?: Array<Filter>;
1673
1764
  }
1765
+ /**
1766
+ * ResetInstancesPassword请求参数结构体
1767
+ */
1768
+ export interface ResetInstancesPasswordRequest {
1769
+ /**
1770
+ * 实例 ID 列表。每次请求批量实例的上限为 100。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
1771
+ */
1772
+ InstanceIds: Array<string>;
1773
+ /**
1774
+ * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:</br> `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字:0-9</br></li> <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li></br> `WINDOWS` 实例密码必须 12-30 位,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字: 0-9</br></li> <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</br></li> <li>如果实例即包含 `LINUX_UNIX` 实例又包含 `WINDOWS` 实例,则密码复杂度限制按照 `WINDOWS` 实例的限制。</li>
1775
+ */
1776
+ Password: string;
1777
+ /**
1778
+ * 待重置密码的实例操作系统用户名。不得超过 64 个字符。
1779
+ */
1780
+ UserName?: string;
1781
+ }
1674
1782
  /**
1675
1783
  * 实例可退还信息。
1676
1784
  */
@@ -1741,6 +1849,15 @@ export interface CreateFirewallTemplateRequest {
1741
1849
  */
1742
1850
  TemplateRules?: Array<FirewallRule>;
1743
1851
  }
1852
+ /**
1853
+ * ModifyMcpServer返回参数结构体
1854
+ */
1855
+ export interface ModifyMcpServerResponse {
1856
+ /**
1857
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1858
+ */
1859
+ RequestId?: string;
1860
+ }
1744
1861
  /**
1745
1862
  * RemoveDockerContainers请求参数结构体
1746
1863
  */
@@ -1962,13 +2079,25 @@ export interface DescribeDisksResponse {
1962
2079
  RequestId?: string;
1963
2080
  }
1964
2081
  /**
1965
- * StartInstances请求参数结构体
2082
+ * DescribeMcpServers请求参数结构体
1966
2083
  */
1967
- export interface StartInstancesRequest {
2084
+ export interface DescribeMcpServersRequest {
1968
2085
  /**
1969
- * 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2086
+ * 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
1970
2087
  */
1971
- InstanceIds: Array<string>;
2088
+ InstanceId: string;
2089
+ /**
2090
+ * MCP Server ID列表。列表为空时此条件不生效。最大长度:10
2091
+ */
2092
+ McpServerIds?: Array<string>;
2093
+ /**
2094
+ * 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
2095
+ */
2096
+ Limit?: number;
2097
+ /**
2098
+ * 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
2099
+ */
2100
+ Offset?: number;
1972
2101
  }
1973
2102
  /**
1974
2103
  * DescribeBundleDiscount返回参数结构体
@@ -2053,6 +2182,15 @@ export interface DisassociateInstancesKeyPairsRequest {
2053
2182
  * DescribeFirewallTemplateQuota请求参数结构体
2054
2183
  */
2055
2184
  export declare type DescribeFirewallTemplateQuotaRequest = null;
2185
+ /**
2186
+ * RemoveMcpServers返回参数结构体
2187
+ */
2188
+ export interface RemoveMcpServersResponse {
2189
+ /**
2190
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2191
+ */
2192
+ RequestId?: string;
2193
+ }
2056
2194
  /**
2057
2195
  * 数据盘价格
2058
2196
  */
@@ -2362,17 +2500,29 @@ export interface DescribeModifyInstanceBundlesRequest {
2362
2500
  */
2363
2501
  export declare type DescribeRegionsRequest = null;
2364
2502
  /**
2365
- * 实例标识信息。
2503
+ * CreateMcpServer请求参数结构体
2366
2504
  */
2367
- export interface InstanceIdentifier {
2505
+ export interface CreateMcpServerRequest {
2368
2506
  /**
2369
- * 实例ID
2507
+ * 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2370
2508
  */
2371
2509
  InstanceId: string;
2372
2510
  /**
2373
- * 实例地域。
2511
+ * MCP Server名称。最大长度:64
2374
2512
  */
2375
- Region: string;
2513
+ Name: string;
2514
+ /**
2515
+ * Base64编码后的MCP Server启动命令。最大长度:2048
2516
+ */
2517
+ Command: string;
2518
+ /**
2519
+ * MCP Server备注。最大长度:2048
2520
+ */
2521
+ Description?: string;
2522
+ /**
2523
+ * MCP Server环境变量。最大长度:10
2524
+ */
2525
+ Envs?: Array<McpServerEnv>;
2376
2526
  }
2377
2527
  /**
2378
2528
  * DescribeInstancesDiskNum返回参数结构体
@@ -2405,17 +2555,13 @@ export interface InquirePriceCreateBlueprintResponse {
2405
2555
  RequestId?: string;
2406
2556
  }
2407
2557
  /**
2408
- * ResetFirewallTemplateRules请求参数结构体
2558
+ * InquirePriceCreateBlueprint请求参数结构体
2409
2559
  */
2410
- export interface ResetFirewallTemplateRulesRequest {
2411
- /**
2412
- * 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。
2413
- */
2414
- TemplateId: string;
2560
+ export interface InquirePriceCreateBlueprintRequest {
2415
2561
  /**
2416
- * 重置后的防火墙模板规则列表。每次请求批量防火墙规则的上限为 100
2562
+ * 自定义镜像的个数。默认值为1
2417
2563
  */
2418
- TemplateRules: Array<FirewallRule>;
2564
+ BlueprintCount?: number;
2419
2565
  }
2420
2566
  /**
2421
2567
  * ModifyFirewallTemplate返回参数结构体
@@ -2778,9 +2924,9 @@ export interface DockerContainerVolume {
2778
2924
  HostPath?: string;
2779
2925
  }
2780
2926
  /**
2781
- * StopInstances请求参数结构体
2927
+ * StartInstances请求参数结构体
2782
2928
  */
2783
- export interface StopInstancesRequest {
2929
+ export interface StartInstancesRequest {
2784
2930
  /**
2785
2931
  * 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
2786
2932
  */
@@ -3074,6 +3220,19 @@ export interface DeniedAction {
3074
3220
  */
3075
3221
  Message?: string;
3076
3222
  }
3223
+ /**
3224
+ * RemoveMcpServers请求参数结构体
3225
+ */
3226
+ export interface RemoveMcpServersRequest {
3227
+ /**
3228
+ * 实例ID。可以通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3229
+ */
3230
+ InstanceId: string;
3231
+ /**
3232
+ * MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
3233
+ */
3234
+ McpServerIds: Array<string>;
3235
+ }
3077
3236
  /**
3078
3237
  * DescribeAllScenes返回参数结构体
3079
3238
  */
@@ -3274,43 +3433,17 @@ export interface CreateFirewallTemplateRulesResponse {
3274
3433
  RequestId?: string;
3275
3434
  }
3276
3435
  /**
3277
- * ModifyDockerContainer请求参数结构体
3436
+ * MCP Server环境变量
3278
3437
  */
3279
- export interface ModifyDockerContainerRequest {
3280
- /**
3281
- * 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
3282
- */
3283
- InstanceId: string;
3284
- /**
3285
- * 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
3286
- */
3287
- ContainerId: string;
3288
- /**
3289
- * 环境变量列表
3290
- */
3291
- Envs?: Array<ContainerEnv>;
3292
- /**
3293
- * 容器端口主机端口映射列表
3294
- */
3295
- PublishPorts?: Array<DockerContainerPublishPort>;
3296
- /**
3297
- * 容器加载本地卷列表
3298
- */
3299
- Volumes?: Array<DockerContainerVolume>;
3438
+ export interface McpServerEnv {
3300
3439
  /**
3301
- * 运行的命令
3440
+ * MCP Server的环境变量键。最大长度:128
3302
3441
  */
3303
- Command?: string;
3442
+ Key: string;
3304
3443
  /**
3305
- * 容器重启策略,对应docker "--restart"参数。
3306
-
3307
- 枚举值:
3308
- no: 不自动重启。默认策略。
3309
- on-failure[:max-retries]: 当容器退出码非0时重启容器。使用max-retries限制重启次数,比如on-failure:10,限制最多重启10次。
3310
- always: 只要容器退出就重启。
3311
- unless-stopped: 始终重新启动容器,包括在守护进程启动时,除非容器在 Docker 守护进程停止之前进入停止状态。
3444
+ * MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。
3312
3445
  */
3313
- RestartPolicy?: string;
3446
+ Value?: string;
3314
3447
  }
3315
3448
  /**
3316
3449
  * ResizeDisks请求参数结构体
@@ -3373,30 +3506,56 @@ export interface CreateKeyPairRequest {
3373
3506
  KeyName: string;
3374
3507
  }
3375
3508
  /**
3376
- * StopInstances返回参数结构体
3509
+ * RestartMcpServers请求参数结构体
3377
3510
  */
3378
- export interface StopInstancesResponse {
3511
+ export interface RestartMcpServersRequest {
3379
3512
  /**
3380
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3513
+ * 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3381
3514
  */
3382
- RequestId?: string;
3515
+ InstanceId: string;
3516
+ /**
3517
+ * MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
3518
+ */
3519
+ McpServerIds: Array<string>;
3383
3520
  }
3384
3521
  /**
3385
- * ResetInstancesPassword请求参数结构体
3522
+ * ModifyDockerContainer请求参数结构体
3386
3523
  */
3387
- export interface ResetInstancesPasswordRequest {
3524
+ export interface ModifyDockerContainerRequest {
3388
3525
  /**
3389
- * 实例 ID 列表。每次请求批量实例的上限为 100。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
3526
+ * 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
3390
3527
  */
3391
- InstanceIds: Array<string>;
3528
+ InstanceId: string;
3392
3529
  /**
3393
- * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:</br> `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字:0-9</br></li> <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li></br> `WINDOWS` 实例密码必须 12-30 位,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字: 0-9</br></li> <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</br></li> <li>如果实例即包含 `LINUX_UNIX` 实例又包含 `WINDOWS` 实例,则密码复杂度限制按照 `WINDOWS` 实例的限制。</li>
3530
+ * 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
3394
3531
  */
3395
- Password: string;
3532
+ ContainerId: string;
3396
3533
  /**
3397
- * 待重置密码的实例操作系统用户名。不得超过 64 个字符。
3534
+ * 环境变量列表
3398
3535
  */
3399
- UserName?: string;
3536
+ Envs?: Array<ContainerEnv>;
3537
+ /**
3538
+ * 容器端口主机端口映射列表
3539
+ */
3540
+ PublishPorts?: Array<DockerContainerPublishPort>;
3541
+ /**
3542
+ * 容器加载本地卷列表
3543
+ */
3544
+ Volumes?: Array<DockerContainerVolume>;
3545
+ /**
3546
+ * 运行的命令
3547
+ */
3548
+ Command?: string;
3549
+ /**
3550
+ * 容器重启策略,对应docker "--restart"参数。
3551
+
3552
+ 枚举值:
3553
+ no: 不自动重启。默认策略。
3554
+ on-failure[:max-retries]: 当容器退出码非0时重启容器。使用max-retries限制重启次数,比如on-failure:10,限制最多重启10次。
3555
+ always: 只要容器退出就重启。
3556
+ unless-stopped: 始终重新启动容器,包括在守护进程启动时,除非容器在 Docker 守护进程停止之前进入停止状态。
3557
+ */
3558
+ RestartPolicy?: string;
3400
3559
  }
3401
3560
  /**
3402
3561
  * 云硬盘价格
@@ -3855,6 +4014,72 @@ export interface ContainerEnv {
3855
4014
  */
3856
4015
  Value: string;
3857
4016
  }
4017
+ /**
4018
+ * MCP Server信息
4019
+ */
4020
+ export interface McpServer {
4021
+ /**
4022
+ * MCP Server ID。
4023
+ */
4024
+ McpServerId?: string;
4025
+ /**
4026
+ * MCP Server名称。最大长度:64
4027
+ */
4028
+ Name?: string;
4029
+ /**
4030
+ * MCP Server类型。枚举值:PUBLIC_PACKAGE,公共包安装;AGENT_GENERATED,AI生成。
4031
+ */
4032
+ McpServerType?: string;
4033
+ /**
4034
+ * MCP Server图标地址
4035
+ */
4036
+ IconUrl?: string;
4037
+ /**
4038
+ * Base64编码后的MCP Server启动命令。最大长度:2048
4039
+ */
4040
+ Command?: string;
4041
+ /**
4042
+ * MCP Server状态。枚举值如下:
4043
+
4044
+ PENDING:表示创建中
4045
+ LAUNCH_FAILED:表示创建失败
4046
+ RUNNING:表示运行中
4047
+ STOPPED:表示关闭
4048
+ STARTING:表示开启中
4049
+ STOPPING:表示关闭中
4050
+ RESTARTING:表示重启中
4051
+ REMOVING:表示删除中
4052
+ UNKNOWN:表示未知
4053
+ ENV_ERROR:表示环境错误
4054
+ */
4055
+ State?: string;
4056
+ /**
4057
+ * MCP Server访问地址。
4058
+ */
4059
+ ServerUrl?: string;
4060
+ /**
4061
+ * MCP Server配置
4062
+ */
4063
+ Config?: string;
4064
+ /**
4065
+ * MCP Server备注
4066
+ */
4067
+ Description?: string;
4068
+ /**
4069
+ * MCP Server创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
4070
+ 格式为: YYYY-MM-DDThh:mm:ssZ。
4071
+ */
4072
+ CreatedTime?: string;
4073
+ /**
4074
+ * MCP Server修改时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
4075
+ 格式为: YYYY-MM-DDThh:mm:ssZ。
4076
+ */
4077
+ UpdatedTime?: string;
4078
+ /**
4079
+ * MCP Server环境变量
4080
+ */
4081
+ EnvSet?: Array<McpServerEnv>;
4082
+ }
3858
4083
  /**
3859
4084
  * DescribeImagesToShare请求参数结构体
3860
4085
  */
@@ -4380,13 +4605,33 @@ export interface TerminateDisksRequest {
4380
4605
  DiskIds: Array<string>;
4381
4606
  }
4382
4607
  /**
4383
- * RenewDisks返回参数结构体
4608
+ * ModifyMcpServer请求参数结构体
4384
4609
  */
4385
- export interface RenewDisksResponse {
4610
+ export interface ModifyMcpServerRequest {
4386
4611
  /**
4387
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4612
+ * 实例ID。可以通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
4388
4613
  */
4389
- RequestId?: string;
4614
+ InstanceId: string;
4615
+ /**
4616
+ * MCP Server ID。可以通过DescribeMcpServers接口返回值中的McpServerId获取。
4617
+ */
4618
+ McpServerId: string;
4619
+ /**
4620
+ * MCP Server名称。最大长度:64
4621
+ */
4622
+ Name?: string;
4623
+ /**
4624
+ * Base64编码后的MCP Server启动命令。最大长度:2048
4625
+ */
4626
+ Command?: string;
4627
+ /**
4628
+ * MCP Server备注。最大长度:2048
4629
+ */
4630
+ Description?: string;
4631
+ /**
4632
+ * MCP Server环境变量。最大长度:10。用于完整替换MCP Server的环境变量。当该字段为空时,系统将清除当前所有环境变量。若无需修改环境变量,请勿传递该字段。
4633
+ */
4634
+ Envs?: Array<McpServerEnv>;
4390
4635
  }
4391
4636
  /**
4392
4637
  * ResetInstance请求参数结构体
@@ -4685,13 +4930,17 @@ export interface DescribeDisksReturnableResponse {
4685
4930
  RequestId?: string;
4686
4931
  }
4687
4932
  /**
4688
- * ModifyDiskBackupsAttribute返回参数结构体
4933
+ * 实例标识信息。
4689
4934
  */
4690
- export interface ModifyDiskBackupsAttributeResponse {
4935
+ export interface InstanceIdentifier {
4691
4936
  /**
4692
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
4937
+ * 实例ID。
4693
4938
  */
4694
- RequestId?: string;
4939
+ InstanceId: string;
4940
+ /**
4941
+ * 实例地域。
4942
+ */
4943
+ Region: string;
4695
4944
  }
4696
4945
  /**
4697
4946
  * DeleteFirewallTemplate请求参数结构体
@@ -4702,6 +4951,15 @@ export interface DeleteFirewallTemplateRequest {
4702
4951
  */
4703
4952
  TemplateId: string;
4704
4953
  }
4954
+ /**
4955
+ * StopInstances返回参数结构体
4956
+ */
4957
+ export interface StopInstancesResponse {
4958
+ /**
4959
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4960
+ */
4961
+ RequestId?: string;
4962
+ }
4705
4963
  /**
4706
4964
  * IsolateDisks请求参数结构体
4707
4965
  */
@@ -4724,6 +4982,28 @@ export interface CreateInstanceSnapshotResponse {
4724
4982
  */
4725
4983
  RequestId?: string;
4726
4984
  }
4985
+ /**
4986
+ * StopInstances请求参数结构体
4987
+ */
4988
+ export interface StopInstancesRequest {
4989
+ /**
4990
+ * 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
4991
+ */
4992
+ InstanceIds: Array<string>;
4993
+ }
4994
+ /**
4995
+ * StartMcpServers请求参数结构体
4996
+ */
4997
+ export interface StartMcpServersRequest {
4998
+ /**
4999
+ * 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
5000
+ */
5001
+ InstanceId: string;
5002
+ /**
5003
+ * MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
5004
+ */
5005
+ McpServerIds: Array<string>;
5006
+ }
4727
5007
  /**
4728
5008
  * ModifyInstancesBundle返回参数结构体
4729
5009
  */
@@ -4915,6 +5195,15 @@ export interface StartDockerContainersRequest {
4915
5195
  */
4916
5196
  ContainerIds: Array<string>;
4917
5197
  }
5198
+ /**
5199
+ * StartMcpServers返回参数结构体
5200
+ */
5201
+ export interface StartMcpServersResponse {
5202
+ /**
5203
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5204
+ */
5205
+ RequestId?: string;
5206
+ }
4918
5207
  /**
4919
5208
  * RenewInstances请求参数结构体
4920
5209
  */