tencentcloud-sdk-lighthouse 3.0.1139 → 3.0.1145
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 +25 -1
- data/lib/v20200324/models.rb +344 -52
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d07e6980d578438cd959971f48cfca5b979338d
|
4
|
+
data.tar.gz: f6f5edcfd4091da2808b1a0082e18ef026bcac59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fcaf25f8d3e9fd44e97b4d0e6a19cf2131851752644df956acd81c6b52c1e76a412cab74329892f1d9246e4071d332b41147ef7d57839af2a7266999f0bdcfa
|
7
|
+
data.tar.gz: 91213d46bb8715d6be2e7bcdd0669b85ebedd3f7ed5c629115ea406570f1bc37b440b2e166feed6f0644db5f249e332f1069915543a8502453a251ffc8d3ce61
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1145
|
data/lib/v20200324/client.rb
CHANGED
@@ -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
|
-
#
|
2033
|
+
# 该操作目前仅支持状态是ATTACHED(已挂载)或 UNATTACHED(待挂载)的云硬盘。
|
2010
2034
|
# 支持批量操作。每次批量请求云硬盘数量上限为15个。
|
2011
2035
|
|
2012
2036
|
# @param request: Request instance for ModifyDisksBackupQuota.
|
data/lib/v20200324/models.rb
CHANGED
@@ -346,10 +346,12 @@ module TencentCloud
|
|
346
346
|
# @type DockerVersion: String
|
347
347
|
# @param BlueprintShared: 镜像是否已共享。
|
348
348
|
# @type BlueprintShared: Boolean
|
349
|
+
# @param Tags: 镜像绑定的标签列表。
|
350
|
+
# @type Tags: Array
|
349
351
|
|
350
|
-
attr_accessor :BlueprintId, :DisplayTitle, :DisplayVersion, :Description, :OsName, :Platform, :PlatformType, :BlueprintType, :ImageUrl, :RequiredSystemDiskSize, :BlueprintState, :CreatedTime, :BlueprintName, :SupportAutomationTools, :RequiredMemorySize, :ImageId, :CommunityUrl, :GuideUrl, :SceneIdSet, :DockerVersion, :BlueprintShared
|
352
|
+
attr_accessor :BlueprintId, :DisplayTitle, :DisplayVersion, :Description, :OsName, :Platform, :PlatformType, :BlueprintType, :ImageUrl, :RequiredSystemDiskSize, :BlueprintState, :CreatedTime, :BlueprintName, :SupportAutomationTools, :RequiredMemorySize, :ImageId, :CommunityUrl, :GuideUrl, :SceneIdSet, :DockerVersion, :BlueprintShared, :Tags
|
351
353
|
|
352
|
-
def initialize(blueprintid=nil, displaytitle=nil, displayversion=nil, description=nil, osname=nil, platform=nil, platformtype=nil, blueprinttype=nil, imageurl=nil, requiredsystemdisksize=nil, blueprintstate=nil, createdtime=nil, blueprintname=nil, supportautomationtools=nil, requiredmemorysize=nil, imageid=nil, communityurl=nil, guideurl=nil, sceneidset=nil, dockerversion=nil, blueprintshared=nil)
|
354
|
+
def initialize(blueprintid=nil, displaytitle=nil, displayversion=nil, description=nil, osname=nil, platform=nil, platformtype=nil, blueprinttype=nil, imageurl=nil, requiredsystemdisksize=nil, blueprintstate=nil, createdtime=nil, blueprintname=nil, supportautomationtools=nil, requiredmemorysize=nil, imageid=nil, communityurl=nil, guideurl=nil, sceneidset=nil, dockerversion=nil, blueprintshared=nil, tags=nil)
|
353
355
|
@BlueprintId = blueprintid
|
354
356
|
@DisplayTitle = displaytitle
|
355
357
|
@DisplayVersion = displayversion
|
@@ -371,6 +373,7 @@ module TencentCloud
|
|
371
373
|
@SceneIdSet = sceneidset
|
372
374
|
@DockerVersion = dockerversion
|
373
375
|
@BlueprintShared = blueprintshared
|
376
|
+
@Tags = tags
|
374
377
|
end
|
375
378
|
|
376
379
|
def deserialize(params)
|
@@ -395,6 +398,14 @@ module TencentCloud
|
|
395
398
|
@SceneIdSet = params['SceneIdSet']
|
396
399
|
@DockerVersion = params['DockerVersion']
|
397
400
|
@BlueprintShared = params['BlueprintShared']
|
401
|
+
unless params['Tags'].nil?
|
402
|
+
@Tags = []
|
403
|
+
params['Tags'].each do |i|
|
404
|
+
tag_tmp = Tag.new
|
405
|
+
tag_tmp.deserialize(i)
|
406
|
+
@Tags << tag_tmp
|
407
|
+
end
|
408
|
+
end
|
398
409
|
end
|
399
410
|
end
|
400
411
|
|
@@ -699,14 +710,17 @@ module TencentCloud
|
|
699
710
|
# 默认取值:True
|
700
711
|
# 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
701
712
|
# @type ForcePowerOff: Boolean
|
713
|
+
# @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
|
714
|
+
# @type Tags: Array
|
702
715
|
|
703
|
-
attr_accessor :BlueprintName, :Description, :InstanceId, :ForcePowerOff
|
716
|
+
attr_accessor :BlueprintName, :Description, :InstanceId, :ForcePowerOff, :Tags
|
704
717
|
|
705
|
-
def initialize(blueprintname=nil, description=nil, instanceid=nil, forcepoweroff=nil)
|
718
|
+
def initialize(blueprintname=nil, description=nil, instanceid=nil, forcepoweroff=nil, tags=nil)
|
706
719
|
@BlueprintName = blueprintname
|
707
720
|
@Description = description
|
708
721
|
@InstanceId = instanceid
|
709
722
|
@ForcePowerOff = forcepoweroff
|
723
|
+
@Tags = tags
|
710
724
|
end
|
711
725
|
|
712
726
|
def deserialize(params)
|
@@ -714,6 +728,14 @@ module TencentCloud
|
|
714
728
|
@Description = params['Description']
|
715
729
|
@InstanceId = params['InstanceId']
|
716
730
|
@ForcePowerOff = params['ForcePowerOff']
|
731
|
+
unless params['Tags'].nil?
|
732
|
+
@Tags = []
|
733
|
+
params['Tags'].each do |i|
|
734
|
+
tag_tmp = Tag.new
|
735
|
+
tag_tmp.deserialize(i)
|
736
|
+
@Tags << tag_tmp
|
737
|
+
end
|
738
|
+
end
|
717
739
|
end
|
718
740
|
end
|
719
741
|
|
@@ -743,17 +765,28 @@ module TencentCloud
|
|
743
765
|
# @type DiskId: String
|
744
766
|
# @param DiskBackupName: 云硬盘备份点名称,最大长度为 90 。
|
745
767
|
# @type DiskBackupName: String
|
768
|
+
# @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
|
769
|
+
# @type Tags: Array
|
746
770
|
|
747
|
-
attr_accessor :DiskId, :DiskBackupName
|
771
|
+
attr_accessor :DiskId, :DiskBackupName, :Tags
|
748
772
|
|
749
|
-
def initialize(diskid=nil, diskbackupname=nil)
|
773
|
+
def initialize(diskid=nil, diskbackupname=nil, tags=nil)
|
750
774
|
@DiskId = diskid
|
751
775
|
@DiskBackupName = diskbackupname
|
776
|
+
@Tags = tags
|
752
777
|
end
|
753
778
|
|
754
779
|
def deserialize(params)
|
755
780
|
@DiskId = params['DiskId']
|
756
781
|
@DiskBackupName = params['DiskBackupName']
|
782
|
+
unless params['Tags'].nil?
|
783
|
+
@Tags = []
|
784
|
+
params['Tags'].each do |i|
|
785
|
+
tag_tmp = Tag.new
|
786
|
+
tag_tmp.deserialize(i)
|
787
|
+
@Tags << tag_tmp
|
788
|
+
end
|
789
|
+
end
|
757
790
|
end
|
758
791
|
end
|
759
792
|
|
@@ -797,10 +830,12 @@ module TencentCloud
|
|
797
830
|
# @type AutoVoucher: Boolean
|
798
831
|
# @param AutoMountConfiguration: 自动挂载并初始化数据盘。
|
799
832
|
# @type AutoMountConfiguration: :class:`Tencentcloud::Lighthouse.v20200324.models.AutoMountConfiguration`
|
833
|
+
# @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
|
834
|
+
# @type Tags: Array
|
800
835
|
|
801
|
-
attr_accessor :Zone, :DiskSize, :DiskType, :DiskChargePrepaid, :DiskName, :DiskCount, :DiskBackupQuota, :AutoVoucher, :AutoMountConfiguration
|
836
|
+
attr_accessor :Zone, :DiskSize, :DiskType, :DiskChargePrepaid, :DiskName, :DiskCount, :DiskBackupQuota, :AutoVoucher, :AutoMountConfiguration, :Tags
|
802
837
|
|
803
|
-
def initialize(zone=nil, disksize=nil, disktype=nil, diskchargeprepaid=nil, diskname=nil, diskcount=nil, diskbackupquota=nil, autovoucher=nil, automountconfiguration=nil)
|
838
|
+
def initialize(zone=nil, disksize=nil, disktype=nil, diskchargeprepaid=nil, diskname=nil, diskcount=nil, diskbackupquota=nil, autovoucher=nil, automountconfiguration=nil, tags=nil)
|
804
839
|
@Zone = zone
|
805
840
|
@DiskSize = disksize
|
806
841
|
@DiskType = disktype
|
@@ -810,6 +845,7 @@ module TencentCloud
|
|
810
845
|
@DiskBackupQuota = diskbackupquota
|
811
846
|
@AutoVoucher = autovoucher
|
812
847
|
@AutoMountConfiguration = automountconfiguration
|
848
|
+
@Tags = tags
|
813
849
|
end
|
814
850
|
|
815
851
|
def deserialize(params)
|
@@ -828,6 +864,14 @@ module TencentCloud
|
|
828
864
|
@AutoMountConfiguration = AutoMountConfiguration.new
|
829
865
|
@AutoMountConfiguration.deserialize(params['AutoMountConfiguration'])
|
830
866
|
end
|
867
|
+
unless params['Tags'].nil?
|
868
|
+
@Tags = []
|
869
|
+
params['Tags'].each do |i|
|
870
|
+
tag_tmp = Tag.new
|
871
|
+
tag_tmp.deserialize(i)
|
872
|
+
@Tags << tag_tmp
|
873
|
+
end
|
874
|
+
end
|
831
875
|
end
|
832
876
|
end
|
833
877
|
|
@@ -1000,17 +1044,28 @@ module TencentCloud
|
|
1000
1044
|
# @type InstanceId: String
|
1001
1045
|
# @param SnapshotName: 快照名称,最长为 60 个字符。
|
1002
1046
|
# @type SnapshotName: String
|
1047
|
+
# @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
|
1048
|
+
# @type Tags: Array
|
1003
1049
|
|
1004
|
-
attr_accessor :InstanceId, :SnapshotName
|
1050
|
+
attr_accessor :InstanceId, :SnapshotName, :Tags
|
1005
1051
|
|
1006
|
-
def initialize(instanceid=nil, snapshotname=nil)
|
1052
|
+
def initialize(instanceid=nil, snapshotname=nil, tags=nil)
|
1007
1053
|
@InstanceId = instanceid
|
1008
1054
|
@SnapshotName = snapshotname
|
1055
|
+
@Tags = tags
|
1009
1056
|
end
|
1010
1057
|
|
1011
1058
|
def deserialize(params)
|
1012
1059
|
@InstanceId = params['InstanceId']
|
1013
1060
|
@SnapshotName = params['SnapshotName']
|
1061
|
+
unless params['Tags'].nil?
|
1062
|
+
@Tags = []
|
1063
|
+
params['Tags'].each do |i|
|
1064
|
+
tag_tmp = Tag.new
|
1065
|
+
tag_tmp.deserialize(i)
|
1066
|
+
@Tags << tag_tmp
|
1067
|
+
end
|
1068
|
+
end
|
1014
1069
|
end
|
1015
1070
|
end
|
1016
1071
|
|
@@ -1171,15 +1226,26 @@ module TencentCloud
|
|
1171
1226
|
class CreateKeyPairRequest < TencentCloud::Common::AbstractModel
|
1172
1227
|
# @param KeyName: 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
|
1173
1228
|
# @type KeyName: String
|
1229
|
+
# @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
|
1230
|
+
# @type Tags: Array
|
1174
1231
|
|
1175
|
-
attr_accessor :KeyName
|
1232
|
+
attr_accessor :KeyName, :Tags
|
1176
1233
|
|
1177
|
-
def initialize(keyname=nil)
|
1234
|
+
def initialize(keyname=nil, tags=nil)
|
1178
1235
|
@KeyName = keyname
|
1236
|
+
@Tags = tags
|
1179
1237
|
end
|
1180
1238
|
|
1181
1239
|
def deserialize(params)
|
1182
1240
|
@KeyName = params['KeyName']
|
1241
|
+
unless params['Tags'].nil?
|
1242
|
+
@Tags = []
|
1243
|
+
params['Tags'].each do |i|
|
1244
|
+
tag_tmp = Tag.new
|
1245
|
+
tag_tmp.deserialize(i)
|
1246
|
+
@Tags << tag_tmp
|
1247
|
+
end
|
1248
|
+
end
|
1183
1249
|
end
|
1184
1250
|
end
|
1185
1251
|
|
@@ -1702,7 +1768,12 @@ module TencentCloud
|
|
1702
1768
|
# 类型:String
|
1703
1769
|
# 必选:否
|
1704
1770
|
# 场景Id,可通过[查看使用场景列表](https://cloud.tencent.com/document/product/1207/83512)接口获取。
|
1705
|
-
|
1771
|
+
# <li>tag-key</li>
|
1772
|
+
# 按照【标签键】进行过滤。 类型:String 必选:否
|
1773
|
+
# <li>tag-value</li>
|
1774
|
+
# 按照【标签值】进行过滤。 类型:String 必选:否
|
1775
|
+
# <li>tag:tag-key</li>
|
1776
|
+
# 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
|
1706
1777
|
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 BlueprintIds (可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值字段BlueprintSet获取BlueprintId)和 Filters 。
|
1707
1778
|
# @type Filters: Array
|
1708
1779
|
|
@@ -1997,7 +2068,12 @@ module TencentCloud
|
|
1997
2068
|
# 取值:
|
1998
2069
|
# - SYSTEM_DISK - 系统盘
|
1999
2070
|
# - DATA_DISK - 数据盘
|
2000
|
-
|
2071
|
+
# <li>tag-key</li>
|
2072
|
+
# 按照【标签键】进行过滤。 类型:String 必选:否
|
2073
|
+
# <li>tag-value</li>
|
2074
|
+
# 按照【标签值】进行过滤。 类型:String 必选:否
|
2075
|
+
# <li>tag:tag-key</li>
|
2076
|
+
# 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
|
2001
2077
|
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为5。参数不支持同时指定DiskBackupIds 和 Filters。
|
2002
2078
|
# @type Filters: Array
|
2003
2079
|
# @param Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
@@ -2242,6 +2318,12 @@ module TencentCloud
|
|
2242
2318
|
# 类型:String
|
2243
2319
|
# 必选:否
|
2244
2320
|
# 取值:参考数据结构[Disk](https://cloud.tencent.com/document/api/1207/47576#Disk)中DiskState取值。
|
2321
|
+
# tag-key
|
2322
|
+
# 按照【标签键】进行过滤。 类型:String 必选:否
|
2323
|
+
# tag-value
|
2324
|
+
# 按照【标签值】进行过滤。 类型:String 必选:否
|
2325
|
+
# tag:tag-key
|
2326
|
+
# 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
|
2245
2327
|
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 DiskIds 和 Filters。
|
2246
2328
|
# @type Filters: Array
|
2247
2329
|
# @param Limit: 返回数量,默认为20,最大值为100。
|
@@ -3448,6 +3530,12 @@ module TencentCloud
|
|
3448
3530
|
# <li>key-name</li>按照【密钥对名称】进行过滤(支持模糊匹配)。
|
3449
3531
|
# 类型:String
|
3450
3532
|
# 必选:否
|
3533
|
+
# <li>tag-key</li>
|
3534
|
+
# 按照【标签键】进行过滤。 类型:String 必选:否
|
3535
|
+
# <li>tag-value</li>
|
3536
|
+
# 按照【标签值】进行过滤。 类型:String 必选:否
|
3537
|
+
# <li>tag:tag-key</li>
|
3538
|
+
# 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
|
3451
3539
|
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。
|
3452
3540
|
# @type Filters: Array
|
3453
3541
|
|
@@ -3506,6 +3594,72 @@ module TencentCloud
|
|
3506
3594
|
end
|
3507
3595
|
end
|
3508
3596
|
|
3597
|
+
# DescribeMcpServerTemplates请求参数结构体
|
3598
|
+
class DescribeMcpServerTemplatesRequest < TencentCloud::Common::AbstractModel
|
3599
|
+
# @param Filters: 过滤器列表。
|
3600
|
+
# <li>name-description</li>按照MCP Server模板名称或描述进行过滤(支持模糊匹配)。
|
3601
|
+
# 类型:String
|
3602
|
+
# 必选:否
|
3603
|
+
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
|
3604
|
+
# @type Filters: Array
|
3605
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
3606
|
+
# @type Limit: Integer
|
3607
|
+
# @param Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
3608
|
+
# @type Offset: Integer
|
3609
|
+
|
3610
|
+
attr_accessor :Filters, :Limit, :Offset
|
3611
|
+
|
3612
|
+
def initialize(filters=nil, limit=nil, offset=nil)
|
3613
|
+
@Filters = filters
|
3614
|
+
@Limit = limit
|
3615
|
+
@Offset = offset
|
3616
|
+
end
|
3617
|
+
|
3618
|
+
def deserialize(params)
|
3619
|
+
unless params['Filters'].nil?
|
3620
|
+
@Filters = []
|
3621
|
+
params['Filters'].each do |i|
|
3622
|
+
filter_tmp = Filter.new
|
3623
|
+
filter_tmp.deserialize(i)
|
3624
|
+
@Filters << filter_tmp
|
3625
|
+
end
|
3626
|
+
end
|
3627
|
+
@Limit = params['Limit']
|
3628
|
+
@Offset = params['Offset']
|
3629
|
+
end
|
3630
|
+
end
|
3631
|
+
|
3632
|
+
# DescribeMcpServerTemplates返回参数结构体
|
3633
|
+
class DescribeMcpServerTemplatesResponse < TencentCloud::Common::AbstractModel
|
3634
|
+
# @param McpServerTemplateSet: MCP Server模板列表。
|
3635
|
+
# @type McpServerTemplateSet: Array
|
3636
|
+
# @param TotalCount: 符合条件的MCP Server模板数量。
|
3637
|
+
# @type TotalCount: Integer
|
3638
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3639
|
+
# @type RequestId: String
|
3640
|
+
|
3641
|
+
attr_accessor :McpServerTemplateSet, :TotalCount, :RequestId
|
3642
|
+
|
3643
|
+
def initialize(mcpservertemplateset=nil, totalcount=nil, requestid=nil)
|
3644
|
+
@McpServerTemplateSet = mcpservertemplateset
|
3645
|
+
@TotalCount = totalcount
|
3646
|
+
@RequestId = requestid
|
3647
|
+
end
|
3648
|
+
|
3649
|
+
def deserialize(params)
|
3650
|
+
unless params['McpServerTemplateSet'].nil?
|
3651
|
+
@McpServerTemplateSet = []
|
3652
|
+
params['McpServerTemplateSet'].each do |i|
|
3653
|
+
mcpservertemplate_tmp = McpServerTemplate.new
|
3654
|
+
mcpservertemplate_tmp.deserialize(i)
|
3655
|
+
@McpServerTemplateSet << mcpservertemplate_tmp
|
3656
|
+
end
|
3657
|
+
end
|
3658
|
+
@TotalCount = params['TotalCount']
|
3659
|
+
@RequestId = params['RequestId']
|
3660
|
+
end
|
3661
|
+
end
|
3662
|
+
|
3509
3663
|
# DescribeMcpServers请求参数结构体
|
3510
3664
|
class DescribeMcpServersRequest < TencentCloud::Common::AbstractModel
|
3511
3665
|
# @param InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
@@ -3895,12 +4049,10 @@ module TencentCloud
|
|
3895
4049
|
# 类型:String
|
3896
4050
|
# 必选:否
|
3897
4051
|
# 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。
|
3898
|
-
|
3899
4052
|
# <li>disk-id</li>按照【磁盘 ID】进行过滤。
|
3900
4053
|
# 类型:String
|
3901
4054
|
# 必选:否
|
3902
4055
|
# 可通过 <a href="https://cloud.tencent.com/document/product/1207/66093">DescribeDisks</a> 接口返回值中的 DiskId 获取。
|
3903
|
-
|
3904
4056
|
# <li>snapshot-name</li>按照【快照名称】进行过滤。
|
3905
4057
|
# 类型:String
|
3906
4058
|
# 必选:否
|
@@ -3909,7 +4061,12 @@ module TencentCloud
|
|
3909
4061
|
# 类型:String
|
3910
4062
|
# 必选:否
|
3911
4063
|
# 可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
3912
|
-
|
4064
|
+
# <li>tag-key</li>
|
4065
|
+
# 按照【标签键】进行过滤。 类型:String 必选:否
|
4066
|
+
# <li>tag-value</li>
|
4067
|
+
# 按照【标签值】进行过滤。 类型:String 必选:否
|
4068
|
+
# <li>tag:tag-key</li>
|
4069
|
+
# 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
|
3913
4070
|
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。
|
3914
4071
|
# @type Filters: Array
|
3915
4072
|
# @param Offset: 偏移量,默认为 0。
|
@@ -4097,15 +4254,17 @@ module TencentCloud
|
|
4097
4254
|
class DetailPrice < TencentCloud::Common::AbstractModel
|
4098
4255
|
# @param PriceName: 描述计费项目名称,目前取值
|
4099
4256
|
# <li>"DiskSpace"代表云硬盘空间收费项。</li>
|
4100
|
-
# <li>"DiskBackupQuota"
|
4257
|
+
# <li>"DiskBackupQuota"代表数据盘备份点配额收费项。</li>
|
4258
|
+
# <li>"Instance"代表实例收费项。</li>
|
4259
|
+
# <li>"SystemDiskBackupQuota"代表系统盘备份点配额收费项。</li>
|
4101
4260
|
# @type PriceName: String
|
4102
|
-
# @param OriginUnitPrice:
|
4261
|
+
# @param OriginUnitPrice: 计费项维度单价。
|
4103
4262
|
# @type OriginUnitPrice: Float
|
4104
|
-
# @param OriginalPrice:
|
4263
|
+
# @param OriginalPrice: 计费项维度总价。
|
4105
4264
|
# @type OriginalPrice: Float
|
4106
|
-
# @param Discount:
|
4265
|
+
# @param Discount: 计费项维度折扣。
|
4107
4266
|
# @type Discount: Float
|
4108
|
-
# @param DiscountPrice:
|
4267
|
+
# @param DiscountPrice: 计费项维度折后总价。
|
4109
4268
|
# @type DiscountPrice: Float
|
4110
4269
|
|
4111
4270
|
attr_accessor :PriceName, :OriginUnitPrice, :OriginalPrice, :Discount, :DiscountPrice
|
@@ -4205,36 +4364,36 @@ module TencentCloud
|
|
4205
4364
|
end
|
4206
4365
|
end
|
4207
4366
|
|
4208
|
-
#
|
4367
|
+
# 云硬盘信息。
|
4209
4368
|
class Disk < TencentCloud::Common::AbstractModel
|
4210
|
-
# @param DiskId:
|
4369
|
+
# @param DiskId: 云硬盘ID。
|
4211
4370
|
# @type DiskId: String
|
4212
|
-
# @param InstanceId: 实例ID
|
4371
|
+
# @param InstanceId: 实例ID。
|
4213
4372
|
# @type InstanceId: String
|
4214
|
-
# @param Zone:
|
4373
|
+
# @param Zone: 可用区。
|
4215
4374
|
# @type Zone: String
|
4216
|
-
# @param DiskName:
|
4375
|
+
# @param DiskName: 云硬盘名称。
|
4217
4376
|
# @type DiskName: String
|
4218
|
-
# @param DiskUsage:
|
4377
|
+
# @param DiskUsage: 云硬盘类型。
|
4219
4378
|
# 枚举值:
|
4220
4379
|
# <li> SYSTEM_DISK: 系统盘 </li>
|
4221
4380
|
# <li> DATA_DISK: 数据盘 </li>
|
4222
4381
|
# @type DiskUsage: String
|
4223
|
-
# @param DiskType:
|
4382
|
+
# @param DiskType: 云硬盘介质类型。
|
4224
4383
|
# 枚举值:
|
4225
4384
|
# <li> CLOUD_BASIC: 普通云硬盘 </li>
|
4226
4385
|
# <li> CLOUD_PREMIUM: 高性能云硬盘 </li>
|
4227
4386
|
# <li> CLOUD_SSD: SSD云硬盘 </li>
|
4228
4387
|
# @type DiskType: String
|
4229
|
-
# @param DiskChargeType:
|
4388
|
+
# @param DiskChargeType: 云硬盘付费类型。
|
4230
4389
|
# <li> PREPAID: 预付费 </li>
|
4231
4390
|
# <li> POSTPAID_BY_HOUR: 按小时后付费 </li>
|
4232
4391
|
# @type DiskChargeType: String
|
4233
|
-
# @param DiskSize:
|
4392
|
+
# @param DiskSize: 云硬盘大小, 单位GB。
|
4234
4393
|
# @type DiskSize: Integer
|
4235
|
-
# @param RenewFlag:
|
4394
|
+
# @param RenewFlag: 续费标识。
|
4236
4395
|
# @type RenewFlag: String
|
4237
|
-
# @param DiskState:
|
4396
|
+
# @param DiskState: 云硬盘状态,取值范围:
|
4238
4397
|
# <li>PENDING:创建中。 </li>
|
4239
4398
|
# <li>UNATTACHED:待挂载。</li>
|
4240
4399
|
# <li>ATTACHING:挂载中。</li>
|
@@ -4246,15 +4405,15 @@ module TencentCloud
|
|
4246
4405
|
# <li> DELETING:删除中。</li>
|
4247
4406
|
# <li> FREEZING:冻结中。</li>
|
4248
4407
|
# @type DiskState: String
|
4249
|
-
# @param Attached:
|
4408
|
+
# @param Attached: 云硬盘挂载状态。
|
4250
4409
|
# @type Attached: Boolean
|
4251
|
-
# @param DeleteWithInstance:
|
4410
|
+
# @param DeleteWithInstance: 是否随实例释放。
|
4252
4411
|
# @type DeleteWithInstance: Boolean
|
4253
|
-
# @param LatestOperation:
|
4412
|
+
# @param LatestOperation: 上一次操作。
|
4254
4413
|
# @type LatestOperation: String
|
4255
|
-
# @param LatestOperationState:
|
4414
|
+
# @param LatestOperationState: 上一次操作状态。
|
4256
4415
|
# @type LatestOperationState: String
|
4257
|
-
# @param LatestOperationRequestId: 上一次请求ID
|
4416
|
+
# @param LatestOperationRequestId: 上一次请求ID。
|
4258
4417
|
# @type LatestOperationRequestId: String
|
4259
4418
|
# @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
|
4260
4419
|
# 格式为: YYYY-MM-DDThh:mm:ssZ。
|
@@ -4272,10 +4431,12 @@ module TencentCloud
|
|
4272
4431
|
# @type DiskBackupCount: Integer
|
4273
4432
|
# @param DiskBackupQuota: 云硬盘的备份点配额数量。
|
4274
4433
|
# @type DiskBackupQuota: Integer
|
4434
|
+
# @param Tags: 云硬盘绑定的标签列表。
|
4435
|
+
# @type Tags: Array
|
4275
4436
|
|
4276
|
-
attr_accessor :DiskId, :InstanceId, :Zone, :DiskName, :DiskUsage, :DiskType, :DiskChargeType, :DiskSize, :RenewFlag, :DiskState, :Attached, :DeleteWithInstance, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :ExpiredTime, :IsolatedTime, :DiskBackupCount, :DiskBackupQuota
|
4437
|
+
attr_accessor :DiskId, :InstanceId, :Zone, :DiskName, :DiskUsage, :DiskType, :DiskChargeType, :DiskSize, :RenewFlag, :DiskState, :Attached, :DeleteWithInstance, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :ExpiredTime, :IsolatedTime, :DiskBackupCount, :DiskBackupQuota, :Tags
|
4277
4438
|
|
4278
|
-
def initialize(diskid=nil, instanceid=nil, zone=nil, diskname=nil, diskusage=nil, disktype=nil, diskchargetype=nil, disksize=nil, renewflag=nil, diskstate=nil, attached=nil, deletewithinstance=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, expiredtime=nil, isolatedtime=nil, diskbackupcount=nil, diskbackupquota=nil)
|
4439
|
+
def initialize(diskid=nil, instanceid=nil, zone=nil, diskname=nil, diskusage=nil, disktype=nil, diskchargetype=nil, disksize=nil, renewflag=nil, diskstate=nil, attached=nil, deletewithinstance=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, expiredtime=nil, isolatedtime=nil, diskbackupcount=nil, diskbackupquota=nil, tags=nil)
|
4279
4440
|
@DiskId = diskid
|
4280
4441
|
@InstanceId = instanceid
|
4281
4442
|
@Zone = zone
|
@@ -4296,6 +4457,7 @@ module TencentCloud
|
|
4296
4457
|
@IsolatedTime = isolatedtime
|
4297
4458
|
@DiskBackupCount = diskbackupcount
|
4298
4459
|
@DiskBackupQuota = diskbackupquota
|
4460
|
+
@Tags = tags
|
4299
4461
|
end
|
4300
4462
|
|
4301
4463
|
def deserialize(params)
|
@@ -4319,6 +4481,14 @@ module TencentCloud
|
|
4319
4481
|
@IsolatedTime = params['IsolatedTime']
|
4320
4482
|
@DiskBackupCount = params['DiskBackupCount']
|
4321
4483
|
@DiskBackupQuota = params['DiskBackupQuota']
|
4484
|
+
unless params['Tags'].nil?
|
4485
|
+
@Tags = []
|
4486
|
+
params['Tags'].each do |i|
|
4487
|
+
tag_tmp = Tag.new
|
4488
|
+
tag_tmp.deserialize(i)
|
4489
|
+
@Tags << tag_tmp
|
4490
|
+
end
|
4491
|
+
end
|
4322
4492
|
end
|
4323
4493
|
end
|
4324
4494
|
|
@@ -4351,10 +4521,12 @@ module TencentCloud
|
|
4351
4521
|
# @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
|
4352
4522
|
# 格式为: YYYY-MM-DDThh:mm:ssZ。
|
4353
4523
|
# @type CreatedTime: String
|
4524
|
+
# @param Tags: 云硬盘备份点绑定的标签列表。
|
4525
|
+
# @type Tags: Array
|
4354
4526
|
|
4355
|
-
attr_accessor :DiskBackupId, :DiskUsage, :DiskId, :DiskSize, :DiskBackupName, :DiskBackupState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime
|
4527
|
+
attr_accessor :DiskBackupId, :DiskUsage, :DiskId, :DiskSize, :DiskBackupName, :DiskBackupState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :Tags
|
4356
4528
|
|
4357
|
-
def initialize(diskbackupid=nil, diskusage=nil, diskid=nil, disksize=nil, diskbackupname=nil, diskbackupstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil)
|
4529
|
+
def initialize(diskbackupid=nil, diskusage=nil, diskid=nil, disksize=nil, diskbackupname=nil, diskbackupstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, tags=nil)
|
4358
4530
|
@DiskBackupId = diskbackupid
|
4359
4531
|
@DiskUsage = diskusage
|
4360
4532
|
@DiskId = diskid
|
@@ -4366,6 +4538,7 @@ module TencentCloud
|
|
4366
4538
|
@LatestOperationState = latestoperationstate
|
4367
4539
|
@LatestOperationRequestId = latestoperationrequestid
|
4368
4540
|
@CreatedTime = createdtime
|
4541
|
+
@Tags = tags
|
4369
4542
|
end
|
4370
4543
|
|
4371
4544
|
def deserialize(params)
|
@@ -4380,6 +4553,14 @@ module TencentCloud
|
|
4380
4553
|
@LatestOperationState = params['LatestOperationState']
|
4381
4554
|
@LatestOperationRequestId = params['LatestOperationRequestId']
|
4382
4555
|
@CreatedTime = params['CreatedTime']
|
4556
|
+
unless params['Tags'].nil?
|
4557
|
+
@Tags = []
|
4558
|
+
params['Tags'].each do |i|
|
4559
|
+
tag_tmp = Tag.new
|
4560
|
+
tag_tmp.deserialize(i)
|
4561
|
+
@Tags << tag_tmp
|
4562
|
+
end
|
4563
|
+
end
|
4383
4564
|
end
|
4384
4565
|
end
|
4385
4566
|
|
@@ -5196,17 +5377,28 @@ module TencentCloud
|
|
5196
5377
|
# @type KeyName: String
|
5197
5378
|
# @param PublicKey: 密钥对的公钥内容, OpenSSH RSA 格式。
|
5198
5379
|
# @type PublicKey: String
|
5380
|
+
# @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
|
5381
|
+
# @type Tags: Array
|
5199
5382
|
|
5200
|
-
attr_accessor :KeyName, :PublicKey
|
5383
|
+
attr_accessor :KeyName, :PublicKey, :Tags
|
5201
5384
|
|
5202
|
-
def initialize(keyname=nil, publickey=nil)
|
5385
|
+
def initialize(keyname=nil, publickey=nil, tags=nil)
|
5203
5386
|
@KeyName = keyname
|
5204
5387
|
@PublicKey = publickey
|
5388
|
+
@Tags = tags
|
5205
5389
|
end
|
5206
5390
|
|
5207
5391
|
def deserialize(params)
|
5208
5392
|
@KeyName = params['KeyName']
|
5209
5393
|
@PublicKey = params['PublicKey']
|
5394
|
+
unless params['Tags'].nil?
|
5395
|
+
@Tags = []
|
5396
|
+
params['Tags'].each do |i|
|
5397
|
+
tag_tmp = Tag.new
|
5398
|
+
tag_tmp.deserialize(i)
|
5399
|
+
@Tags << tag_tmp
|
5400
|
+
end
|
5401
|
+
end
|
5210
5402
|
end
|
5211
5403
|
end
|
5212
5404
|
|
@@ -5761,7 +5953,7 @@ module TencentCloud
|
|
5761
5953
|
end
|
5762
5954
|
end
|
5763
5955
|
|
5764
|
-
# 关于Lighthouse Instance
|
5956
|
+
# 关于Lighthouse Instance实例的价格信息。
|
5765
5957
|
class InstancePrice < TencentCloud::Common::AbstractModel
|
5766
5958
|
# @param OriginalBundlePrice: 套餐单价原价。
|
5767
5959
|
# @type OriginalBundlePrice: Float
|
@@ -5773,15 +5965,18 @@ module TencentCloud
|
|
5773
5965
|
# @type DiscountPrice: Float
|
5774
5966
|
# @param Currency: 价格货币单位。取值范围CNY:人民币。USD:美元。
|
5775
5967
|
# @type Currency: String
|
5968
|
+
# @param DetailPrices: 计费项目明细。
|
5969
|
+
# @type DetailPrices: Array
|
5776
5970
|
|
5777
|
-
attr_accessor :OriginalBundlePrice, :OriginalPrice, :Discount, :DiscountPrice, :Currency
|
5971
|
+
attr_accessor :OriginalBundlePrice, :OriginalPrice, :Discount, :DiscountPrice, :Currency, :DetailPrices
|
5778
5972
|
|
5779
|
-
def initialize(originalbundleprice=nil, originalprice=nil, discount=nil, discountprice=nil, currency=nil)
|
5973
|
+
def initialize(originalbundleprice=nil, originalprice=nil, discount=nil, discountprice=nil, currency=nil, detailprices=nil)
|
5780
5974
|
@OriginalBundlePrice = originalbundleprice
|
5781
5975
|
@OriginalPrice = originalprice
|
5782
5976
|
@Discount = discount
|
5783
5977
|
@DiscountPrice = discountprice
|
5784
5978
|
@Currency = currency
|
5979
|
+
@DetailPrices = detailprices
|
5785
5980
|
end
|
5786
5981
|
|
5787
5982
|
def deserialize(params)
|
@@ -5790,6 +5985,14 @@ module TencentCloud
|
|
5790
5985
|
@Discount = params['Discount']
|
5791
5986
|
@DiscountPrice = params['DiscountPrice']
|
5792
5987
|
@Currency = params['Currency']
|
5988
|
+
unless params['DetailPrices'].nil?
|
5989
|
+
@DetailPrices = []
|
5990
|
+
params['DetailPrices'].each do |i|
|
5991
|
+
detailprice_tmp = DetailPrice.new
|
5992
|
+
detailprice_tmp.deserialize(i)
|
5993
|
+
@DetailPrices << detailprice_tmp
|
5994
|
+
end
|
5995
|
+
end
|
5793
5996
|
end
|
5794
5997
|
end
|
5795
5998
|
|
@@ -6033,16 +6236,19 @@ module TencentCloud
|
|
6033
6236
|
# @param PrivateKey: 密钥对私钥。
|
6034
6237
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6035
6238
|
# @type PrivateKey: String
|
6239
|
+
# @param Tags: 密钥对绑定的标签列表。
|
6240
|
+
# @type Tags: Array
|
6036
6241
|
|
6037
|
-
attr_accessor :KeyId, :KeyName, :PublicKey, :AssociatedInstanceIds, :CreatedTime, :PrivateKey
|
6242
|
+
attr_accessor :KeyId, :KeyName, :PublicKey, :AssociatedInstanceIds, :CreatedTime, :PrivateKey, :Tags
|
6038
6243
|
|
6039
|
-
def initialize(keyid=nil, keyname=nil, publickey=nil, associatedinstanceids=nil, createdtime=nil, privatekey=nil)
|
6244
|
+
def initialize(keyid=nil, keyname=nil, publickey=nil, associatedinstanceids=nil, createdtime=nil, privatekey=nil, tags=nil)
|
6040
6245
|
@KeyId = keyid
|
6041
6246
|
@KeyName = keyname
|
6042
6247
|
@PublicKey = publickey
|
6043
6248
|
@AssociatedInstanceIds = associatedinstanceids
|
6044
6249
|
@CreatedTime = createdtime
|
6045
6250
|
@PrivateKey = privatekey
|
6251
|
+
@Tags = tags
|
6046
6252
|
end
|
6047
6253
|
|
6048
6254
|
def deserialize(params)
|
@@ -6052,6 +6258,14 @@ module TencentCloud
|
|
6052
6258
|
@AssociatedInstanceIds = params['AssociatedInstanceIds']
|
6053
6259
|
@CreatedTime = params['CreatedTime']
|
6054
6260
|
@PrivateKey = params['PrivateKey']
|
6261
|
+
unless params['Tags'].nil?
|
6262
|
+
@Tags = []
|
6263
|
+
params['Tags'].each do |i|
|
6264
|
+
tag_tmp = Tag.new
|
6265
|
+
tag_tmp.deserialize(i)
|
6266
|
+
@Tags << tag_tmp
|
6267
|
+
end
|
6268
|
+
end
|
6055
6269
|
end
|
6056
6270
|
end
|
6057
6271
|
|
@@ -6208,6 +6422,73 @@ module TencentCloud
|
|
6208
6422
|
end
|
6209
6423
|
end
|
6210
6424
|
|
6425
|
+
# MCP Server模板
|
6426
|
+
class McpServerTemplate < TencentCloud::Common::AbstractModel
|
6427
|
+
# @param Name: MCP Server名称
|
6428
|
+
# @type Name: String
|
6429
|
+
# @param Command: Base64编码之后的MCP Server启动命令。
|
6430
|
+
# @type Command: String
|
6431
|
+
# @param Description: 描述
|
6432
|
+
# @type Description: String
|
6433
|
+
# @param IconUrl: MCP Server图标地址
|
6434
|
+
# @type IconUrl: String
|
6435
|
+
# @param CommunityUrl: MCP Server社区地址
|
6436
|
+
# @type CommunityUrl: String
|
6437
|
+
# @param PlatformUrl: MCP Server关联的开发平台地址或开放平台地址
|
6438
|
+
# @type PlatformUrl: String
|
6439
|
+
# @param EnvSet: MCP Server环境变量
|
6440
|
+
# @type EnvSet: Array
|
6441
|
+
|
6442
|
+
attr_accessor :Name, :Command, :Description, :IconUrl, :CommunityUrl, :PlatformUrl, :EnvSet
|
6443
|
+
|
6444
|
+
def initialize(name=nil, command=nil, description=nil, iconurl=nil, communityurl=nil, platformurl=nil, envset=nil)
|
6445
|
+
@Name = name
|
6446
|
+
@Command = command
|
6447
|
+
@Description = description
|
6448
|
+
@IconUrl = iconurl
|
6449
|
+
@CommunityUrl = communityurl
|
6450
|
+
@PlatformUrl = platformurl
|
6451
|
+
@EnvSet = envset
|
6452
|
+
end
|
6453
|
+
|
6454
|
+
def deserialize(params)
|
6455
|
+
@Name = params['Name']
|
6456
|
+
@Command = params['Command']
|
6457
|
+
@Description = params['Description']
|
6458
|
+
@IconUrl = params['IconUrl']
|
6459
|
+
@CommunityUrl = params['CommunityUrl']
|
6460
|
+
@PlatformUrl = params['PlatformUrl']
|
6461
|
+
unless params['EnvSet'].nil?
|
6462
|
+
@EnvSet = []
|
6463
|
+
params['EnvSet'].each do |i|
|
6464
|
+
mcpservertemplateenv_tmp = McpServerTemplateEnv.new
|
6465
|
+
mcpservertemplateenv_tmp.deserialize(i)
|
6466
|
+
@EnvSet << mcpservertemplateenv_tmp
|
6467
|
+
end
|
6468
|
+
end
|
6469
|
+
end
|
6470
|
+
end
|
6471
|
+
|
6472
|
+
# MCP Server模板环境变量
|
6473
|
+
class McpServerTemplateEnv < TencentCloud::Common::AbstractModel
|
6474
|
+
# @param Key: MCP Server模板的环境变量键
|
6475
|
+
# @type Key: String
|
6476
|
+
# @param Value: MCP Server模板的环境变量值
|
6477
|
+
# @type Value: String
|
6478
|
+
|
6479
|
+
attr_accessor :Key, :Value
|
6480
|
+
|
6481
|
+
def initialize(key=nil, value=nil)
|
6482
|
+
@Key = key
|
6483
|
+
@Value = value
|
6484
|
+
end
|
6485
|
+
|
6486
|
+
def deserialize(params)
|
6487
|
+
@Key = params['Key']
|
6488
|
+
@Value = params['Value']
|
6489
|
+
end
|
6490
|
+
end
|
6491
|
+
|
6211
6492
|
# ModifyBlueprintAttribute请求参数结构体
|
6212
6493
|
class ModifyBlueprintAttributeRequest < TencentCloud::Common::AbstractModel
|
6213
6494
|
# @param BlueprintId: 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
|
@@ -6361,7 +6642,7 @@ module TencentCloud
|
|
6361
6642
|
class ModifyDisksBackupQuotaRequest < TencentCloud::Common::AbstractModel
|
6362
6643
|
# @param DiskIds: 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。
|
6363
6644
|
# @type DiskIds: Array
|
6364
|
-
# @param DiskBackupQuota: 云硬盘备份点配额。取值范围: [0, 500]
|
6645
|
+
# @param DiskBackupQuota: 云硬盘备份点配额。取值范围: [0, 500]。调整后的配额必须大于等于已存在的备份点数量。
|
6365
6646
|
# @type DiskBackupQuota: Integer
|
6366
6647
|
|
6367
6648
|
attr_accessor :DiskIds, :DiskBackupQuota
|
@@ -7851,10 +8132,12 @@ module TencentCloud
|
|
7851
8132
|
# @type LatestOperationRequestId: String
|
7852
8133
|
# @param CreatedTime: 快照的创建时间。
|
7853
8134
|
# @type CreatedTime: String
|
8135
|
+
# @param Tags: 快照绑定的标签列表。
|
8136
|
+
# @type Tags: Array
|
7854
8137
|
|
7855
|
-
attr_accessor :SnapshotId, :DiskUsage, :DiskId, :DiskSize, :SnapshotName, :SnapshotState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime
|
8138
|
+
attr_accessor :SnapshotId, :DiskUsage, :DiskId, :DiskSize, :SnapshotName, :SnapshotState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :Tags
|
7856
8139
|
|
7857
|
-
def initialize(snapshotid=nil, diskusage=nil, diskid=nil, disksize=nil, snapshotname=nil, snapshotstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil)
|
8140
|
+
def initialize(snapshotid=nil, diskusage=nil, diskid=nil, disksize=nil, snapshotname=nil, snapshotstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, tags=nil)
|
7858
8141
|
@SnapshotId = snapshotid
|
7859
8142
|
@DiskUsage = diskusage
|
7860
8143
|
@DiskId = diskid
|
@@ -7866,6 +8149,7 @@ module TencentCloud
|
|
7866
8149
|
@LatestOperationState = latestoperationstate
|
7867
8150
|
@LatestOperationRequestId = latestoperationrequestid
|
7868
8151
|
@CreatedTime = createdtime
|
8152
|
+
@Tags = tags
|
7869
8153
|
end
|
7870
8154
|
|
7871
8155
|
def deserialize(params)
|
@@ -7880,6 +8164,14 @@ module TencentCloud
|
|
7880
8164
|
@LatestOperationState = params['LatestOperationState']
|
7881
8165
|
@LatestOperationRequestId = params['LatestOperationRequestId']
|
7882
8166
|
@CreatedTime = params['CreatedTime']
|
8167
|
+
unless params['Tags'].nil?
|
8168
|
+
@Tags = []
|
8169
|
+
params['Tags'].each do |i|
|
8170
|
+
tag_tmp = Tag.new
|
8171
|
+
tag_tmp.deserialize(i)
|
8172
|
+
@Tags << tag_tmp
|
8173
|
+
end
|
8174
|
+
end
|
7883
8175
|
end
|
7884
8176
|
end
|
7885
8177
|
|
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.1145
|
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-
|
11
|
+
date: 2025-09-23 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
|