Class: TencentCloud::Cvm::V20170312::ReservedInstancesOffering
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::ReservedInstancesOffering
- Defined in:
- lib/v20170312/models.rb
Overview
描述可购买预留实例计费信息
Instance Attribute Summary collapse
-
#CurrencyCode ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#Duration ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#FixedPrice ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#InstanceType ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#OfferingType ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#ProductDescription ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#ReservedInstancesOfferingId ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#UsagePrice ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
-
#Zone ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, currencycode = nil, duration = nil, fixedprice = nil, instancetype = nil, offeringtype = nil, reservedinstancesofferingid = nil, productdescription = nil, usageprice = nil) ⇒ ReservedInstancesOffering
constructor
A new instance of ReservedInstancesOffering.
Constructor Details
#initialize(zone = nil, currencycode = nil, duration = nil, fixedprice = nil, instancetype = nil, offeringtype = nil, reservedinstancesofferingid = nil, productdescription = nil, usageprice = nil) ⇒ ReservedInstancesOffering
Returns a new instance of ReservedInstancesOffering.
7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 |
# File 'lib/v20170312/models.rb', line 7784 def initialize(zone=nil, currencycode=nil, duration=nil, fixedprice=nil, instancetype=nil, offeringtype=nil, reservedinstancesofferingid=nil, productdescription=nil, usageprice=nil) @Zone = zone @CurrencyCode = currencycode @Duration = duration @FixedPrice = fixedprice @InstanceType = instancetype @OfferingType = offeringtype @ReservedInstancesOfferingId = reservedinstancesofferingid @ProductDescription = productdescription @UsagePrice = usageprice end |
Instance Attribute Details
#CurrencyCode ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def CurrencyCode @CurrencyCode end |
#Duration ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def Duration @Duration end |
#FixedPrice ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def FixedPrice @FixedPrice end |
#InstanceType ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def InstanceType @InstanceType end |
#OfferingType ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def OfferingType @OfferingType end |
#ProductDescription ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def ProductDescription @ProductDescription end |
#ReservedInstancesOfferingId ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def ReservedInstancesOfferingId @ReservedInstancesOfferingId end |
#UsagePrice ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def UsagePrice @UsagePrice end |
#Zone ⇒ Object
返回项:<a href=“cloud.tencent.com/document/product/213/6091”>可用区列表</a> 返回项:USD(美元)。 计量单位:秒 计量单位:与 currencyCode 一致,目前支持 USD(美元) 返回项:<a href=“cloud.tencent.com/product/cvm/instances”>预留实例计费类型列表</a> 返回项: All Upfront (预付全部费用)。 返回项: linux 。 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
7782 7783 7784 |
# File 'lib/v20170312/models.rb', line 7782 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 |
# File 'lib/v20170312/models.rb', line 7796 def deserialize(params) @Zone = params['Zone'] @CurrencyCode = params['CurrencyCode'] @Duration = params['Duration'] @FixedPrice = params['FixedPrice'] @InstanceType = params['InstanceType'] @OfferingType = params['OfferingType'] @ReservedInstancesOfferingId = params['ReservedInstancesOfferingId'] @ProductDescription = params['ProductDescription'] @UsagePrice = params['UsagePrice'] end |