tencentcloud-sdk-lighthouse 3.0.1122 → 3.0.1132

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ef474b31ee5bb4e0b0748b19aecb869ab488ccd
4
- data.tar.gz: 9bf804611abaeefbdb7cde367f981ae308618502
3
+ metadata.gz: 4f1ab2e469c3d8f1479afda6344d4025bbcc4cc9
4
+ data.tar.gz: 128aafa1ae1f7191c5b4be664cbaa7e3d5916233
5
5
  SHA512:
6
- metadata.gz: 0550f042375c323b20389f2a9ab4a2a5f6e0de33108db89a15a10f0e26d0a22628c4009162809c50b3eb18716c62a78b7817ca8cf50def4e550546cdb956764c
7
- data.tar.gz: f7b390489852842bd2df203316a2c8022339abb8fea63879ed3add7e00ffa128da5fde354d408c68383fa25aacd43fd87f1a474081b07e31b2718f3e9c850722
6
+ metadata.gz: fcbcf38e2614ddfb2f523892d42a4fcebee3dc974c4edce1aee7d6588c2e644e1d363890884a1774a11b380bc6c25a472c6c6a999fa238672cb84d29a3f87ac3
7
+ data.tar.gz: 59ded4e9604f9cf69b1d79efd5c4ff0a26f247e420a20642f55eb527f934cb670f12bfb573617a3e4e62444c12ce0abb395bf2506587513178bd855d1a10f304
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1122
1
+ 3.0.1132
@@ -441,6 +441,31 @@ module TencentCloud
441
441
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
442
442
  end
443
443
 
444
+ # 本接口(CreateMcpServer)用于创建MCP Server。
445
+ # - 本接口为异步接口,请求发送成功后会返回一个 McpServerId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeMcpServers 接口查询。
446
+
447
+ # @param request: Request instance for CreateMcpServer.
448
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::CreateMcpServerRequest`
449
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::CreateMcpServerResponse`
450
+ def CreateMcpServer(request)
451
+ body = send_request('CreateMcpServer', request.serialize)
452
+ response = JSON.parse(body)
453
+ if response['Response'].key?('Error') == false
454
+ model = CreateMcpServerResponse.new
455
+ model.deserialize(response['Response'])
456
+ model
457
+ else
458
+ code = response['Response']['Error']['Code']
459
+ message = response['Response']['Error']['Message']
460
+ reqid = response['Response']['RequestId']
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
462
+ end
463
+ rescue TencentCloud::Common::TencentCloudSDKException => e
464
+ raise e
465
+ rescue StandardError => e
466
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
467
+ end
468
+
444
469
  # 本接口 (DeleteBlueprints) 用于删除镜像。可删除的镜像应满足如下条件:
445
470
  # 1、删除镜像接口需要镜像状态为NORMAL(正常)、ISOLATED(已隔离)、CREATEFAILED(创建失败)、SYNCING_FAILED(目的地域同步失败),其他状态下的镜像不支持删除操作。镜像状态,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintState获取。
446
471
  # 2、仅支持删除自定义镜像。
@@ -1432,6 +1457,30 @@ module TencentCloud
1432
1457
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1433
1458
  end
1434
1459
 
1460
+ # 本接口(DescribeMcpServers)用于查询MCP Server列表。
1461
+
1462
+ # @param request: Request instance for DescribeMcpServers.
1463
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeMcpServersRequest`
1464
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeMcpServersResponse`
1465
+ def DescribeMcpServers(request)
1466
+ body = send_request('DescribeMcpServers', request.serialize)
1467
+ response = JSON.parse(body)
1468
+ if response['Response'].key?('Error') == false
1469
+ model = DescribeMcpServersResponse.new
1470
+ model.deserialize(response['Response'])
1471
+ model
1472
+ else
1473
+ code = response['Response']['Error']['Code']
1474
+ message = response['Response']['Error']['Message']
1475
+ reqid = response['Response']['RequestId']
1476
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1477
+ end
1478
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1479
+ raise e
1480
+ rescue StandardError => e
1481
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1482
+ end
1483
+
1435
1484
  # 本接口(DescribeModifyInstanceBundles)用于查询实例可变更套餐列表。
1436
1485
 
1437
1486
  # @param request: Request instance for DescribeModifyInstanceBundles.
@@ -2241,6 +2290,31 @@ module TencentCloud
2241
2290
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2242
2291
  end
2243
2292
 
2293
+ # 本接口(ModifyMcpServer)用于修改实例的MCP Server信息。
2294
+ # - 本接口为异步接口,API返回时修改操作并未立即完成。MCP Server的修改结果可以通过调用 DescribeMcpServers 接口查询。
2295
+
2296
+ # @param request: Request instance for ModifyMcpServer.
2297
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::ModifyMcpServerRequest`
2298
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::ModifyMcpServerResponse`
2299
+ def ModifyMcpServer(request)
2300
+ body = send_request('ModifyMcpServer', request.serialize)
2301
+ response = JSON.parse(body)
2302
+ if response['Response'].key?('Error') == false
2303
+ model = ModifyMcpServerResponse.new
2304
+ model.deserialize(response['Response'])
2305
+ model
2306
+ else
2307
+ code = response['Response']['Error']['Code']
2308
+ message = response['Response']['Error']['Message']
2309
+ reqid = response['Response']['RequestId']
2310
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2311
+ end
2312
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2313
+ raise e
2314
+ rescue StandardError => e
2315
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2316
+ end
2317
+
2244
2318
  # 本接口(ModifySnapshotAttribute)用于修改指定快照的属性。
2245
2319
  # <li>“快照名称”仅为方便用户自己管理之用。</li>
2246
2320
 
@@ -2319,6 +2393,32 @@ module TencentCloud
2319
2393
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2320
2394
  end
2321
2395
 
2396
+ # 本接口(RemoveMcpServers)用于删除MCP Server。
2397
+ # - 本接口为异步接口,API返回时操作并未立即完成。MCP Server的操作结果可以通过调用 DescribeMcpServers 接口查询。
2398
+ # - 本接口在操作多个MCP Server时,不会因为某一个失败而停止。您需要通过调用 DescribeMcpServers 接口查询最终操作结果,如无法查询到,代表删除成功。
2399
+
2400
+ # @param request: Request instance for RemoveMcpServers.
2401
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::RemoveMcpServersRequest`
2402
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::RemoveMcpServersResponse`
2403
+ def RemoveMcpServers(request)
2404
+ body = send_request('RemoveMcpServers', request.serialize)
2405
+ response = JSON.parse(body)
2406
+ if response['Response'].key?('Error') == false
2407
+ model = RemoveMcpServersResponse.new
2408
+ model.deserialize(response['Response'])
2409
+ model
2410
+ else
2411
+ code = response['Response']['Error']['Code']
2412
+ message = response['Response']['Error']['Message']
2413
+ reqid = response['Response']['RequestId']
2414
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2415
+ end
2416
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2417
+ raise e
2418
+ rescue StandardError => e
2419
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2420
+ end
2421
+
2322
2422
  # 重命名实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重命名情况。
2323
2423
 
2324
2424
  # @param request: Request instance for RenameDockerContainer.
@@ -2602,6 +2702,32 @@ module TencentCloud
2602
2702
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2603
2703
  end
2604
2704
 
2705
+ # 本接口(RestartMcpServers)用于重启实例中的MCP Server。
2706
+ # - 本接口为异步接口,API返回时操作并未立即完成。MCP Server的操作结果可以通过调用 DescribeMcpServers 接口查询。
2707
+ # - 本接口在操作多个MCP Server时,不会因为某一个失败而停止。您需要通过调用 DescribeMcpServers 接口查询最终操作结果。
2708
+
2709
+ # @param request: Request instance for RestartMcpServers.
2710
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::RestartMcpServersRequest`
2711
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::RestartMcpServersResponse`
2712
+ def RestartMcpServers(request)
2713
+ body = send_request('RestartMcpServers', request.serialize)
2714
+ response = JSON.parse(body)
2715
+ if response['Response'].key?('Error') == false
2716
+ model = RestartMcpServersResponse.new
2717
+ model.deserialize(response['Response'])
2718
+ model
2719
+ else
2720
+ code = response['Response']['Error']['Code']
2721
+ message = response['Response']['Error']['Message']
2722
+ reqid = response['Response']['RequestId']
2723
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2724
+ end
2725
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2726
+ raise e
2727
+ rescue StandardError => e
2728
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2729
+ end
2730
+
2605
2731
  # 创建并运行多个Docker容器,之后可以通过返回的ActivityIds调用<a href="https://cloud.tencent.com/document/product/1207/95476" target="_blank">DescribeDockerActivities</a>接口查询创建情况。
2606
2732
 
2607
2733
  # @param request: Request instance for RunDockerContainers.
@@ -2705,6 +2831,32 @@ module TencentCloud
2705
2831
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2706
2832
  end
2707
2833
 
2834
+ # 本接口(StartMcpServers)用于开启实例中的MCP Server。
2835
+ # - 本接口为异步接口,API返回时操作并未立即完成。MCP Server的操作结果可以通过调用 DescribeMcpServers 接口查询。
2836
+ # - 本接口在操作多个MCP Server时,不会因为某一个失败而停止。您需要通过调用 DescribeMcpServers 接口查询最终操作结果。
2837
+
2838
+ # @param request: Request instance for StartMcpServers.
2839
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::StartMcpServersRequest`
2840
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::StartMcpServersResponse`
2841
+ def StartMcpServers(request)
2842
+ body = send_request('StartMcpServers', request.serialize)
2843
+ response = JSON.parse(body)
2844
+ if response['Response'].key?('Error') == false
2845
+ model = StartMcpServersResponse.new
2846
+ model.deserialize(response['Response'])
2847
+ model
2848
+ else
2849
+ code = response['Response']['Error']['Code']
2850
+ message = response['Response']['Error']['Message']
2851
+ reqid = response['Response']['RequestId']
2852
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2853
+ end
2854
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2855
+ raise e
2856
+ rescue StandardError => e
2857
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2858
+ end
2859
+
2708
2860
  # 停止实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询停止情况。
2709
2861
 
2710
2862
  # @param request: Request instance for StopDockerContainers.
@@ -2757,6 +2909,32 @@ module TencentCloud
2757
2909
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2758
2910
  end
2759
2911
 
2912
+ # 本接口(StopMcpServers)用于关闭实例中的MCP Server。
2913
+ # - 本接口为异步接口,API返回时操作并未立即完成。MCP Server的操作结果可以通过调用 DescribeMcpServers 接口查询。
2914
+ # - 本接口在操作多个MCP Server时,不会因为某一个失败而停止。您需要通过调用 DescribeMcpServers 接口查询最终操作结果。
2915
+
2916
+ # @param request: Request instance for StopMcpServers.
2917
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::StopMcpServersRequest`
2918
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::StopMcpServersResponse`
2919
+ def StopMcpServers(request)
2920
+ body = send_request('StopMcpServers', request.serialize)
2921
+ response = JSON.parse(body)
2922
+ if response['Response'].key?('Error') == false
2923
+ model = StopMcpServersResponse.new
2924
+ model.deserialize(response['Response'])
2925
+ model
2926
+ else
2927
+ code = response['Response']['Error']['Code']
2928
+ message = response['Response']['Error']['Message']
2929
+ reqid = response['Response']['RequestId']
2930
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2931
+ end
2932
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2933
+ raise e
2934
+ rescue StandardError => e
2935
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2936
+ end
2937
+
2760
2938
  # 本接口 (SyncBlueprint) 用于将自定义镜像同步到其它地域。
2761
2939
 
2762
2940
  # * 支持向多个地域同步。最多10个地域。
@@ -1206,6 +1206,65 @@ module TencentCloud
1206
1206
  end
1207
1207
  end
1208
1208
 
1209
+ # CreateMcpServer请求参数结构体
1210
+ class CreateMcpServerRequest < TencentCloud::Common::AbstractModel
1211
+ # @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
1212
+ # @type InstanceId: String
1213
+ # @param Name: MCP Server名称。最大长度:64
1214
+ # @type Name: String
1215
+ # @param Command: Base64编码后的MCP Server启动命令。最大长度:2048
1216
+ # @type Command: String
1217
+ # @param Description: MCP Server备注。最大长度:2048
1218
+ # @type Description: String
1219
+ # @param Envs: MCP Server环境变量。最大长度:10
1220
+ # @type Envs: Array
1221
+
1222
+ attr_accessor :InstanceId, :Name, :Command, :Description, :Envs
1223
+
1224
+ def initialize(instanceid=nil, name=nil, command=nil, description=nil, envs=nil)
1225
+ @InstanceId = instanceid
1226
+ @Name = name
1227
+ @Command = command
1228
+ @Description = description
1229
+ @Envs = envs
1230
+ end
1231
+
1232
+ def deserialize(params)
1233
+ @InstanceId = params['InstanceId']
1234
+ @Name = params['Name']
1235
+ @Command = params['Command']
1236
+ @Description = params['Description']
1237
+ unless params['Envs'].nil?
1238
+ @Envs = []
1239
+ params['Envs'].each do |i|
1240
+ mcpserverenv_tmp = McpServerEnv.new
1241
+ mcpserverenv_tmp.deserialize(i)
1242
+ @Envs << mcpserverenv_tmp
1243
+ end
1244
+ end
1245
+ end
1246
+ end
1247
+
1248
+ # CreateMcpServer返回参数结构体
1249
+ class CreateMcpServerResponse < TencentCloud::Common::AbstractModel
1250
+ # @param McpServerId: MCP Server ID。
1251
+ # @type McpServerId: String
1252
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1253
+ # @type RequestId: String
1254
+
1255
+ attr_accessor :McpServerId, :RequestId
1256
+
1257
+ def initialize(mcpserverid=nil, requestid=nil)
1258
+ @McpServerId = mcpserverid
1259
+ @RequestId = requestid
1260
+ end
1261
+
1262
+ def deserialize(params)
1263
+ @McpServerId = params['McpServerId']
1264
+ @RequestId = params['RequestId']
1265
+ end
1266
+ end
1267
+
1209
1268
  # 数据盘价格
1210
1269
  class DataDiskPrice < TencentCloud::Common::AbstractModel
1211
1270
  # @param DiskId: 云硬盘ID。
@@ -3447,6 +3506,73 @@ module TencentCloud
3447
3506
  end
3448
3507
  end
3449
3508
 
3509
+ # DescribeMcpServers请求参数结构体
3510
+ class DescribeMcpServersRequest < TencentCloud::Common::AbstractModel
3511
+ # @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
3512
+ # @type InstanceId: String
3513
+ # @param McpServerIds: MCP Server ID列表。列表为空时此条件不生效。最大长度:10
3514
+ # @type McpServerIds: Array
3515
+ # @param Limit: 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
3516
+ # @type Limit: Integer
3517
+ # @param Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
3518
+ # @type Offset: Integer
3519
+
3520
+ attr_accessor :InstanceId, :McpServerIds, :Limit, :Offset
3521
+
3522
+ def initialize(instanceid=nil, mcpserverids=nil, limit=nil, offset=nil)
3523
+ @InstanceId = instanceid
3524
+ @McpServerIds = mcpserverids
3525
+ @Limit = limit
3526
+ @Offset = offset
3527
+ end
3528
+
3529
+ def deserialize(params)
3530
+ @InstanceId = params['InstanceId']
3531
+ @McpServerIds = params['McpServerIds']
3532
+ @Limit = params['Limit']
3533
+ @Offset = params['Offset']
3534
+ end
3535
+ end
3536
+
3537
+ # DescribeMcpServers返回参数结构体
3538
+ class DescribeMcpServersResponse < TencentCloud::Common::AbstractModel
3539
+ # @param McpServerSet: MCP Server列表。
3540
+ # @type McpServerSet: Array
3541
+ # @param TotalCount: 符合条件的MCP Server数量。
3542
+ # @type TotalCount: Integer
3543
+ # @param InstanceId: 实例 ID。
3544
+ # @type InstanceId: String
3545
+ # @param InstanceName: 实例名称。
3546
+ # @type InstanceName: String
3547
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3548
+ # @type RequestId: String
3549
+
3550
+ attr_accessor :McpServerSet, :TotalCount, :InstanceId, :InstanceName, :RequestId
3551
+
3552
+ def initialize(mcpserverset=nil, totalcount=nil, instanceid=nil, instancename=nil, requestid=nil)
3553
+ @McpServerSet = mcpserverset
3554
+ @TotalCount = totalcount
3555
+ @InstanceId = instanceid
3556
+ @InstanceName = instancename
3557
+ @RequestId = requestid
3558
+ end
3559
+
3560
+ def deserialize(params)
3561
+ unless params['McpServerSet'].nil?
3562
+ @McpServerSet = []
3563
+ params['McpServerSet'].each do |i|
3564
+ mcpserver_tmp = McpServer.new
3565
+ mcpserver_tmp.deserialize(i)
3566
+ @McpServerSet << mcpserver_tmp
3567
+ end
3568
+ end
3569
+ @TotalCount = params['TotalCount']
3570
+ @InstanceId = params['InstanceId']
3571
+ @InstanceName = params['InstanceName']
3572
+ @RequestId = params['RequestId']
3573
+ end
3574
+ end
3575
+
3450
3576
  # DescribeModifyInstanceBundles请求参数结构体
3451
3577
  class DescribeModifyInstanceBundlesRequest < TencentCloud::Common::AbstractModel
3452
3578
  # @param InstanceId: 实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
@@ -5982,6 +6108,106 @@ module TencentCloud
5982
6108
  end
5983
6109
  end
5984
6110
 
6111
+ # MCP Server信息
6112
+ class McpServer < TencentCloud::Common::AbstractModel
6113
+ # @param McpServerId: MCP Server ID。
6114
+ # @type McpServerId: String
6115
+ # @param Name: MCP Server名称。最大长度:64
6116
+ # @type Name: String
6117
+ # @param McpServerType: MCP Server类型。枚举值:PUBLIC_PACKAGE,公共包安装;AGENT_GENERATED,AI生成。
6118
+ # @type McpServerType: String
6119
+ # @param IconUrl: MCP Server图标地址
6120
+ # @type IconUrl: String
6121
+ # @param Command: Base64编码后的MCP Server启动命令。最大长度:2048
6122
+ # @type Command: String
6123
+ # @param State: MCP Server状态。枚举值如下:
6124
+
6125
+ # PENDING:表示创建中
6126
+ # LAUNCH_FAILED:表示创建失败
6127
+ # RUNNING:表示运行中
6128
+ # STOPPED:表示关闭
6129
+ # STARTING:表示开启中
6130
+ # STOPPING:表示关闭中
6131
+ # RESTARTING:表示重启中
6132
+ # REMOVING:表示删除中
6133
+ # UNKNOWN:表示未知
6134
+ # ENV_ERROR:表示环境错误
6135
+ # @type State: String
6136
+ # @param ServerUrl: MCP Server访问地址。
6137
+ # @type ServerUrl: String
6138
+ # @param Config: MCP Server配置
6139
+ # @type Config: String
6140
+ # @param Description: MCP Server备注
6141
+ # @type Description: String
6142
+ # @param CreatedTime: MCP Server创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
6143
+ # 格式为: YYYY-MM-DDThh:mm:ssZ。
6144
+ # @type CreatedTime: String
6145
+ # @param UpdatedTime: MCP Server修改时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
6146
+ # 格式为: YYYY-MM-DDThh:mm:ssZ。
6147
+ # @type UpdatedTime: String
6148
+ # @param EnvSet: MCP Server环境变量
6149
+ # @type EnvSet: Array
6150
+
6151
+ attr_accessor :McpServerId, :Name, :McpServerType, :IconUrl, :Command, :State, :ServerUrl, :Config, :Description, :CreatedTime, :UpdatedTime, :EnvSet
6152
+
6153
+ def initialize(mcpserverid=nil, name=nil, mcpservertype=nil, iconurl=nil, command=nil, state=nil, serverurl=nil, config=nil, description=nil, createdtime=nil, updatedtime=nil, envset=nil)
6154
+ @McpServerId = mcpserverid
6155
+ @Name = name
6156
+ @McpServerType = mcpservertype
6157
+ @IconUrl = iconurl
6158
+ @Command = command
6159
+ @State = state
6160
+ @ServerUrl = serverurl
6161
+ @Config = config
6162
+ @Description = description
6163
+ @CreatedTime = createdtime
6164
+ @UpdatedTime = updatedtime
6165
+ @EnvSet = envset
6166
+ end
6167
+
6168
+ def deserialize(params)
6169
+ @McpServerId = params['McpServerId']
6170
+ @Name = params['Name']
6171
+ @McpServerType = params['McpServerType']
6172
+ @IconUrl = params['IconUrl']
6173
+ @Command = params['Command']
6174
+ @State = params['State']
6175
+ @ServerUrl = params['ServerUrl']
6176
+ @Config = params['Config']
6177
+ @Description = params['Description']
6178
+ @CreatedTime = params['CreatedTime']
6179
+ @UpdatedTime = params['UpdatedTime']
6180
+ unless params['EnvSet'].nil?
6181
+ @EnvSet = []
6182
+ params['EnvSet'].each do |i|
6183
+ mcpserverenv_tmp = McpServerEnv.new
6184
+ mcpserverenv_tmp.deserialize(i)
6185
+ @EnvSet << mcpserverenv_tmp
6186
+ end
6187
+ end
6188
+ end
6189
+ end
6190
+
6191
+ # MCP Server环境变量
6192
+ class McpServerEnv < TencentCloud::Common::AbstractModel
6193
+ # @param Key: MCP Server的环境变量键。最大长度:128
6194
+ # @type Key: String
6195
+ # @param Value: MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。
6196
+ # @type Value: String
6197
+
6198
+ attr_accessor :Key, :Value
6199
+
6200
+ def initialize(key=nil, value=nil)
6201
+ @Key = key
6202
+ @Value = value
6203
+ end
6204
+
6205
+ def deserialize(params)
6206
+ @Key = params['Key']
6207
+ @Value = params['Value']
6208
+ end
6209
+ end
6210
+
5985
6211
  # ModifyBlueprintAttribute请求参数结构体
5986
6212
  class ModifyBlueprintAttributeRequest < TencentCloud::Common::AbstractModel
5987
6213
  # @param BlueprintId: 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
@@ -6584,6 +6810,65 @@ module TencentCloud
6584
6810
  end
6585
6811
  end
6586
6812
 
6813
+ # ModifyMcpServer请求参数结构体
6814
+ class ModifyMcpServerRequest < TencentCloud::Common::AbstractModel
6815
+ # @param InstanceId: 实例ID。可以通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
6816
+ # @type InstanceId: String
6817
+ # @param McpServerId: MCP Server ID。可以通过DescribeMcpServers接口返回值中的McpServerId获取。
6818
+ # @type McpServerId: String
6819
+ # @param Name: MCP Server名称。最大长度:64
6820
+ # @type Name: String
6821
+ # @param Command: Base64编码后的MCP Server启动命令。最大长度:2048
6822
+ # @type Command: String
6823
+ # @param Description: MCP Server备注。最大长度:2048
6824
+ # @type Description: String
6825
+ # @param Envs: MCP Server环境变量。最大长度:10。用于完整替换MCP Server的环境变量。当该字段为空时,系统将清除当前所有环境变量。若无需修改环境变量,请勿传递该字段。
6826
+ # @type Envs: Array
6827
+
6828
+ attr_accessor :InstanceId, :McpServerId, :Name, :Command, :Description, :Envs
6829
+
6830
+ def initialize(instanceid=nil, mcpserverid=nil, name=nil, command=nil, description=nil, envs=nil)
6831
+ @InstanceId = instanceid
6832
+ @McpServerId = mcpserverid
6833
+ @Name = name
6834
+ @Command = command
6835
+ @Description = description
6836
+ @Envs = envs
6837
+ end
6838
+
6839
+ def deserialize(params)
6840
+ @InstanceId = params['InstanceId']
6841
+ @McpServerId = params['McpServerId']
6842
+ @Name = params['Name']
6843
+ @Command = params['Command']
6844
+ @Description = params['Description']
6845
+ unless params['Envs'].nil?
6846
+ @Envs = []
6847
+ params['Envs'].each do |i|
6848
+ mcpserverenv_tmp = McpServerEnv.new
6849
+ mcpserverenv_tmp.deserialize(i)
6850
+ @Envs << mcpserverenv_tmp
6851
+ end
6852
+ end
6853
+ end
6854
+ end
6855
+
6856
+ # ModifyMcpServer返回参数结构体
6857
+ class ModifyMcpServerResponse < TencentCloud::Common::AbstractModel
6858
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6859
+ # @type RequestId: String
6860
+
6861
+ attr_accessor :RequestId
6862
+
6863
+ def initialize(requestid=nil)
6864
+ @RequestId = requestid
6865
+ end
6866
+
6867
+ def deserialize(params)
6868
+ @RequestId = params['RequestId']
6869
+ end
6870
+ end
6871
+
6587
6872
  # ModifySnapshotAttribute请求参数结构体
6588
6873
  class ModifySnapshotAttributeRequest < TencentCloud::Common::AbstractModel
6589
6874
  # @param SnapshotId: 快照 ID, 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 查询。
@@ -6774,6 +7059,42 @@ module TencentCloud
6774
7059
  end
6775
7060
  end
6776
7061
 
7062
+ # RemoveMcpServers请求参数结构体
7063
+ class RemoveMcpServersRequest < TencentCloud::Common::AbstractModel
7064
+ # @param InstanceId: 实例ID。可以通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
7065
+ # @type InstanceId: String
7066
+ # @param McpServerIds: MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
7067
+ # @type McpServerIds: Array
7068
+
7069
+ attr_accessor :InstanceId, :McpServerIds
7070
+
7071
+ def initialize(instanceid=nil, mcpserverids=nil)
7072
+ @InstanceId = instanceid
7073
+ @McpServerIds = mcpserverids
7074
+ end
7075
+
7076
+ def deserialize(params)
7077
+ @InstanceId = params['InstanceId']
7078
+ @McpServerIds = params['McpServerIds']
7079
+ end
7080
+ end
7081
+
7082
+ # RemoveMcpServers返回参数结构体
7083
+ class RemoveMcpServersResponse < TencentCloud::Common::AbstractModel
7084
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7085
+ # @type RequestId: String
7086
+
7087
+ attr_accessor :RequestId
7088
+
7089
+ def initialize(requestid=nil)
7090
+ @RequestId = requestid
7091
+ end
7092
+
7093
+ def deserialize(params)
7094
+ @RequestId = params['RequestId']
7095
+ end
7096
+ end
7097
+
6777
7098
  # RenameDockerContainer请求参数结构体
6778
7099
  class RenameDockerContainerRequest < TencentCloud::Common::AbstractModel
6779
7100
  # @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
@@ -7321,6 +7642,42 @@ module TencentCloud
7321
7642
  end
7322
7643
  end
7323
7644
 
7645
+ # RestartMcpServers请求参数结构体
7646
+ class RestartMcpServersRequest < TencentCloud::Common::AbstractModel
7647
+ # @param InstanceId: 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
7648
+ # @type InstanceId: String
7649
+ # @param McpServerIds: MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
7650
+ # @type McpServerIds: Array
7651
+
7652
+ attr_accessor :InstanceId, :McpServerIds
7653
+
7654
+ def initialize(instanceid=nil, mcpserverids=nil)
7655
+ @InstanceId = instanceid
7656
+ @McpServerIds = mcpserverids
7657
+ end
7658
+
7659
+ def deserialize(params)
7660
+ @InstanceId = params['InstanceId']
7661
+ @McpServerIds = params['McpServerIds']
7662
+ end
7663
+ end
7664
+
7665
+ # RestartMcpServers返回参数结构体
7666
+ class RestartMcpServersResponse < TencentCloud::Common::AbstractModel
7667
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7668
+ # @type RequestId: String
7669
+
7670
+ attr_accessor :RequestId
7671
+
7672
+ def initialize(requestid=nil)
7673
+ @RequestId = requestid
7674
+ end
7675
+
7676
+ def deserialize(params)
7677
+ @RequestId = params['RequestId']
7678
+ end
7679
+ end
7680
+
7324
7681
  # RunDockerContainers请求参数结构体
7325
7682
  class RunDockerContainersRequest < TencentCloud::Common::AbstractModel
7326
7683
  # @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
@@ -7678,6 +8035,42 @@ module TencentCloud
7678
8035
  end
7679
8036
  end
7680
8037
 
8038
+ # StartMcpServers请求参数结构体
8039
+ class StartMcpServersRequest < TencentCloud::Common::AbstractModel
8040
+ # @param InstanceId: 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
8041
+ # @type InstanceId: String
8042
+ # @param McpServerIds: MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
8043
+ # @type McpServerIds: Array
8044
+
8045
+ attr_accessor :InstanceId, :McpServerIds
8046
+
8047
+ def initialize(instanceid=nil, mcpserverids=nil)
8048
+ @InstanceId = instanceid
8049
+ @McpServerIds = mcpserverids
8050
+ end
8051
+
8052
+ def deserialize(params)
8053
+ @InstanceId = params['InstanceId']
8054
+ @McpServerIds = params['McpServerIds']
8055
+ end
8056
+ end
8057
+
8058
+ # StartMcpServers返回参数结构体
8059
+ class StartMcpServersResponse < TencentCloud::Common::AbstractModel
8060
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8061
+ # @type RequestId: String
8062
+
8063
+ attr_accessor :RequestId
8064
+
8065
+ def initialize(requestid=nil)
8066
+ @RequestId = requestid
8067
+ end
8068
+
8069
+ def deserialize(params)
8070
+ @RequestId = params['RequestId']
8071
+ end
8072
+ end
8073
+
7681
8074
  # StopDockerContainers请求参数结构体
7682
8075
  class StopDockerContainersRequest < TencentCloud::Common::AbstractModel
7683
8076
  # @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
@@ -7750,6 +8143,42 @@ module TencentCloud
7750
8143
  end
7751
8144
  end
7752
8145
 
8146
+ # StopMcpServers请求参数结构体
8147
+ class StopMcpServersRequest < TencentCloud::Common::AbstractModel
8148
+ # @param InstanceId: 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
8149
+ # @type InstanceId: String
8150
+ # @param McpServerIds: MCP Server ID列表。可通过DescribeMcpServers接口返回值中的McpServerId获取。最大长度:10
8151
+ # @type McpServerIds: Array
8152
+
8153
+ attr_accessor :InstanceId, :McpServerIds
8154
+
8155
+ def initialize(instanceid=nil, mcpserverids=nil)
8156
+ @InstanceId = instanceid
8157
+ @McpServerIds = mcpserverids
8158
+ end
8159
+
8160
+ def deserialize(params)
8161
+ @InstanceId = params['InstanceId']
8162
+ @McpServerIds = params['McpServerIds']
8163
+ end
8164
+ end
8165
+
8166
+ # StopMcpServers返回参数结构体
8167
+ class StopMcpServersResponse < TencentCloud::Common::AbstractModel
8168
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8169
+ # @type RequestId: String
8170
+
8171
+ attr_accessor :RequestId
8172
+
8173
+ def initialize(requestid=nil)
8174
+ @RequestId = requestid
8175
+ end
8176
+
8177
+ def deserialize(params)
8178
+ @RequestId = params['RequestId']
8179
+ end
8180
+ end
8181
+
7753
8182
  # 实例支持IPv6详情描述。
7754
8183
  class SupportIpv6Detail < TencentCloud::Common::AbstractModel
7755
8184
  # @param IsSupport: 是否支持开启IPv6。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lighthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1122
4
+ version: 3.0.1132
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-12 00:00:00.000000000 Z
11
+ date: 2025-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common