tencentcloud-sdk-dcdb 3.0.586 → 3.0.588
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 +40 -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: 3d92ef7533513ef15a2f547caa31da847b840f7b
|
4
|
+
data.tar.gz: aac621ebdc1f6c74d46d4ae4d149fa187bb3fe41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44b629adacdd1e48182ed95b7f8cdcae522cf4da6885130002148c60878e9bfa0b7349c0d4d58df5f5d6bf395fbfb2a361abd9d5da0dca58a5056e854bb4ab8e
|
7
|
+
data.tar.gz: 72ffb0603dcdd6ba1cc32a46c0bc01cad6756a7fc151110ea9c65c733237f8c287420cd3590bdc43af59a59b6fbb74130c5a8931230fefe1272a07ec5dfd9a0b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.588
|
data/lib/v20180411/client.rb
CHANGED
@@ -1163,6 +1163,30 @@ module TencentCloud
|
|
1163
1163
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1164
1164
|
end
|
1165
1165
|
|
1166
|
+
# 本接口(IsolateDCDBInstance)用于隔离分布式数据库TDSQL实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
|
1167
|
+
|
1168
|
+
# @param request: Request instance for IsolateDCDBInstance.
|
1169
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::IsolateDCDBInstanceRequest`
|
1170
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::IsolateDCDBInstanceResponse`
|
1171
|
+
def IsolateDCDBInstance(request)
|
1172
|
+
body = send_request('IsolateDCDBInstance', request.serialize)
|
1173
|
+
response = JSON.parse(body)
|
1174
|
+
if response['Response'].key?('Error') == false
|
1175
|
+
model = IsolateDCDBInstanceResponse.new
|
1176
|
+
model.deserialize(response['Response'])
|
1177
|
+
model
|
1178
|
+
else
|
1179
|
+
code = response['Response']['Error']['Code']
|
1180
|
+
message = response['Response']['Error']['Message']
|
1181
|
+
reqid = response['Response']['RequestId']
|
1182
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1183
|
+
end
|
1184
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1185
|
+
raise e
|
1186
|
+
rescue StandardError => e
|
1187
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1188
|
+
end
|
1189
|
+
|
1166
1190
|
# 本接口(IsolateDedicatedDBInstance)用于隔离独享云数据库实例。
|
1167
1191
|
|
1168
1192
|
# @param request: Request instance for IsolateDedicatedDBInstance.
|
data/lib/v20180411/models.rb
CHANGED
@@ -4001,6 +4001,46 @@ module TencentCloud
|
|
4001
4001
|
end
|
4002
4002
|
end
|
4003
4003
|
|
4004
|
+
# IsolateDCDBInstance请求参数结构体
|
4005
|
+
class IsolateDCDBInstanceRequest < TencentCloud::Common::AbstractModel
|
4006
|
+
# @param InstanceIds: 实例 ID,格式如:tdsqlshard-avw0207d,与云数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
|
4007
|
+
# @type InstanceIds: Array
|
4008
|
+
|
4009
|
+
attr_accessor :InstanceIds
|
4010
|
+
|
4011
|
+
def initialize(instanceids=nil)
|
4012
|
+
@InstanceIds = instanceids
|
4013
|
+
end
|
4014
|
+
|
4015
|
+
def deserialize(params)
|
4016
|
+
@InstanceIds = params['InstanceIds']
|
4017
|
+
end
|
4018
|
+
end
|
4019
|
+
|
4020
|
+
# IsolateDCDBInstance返回参数结构体
|
4021
|
+
class IsolateDCDBInstanceResponse < TencentCloud::Common::AbstractModel
|
4022
|
+
# @param SuccessInstanceIds: 隔离成功实例ID列表。
|
4023
|
+
# @type SuccessInstanceIds: Array
|
4024
|
+
# @param FailedInstanceIds: 隔离失败实例ID列表。
|
4025
|
+
# @type FailedInstanceIds: Array
|
4026
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4027
|
+
# @type RequestId: String
|
4028
|
+
|
4029
|
+
attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
|
4030
|
+
|
4031
|
+
def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
|
4032
|
+
@SuccessInstanceIds = successinstanceids
|
4033
|
+
@FailedInstanceIds = failedinstanceids
|
4034
|
+
@RequestId = requestid
|
4035
|
+
end
|
4036
|
+
|
4037
|
+
def deserialize(params)
|
4038
|
+
@SuccessInstanceIds = params['SuccessInstanceIds']
|
4039
|
+
@FailedInstanceIds = params['FailedInstanceIds']
|
4040
|
+
@RequestId = params['RequestId']
|
4041
|
+
end
|
4042
|
+
end
|
4043
|
+
|
4004
4044
|
# IsolateDedicatedDBInstance请求参数结构体
|
4005
4045
|
class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
|
4006
4046
|
# @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
|
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.588
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|