tencentcloud-sdk-cdb 3.0.789 → 3.0.790

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170320/models.rb +48 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5f083aa998ed850670ace87ba33d8fe0e6b7ffd
4
- data.tar.gz: e379c0a72a72fb87cc6d9d8445eb27a0dc1d3057
3
+ metadata.gz: a53c8690c59a6d1f51283a518e8fd9592b3e1e54
4
+ data.tar.gz: 8a4ee04335584fbf4cd84f1bd747af1f3de0d6df
5
5
  SHA512:
6
- metadata.gz: ca938a57a9cd1a7cd7492056665ca740b2f4d9fb6a2b3edbbd3c12658e4b40d92d657df58de5f08033c26a304038df60587121bb09c6beeab7824af4fdba0c58
7
- data.tar.gz: 2457ed293514cdd7212578591e3fb61959be65a71bd4881c71852884c339eda82f072dc86d985b74e07869b3aa1ae280e9aa2db4235301229ee8a689c6169994
6
+ metadata.gz: 01dc028be3095c25d98d2025447c8e53ddcb19e41e6f591b5f243f0cc0da0ed8120ffcd53271cf949c37c00389457141ca965f79ceb9ce5f159ef658ba087358
7
+ data.tar.gz: 68fa4757eaa126028a4f6b8279a7c159699d89df5ccbb0dcc191632fd70ea56103f913ea111fbf8904be11d24589cc6b7ad1256765e832fa9625076ebd8e7112
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.789
1
+ 3.0.790
@@ -2495,10 +2495,14 @@ module TencentCloud
2495
2495
  # @type CageId: String
2496
2496
  # @param ProjectId: 项目ID,默认项目ID0
2497
2497
  # @type ProjectId: Integer
2498
+ # @param PayType: 付费类型,PRE_PAID:包年包月,USED_PAID:按量计费。默认为按量计费
2499
+ # @type PayType: String
2500
+ # @param Period: 实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
2501
+ # @type Period: Integer
2498
2502
 
2499
- attr_accessor :InstanceId, :SpecifiedRollbackTime, :SpecifiedBackupId, :UniqVpcId, :UniqSubnetId, :Memory, :Volume, :InstanceName, :SecurityGroup, :ResourceTags, :Cpu, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :DeviceType, :InstanceNodes, :DeployGroupId, :DryRun, :CageId, :ProjectId
2503
+ attr_accessor :InstanceId, :SpecifiedRollbackTime, :SpecifiedBackupId, :UniqVpcId, :UniqSubnetId, :Memory, :Volume, :InstanceName, :SecurityGroup, :ResourceTags, :Cpu, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :DeviceType, :InstanceNodes, :DeployGroupId, :DryRun, :CageId, :ProjectId, :PayType, :Period
2500
2504
 
2501
- def initialize(instanceid=nil, specifiedrollbacktime=nil, specifiedbackupid=nil, uniqvpcid=nil, uniqsubnetid=nil, memory=nil, volume=nil, instancename=nil, securitygroup=nil, resourcetags=nil, cpu=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, devicetype=nil, instancenodes=nil, deploygroupid=nil, dryrun=nil, cageid=nil, projectid=nil)
2505
+ def initialize(instanceid=nil, specifiedrollbacktime=nil, specifiedbackupid=nil, uniqvpcid=nil, uniqsubnetid=nil, memory=nil, volume=nil, instancename=nil, securitygroup=nil, resourcetags=nil, cpu=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, devicetype=nil, instancenodes=nil, deploygroupid=nil, dryrun=nil, cageid=nil, projectid=nil, paytype=nil, period=nil)
2502
2506
  @InstanceId = instanceid
2503
2507
  @SpecifiedRollbackTime = specifiedrollbacktime
2504
2508
  @SpecifiedBackupId = specifiedbackupid
@@ -2520,6 +2524,8 @@ module TencentCloud
2520
2524
  @DryRun = dryrun
2521
2525
  @CageId = cageid
2522
2526
  @ProjectId = projectid
2527
+ @PayType = paytype
2528
+ @Period = period
2523
2529
  end
2524
2530
 
2525
2531
  def deserialize(params)
@@ -2551,6 +2557,8 @@ module TencentCloud
2551
2557
  @DryRun = params['DryRun']
2552
2558
  @CageId = params['CageId']
2553
2559
  @ProjectId = params['ProjectId']
2560
+ @PayType = params['PayType']
2561
+ @Period = params['Period']
2554
2562
  end
2555
2563
  end
2556
2564
 
@@ -12841,6 +12849,30 @@ module TencentCloud
12841
12849
  end
12842
12850
  end
12843
12851
 
12852
+ # 任务列表中的部分任务支持特定的附加信息
12853
+ class TaskAttachInfo < TencentCloud::Common::AbstractModel
12854
+ # @param AttachKey: 升级任务:
12855
+ # ”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。
12856
+ # 注意:此字段可能返回 null,表示取不到有效值。
12857
+ # @type AttachKey: String
12858
+ # @param AttachValue: 升级任务:
12859
+ # ”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。
12860
+ # 注意:此字段可能返回 null,表示取不到有效值。
12861
+ # @type AttachValue: String
12862
+
12863
+ attr_accessor :AttachKey, :AttachValue
12864
+
12865
+ def initialize(attachkey=nil, attachvalue=nil)
12866
+ @AttachKey = attachkey
12867
+ @AttachValue = attachvalue
12868
+ end
12869
+
12870
+ def deserialize(params)
12871
+ @AttachKey = params['AttachKey']
12872
+ @AttachValue = params['AttachValue']
12873
+ end
12874
+ end
12875
+
12844
12876
  # 实例任务详情
12845
12877
  class TaskDetail < TencentCloud::Common::AbstractModel
12846
12878
  # @param Code: 错误码。
@@ -12885,10 +12917,13 @@ module TencentCloud
12885
12917
  # @type InstanceIds: Array
12886
12918
  # @param AsyncRequestId: 异步任务的请求 ID。
12887
12919
  # @type AsyncRequestId: String
12920
+ # @param TaskAttachInfo: 任务的附加信息。
12921
+ # 注意:此字段可能返回 null,表示取不到有效值。
12922
+ # @type TaskAttachInfo: Array
12888
12923
 
12889
- attr_accessor :Code, :Message, :JobId, :Progress, :TaskStatus, :TaskType, :StartTime, :EndTime, :InstanceIds, :AsyncRequestId
12924
+ attr_accessor :Code, :Message, :JobId, :Progress, :TaskStatus, :TaskType, :StartTime, :EndTime, :InstanceIds, :AsyncRequestId, :TaskAttachInfo
12890
12925
 
12891
- def initialize(code=nil, message=nil, jobid=nil, progress=nil, taskstatus=nil, tasktype=nil, starttime=nil, endtime=nil, instanceids=nil, asyncrequestid=nil)
12926
+ def initialize(code=nil, message=nil, jobid=nil, progress=nil, taskstatus=nil, tasktype=nil, starttime=nil, endtime=nil, instanceids=nil, asyncrequestid=nil, taskattachinfo=nil)
12892
12927
  @Code = code
12893
12928
  @Message = message
12894
12929
  @JobId = jobid
@@ -12899,6 +12934,7 @@ module TencentCloud
12899
12934
  @EndTime = endtime
12900
12935
  @InstanceIds = instanceids
12901
12936
  @AsyncRequestId = asyncrequestid
12937
+ @TaskAttachInfo = taskattachinfo
12902
12938
  end
12903
12939
 
12904
12940
  def deserialize(params)
@@ -12912,6 +12948,14 @@ module TencentCloud
12912
12948
  @EndTime = params['EndTime']
12913
12949
  @InstanceIds = params['InstanceIds']
12914
12950
  @AsyncRequestId = params['AsyncRequestId']
12951
+ unless params['TaskAttachInfo'].nil?
12952
+ @TaskAttachInfo = []
12953
+ params['TaskAttachInfo'].each do |i|
12954
+ taskattachinfo_tmp = TaskAttachInfo.new
12955
+ taskattachinfo_tmp.deserialize(i)
12956
+ @TaskAttachInfo << taskattachinfo_tmp
12957
+ end
12958
+ end
12915
12959
  end
12916
12960
  end
12917
12961
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.789
4
+ version: 3.0.790
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common