tencentcloud-sdk-dcdb 1.0.236 → 1.0.240

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180411/models.rb +32 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c31c413ccec3c7fc7030226303244ffcd6137614
4
- data.tar.gz: 012522e846223e21effcae34dd2f92e955019726
3
+ metadata.gz: 4158a4c429d785612736f1e0ce5e6e206453ecb9
4
+ data.tar.gz: 56cfa3bf3a54f96c6dd093bf1c3fca5b7d16d013
5
5
  SHA512:
6
- metadata.gz: 51fddbfa1ba14f27cc32fd612b632168b5356665eb86c6c516a442bf6b28fddfed72c382d851d7fc0444bd0539ddefbb2ff6e816d795a85e4adfa75ebb1139c4
7
- data.tar.gz: 113c358f7415368dd26cbca01c17f6d852ff606c9f922b6eb3c59dd20bdf11dbb0a1f29f68c03054ee285137b04ce8eced9825b13e9ab6af16aae3ed4375bfca
6
+ metadata.gz: 645743f475a3e2a3eb04b6ee3a571fbbd39f67914fa57348900f63988a96e07f731fa152ad29ca29c00774e7fc38a3cedb4cad8ac5729108c696ea6a8da28a8b
7
+ data.tar.gz: 58cb4a9a590bd1b8c87c22be781946a8dd772da4527c91952a745928e0abf3859970ecd8a25b1ae7aa76d3d22e7e7d1b200887e99f4ec9015e0e59cb7becbfed
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.236
1
+ 1.0.240
@@ -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 :Action, :CidrIp, :PortRange, :IpProtocol
3812
+ attr_accessor :CidrIp, :Action, :PortRange, :IpProtocol
3793
3813
 
3794
- def initialize(action=nil, cidrip=nil, portrange=nil, ipprotocol=nil)
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.236
4
+ version: 1.0.240
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-06 00:00:00.000000000 Z
11
+ date: 2022-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common