tencentcloud-sdk-cbs 1.0.225 → 1.0.226
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +33 -2
- 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: 92ac44c35dd39cedc99d9167ca6a3d6544752bef
|
4
|
+
data.tar.gz: 682a33007206c53922cf0b3a76db811d1b524a92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00fb37b2f878bdd77f2f6b233b3b9bf3dfc2b29fc9dc66a406021468401f2e27193db8ffdd10d1bc9bc23929c45cfe77a141c01ba99ac244eb76f3b715efcf86
|
7
|
+
data.tar.gz: 5be19603fb1438f18adb1c1780a4476facd410eb92acf31b5e791034433996104e6898bb5bdc1560d5bdc0585f98e8ceaf143443148d951a39b8a9b406cb5550
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.226
|
data/lib/v20170312/models.rb
CHANGED
@@ -121,6 +121,30 @@ module TencentCloud
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
+
# 自动初始化、挂载云盘时指定配置。
|
125
|
+
class AutoMountConfiguration < TencentCloud::Common::AbstractModel
|
126
|
+
# @param InstanceId: 要挂载到的实例ID。
|
127
|
+
# @type InstanceId: Array
|
128
|
+
# @param MountPoint: 子机内的挂载点。
|
129
|
+
# @type MountPoint: Array
|
130
|
+
# @param FileSystemType: 文件系统类型,支持的有 ext4、xfs。
|
131
|
+
# @type FileSystemType: String
|
132
|
+
|
133
|
+
attr_accessor :InstanceId, :MountPoint, :FileSystemType
|
134
|
+
|
135
|
+
def initialize(instanceid=nil, mountpoint=nil, filesystemtype=nil)
|
136
|
+
@InstanceId = instanceid
|
137
|
+
@MountPoint = mountpoint
|
138
|
+
@FileSystemType = filesystemtype
|
139
|
+
end
|
140
|
+
|
141
|
+
def deserialize(params)
|
142
|
+
@InstanceId = params['InstanceId']
|
143
|
+
@MountPoint = params['MountPoint']
|
144
|
+
@FileSystemType = params['FileSystemType']
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
124
148
|
# 描述了定期快照策略的详细信息
|
125
149
|
class AutoSnapshotPolicy < TencentCloud::Common::AbstractModel
|
126
150
|
# @param AutoSnapshotPolicyId: 定期快照策略ID。
|
@@ -383,10 +407,12 @@ module TencentCloud
|
|
383
407
|
# @type DiskChargePrepaid: :class:`Tencentcloud::Cbs.v20170312.models.DiskChargePrepaid`
|
384
408
|
# @param DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
385
409
|
# @type DeleteSnapshot: Integer
|
410
|
+
# @param AutoMountConfiguration: 创建云盘时指定自动挂载并初始化该数据盘。
|
411
|
+
# @type AutoMountConfiguration: :class:`Tencentcloud::Cbs.v20170312.models.AutoMountConfiguration`
|
386
412
|
|
387
|
-
attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot
|
413
|
+
attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot, :AutoMountConfiguration
|
388
414
|
|
389
|
-
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)
|
415
|
+
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)
|
390
416
|
@Placement = placement
|
391
417
|
@DiskChargeType = diskchargetype
|
392
418
|
@DiskType = disktype
|
@@ -401,6 +427,7 @@ module TencentCloud
|
|
401
427
|
@Encrypt = encrypt
|
402
428
|
@DiskChargePrepaid = diskchargeprepaid
|
403
429
|
@DeleteSnapshot = deletesnapshot
|
430
|
+
@AutoMountConfiguration = automountconfiguration
|
404
431
|
end
|
405
432
|
|
406
433
|
def deserialize(params)
|
@@ -431,6 +458,10 @@ module TencentCloud
|
|
431
458
|
@DiskChargePrepaid.deserialize(params['DiskChargePrepaid'])
|
432
459
|
end
|
433
460
|
@DeleteSnapshot = params['DeleteSnapshot']
|
461
|
+
unless params['AutoMountConfiguration'].nil?
|
462
|
+
@AutoMountConfiguration = AutoMountConfiguration.new
|
463
|
+
@AutoMountConfiguration.deserialize(params['AutoMountConfiguration'])
|
464
|
+
end
|
434
465
|
end
|
435
466
|
end
|
436
467
|
|
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: 1.0.
|
4
|
+
version: 1.0.226
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|