tencentcloud-sdk-dcdb 1.0.302 → 1.0.305

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: f5001e2da4be33e41c0c3c784f1b8ef95de0a48c
4
- data.tar.gz: 622d11aaec780b4f0da64e7680e0dbad340f9ebf
3
+ metadata.gz: ec0209e44f9ded16f672e662dc0dc8922b907eea
4
+ data.tar.gz: 51e2c17592e47e2cae0462e7d682c431db71ad0d
5
5
  SHA512:
6
- metadata.gz: 3ae57903ea6d66eeb043e00f1e68f0d9596c3477e079d607b382a9663a9f2dbba5381e3590abe4865acb874226f9c59a58c57b15f1ec08a983c98b8766ba4908
7
- data.tar.gz: 9923f2f327b824662db205bbe2fa8226d3f2298ed988d7c677e05db98c7ca527b19c075d8a55466de5b7c37aee7cbb0696bf579e8b88859e4e96819011e8be26
6
+ metadata.gz: 52736070fa6f31bc63e741170ef693c25d5e00499e349c03b99c918cad8f18a5187030003db34bcecf6f8dd5db21ec8b8a5ee88b3624ab70c0c6b3154f339585
7
+ data.tar.gz: 02a7125cbbc5fc66e3fd9b666463a059d44ddf45fa745c04021a32ae3dbf8c828b5a722805aadfbcb5c71c34e994f66121d709eea4b61717497f8a8325094a0d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.302
1
+ 1.0.305
@@ -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.302
4
+ version: 1.0.305
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-20 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