tencentcloud-sdk-postgres 3.0.621 → 3.0.622
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/v20170312/models.rb +57 -42
- 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: 468de50b787f7afd3a22b8b3c715243c9f656734
|
4
|
+
data.tar.gz: 5322bad12b0d2423931bdd89695f55f48554e6fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54e57f0bb64fc3cc526724a1e381817516cdb935a1754709a475ad2e646b57eca7a01c895b21521203b39cf9de05ca5056b7829c2fbcf5f22163ffd39b1552db
|
7
|
+
data.tar.gz: 97930a8849e6f496bf2957816ccb058ebfa1dd866e5d88ce1871d8276e684f2c9a29bbb9fa5485b92f5dd42ba75e749412c6ca55d6309d5f1c419cf933072a5c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.622
|
data/lib/v20170312/models.rb
CHANGED
@@ -1070,96 +1070,111 @@ module TencentCloud
|
|
1070
1070
|
|
1071
1071
|
# CreateReadOnlyDBInstance请求参数结构体
|
1072
1072
|
class CreateReadOnlyDBInstanceRequest < TencentCloud::Common::AbstractModel
|
1073
|
-
# @param
|
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:
|
1082
|
+
# @param InstanceCount: 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。
|
1078
1083
|
# @type InstanceCount: Integer
|
1079
|
-
# @param Period:
|
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
|
1082
|
-
# @type
|
1083
|
-
# @param
|
1084
|
-
# @type
|
1085
|
-
# @param
|
1086
|
-
#
|
1087
|
-
#
|
1088
|
-
#
|
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:
|
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: 续费标记:
|
1104
|
+
# @param AutoRenewFlag: 续费标记:
|
1105
|
+
# <li>0:手动续费
|
1106
|
+
# <li>1:自动续费
|
1107
|
+
# 默认值:0
|
1096
1108
|
# @type AutoRenewFlag: Integer
|
1097
|
-
# @param
|
1098
|
-
# @type
|
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
|
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:
|
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 :
|
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(
|
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
|
-
@
|
1122
|
-
@
|
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
|
-
@
|
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
|
-
@
|
1145
|
-
@
|
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
|
-
@
|
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.
|
4
|
+
version: 3.0.622
|
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-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|