tencentcloud-sdk-dcdb 1.0.238 → 1.0.239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180411/models.rb +32 -12
- 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: a4c098cc203494f5a7ab7d419b224eb934bd4fe5
|
4
|
+
data.tar.gz: b83d1a17ca83f0719b6bda43ad4ff5d23460ce90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62aaa6a3b30816dd3a5438a9e6535ec9c57eabb279a62423d271414d86b5ffb35e2aba0f4c3e524322d38d41dad65618ae2455bea01c8ab0393fd1ebd3cde7e1
|
7
|
+
data.tar.gz: 492d72085a6f5ae0a851e455edaf03b00318a6212a993f614039e753730c821c1726af1bc7986267319354e9f56c03b0e05f3daadf30e9e4fd872b198bd84c6a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.239
|
data/lib/v20180411/models.rb
CHANGED
@@ -438,10 +438,12 @@ module TencentCloud
|
|
438
438
|
# @type DcnInstanceId: String
|
439
439
|
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费,用户开通了预付费不停服特权也会进行自动续费), 1表示自动续费,2表示明确不自动续费(用户设置),若业务无续费概念或无需自动续费,需要设置为0
|
440
440
|
# @type AutoRenewFlag: Integer
|
441
|
+
# @param SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
|
442
|
+
# @type SecurityGroupIds: Array
|
441
443
|
|
442
|
-
attr_accessor :Zones, :Period, :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :AutoVoucher, :VoucherIds, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :AutoRenewFlag
|
444
|
+
attr_accessor :Zones, :Period, :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :AutoVoucher, :VoucherIds, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :AutoRenewFlag, :SecurityGroupIds
|
443
445
|
|
444
|
-
def initialize(zones=nil, period=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, autovoucher=nil, voucherids=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil, autorenewflag=nil)
|
446
|
+
def initialize(zones=nil, period=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, autovoucher=nil, voucherids=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil, autorenewflag=nil, securitygroupids=nil)
|
445
447
|
@Zones = zones
|
446
448
|
@Period = period
|
447
449
|
@ShardMemory = shardmemory
|
@@ -463,6 +465,7 @@ module TencentCloud
|
|
463
465
|
@DcnRegion = dcnregion
|
464
466
|
@DcnInstanceId = dcninstanceid
|
465
467
|
@AutoRenewFlag = autorenewflag
|
468
|
+
@SecurityGroupIds = securitygroupids
|
466
469
|
end
|
467
470
|
|
468
471
|
def deserialize(params)
|
@@ -501,6 +504,7 @@ module TencentCloud
|
|
501
504
|
@DcnRegion = params['DcnRegion']
|
502
505
|
@DcnInstanceId = params['DcnInstanceId']
|
503
506
|
@AutoRenewFlag = params['AutoRenewFlag']
|
507
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
504
508
|
end
|
505
509
|
end
|
506
510
|
|
@@ -841,10 +845,13 @@ module TencentCloud
|
|
841
845
|
# @param InstanceType: 1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
|
842
846
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
843
847
|
# @type InstanceType: Integer
|
848
|
+
# @param ResourceTags: 实例标签信息
|
849
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
850
|
+
# @type ResourceTags: Array
|
844
851
|
|
845
|
-
attr_accessor :InstanceId, :InstanceName, :AppId, :ProjectId, :Region, :Zone, :VpcId, :SubnetId, :StatusDesc, :Status, :Vip, :Vport, :CreateTime, :AutoRenewFlag, :Memory, :Storage, :ShardCount, :PeriodEndTime, :IsolatedTimestamp, :Uin, :ShardDetail, :NodeCount, :IsTmp, :ExclusterId, :UniqueVpcId, :UniqueSubnetId, :Id, :WanDomain, :WanVip, :WanPort, :Pid, :UpdateTime, :DbEngine, :DbVersion, :Paymode, :Locker, :WanStatus, :IsAuditSupported, :Cpu, :Ipv6Flag, :Vipv6, :WanVipv6, :WanPortIpv6, :WanStatusIpv6, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType
|
852
|
+
attr_accessor :InstanceId, :InstanceName, :AppId, :ProjectId, :Region, :Zone, :VpcId, :SubnetId, :StatusDesc, :Status, :Vip, :Vport, :CreateTime, :AutoRenewFlag, :Memory, :Storage, :ShardCount, :PeriodEndTime, :IsolatedTimestamp, :Uin, :ShardDetail, :NodeCount, :IsTmp, :ExclusterId, :UniqueVpcId, :UniqueSubnetId, :Id, :WanDomain, :WanVip, :WanPort, :Pid, :UpdateTime, :DbEngine, :DbVersion, :Paymode, :Locker, :WanStatus, :IsAuditSupported, :Cpu, :Ipv6Flag, :Vipv6, :WanVipv6, :WanPortIpv6, :WanStatusIpv6, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :ResourceTags
|
846
853
|
|
847
|
-
def initialize(instanceid=nil, instancename=nil, appid=nil, projectid=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, statusdesc=nil, status=nil, vip=nil, vport=nil, createtime=nil, autorenewflag=nil, memory=nil, storage=nil, shardcount=nil, periodendtime=nil, isolatedtimestamp=nil, uin=nil, sharddetail=nil, nodecount=nil, istmp=nil, exclusterid=nil, uniquevpcid=nil, uniquesubnetid=nil, id=nil, wandomain=nil, wanvip=nil, wanport=nil, pid=nil, updatetime=nil, dbengine=nil, dbversion=nil, paymode=nil, locker=nil, wanstatus=nil, isauditsupported=nil, cpu=nil, ipv6flag=nil, vipv6=nil, wanvipv6=nil, wanportipv6=nil, wanstatusipv6=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil)
|
854
|
+
def initialize(instanceid=nil, instancename=nil, appid=nil, projectid=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, statusdesc=nil, status=nil, vip=nil, vport=nil, createtime=nil, autorenewflag=nil, memory=nil, storage=nil, shardcount=nil, periodendtime=nil, isolatedtimestamp=nil, uin=nil, sharddetail=nil, nodecount=nil, istmp=nil, exclusterid=nil, uniquevpcid=nil, uniquesubnetid=nil, id=nil, wandomain=nil, wanvip=nil, wanport=nil, pid=nil, updatetime=nil, dbengine=nil, dbversion=nil, paymode=nil, locker=nil, wanstatus=nil, isauditsupported=nil, cpu=nil, ipv6flag=nil, vipv6=nil, wanvipv6=nil, wanportipv6=nil, wanstatusipv6=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, resourcetags=nil)
|
848
855
|
@InstanceId = instanceid
|
849
856
|
@InstanceName = instancename
|
850
857
|
@AppId = appid
|
@@ -893,6 +900,7 @@ module TencentCloud
|
|
893
900
|
@DcnStatus = dcnstatus
|
894
901
|
@DcnDstNum = dcndstnum
|
895
902
|
@InstanceType = instancetype
|
903
|
+
@ResourceTags = resourcetags
|
896
904
|
end
|
897
905
|
|
898
906
|
def deserialize(params)
|
@@ -951,6 +959,14 @@ module TencentCloud
|
|
951
959
|
@DcnStatus = params['DcnStatus']
|
952
960
|
@DcnDstNum = params['DcnDstNum']
|
953
961
|
@InstanceType = params['InstanceType']
|
962
|
+
unless params['ResourceTags'].nil?
|
963
|
+
@ResourceTags = []
|
964
|
+
params['ResourceTags'].each do |i|
|
965
|
+
resourcetag_tmp = ResourceTag.new
|
966
|
+
resourcetag_tmp.deserialize(i)
|
967
|
+
@ResourceTags << resourcetag_tmp
|
968
|
+
end
|
969
|
+
end
|
954
970
|
end
|
955
971
|
end
|
956
972
|
|
@@ -2512,13 +2528,16 @@ module TencentCloud
|
|
2512
2528
|
class DescribeProjectSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
2513
2529
|
# @param Groups: 安全组详情。
|
2514
2530
|
# @type Groups: Array
|
2531
|
+
# @param Total: 安全组个数。
|
2532
|
+
# @type Total: Integer
|
2515
2533
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2516
2534
|
# @type RequestId: String
|
2517
2535
|
|
2518
|
-
attr_accessor :Groups, :RequestId
|
2536
|
+
attr_accessor :Groups, :Total, :RequestId
|
2519
2537
|
|
2520
|
-
def initialize(groups=nil, requestid=nil)
|
2538
|
+
def initialize(groups=nil, total=nil, requestid=nil)
|
2521
2539
|
@Groups = groups
|
2540
|
+
@Total = total
|
2522
2541
|
@RequestId = requestid
|
2523
2542
|
end
|
2524
2543
|
|
@@ -2531,6 +2550,7 @@ module TencentCloud
|
|
2531
2550
|
@Groups << securitygroup_tmp
|
2532
2551
|
end
|
2533
2552
|
end
|
2553
|
+
@Total = params['Total']
|
2534
2554
|
@RequestId = params['RequestId']
|
2535
2555
|
end
|
2536
2556
|
end
|
@@ -3780,27 +3800,27 @@ module TencentCloud
|
|
3780
3800
|
|
3781
3801
|
# 安全出入口规则
|
3782
3802
|
class SecurityGroupBound < TencentCloud::Common::AbstractModel
|
3783
|
-
# @param Action: 策略,ACCEPT 或者 DROP
|
3784
|
-
# @type Action: String
|
3785
3803
|
# @param CidrIp: 来源 IP 或 IP 段,例如192.168.0.0/16
|
3786
3804
|
# @type CidrIp: String
|
3805
|
+
# @param Action: 策略,ACCEPT 或者 DROP
|
3806
|
+
# @type Action: String
|
3787
3807
|
# @param PortRange: 端口
|
3788
3808
|
# @type PortRange: String
|
3789
3809
|
# @param IpProtocol: 网络协议,支持 UDP、TCP 等
|
3790
3810
|
# @type IpProtocol: String
|
3791
3811
|
|
3792
|
-
attr_accessor :
|
3812
|
+
attr_accessor :CidrIp, :Action, :PortRange, :IpProtocol
|
3793
3813
|
|
3794
|
-
def initialize(
|
3795
|
-
@Action = action
|
3814
|
+
def initialize(cidrip=nil, action=nil, portrange=nil, ipprotocol=nil)
|
3796
3815
|
@CidrIp = cidrip
|
3816
|
+
@Action = action
|
3797
3817
|
@PortRange = portrange
|
3798
3818
|
@IpProtocol = ipprotocol
|
3799
3819
|
end
|
3800
3820
|
|
3801
3821
|
def deserialize(params)
|
3802
|
-
@Action = params['Action']
|
3803
3822
|
@CidrIp = params['CidrIp']
|
3823
|
+
@Action = params['Action']
|
3804
3824
|
@PortRange = params['PortRange']
|
3805
3825
|
@IpProtocol = params['IpProtocol']
|
3806
3826
|
end
|
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.
|
4
|
+
version: 1.0.239
|
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-01-
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|