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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1563e773dcca0e72d415d9b6fc1f80f88adc6248
4
- data.tar.gz: 87f0eaa63a5a1f1b32a33637511d652a6a2e9314
3
+ metadata.gz: bcaa0be7b7037ad97208c8d53f2e11999a274c51
4
+ data.tar.gz: 51fa60c9d8fd83613fa5e280e0434f2bbdcdcb74
5
5
  SHA512:
6
- metadata.gz: 8cdceb165e2b79e7c8e94e16645b37716e0366d03d1ab060903c81747a23d187f4e6cc22bf652fd811c39f0d438660ef4b30466566ee2e8ae3289baf48b0a16d
7
- data.tar.gz: e04e859332e4376dd6f7e30a1c0d43eb3abb979eaf71810e0132dccbb8dd576e6b03f1ffbd8dae21c4c697951c5ea07071f7cc4635ee3752c0e8f0bcda497d42
6
+ metadata.gz: f3cf39bd3bc1faf477198f015613f66d5d3743ad09d472637a370a4fcfe09762d8d27cdef8f121096d11928d7ff91433d7078f1f22d7a150abc326bf5cf07b87
7
+ data.tar.gz: 3119e370bb415cbb131a380552ccc441ded27f57fe9d15935615033b046284e1766375fd8b4a455f7d05ca46305239fbb0442d02ac45b57fdcc1abcc5dc6991d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.303
1
+ 1.0.304
@@ -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.
@@ -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.303
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-26 00:00:00.000000000 Z
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