Class: TencentCloud::Sqlserver::V20180328::CreateBasicDBInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::CreateBasicDBInstancesRequest
- Defined in:
- lib/v20180328/models.rb
Overview
CreateBasicDBInstances请求参数结构体
Instance Attribute Summary collapse
- #AutoRenewFlag ⇒ Object
- #AutoVoucher ⇒ Object
- #Collation ⇒ Object
- #Cpu ⇒ Object
- #DBVersion ⇒ Object
- #DiskEncryptFlag ⇒ Object
- #GoodsNum ⇒ Object
- #InstanceChargeType ⇒ Object
- #MachineType ⇒ Object
- #Memory ⇒ Object
- #Period ⇒ Object
- #ProjectId ⇒ Object
- #ResourceTags ⇒ Object
- #SecurityGroupList ⇒ Object
- #Span ⇒ Object
- #StartTime ⇒ Object
- #Storage ⇒ Object
- #SubnetId ⇒ Object
- #TimeZone ⇒ Object
- #VoucherIds ⇒ Object
- #VpcId ⇒ Object
- #Weekly ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, cpu = nil, memory = nil, storage = nil, subnetid = nil, vpcid = nil, machinetype = nil, instancechargetype = nil, projectid = nil, goodsnum = nil, dbversion = nil, period = nil, securitygrouplist = nil, autorenewflag = nil, autovoucher = nil, voucherids = nil, weekly = nil, starttime = nil, span = nil, resourcetags = nil, collation = nil, timezone = nil, diskencryptflag = nil) ⇒ CreateBasicDBInstancesRequest
constructor
A new instance of CreateBasicDBInstancesRequest.
Constructor Details
#initialize(zone = nil, cpu = nil, memory = nil, storage = nil, subnetid = nil, vpcid = nil, machinetype = nil, instancechargetype = nil, projectid = nil, goodsnum = nil, dbversion = nil, period = nil, securitygrouplist = nil, autorenewflag = nil, autovoucher = nil, voucherids = nil, weekly = nil, starttime = nil, span = nil, resourcetags = nil, collation = nil, timezone = nil, diskencryptflag = nil) ⇒ CreateBasicDBInstancesRequest
Returns a new instance of CreateBasicDBInstancesRequest.
965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 |
# File 'lib/v20180328/models.rb', line 965 def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, subnetid=nil, vpcid=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, autovoucher=nil, voucherids=nil, weekly=nil, starttime=nil, span=nil, =nil, collation=nil, timezone=nil, diskencryptflag=nil) @Zone = zone @Cpu = cpu @Memory = memory @Storage = storage @SubnetId = subnetid @VpcId = vpcid @MachineType = machinetype @InstanceChargeType = instancechargetype @ProjectId = projectid @GoodsNum = goodsnum @DBVersion = dbversion @Period = period @SecurityGroupList = securitygrouplist @AutoRenewFlag = autorenewflag @AutoVoucher = autovoucher @VoucherIds = voucherids @Weekly = weekly @StartTime = starttime @Span = span @ResourceTags = @Collation = collation @TimeZone = timezone @DiskEncryptFlag = diskencryptflag end |
Instance Attribute Details
#AutoRenewFlag ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def AutoRenewFlag @AutoRenewFlag end |
#AutoVoucher ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def AutoVoucher @AutoVoucher end |
#Collation ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Collation @Collation end |
#Cpu ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Cpu @Cpu end |
#DBVersion ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def DBVersion @DBVersion end |
#DiskEncryptFlag ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def DiskEncryptFlag @DiskEncryptFlag end |
#GoodsNum ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def GoodsNum @GoodsNum end |
#InstanceChargeType ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def InstanceChargeType @InstanceChargeType end |
#MachineType ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def MachineType @MachineType end |
#Memory ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Memory @Memory end |
#Period ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Period @Period end |
#ProjectId ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def ProjectId @ProjectId end |
#ResourceTags ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def ResourceTags @ResourceTags end |
#SecurityGroupList ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def SecurityGroupList @SecurityGroupList end |
#Span ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Span @Span end |
#StartTime ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def StartTime @StartTime end |
#Storage ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Storage @Storage end |
#SubnetId ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def SubnetId @SubnetId end |
#TimeZone ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def TimeZone @TimeZone end |
#VoucherIds ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def VoucherIds @VoucherIds end |
#VpcId ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def VpcId @VpcId end |
#Weekly ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Weekly @Weekly end |
#Zone ⇒ Object
963 964 965 |
# File 'lib/v20180328/models.rb', line 963 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'lib/v20180328/models.rb', line 991 def deserialize(params) @Zone = params['Zone'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Storage = params['Storage'] @SubnetId = params['SubnetId'] @VpcId = params['VpcId'] @MachineType = params['MachineType'] @InstanceChargeType = params['InstanceChargeType'] @ProjectId = params['ProjectId'] @GoodsNum = params['GoodsNum'] @DBVersion = params['DBVersion'] @Period = params['Period'] @SecurityGroupList = params['SecurityGroupList'] @AutoRenewFlag = params['AutoRenewFlag'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @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 @Collation = params['Collation'] @TimeZone = params['TimeZone'] @DiskEncryptFlag = params['DiskEncryptFlag'] end |