tencentcloud-sdk-cbs 1.0.320 → 1.0.323
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 +73 -36
- 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: f5b27ac3e3b7c6d4f27c137379cfd8094b13ec36
|
4
|
+
data.tar.gz: 4c8d633966d1911fb8174c90ef043d1b1ccb618b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83547443d1cb4aad7c17ffbb846cf41f668616d975ffb01d47d3268e011c7b040177d6ea90d27c0463d8645a205eee1c4a6748b9564865875478a54a018116cc
|
7
|
+
data.tar.gz: 204c190f71aaa3fe86f3b7f55d1226c3b7aaf80b6cfd531aa18ccf2476f53e5fdb9e7b09827aa8f09c60b62e19370d51125fc0351fb7c51efdf1d40aefc1bac5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.323
|
data/lib/v20170312/models.rb
CHANGED
@@ -155,51 +155,63 @@ module TencentCloud
|
|
155
155
|
|
156
156
|
# 描述了定期快照策略的详细信息
|
157
157
|
class AutoSnapshotPolicy < TencentCloud::Common::AbstractModel
|
158
|
-
# @param
|
159
|
-
# @type
|
160
|
-
# @param AutoSnapshotPolicyName: 定期快照策略名称。
|
161
|
-
# @type AutoSnapshotPolicyName: String
|
162
|
-
# @param AutoSnapshotPolicyState: 定期快照策略的状态。取值范围:<br><li>NORMAL:正常<br><li>ISOLATED:已隔离。
|
163
|
-
# @type AutoSnapshotPolicyState: String
|
158
|
+
# @param DiskIdSet: 已绑定当前定期快照策略的云盘ID列表。
|
159
|
+
# @type DiskIdSet: Array
|
164
160
|
# @param IsActivated: 定期快照策略是否激活。
|
165
161
|
# @type IsActivated: Boolean
|
162
|
+
# @param AutoSnapshotPolicyState: 定期快照策略的状态。取值范围:<br><li>NORMAL:正常<br><li>ISOLATED:已隔离。
|
163
|
+
# @type AutoSnapshotPolicyState: String
|
164
|
+
# @param IsCopyToRemote: 是否是跨账号复制快照快照, 1:是, 0: 不是
|
165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
166
|
+
# @type IsCopyToRemote: Integer
|
166
167
|
# @param IsPermanent: 使用该定期快照策略创建出来的快照是否永久保留。
|
167
168
|
# @type IsPermanent: Boolean
|
168
|
-
# @param RetentionDays: 使用该定期快照策略创建出来的快照保留天数。
|
169
|
-
# @type RetentionDays: Integer
|
170
|
-
# @param CreateTime: 定期快照策略的创建时间。
|
171
|
-
# @type CreateTime: String
|
172
169
|
# @param NextTriggerTime: 定期快照下次触发的时间。
|
173
170
|
# @type NextTriggerTime: String
|
171
|
+
# @param AutoSnapshotPolicyName: 定期快照策略名称。
|
172
|
+
# @type AutoSnapshotPolicyName: String
|
173
|
+
# @param AutoSnapshotPolicyId: 定期快照策略ID。
|
174
|
+
# @type AutoSnapshotPolicyId: String
|
174
175
|
# @param Policy: 定期快照的执行策略。
|
175
176
|
# @type Policy: Array
|
176
|
-
# @param
|
177
|
-
# @type
|
177
|
+
# @param CreateTime: 定期快照策略的创建时间。
|
178
|
+
# @type CreateTime: String
|
179
|
+
# @param RetentionDays: 使用该定期快照策略创建出来的快照保留天数。
|
180
|
+
# @type RetentionDays: Integer
|
181
|
+
# @param CopyToAccountUin: 复制的目标账户ID
|
182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
183
|
+
# @type CopyToAccountUin: String
|
184
|
+
# @param InstanceIdSet: 已绑定当前定期快照策略的实例ID列表。
|
185
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
186
|
+
# @type InstanceIdSet: Array
|
178
187
|
|
179
|
-
attr_accessor :
|
188
|
+
attr_accessor :DiskIdSet, :IsActivated, :AutoSnapshotPolicyState, :IsCopyToRemote, :IsPermanent, :NextTriggerTime, :AutoSnapshotPolicyName, :AutoSnapshotPolicyId, :Policy, :CreateTime, :RetentionDays, :CopyToAccountUin, :InstanceIdSet
|
180
189
|
|
181
|
-
def initialize(
|
182
|
-
@
|
183
|
-
@AutoSnapshotPolicyName = autosnapshotpolicyname
|
184
|
-
@AutoSnapshotPolicyState = autosnapshotpolicystate
|
190
|
+
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)
|
191
|
+
@DiskIdSet = diskidset
|
185
192
|
@IsActivated = isactivated
|
193
|
+
@AutoSnapshotPolicyState = autosnapshotpolicystate
|
194
|
+
@IsCopyToRemote = iscopytoremote
|
186
195
|
@IsPermanent = ispermanent
|
187
|
-
@RetentionDays = retentiondays
|
188
|
-
@CreateTime = createtime
|
189
196
|
@NextTriggerTime = nexttriggertime
|
197
|
+
@AutoSnapshotPolicyName = autosnapshotpolicyname
|
198
|
+
@AutoSnapshotPolicyId = autosnapshotpolicyid
|
190
199
|
@Policy = policy
|
191
|
-
@
|
200
|
+
@CreateTime = createtime
|
201
|
+
@RetentionDays = retentiondays
|
202
|
+
@CopyToAccountUin = copytoaccountuin
|
203
|
+
@InstanceIdSet = instanceidset
|
192
204
|
end
|
193
205
|
|
194
206
|
def deserialize(params)
|
195
|
-
@
|
196
|
-
@AutoSnapshotPolicyName = params['AutoSnapshotPolicyName']
|
197
|
-
@AutoSnapshotPolicyState = params['AutoSnapshotPolicyState']
|
207
|
+
@DiskIdSet = params['DiskIdSet']
|
198
208
|
@IsActivated = params['IsActivated']
|
209
|
+
@AutoSnapshotPolicyState = params['AutoSnapshotPolicyState']
|
210
|
+
@IsCopyToRemote = params['IsCopyToRemote']
|
199
211
|
@IsPermanent = params['IsPermanent']
|
200
|
-
@RetentionDays = params['RetentionDays']
|
201
|
-
@CreateTime = params['CreateTime']
|
202
212
|
@NextTriggerTime = params['NextTriggerTime']
|
213
|
+
@AutoSnapshotPolicyName = params['AutoSnapshotPolicyName']
|
214
|
+
@AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
|
203
215
|
unless params['Policy'].nil?
|
204
216
|
@Policy = []
|
205
217
|
params['Policy'].each do |i|
|
@@ -208,7 +220,10 @@ module TencentCloud
|
|
208
220
|
@Policy << policy_tmp
|
209
221
|
end
|
210
222
|
end
|
211
|
-
@
|
223
|
+
@CreateTime = params['CreateTime']
|
224
|
+
@RetentionDays = params['RetentionDays']
|
225
|
+
@CopyToAccountUin = params['CopyToAccountUin']
|
226
|
+
@InstanceIdSet = params['InstanceIdSet']
|
212
227
|
end
|
213
228
|
end
|
214
229
|
|
@@ -558,14 +573,17 @@ module TencentCloud
|
|
558
573
|
# @type Deadline: String
|
559
574
|
# @param DiskBackupId: 云硬盘备份点ID。传入此参数时,将通过备份点创建快照。
|
560
575
|
# @type DiskBackupId: String
|
576
|
+
# @param Tags: 快照绑定的标签。
|
577
|
+
# @type Tags: Array
|
561
578
|
|
562
|
-
attr_accessor :DiskId, :SnapshotName, :Deadline, :DiskBackupId
|
579
|
+
attr_accessor :DiskId, :SnapshotName, :Deadline, :DiskBackupId, :Tags
|
563
580
|
|
564
|
-
def initialize(diskid=nil, snapshotname=nil, deadline=nil, diskbackupid=nil)
|
581
|
+
def initialize(diskid=nil, snapshotname=nil, deadline=nil, diskbackupid=nil, tags=nil)
|
565
582
|
@DiskId = diskid
|
566
583
|
@SnapshotName = snapshotname
|
567
584
|
@Deadline = deadline
|
568
585
|
@DiskBackupId = diskbackupid
|
586
|
+
@Tags = tags
|
569
587
|
end
|
570
588
|
|
571
589
|
def deserialize(params)
|
@@ -573,6 +591,14 @@ module TencentCloud
|
|
573
591
|
@SnapshotName = params['SnapshotName']
|
574
592
|
@Deadline = params['Deadline']
|
575
593
|
@DiskBackupId = params['DiskBackupId']
|
594
|
+
unless params['Tags'].nil?
|
595
|
+
@Tags = []
|
596
|
+
params['Tags'].each do |i|
|
597
|
+
tag_tmp = Tag.new
|
598
|
+
tag_tmp.deserialize(i)
|
599
|
+
@Tags << tag_tmp
|
600
|
+
end
|
601
|
+
end
|
576
602
|
end
|
577
603
|
end
|
578
604
|
|
@@ -2576,10 +2602,12 @@ module TencentCloud
|
|
2576
2602
|
# @type SnapshotId: String
|
2577
2603
|
# @param TimeStartShare: 快照开始共享的时间。
|
2578
2604
|
# @type TimeStartShare: String
|
2605
|
+
# @param Tags: 快照绑定的标签列表。
|
2606
|
+
# @type Tags: Array
|
2579
2607
|
|
2580
|
-
attr_accessor :Placement, :CopyFromRemote, :SnapshotState, :IsPermanent, :SnapshotName, :DeadlineTime, :Percent, :Images, :ShareReference, :SnapshotType, :DiskSize, :DiskId, :CopyingToRegions, :Encrypt, :CreateTime, :ImageCount, :DiskUsage, :SnapshotId, :TimeStartShare
|
2608
|
+
attr_accessor :Placement, :CopyFromRemote, :SnapshotState, :IsPermanent, :SnapshotName, :DeadlineTime, :Percent, :Images, :ShareReference, :SnapshotType, :DiskSize, :DiskId, :CopyingToRegions, :Encrypt, :CreateTime, :ImageCount, :DiskUsage, :SnapshotId, :TimeStartShare, :Tags
|
2581
2609
|
|
2582
|
-
def initialize(placement=nil, copyfromremote=nil, snapshotstate=nil, ispermanent=nil, snapshotname=nil, deadlinetime=nil, percent=nil, images=nil, sharereference=nil, snapshottype=nil, disksize=nil, diskid=nil, copyingtoregions=nil, encrypt=nil, createtime=nil, imagecount=nil, diskusage=nil, snapshotid=nil, timestartshare=nil)
|
2610
|
+
def initialize(placement=nil, copyfromremote=nil, snapshotstate=nil, ispermanent=nil, snapshotname=nil, deadlinetime=nil, percent=nil, images=nil, sharereference=nil, snapshottype=nil, disksize=nil, diskid=nil, copyingtoregions=nil, encrypt=nil, createtime=nil, imagecount=nil, diskusage=nil, snapshotid=nil, timestartshare=nil, tags=nil)
|
2583
2611
|
@Placement = placement
|
2584
2612
|
@CopyFromRemote = copyfromremote
|
2585
2613
|
@SnapshotState = snapshotstate
|
@@ -2599,6 +2627,7 @@ module TencentCloud
|
|
2599
2627
|
@DiskUsage = diskusage
|
2600
2628
|
@SnapshotId = snapshotid
|
2601
2629
|
@TimeStartShare = timestartshare
|
2630
|
+
@Tags = tags
|
2602
2631
|
end
|
2603
2632
|
|
2604
2633
|
def deserialize(params)
|
@@ -2631,6 +2660,14 @@ module TencentCloud
|
|
2631
2660
|
@DiskUsage = params['DiskUsage']
|
2632
2661
|
@SnapshotId = params['SnapshotId']
|
2633
2662
|
@TimeStartShare = params['TimeStartShare']
|
2663
|
+
unless params['Tags'].nil?
|
2664
|
+
@Tags = []
|
2665
|
+
params['Tags'].each do |i|
|
2666
|
+
tag_tmp = Tag.new
|
2667
|
+
tag_tmp.deserialize(i)
|
2668
|
+
@Tags << tag_tmp
|
2669
|
+
end
|
2670
|
+
end
|
2634
2671
|
end
|
2635
2672
|
end
|
2636
2673
|
|
@@ -2767,21 +2804,21 @@ module TencentCloud
|
|
2767
2804
|
|
2768
2805
|
# UnbindAutoSnapshotPolicy请求参数结构体
|
2769
2806
|
class UnbindAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
|
2770
|
-
# @param DiskIds: 要解绑定期快照策略的云盘ID列表。
|
2771
|
-
# @type DiskIds: Array
|
2772
2807
|
# @param AutoSnapshotPolicyId: 要解绑的定期快照策略ID。
|
2773
2808
|
# @type AutoSnapshotPolicyId: String
|
2809
|
+
# @param DiskIds: 要解绑定期快照策略的云盘ID列表。
|
2810
|
+
# @type DiskIds: Array
|
2774
2811
|
|
2775
|
-
attr_accessor :
|
2812
|
+
attr_accessor :AutoSnapshotPolicyId, :DiskIds
|
2776
2813
|
|
2777
|
-
def initialize(
|
2778
|
-
@DiskIds = diskids
|
2814
|
+
def initialize(autosnapshotpolicyid=nil, diskids=nil)
|
2779
2815
|
@AutoSnapshotPolicyId = autosnapshotpolicyid
|
2816
|
+
@DiskIds = diskids
|
2780
2817
|
end
|
2781
2818
|
|
2782
2819
|
def deserialize(params)
|
2783
|
-
@DiskIds = params['DiskIds']
|
2784
2820
|
@AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
|
2821
|
+
@DiskIds = params['DiskIds']
|
2785
2822
|
end
|
2786
2823
|
end
|
2787
2824
|
|
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.323
|
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-05-
|
11
|
+
date: 2022-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|