tencentcloud-sdk-cynosdb 3.0.512 → 3.0.513

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: 715390971a28d704334e85137d665338dc7956d3
4
- data.tar.gz: 4f98af29c28f111a896e298df3ae0c26ae6de6ea
3
+ metadata.gz: 7423e67390463e701b9bfed39a496651a8d72dbf
4
+ data.tar.gz: 9781c5726464cb2a3342ad5b7a8a3a25d29a1c83
5
5
  SHA512:
6
- metadata.gz: acf6a677401460e4b0c266f9da713f242cfb77a59beca677207864b0c157b520adeffb6384cebec2b2aebfbd82fbc4a61604ad5d1f382975feb50505a01bf85a
7
- data.tar.gz: 65d548e28833c3d3a46464d97d138b8faaa8a291622e899868e0db4a2260f4489d5803054d46e8db6a9c7700e3f695b9f7b158464b755a034945a85ba75b1a9f
6
+ metadata.gz: 9c86a2237986e6eb82f0847c8a800205c560f137d5c0c53e2bf13a4c6896145bbb21906bce062d2480ecc45f913ddfc21037af12d246fe4c2e77dd12916c7be1
7
+ data.tar.gz: 35b8c03d399a931c19a84f07361ffee5a1703981aadb2fb2c86b57611b6b8ecd9f253f08cc22e6edecd64bfb6f7fd31fffd1a96116c0fc9aea1058c9e4c0a325
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.512
1
+ 3.0.513
@@ -1517,6 +1517,30 @@ module TencentCloud
1517
1517
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
1518
  end
1519
1519
 
1520
+ # 修改实例组ip,端口
1521
+
1522
+ # @param request: Request instance for ModifyVipVport.
1523
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyVipVportRequest`
1524
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyVipVportResponse`
1525
+ def ModifyVipVport(request)
1526
+ body = send_request('ModifyVipVport', request.serialize)
1527
+ response = JSON.parse(body)
1528
+ if response['Response'].key?('Error') == false
1529
+ model = ModifyVipVportResponse.new
1530
+ model.deserialize(response['Response'])
1531
+ model
1532
+ else
1533
+ code = response['Response']['Error']['Code']
1534
+ message = response['Response']['Error']['Message']
1535
+ reqid = response['Response']['RequestId']
1536
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1537
+ end
1538
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1539
+ raise e
1540
+ rescue StandardError => e
1541
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
+ end
1543
+
1520
1544
  # 下线集群
1521
1545
 
1522
1546
  # @param request: Request instance for OfflineCluster.
@@ -5360,6 +5360,63 @@ module TencentCloud
5360
5360
  end
5361
5361
  end
5362
5362
 
5363
+ # ModifyVipVport请求参数结构体
5364
+ class ModifyVipVportRequest < TencentCloud::Common::AbstractModel
5365
+ # @param ClusterId: 集群id
5366
+ # @type ClusterId: String
5367
+ # @param InstanceGrpId: 实例组id
5368
+ # @type InstanceGrpId: String
5369
+ # @param Vip: 需要修改的目的ip
5370
+ # @type Vip: String
5371
+ # @param Vport: 需要修改的目的端口
5372
+ # @type Vport: Integer
5373
+ # @param DbType: 数据库类型,取值范围:
5374
+ # <li> MYSQL </li>
5375
+ # @type DbType: String
5376
+ # @param OldIpReserveHours: 旧ip回收前的保留时间,单位小时,0表示立即回收
5377
+ # @type OldIpReserveHours: Integer
5378
+
5379
+ attr_accessor :ClusterId, :InstanceGrpId, :Vip, :Vport, :DbType, :OldIpReserveHours
5380
+
5381
+ def initialize(clusterid=nil, instancegrpid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
5382
+ @ClusterId = clusterid
5383
+ @InstanceGrpId = instancegrpid
5384
+ @Vip = vip
5385
+ @Vport = vport
5386
+ @DbType = dbtype
5387
+ @OldIpReserveHours = oldipreservehours
5388
+ end
5389
+
5390
+ def deserialize(params)
5391
+ @ClusterId = params['ClusterId']
5392
+ @InstanceGrpId = params['InstanceGrpId']
5393
+ @Vip = params['Vip']
5394
+ @Vport = params['Vport']
5395
+ @DbType = params['DbType']
5396
+ @OldIpReserveHours = params['OldIpReserveHours']
5397
+ end
5398
+ end
5399
+
5400
+ # ModifyVipVport返回参数结构体
5401
+ class ModifyVipVportResponse < TencentCloud::Common::AbstractModel
5402
+ # @param FlowId: 异步任务id
5403
+ # @type FlowId: Integer
5404
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5405
+ # @type RequestId: String
5406
+
5407
+ attr_accessor :FlowId, :RequestId
5408
+
5409
+ def initialize(flowid=nil, requestid=nil)
5410
+ @FlowId = flowid
5411
+ @RequestId = requestid
5412
+ end
5413
+
5414
+ def deserialize(params)
5415
+ @FlowId = params['FlowId']
5416
+ @RequestId = params['RequestId']
5417
+ end
5418
+ end
5419
+
5363
5420
  # 系统支持的模块
5364
5421
  class Module < TencentCloud::Common::AbstractModel
5365
5422
  # @param IsDisable: 是否支持,可选值:yes,no
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.512
4
+ version: 3.0.513
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-02-20 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common