tencentcloud-sdk-cdb 3.0.907 → 3.0.909
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/v20170320/models.rb +30 -10
- 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: e18bf63d5698577e2f59c847bce9298be63df276
|
4
|
+
data.tar.gz: 90a0e9ed05ce375d9d908e45db3b7218e055d4e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5111c49b9677d3710b8e2c29ac8b96ba343f2ab0533b92ea529c16b402b3302901d1c7c9edfebe449da1cfd7e6a191f50391a88961b60bce845c8da7d3ca0cd6
|
7
|
+
data.tar.gz: e51a3be2819f37cc39259ce8e4d6f3eff78afca776eb85389422b479b7605fb97d25a9080afbd59521f73395ed913bb21e14cae7aeaefa3ad0ca0b859a11d346
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.909
|
data/lib/v20170320/models.rb
CHANGED
@@ -1925,15 +1925,19 @@ module TencentCloud
|
|
1925
1925
|
class CloseWanServiceRequest < TencentCloud::Common::AbstractModel
|
1926
1926
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
1927
1927
|
# @type InstanceId: String
|
1928
|
+
# @param OpResourceId: 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
|
1929
|
+
# @type OpResourceId: String
|
1928
1930
|
|
1929
|
-
attr_accessor :InstanceId
|
1931
|
+
attr_accessor :InstanceId, :OpResourceId
|
1930
1932
|
|
1931
|
-
def initialize(instanceid=nil)
|
1933
|
+
def initialize(instanceid=nil, opresourceid=nil)
|
1932
1934
|
@InstanceId = instanceid
|
1935
|
+
@OpResourceId = opresourceid
|
1933
1936
|
end
|
1934
1937
|
|
1935
1938
|
def deserialize(params)
|
1936
1939
|
@InstanceId = params['InstanceId']
|
1940
|
+
@OpResourceId = params['OpResourceId']
|
1937
1941
|
end
|
1938
1942
|
end
|
1939
1943
|
|
@@ -10520,19 +10524,23 @@ module TencentCloud
|
|
10520
10524
|
# @type SecurityGroupIds: Array
|
10521
10525
|
# @param ForReadonlyInstance: 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True
|
10522
10526
|
# @type ForReadonlyInstance: Boolean
|
10527
|
+
# @param OpResourceId: 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
|
10528
|
+
# @type OpResourceId: String
|
10523
10529
|
|
10524
|
-
attr_accessor :InstanceId, :SecurityGroupIds, :ForReadonlyInstance
|
10530
|
+
attr_accessor :InstanceId, :SecurityGroupIds, :ForReadonlyInstance, :OpResourceId
|
10525
10531
|
|
10526
|
-
def initialize(instanceid=nil, securitygroupids=nil, forreadonlyinstance=nil)
|
10532
|
+
def initialize(instanceid=nil, securitygroupids=nil, forreadonlyinstance=nil, opresourceid=nil)
|
10527
10533
|
@InstanceId = instanceid
|
10528
10534
|
@SecurityGroupIds = securitygroupids
|
10529
10535
|
@ForReadonlyInstance = forreadonlyinstance
|
10536
|
+
@OpResourceId = opresourceid
|
10530
10537
|
end
|
10531
10538
|
|
10532
10539
|
def deserialize(params)
|
10533
10540
|
@InstanceId = params['InstanceId']
|
10534
10541
|
@SecurityGroupIds = params['SecurityGroupIds']
|
10535
10542
|
@ForReadonlyInstance = params['ForReadonlyInstance']
|
10543
|
+
@OpResourceId = params['OpResourceId']
|
10536
10544
|
end
|
10537
10545
|
end
|
10538
10546
|
|
@@ -10566,16 +10574,19 @@ module TencentCloud
|
|
10566
10574
|
# @type UniqSubnetId: String
|
10567
10575
|
# @param ReleaseDuration: 进行基础网络转 VPC 网络和 VPC 网络下的子网变更时,原网络中旧IP的回收时间,单位为小时,取值范围为0-168,默认值为24小时。
|
10568
10576
|
# @type ReleaseDuration: Integer
|
10577
|
+
# @param OpResourceId: 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
|
10578
|
+
# @type OpResourceId: String
|
10569
10579
|
|
10570
|
-
attr_accessor :InstanceId, :DstIp, :DstPort, :UniqVpcId, :UniqSubnetId, :ReleaseDuration
|
10580
|
+
attr_accessor :InstanceId, :DstIp, :DstPort, :UniqVpcId, :UniqSubnetId, :ReleaseDuration, :OpResourceId
|
10571
10581
|
|
10572
|
-
def initialize(instanceid=nil, dstip=nil, dstport=nil, uniqvpcid=nil, uniqsubnetid=nil, releaseduration=nil)
|
10582
|
+
def initialize(instanceid=nil, dstip=nil, dstport=nil, uniqvpcid=nil, uniqsubnetid=nil, releaseduration=nil, opresourceid=nil)
|
10573
10583
|
@InstanceId = instanceid
|
10574
10584
|
@DstIp = dstip
|
10575
10585
|
@DstPort = dstport
|
10576
10586
|
@UniqVpcId = uniqvpcid
|
10577
10587
|
@UniqSubnetId = uniqsubnetid
|
10578
10588
|
@ReleaseDuration = releaseduration
|
10589
|
+
@OpResourceId = opresourceid
|
10579
10590
|
end
|
10580
10591
|
|
10581
10592
|
def deserialize(params)
|
@@ -10585,6 +10596,7 @@ module TencentCloud
|
|
10585
10596
|
@UniqVpcId = params['UniqVpcId']
|
10586
10597
|
@UniqSubnetId = params['UniqSubnetId']
|
10587
10598
|
@ReleaseDuration = params['ReleaseDuration']
|
10599
|
+
@OpResourceId = params['OpResourceId']
|
10588
10600
|
end
|
10589
10601
|
end
|
10590
10602
|
|
@@ -11303,15 +11315,19 @@ module TencentCloud
|
|
11303
11315
|
class OpenWanServiceRequest < TencentCloud::Common::AbstractModel
|
11304
11316
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
11305
11317
|
# @type InstanceId: String
|
11318
|
+
# @param OpResourceId: 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
|
11319
|
+
# @type OpResourceId: String
|
11306
11320
|
|
11307
|
-
attr_accessor :InstanceId
|
11321
|
+
attr_accessor :InstanceId, :OpResourceId
|
11308
11322
|
|
11309
|
-
def initialize(instanceid=nil)
|
11323
|
+
def initialize(instanceid=nil, opresourceid=nil)
|
11310
11324
|
@InstanceId = instanceid
|
11325
|
+
@OpResourceId = opresourceid
|
11311
11326
|
end
|
11312
11327
|
|
11313
11328
|
def deserialize(params)
|
11314
11329
|
@InstanceId = params['InstanceId']
|
11330
|
+
@OpResourceId = params['OpResourceId']
|
11315
11331
|
end
|
11316
11332
|
end
|
11317
11333
|
|
@@ -13477,14 +13493,17 @@ module TencentCloud
|
|
13477
13493
|
# @type ForceSwitch: Boolean
|
13478
13494
|
# @param WaitSwitch: 是否时间窗内切换。默认为 False,即不在时间窗内切换。注意,如果设置了 ForceSwitch 参数为 True,则该参数不生效。
|
13479
13495
|
# @type WaitSwitch: Boolean
|
13496
|
+
# @param DstNodeId: 集群版实例指定节点id发起主从切换。
|
13497
|
+
# @type DstNodeId: String
|
13480
13498
|
|
13481
|
-
attr_accessor :InstanceId, :DstSlave, :ForceSwitch, :WaitSwitch
|
13499
|
+
attr_accessor :InstanceId, :DstSlave, :ForceSwitch, :WaitSwitch, :DstNodeId
|
13482
13500
|
|
13483
|
-
def initialize(instanceid=nil, dstslave=nil, forceswitch=nil, waitswitch=nil)
|
13501
|
+
def initialize(instanceid=nil, dstslave=nil, forceswitch=nil, waitswitch=nil, dstnodeid=nil)
|
13484
13502
|
@InstanceId = instanceid
|
13485
13503
|
@DstSlave = dstslave
|
13486
13504
|
@ForceSwitch = forceswitch
|
13487
13505
|
@WaitSwitch = waitswitch
|
13506
|
+
@DstNodeId = dstnodeid
|
13488
13507
|
end
|
13489
13508
|
|
13490
13509
|
def deserialize(params)
|
@@ -13492,6 +13511,7 @@ module TencentCloud
|
|
13492
13511
|
@DstSlave = params['DstSlave']
|
13493
13512
|
@ForceSwitch = params['ForceSwitch']
|
13494
13513
|
@WaitSwitch = params['WaitSwitch']
|
13514
|
+
@DstNodeId = params['DstNodeId']
|
13495
13515
|
end
|
13496
13516
|
end
|
13497
13517
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.909
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|