tencentcloud-sdk-lighthouse 3.0.1103 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200324/client.rb +233 -0
- data/lib/v20200324/models.rb +633 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f1ab2e469c3d8f1479afda6344d4025bbcc4cc9
|
4
|
+
data.tar.gz: 128aafa1ae1f7191c5b4be664cbaa7e3d5916233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcbcf38e2614ddfb2f523892d42a4fcebee3dc974c4edce1aee7d6588c2e644e1d363890884a1774a11b380bc6c25a472c6c6a999fa238672cb84d29a3f87ac3
|
7
|
+
data.tar.gz: 59ded4e9604f9cf69b1d79efd5c4ff0a26f247e420a20642f55eb527f934cb670f12bfb573617a3e4e62444c12ce0abb395bf2506587513178bd855d1a10f304
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1132
|
data/lib/v20200324/client.rb
CHANGED
@@ -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、仅支持删除自定义镜像。
|
@@ -1223,6 +1248,30 @@ module TencentCloud
|
|
1223
1248
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1224
1249
|
end
|
1225
1250
|
|
1251
|
+
# 本接口 (DescribeImagesToShare) 用于查询CVM的自定义镜像列表共享到轻量应用服务器。
|
1252
|
+
|
1253
|
+
# @param request: Request instance for DescribeImagesToShare.
|
1254
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeImagesToShareRequest`
|
1255
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeImagesToShareResponse`
|
1256
|
+
def DescribeImagesToShare(request)
|
1257
|
+
body = send_request('DescribeImagesToShare', request.serialize)
|
1258
|
+
response = JSON.parse(body)
|
1259
|
+
if response['Response'].key?('Error') == false
|
1260
|
+
model = DescribeImagesToShareResponse.new
|
1261
|
+
model.deserialize(response['Response'])
|
1262
|
+
model
|
1263
|
+
else
|
1264
|
+
code = response['Response']['Error']['Code']
|
1265
|
+
message = response['Response']['Error']['Message']
|
1266
|
+
reqid = response['Response']['RequestId']
|
1267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1268
|
+
end
|
1269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1270
|
+
raise e
|
1271
|
+
rescue StandardError => e
|
1272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1273
|
+
end
|
1274
|
+
|
1226
1275
|
# 本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。
|
1227
1276
|
|
1228
1277
|
# * 仅处于 `RUNNING`,`RESCUE_MODE` 状态的机器,且当前机器无变更中操作,才可使用此功能。
|
@@ -1408,6 +1457,30 @@ module TencentCloud
|
|
1408
1457
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1409
1458
|
end
|
1410
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
|
+
|
1411
1484
|
# 本接口(DescribeModifyInstanceBundles)用于查询实例可变更套餐列表。
|
1412
1485
|
|
1413
1486
|
# @param request: Request instance for DescribeModifyInstanceBundles.
|
@@ -2106,6 +2179,37 @@ module TencentCloud
|
|
2106
2179
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2107
2180
|
end
|
2108
2181
|
|
2182
|
+
# 本接口 (ModifyImageSharePermission) 用于共享和取消共享CVM自定义镜像到轻量应用服务器服务。
|
2183
|
+
# CVM镜像共享到轻量应用服务器镜像需要满足如下条件:
|
2184
|
+
# 1.已共享过的镜像不支持再次共享。
|
2185
|
+
# 2.外部导入的镜像不支持共享。
|
2186
|
+
# 3.整机镜像不支持共享。
|
2187
|
+
# 4.镜像要支持Cloudinit才支持共享。
|
2188
|
+
# 5.镜像的Platform和OsName要满足。
|
2189
|
+
# 6.NORMAL状态的镜像才支持共享。
|
2190
|
+
|
2191
|
+
# @param request: Request instance for ModifyImageSharePermission.
|
2192
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::ModifyImageSharePermissionRequest`
|
2193
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::ModifyImageSharePermissionResponse`
|
2194
|
+
def ModifyImageSharePermission(request)
|
2195
|
+
body = send_request('ModifyImageSharePermission', request.serialize)
|
2196
|
+
response = JSON.parse(body)
|
2197
|
+
if response['Response'].key?('Error') == false
|
2198
|
+
model = ModifyImageSharePermissionResponse.new
|
2199
|
+
model.deserialize(response['Response'])
|
2200
|
+
model
|
2201
|
+
else
|
2202
|
+
code = response['Response']['Error']['Code']
|
2203
|
+
message = response['Response']['Error']['Message']
|
2204
|
+
reqid = response['Response']['RequestId']
|
2205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2206
|
+
end
|
2207
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2208
|
+
raise e
|
2209
|
+
rescue StandardError => e
|
2210
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2211
|
+
end
|
2212
|
+
|
2109
2213
|
# 本接口(ModifyInstancesAttribute)用于修改实例的属性。
|
2110
2214
|
# * “实例名称”仅为方便用户自己管理之用。
|
2111
2215
|
# * 支持批量操作。每次请求批量实例的上限为 100。
|
@@ -2186,6 +2290,31 @@ module TencentCloud
|
|
2186
2290
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2187
2291
|
end
|
2188
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
|
+
|
2189
2318
|
# 本接口(ModifySnapshotAttribute)用于修改指定快照的属性。
|
2190
2319
|
# <li>“快照名称”仅为方便用户自己管理之用。</li>
|
2191
2320
|
|
@@ -2264,6 +2393,32 @@ module TencentCloud
|
|
2264
2393
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2265
2394
|
end
|
2266
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
|
+
|
2267
2422
|
# 重命名实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重命名情况。
|
2268
2423
|
|
2269
2424
|
# @param request: Request instance for RenameDockerContainer.
|
@@ -2547,6 +2702,32 @@ module TencentCloud
|
|
2547
2702
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2548
2703
|
end
|
2549
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
|
+
|
2550
2731
|
# 创建并运行多个Docker容器,之后可以通过返回的ActivityIds调用<a href="https://cloud.tencent.com/document/product/1207/95476" target="_blank">DescribeDockerActivities</a>接口查询创建情况。
|
2551
2732
|
|
2552
2733
|
# @param request: Request instance for RunDockerContainers.
|
@@ -2650,6 +2831,32 @@ module TencentCloud
|
|
2650
2831
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2651
2832
|
end
|
2652
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
|
+
|
2653
2860
|
# 停止实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询停止情况。
|
2654
2861
|
|
2655
2862
|
# @param request: Request instance for StopDockerContainers.
|
@@ -2702,6 +2909,32 @@ module TencentCloud
|
|
2702
2909
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2703
2910
|
end
|
2704
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
|
+
|
2705
2938
|
# 本接口 (SyncBlueprint) 用于将自定义镜像同步到其它地域。
|
2706
2939
|
|
2707
2940
|
# * 支持向多个地域同步。最多10个地域。
|
data/lib/v20200324/models.rb
CHANGED
@@ -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。
|
@@ -2950,6 +3009,90 @@ module TencentCloud
|
|
2950
3009
|
end
|
2951
3010
|
end
|
2952
3011
|
|
3012
|
+
# DescribeImagesToShare请求参数结构体
|
3013
|
+
class DescribeImagesToShareRequest < TencentCloud::Common::AbstractModel
|
3014
|
+
# @param ImageIds: CVM镜像 ID 列表。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
3015
|
+
# @type ImageIds: Array
|
3016
|
+
# @param Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
3017
|
+
# @type Offset: Integer
|
3018
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
3019
|
+
# @type Limit: Integer
|
3020
|
+
# @param Filters: 过滤器列表。
|
3021
|
+
# <li>image-id</li>按照【CVM镜像ID】进行过滤。
|
3022
|
+
# 类型:String
|
3023
|
+
# 必选:否
|
3024
|
+
|
3025
|
+
# <li>image-name</li>按照【CVM镜像名称】进行过滤。
|
3026
|
+
# 类型:String
|
3027
|
+
# 必选:否
|
3028
|
+
|
3029
|
+
# <li>image-type</li>按照【CVM镜像类型】进行过滤。
|
3030
|
+
# 类型:String
|
3031
|
+
# 必选:否
|
3032
|
+
# 取值范围:
|
3033
|
+
# PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
|
3034
|
+
# PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
|
3035
|
+
# SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。
|
3036
|
+
|
3037
|
+
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
|
3038
|
+
# 参数不可以同时指定ImageIds和Filters。
|
3039
|
+
# @type Filters: Array
|
3040
|
+
|
3041
|
+
attr_accessor :ImageIds, :Offset, :Limit, :Filters
|
3042
|
+
|
3043
|
+
def initialize(imageids=nil, offset=nil, limit=nil, filters=nil)
|
3044
|
+
@ImageIds = imageids
|
3045
|
+
@Offset = offset
|
3046
|
+
@Limit = limit
|
3047
|
+
@Filters = filters
|
3048
|
+
end
|
3049
|
+
|
3050
|
+
def deserialize(params)
|
3051
|
+
@ImageIds = params['ImageIds']
|
3052
|
+
@Offset = params['Offset']
|
3053
|
+
@Limit = params['Limit']
|
3054
|
+
unless params['Filters'].nil?
|
3055
|
+
@Filters = []
|
3056
|
+
params['Filters'].each do |i|
|
3057
|
+
filter_tmp = Filter.new
|
3058
|
+
filter_tmp.deserialize(i)
|
3059
|
+
@Filters << filter_tmp
|
3060
|
+
end
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
end
|
3064
|
+
|
3065
|
+
# DescribeImagesToShare返回参数结构体
|
3066
|
+
class DescribeImagesToShareResponse < TencentCloud::Common::AbstractModel
|
3067
|
+
# @param TotalCount: 符合条件的镜像数量。
|
3068
|
+
# @type TotalCount: Integer
|
3069
|
+
# @param ImageSet: CVM镜像详细信息列表。
|
3070
|
+
# @type ImageSet: Array
|
3071
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3072
|
+
# @type RequestId: String
|
3073
|
+
|
3074
|
+
attr_accessor :TotalCount, :ImageSet, :RequestId
|
3075
|
+
|
3076
|
+
def initialize(totalcount=nil, imageset=nil, requestid=nil)
|
3077
|
+
@TotalCount = totalcount
|
3078
|
+
@ImageSet = imageset
|
3079
|
+
@RequestId = requestid
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
def deserialize(params)
|
3083
|
+
@TotalCount = params['TotalCount']
|
3084
|
+
unless params['ImageSet'].nil?
|
3085
|
+
@ImageSet = []
|
3086
|
+
params['ImageSet'].each do |i|
|
3087
|
+
image_tmp = Image.new
|
3088
|
+
image_tmp.deserialize(i)
|
3089
|
+
@ImageSet << image_tmp
|
3090
|
+
end
|
3091
|
+
end
|
3092
|
+
@RequestId = params['RequestId']
|
3093
|
+
end
|
3094
|
+
end
|
3095
|
+
|
2953
3096
|
# DescribeInstanceVncUrl请求参数结构体
|
2954
3097
|
class DescribeInstanceVncUrlRequest < TencentCloud::Common::AbstractModel
|
2955
3098
|
# @param InstanceId: 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
@@ -3363,6 +3506,73 @@ module TencentCloud
|
|
3363
3506
|
end
|
3364
3507
|
end
|
3365
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
|
+
|
3366
3576
|
# DescribeModifyInstanceBundles请求参数结构体
|
3367
3577
|
class DescribeModifyInstanceBundlesRequest < TencentCloud::Common::AbstractModel
|
3368
3578
|
# @param InstanceId: 实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
@@ -4901,6 +5111,85 @@ module TencentCloud
|
|
4901
5111
|
end
|
4902
5112
|
end
|
4903
5113
|
|
5114
|
+
# CVM镜像信息。
|
5115
|
+
class Image < TencentCloud::Common::AbstractModel
|
5116
|
+
# @param ImageId: CVM镜像 ID ,是Image的唯一标识。
|
5117
|
+
# @type ImageId: String
|
5118
|
+
# @param ImageName: 镜像名称。
|
5119
|
+
# @type ImageName: String
|
5120
|
+
# @param ImageDescription: 镜像描述。
|
5121
|
+
# @type ImageDescription: String
|
5122
|
+
# @param ImageSize: 镜像大小。单位GB。
|
5123
|
+
# @type ImageSize: Integer
|
5124
|
+
# @param ImageSource: 镜像来源。
|
5125
|
+
# <li>CREATE_IMAGE:自定义镜像</li>
|
5126
|
+
# <li>EXTERNAL_IMPORT:外部导入镜像</li>
|
5127
|
+
# @type ImageSource: String
|
5128
|
+
# @param ImageClass: 镜像分类
|
5129
|
+
# <li>SystemImage:系统盘镜像</li>
|
5130
|
+
# <li>InstanceImage:整机镜像</li>
|
5131
|
+
# @type ImageClass: String
|
5132
|
+
# @param ImageState: 镜像状态
|
5133
|
+
# CREATING:创建中
|
5134
|
+
# NORMAL:正常
|
5135
|
+
# CREATEFAILED:创建失败
|
5136
|
+
# USING:使用中
|
5137
|
+
# SYNCING:同步中
|
5138
|
+
# IMPORTING:导入中
|
5139
|
+
# IMPORTFAILED:导入失败
|
5140
|
+
# @type ImageState: String
|
5141
|
+
# @param IsSupportCloudinit: 镜像是否支持Cloudinit。
|
5142
|
+
# @type IsSupportCloudinit: Boolean
|
5143
|
+
# @param Architecture: 镜像架构。
|
5144
|
+
# @type Architecture: String
|
5145
|
+
# @param OsName: 镜像操作系统。
|
5146
|
+
# @type OsName: String
|
5147
|
+
# @param Platform: 镜像来源平台。
|
5148
|
+
# @type Platform: String
|
5149
|
+
# @param CreatedTime: 镜像创建时间。
|
5150
|
+
# @type CreatedTime: String
|
5151
|
+
# @param IsShareable: 镜像是否可共享到轻量应用服务器。
|
5152
|
+
# @type IsShareable: Boolean
|
5153
|
+
# @param UnshareableReason: 不可共享的原因。
|
5154
|
+
# @type UnshareableReason: String
|
5155
|
+
|
5156
|
+
attr_accessor :ImageId, :ImageName, :ImageDescription, :ImageSize, :ImageSource, :ImageClass, :ImageState, :IsSupportCloudinit, :Architecture, :OsName, :Platform, :CreatedTime, :IsShareable, :UnshareableReason
|
5157
|
+
|
5158
|
+
def initialize(imageid=nil, imagename=nil, imagedescription=nil, imagesize=nil, imagesource=nil, imageclass=nil, imagestate=nil, issupportcloudinit=nil, architecture=nil, osname=nil, platform=nil, createdtime=nil, isshareable=nil, unshareablereason=nil)
|
5159
|
+
@ImageId = imageid
|
5160
|
+
@ImageName = imagename
|
5161
|
+
@ImageDescription = imagedescription
|
5162
|
+
@ImageSize = imagesize
|
5163
|
+
@ImageSource = imagesource
|
5164
|
+
@ImageClass = imageclass
|
5165
|
+
@ImageState = imagestate
|
5166
|
+
@IsSupportCloudinit = issupportcloudinit
|
5167
|
+
@Architecture = architecture
|
5168
|
+
@OsName = osname
|
5169
|
+
@Platform = platform
|
5170
|
+
@CreatedTime = createdtime
|
5171
|
+
@IsShareable = isshareable
|
5172
|
+
@UnshareableReason = unshareablereason
|
5173
|
+
end
|
5174
|
+
|
5175
|
+
def deserialize(params)
|
5176
|
+
@ImageId = params['ImageId']
|
5177
|
+
@ImageName = params['ImageName']
|
5178
|
+
@ImageDescription = params['ImageDescription']
|
5179
|
+
@ImageSize = params['ImageSize']
|
5180
|
+
@ImageSource = params['ImageSource']
|
5181
|
+
@ImageClass = params['ImageClass']
|
5182
|
+
@ImageState = params['ImageState']
|
5183
|
+
@IsSupportCloudinit = params['IsSupportCloudinit']
|
5184
|
+
@Architecture = params['Architecture']
|
5185
|
+
@OsName = params['OsName']
|
5186
|
+
@Platform = params['Platform']
|
5187
|
+
@CreatedTime = params['CreatedTime']
|
5188
|
+
@IsShareable = params['IsShareable']
|
5189
|
+
@UnshareableReason = params['UnshareableReason']
|
5190
|
+
end
|
5191
|
+
end
|
5192
|
+
|
4904
5193
|
# ImportKeyPair请求参数结构体
|
4905
5194
|
class ImportKeyPairRequest < TencentCloud::Common::AbstractModel
|
4906
5195
|
# @param KeyName: 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
|
@@ -5819,6 +6108,106 @@ module TencentCloud
|
|
5819
6108
|
end
|
5820
6109
|
end
|
5821
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
|
+
|
5822
6211
|
# ModifyBlueprintAttribute请求参数结构体
|
5823
6212
|
class ModifyBlueprintAttributeRequest < TencentCloud::Common::AbstractModel
|
5824
6213
|
# @param BlueprintId: 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
|
@@ -6259,6 +6648,47 @@ module TencentCloud
|
|
6259
6648
|
end
|
6260
6649
|
end
|
6261
6650
|
|
6651
|
+
# ModifyImageSharePermission请求参数结构体
|
6652
|
+
class ModifyImageSharePermissionRequest < TencentCloud::Common::AbstractModel
|
6653
|
+
# @param ImageId: 镜像 ID。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
6654
|
+
# @type ImageId: String
|
6655
|
+
# @param Permission: 共享属性,包括 SHARE,CANCEL。其中SHARE代表共享,CANCEL代表取消共享。
|
6656
|
+
# @type Permission: String
|
6657
|
+
|
6658
|
+
attr_accessor :ImageId, :Permission
|
6659
|
+
|
6660
|
+
def initialize(imageid=nil, permission=nil)
|
6661
|
+
@ImageId = imageid
|
6662
|
+
@Permission = permission
|
6663
|
+
end
|
6664
|
+
|
6665
|
+
def deserialize(params)
|
6666
|
+
@ImageId = params['ImageId']
|
6667
|
+
@Permission = params['Permission']
|
6668
|
+
end
|
6669
|
+
end
|
6670
|
+
|
6671
|
+
# ModifyImageSharePermission返回参数结构体
|
6672
|
+
class ModifyImageSharePermissionResponse < TencentCloud::Common::AbstractModel
|
6673
|
+
# @param BlueprintId: CVM自定义镜像共享到轻量应用服务器后的镜像ID。
|
6674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6675
|
+
# @type BlueprintId: String
|
6676
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6677
|
+
# @type RequestId: String
|
6678
|
+
|
6679
|
+
attr_accessor :BlueprintId, :RequestId
|
6680
|
+
|
6681
|
+
def initialize(blueprintid=nil, requestid=nil)
|
6682
|
+
@BlueprintId = blueprintid
|
6683
|
+
@RequestId = requestid
|
6684
|
+
end
|
6685
|
+
|
6686
|
+
def deserialize(params)
|
6687
|
+
@BlueprintId = params['BlueprintId']
|
6688
|
+
@RequestId = params['RequestId']
|
6689
|
+
end
|
6690
|
+
end
|
6691
|
+
|
6262
6692
|
# ModifyInstancesAttribute请求参数结构体
|
6263
6693
|
class ModifyInstancesAttributeRequest < TencentCloud::Common::AbstractModel
|
6264
6694
|
# @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
@@ -6380,6 +6810,65 @@ module TencentCloud
|
|
6380
6810
|
end
|
6381
6811
|
end
|
6382
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
|
+
|
6383
6872
|
# ModifySnapshotAttribute请求参数结构体
|
6384
6873
|
class ModifySnapshotAttributeRequest < TencentCloud::Common::AbstractModel
|
6385
6874
|
# @param SnapshotId: 快照 ID, 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 查询。
|
@@ -6570,6 +7059,42 @@ module TencentCloud
|
|
6570
7059
|
end
|
6571
7060
|
end
|
6572
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
|
+
|
6573
7098
|
# RenameDockerContainer请求参数结构体
|
6574
7099
|
class RenameDockerContainerRequest < TencentCloud::Common::AbstractModel
|
6575
7100
|
# @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
@@ -7117,6 +7642,42 @@ module TencentCloud
|
|
7117
7642
|
end
|
7118
7643
|
end
|
7119
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
|
+
|
7120
7681
|
# RunDockerContainers请求参数结构体
|
7121
7682
|
class RunDockerContainersRequest < TencentCloud::Common::AbstractModel
|
7122
7683
|
# @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
@@ -7474,6 +8035,42 @@ module TencentCloud
|
|
7474
8035
|
end
|
7475
8036
|
end
|
7476
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
|
+
|
7477
8074
|
# StopDockerContainers请求参数结构体
|
7478
8075
|
class StopDockerContainersRequest < TencentCloud::Common::AbstractModel
|
7479
8076
|
# @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
@@ -7546,6 +8143,42 @@ module TencentCloud
|
|
7546
8143
|
end
|
7547
8144
|
end
|
7548
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
|
+
|
7549
8182
|
# 实例支持IPv6详情描述。
|
7550
8183
|
class SupportIpv6Detail < TencentCloud::Common::AbstractModel
|
7551
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.
|
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-
|
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
|