tencentcloud-sdk-cbs 3.0.516 → 3.0.518
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/v20170312/client.rb +0 -2
- data/lib/v20170312/models.rb +163 -26
- 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: 93f71947ba5e6a7fcedf3d6be60f250a892ac240
|
4
|
+
data.tar.gz: 045953bcedd929e9dcbb3da979f4def767a259ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29c59fcb598429ef7d935ec1d7f6efbccd139bfbb18c26cea690e3606c2d9b17178be08a51a53fdba700a804b4bd9ebe1d160e7d6318a0d3723ccc2327a1b7c6
|
7
|
+
data.tar.gz: 726fed38b49b0be96ff38e441dbf9641167ecb43571b3f90c0b5bc54265e4363493980fca4a532f6b9ada3a04ca389d9b8366c87ead61f19805291af2c58d97c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.518
|
data/lib/v20170312/client.rb
CHANGED
@@ -818,8 +818,6 @@ module TencentCloud
|
|
818
818
|
|
819
819
|
# 本接口(InquiryPriceResizeDisk)用于扩容云硬盘询价。
|
820
820
|
|
821
|
-
# * 只支持预付费模式的云硬盘扩容询价。
|
822
|
-
|
823
821
|
# @param request: Request instance for InquiryPriceResizeDisk.
|
824
822
|
# @type request: :class:`Tencentcloud::cbs::V20170312::InquiryPriceResizeDiskRequest`
|
825
823
|
# @rtype: :class:`Tencentcloud::cbs::V20170312::InquiryPriceResizeDiskResponse`
|
data/lib/v20170312/models.rb
CHANGED
@@ -261,10 +261,16 @@ module TencentCloud
|
|
261
261
|
# @param AdvancedRetentionPolicy: 定期快照高级保留策略。
|
262
262
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
263
263
|
# @type AdvancedRetentionPolicy: :class:`Tencentcloud::Cbs.v20170312.models.AdvancedRetentionPolicy`
|
264
|
+
# @param CopyFromAccountUin: 该复制快照策略的源端账户ID
|
265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
266
|
+
# @type CopyFromAccountUin: String
|
267
|
+
# @param Tags: 标签。
|
268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
269
|
+
# @type Tags: Array
|
264
270
|
|
265
|
-
attr_accessor :DiskIdSet, :IsActivated, :AutoSnapshotPolicyState, :IsCopyToRemote, :IsPermanent, :NextTriggerTime, :AutoSnapshotPolicyName, :AutoSnapshotPolicyId, :Policy, :CreateTime, :RetentionDays, :CopyToAccountUin, :InstanceIdSet, :RetentionMonths, :RetentionAmount, :AdvancedRetentionPolicy
|
271
|
+
attr_accessor :DiskIdSet, :IsActivated, :AutoSnapshotPolicyState, :IsCopyToRemote, :IsPermanent, :NextTriggerTime, :AutoSnapshotPolicyName, :AutoSnapshotPolicyId, :Policy, :CreateTime, :RetentionDays, :CopyToAccountUin, :InstanceIdSet, :RetentionMonths, :RetentionAmount, :AdvancedRetentionPolicy, :CopyFromAccountUin, :Tags
|
266
272
|
|
267
|
-
def initialize(diskidset=nil, isactivated=nil, autosnapshotpolicystate=nil, iscopytoremote=nil, ispermanent=nil, nexttriggertime=nil, autosnapshotpolicyname=nil, autosnapshotpolicyid=nil, policy=nil, createtime=nil, retentiondays=nil, copytoaccountuin=nil, instanceidset=nil, retentionmonths=nil, retentionamount=nil, advancedretentionpolicy=nil)
|
273
|
+
def initialize(diskidset=nil, isactivated=nil, autosnapshotpolicystate=nil, iscopytoremote=nil, ispermanent=nil, nexttriggertime=nil, autosnapshotpolicyname=nil, autosnapshotpolicyid=nil, policy=nil, createtime=nil, retentiondays=nil, copytoaccountuin=nil, instanceidset=nil, retentionmonths=nil, retentionamount=nil, advancedretentionpolicy=nil, copyfromaccountuin=nil, tags=nil)
|
268
274
|
@DiskIdSet = diskidset
|
269
275
|
@IsActivated = isactivated
|
270
276
|
@AutoSnapshotPolicyState = autosnapshotpolicystate
|
@@ -281,6 +287,8 @@ module TencentCloud
|
|
281
287
|
@RetentionMonths = retentionmonths
|
282
288
|
@RetentionAmount = retentionamount
|
283
289
|
@AdvancedRetentionPolicy = advancedretentionpolicy
|
290
|
+
@CopyFromAccountUin = copyfromaccountuin
|
291
|
+
@Tags = tags
|
284
292
|
end
|
285
293
|
|
286
294
|
def deserialize(params)
|
@@ -310,6 +318,15 @@ module TencentCloud
|
|
310
318
|
@AdvancedRetentionPolicy = AdvancedRetentionPolicy.new
|
311
319
|
@AdvancedRetentionPolicy.deserialize(params['AdvancedRetentionPolicy'])
|
312
320
|
end
|
321
|
+
@CopyFromAccountUin = params['CopyFromAccountUin']
|
322
|
+
unless params['Tags'].nil?
|
323
|
+
@Tags = []
|
324
|
+
params['Tags'].each do |i|
|
325
|
+
tag_tmp = Tag.new
|
326
|
+
tag_tmp.deserialize(i)
|
327
|
+
@Tags << tag_tmp
|
328
|
+
end
|
329
|
+
end
|
313
330
|
end
|
314
331
|
end
|
315
332
|
|
@@ -370,10 +387,14 @@ module TencentCloud
|
|
370
387
|
# @type DiskType: String
|
371
388
|
# @param ExpiredTime: 独享集群到期时间。
|
372
389
|
# @type ExpiredTime: String
|
390
|
+
# @param CreatedTime: 存储池创建时间。
|
391
|
+
# @type CreatedTime: String
|
392
|
+
# @param DiskNumber: 当前集群中已创建的云盘数量。
|
393
|
+
# @type DiskNumber: Integer
|
373
394
|
|
374
|
-
attr_accessor :CageId, :CdcState, :Zone, :CdcName, :CdcResource, :CdcId, :DiskType, :ExpiredTime
|
395
|
+
attr_accessor :CageId, :CdcState, :Zone, :CdcName, :CdcResource, :CdcId, :DiskType, :ExpiredTime, :CreatedTime, :DiskNumber
|
375
396
|
|
376
|
-
def initialize(cageid=nil, cdcstate=nil, zone=nil, cdcname=nil, cdcresource=nil, cdcid=nil, disktype=nil, expiredtime=nil)
|
397
|
+
def initialize(cageid=nil, cdcstate=nil, zone=nil, cdcname=nil, cdcresource=nil, cdcid=nil, disktype=nil, expiredtime=nil, createdtime=nil, disknumber=nil)
|
377
398
|
@CageId = cageid
|
378
399
|
@CdcState = cdcstate
|
379
400
|
@Zone = zone
|
@@ -382,6 +403,8 @@ module TencentCloud
|
|
382
403
|
@CdcId = cdcid
|
383
404
|
@DiskType = disktype
|
384
405
|
@ExpiredTime = expiredtime
|
406
|
+
@CreatedTime = createdtime
|
407
|
+
@DiskNumber = disknumber
|
385
408
|
end
|
386
409
|
|
387
410
|
def deserialize(params)
|
@@ -396,6 +419,8 @@ module TencentCloud
|
|
396
419
|
@CdcId = params['CdcId']
|
397
420
|
@DiskType = params['DiskType']
|
398
421
|
@ExpiredTime = params['ExpiredTime']
|
422
|
+
@CreatedTime = params['CreatedTime']
|
423
|
+
@DiskNumber = params['DiskNumber']
|
399
424
|
end
|
400
425
|
end
|
401
426
|
|
@@ -1214,21 +1239,32 @@ module TencentCloud
|
|
1214
1239
|
class DescribeDiskStoragePoolResponse < TencentCloud::Common::AbstractModel
|
1215
1240
|
# @param TotalCount: 符合条件的独享集群的数量
|
1216
1241
|
# @type TotalCount: Integer
|
1242
|
+
# @param CdcSet: 独享集群的详细信息列表
|
1243
|
+
# @type CdcSet: Array
|
1217
1244
|
# @param DiskStoragePoolSet: 独享集群的详细信息列表
|
1218
1245
|
# @type DiskStoragePoolSet: Array
|
1219
1246
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1220
1247
|
# @type RequestId: String
|
1221
1248
|
|
1222
|
-
attr_accessor :TotalCount, :DiskStoragePoolSet, :RequestId
|
1249
|
+
attr_accessor :TotalCount, :CdcSet, :DiskStoragePoolSet, :RequestId
|
1223
1250
|
|
1224
|
-
def initialize(totalcount=nil, diskstoragepoolset=nil, requestid=nil)
|
1251
|
+
def initialize(totalcount=nil, cdcset=nil, diskstoragepoolset=nil, requestid=nil)
|
1225
1252
|
@TotalCount = totalcount
|
1253
|
+
@CdcSet = cdcset
|
1226
1254
|
@DiskStoragePoolSet = diskstoragepoolset
|
1227
1255
|
@RequestId = requestid
|
1228
1256
|
end
|
1229
1257
|
|
1230
1258
|
def deserialize(params)
|
1231
1259
|
@TotalCount = params['TotalCount']
|
1260
|
+
unless params['CdcSet'].nil?
|
1261
|
+
@CdcSet = []
|
1262
|
+
params['CdcSet'].each do |i|
|
1263
|
+
cdc_tmp = Cdc.new
|
1264
|
+
cdc_tmp.deserialize(i)
|
1265
|
+
@CdcSet << cdc_tmp
|
1266
|
+
end
|
1267
|
+
end
|
1232
1268
|
unless params['DiskStoragePoolSet'].nil?
|
1233
1269
|
@DiskStoragePoolSet = []
|
1234
1270
|
params['DiskStoragePoolSet'].each do |i|
|
@@ -1576,6 +1612,72 @@ module TencentCloud
|
|
1576
1612
|
end
|
1577
1613
|
end
|
1578
1614
|
|
1615
|
+
# 描述购买云盘时的费用明细。
|
1616
|
+
class DetailPrice < TencentCloud::Common::AbstractModel
|
1617
|
+
# @param PriceTitle: 描述计费项目名称。
|
1618
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1619
|
+
# @type PriceTitle: String
|
1620
|
+
# @param PriceName: 描述计费项目显示名称,用户控制台展示。
|
1621
|
+
# @type PriceName: String
|
1622
|
+
# @param OriginalPrice: 预付费云盘预支费用的原价,单位:元。
|
1623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1624
|
+
# @type OriginalPrice: Float
|
1625
|
+
# @param DiscountPrice: 预付费云盘预支费用的折扣价,单位:元。
|
1626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1627
|
+
# @type DiscountPrice: Float
|
1628
|
+
# @param UnitPrice: 后付费云盘原单价,单位:元。
|
1629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1630
|
+
# @type UnitPrice: Float
|
1631
|
+
# @param UnitPriceDiscount: 后付费云盘折扣单价,单位:元。
|
1632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1633
|
+
# @type UnitPriceDiscount: Float
|
1634
|
+
# @param ChargeUnit: 后付费云盘的计价单元,取值范围:HOUR:表示后付费云盘的计价单元是按小时计算。
|
1635
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1636
|
+
# @type ChargeUnit: String
|
1637
|
+
# @param OriginalPriceHigh: 高精度预付费云盘预支费用的原价,单位:元。
|
1638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1639
|
+
# @type OriginalPriceHigh: String
|
1640
|
+
# @param DiscountPriceHigh: 高精度预付费云盘预支费用的折扣价,单位:元。
|
1641
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1642
|
+
# @type DiscountPriceHigh: String
|
1643
|
+
# @param UnitPriceHigh: 高精度后付费云盘原单价,单位:元。
|
1644
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1645
|
+
# @type UnitPriceHigh: String
|
1646
|
+
# @param UnitPriceDiscountHigh: 高精度后付费云盘折扣单价,单位:元。
|
1647
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1648
|
+
# @type UnitPriceDiscountHigh: String
|
1649
|
+
|
1650
|
+
attr_accessor :PriceTitle, :PriceName, :OriginalPrice, :DiscountPrice, :UnitPrice, :UnitPriceDiscount, :ChargeUnit, :OriginalPriceHigh, :DiscountPriceHigh, :UnitPriceHigh, :UnitPriceDiscountHigh
|
1651
|
+
|
1652
|
+
def initialize(pricetitle=nil, pricename=nil, originalprice=nil, discountprice=nil, unitprice=nil, unitpricediscount=nil, chargeunit=nil, originalpricehigh=nil, discountpricehigh=nil, unitpricehigh=nil, unitpricediscounthigh=nil)
|
1653
|
+
@PriceTitle = pricetitle
|
1654
|
+
@PriceName = pricename
|
1655
|
+
@OriginalPrice = originalprice
|
1656
|
+
@DiscountPrice = discountprice
|
1657
|
+
@UnitPrice = unitprice
|
1658
|
+
@UnitPriceDiscount = unitpricediscount
|
1659
|
+
@ChargeUnit = chargeunit
|
1660
|
+
@OriginalPriceHigh = originalpricehigh
|
1661
|
+
@DiscountPriceHigh = discountpricehigh
|
1662
|
+
@UnitPriceHigh = unitpricehigh
|
1663
|
+
@UnitPriceDiscountHigh = unitpricediscounthigh
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
def deserialize(params)
|
1667
|
+
@PriceTitle = params['PriceTitle']
|
1668
|
+
@PriceName = params['PriceName']
|
1669
|
+
@OriginalPrice = params['OriginalPrice']
|
1670
|
+
@DiscountPrice = params['DiscountPrice']
|
1671
|
+
@UnitPrice = params['UnitPrice']
|
1672
|
+
@UnitPriceDiscount = params['UnitPriceDiscount']
|
1673
|
+
@ChargeUnit = params['ChargeUnit']
|
1674
|
+
@OriginalPriceHigh = params['OriginalPriceHigh']
|
1675
|
+
@DiscountPriceHigh = params['DiscountPriceHigh']
|
1676
|
+
@UnitPriceHigh = params['UnitPriceHigh']
|
1677
|
+
@UnitPriceDiscountHigh = params['UnitPriceDiscountHigh']
|
1678
|
+
end
|
1679
|
+
end
|
1680
|
+
|
1579
1681
|
# 描述了云硬盘的详细信息
|
1580
1682
|
class Disk < TencentCloud::Common::AbstractModel
|
1581
1683
|
# @param DeleteWithInstance: 云盘是否与挂载的实例一起销毁。<br><li>true:销毁实例时会同时销毁云盘,只支持按小时后付费云盘。<br><li>false:销毁实例时不销毁云盘。
|
@@ -1669,10 +1771,16 @@ module TencentCloud
|
|
1669
1771
|
# @type DiskBackupCount: Integer
|
1670
1772
|
# @param InstanceType: 云硬盘挂载实例的类型。取值范围:<br><li>CVM<br><li>EKS
|
1671
1773
|
# @type InstanceType: String
|
1774
|
+
# @param LastAttachInsId: 云硬盘最后一次挂载的实例ID
|
1775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1776
|
+
# @type LastAttachInsId: String
|
1777
|
+
# @param ErrorPrompt: 云硬盘最后一次操作错误提示
|
1778
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1779
|
+
# @type ErrorPrompt: String
|
1672
1780
|
|
1673
|
-
attr_accessor :DeleteWithInstance, :RenewFlag, :DiskType, :DiskState, :SnapshotCount, :AutoRenewFlagError, :Rollbacking, :InstanceIdList, :Encrypt, :DiskName, :BackupDisk, :Tags, :InstanceId, :AttachMode, :AutoSnapshotPolicyIds, :ThroughputPerformance, :Migrating, :DiskId, :SnapshotSize, :Placement, :IsReturnable, :DeadlineTime, :Attached, :DiskSize, :MigratePercent, :DiskUsage, :DiskChargeType, :Portable, :SnapshotAbility, :DeadlineError, :RollbackPercent, :DifferDaysOfDeadline, :ReturnFailCode, :Shareable, :CreateTime, :DeleteSnapshot, :DiskBackupQuota, :DiskBackupCount, :InstanceType
|
1781
|
+
attr_accessor :DeleteWithInstance, :RenewFlag, :DiskType, :DiskState, :SnapshotCount, :AutoRenewFlagError, :Rollbacking, :InstanceIdList, :Encrypt, :DiskName, :BackupDisk, :Tags, :InstanceId, :AttachMode, :AutoSnapshotPolicyIds, :ThroughputPerformance, :Migrating, :DiskId, :SnapshotSize, :Placement, :IsReturnable, :DeadlineTime, :Attached, :DiskSize, :MigratePercent, :DiskUsage, :DiskChargeType, :Portable, :SnapshotAbility, :DeadlineError, :RollbackPercent, :DifferDaysOfDeadline, :ReturnFailCode, :Shareable, :CreateTime, :DeleteSnapshot, :DiskBackupQuota, :DiskBackupCount, :InstanceType, :LastAttachInsId, :ErrorPrompt
|
1674
1782
|
|
1675
|
-
def initialize(deletewithinstance=nil, renewflag=nil, disktype=nil, diskstate=nil, snapshotcount=nil, autorenewflagerror=nil, rollbacking=nil, instanceidlist=nil, encrypt=nil, diskname=nil, backupdisk=nil, tags=nil, instanceid=nil, attachmode=nil, autosnapshotpolicyids=nil, throughputperformance=nil, migrating=nil, diskid=nil, snapshotsize=nil, placement=nil, isreturnable=nil, deadlinetime=nil, attached=nil, disksize=nil, migratepercent=nil, diskusage=nil, diskchargetype=nil, portable=nil, snapshotability=nil, deadlineerror=nil, rollbackpercent=nil, differdaysofdeadline=nil, returnfailcode=nil, shareable=nil, createtime=nil, deletesnapshot=nil, diskbackupquota=nil, diskbackupcount=nil, instancetype=nil)
|
1783
|
+
def initialize(deletewithinstance=nil, renewflag=nil, disktype=nil, diskstate=nil, snapshotcount=nil, autorenewflagerror=nil, rollbacking=nil, instanceidlist=nil, encrypt=nil, diskname=nil, backupdisk=nil, tags=nil, instanceid=nil, attachmode=nil, autosnapshotpolicyids=nil, throughputperformance=nil, migrating=nil, diskid=nil, snapshotsize=nil, placement=nil, isreturnable=nil, deadlinetime=nil, attached=nil, disksize=nil, migratepercent=nil, diskusage=nil, diskchargetype=nil, portable=nil, snapshotability=nil, deadlineerror=nil, rollbackpercent=nil, differdaysofdeadline=nil, returnfailcode=nil, shareable=nil, createtime=nil, deletesnapshot=nil, diskbackupquota=nil, diskbackupcount=nil, instancetype=nil, lastattachinsid=nil, errorprompt=nil)
|
1676
1784
|
@DeleteWithInstance = deletewithinstance
|
1677
1785
|
@RenewFlag = renewflag
|
1678
1786
|
@DiskType = disktype
|
@@ -1712,6 +1820,8 @@ module TencentCloud
|
|
1712
1820
|
@DiskBackupQuota = diskbackupquota
|
1713
1821
|
@DiskBackupCount = diskbackupcount
|
1714
1822
|
@InstanceType = instancetype
|
1823
|
+
@LastAttachInsId = lastattachinsid
|
1824
|
+
@ErrorPrompt = errorprompt
|
1715
1825
|
end
|
1716
1826
|
|
1717
1827
|
def deserialize(params)
|
@@ -1764,6 +1874,8 @@ module TencentCloud
|
|
1764
1874
|
@DiskBackupQuota = params['DiskBackupQuota']
|
1765
1875
|
@DiskBackupCount = params['DiskBackupCount']
|
1766
1876
|
@InstanceType = params['InstanceType']
|
1877
|
+
@LastAttachInsId = params['LastAttachInsId']
|
1878
|
+
@ErrorPrompt = params['ErrorPrompt']
|
1767
1879
|
end
|
1768
1880
|
end
|
1769
1881
|
|
@@ -1867,10 +1979,13 @@ module TencentCloud
|
|
1867
1979
|
# @type MinDiskSize: Integer
|
1868
1980
|
# @param MaxDiskSize: 最大可配置云盘大小,单位GB。
|
1869
1981
|
# @type MaxDiskSize: Integer
|
1982
|
+
# @param Price: 描述预付费或后付费云盘的价格。
|
1983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1984
|
+
# @type Price: :class:`Tencentcloud::Cbs.v20170312.models.Price`
|
1870
1985
|
|
1871
|
-
attr_accessor :Available, :DiskChargeType, :Zone, :InstanceFamily, :DiskType, :StepSize, :ExtraPerformanceRange, :DeviceClass, :DiskUsage, :MinDiskSize, :MaxDiskSize
|
1986
|
+
attr_accessor :Available, :DiskChargeType, :Zone, :InstanceFamily, :DiskType, :StepSize, :ExtraPerformanceRange, :DeviceClass, :DiskUsage, :MinDiskSize, :MaxDiskSize, :Price
|
1872
1987
|
|
1873
|
-
def initialize(available=nil, diskchargetype=nil, zone=nil, instancefamily=nil, disktype=nil, stepsize=nil, extraperformancerange=nil, deviceclass=nil, diskusage=nil, mindisksize=nil, maxdisksize=nil)
|
1988
|
+
def initialize(available=nil, diskchargetype=nil, zone=nil, instancefamily=nil, disktype=nil, stepsize=nil, extraperformancerange=nil, deviceclass=nil, diskusage=nil, mindisksize=nil, maxdisksize=nil, price=nil)
|
1874
1989
|
@Available = available
|
1875
1990
|
@DiskChargeType = diskchargetype
|
1876
1991
|
@Zone = zone
|
@@ -1882,6 +1997,7 @@ module TencentCloud
|
|
1882
1997
|
@DiskUsage = diskusage
|
1883
1998
|
@MinDiskSize = mindisksize
|
1884
1999
|
@MaxDiskSize = maxdisksize
|
2000
|
+
@Price = price
|
1885
2001
|
end
|
1886
2002
|
|
1887
2003
|
def deserialize(params)
|
@@ -1896,6 +2012,10 @@ module TencentCloud
|
|
1896
2012
|
@DiskUsage = params['DiskUsage']
|
1897
2013
|
@MinDiskSize = params['MinDiskSize']
|
1898
2014
|
@MaxDiskSize = params['MaxDiskSize']
|
2015
|
+
unless params['Price'].nil?
|
2016
|
+
@Price = Price.new
|
2017
|
+
@Price.deserialize(params['Price'])
|
2018
|
+
end
|
1899
2019
|
end
|
1900
2020
|
end
|
1901
2021
|
|
@@ -2107,21 +2227,21 @@ module TencentCloud
|
|
2107
2227
|
|
2108
2228
|
# InquirePriceModifyDiskExtraPerformance请求参数结构体
|
2109
2229
|
class InquirePriceModifyDiskExtraPerformanceRequest < TencentCloud::Common::AbstractModel
|
2110
|
-
# @param DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
|
2111
|
-
# @type DiskId: String
|
2112
2230
|
# @param ThroughputPerformance: 额外购买的云硬盘性能值,单位MB/s。
|
2113
2231
|
# @type ThroughputPerformance: Integer
|
2232
|
+
# @param DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
|
2233
|
+
# @type DiskId: String
|
2114
2234
|
|
2115
|
-
attr_accessor :
|
2235
|
+
attr_accessor :ThroughputPerformance, :DiskId
|
2116
2236
|
|
2117
|
-
def initialize(
|
2118
|
-
@DiskId = diskid
|
2237
|
+
def initialize(throughputperformance=nil, diskid=nil)
|
2119
2238
|
@ThroughputPerformance = throughputperformance
|
2239
|
+
@DiskId = diskid
|
2120
2240
|
end
|
2121
2241
|
|
2122
2242
|
def deserialize(params)
|
2123
|
-
@DiskId = params['DiskId']
|
2124
2243
|
@ThroughputPerformance = params['ThroughputPerformance']
|
2244
|
+
@DiskId = params['DiskId']
|
2125
2245
|
end
|
2126
2246
|
end
|
2127
2247
|
|
@@ -2278,24 +2398,24 @@ module TencentCloud
|
|
2278
2398
|
|
2279
2399
|
# InquiryPriceResizeDisk请求参数结构体
|
2280
2400
|
class InquiryPriceResizeDiskRequest < TencentCloud::Common::AbstractModel
|
2281
|
-
# @param DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
|
2282
|
-
# @type DiskId: String
|
2283
2401
|
# @param DiskSize: 云硬盘扩容后的大小,单位为GB,不得小于当前云硬盘大小。云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。
|
2284
2402
|
# @type DiskSize: Integer
|
2403
|
+
# @param DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
|
2404
|
+
# @type DiskId: String
|
2285
2405
|
# @param ProjectId: 云盘所属项目ID。 如传入则仅用于鉴权。
|
2286
2406
|
# @type ProjectId: Integer
|
2287
2407
|
|
2288
|
-
attr_accessor :
|
2408
|
+
attr_accessor :DiskSize, :DiskId, :ProjectId
|
2289
2409
|
|
2290
|
-
def initialize(
|
2291
|
-
@DiskId = diskid
|
2410
|
+
def initialize(disksize=nil, diskid=nil, projectid=nil)
|
2292
2411
|
@DiskSize = disksize
|
2412
|
+
@DiskId = diskid
|
2293
2413
|
@ProjectId = projectid
|
2294
2414
|
end
|
2295
2415
|
|
2296
2416
|
def deserialize(params)
|
2297
|
-
@DiskId = params['DiskId']
|
2298
2417
|
@DiskSize = params['DiskSize']
|
2418
|
+
@DiskId = params['DiskId']
|
2299
2419
|
@ProjectId = params['ProjectId']
|
2300
2420
|
end
|
2301
2421
|
end
|
@@ -2678,6 +2798,9 @@ module TencentCloud
|
|
2678
2798
|
# @type CageId: String
|
2679
2799
|
# @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](/document/api/378/4400) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
2680
2800
|
# @type ProjectId: Integer
|
2801
|
+
# @param ProjectName: 实例所属项目名称。
|
2802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2803
|
+
# @type ProjectName: String
|
2681
2804
|
# @param CdcName: 独享集群名字。作为入参时,忽略。作为出参时,表示云硬盘所属的独享集群名,可为空。
|
2682
2805
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2683
2806
|
# @type CdcName: String
|
@@ -2687,12 +2810,13 @@ module TencentCloud
|
|
2687
2810
|
# @param DedicatedClusterId: 独享集群id。
|
2688
2811
|
# @type DedicatedClusterId: String
|
2689
2812
|
|
2690
|
-
attr_accessor :Zone, :CageId, :ProjectId, :CdcName, :CdcId, :DedicatedClusterId
|
2813
|
+
attr_accessor :Zone, :CageId, :ProjectId, :ProjectName, :CdcName, :CdcId, :DedicatedClusterId
|
2691
2814
|
|
2692
|
-
def initialize(zone=nil, cageid=nil, projectid=nil, cdcname=nil, cdcid=nil, dedicatedclusterid=nil)
|
2815
|
+
def initialize(zone=nil, cageid=nil, projectid=nil, projectname=nil, cdcname=nil, cdcid=nil, dedicatedclusterid=nil)
|
2693
2816
|
@Zone = zone
|
2694
2817
|
@CageId = cageid
|
2695
2818
|
@ProjectId = projectid
|
2819
|
+
@ProjectName = projectname
|
2696
2820
|
@CdcName = cdcname
|
2697
2821
|
@CdcId = cdcid
|
2698
2822
|
@DedicatedClusterId = dedicatedclusterid
|
@@ -2702,6 +2826,7 @@ module TencentCloud
|
|
2702
2826
|
@Zone = params['Zone']
|
2703
2827
|
@CageId = params['CageId']
|
2704
2828
|
@ProjectId = params['ProjectId']
|
2829
|
+
@ProjectName = params['ProjectName']
|
2705
2830
|
@CdcName = params['CdcName']
|
2706
2831
|
@CdcId = params['CdcId']
|
2707
2832
|
@DedicatedClusterId = params['DedicatedClusterId']
|
@@ -2765,10 +2890,13 @@ module TencentCloud
|
|
2765
2890
|
# @param UnitPrice: 后付费云盘原单价,单位:元。
|
2766
2891
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2767
2892
|
# @type UnitPrice: Float
|
2893
|
+
# @param DetailPrices: 计费项目明细列表。
|
2894
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2895
|
+
# @type DetailPrices: Array
|
2768
2896
|
|
2769
|
-
attr_accessor :DiscountPrice, :ChargeUnit, :UnitPriceHigh, :OriginalPriceHigh, :OriginalPrice, :UnitPriceDiscount, :UnitPriceDiscountHigh, :DiscountPriceHigh, :UnitPrice
|
2897
|
+
attr_accessor :DiscountPrice, :ChargeUnit, :UnitPriceHigh, :OriginalPriceHigh, :OriginalPrice, :UnitPriceDiscount, :UnitPriceDiscountHigh, :DiscountPriceHigh, :UnitPrice, :DetailPrices
|
2770
2898
|
|
2771
|
-
def initialize(discountprice=nil, chargeunit=nil, unitpricehigh=nil, originalpricehigh=nil, originalprice=nil, unitpricediscount=nil, unitpricediscounthigh=nil, discountpricehigh=nil, unitprice=nil)
|
2899
|
+
def initialize(discountprice=nil, chargeunit=nil, unitpricehigh=nil, originalpricehigh=nil, originalprice=nil, unitpricediscount=nil, unitpricediscounthigh=nil, discountpricehigh=nil, unitprice=nil, detailprices=nil)
|
2772
2900
|
@DiscountPrice = discountprice
|
2773
2901
|
@ChargeUnit = chargeunit
|
2774
2902
|
@UnitPriceHigh = unitpricehigh
|
@@ -2778,6 +2906,7 @@ module TencentCloud
|
|
2778
2906
|
@UnitPriceDiscountHigh = unitpricediscounthigh
|
2779
2907
|
@DiscountPriceHigh = discountpricehigh
|
2780
2908
|
@UnitPrice = unitprice
|
2909
|
+
@DetailPrices = detailprices
|
2781
2910
|
end
|
2782
2911
|
|
2783
2912
|
def deserialize(params)
|
@@ -2790,6 +2919,14 @@ module TencentCloud
|
|
2790
2919
|
@UnitPriceDiscountHigh = params['UnitPriceDiscountHigh']
|
2791
2920
|
@DiscountPriceHigh = params['DiscountPriceHigh']
|
2792
2921
|
@UnitPrice = params['UnitPrice']
|
2922
|
+
unless params['DetailPrices'].nil?
|
2923
|
+
@DetailPrices = []
|
2924
|
+
params['DetailPrices'].each do |i|
|
2925
|
+
detailprice_tmp = DetailPrice.new
|
2926
|
+
detailprice_tmp.deserialize(i)
|
2927
|
+
@DetailPrices << detailprice_tmp
|
2928
|
+
end
|
2929
|
+
end
|
2793
2930
|
end
|
2794
2931
|
end
|
2795
2932
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.518
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|