Class: TencentCloud::Dcdb::V20180411::ExpandShardConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::ExpandShardConfig
- Defined in:
- lib/v20180411/models.rb
Overview
升级实例 – 扩容分片类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(shardinstanceids = nil, shardmemory = nil, shardstorage = nil, shardnodecount = nil) ⇒ ExpandShardConfig
constructor
A new instance of ExpandShardConfig.
Constructor Details
#initialize(shardinstanceids = nil, shardmemory = nil, shardstorage = nil, shardnodecount = nil) ⇒ ExpandShardConfig
Returns a new instance of ExpandShardConfig.
4245 4246 4247 4248 4249 4250 |
# File 'lib/v20180411/models.rb', line 4245 def initialize(shardinstanceids=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil) @ShardInstanceIds = shardinstanceids @ShardMemory = shardmemory @ShardStorage = shardstorage @ShardNodeCount = shardnodecount end |
Instance Attribute Details
#ShardInstanceIds ⇒ Object
4243 4244 4245 |
# File 'lib/v20180411/models.rb', line 4243 def ShardInstanceIds @ShardInstanceIds end |
#ShardMemory ⇒ Object
4243 4244 4245 |
# File 'lib/v20180411/models.rb', line 4243 def ShardMemory @ShardMemory end |
#ShardNodeCount ⇒ Object
4243 4244 4245 |
# File 'lib/v20180411/models.rb', line 4243 def ShardNodeCount @ShardNodeCount end |
#ShardStorage ⇒ Object
4243 4244 4245 |
# File 'lib/v20180411/models.rb', line 4243 def ShardStorage @ShardStorage end |
Instance Method Details
#deserialize(params) ⇒ Object
4252 4253 4254 4255 4256 4257 |
# File 'lib/v20180411/models.rb', line 4252 def deserialize(params) @ShardInstanceIds = params['ShardInstanceIds'] @ShardMemory = params['ShardMemory'] @ShardStorage = params['ShardStorage'] @ShardNodeCount = params['ShardNodeCount'] end |