Class: TencentCloud::Dcdb::V20180411::DescribeDCDBPriceRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180411/models.rb

Overview

DescribeDCDBPrice请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(zone = nil, count = nil, period = nil, shardnodecount = nil, shardmemory = nil, shardstorage = nil, shardcount = nil, paymode = nil, amountunit = nil, cputype = nil) ⇒ DescribeDCDBPriceRequest

Returns a new instance of DescribeDCDBPriceRequest.


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
# File 'lib/v20180411/models.rb', line 3138

def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil, amountunit=nil, cputype=nil)
  @Zone = zone
  @Count = count
  @Period = period
  @ShardNodeCount = shardnodecount
  @ShardMemory = shardmemory
  @ShardStorage = shardstorage
  @ShardCount = shardcount
  @Paymode = paymode
  @AmountUnit = amountunit
  @CpuType = cputype
end

Instance Attribute Details

#AmountUnitObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def AmountUnit
  @AmountUnit
end

#CountObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def Count
  @Count
end

#CpuTypeObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def CpuType
  @CpuType
end

#PaymodeObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def Paymode
  @Paymode
end

#PeriodObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def Period
  @Period
end

#ShardCountObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def ShardCount
  @ShardCount
end

#ShardMemoryObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def ShardMemory
  @ShardMemory
end

#ShardNodeCountObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def ShardNodeCount
  @ShardNodeCount
end

#ShardStorageObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def ShardStorage
  @ShardStorage
end

#ZoneObject

  • pent:分

  • microPent:微分

Parameters:

  • Zone:

    欲新购实例的可用区ID。

  • Count:

    欲购买实例的数量,目前支持购买1-10个实例

  • Period:

    欲购买的时长,单位:月。

  • ShardNodeCount:

    单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardMemory:

    分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardStorage:

    分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。

  • ShardCount:

    实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。

  • Paymode:

    付费类型。postpaid:按量付费 prepaid:预付费

  • AmountUnit:

    价格金额单位,不传默认单位为分,取值:

  • CpuType:

    Cpu类型,如:英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD


3136
3137
3138
# File 'lib/v20180411/models.rb', line 3136

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object


3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
# File 'lib/v20180411/models.rb', line 3151

def deserialize(params)
  @Zone = params['Zone']
  @Count = params['Count']
  @Period = params['Period']
  @ShardNodeCount = params['ShardNodeCount']
  @ShardMemory = params['ShardMemory']
  @ShardStorage = params['ShardStorage']
  @ShardCount = params['ShardCount']
  @Paymode = params['Paymode']
  @AmountUnit = params['AmountUnit']
  @CpuType = params['CpuType']
end