tencentcloud-sdk-cbs 3.0.997 → 3.0.999
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/models.rb +16 -4
- 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: e2c7b938fe5864f2ceb184a92678633246d0af90
|
4
|
+
data.tar.gz: 4e1bc2b6172d0daef1972b19e4e9f9baec5fc3c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0049e17bef8f40a909ea15deb54c6f9d3b238a76b557e4c758163aa7eaf043f3915d0c1e99a2eace2806ca1388d34d92d42239508b1011c85cb33009c5336ad2
|
7
|
+
data.tar.gz: e8196d2fc3aab56be8ebb4f33089189eb88b0b9c0a28e6e4eb70df692a3325731748a9939cf2e9dcdf75b5598858812d0d7091430c1981eb9da80609ba058390
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.999
|
data/lib/v20170312/models.rb
CHANGED
@@ -55,17 +55,25 @@ module TencentCloud
|
|
55
55
|
# @type DiskBackupId: String
|
56
56
|
# @param DiskId: 云硬盘备份点原云硬盘ID,可通过DescribeDisks接口查询。
|
57
57
|
# @type DiskId: String
|
58
|
+
# @param AutoStopInstance: 回滚云硬盘备份点前是否自动关机,默认为FALSE,表示不自动关机
|
59
|
+
# @type AutoStopInstance: Boolean
|
60
|
+
# @param AutoStartInstance: 回滚云硬盘备份点完成后是否自动开机,默认为FALSE,表示不自动开机
|
61
|
+
# @type AutoStartInstance: Boolean
|
58
62
|
|
59
|
-
attr_accessor :DiskBackupId, :DiskId
|
63
|
+
attr_accessor :DiskBackupId, :DiskId, :AutoStopInstance, :AutoStartInstance
|
60
64
|
|
61
|
-
def initialize(diskbackupid=nil, diskid=nil)
|
65
|
+
def initialize(diskbackupid=nil, diskid=nil, autostopinstance=nil, autostartinstance=nil)
|
62
66
|
@DiskBackupId = diskbackupid
|
63
67
|
@DiskId = diskid
|
68
|
+
@AutoStopInstance = autostopinstance
|
69
|
+
@AutoStartInstance = autostartinstance
|
64
70
|
end
|
65
71
|
|
66
72
|
def deserialize(params)
|
67
73
|
@DiskBackupId = params['DiskBackupId']
|
68
74
|
@DiskId = params['DiskId']
|
75
|
+
@AutoStopInstance = params['AutoStopInstance']
|
76
|
+
@AutoStartInstance = params['AutoStartInstance']
|
69
77
|
end
|
70
78
|
end
|
71
79
|
|
@@ -625,6 +633,8 @@ module TencentCloud
|
|
625
633
|
# @type DiskCount: Integer
|
626
634
|
# @param ThroughputPerformance: 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
|
627
635
|
# @type ThroughputPerformance: Integer
|
636
|
+
# @param KmsKeyId: 可选参数。购买加密盘时自定义密钥, 当传入该参数时, Encrypt入参不为空
|
637
|
+
# @type KmsKeyId: String
|
628
638
|
# @param DiskSize: 云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
|
629
639
|
# @type DiskSize: Integer
|
630
640
|
# @param Shareable: 可选参数,默认为False。传入True时,云盘将创建为共享型云盘。
|
@@ -646,9 +656,9 @@ module TencentCloud
|
|
646
656
|
# @param EncryptType: 指定云硬盘加密类型,取值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容。推荐优先使用第二代加密技术ENCRYPT_V2,第一代加密技术仅支持在部分老旧机型使用。该参数仅当创建加密云硬盘时有效。
|
647
657
|
# @type EncryptType: String
|
648
658
|
|
649
|
-
attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot, :AutoMountConfiguration, :DiskBackupQuota, :BurstPerformance, :EncryptType
|
659
|
+
attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :KmsKeyId, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot, :AutoMountConfiguration, :DiskBackupQuota, :BurstPerformance, :EncryptType
|
650
660
|
|
651
|
-
def initialize(placement=nil, diskchargetype=nil, disktype=nil, diskname=nil, tags=nil, snapshotid=nil, diskcount=nil, throughputperformance=nil, disksize=nil, shareable=nil, clienttoken=nil, encrypt=nil, diskchargeprepaid=nil, deletesnapshot=nil, automountconfiguration=nil, diskbackupquota=nil, burstperformance=nil, encrypttype=nil)
|
661
|
+
def initialize(placement=nil, diskchargetype=nil, disktype=nil, diskname=nil, tags=nil, snapshotid=nil, diskcount=nil, throughputperformance=nil, kmskeyid=nil, disksize=nil, shareable=nil, clienttoken=nil, encrypt=nil, diskchargeprepaid=nil, deletesnapshot=nil, automountconfiguration=nil, diskbackupquota=nil, burstperformance=nil, encrypttype=nil)
|
652
662
|
@Placement = placement
|
653
663
|
@DiskChargeType = diskchargetype
|
654
664
|
@DiskType = disktype
|
@@ -657,6 +667,7 @@ module TencentCloud
|
|
657
667
|
@SnapshotId = snapshotid
|
658
668
|
@DiskCount = diskcount
|
659
669
|
@ThroughputPerformance = throughputperformance
|
670
|
+
@KmsKeyId = kmskeyid
|
660
671
|
@DiskSize = disksize
|
661
672
|
@Shareable = shareable
|
662
673
|
@ClientToken = clienttoken
|
@@ -688,6 +699,7 @@ module TencentCloud
|
|
688
699
|
@SnapshotId = params['SnapshotId']
|
689
700
|
@DiskCount = params['DiskCount']
|
690
701
|
@ThroughputPerformance = params['ThroughputPerformance']
|
702
|
+
@KmsKeyId = params['KmsKeyId']
|
691
703
|
@DiskSize = params['DiskSize']
|
692
704
|
@Shareable = params['Shareable']
|
693
705
|
@ClientToken = params['ClientToken']
|
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.999
|
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-02-
|
11
|
+
date: 2025-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|