Class: TencentCloud::Dcdb::V20180411::ExpandShardConfig

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

Overview

升级实例 – 扩容分片类型

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ShardInstanceIdsObject

Parameters:

  • ShardInstanceIds:

    分片ID数组

  • ShardMemory:

    分片内存大小,单位 GB

  • ShardStorage:

    分片存储大小,单位 GB

  • ShardNodeCount:

    分片节点数



4243
4244
4245
# File 'lib/v20180411/models.rb', line 4243

def ShardInstanceIds
  @ShardInstanceIds
end

#ShardMemoryObject

Parameters:

  • ShardInstanceIds:

    分片ID数组

  • ShardMemory:

    分片内存大小,单位 GB

  • ShardStorage:

    分片存储大小,单位 GB

  • ShardNodeCount:

    分片节点数



4243
4244
4245
# File 'lib/v20180411/models.rb', line 4243

def ShardMemory
  @ShardMemory
end

#ShardNodeCountObject

Parameters:

  • ShardInstanceIds:

    分片ID数组

  • ShardMemory:

    分片内存大小,单位 GB

  • ShardStorage:

    分片存储大小,单位 GB

  • ShardNodeCount:

    分片节点数



4243
4244
4245
# File 'lib/v20180411/models.rb', line 4243

def ShardNodeCount
  @ShardNodeCount
end

#ShardStorageObject

Parameters:

  • ShardInstanceIds:

    分片ID数组

  • ShardMemory:

    分片内存大小,单位 GB

  • ShardStorage:

    分片存储大小,单位 GB

  • ShardNodeCount:

    分片节点数



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