tencentcloud-sdk-cbs 1.0.346 → 1.0.349
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/client.rb +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: a6d4c67e4d6c665312b9f878fdb69a46ea31d4e6
|
4
|
+
data.tar.gz: 1787324f873c5d51ba3bd7ae8c88a06e8873c0e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa76556ae7bcb638615e2feb2353d29d99809a598fb73dd56e0d4e8f43f448977f364c0e616f711b36cb83b9fdd5f5f6c6df68cd4a37ed07502ec9993e0c5b62
|
7
|
+
data.tar.gz: a934f09488adddb9df370114ccbe914ebc3d156a50ac883d1bd4f3814d26a86408feef727a5048a70028eebdde30a93077a152b6cae5a536aaafe5404b333d6b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.349
|
data/lib/v20170312/client.rb
CHANGED
@@ -961,7 +961,7 @@ module TencentCloud
|
|
961
961
|
|
962
962
|
# * 不再使用的云盘,可通过本接口主动退还。
|
963
963
|
# * 本接口支持退还预付费云盘和按小时后付费云盘。按小时后付费云盘可直接退还,预付费云盘需符合退还规则。
|
964
|
-
# * 支持批量操作,每次请求批量云硬盘的上限为
|
964
|
+
# * 支持批量操作,每次请求批量云硬盘的上限为100。如果批量云盘存在不允许操作的,请求会以特定错误码返回。
|
965
965
|
|
966
966
|
# @param request: Request instance for TerminateDisks.
|
967
967
|
# @type request: :class:`Tencentcloud::cbs::V20170312::TerminateDisksRequest`
|
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.349
|
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-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|