tencentcloud-sdk-dcdb 3.0.596 → 3.0.598
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/v20180411/client.rb +24 -0
- data/lib/v20180411/models.rb +130 -0
- 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: e1d31d214641384361d7e52d1b8704b182da77f6
|
4
|
+
data.tar.gz: 9764681249225bc571bb6531e282bcc55e7fe6b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cf4280057a3e4a8d2185d980f39eb74794fc5c14b39c645d33f4f0bf1c8417b5f209e01b59647d0388f7bf4875e058036029e48bd87316d0c3ffb77f61933f9
|
7
|
+
data.tar.gz: a3e86cb5656b2a7b6c1abdcf84777075133a5ee7bf8d12dcc0f70a1c342b7554c4bc76a797060d30fefca73ef479034518353f9187c778dc3f5a4c787e109ff7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.598
|
data/lib/v20180411/client.rb
CHANGED
@@ -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.
|
data/lib/v20180411/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.598
|
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-
|
11
|
+
date: 2023-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|