tencentcloud-sdk-postgres 3.0.621 → 3.0.623

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/v20170312/models.rb +57 -42
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df5f5c5885c3e4a8f123777f56b8283fdcd582f2
4
- data.tar.gz: 76668d944d5e344ad156854284419e6a1f2e481e
3
+ metadata.gz: 51768e55900a9f1812dac2ce45ce0be695950134
4
+ data.tar.gz: c2da14770ff89636d06ec4f7e145d67244f44954
5
5
  SHA512:
6
- metadata.gz: 57f47d3888500293a3d0d4158caec6142d5b1f22ea18ad1d83be29797c7defca8d0cc37e9caec34d3da6ede2f3f42d89867798247907f27e3631d3224cdb18e7
7
- data.tar.gz: d42382505ac24efa46bdca212095e7bc099eeb9a974ea76f15d05daf3ce8f6462d6b0e444af89ed8c0abbb17579d6d68d18d44a8eea202a4bd5b5434e69766b2
6
+ metadata.gz: b2214a9426c9a97965d95b14cc991f29bdbe2acbedd35252139214e5eae99f1b93109828c24f320ade40f19a4cbcc2da2140171eb8ee0ffae5c6817f00c78f60
7
+ data.tar.gz: 306937ed747e4d0757b489b2f79ecf7c879cd94d12537bd652474f3c568fd9cbd4e1dd185edf30b81701d201fdc898c1ac760cc5d2b1f5e09b82082001f720b5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.621
1
+ 3.0.623
@@ -1070,96 +1070,111 @@ module TencentCloud
1070
1070
 
1071
1071
  # CreateReadOnlyDBInstance请求参数结构体
1072
1072
  class CreateReadOnlyDBInstanceRequest < TencentCloud::Common::AbstractModel
1073
- # @param SpecCode: 售卖规格ID。该参数可以通过调用DescribeClasses的返回值中的SpecCode字段来获取。
1073
+ # @param Zone: 实例所属主可用区, 如:ap-guangzhou-3;
1074
+ # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
1075
+ # @type Zone: String
1076
+ # @param MasterDBInstanceId: 只读实例的主实例ID。
1077
+ # @type MasterDBInstanceId: String
1078
+ # @param SpecCode: 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。
1074
1079
  # @type SpecCode: String
1075
1080
  # @param Storage: 实例容量大小,单位:GB。
1076
1081
  # @type Storage: Integer
1077
- # @param InstanceCount: 一次性购买的实例数量。取值1-100
1082
+ # @param InstanceCount: 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。
1078
1083
  # @type InstanceCount: Integer
1079
- # @param Period: 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。
1084
+ # @param Period: 购买时长,单位:月。
1085
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
1086
+ # <li>后付费:只支持1
1080
1087
  # @type Period: Integer
1081
- # @param MasterDBInstanceId: 只读实例的主实例ID
1082
- # @type MasterDBInstanceId: String
1083
- # @param Zone: 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
1084
- # @type Zone: String
1085
- # @param ProjectId: 项目ID。
1086
- # @type ProjectId: Integer
1087
- # @param DBVersion: 【废弃】不再需要指定,内核版本号与主实例保持一致
1088
- # @type DBVersion: String
1089
- # @param InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
1088
+ # @param VpcId: 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
1089
+ # @type VpcId: String
1090
+ # @param SubnetId: 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
1091
+ # @type SubnetId: String
1092
+ # @param InstanceChargeType: 实例计费类型,目前支持:
1093
+ # <li>PREPAID:预付费,即包年包月。
1094
+ # <li>POSTPAID_BY_HOUR:后付费,即按量计费。
1095
+ # 默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
1090
1096
  # @type InstanceChargeType: String
1091
- # @param AutoVoucher: 是否自动使用代金券。1(是),0(否),默认不使用。
1097
+ # @param AutoVoucher: 是否自动使用代金券:
1098
+ # <li>0:否
1099
+ # <li>1:是
1100
+ # 默认值:0
1092
1101
  # @type AutoVoucher: Integer
1093
1102
  # @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
1094
1103
  # @type VoucherIds: Array
1095
- # @param AutoRenewFlag: 续费标记:0-正常续费(默认);1-自动续费;
1104
+ # @param AutoRenewFlag: 续费标记:
1105
+ # <li>0:手动续费
1106
+ # <li>1:自动续费
1107
+ # 默认值:0
1096
1108
  # @type AutoRenewFlag: Integer
1097
- # @param VpcId: 私有网络ID。
1098
- # @type VpcId: String
1099
- # @param SubnetId: 私有网络子网ID。
1100
- # @type SubnetId: String
1109
+ # @param ProjectId: 项目ID。
1110
+ # @type ProjectId: Integer
1101
1111
  # @param ActivityId: 优惠活动ID
1102
1112
  # @type ActivityId: Integer
1103
- # @param Name: 实例名(后续支持)
1104
- # @type Name: String
1105
- # @param NeedSupportIpv6: 是否需要支持Ipv6,1:是,0:否
1106
- # @type NeedSupportIpv6: Integer
1107
1113
  # @param ReadOnlyGroupId: 只读组ID。
1108
1114
  # @type ReadOnlyGroupId: String
1109
- # @param TagList: 实例需要绑定的Tag信息,默认为空(该类型为Tag数组类型)
1115
+ # @param TagList: 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。
1110
1116
  # @type TagList: :class:`Tencentcloud::Postgres.v20170312.models.Tag`
1111
- # @param SecurityGroupIds: 安全组id
1117
+ # @param SecurityGroupIds: 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
1112
1118
  # @type SecurityGroupIds: Array
1119
+ # @param NeedSupportIpv6: 是否需要支持Ipv6:
1120
+ # <li>0:否
1121
+ # <li>1:是
1122
+ # 默认值:0
1123
+ # @type NeedSupportIpv6: Integer
1124
+ # @param Name: 实例名(后续支持)
1125
+ # @type Name: String
1126
+ # @param DBVersion: 【废弃】不再需要指定,内核版本号与主实例保持一致
1127
+ # @type DBVersion: String
1113
1128
 
1114
- attr_accessor :SpecCode, :Storage, :InstanceCount, :Period, :MasterDBInstanceId, :Zone, :ProjectId, :DBVersion, :InstanceChargeType, :AutoVoucher, :VoucherIds, :AutoRenewFlag, :VpcId, :SubnetId, :ActivityId, :Name, :NeedSupportIpv6, :ReadOnlyGroupId, :TagList, :SecurityGroupIds
1129
+ attr_accessor :Zone, :MasterDBInstanceId, :SpecCode, :Storage, :InstanceCount, :Period, :VpcId, :SubnetId, :InstanceChargeType, :AutoVoucher, :VoucherIds, :AutoRenewFlag, :ProjectId, :ActivityId, :ReadOnlyGroupId, :TagList, :SecurityGroupIds, :NeedSupportIpv6, :Name, :DBVersion
1115
1130
 
1116
- def initialize(speccode=nil, storage=nil, instancecount=nil, period=nil, masterdbinstanceid=nil, zone=nil, projectid=nil, dbversion=nil, instancechargetype=nil, autovoucher=nil, voucherids=nil, autorenewflag=nil, vpcid=nil, subnetid=nil, activityid=nil, name=nil, needsupportipv6=nil, readonlygroupid=nil, taglist=nil, securitygroupids=nil)
1131
+ def initialize(zone=nil, masterdbinstanceid=nil, speccode=nil, storage=nil, instancecount=nil, period=nil, vpcid=nil, subnetid=nil, instancechargetype=nil, autovoucher=nil, voucherids=nil, autorenewflag=nil, projectid=nil, activityid=nil, readonlygroupid=nil, taglist=nil, securitygroupids=nil, needsupportipv6=nil, name=nil, dbversion=nil)
1132
+ @Zone = zone
1133
+ @MasterDBInstanceId = masterdbinstanceid
1117
1134
  @SpecCode = speccode
1118
1135
  @Storage = storage
1119
1136
  @InstanceCount = instancecount
1120
1137
  @Period = period
1121
- @MasterDBInstanceId = masterdbinstanceid
1122
- @Zone = zone
1123
- @ProjectId = projectid
1124
- @DBVersion = dbversion
1138
+ @VpcId = vpcid
1139
+ @SubnetId = subnetid
1125
1140
  @InstanceChargeType = instancechargetype
1126
1141
  @AutoVoucher = autovoucher
1127
1142
  @VoucherIds = voucherids
1128
1143
  @AutoRenewFlag = autorenewflag
1129
- @VpcId = vpcid
1130
- @SubnetId = subnetid
1144
+ @ProjectId = projectid
1131
1145
  @ActivityId = activityid
1132
- @Name = name
1133
- @NeedSupportIpv6 = needsupportipv6
1134
1146
  @ReadOnlyGroupId = readonlygroupid
1135
1147
  @TagList = taglist
1136
1148
  @SecurityGroupIds = securitygroupids
1149
+ @NeedSupportIpv6 = needsupportipv6
1150
+ @Name = name
1151
+ @DBVersion = dbversion
1137
1152
  end
1138
1153
 
1139
1154
  def deserialize(params)
1155
+ @Zone = params['Zone']
1156
+ @MasterDBInstanceId = params['MasterDBInstanceId']
1140
1157
  @SpecCode = params['SpecCode']
1141
1158
  @Storage = params['Storage']
1142
1159
  @InstanceCount = params['InstanceCount']
1143
1160
  @Period = params['Period']
1144
- @MasterDBInstanceId = params['MasterDBInstanceId']
1145
- @Zone = params['Zone']
1146
- @ProjectId = params['ProjectId']
1147
- @DBVersion = params['DBVersion']
1161
+ @VpcId = params['VpcId']
1162
+ @SubnetId = params['SubnetId']
1148
1163
  @InstanceChargeType = params['InstanceChargeType']
1149
1164
  @AutoVoucher = params['AutoVoucher']
1150
1165
  @VoucherIds = params['VoucherIds']
1151
1166
  @AutoRenewFlag = params['AutoRenewFlag']
1152
- @VpcId = params['VpcId']
1153
- @SubnetId = params['SubnetId']
1167
+ @ProjectId = params['ProjectId']
1154
1168
  @ActivityId = params['ActivityId']
1155
- @Name = params['Name']
1156
- @NeedSupportIpv6 = params['NeedSupportIpv6']
1157
1169
  @ReadOnlyGroupId = params['ReadOnlyGroupId']
1158
1170
  unless params['TagList'].nil?
1159
1171
  @TagList = Tag.new
1160
1172
  @TagList.deserialize(params['TagList'])
1161
1173
  end
1162
1174
  @SecurityGroupIds = params['SecurityGroupIds']
1175
+ @NeedSupportIpv6 = params['NeedSupportIpv6']
1176
+ @Name = params['Name']
1177
+ @DBVersion = params['DBVersion']
1163
1178
  end
1164
1179
  end
1165
1180
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.621
4
+ version: 3.0.623
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-26 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common