tencentcloud-sdk-dcdb 3.0.808 → 3.0.809
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/v20180411/models.rb +39 -4
- 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: a3dbcde542d039f251dd0b74b1a9d7015a04f5fa
|
4
|
+
data.tar.gz: 243bfacf5646069467919fd9467ee40f9416bdc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36f7a138409de9d84dfaf7926a7412b55407895af50f2f3e8fb6f195932e7856094255ff806be5a7bcc25dc63194a11b79f1be54902295a03ca6bae47a52eea
|
7
|
+
data.tar.gz: b2ae3d13f3d04ac9b0bd0f3fd74831249c006ab20dbf4608edd33d615715b02ddf59d6ba765dea8ec6766736597ca061129ff07f1cc958c97f03a4ba6083d3ab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.809
|
data/lib/v20180411/models.rb
CHANGED
@@ -2707,6 +2707,8 @@ module TencentCloud
|
|
2707
2707
|
# @type ExclusterIds: Array
|
2708
2708
|
# @param TagKeys: 按标签key查询
|
2709
2709
|
# @type TagKeys: Array
|
2710
|
+
# @param Tags: 标签
|
2711
|
+
# @type Tags: Array
|
2710
2712
|
# @param FilterInstanceType: 实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔
|
2711
2713
|
# @type FilterInstanceType: String
|
2712
2714
|
# @param Status: 按实例状态筛选
|
@@ -2714,9 +2716,9 @@ module TencentCloud
|
|
2714
2716
|
# @param ExcludeStatus: 排除实例状态
|
2715
2717
|
# @type ExcludeStatus: Array
|
2716
2718
|
|
2717
|
-
attr_accessor :InstanceIds, :SearchName, :SearchKey, :ProjectIds, :IsFilterVpc, :VpcId, :SubnetId, :OrderBy, :OrderByType, :Offset, :Limit, :ExclusterType, :IsFilterExcluster, :ExclusterIds, :TagKeys, :FilterInstanceType, :Status, :ExcludeStatus
|
2719
|
+
attr_accessor :InstanceIds, :SearchName, :SearchKey, :ProjectIds, :IsFilterVpc, :VpcId, :SubnetId, :OrderBy, :OrderByType, :Offset, :Limit, :ExclusterType, :IsFilterExcluster, :ExclusterIds, :TagKeys, :Tags, :FilterInstanceType, :Status, :ExcludeStatus
|
2718
2720
|
|
2719
|
-
def initialize(instanceids=nil, searchname=nil, searchkey=nil, projectids=nil, isfiltervpc=nil, vpcid=nil, subnetid=nil, orderby=nil, orderbytype=nil, offset=nil, limit=nil, exclustertype=nil, isfilterexcluster=nil, exclusterids=nil, tagkeys=nil, filterinstancetype=nil, status=nil, excludestatus=nil)
|
2721
|
+
def initialize(instanceids=nil, searchname=nil, searchkey=nil, projectids=nil, isfiltervpc=nil, vpcid=nil, subnetid=nil, orderby=nil, orderbytype=nil, offset=nil, limit=nil, exclustertype=nil, isfilterexcluster=nil, exclusterids=nil, tagkeys=nil, tags=nil, filterinstancetype=nil, status=nil, excludestatus=nil)
|
2720
2722
|
@InstanceIds = instanceids
|
2721
2723
|
@SearchName = searchname
|
2722
2724
|
@SearchKey = searchkey
|
@@ -2732,6 +2734,7 @@ module TencentCloud
|
|
2732
2734
|
@IsFilterExcluster = isfilterexcluster
|
2733
2735
|
@ExclusterIds = exclusterids
|
2734
2736
|
@TagKeys = tagkeys
|
2737
|
+
@Tags = tags
|
2735
2738
|
@FilterInstanceType = filterinstancetype
|
2736
2739
|
@Status = status
|
2737
2740
|
@ExcludeStatus = excludestatus
|
@@ -2753,6 +2756,14 @@ module TencentCloud
|
|
2753
2756
|
@IsFilterExcluster = params['IsFilterExcluster']
|
2754
2757
|
@ExclusterIds = params['ExclusterIds']
|
2755
2758
|
@TagKeys = params['TagKeys']
|
2759
|
+
unless params['Tags'].nil?
|
2760
|
+
@Tags = []
|
2761
|
+
params['Tags'].each do |i|
|
2762
|
+
tag_tmp = Tag.new
|
2763
|
+
tag_tmp.deserialize(i)
|
2764
|
+
@Tags << tag_tmp
|
2765
|
+
end
|
2766
|
+
end
|
2756
2767
|
@FilterInstanceType = params['FilterInstanceType']
|
2757
2768
|
@Status = params['Status']
|
2758
2769
|
@ExcludeStatus = params['ExcludeStatus']
|
@@ -5729,17 +5740,21 @@ module TencentCloud
|
|
5729
5740
|
# @type InstanceId: String
|
5730
5741
|
# @param Zone: 切换的目标区域,会自动选择该可用区中延迟最低的节点。
|
5731
5742
|
# @type Zone: String
|
5743
|
+
# @param ShardInstanceIds: 指定分片实例id进行切换
|
5744
|
+
# @type ShardInstanceIds: Array
|
5732
5745
|
|
5733
|
-
attr_accessor :InstanceId, :Zone
|
5746
|
+
attr_accessor :InstanceId, :Zone, :ShardInstanceIds
|
5734
5747
|
|
5735
|
-
def initialize(instanceid=nil, zone=nil)
|
5748
|
+
def initialize(instanceid=nil, zone=nil, shardinstanceids=nil)
|
5736
5749
|
@InstanceId = instanceid
|
5737
5750
|
@Zone = zone
|
5751
|
+
@ShardInstanceIds = shardinstanceids
|
5738
5752
|
end
|
5739
5753
|
|
5740
5754
|
def deserialize(params)
|
5741
5755
|
@InstanceId = params['InstanceId']
|
5742
5756
|
@Zone = params['Zone']
|
5757
|
+
@ShardInstanceIds = params['ShardInstanceIds']
|
5743
5758
|
end
|
5744
5759
|
end
|
5745
5760
|
|
@@ -5807,6 +5822,26 @@ module TencentCloud
|
|
5807
5822
|
end
|
5808
5823
|
end
|
5809
5824
|
|
5825
|
+
# 标签
|
5826
|
+
class Tag < TencentCloud::Common::AbstractModel
|
5827
|
+
# @param TagKey: 标签键
|
5828
|
+
# @type TagKey: String
|
5829
|
+
# @param TagValue: 标签值
|
5830
|
+
# @type TagValue: String
|
5831
|
+
|
5832
|
+
attr_accessor :TagKey, :TagValue
|
5833
|
+
|
5834
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
5835
|
+
@TagKey = tagkey
|
5836
|
+
@TagValue = tagvalue
|
5837
|
+
end
|
5838
|
+
|
5839
|
+
def deserialize(params)
|
5840
|
+
@TagKey = params['TagKey']
|
5841
|
+
@TagValue = params['TagValue']
|
5842
|
+
end
|
5843
|
+
end
|
5844
|
+
|
5810
5845
|
# TerminateDedicatedDBInstance请求参数结构体
|
5811
5846
|
class TerminateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
|
5812
5847
|
# @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
|
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: 3.0.
|
4
|
+
version: 3.0.809
|
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-04-
|
11
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|