tencentcloud-sdk-cbs 1.0.348 → 1.0.351
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 +29 -29
- 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: 59d81147c3e16973c72af88423e3ad3a765b6266
|
4
|
+
data.tar.gz: 07900485e4904c4c7e27a5ae8f1360abf2b9cd1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e89ce951c57ab6f5c6369b3f864589ebe2da696525c95096181043e5ee17cf8f9ce48981859e7774946b8327891110063e3ccf7a19608751958b8015b94248dd
|
7
|
+
data.tar.gz: ed2baad3a2d262b8d20ced128cc6c326a473c89b0e44c57d789ba36c2a6e858f66923131cf6217a8a217d4e852a216c8c272383e1bb73dfcb31e3a0b138ed716
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.351
|
data/lib/v20170312/models.rb
CHANGED
@@ -388,26 +388,26 @@ module TencentCloud
|
|
388
388
|
class CreateAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
|
389
389
|
# @param Policy: 定期快照的执行策略。
|
390
390
|
# @type Policy: Array
|
391
|
-
# @param
|
392
|
-
# @type
|
391
|
+
# @param DryRun: 是否创建定期快照的执行策略。TRUE表示只需获取首次开始备份的时间,不实际创建定期快照策略,FALSE表示创建,默认为FALSE。
|
392
|
+
# @type DryRun: Boolean
|
393
393
|
# @param IsActivated: 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
394
394
|
# @type IsActivated: Boolean
|
395
|
+
# @param AutoSnapshotPolicyName: 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
396
|
+
# @type AutoSnapshotPolicyName: String
|
395
397
|
# @param IsPermanent: 通过该定期快照策略创建的快照是否永久保留。FALSE表示非永久保留,TRUE表示永久保留,默认为FALSE。
|
396
398
|
# @type IsPermanent: Boolean
|
397
399
|
# @param RetentionDays: 通过该定期快照策略创建的快照保留天数,默认保留7天。如果指定本参数,则IsPermanent入参不可指定为TRUE,否则会产生冲突。
|
398
400
|
# @type RetentionDays: Integer
|
399
|
-
# @param DryRun: 是否创建定期快照的执行策略。TRUE表示只需获取首次开始备份的时间,不实际创建定期快照策略,FALSE表示创建,默认为FALSE。
|
400
|
-
# @type DryRun: Boolean
|
401
401
|
|
402
|
-
attr_accessor :Policy, :
|
402
|
+
attr_accessor :Policy, :DryRun, :IsActivated, :AutoSnapshotPolicyName, :IsPermanent, :RetentionDays
|
403
403
|
|
404
|
-
def initialize(policy=nil,
|
404
|
+
def initialize(policy=nil, dryrun=nil, isactivated=nil, autosnapshotpolicyname=nil, ispermanent=nil, retentiondays=nil)
|
405
405
|
@Policy = policy
|
406
|
-
@
|
406
|
+
@DryRun = dryrun
|
407
407
|
@IsActivated = isactivated
|
408
|
+
@AutoSnapshotPolicyName = autosnapshotpolicyname
|
408
409
|
@IsPermanent = ispermanent
|
409
410
|
@RetentionDays = retentiondays
|
410
|
-
@DryRun = dryrun
|
411
411
|
end
|
412
412
|
|
413
413
|
def deserialize(params)
|
@@ -419,11 +419,11 @@ module TencentCloud
|
|
419
419
|
@Policy << policy_tmp
|
420
420
|
end
|
421
421
|
end
|
422
|
-
@
|
422
|
+
@DryRun = params['DryRun']
|
423
423
|
@IsActivated = params['IsActivated']
|
424
|
+
@AutoSnapshotPolicyName = params['AutoSnapshotPolicyName']
|
424
425
|
@IsPermanent = params['IsPermanent']
|
425
426
|
@RetentionDays = params['RetentionDays']
|
426
|
-
@DryRun = params['DryRun']
|
427
427
|
end
|
428
428
|
end
|
429
429
|
|
@@ -1988,30 +1988,33 @@ module TencentCloud
|
|
1988
1988
|
class ModifyAutoSnapshotPolicyAttributeRequest < TencentCloud::Common::AbstractModel
|
1989
1989
|
# @param AutoSnapshotPolicyId: 定期快照策略ID。
|
1990
1990
|
# @type AutoSnapshotPolicyId: String
|
1991
|
-
# @param Policy: 定期快照的执行策略。
|
1992
|
-
# @type Policy: Array
|
1993
|
-
# @param AutoSnapshotPolicyName: 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
1994
|
-
# @type AutoSnapshotPolicyName: String
|
1995
1991
|
# @param IsActivated: 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
1996
1992
|
# @type IsActivated: Boolean
|
1997
1993
|
# @param IsPermanent: 通过该定期快照策略创建的快照是否永久保留。FALSE表示非永久保留,TRUE表示永久保留,默认为FALSE。
|
1998
1994
|
# @type IsPermanent: Boolean
|
1999
|
-
# @param
|
1995
|
+
# @param AutoSnapshotPolicyName: 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
1996
|
+
# @type AutoSnapshotPolicyName: String
|
1997
|
+
# @param Policy: 定期快照的执行策略。
|
1998
|
+
# @type Policy: Array
|
1999
|
+
# @param RetentionDays: 通过该定期快照策略创建的快照保留天数。如果指定本参数,则IsPermanent入参不可指定为TRUE,否则会产生冲突。
|
2000
2000
|
# @type RetentionDays: Integer
|
2001
2001
|
|
2002
|
-
attr_accessor :AutoSnapshotPolicyId, :
|
2002
|
+
attr_accessor :AutoSnapshotPolicyId, :IsActivated, :IsPermanent, :AutoSnapshotPolicyName, :Policy, :RetentionDays
|
2003
2003
|
|
2004
|
-
def initialize(autosnapshotpolicyid=nil,
|
2004
|
+
def initialize(autosnapshotpolicyid=nil, isactivated=nil, ispermanent=nil, autosnapshotpolicyname=nil, policy=nil, retentiondays=nil)
|
2005
2005
|
@AutoSnapshotPolicyId = autosnapshotpolicyid
|
2006
|
-
@Policy = policy
|
2007
|
-
@AutoSnapshotPolicyName = autosnapshotpolicyname
|
2008
2006
|
@IsActivated = isactivated
|
2009
2007
|
@IsPermanent = ispermanent
|
2008
|
+
@AutoSnapshotPolicyName = autosnapshotpolicyname
|
2009
|
+
@Policy = policy
|
2010
2010
|
@RetentionDays = retentiondays
|
2011
2011
|
end
|
2012
2012
|
|
2013
2013
|
def deserialize(params)
|
2014
2014
|
@AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
|
2015
|
+
@IsActivated = params['IsActivated']
|
2016
|
+
@IsPermanent = params['IsPermanent']
|
2017
|
+
@AutoSnapshotPolicyName = params['AutoSnapshotPolicyName']
|
2015
2018
|
unless params['Policy'].nil?
|
2016
2019
|
@Policy = []
|
2017
2020
|
params['Policy'].each do |i|
|
@@ -2020,9 +2023,6 @@ module TencentCloud
|
|
2020
2023
|
@Policy << policy_tmp
|
2021
2024
|
end
|
2022
2025
|
end
|
2023
|
-
@AutoSnapshotPolicyName = params['AutoSnapshotPolicyName']
|
2024
|
-
@IsActivated = params['IsActivated']
|
2025
|
-
@IsPermanent = params['IsPermanent']
|
2026
2026
|
@RetentionDays = params['RetentionDays']
|
2027
2027
|
end
|
2028
2028
|
end
|
@@ -2333,23 +2333,23 @@ module TencentCloud
|
|
2333
2333
|
end
|
2334
2334
|
end
|
2335
2335
|
|
2336
|
-
# 描述了定期快照的执行策略。可理解为在DayOfWeek
|
2336
|
+
# 描述了定期快照的执行策略。可理解为在DayOfWeek/DayOfMonth指定的几天中,或者是IntervalDays设定的间隔的几天,在Hour指定的小时执行该条定期快照策略。注:DayOfWeek/DayOfMonth/IntervalDays为互斥规则,仅可设置其中一条策略规则。
|
2337
2337
|
class Policy < TencentCloud::Common::AbstractModel
|
2338
|
-
# @param DayOfWeek: 指定每周从周一到周日需要触发定期快照的日期,取值范围:[0, 6]。0表示周日触发,1-6分别表示周一至周六。
|
2339
|
-
# @type DayOfWeek: Array
|
2340
2338
|
# @param Hour: 指定定期快照策略的触发时间。单位为小时,取值范围:[0, 23]。00:00 ~ 23:00 共 24 个时间点可选,1表示 01:00,依此类推。
|
2341
2339
|
# @type Hour: Array
|
2340
|
+
# @param DayOfWeek: 指定每周从周一到周日需要触发定期快照的日期,取值范围:[0, 6]。0表示周日触发,1-6分别表示周一至周六。
|
2341
|
+
# @type DayOfWeek: Array
|
2342
2342
|
|
2343
|
-
attr_accessor :
|
2343
|
+
attr_accessor :Hour, :DayOfWeek
|
2344
2344
|
|
2345
|
-
def initialize(
|
2346
|
-
@DayOfWeek = dayofweek
|
2345
|
+
def initialize(hour=nil, dayofweek=nil)
|
2347
2346
|
@Hour = hour
|
2347
|
+
@DayOfWeek = dayofweek
|
2348
2348
|
end
|
2349
2349
|
|
2350
2350
|
def deserialize(params)
|
2351
|
-
@DayOfWeek = params['DayOfWeek']
|
2352
2351
|
@Hour = params['Hour']
|
2352
|
+
@DayOfWeek = params['DayOfWeek']
|
2353
2353
|
end
|
2354
2354
|
end
|
2355
2355
|
|
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.351
|
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-07-
|
11
|
+
date: 2022-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|