tencentcloud-sdk-lighthouse 3.0.1134 → 3.0.1140

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: 4bf3cc887a117a55b61b0e9d51a51aedab9bd396
4
- data.tar.gz: e96335d29042ba2eada4982748eed81d2ce801b3
3
+ metadata.gz: 29a738d6c5fec0ade0799433a8211558c996d9ca
4
+ data.tar.gz: 41ea1c4990b164f19c3f03d1b1cb04ac4f14a38c
5
5
  SHA512:
6
- metadata.gz: 37683f40daa526197b9b04a45ff8cf3b9e1152fab42b96113065c8f4f50503c59c70ae76dfc084422b948375d957985197f88603e6f291e1266e58f6870761a8
7
- data.tar.gz: 258e2a22e5983af28c09ef52ffe4af0a11e19101f042dca950b10ac005f9b09c6787b8cd981a3b084d3e372ae7a0ca1e5d434c5836528fee670ec3b4af4adf17
6
+ metadata.gz: cb0a638bab8f51c399fe9038b6b309fc3da0ade976ac72b38b4700e0b32410faf219db73edc73d2a5da475ba47fbf350c91c663767dd713fe3f6a67a495fc1a9
7
+ data.tar.gz: c3aa4c68e96baceb2e457345491e97bd35db53554f94dbb1e02c3c141428399f931a5b2c611751134c5222f5000a88028e877e4dd80689d0e91a1fce015ab86c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1134
1
+ 3.0.1140
@@ -1457,6 +1457,30 @@ module TencentCloud
1457
1457
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1458
1458
  end
1459
1459
 
1460
+ # 本接口(DescribeMcpServerTemplates)用于查询MCP Server模板列表。
1461
+
1462
+ # @param request: Request instance for DescribeMcpServerTemplates.
1463
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeMcpServerTemplatesRequest`
1464
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeMcpServerTemplatesResponse`
1465
+ def DescribeMcpServerTemplates(request)
1466
+ body = send_request('DescribeMcpServerTemplates', request.serialize)
1467
+ response = JSON.parse(body)
1468
+ if response['Response'].key?('Error') == false
1469
+ model = DescribeMcpServerTemplatesResponse.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
+
1460
1484
  # 本接口(DescribeMcpServers)用于查询MCP Server列表。
1461
1485
 
1462
1486
  # @param request: Request instance for DescribeMcpServers.
@@ -2006,7 +2030,7 @@ module TencentCloud
2006
2030
  end
2007
2031
 
2008
2032
  # 本接口(ModifyDisksBackupQuota)用于调整云硬盘备份点配额。
2009
- # 该操作目前仅支持云硬盘类型为数据盘且状态是ATTACHED(已挂载)或 UNATTACHED(待挂载)的云硬盘。
2033
+ # 该操作目前仅支持状态是ATTACHED(已挂载)或 UNATTACHED(待挂载)的云硬盘。
2010
2034
  # 支持批量操作。每次批量请求云硬盘数量上限为15个。
2011
2035
 
2012
2036
  # @param request: Request instance for ModifyDisksBackupQuota.
@@ -3506,6 +3506,72 @@ module TencentCloud
3506
3506
  end
3507
3507
  end
3508
3508
 
3509
+ # DescribeMcpServerTemplates请求参数结构体
3510
+ class DescribeMcpServerTemplatesRequest < TencentCloud::Common::AbstractModel
3511
+ # @param Filters: 过滤器列表。
3512
+ # <li>name-description</li>按照MCP Server模板名称或描述进行过滤(支持模糊匹配)。
3513
+ # 类型:String
3514
+ # 必选:否
3515
+ # 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
3516
+ # @type Filters: Array
3517
+ # @param Limit: 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
3518
+ # @type Limit: Integer
3519
+ # @param Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
3520
+ # @type Offset: Integer
3521
+
3522
+ attr_accessor :Filters, :Limit, :Offset
3523
+
3524
+ def initialize(filters=nil, limit=nil, offset=nil)
3525
+ @Filters = filters
3526
+ @Limit = limit
3527
+ @Offset = offset
3528
+ end
3529
+
3530
+ def deserialize(params)
3531
+ unless params['Filters'].nil?
3532
+ @Filters = []
3533
+ params['Filters'].each do |i|
3534
+ filter_tmp = Filter.new
3535
+ filter_tmp.deserialize(i)
3536
+ @Filters << filter_tmp
3537
+ end
3538
+ end
3539
+ @Limit = params['Limit']
3540
+ @Offset = params['Offset']
3541
+ end
3542
+ end
3543
+
3544
+ # DescribeMcpServerTemplates返回参数结构体
3545
+ class DescribeMcpServerTemplatesResponse < TencentCloud::Common::AbstractModel
3546
+ # @param McpServerTemplateSet: MCP Server模板列表。
3547
+ # @type McpServerTemplateSet: Array
3548
+ # @param TotalCount: 符合条件的MCP Server模板数量。
3549
+ # @type TotalCount: Integer
3550
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3551
+ # @type RequestId: String
3552
+
3553
+ attr_accessor :McpServerTemplateSet, :TotalCount, :RequestId
3554
+
3555
+ def initialize(mcpservertemplateset=nil, totalcount=nil, requestid=nil)
3556
+ @McpServerTemplateSet = mcpservertemplateset
3557
+ @TotalCount = totalcount
3558
+ @RequestId = requestid
3559
+ end
3560
+
3561
+ def deserialize(params)
3562
+ unless params['McpServerTemplateSet'].nil?
3563
+ @McpServerTemplateSet = []
3564
+ params['McpServerTemplateSet'].each do |i|
3565
+ mcpservertemplate_tmp = McpServerTemplate.new
3566
+ mcpservertemplate_tmp.deserialize(i)
3567
+ @McpServerTemplateSet << mcpservertemplate_tmp
3568
+ end
3569
+ end
3570
+ @TotalCount = params['TotalCount']
3571
+ @RequestId = params['RequestId']
3572
+ end
3573
+ end
3574
+
3509
3575
  # DescribeMcpServers请求参数结构体
3510
3576
  class DescribeMcpServersRequest < TencentCloud::Common::AbstractModel
3511
3577
  # @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
@@ -4097,15 +4163,17 @@ module TencentCloud
4097
4163
  class DetailPrice < TencentCloud::Common::AbstractModel
4098
4164
  # @param PriceName: 描述计费项目名称,目前取值
4099
4165
  # <li>"DiskSpace"代表云硬盘空间收费项。</li>
4100
- # <li>"DiskBackupQuota"代表云硬盘备份点配额收费项。</li>
4166
+ # <li>"DiskBackupQuota"代表数据盘备份点配额收费项。</li>
4167
+ # <li>"Instance"代表实例收费项。</li>
4168
+ # <li>"SystemDiskBackupQuota"代表系统盘备份点配额收费项。</li>
4101
4169
  # @type PriceName: String
4102
- # @param OriginUnitPrice: 云硬盘计费项维度单价。
4170
+ # @param OriginUnitPrice: 计费项维度单价。
4103
4171
  # @type OriginUnitPrice: Float
4104
- # @param OriginalPrice: 云硬盘计费项维度总价。
4172
+ # @param OriginalPrice: 计费项维度总价。
4105
4173
  # @type OriginalPrice: Float
4106
- # @param Discount: 云硬盘在计费项维度折扣。
4174
+ # @param Discount: 计费项维度折扣。
4107
4175
  # @type Discount: Float
4108
- # @param DiscountPrice: 云硬盘在计费项维度折后总价。
4176
+ # @param DiscountPrice: 计费项维度折后总价。
4109
4177
  # @type DiscountPrice: Float
4110
4178
 
4111
4179
  attr_accessor :PriceName, :OriginUnitPrice, :OriginalPrice, :Discount, :DiscountPrice
@@ -4205,36 +4273,36 @@ module TencentCloud
4205
4273
  end
4206
4274
  end
4207
4275
 
4208
- # 磁盘信息
4276
+ # 云硬盘信息。
4209
4277
  class Disk < TencentCloud::Common::AbstractModel
4210
- # @param DiskId: 磁盘ID
4278
+ # @param DiskId: 云硬盘ID
4211
4279
  # @type DiskId: String
4212
- # @param InstanceId: 实例ID
4280
+ # @param InstanceId: 实例ID
4213
4281
  # @type InstanceId: String
4214
- # @param Zone: 可用区
4282
+ # @param Zone: 可用区。
4215
4283
  # @type Zone: String
4216
- # @param DiskName: 磁盘名称
4284
+ # @param DiskName: 云硬盘名称。
4217
4285
  # @type DiskName: String
4218
- # @param DiskUsage: 磁盘类型
4286
+ # @param DiskUsage: 云硬盘类型。
4219
4287
  # 枚举值:
4220
4288
  # <li> SYSTEM_DISK: 系统盘 </li>
4221
4289
  # <li> DATA_DISK: 数据盘 </li>
4222
4290
  # @type DiskUsage: String
4223
- # @param DiskType: 磁盘介质类型
4291
+ # @param DiskType: 云硬盘介质类型。
4224
4292
  # 枚举值:
4225
4293
  # <li> CLOUD_BASIC: 普通云硬盘 </li>
4226
4294
  # <li> CLOUD_PREMIUM: 高性能云硬盘 </li>
4227
4295
  # <li> CLOUD_SSD: SSD云硬盘 </li>
4228
4296
  # @type DiskType: String
4229
- # @param DiskChargeType: 磁盘付费类型
4297
+ # @param DiskChargeType: 云硬盘付费类型。
4230
4298
  # <li> PREPAID: 预付费 </li>
4231
4299
  # <li> POSTPAID_BY_HOUR: 按小时后付费 </li>
4232
4300
  # @type DiskChargeType: String
4233
- # @param DiskSize: 磁盘大小, 单位GB
4301
+ # @param DiskSize: 云硬盘大小, 单位GB
4234
4302
  # @type DiskSize: Integer
4235
- # @param RenewFlag: 续费标识
4303
+ # @param RenewFlag: 续费标识。
4236
4304
  # @type RenewFlag: String
4237
- # @param DiskState: 磁盘状态,取值范围:
4305
+ # @param DiskState: 云硬盘状态,取值范围:
4238
4306
  # <li>PENDING:创建中。 </li>
4239
4307
  # <li>UNATTACHED:待挂载。</li>
4240
4308
  # <li>ATTACHING:挂载中。</li>
@@ -4246,15 +4314,15 @@ module TencentCloud
4246
4314
  # <li> DELETING:删除中。</li>
4247
4315
  # <li> FREEZING:冻结中。</li>
4248
4316
  # @type DiskState: String
4249
- # @param Attached: 磁盘挂载状态
4317
+ # @param Attached: 云硬盘挂载状态。
4250
4318
  # @type Attached: Boolean
4251
- # @param DeleteWithInstance: 是否随实例释放
4319
+ # @param DeleteWithInstance: 是否随实例释放。
4252
4320
  # @type DeleteWithInstance: Boolean
4253
- # @param LatestOperation: 上一次操作
4321
+ # @param LatestOperation: 上一次操作。
4254
4322
  # @type LatestOperation: String
4255
- # @param LatestOperationState: 上一次操作状态
4323
+ # @param LatestOperationState: 上一次操作状态。
4256
4324
  # @type LatestOperationState: String
4257
- # @param LatestOperationRequestId: 上一次请求ID
4325
+ # @param LatestOperationRequestId: 上一次请求ID
4258
4326
  # @type LatestOperationRequestId: String
4259
4327
  # @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
4260
4328
  # 格式为: YYYY-MM-DDThh:mm:ssZ。
@@ -5761,7 +5829,7 @@ module TencentCloud
5761
5829
  end
5762
5830
  end
5763
5831
 
5764
- # 关于Lighthouse Instance实例的价格信息
5832
+ # 关于Lighthouse Instance实例的价格信息。
5765
5833
  class InstancePrice < TencentCloud::Common::AbstractModel
5766
5834
  # @param OriginalBundlePrice: 套餐单价原价。
5767
5835
  # @type OriginalBundlePrice: Float
@@ -5773,15 +5841,18 @@ module TencentCloud
5773
5841
  # @type DiscountPrice: Float
5774
5842
  # @param Currency: 价格货币单位。取值范围CNY:人民币。USD:美元。
5775
5843
  # @type Currency: String
5844
+ # @param DetailPrices: 计费项目明细。
5845
+ # @type DetailPrices: Array
5776
5846
 
5777
- attr_accessor :OriginalBundlePrice, :OriginalPrice, :Discount, :DiscountPrice, :Currency
5847
+ attr_accessor :OriginalBundlePrice, :OriginalPrice, :Discount, :DiscountPrice, :Currency, :DetailPrices
5778
5848
 
5779
- def initialize(originalbundleprice=nil, originalprice=nil, discount=nil, discountprice=nil, currency=nil)
5849
+ def initialize(originalbundleprice=nil, originalprice=nil, discount=nil, discountprice=nil, currency=nil, detailprices=nil)
5780
5850
  @OriginalBundlePrice = originalbundleprice
5781
5851
  @OriginalPrice = originalprice
5782
5852
  @Discount = discount
5783
5853
  @DiscountPrice = discountprice
5784
5854
  @Currency = currency
5855
+ @DetailPrices = detailprices
5785
5856
  end
5786
5857
 
5787
5858
  def deserialize(params)
@@ -5790,6 +5861,14 @@ module TencentCloud
5790
5861
  @Discount = params['Discount']
5791
5862
  @DiscountPrice = params['DiscountPrice']
5792
5863
  @Currency = params['Currency']
5864
+ unless params['DetailPrices'].nil?
5865
+ @DetailPrices = []
5866
+ params['DetailPrices'].each do |i|
5867
+ detailprice_tmp = DetailPrice.new
5868
+ detailprice_tmp.deserialize(i)
5869
+ @DetailPrices << detailprice_tmp
5870
+ end
5871
+ end
5793
5872
  end
5794
5873
  end
5795
5874
 
@@ -6208,6 +6287,73 @@ module TencentCloud
6208
6287
  end
6209
6288
  end
6210
6289
 
6290
+ # MCP Server模板
6291
+ class McpServerTemplate < TencentCloud::Common::AbstractModel
6292
+ # @param Name: MCP Server名称
6293
+ # @type Name: String
6294
+ # @param Command: Base64编码之后的MCP Server启动命令。
6295
+ # @type Command: String
6296
+ # @param Description: 描述
6297
+ # @type Description: String
6298
+ # @param IconUrl: MCP Server图标地址
6299
+ # @type IconUrl: String
6300
+ # @param CommunityUrl: MCP Server社区地址
6301
+ # @type CommunityUrl: String
6302
+ # @param PlatformUrl: MCP Server关联的开发平台地址或开放平台地址
6303
+ # @type PlatformUrl: String
6304
+ # @param EnvSet: MCP Server环境变量
6305
+ # @type EnvSet: Array
6306
+
6307
+ attr_accessor :Name, :Command, :Description, :IconUrl, :CommunityUrl, :PlatformUrl, :EnvSet
6308
+
6309
+ def initialize(name=nil, command=nil, description=nil, iconurl=nil, communityurl=nil, platformurl=nil, envset=nil)
6310
+ @Name = name
6311
+ @Command = command
6312
+ @Description = description
6313
+ @IconUrl = iconurl
6314
+ @CommunityUrl = communityurl
6315
+ @PlatformUrl = platformurl
6316
+ @EnvSet = envset
6317
+ end
6318
+
6319
+ def deserialize(params)
6320
+ @Name = params['Name']
6321
+ @Command = params['Command']
6322
+ @Description = params['Description']
6323
+ @IconUrl = params['IconUrl']
6324
+ @CommunityUrl = params['CommunityUrl']
6325
+ @PlatformUrl = params['PlatformUrl']
6326
+ unless params['EnvSet'].nil?
6327
+ @EnvSet = []
6328
+ params['EnvSet'].each do |i|
6329
+ mcpservertemplateenv_tmp = McpServerTemplateEnv.new
6330
+ mcpservertemplateenv_tmp.deserialize(i)
6331
+ @EnvSet << mcpservertemplateenv_tmp
6332
+ end
6333
+ end
6334
+ end
6335
+ end
6336
+
6337
+ # MCP Server模板环境变量
6338
+ class McpServerTemplateEnv < TencentCloud::Common::AbstractModel
6339
+ # @param Key: MCP Server模板的环境变量键
6340
+ # @type Key: String
6341
+ # @param Value: MCP Server模板的环境变量值
6342
+ # @type Value: String
6343
+
6344
+ attr_accessor :Key, :Value
6345
+
6346
+ def initialize(key=nil, value=nil)
6347
+ @Key = key
6348
+ @Value = value
6349
+ end
6350
+
6351
+ def deserialize(params)
6352
+ @Key = params['Key']
6353
+ @Value = params['Value']
6354
+ end
6355
+ end
6356
+
6211
6357
  # ModifyBlueprintAttribute请求参数结构体
6212
6358
  class ModifyBlueprintAttributeRequest < TencentCloud::Common::AbstractModel
6213
6359
  # @param BlueprintId: 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
@@ -6361,7 +6507,7 @@ module TencentCloud
6361
6507
  class ModifyDisksBackupQuotaRequest < TencentCloud::Common::AbstractModel
6362
6508
  # @param DiskIds: 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。
6363
6509
  # @type DiskIds: Array
6364
- # @param DiskBackupQuota: 云硬盘备份点配额。取值范围: [0, 500]。调整后的配额必须不小于已存在的备份点数量。
6510
+ # @param DiskBackupQuota: 云硬盘备份点配额。取值范围: [0, 500]。调整后的配额必须大于等于已存在的备份点数量。
6365
6511
  # @type DiskBackupQuota: Integer
6366
6512
 
6367
6513
  attr_accessor :DiskIds, :DiskBackupQuota
@@ -6963,15 +7109,25 @@ module TencentCloud
6963
7109
  class RebootInstancesRequest < TencentCloud::Common::AbstractModel
6964
7110
  # @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
6965
7111
  # @type InstanceIds: Array
7112
+ # @param StopType: 关机类型。
7113
+ # 取值范围:
7114
+ # - SOFT:表示软关机
7115
+ # - HARD:表示硬关机
7116
+ # - SOFT_FIRST:表示优先软关机,失败再执行硬关机
6966
7117
 
6967
- attr_accessor :InstanceIds
7118
+ # 默认取值:SOFT_FIRST。
7119
+ # @type StopType: String
6968
7120
 
6969
- def initialize(instanceids=nil)
7121
+ attr_accessor :InstanceIds, :StopType
7122
+
7123
+ def initialize(instanceids=nil, stoptype=nil)
6970
7124
  @InstanceIds = instanceids
7125
+ @StopType = stoptype
6971
7126
  end
6972
7127
 
6973
7128
  def deserialize(params)
6974
7129
  @InstanceIds = params['InstanceIds']
7130
+ @StopType = params['StopType']
6975
7131
  end
6976
7132
  end
6977
7133
 
@@ -8115,15 +8271,26 @@ module TencentCloud
8115
8271
  class StopInstancesRequest < TencentCloud::Common::AbstractModel
8116
8272
  # @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
8117
8273
  # @type InstanceIds: Array
8274
+ # @param StopType: 关机类型。
8275
+ # 取值范围:
8118
8276
 
8119
- attr_accessor :InstanceIds
8277
+ # - SOFT:表示软关机
8278
+ # - HARD:表示硬关机
8279
+ # - SOFT_FIRST:表示优先软关机,失败再执行硬关机
8120
8280
 
8121
- def initialize(instanceids=nil)
8281
+ # 默认取值:SOFT_FIRST
8282
+ # @type StopType: String
8283
+
8284
+ attr_accessor :InstanceIds, :StopType
8285
+
8286
+ def initialize(instanceids=nil, stoptype=nil)
8122
8287
  @InstanceIds = instanceids
8288
+ @StopType = stoptype
8123
8289
  end
8124
8290
 
8125
8291
  def deserialize(params)
8126
8292
  @InstanceIds = params['InstanceIds']
8293
+ @StopType = params['StopType']
8127
8294
  end
8128
8295
  end
8129
8296
 
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.1134
4
+ version: 3.0.1140
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-09-01 00:00:00.000000000 Z
11
+ date: 2025-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20200324/models.rb
37
36
  - lib/v20200324/client.rb
37
+ - lib/v20200324/models.rb
38
38
  - lib/tencentcloud-sdk-lighthouse.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby