Class: TencentCloud::Cvm::V20170312::ReservedInstancePriceItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::ReservedInstancePriceItem
- Defined in:
- lib/v20170312/models.rb
Overview
基于付费类型的预留实例相关价格信息。预留实例当前只针对国际站白名单用户开放。
Instance Attribute Summary collapse
-
#Duration ⇒ Object
计量单位:秒 返回项: Linux 。.
-
#FixedPrice ⇒ Object
计量单位:秒 返回项: Linux 。.
-
#OfferingType ⇒ Object
计量单位:秒 返回项: Linux 。.
-
#ProductDescription ⇒ Object
计量单位:秒 返回项: Linux 。.
-
#ReservedInstancesOfferingId ⇒ Object
计量单位:秒 返回项: Linux 。.
-
#UsagePrice ⇒ Object
计量单位:秒 返回项: Linux 。.
-
#Zone ⇒ Object
计量单位:秒 返回项: Linux 。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offeringtype = nil, fixedprice = nil, usageprice = nil, reservedinstancesofferingid = nil, zone = nil, duration = nil, productdescription = nil) ⇒ ReservedInstancePriceItem
constructor
A new instance of ReservedInstancePriceItem.
Constructor Details
#initialize(offeringtype = nil, fixedprice = nil, usageprice = nil, reservedinstancesofferingid = nil, zone = nil, duration = nil, productdescription = nil) ⇒ ReservedInstancePriceItem
Returns a new instance of ReservedInstancePriceItem.
7577 7578 7579 7580 7581 7582 7583 7584 7585 |
# File 'lib/v20170312/models.rb', line 7577 def initialize(offeringtype=nil, fixedprice=nil, usageprice=nil, reservedinstancesofferingid=nil, zone=nil, duration=nil, productdescription=nil) @OfferingType = offeringtype @FixedPrice = fixedprice @UsagePrice = usageprice @ReservedInstancesOfferingId = reservedinstancesofferingid @Zone = zone @Duration = duration @ProductDescription = productdescription end |
Instance Attribute Details
#Duration ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def Duration @Duration end |
#FixedPrice ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def FixedPrice @FixedPrice end |
#OfferingType ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def OfferingType @OfferingType end |
#ProductDescription ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def ProductDescription @ProductDescription end |
#ReservedInstancesOfferingId ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def ReservedInstancesOfferingId @ReservedInstancesOfferingId end |
#UsagePrice ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def UsagePrice @UsagePrice end |
#Zone ⇒ Object
计量单位:秒 返回项: Linux 。
7575 7576 7577 |
# File 'lib/v20170312/models.rb', line 7575 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
7587 7588 7589 7590 7591 7592 7593 7594 7595 |
# File 'lib/v20170312/models.rb', line 7587 def deserialize(params) @OfferingType = params['OfferingType'] @FixedPrice = params['FixedPrice'] @UsagePrice = params['UsagePrice'] @ReservedInstancesOfferingId = params['ReservedInstancesOfferingId'] @Zone = params['Zone'] @Duration = params['Duration'] @ProductDescription = params['ProductDescription'] end |