tencentcloud-sdk-dcdb 3.0.595 → 3.0.597

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64ea91eb87ae2b278e1cae36e53c8618981aa338
4
- data.tar.gz: fabe8f834ee660f356e9889be5b610b4b67f6a47
3
+ metadata.gz: fe61d5fb222a15a580e7a14f614f5e019cf01711
4
+ data.tar.gz: e21364a48bf882faba664a61a39bf6d2bcdc93af
5
5
  SHA512:
6
- metadata.gz: de4fcc58ad2da361be10abda243f17288aa764b672095f787e03ceb76f8f11c7dbf9fbc334c1855cad3d4ede6def9aa5e6a107a7df90c2af48a56f317b9ea2e9
7
- data.tar.gz: 15f93526ff3941ed815f6fe4743134f945bbe8ad60d7555dfb00ab766ec886713bb989601bf6f43d921472eca89836514c6a22a980314c6203cbc871173e3bae
6
+ metadata.gz: b8d913214836fc32067315e0cda948a5d99cd1c6f2434aac2e02c9576f6af2ad8de5c1e3c63c7093425dfbb2384818ca4d9f4e9293cedec86d2f77f70de2cc3e
7
+ data.tar.gz: c273c8bebc5814b1d596c510b4fcb1dc536e0a42ed25715b28b4b034fa54c619ae81b34190ea48409122b53f7e3716f4a2b2dc172711958e7c99be5f97195b5c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.595
1
+ 3.0.597
@@ -535,6 +535,30 @@ module TencentCloud
535
535
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
536
536
  end
537
537
 
538
+ # 本接口(DescribeDBTmpInstances)用于获取实例回档生成的临时实例
539
+
540
+ # @param request: Request instance for DescribeDBTmpInstances.
541
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeDBTmpInstancesRequest`
542
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeDBTmpInstancesResponse`
543
+ def DescribeDBTmpInstances(request)
544
+ body = send_request('DescribeDBTmpInstances', request.serialize)
545
+ response = JSON.parse(body)
546
+ if response['Response'].key?('Error') == false
547
+ model = DescribeDBTmpInstancesResponse.new
548
+ model.deserialize(response['Response'])
549
+ model
550
+ else
551
+ code = response['Response']['Error']['Code']
552
+ message = response['Response']['Error']['Message']
553
+ reqid = response['Response']['RequestId']
554
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
555
+ end
556
+ rescue TencentCloud::Common::TencentCloudSDKException => e
557
+ raise e
558
+ rescue StandardError => e
559
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
560
+ end
561
+
538
562
  # 本接口(DescribeDCDBInstanceDetail)用于获取TDSQL实例详情
539
563
 
540
564
  # @param request: Request instance for DescribeDCDBInstanceDetail.
@@ -2239,6 +2239,49 @@ module TencentCloud
2239
2239
  end
2240
2240
  end
2241
2241
 
2242
+ # DescribeDBTmpInstances请求参数结构体
2243
+ class DescribeDBTmpInstancesRequest < TencentCloud::Common::AbstractModel
2244
+ # @param InstanceId: 实例ID
2245
+ # @type InstanceId: String
2246
+
2247
+ attr_accessor :InstanceId
2248
+
2249
+ def initialize(instanceid=nil)
2250
+ @InstanceId = instanceid
2251
+ end
2252
+
2253
+ def deserialize(params)
2254
+ @InstanceId = params['InstanceId']
2255
+ end
2256
+ end
2257
+
2258
+ # DescribeDBTmpInstances返回参数结构体
2259
+ class DescribeDBTmpInstancesResponse < TencentCloud::Common::AbstractModel
2260
+ # @param TmpInstances: 临时实例列表
2261
+ # @type TmpInstances: Array
2262
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2263
+ # @type RequestId: String
2264
+
2265
+ attr_accessor :TmpInstances, :RequestId
2266
+
2267
+ def initialize(tmpinstances=nil, requestid=nil)
2268
+ @TmpInstances = tmpinstances
2269
+ @RequestId = requestid
2270
+ end
2271
+
2272
+ def deserialize(params)
2273
+ unless params['TmpInstances'].nil?
2274
+ @TmpInstances = []
2275
+ params['TmpInstances'].each do |i|
2276
+ tmpinstance_tmp = TmpInstance.new
2277
+ tmpinstance_tmp.deserialize(i)
2278
+ @TmpInstances << tmpinstance_tmp
2279
+ end
2280
+ end
2281
+ @RequestId = params['RequestId']
2282
+ end
2283
+ end
2284
+
2242
2285
  # DescribeDCDBInstanceDetail请求参数结构体
2243
2286
  class DescribeDCDBInstanceDetailRequest < TencentCloud::Common::AbstractModel
2244
2287
  # @param InstanceId: 实例ID,形如dcdbt-7oaxtcb7
@@ -5823,6 +5866,93 @@ module TencentCloud
5823
5866
  end
5824
5867
  end
5825
5868
 
5869
+ # 临时实例
5870
+ class TmpInstance < TencentCloud::Common::AbstractModel
5871
+ # @param AppId: 应用ID
5872
+ # 注意:此字段可能返回 null,表示取不到有效值。
5873
+ # @type AppId: Integer
5874
+ # @param CreateTime: 创建时间
5875
+ # 注意:此字段可能返回 null,表示取不到有效值。
5876
+ # @type CreateTime: String
5877
+ # @param InstanceRemark: 实例备注
5878
+ # 注意:此字段可能返回 null,表示取不到有效值。
5879
+ # @type InstanceRemark: String
5880
+ # @param TempType: 0:非临时实例 ,1:无效临时实例, 2:回档成功的有效临时实例
5881
+ # 注意:此字段可能返回 null,表示取不到有效值。
5882
+ # @type TempType: Integer
5883
+ # @param Status: 实例状态,0:待初始化,1:流程处理中,2:有效状态,-1:已隔离,-2:已下线
5884
+ # 注意:此字段可能返回 null,表示取不到有效值。
5885
+ # @type Status: Integer
5886
+ # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
5887
+ # 注意:此字段可能返回 null,表示取不到有效值。
5888
+ # @type InstanceId: String
5889
+ # @param Vip: 实例虚IP
5890
+ # 注意:此字段可能返回 null,表示取不到有效值。
5891
+ # @type Vip: String
5892
+ # @param Vport: 实例虚端口
5893
+ # 注意:此字段可能返回 null,表示取不到有效值。
5894
+ # @type Vport: Integer
5895
+ # @param PeriodEndTime: 有效期结束时间
5896
+ # 注意:此字段可能返回 null,表示取不到有效值。
5897
+ # @type PeriodEndTime: String
5898
+ # @param SrcInstanceId: 源实例 ID,形如:tdsql-ow728lmc。
5899
+ # 注意:此字段可能返回 null,表示取不到有效值。
5900
+ # @type SrcInstanceId: String
5901
+ # @param StatusDesc: 实例状态描述
5902
+ # 注意:此字段可能返回 null,表示取不到有效值。
5903
+ # @type StatusDesc: String
5904
+ # @param Region: 实例所在地域
5905
+ # 注意:此字段可能返回 null,表示取不到有效值。
5906
+ # @type Region: String
5907
+ # @param Zone: 实例所在可用区
5908
+ # 注意:此字段可能返回 null,表示取不到有效值。
5909
+ # @type Zone: String
5910
+ # @param Vipv6: 实例虚IPv6
5911
+ # 注意:此字段可能返回 null,表示取不到有效值。
5912
+ # @type Vipv6: String
5913
+ # @param Ipv6Flag: 实例IPv6标志
5914
+ # 注意:此字段可能返回 null,表示取不到有效值。
5915
+ # @type Ipv6Flag: Integer
5916
+
5917
+ attr_accessor :AppId, :CreateTime, :InstanceRemark, :TempType, :Status, :InstanceId, :Vip, :Vport, :PeriodEndTime, :SrcInstanceId, :StatusDesc, :Region, :Zone, :Vipv6, :Ipv6Flag
5918
+
5919
+ def initialize(appid=nil, createtime=nil, instanceremark=nil, temptype=nil, status=nil, instanceid=nil, vip=nil, vport=nil, periodendtime=nil, srcinstanceid=nil, statusdesc=nil, region=nil, zone=nil, vipv6=nil, ipv6flag=nil)
5920
+ @AppId = appid
5921
+ @CreateTime = createtime
5922
+ @InstanceRemark = instanceremark
5923
+ @TempType = temptype
5924
+ @Status = status
5925
+ @InstanceId = instanceid
5926
+ @Vip = vip
5927
+ @Vport = vport
5928
+ @PeriodEndTime = periodendtime
5929
+ @SrcInstanceId = srcinstanceid
5930
+ @StatusDesc = statusdesc
5931
+ @Region = region
5932
+ @Zone = zone
5933
+ @Vipv6 = vipv6
5934
+ @Ipv6Flag = ipv6flag
5935
+ end
5936
+
5937
+ def deserialize(params)
5938
+ @AppId = params['AppId']
5939
+ @CreateTime = params['CreateTime']
5940
+ @InstanceRemark = params['InstanceRemark']
5941
+ @TempType = params['TempType']
5942
+ @Status = params['Status']
5943
+ @InstanceId = params['InstanceId']
5944
+ @Vip = params['Vip']
5945
+ @Vport = params['Vport']
5946
+ @PeriodEndTime = params['PeriodEndTime']
5947
+ @SrcInstanceId = params['SrcInstanceId']
5948
+ @StatusDesc = params['StatusDesc']
5949
+ @Region = params['Region']
5950
+ @Zone = params['Zone']
5951
+ @Vipv6 = params['Vipv6']
5952
+ @Ipv6Flag = params['Ipv6Flag']
5953
+ end
5954
+ end
5955
+
5826
5956
  # UpgradeDCDBInstance请求参数结构体
5827
5957
  class UpgradeDCDBInstanceRequest < TencentCloud::Common::AbstractModel
5828
5958
  # @param InstanceId: 待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.595
4
+ version: 3.0.597
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common