tencentcloud-sdk-cbs 1.0.224 → 1.0.228
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 +43 -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: 3de62f068c5d211970a519af3c17d52995594972
|
4
|
+
data.tar.gz: 3066ddda94275699a231d10386501cb7258a644e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51cb3cb2b2f7c4599f5f0922b94f4b10e30f83c32829ed9b9b4ffb60d938e27541cdd201943d33d5456f81ae69113686e658c104d9bb281d35cbb18408c203af
|
7
|
+
data.tar.gz: e27fff64f99906c9159f295a5e4826da2b2f75034e554f59cf005f7ee573e743f8b1e2d0d7db0c9cb8ca7e8132706fe76113b2513881e8de46180bf8be8f8c53
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.228
|
data/lib/v20170312/models.rb
CHANGED
@@ -23,17 +23,25 @@ module TencentCloud
|
|
23
23
|
# @type SnapshotId: String
|
24
24
|
# @param DiskId: 快照原云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。
|
25
25
|
# @type DiskId: String
|
26
|
+
# @param AutoStopInstance: 回滚前是否执行自动关机
|
27
|
+
# @type AutoStopInstance: Boolean
|
28
|
+
# @param AutoStartInstance: 回滚完成后是否自动开机
|
29
|
+
# @type AutoStartInstance: Boolean
|
26
30
|
|
27
|
-
attr_accessor :SnapshotId, :DiskId
|
31
|
+
attr_accessor :SnapshotId, :DiskId, :AutoStopInstance, :AutoStartInstance
|
28
32
|
|
29
|
-
def initialize(snapshotid=nil, diskid=nil)
|
33
|
+
def initialize(snapshotid=nil, diskid=nil, autostopinstance=nil, autostartinstance=nil)
|
30
34
|
@SnapshotId = snapshotid
|
31
35
|
@DiskId = diskid
|
36
|
+
@AutoStopInstance = autostopinstance
|
37
|
+
@AutoStartInstance = autostartinstance
|
32
38
|
end
|
33
39
|
|
34
40
|
def deserialize(params)
|
35
41
|
@SnapshotId = params['SnapshotId']
|
36
42
|
@DiskId = params['DiskId']
|
43
|
+
@AutoStopInstance = params['AutoStopInstance']
|
44
|
+
@AutoStartInstance = params['AutoStartInstance']
|
37
45
|
end
|
38
46
|
end
|
39
47
|
|
@@ -121,6 +129,30 @@ module TencentCloud
|
|
121
129
|
end
|
122
130
|
end
|
123
131
|
|
132
|
+
# 自动初始化、挂载云盘时指定配置。
|
133
|
+
class AutoMountConfiguration < TencentCloud::Common::AbstractModel
|
134
|
+
# @param InstanceId: 要挂载到的实例ID。
|
135
|
+
# @type InstanceId: Array
|
136
|
+
# @param MountPoint: 子机内的挂载点。
|
137
|
+
# @type MountPoint: Array
|
138
|
+
# @param FileSystemType: 文件系统类型,支持的有 ext4、xfs。
|
139
|
+
# @type FileSystemType: String
|
140
|
+
|
141
|
+
attr_accessor :InstanceId, :MountPoint, :FileSystemType
|
142
|
+
|
143
|
+
def initialize(instanceid=nil, mountpoint=nil, filesystemtype=nil)
|
144
|
+
@InstanceId = instanceid
|
145
|
+
@MountPoint = mountpoint
|
146
|
+
@FileSystemType = filesystemtype
|
147
|
+
end
|
148
|
+
|
149
|
+
def deserialize(params)
|
150
|
+
@InstanceId = params['InstanceId']
|
151
|
+
@MountPoint = params['MountPoint']
|
152
|
+
@FileSystemType = params['FileSystemType']
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
124
156
|
# 描述了定期快照策略的详细信息
|
125
157
|
class AutoSnapshotPolicy < TencentCloud::Common::AbstractModel
|
126
158
|
# @param AutoSnapshotPolicyId: 定期快照策略ID。
|
@@ -383,10 +415,12 @@ module TencentCloud
|
|
383
415
|
# @type DiskChargePrepaid: :class:`Tencentcloud::Cbs.v20170312.models.DiskChargePrepaid`
|
384
416
|
# @param DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
385
417
|
# @type DeleteSnapshot: Integer
|
418
|
+
# @param AutoMountConfiguration: 创建云盘时指定自动挂载并初始化该数据盘。
|
419
|
+
# @type AutoMountConfiguration: :class:`Tencentcloud::Cbs.v20170312.models.AutoMountConfiguration`
|
386
420
|
|
387
|
-
attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot
|
421
|
+
attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot, :AutoMountConfiguration
|
388
422
|
|
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)
|
423
|
+
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
424
|
@Placement = placement
|
391
425
|
@DiskChargeType = diskchargetype
|
392
426
|
@DiskType = disktype
|
@@ -401,6 +435,7 @@ module TencentCloud
|
|
401
435
|
@Encrypt = encrypt
|
402
436
|
@DiskChargePrepaid = diskchargeprepaid
|
403
437
|
@DeleteSnapshot = deletesnapshot
|
438
|
+
@AutoMountConfiguration = automountconfiguration
|
404
439
|
end
|
405
440
|
|
406
441
|
def deserialize(params)
|
@@ -431,6 +466,10 @@ module TencentCloud
|
|
431
466
|
@DiskChargePrepaid.deserialize(params['DiskChargePrepaid'])
|
432
467
|
end
|
433
468
|
@DeleteSnapshot = params['DeleteSnapshot']
|
469
|
+
unless params['AutoMountConfiguration'].nil?
|
470
|
+
@AutoMountConfiguration = AutoMountConfiguration.new
|
471
|
+
@AutoMountConfiguration.deserialize(params['AutoMountConfiguration'])
|
472
|
+
end
|
434
473
|
end
|
435
474
|
end
|
436
475
|
|
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.228
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|