Class: TencentCloud::Sqlserver::V20180328::SpecInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::SpecInfo
- Defined in:
- lib/v20180328/models.rb
Overview
实例可售卖的规格信息
Instance Attribute Summary collapse
-
#CPU ⇒ Object
示例值:HA.
-
#InstanceType ⇒ Object
示例值:HA.
-
#MachineType ⇒ Object
示例值:HA.
-
#MachineTypeName ⇒ Object
示例值:HA.
-
#MaxStorage ⇒ Object
示例值:HA.
-
#Memory ⇒ Object
示例值:HA.
-
#MinStorage ⇒ Object
示例值:HA.
-
#MultiZonesStatus ⇒ Object
示例值:HA.
-
#PayModeStatus ⇒ Object
示例值:HA.
-
#Pid ⇒ Object
示例值:HA.
-
#PostPid ⇒ Object
示例值:HA.
-
#QPS ⇒ Object
示例值:HA.
-
#SpecId ⇒ Object
示例值:HA.
-
#SuitInfo ⇒ Object
示例值:HA.
-
#Version ⇒ Object
示例值:HA.
-
#VersionName ⇒ Object
示例值:HA.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(specid = nil, machinetype = nil, machinetypename = nil, version = nil, versionname = nil, memory = nil, cpu = nil, minstorage = nil, maxstorage = nil, qps = nil, suitinfo = nil, pid = nil, postpid = nil, paymodestatus = nil, instancetype = nil, multizonesstatus = nil) ⇒ SpecInfo
constructor
A new instance of SpecInfo.
Constructor Details
#initialize(specid = nil, machinetype = nil, machinetypename = nil, version = nil, versionname = nil, memory = nil, cpu = nil, minstorage = nil, maxstorage = nil, qps = nil, suitinfo = nil, pid = nil, postpid = nil, paymodestatus = nil, instancetype = nil, multizonesstatus = nil) ⇒ SpecInfo
Returns a new instance of SpecInfo.
11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 |
# File 'lib/v20180328/models.rb', line 11240 def initialize(specid=nil, machinetype=nil, machinetypename=nil, version=nil, versionname=nil, memory=nil, cpu=nil, minstorage=nil, maxstorage=nil, qps=nil, suitinfo=nil, pid=nil, postpid=nil, paymodestatus=nil, instancetype=nil, multizonesstatus=nil) @SpecId = specid @MachineType = machinetype @MachineTypeName = machinetypename @Version = version @VersionName = versionname @Memory = memory @CPU = cpu @MinStorage = minstorage @MaxStorage = maxstorage @QPS = qps @SuitInfo = suitinfo @Pid = pid @PostPid = postpid @PayModeStatus = paymodestatus @InstanceType = instancetype @MultiZonesStatus = multizonesstatus end |
Instance Attribute Details
#CPU ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def CPU @CPU end |
#InstanceType ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def InstanceType @InstanceType end |
#MachineType ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def MachineType @MachineType end |
#MachineTypeName ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def MachineTypeName @MachineTypeName end |
#MaxStorage ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def MaxStorage @MaxStorage end |
#Memory ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def Memory @Memory end |
#MinStorage ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def MinStorage @MinStorage end |
#MultiZonesStatus ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def MultiZonesStatus @MultiZonesStatus end |
#PayModeStatus ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def PayModeStatus @PayModeStatus end |
#Pid ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def Pid @Pid end |
#PostPid ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def PostPid @PostPid end |
#QPS ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def QPS @QPS end |
#SpecId ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def SpecId @SpecId end |
#SuitInfo ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def SuitInfo @SuitInfo end |
#Version ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def Version @Version end |
#VersionName ⇒ Object
示例值:HA
11238 11239 11240 |
# File 'lib/v20180328/models.rb', line 11238 def VersionName @VersionName end |
Instance Method Details
#deserialize(params) ⇒ Object
11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 |
# File 'lib/v20180328/models.rb', line 11259 def deserialize(params) @SpecId = params['SpecId'] @MachineType = params['MachineType'] @MachineTypeName = params['MachineTypeName'] @Version = params['Version'] @VersionName = params['VersionName'] @Memory = params['Memory'] @CPU = params['CPU'] @MinStorage = params['MinStorage'] @MaxStorage = params['MaxStorage'] @QPS = params['QPS'] @SuitInfo = params['SuitInfo'] @Pid = params['Pid'] @PostPid = params['PostPid'] @PayModeStatus = params['PayModeStatus'] @InstanceType = params['InstanceType'] @MultiZonesStatus = params['MultiZonesStatus'] end |