tencentcloud-sdk-dcdb 1.0.303 → 1.0.304
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: bcaa0be7b7037ad97208c8d53f2e11999a274c51
|
4
|
+
data.tar.gz: 51fa60c9d8fd83613fa5e280e0434f2bbdcdcb74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3cf39bd3bc1faf477198f015613f66d5d3743ad09d472637a370a4fcfe09762d8d27cdef8f121096d11928d7ff91433d7078f1f22d7a150abc326bf5cf07b87
|
7
|
+
data.tar.gz: 3119e370bb415cbb131a380552ccc441ded27f57fe9d15935615033b046284e1766375fd8b4a455f7d05ca46305239fbb0442d02ac45b57fdcc1abcc5dc6991d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.304
|
data/lib/v20180411/client.rb
CHANGED
@@ -1090,6 +1090,30 @@ module TencentCloud
|
|
1090
1090
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1091
1091
|
end
|
1092
1092
|
|
1093
|
+
# 本接口(ModifyDBInstanceName)用于修改实例名字
|
1094
|
+
|
1095
|
+
# @param request: Request instance for ModifyDBInstanceName.
|
1096
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::ModifyDBInstanceNameRequest`
|
1097
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::ModifyDBInstanceNameResponse`
|
1098
|
+
def ModifyDBInstanceName(request)
|
1099
|
+
body = send_request('ModifyDBInstanceName', request.serialize)
|
1100
|
+
response = JSON.parse(body)
|
1101
|
+
if response['Response'].key?('Error') == false
|
1102
|
+
model = ModifyDBInstanceNameResponse.new
|
1103
|
+
model.deserialize(response['Response'])
|
1104
|
+
model
|
1105
|
+
else
|
1106
|
+
code = response['Response']['Error']['Code']
|
1107
|
+
message = response['Response']['Error']['Message']
|
1108
|
+
reqid = response['Response']['RequestId']
|
1109
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1110
|
+
end
|
1111
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1112
|
+
raise e
|
1113
|
+
rescue StandardError => e
|
1114
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1115
|
+
end
|
1116
|
+
|
1093
1117
|
# 本接口(ModifyDBInstanceSecurityGroups)用于修改云数据库安全组
|
1094
1118
|
|
1095
1119
|
# @param request: Request instance for ModifyDBInstanceSecurityGroups.
|
data/lib/v20180411/models.rb
CHANGED
@@ -3368,6 +3368,46 @@ module TencentCloud
|
|
3368
3368
|
end
|
3369
3369
|
end
|
3370
3370
|
|
3371
|
+
# ModifyDBInstanceName请求参数结构体
|
3372
|
+
class ModifyDBInstanceNameRequest < TencentCloud::Common::AbstractModel
|
3373
|
+
# @param InstanceId: 实例ID,形如tdsql-hdaprz0v
|
3374
|
+
# @type InstanceId: String
|
3375
|
+
# @param InstanceName: 实例名称
|
3376
|
+
# @type InstanceName: String
|
3377
|
+
|
3378
|
+
attr_accessor :InstanceId, :InstanceName
|
3379
|
+
|
3380
|
+
def initialize(instanceid=nil, instancename=nil)
|
3381
|
+
@InstanceId = instanceid
|
3382
|
+
@InstanceName = instancename
|
3383
|
+
end
|
3384
|
+
|
3385
|
+
def deserialize(params)
|
3386
|
+
@InstanceId = params['InstanceId']
|
3387
|
+
@InstanceName = params['InstanceName']
|
3388
|
+
end
|
3389
|
+
end
|
3390
|
+
|
3391
|
+
# ModifyDBInstanceName返回参数结构体
|
3392
|
+
class ModifyDBInstanceNameResponse < TencentCloud::Common::AbstractModel
|
3393
|
+
# @param InstanceId: 实例ID
|
3394
|
+
# @type InstanceId: String
|
3395
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3396
|
+
# @type RequestId: String
|
3397
|
+
|
3398
|
+
attr_accessor :InstanceId, :RequestId
|
3399
|
+
|
3400
|
+
def initialize(instanceid=nil, requestid=nil)
|
3401
|
+
@InstanceId = instanceid
|
3402
|
+
@RequestId = requestid
|
3403
|
+
end
|
3404
|
+
|
3405
|
+
def deserialize(params)
|
3406
|
+
@InstanceId = params['InstanceId']
|
3407
|
+
@RequestId = params['RequestId']
|
3408
|
+
end
|
3409
|
+
end
|
3410
|
+
|
3371
3411
|
# ModifyDBInstanceSecurityGroups请求参数结构体
|
3372
3412
|
class ModifyDBInstanceSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
3373
3413
|
# @param Product: 数据库引擎名称,本接口取值:dcdb。
|
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: 1.0.
|
4
|
+
version: 1.0.304
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|