tencentcloud-sdk-mariadb 3.0.435 → 3.0.436

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: de0347572c7cf6c45fa06ae9edb2af6bd0424e0a
4
- data.tar.gz: 5fdbf562516befc7e0f2d49cc8e12adcefcdf98f
3
+ metadata.gz: 1a0544de7b4f18783649e2f5b10507627fe99fd4
4
+ data.tar.gz: d0606ad8e1aa948f66fd5eb3b3938ced2cb8c49c
5
5
  SHA512:
6
- metadata.gz: 9091233a9a89e3c2e9703dad47d13fbb63dfa0c66d8f261f0dea2769a12d47106af47ac581cfb864ffadddd4618e8d2710951640d77bcbc7566c01b4956cb7b1
7
- data.tar.gz: 1f8f91ad205742157b644c23c61ce129cfdc7199efb67b6afbd682f4cae42831ceed40a2c3e58d3f5d3ac462e73e3e48c5f3c3f10a46026323e41e569262cc90
6
+ metadata.gz: fe8965170354d2370c79fcbcba40283f323a599a6762d27f28ae1fe72f50402b767d1bb2f972859d6847a0a557b8aa861b9af64f208d814da388d91143dc23d3
7
+ data.tar.gz: 1f3b2cfe31b7815306846c39fa5c7cd25a24f6e83a9cee5d22e61c31ce469704340fe6ba6a7a80b286eb343851ab0f673acb15a040a8191f2aa64e8fa44d1d30
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.435
1
+ 3.0.436
@@ -1263,6 +1263,78 @@ module TencentCloud
1263
1263
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1264
1264
  end
1265
1265
 
1266
+ # 本接口(ModifyInstanceNetwork)用于修改实例所属网络
1267
+
1268
+ # @param request: Request instance for ModifyInstanceNetwork.
1269
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceNetworkRequest`
1270
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceNetworkResponse`
1271
+ def ModifyInstanceNetwork(request)
1272
+ body = send_request('ModifyInstanceNetwork', request.serialize)
1273
+ response = JSON.parse(body)
1274
+ if response['Response'].key?('Error') == false
1275
+ model = ModifyInstanceNetworkResponse.new
1276
+ model.deserialize(response['Response'])
1277
+ model
1278
+ else
1279
+ code = response['Response']['Error']['Code']
1280
+ message = response['Response']['Error']['Message']
1281
+ reqid = response['Response']['RequestId']
1282
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1283
+ end
1284
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1285
+ raise e
1286
+ rescue StandardError => e
1287
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1288
+ end
1289
+
1290
+ # 本接口(ModifyInstanceVip)用于修改实例VIP
1291
+
1292
+ # @param request: Request instance for ModifyInstanceVip.
1293
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceVipRequest`
1294
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceVipResponse`
1295
+ def ModifyInstanceVip(request)
1296
+ body = send_request('ModifyInstanceVip', request.serialize)
1297
+ response = JSON.parse(body)
1298
+ if response['Response'].key?('Error') == false
1299
+ model = ModifyInstanceVipResponse.new
1300
+ model.deserialize(response['Response'])
1301
+ model
1302
+ else
1303
+ code = response['Response']['Error']['Code']
1304
+ message = response['Response']['Error']['Message']
1305
+ reqid = response['Response']['RequestId']
1306
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1307
+ end
1308
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1309
+ raise e
1310
+ rescue StandardError => e
1311
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1312
+ end
1313
+
1314
+ # 本接口(ModifyInstanceVport)用于修改实例VPORT
1315
+
1316
+ # @param request: Request instance for ModifyInstanceVport.
1317
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceVportRequest`
1318
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceVportResponse`
1319
+ def ModifyInstanceVport(request)
1320
+ body = send_request('ModifyInstanceVport', request.serialize)
1321
+ response = JSON.parse(body)
1322
+ if response['Response'].key?('Error') == false
1323
+ model = ModifyInstanceVportResponse.new
1324
+ model.deserialize(response['Response'])
1325
+ model
1326
+ else
1327
+ code = response['Response']['Error']['Code']
1328
+ message = response['Response']['Error']['Message']
1329
+ reqid = response['Response']['RequestId']
1330
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1331
+ end
1332
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1333
+ raise e
1334
+ rescue StandardError => e
1335
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1336
+ end
1337
+
1266
1338
  # 本接口(ModifyLogFileRetentionPeriod)用于修改数据库备份日志保存天数。
1267
1339
 
1268
1340
  # @param request: Request instance for ModifyLogFileRetentionPeriod.
@@ -3638,6 +3638,146 @@ module TencentCloud
3638
3638
  end
3639
3639
  end
3640
3640
 
3641
+ # ModifyInstanceNetwork请求参数结构体
3642
+ class ModifyInstanceNetworkRequest < TencentCloud::Common::AbstractModel
3643
+ # @param InstanceId: 实例ID
3644
+ # @type InstanceId: String
3645
+ # @param VpcId: 希望转到的VPC网络的VpcId
3646
+ # @type VpcId: String
3647
+ # @param SubnetId: 希望转到的VPC网络的子网ID
3648
+ # @type SubnetId: String
3649
+ # @param Vip: 如果需要指定VIP,填上该字段
3650
+ # @type Vip: String
3651
+ # @param Vipv6: 如果需要指定VIPv6,填上该字段
3652
+ # @type Vipv6: String
3653
+ # @param VipReleaseDelay: VIP保留时长,单位小时,取值范围(0~168),0表示立即释放,有一分钟释放延迟。不传此参数,默认24小时释放VIP。
3654
+ # @type VipReleaseDelay: Integer
3655
+
3656
+ attr_accessor :InstanceId, :VpcId, :SubnetId, :Vip, :Vipv6, :VipReleaseDelay
3657
+
3658
+ def initialize(instanceid=nil, vpcid=nil, subnetid=nil, vip=nil, vipv6=nil, vipreleasedelay=nil)
3659
+ @InstanceId = instanceid
3660
+ @VpcId = vpcid
3661
+ @SubnetId = subnetid
3662
+ @Vip = vip
3663
+ @Vipv6 = vipv6
3664
+ @VipReleaseDelay = vipreleasedelay
3665
+ end
3666
+
3667
+ def deserialize(params)
3668
+ @InstanceId = params['InstanceId']
3669
+ @VpcId = params['VpcId']
3670
+ @SubnetId = params['SubnetId']
3671
+ @Vip = params['Vip']
3672
+ @Vipv6 = params['Vipv6']
3673
+ @VipReleaseDelay = params['VipReleaseDelay']
3674
+ end
3675
+ end
3676
+
3677
+ # ModifyInstanceNetwork返回参数结构体
3678
+ class ModifyInstanceNetworkResponse < TencentCloud::Common::AbstractModel
3679
+ # @param FlowId: 异步任务ID,根据此FlowId通过DescribeFlow接口查询任务进行状态
3680
+ # @type FlowId: Integer
3681
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3682
+ # @type RequestId: String
3683
+
3684
+ attr_accessor :FlowId, :RequestId
3685
+
3686
+ def initialize(flowid=nil, requestid=nil)
3687
+ @FlowId = flowid
3688
+ @RequestId = requestid
3689
+ end
3690
+
3691
+ def deserialize(params)
3692
+ @FlowId = params['FlowId']
3693
+ @RequestId = params['RequestId']
3694
+ end
3695
+ end
3696
+
3697
+ # ModifyInstanceVip请求参数结构体
3698
+ class ModifyInstanceVipRequest < TencentCloud::Common::AbstractModel
3699
+ # @param InstanceId: 实例ID
3700
+ # @type InstanceId: String
3701
+ # @param Vip: 实例VIP
3702
+ # @type Vip: String
3703
+ # @param Ipv6Flag: IPv6标志
3704
+ # @type Ipv6Flag: Integer
3705
+ # @param VipReleaseDelay: VIP保留时长,单位小时,取值范围(0~168),0表示立即释放,有一分钟释放延迟。不传此参数,默认24小时释放VIP。
3706
+ # @type VipReleaseDelay: Integer
3707
+
3708
+ attr_accessor :InstanceId, :Vip, :Ipv6Flag, :VipReleaseDelay
3709
+
3710
+ def initialize(instanceid=nil, vip=nil, ipv6flag=nil, vipreleasedelay=nil)
3711
+ @InstanceId = instanceid
3712
+ @Vip = vip
3713
+ @Ipv6Flag = ipv6flag
3714
+ @VipReleaseDelay = vipreleasedelay
3715
+ end
3716
+
3717
+ def deserialize(params)
3718
+ @InstanceId = params['InstanceId']
3719
+ @Vip = params['Vip']
3720
+ @Ipv6Flag = params['Ipv6Flag']
3721
+ @VipReleaseDelay = params['VipReleaseDelay']
3722
+ end
3723
+ end
3724
+
3725
+ # ModifyInstanceVip返回参数结构体
3726
+ class ModifyInstanceVipResponse < TencentCloud::Common::AbstractModel
3727
+ # @param FlowId: 异步任务流程ID
3728
+ # @type FlowId: Integer
3729
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3730
+ # @type RequestId: String
3731
+
3732
+ attr_accessor :FlowId, :RequestId
3733
+
3734
+ def initialize(flowid=nil, requestid=nil)
3735
+ @FlowId = flowid
3736
+ @RequestId = requestid
3737
+ end
3738
+
3739
+ def deserialize(params)
3740
+ @FlowId = params['FlowId']
3741
+ @RequestId = params['RequestId']
3742
+ end
3743
+ end
3744
+
3745
+ # ModifyInstanceVport请求参数结构体
3746
+ class ModifyInstanceVportRequest < TencentCloud::Common::AbstractModel
3747
+ # @param InstanceId: 实例ID
3748
+ # @type InstanceId: String
3749
+ # @param Vport: 实例VPORT
3750
+ # @type Vport: Integer
3751
+
3752
+ attr_accessor :InstanceId, :Vport
3753
+
3754
+ def initialize(instanceid=nil, vport=nil)
3755
+ @InstanceId = instanceid
3756
+ @Vport = vport
3757
+ end
3758
+
3759
+ def deserialize(params)
3760
+ @InstanceId = params['InstanceId']
3761
+ @Vport = params['Vport']
3762
+ end
3763
+ end
3764
+
3765
+ # ModifyInstanceVport返回参数结构体
3766
+ class ModifyInstanceVportResponse < TencentCloud::Common::AbstractModel
3767
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3768
+ # @type RequestId: String
3769
+
3770
+ attr_accessor :RequestId
3771
+
3772
+ def initialize(requestid=nil)
3773
+ @RequestId = requestid
3774
+ end
3775
+
3776
+ def deserialize(params)
3777
+ @RequestId = params['RequestId']
3778
+ end
3779
+ end
3780
+
3641
3781
  # ModifyLogFileRetentionPeriod请求参数结构体
3642
3782
  class ModifyLogFileRetentionPeriodRequest < TencentCloud::Common::AbstractModel
3643
3783
  # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.435
4
+ version: 3.0.436
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-10-25 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common