Class: TencentCloud::Sqlserver::V20180328::CreateBusinessDBInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::CreateBusinessDBInstancesRequest
- Defined in:
- lib/v20180328/models.rb
Overview
CreateBusinessDBInstances请求参数结构体
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #DBVersion ⇒ Object
- #GoodsNum ⇒ Object
- #MachineType ⇒ Object
- #Memory ⇒ Object
- #ProjectId ⇒ Object
- #ResourceTags ⇒ Object
- #SecurityGroupList ⇒ Object
- #Span ⇒ Object
- #StartTime ⇒ Object
- #Storage ⇒ Object
- #SubnetId ⇒ Object
- #VpcId ⇒ Object
- #Weekly ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, memory = nil, storage = nil, cpu = nil, machinetype = nil, projectid = nil, goodsnum = nil, subnetid = nil, vpcid = nil, dbversion = nil, securitygrouplist = nil, weekly = nil, starttime = nil, span = nil, resourcetags = nil) ⇒ CreateBusinessDBInstancesRequest
constructor
A new instance of CreateBusinessDBInstancesRequest.
Constructor Details
#initialize(zone = nil, memory = nil, storage = nil, cpu = nil, machinetype = nil, projectid = nil, goodsnum = nil, subnetid = nil, vpcid = nil, dbversion = nil, securitygrouplist = nil, weekly = nil, starttime = nil, span = nil, resourcetags = nil) ⇒ CreateBusinessDBInstancesRequest
Returns a new instance of CreateBusinessDBInstancesRequest.
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/v20180328/models.rb', line 1080 def initialize(zone=nil, memory=nil, storage=nil, cpu=nil, machinetype=nil, projectid=nil, goodsnum=nil, subnetid=nil, vpcid=nil, dbversion=nil, securitygrouplist=nil, weekly=nil, starttime=nil, span=nil, =nil) @Zone = zone @Memory = memory @Storage = storage @Cpu = cpu @MachineType = machinetype @ProjectId = projectid @GoodsNum = goodsnum @SubnetId = subnetid @VpcId = vpcid @DBVersion = dbversion @SecurityGroupList = securitygrouplist @Weekly = weekly @StartTime = starttime @Span = span @ResourceTags = end |
Instance Attribute Details
#Cpu ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def Cpu @Cpu end |
#DBVersion ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def DBVersion @DBVersion end |
#GoodsNum ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def GoodsNum @GoodsNum end |
#MachineType ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def MachineType @MachineType end |
#Memory ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def Memory @Memory end |
#ProjectId ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def ProjectId @ProjectId end |
#ResourceTags ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def ResourceTags @ResourceTags end |
#SecurityGroupList ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def SecurityGroupList @SecurityGroupList end |
#Span ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def Span @Span end |
#StartTime ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def StartTime @StartTime end |
#Storage ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def Storage @Storage end |
#SubnetId ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def SubnetId @SubnetId end |
#VpcId ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def VpcId @VpcId end |
#Weekly ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def Weekly @Weekly end |
#Zone ⇒ Object
1078 1079 1080 |
# File 'lib/v20180328/models.rb', line 1078 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 |
# File 'lib/v20180328/models.rb', line 1098 def deserialize(params) @Zone = params['Zone'] @Memory = params['Memory'] @Storage = params['Storage'] @Cpu = params['Cpu'] @MachineType = params['MachineType'] @ProjectId = params['ProjectId'] @GoodsNum = params['GoodsNum'] @SubnetId = params['SubnetId'] @VpcId = params['VpcId'] @DBVersion = params['DBVersion'] @SecurityGroupList = params['SecurityGroupList'] @Weekly = params['Weekly'] @StartTime = params['StartTime'] @Span = params['Span'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| resourcetag_tmp = ResourceTag.new resourcetag_tmp.deserialize(i) @ResourceTags << resourcetag_tmp end end end |