Class: TencentCloud::Postgres::V20170312::InquiryPriceUpgradeDBInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::InquiryPriceUpgradeDBInstanceRequest
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceUpgradeDBInstance请求参数结构体
Instance Attribute Summary collapse
-
#Cpu ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。.
-
#DBInstanceId ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。.
-
#InstanceChargeType ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。.
-
#Memory ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。.
-
#Storage ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(storage = nil, memory = nil, dbinstanceid = nil, instancechargetype = nil, cpu = nil) ⇒ InquiryPriceUpgradeDBInstanceRequest
constructor
A new instance of InquiryPriceUpgradeDBInstanceRequest.
Constructor Details
#initialize(storage = nil, memory = nil, dbinstanceid = nil, instancechargetype = nil, cpu = nil) ⇒ InquiryPriceUpgradeDBInstanceRequest
Returns a new instance of InquiryPriceUpgradeDBInstanceRequest.
5046 5047 5048 5049 5050 5051 5052 |
# File 'lib/v20170312/models.rb', line 5046 def initialize(storage=nil, memory=nil, dbinstanceid=nil, instancechargetype=nil, cpu=nil) @Storage = storage @Memory = memory @DBInstanceId = dbinstanceid @InstanceChargeType = instancechargetype @Cpu = cpu end |
Instance Attribute Details
#Cpu ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
5041 5042 5043 |
# File 'lib/v20170312/models.rb', line 5041 def Cpu @Cpu end |
#DBInstanceId ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
5041 5042 5043 |
# File 'lib/v20170312/models.rb', line 5041 def DBInstanceId @DBInstanceId end |
#InstanceChargeType ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
5041 5042 5043 |
# File 'lib/v20170312/models.rb', line 5041 def InstanceChargeType @InstanceChargeType end |
#Memory ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
5041 5042 5043 |
# File 'lib/v20170312/models.rb', line 5041 def Memory @Memory end |
#Storage ⇒ Object
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
5041 5042 5043 |
# File 'lib/v20170312/models.rb', line 5041 def Storage @Storage end |
Instance Method Details
#deserialize(params) ⇒ Object
5054 5055 5056 5057 5058 5059 5060 |
# File 'lib/v20170312/models.rb', line 5054 def deserialize(params) @Storage = params['Storage'] @Memory = params['Memory'] @DBInstanceId = params['DBInstanceId'] @InstanceChargeType = params['InstanceChargeType'] @Cpu = params['Cpu'] end |