tencentcloud-sdk-sqlserver 3.0.573 → 3.0.574
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/v20180328/client.rb +48 -0
- data/lib/v20180328/models.rb +266 -0
- 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: 82f606b1e7a4ba160d8a7bdad1bc185e5fdc81ac
|
4
|
+
data.tar.gz: 0152b04fa0a60b32466edb2d25a4b770ab785654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68bad608c0cdd1ccd4bccbce1ac4c4b690107dffe203be79a8d1f6b241d95ccfc25777f63b6641830c47d7254556728e36951bee20942473d8652a5ac6abd71b
|
7
|
+
data.tar.gz: d62078c79e3b0a403a3932eeb148b1d961bd19e78ab4e8a6b7504545f3e1701fac60f805730b5afcd5cda55fd090e9ea79a0a3db4287e1508b85a24ddf95725b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.574
|
data/lib/v20180328/client.rb
CHANGED
@@ -293,6 +293,54 @@ module TencentCloud
|
|
293
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
294
|
end
|
295
295
|
|
296
|
+
# 本接口(CreateCloudDBInstances)用于创建高可用实例(虚拟机版本)。
|
297
|
+
|
298
|
+
# @param request: Request instance for CreateCloudDBInstances.
|
299
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::CreateCloudDBInstancesRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::CreateCloudDBInstancesResponse`
|
301
|
+
def CreateCloudDBInstances(request)
|
302
|
+
body = send_request('CreateCloudDBInstances', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = CreateCloudDBInstancesResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
320
|
+
# 本接口(CreateCloudReadOnlyDBInstances)用于添加只读副本实例(虚拟机版本)。
|
321
|
+
|
322
|
+
# @param request: Request instance for CreateCloudReadOnlyDBInstances.
|
323
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::CreateCloudReadOnlyDBInstancesRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::CreateCloudReadOnlyDBInstancesResponse`
|
325
|
+
def CreateCloudReadOnlyDBInstances(request)
|
326
|
+
body = send_request('CreateCloudReadOnlyDBInstances', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = CreateCloudReadOnlyDBInstancesResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
296
344
|
# 本接口(CreateDB)用于创建数据库。
|
297
345
|
|
298
346
|
# @param request: Request instance for CreateDB.
|
data/lib/v20180328/models.rb
CHANGED
@@ -1081,6 +1081,272 @@ module TencentCloud
|
|
1081
1081
|
end
|
1082
1082
|
end
|
1083
1083
|
|
1084
|
+
# CreateCloudDBInstances请求参数结构体
|
1085
|
+
class CreateCloudDBInstancesRequest < TencentCloud::Common::AbstractModel
|
1086
|
+
# @param Zone: 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
|
1087
|
+
# @type Zone: String
|
1088
|
+
# @param Memory: 实例内存大小,单位GB
|
1089
|
+
# @type Memory: Integer
|
1090
|
+
# @param Storage: 实例磁盘大小,单位GB
|
1091
|
+
# @type Storage: Integer
|
1092
|
+
# @param Cpu: 实例核心数
|
1093
|
+
# @type Cpu: Integer
|
1094
|
+
# @param MachineType: 购买实例的宿主机磁盘类型,CLOUD_HSSD-虚拟机加强型SSD云盘,CLOUD_TSSD-虚拟机极速型SSD云盘,CLOUD_BSSD-虚拟机通用型SSD云盘
|
1095
|
+
# @type MachineType: String
|
1096
|
+
# @param InstanceChargeType: 付费模式,取值支持 PREPAID(预付费),POSTPAID(后付费)。
|
1097
|
+
# @type InstanceChargeType: String
|
1098
|
+
# @param ProjectId: 项目ID
|
1099
|
+
# @type ProjectId: Integer
|
1100
|
+
# @param GoodsNum: 本次购买几个实例,默认值为1。取值不超过10
|
1101
|
+
# @type GoodsNum: Integer
|
1102
|
+
# @param SubnetId: VPC子网ID,形如subnet-bdoe83fa;SubnetId和VpcId需同时设置或者同时不设置
|
1103
|
+
# @type SubnetId: String
|
1104
|
+
# @param VpcId: VPC网络ID,形如vpc-dsp338hz;SubnetId和VpcId需同时设置或者同时不设置
|
1105
|
+
# @type VpcId: String
|
1106
|
+
# @param Period: 购买实例周期,默认取值为1,表示一个月。取值不超过48
|
1107
|
+
# @type Period: Integer
|
1108
|
+
# @param AutoVoucher: 是否自动使用代金券;1 - 是,0 - 否,默认不使用
|
1109
|
+
# @type AutoVoucher: Integer
|
1110
|
+
# @param VoucherIds: 代金券ID数组,目前单个订单只能使用一张
|
1111
|
+
# @type VoucherIds: Array
|
1112
|
+
# @param DBVersion: sqlserver版本,目前所有支持的版本有:2008R2 (SQL Server 2008 R2 Enterprise),2012SP3 (SQL Server 2012 Enterprise),201202 (SQL Server 2012 Standard),2014SP2 (SQL Server 2014 Enterprise),201402 (SQL Server 2014 Standard),2016SP1 (SQL Server 2016 Enterprise),201602 (SQL Server 2016 Standard),2017 (SQL Server 2017 Enterprise),201702 (SQL Server 2017 Standard),2019 (SQL Server 2019 Enterprise),201902 (SQL Server 2019 Standard)。每个地域支持售卖的版本不同,可通过DescribeProductConfig接口来拉取每个地域可售卖的版本信息。不填,默认为版本2008R2。
|
1113
|
+
# @type DBVersion: String
|
1114
|
+
# @param AutoRenewFlag: 自动续费标志:0-正常续费 1-自动续费,默认为1自动续费。只在购买预付费实例时有效。
|
1115
|
+
# @type AutoRenewFlag: Integer
|
1116
|
+
# @param SecurityGroupList: 安全组列表,填写形如sg-xxx的安全组ID
|
1117
|
+
# @type SecurityGroupList: Array
|
1118
|
+
# @param Weekly: 可维护时间窗配置,以周为单位,表示周几允许维护,1-7分别代表周一到周末
|
1119
|
+
# @type Weekly: Array
|
1120
|
+
# @param StartTime: 可维护时间窗配置,每天可维护的开始时间
|
1121
|
+
# @type StartTime: String
|
1122
|
+
# @param Span: 可维护时间窗配置,持续时间,单位:小时
|
1123
|
+
# @type Span: Integer
|
1124
|
+
# @param MultiZones: 是否跨可用区部署,默认值为false
|
1125
|
+
# @type MultiZones: Boolean
|
1126
|
+
# @param ResourceTags: 新建实例绑定的标签集合
|
1127
|
+
# @type ResourceTags: Array
|
1128
|
+
# @param Collation: 系统字符集排序规则,默认:Chinese_PRC_CI_AS
|
1129
|
+
# @type Collation: String
|
1130
|
+
# @param TimeZone: 系统时区,默认:China Standard Time
|
1131
|
+
# @type TimeZone: String
|
1132
|
+
|
1133
|
+
attr_accessor :Zone, :Memory, :Storage, :Cpu, :MachineType, :InstanceChargeType, :ProjectId, :GoodsNum, :SubnetId, :VpcId, :Period, :AutoVoucher, :VoucherIds, :DBVersion, :AutoRenewFlag, :SecurityGroupList, :Weekly, :StartTime, :Span, :MultiZones, :ResourceTags, :Collation, :TimeZone
|
1134
|
+
|
1135
|
+
def initialize(zone=nil, memory=nil, storage=nil, cpu=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, subnetid=nil, vpcid=nil, period=nil, autovoucher=nil, voucherids=nil, dbversion=nil, autorenewflag=nil, securitygrouplist=nil, weekly=nil, starttime=nil, span=nil, multizones=nil, resourcetags=nil, collation=nil, timezone=nil)
|
1136
|
+
@Zone = zone
|
1137
|
+
@Memory = memory
|
1138
|
+
@Storage = storage
|
1139
|
+
@Cpu = cpu
|
1140
|
+
@MachineType = machinetype
|
1141
|
+
@InstanceChargeType = instancechargetype
|
1142
|
+
@ProjectId = projectid
|
1143
|
+
@GoodsNum = goodsnum
|
1144
|
+
@SubnetId = subnetid
|
1145
|
+
@VpcId = vpcid
|
1146
|
+
@Period = period
|
1147
|
+
@AutoVoucher = autovoucher
|
1148
|
+
@VoucherIds = voucherids
|
1149
|
+
@DBVersion = dbversion
|
1150
|
+
@AutoRenewFlag = autorenewflag
|
1151
|
+
@SecurityGroupList = securitygrouplist
|
1152
|
+
@Weekly = weekly
|
1153
|
+
@StartTime = starttime
|
1154
|
+
@Span = span
|
1155
|
+
@MultiZones = multizones
|
1156
|
+
@ResourceTags = resourcetags
|
1157
|
+
@Collation = collation
|
1158
|
+
@TimeZone = timezone
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
def deserialize(params)
|
1162
|
+
@Zone = params['Zone']
|
1163
|
+
@Memory = params['Memory']
|
1164
|
+
@Storage = params['Storage']
|
1165
|
+
@Cpu = params['Cpu']
|
1166
|
+
@MachineType = params['MachineType']
|
1167
|
+
@InstanceChargeType = params['InstanceChargeType']
|
1168
|
+
@ProjectId = params['ProjectId']
|
1169
|
+
@GoodsNum = params['GoodsNum']
|
1170
|
+
@SubnetId = params['SubnetId']
|
1171
|
+
@VpcId = params['VpcId']
|
1172
|
+
@Period = params['Period']
|
1173
|
+
@AutoVoucher = params['AutoVoucher']
|
1174
|
+
@VoucherIds = params['VoucherIds']
|
1175
|
+
@DBVersion = params['DBVersion']
|
1176
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
1177
|
+
@SecurityGroupList = params['SecurityGroupList']
|
1178
|
+
@Weekly = params['Weekly']
|
1179
|
+
@StartTime = params['StartTime']
|
1180
|
+
@Span = params['Span']
|
1181
|
+
@MultiZones = params['MultiZones']
|
1182
|
+
unless params['ResourceTags'].nil?
|
1183
|
+
@ResourceTags = []
|
1184
|
+
params['ResourceTags'].each do |i|
|
1185
|
+
resourcetag_tmp = ResourceTag.new
|
1186
|
+
resourcetag_tmp.deserialize(i)
|
1187
|
+
@ResourceTags << resourcetag_tmp
|
1188
|
+
end
|
1189
|
+
end
|
1190
|
+
@Collation = params['Collation']
|
1191
|
+
@TimeZone = params['TimeZone']
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# CreateCloudDBInstances返回参数结构体
|
1196
|
+
class CreateCloudDBInstancesResponse < TencentCloud::Common::AbstractModel
|
1197
|
+
# @param DealName: 订单名称
|
1198
|
+
# @type DealName: String
|
1199
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1200
|
+
# @type RequestId: String
|
1201
|
+
|
1202
|
+
attr_accessor :DealName, :RequestId
|
1203
|
+
|
1204
|
+
def initialize(dealname=nil, requestid=nil)
|
1205
|
+
@DealName = dealname
|
1206
|
+
@RequestId = requestid
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
def deserialize(params)
|
1210
|
+
@DealName = params['DealName']
|
1211
|
+
@RequestId = params['RequestId']
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# CreateCloudReadOnlyDBInstances请求参数结构体
|
1216
|
+
class CreateCloudReadOnlyDBInstancesRequest < TencentCloud::Common::AbstractModel
|
1217
|
+
# @param InstanceId: 主实例ID,格式如:mssql-3l3fgqn7
|
1218
|
+
# @type InstanceId: String
|
1219
|
+
# @param Zone: 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
|
1220
|
+
# @type Zone: String
|
1221
|
+
# @param ReadOnlyGroupType: 只读组类型选项,1-按照一个实例一个只读组的方式发货,2-新建只读组后发货,所有实例都在这个只读组下面, 3-发货的所有实例都在已有的只读组下面
|
1222
|
+
# @type ReadOnlyGroupType: Integer
|
1223
|
+
# @param Memory: 实例内存大小,单位GB
|
1224
|
+
# @type Memory: Integer
|
1225
|
+
# @param Storage: 实例磁盘大小,单位GB
|
1226
|
+
# @type Storage: Integer
|
1227
|
+
# @param Cpu: 实例核心数
|
1228
|
+
# @type Cpu: Integer
|
1229
|
+
# @param MachineType: 购买实例的宿主机磁盘类型,CLOUD_HSSD-虚拟机加强型SSD云盘,CLOUD_TSSD-虚拟机极速型SSD云盘,CLOUD_BSSD-虚拟机通用型SSD云盘
|
1230
|
+
# @type MachineType: String
|
1231
|
+
# @param ReadOnlyGroupForcedUpgrade: 0-默认不升级主实例,1-强制升级主实例完成ro部署;主实例为非集群版时需要填1,强制升级为集群版。填1 说明您已同意将主实例升级到集群版实例。
|
1232
|
+
# @type ReadOnlyGroupForcedUpgrade: Integer
|
1233
|
+
# @param ReadOnlyGroupId: ReadOnlyGroupType=3时必填,已存在的只读组ID
|
1234
|
+
# @type ReadOnlyGroupId: String
|
1235
|
+
# @param ReadOnlyGroupName: ReadOnlyGroupType=2时必填,新建的只读组名称
|
1236
|
+
# @type ReadOnlyGroupName: String
|
1237
|
+
# @param ReadOnlyGroupIsOfflineDelay: ReadOnlyGroupType=2时必填,新建的只读组是否开启延迟剔除功能,1-开启,0-关闭。当只读副本与主实例延迟大于阈值后,自动剔除。
|
1238
|
+
# @type ReadOnlyGroupIsOfflineDelay: Integer
|
1239
|
+
# @param ReadOnlyGroupMaxDelayTime: ReadOnlyGroupType=2 且 ReadOnlyGroupIsOfflineDelay=1时必填,新建的只读组延迟剔除的阈值。
|
1240
|
+
# @type ReadOnlyGroupMaxDelayTime: Integer
|
1241
|
+
# @param ReadOnlyGroupMinInGroup: ReadOnlyGroupType=2 且 ReadOnlyGroupIsOfflineDelay=1时必填,新建的只读组延迟剔除后至少保留只读副本的个数。
|
1242
|
+
# @type ReadOnlyGroupMinInGroup: Integer
|
1243
|
+
# @param InstanceChargeType: 付费模式,取值支持 PREPAID(预付费),POSTPAID(后付费)。
|
1244
|
+
# @type InstanceChargeType: String
|
1245
|
+
# @param GoodsNum: 本次购买几个只读实例,默认值为1。
|
1246
|
+
# @type GoodsNum: Integer
|
1247
|
+
# @param SubnetId: VPC子网ID,形如subnet-bdoe83fa;SubnetId和VpcId需同时设置或者同时不设置
|
1248
|
+
# @type SubnetId: String
|
1249
|
+
# @param VpcId: VPC网络ID,形如vpc-dsp338hz;SubnetId和VpcId需同时设置或者同时不设置
|
1250
|
+
# @type VpcId: String
|
1251
|
+
# @param Period: 购买实例周期,默认取值为1,表示一个月。取值不超过48
|
1252
|
+
# @type Period: Integer
|
1253
|
+
# @param SecurityGroupList: 安全组列表,填写形如sg-xxx的安全组ID
|
1254
|
+
# @type SecurityGroupList: Array
|
1255
|
+
# @param AutoVoucher: 是否自动使用代金券;1 - 是,0 - 否,默认不使用
|
1256
|
+
# @type AutoVoucher: Integer
|
1257
|
+
# @param VoucherIds: 代金券ID数组,目前单个订单只能使用一张
|
1258
|
+
# @type VoucherIds: Array
|
1259
|
+
# @param ResourceTags: 新建实例绑定的标签集合
|
1260
|
+
# @type ResourceTags: Array
|
1261
|
+
# @param Collation: 系统字符集排序规则,默认:Chinese_PRC_CI_AS
|
1262
|
+
# @type Collation: String
|
1263
|
+
# @param TimeZone: 系统时区,默认:China Standard Time
|
1264
|
+
# @type TimeZone: String
|
1265
|
+
|
1266
|
+
attr_accessor :InstanceId, :Zone, :ReadOnlyGroupType, :Memory, :Storage, :Cpu, :MachineType, :ReadOnlyGroupForcedUpgrade, :ReadOnlyGroupId, :ReadOnlyGroupName, :ReadOnlyGroupIsOfflineDelay, :ReadOnlyGroupMaxDelayTime, :ReadOnlyGroupMinInGroup, :InstanceChargeType, :GoodsNum, :SubnetId, :VpcId, :Period, :SecurityGroupList, :AutoVoucher, :VoucherIds, :ResourceTags, :Collation, :TimeZone
|
1267
|
+
|
1268
|
+
def initialize(instanceid=nil, zone=nil, readonlygrouptype=nil, memory=nil, storage=nil, cpu=nil, machinetype=nil, readonlygroupforcedupgrade=nil, readonlygroupid=nil, readonlygroupname=nil, readonlygroupisofflinedelay=nil, readonlygroupmaxdelaytime=nil, readonlygroupminingroup=nil, instancechargetype=nil, goodsnum=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autovoucher=nil, voucherids=nil, resourcetags=nil, collation=nil, timezone=nil)
|
1269
|
+
@InstanceId = instanceid
|
1270
|
+
@Zone = zone
|
1271
|
+
@ReadOnlyGroupType = readonlygrouptype
|
1272
|
+
@Memory = memory
|
1273
|
+
@Storage = storage
|
1274
|
+
@Cpu = cpu
|
1275
|
+
@MachineType = machinetype
|
1276
|
+
@ReadOnlyGroupForcedUpgrade = readonlygroupforcedupgrade
|
1277
|
+
@ReadOnlyGroupId = readonlygroupid
|
1278
|
+
@ReadOnlyGroupName = readonlygroupname
|
1279
|
+
@ReadOnlyGroupIsOfflineDelay = readonlygroupisofflinedelay
|
1280
|
+
@ReadOnlyGroupMaxDelayTime = readonlygroupmaxdelaytime
|
1281
|
+
@ReadOnlyGroupMinInGroup = readonlygroupminingroup
|
1282
|
+
@InstanceChargeType = instancechargetype
|
1283
|
+
@GoodsNum = goodsnum
|
1284
|
+
@SubnetId = subnetid
|
1285
|
+
@VpcId = vpcid
|
1286
|
+
@Period = period
|
1287
|
+
@SecurityGroupList = securitygrouplist
|
1288
|
+
@AutoVoucher = autovoucher
|
1289
|
+
@VoucherIds = voucherids
|
1290
|
+
@ResourceTags = resourcetags
|
1291
|
+
@Collation = collation
|
1292
|
+
@TimeZone = timezone
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
def deserialize(params)
|
1296
|
+
@InstanceId = params['InstanceId']
|
1297
|
+
@Zone = params['Zone']
|
1298
|
+
@ReadOnlyGroupType = params['ReadOnlyGroupType']
|
1299
|
+
@Memory = params['Memory']
|
1300
|
+
@Storage = params['Storage']
|
1301
|
+
@Cpu = params['Cpu']
|
1302
|
+
@MachineType = params['MachineType']
|
1303
|
+
@ReadOnlyGroupForcedUpgrade = params['ReadOnlyGroupForcedUpgrade']
|
1304
|
+
@ReadOnlyGroupId = params['ReadOnlyGroupId']
|
1305
|
+
@ReadOnlyGroupName = params['ReadOnlyGroupName']
|
1306
|
+
@ReadOnlyGroupIsOfflineDelay = params['ReadOnlyGroupIsOfflineDelay']
|
1307
|
+
@ReadOnlyGroupMaxDelayTime = params['ReadOnlyGroupMaxDelayTime']
|
1308
|
+
@ReadOnlyGroupMinInGroup = params['ReadOnlyGroupMinInGroup']
|
1309
|
+
@InstanceChargeType = params['InstanceChargeType']
|
1310
|
+
@GoodsNum = params['GoodsNum']
|
1311
|
+
@SubnetId = params['SubnetId']
|
1312
|
+
@VpcId = params['VpcId']
|
1313
|
+
@Period = params['Period']
|
1314
|
+
@SecurityGroupList = params['SecurityGroupList']
|
1315
|
+
@AutoVoucher = params['AutoVoucher']
|
1316
|
+
@VoucherIds = params['VoucherIds']
|
1317
|
+
unless params['ResourceTags'].nil?
|
1318
|
+
@ResourceTags = []
|
1319
|
+
params['ResourceTags'].each do |i|
|
1320
|
+
resourcetag_tmp = ResourceTag.new
|
1321
|
+
resourcetag_tmp.deserialize(i)
|
1322
|
+
@ResourceTags << resourcetag_tmp
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
@Collation = params['Collation']
|
1326
|
+
@TimeZone = params['TimeZone']
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# CreateCloudReadOnlyDBInstances返回参数结构体
|
1331
|
+
class CreateCloudReadOnlyDBInstancesResponse < TencentCloud::Common::AbstractModel
|
1332
|
+
# @param DealNames: 订单名称数组
|
1333
|
+
# @type DealNames: Array
|
1334
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1335
|
+
# @type RequestId: String
|
1336
|
+
|
1337
|
+
attr_accessor :DealNames, :RequestId
|
1338
|
+
|
1339
|
+
def initialize(dealnames=nil, requestid=nil)
|
1340
|
+
@DealNames = dealnames
|
1341
|
+
@RequestId = requestid
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
def deserialize(params)
|
1345
|
+
@DealNames = params['DealNames']
|
1346
|
+
@RequestId = params['RequestId']
|
1347
|
+
end
|
1348
|
+
end
|
1349
|
+
|
1084
1350
|
# CreateDBInstances请求参数结构体
|
1085
1351
|
class CreateDBInstancesRequest < TencentCloud::Common::AbstractModel
|
1086
1352
|
# @param Zone: 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-sqlserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.574
|
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-05-
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|