tencentcloud-sdk-cdb 3.0.789 → 3.0.791

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5f083aa998ed850670ace87ba33d8fe0e6b7ffd
4
- data.tar.gz: e379c0a72a72fb87cc6d9d8445eb27a0dc1d3057
3
+ metadata.gz: 64e52c4b7f41b843137ad97e7596b229a7cebc9f
4
+ data.tar.gz: cb9c24f5c905ce542c5ca2def1638de99519b4ac
5
5
  SHA512:
6
- metadata.gz: ca938a57a9cd1a7cd7492056665ca740b2f4d9fb6a2b3edbbd3c12658e4b40d92d657df58de5f08033c26a304038df60587121bb09c6beeab7824af4fdba0c58
7
- data.tar.gz: 2457ed293514cdd7212578591e3fb61959be65a71bd4881c71852884c339eda82f072dc86d985b74e07869b3aa1ae280e9aa2db4235301229ee8a689c6169994
6
+ metadata.gz: 808cec6f7f57e21d27eb28138dd382b1952565922f359436eaab61f00701c471c5db1db508e451d66dbe4ef88153c45c3541e7e98d35a3ab36796d5b7d893b22
7
+ data.tar.gz: 949844341909597a421768cd38ac93d78b91c33726fa3b9d5f292980230a067c3ff890aaa4f5e56e3a835d4c870cfe7abc77de174fcedcc03575733caabe8fa6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.789
1
+ 3.0.791
@@ -3409,7 +3409,7 @@ module TencentCloud
3409
3409
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3410
3410
  end
3411
3411
 
3412
- # 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。
3412
+ # 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。仅用于按量计费实例的解隔离,包年包月实例的解隔离请使用 RenewDBInstance 。
3413
3413
 
3414
3414
  # @param request: Request instance for ReleaseIsolatedDBInstances.
3415
3415
  # @type request: :class:`Tencentcloud::cdb::V20170320::ReleaseIsolatedDBInstancesRequest`
@@ -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.791
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