Class: TencentCloud::Dcdb::V20180411::AddShardConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::AddShardConfig
- Defined in:
- lib/v20180411/models.rb
Overview
升级实例 – 新增分片类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(shardcount = nil, shardmemory = nil, shardstorage = nil) ⇒ AddShardConfig
constructor
A new instance of AddShardConfig.
Constructor Details
#initialize(shardcount = nil, shardmemory = nil, shardstorage = nil) ⇒ AddShardConfig
Returns a new instance of AddShardConfig.
91 92 93 94 95 |
# File 'lib/v20180411/models.rb', line 91 def initialize(shardcount=nil, shardmemory=nil, shardstorage=nil) @ShardCount = shardcount @ShardMemory = shardmemory @ShardStorage = shardstorage end |
Instance Attribute Details
#ShardCount ⇒ Object
89 90 91 |
# File 'lib/v20180411/models.rb', line 89 def ShardCount @ShardCount end |
#ShardMemory ⇒ Object
89 90 91 |
# File 'lib/v20180411/models.rb', line 89 def ShardMemory @ShardMemory end |
#ShardStorage ⇒ Object
89 90 91 |
# File 'lib/v20180411/models.rb', line 89 def ShardStorage @ShardStorage end |
Instance Method Details
#deserialize(params) ⇒ Object
97 98 99 100 101 |
# File 'lib/v20180411/models.rb', line 97 def deserialize(params) @ShardCount = params['ShardCount'] @ShardMemory = params['ShardMemory'] @ShardStorage = params['ShardStorage'] end |