tencentcloud-sdk-cbs 1.0.236 → 1.0.240
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 +13 -5
- 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: 804af75844322559d8924257eb2b2ea2f5584bb3
|
4
|
+
data.tar.gz: 95cc73f4c8ed5f93bfec6bc4df320d81a6c4d555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b354e346b9cadf6b4082e476906f3870ad759c6b618b27ea50fc171ddb0cafc3c88655b5d7e4f84f6abebd5d87c29ce0fa0694aeafe5fe13d0d50af68cac452
|
7
|
+
data.tar.gz: 87cf3eca7e449473c0353f5ccb213b5ffd0393218ac2aefc59a5766009eecb074b49531dfebba4a873e4b5da35fe59feb7b81c183092cf5d8bb5a8da8607382e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.240
|
data/lib/v20170312/models.rb
CHANGED
@@ -499,7 +499,7 @@ module TencentCloud
|
|
499
499
|
# @type DiskId: String
|
500
500
|
# @param SnapshotName: 快照名称,不传则新快照名称默认为“未命名”。
|
501
501
|
# @type SnapshotName: String
|
502
|
-
# @param Deadline:
|
502
|
+
# @param Deadline: 快照的到期时间,到期后该快照将会自动删除,需要传入UTC时间下的ISO-8601标准时间格式,例如:2022-01-08T09:47:55+00:00
|
503
503
|
# @type Deadline: String
|
504
504
|
|
505
505
|
attr_accessor :DiskId, :SnapshotName, :Deadline
|
@@ -1342,10 +1342,12 @@ module TencentCloud
|
|
1342
1342
|
# @type Shareable: Boolean
|
1343
1343
|
# @param CreateTime: 云硬盘的创建时间。
|
1344
1344
|
# @type CreateTime: String
|
1345
|
+
# @param DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
1346
|
+
# @type DeleteSnapshot: Integer
|
1345
1347
|
|
1346
|
-
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
|
1348
|
+
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
|
1347
1349
|
|
1348
|
-
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)
|
1350
|
+
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)
|
1349
1351
|
@DeleteWithInstance = deletewithinstance
|
1350
1352
|
@RenewFlag = renewflag
|
1351
1353
|
@DiskType = disktype
|
@@ -1381,6 +1383,7 @@ module TencentCloud
|
|
1381
1383
|
@ReturnFailCode = returnfailcode
|
1382
1384
|
@Shareable = shareable
|
1383
1385
|
@CreateTime = createtime
|
1386
|
+
@DeleteSnapshot = deletesnapshot
|
1384
1387
|
end
|
1385
1388
|
|
1386
1389
|
def deserialize(params)
|
@@ -1429,6 +1432,7 @@ module TencentCloud
|
|
1429
1432
|
@ReturnFailCode = params['ReturnFailCode']
|
1430
1433
|
@Shareable = params['Shareable']
|
1431
1434
|
@CreateTime = params['CreateTime']
|
1435
|
+
@DeleteSnapshot = params['DeleteSnapshot']
|
1432
1436
|
end
|
1433
1437
|
end
|
1434
1438
|
|
@@ -2598,15 +2602,19 @@ module TencentCloud
|
|
2598
2602
|
class TerminateDisksRequest < TencentCloud::Common::AbstractModel
|
2599
2603
|
# @param DiskIds: 需退还的云盘ID列表。
|
2600
2604
|
# @type DiskIds: Array
|
2605
|
+
# @param DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
2606
|
+
# @type DeleteSnapshot: Integer
|
2601
2607
|
|
2602
|
-
attr_accessor :DiskIds
|
2608
|
+
attr_accessor :DiskIds, :DeleteSnapshot
|
2603
2609
|
|
2604
|
-
def initialize(diskids=nil)
|
2610
|
+
def initialize(diskids=nil, deletesnapshot=nil)
|
2605
2611
|
@DiskIds = diskids
|
2612
|
+
@DeleteSnapshot = deletesnapshot
|
2606
2613
|
end
|
2607
2614
|
|
2608
2615
|
def deserialize(params)
|
2609
2616
|
@DiskIds = params['DiskIds']
|
2617
|
+
@DeleteSnapshot = params['DeleteSnapshot']
|
2610
2618
|
end
|
2611
2619
|
end
|
2612
2620
|
|
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.240
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|