Class: TencentCloud::Cvm::V20170312::InstanceTypeQuotaItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InstanceTypeQuotaItem
- Defined in:
- lib/v20170312/models.rb
Overview
描述实例机型配额信息。
Instance Attribute Summary collapse
-
#Cpu ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#CpuType ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Externals ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Fpga ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Frequency ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Gpu ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#GpuCount ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#InstanceBandwidth ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#InstanceChargeType ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#InstanceFamily ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#InstancePps ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#InstanceType ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#LocalDiskTypeList ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Memory ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#NetworkCard ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Price ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Remark ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#SoldOutReason ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Status ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#StatusCategory ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#StorageBlockAmount ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#TypeName ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
. -
#Zone ⇒ Object
- EnoughStock:表示对应库存非常充足
- NormalStock:表示对应库存供应有保障
- UnderStock:表示对应库存即将售罄
- WithoutStock:表示对应库存已经售罄
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, instancetype = nil, instancechargetype = nil, networkcard = nil, externals = nil, cpu = nil, memory = nil, instancefamily = nil, typename = nil, localdisktypelist = nil, status = nil, price = nil, soldoutreason = nil, instancebandwidth = nil, instancepps = nil, storageblockamount = nil, cputype = nil, gpu = nil, fpga = nil, remark = nil, gpucount = nil, frequency = nil, statuscategory = nil) ⇒ InstanceTypeQuotaItem
constructor
A new instance of InstanceTypeQuotaItem.
Constructor Details
#initialize(zone = nil, instancetype = nil, instancechargetype = nil, networkcard = nil, externals = nil, cpu = nil, memory = nil, instancefamily = nil, typename = nil, localdisktypelist = nil, status = nil, price = nil, soldoutreason = nil, instancebandwidth = nil, instancepps = nil, storageblockamount = nil, cputype = nil, gpu = nil, fpga = nil, remark = nil, gpucount = nil, frequency = nil, statuscategory = nil) ⇒ InstanceTypeQuotaItem
Returns a new instance of InstanceTypeQuotaItem.
5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 |
# File 'lib/v20170312/models.rb', line 5675 def initialize(zone=nil, instancetype=nil, instancechargetype=nil, networkcard=nil, externals=nil, cpu=nil, memory=nil, instancefamily=nil, typename=nil, localdisktypelist=nil, status=nil, price=nil, soldoutreason=nil, instancebandwidth=nil, instancepps=nil, storageblockamount=nil, cputype=nil, gpu=nil, fpga=nil, remark=nil, gpucount=nil, frequency=nil, statuscategory=nil) @Zone = zone @InstanceType = instancetype @InstanceChargeType = instancechargetype @NetworkCard = networkcard @Externals = externals @Cpu = cpu @Memory = memory @InstanceFamily = instancefamily @TypeName = typename @LocalDiskTypeList = localdisktypelist @Status = status @Price = price @SoldOutReason = soldoutreason @InstanceBandwidth = instancebandwidth @InstancePps = instancepps @StorageBlockAmount = storageblockamount @CpuType = cputype @Gpu = gpu @Fpga = fpga @Remark = remark @GpuCount = gpucount @Frequency = frequency @StatusCategory = statuscategory end |
Instance Attribute Details
#Cpu ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Cpu @Cpu end |
#CpuType ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def CpuType @CpuType end |
#Externals ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Externals @Externals end |
#Fpga ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Fpga @Fpga end |
#Frequency ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Frequency @Frequency end |
#Gpu ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Gpu @Gpu end |
#GpuCount ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def GpuCount @GpuCount end |
#InstanceBandwidth ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def InstanceBandwidth @InstanceBandwidth end |
#InstanceChargeType ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def InstanceChargeType @InstanceChargeType end |
#InstanceFamily ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def InstanceFamily @InstanceFamily end |
#InstancePps ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def InstancePps @InstancePps end |
#InstanceType ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def InstanceType @InstanceType end |
#LocalDiskTypeList ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def LocalDiskTypeList @LocalDiskTypeList end |
#Memory ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Memory @Memory end |
#NetworkCard ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def NetworkCard @NetworkCard end |
#Price ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Price @Price end |
#Remark ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Remark @Remark end |
#SoldOutReason ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def SoldOutReason @SoldOutReason end |
#Status ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Status @Status end |
#StatusCategory ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def StatusCategory @StatusCategory end |
#StorageBlockAmount ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def StorageBlockAmount @StorageBlockAmount end |
#TypeName ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def TypeName @TypeName end |
#Zone ⇒ Object
5673 5674 5675 |
# File 'lib/v20170312/models.rb', line 5673 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 |
# File 'lib/v20170312/models.rb', line 5701 def deserialize(params) @Zone = params['Zone'] @InstanceType = params['InstanceType'] @InstanceChargeType = params['InstanceChargeType'] @NetworkCard = params['NetworkCard'] unless params['Externals'].nil? @Externals = Externals.new @Externals.deserialize(params['Externals']) end @Cpu = params['Cpu'] @Memory = params['Memory'] @InstanceFamily = params['InstanceFamily'] @TypeName = params['TypeName'] unless params['LocalDiskTypeList'].nil? @LocalDiskTypeList = [] params['LocalDiskTypeList'].each do |i| localdisktype_tmp = LocalDiskType.new localdisktype_tmp.deserialize(i) @LocalDiskTypeList << localdisktype_tmp end end @Status = params['Status'] unless params['Price'].nil? @Price = ItemPrice.new @Price.deserialize(params['Price']) end @SoldOutReason = params['SoldOutReason'] @InstanceBandwidth = params['InstanceBandwidth'] @InstancePps = params['InstancePps'] @StorageBlockAmount = params['StorageBlockAmount'] @CpuType = params['CpuType'] @Gpu = params['Gpu'] @Fpga = params['Fpga'] @Remark = params['Remark'] @GpuCount = params['GpuCount'] @Frequency = params['Frequency'] @StatusCategory = params['StatusCategory'] end |