Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQInstanceSpecRequest

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

Overview

ModifyRocketMQInstanceSpec请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, specification = nil, nodecount = nil, storagesize = nil) ⇒ ModifyRocketMQInstanceSpecRequest

Returns a new instance of ModifyRocketMQInstanceSpecRequest.



9283
9284
9285
9286
9287
9288
# File 'lib/v20200217/models.rb', line 9283

def initialize(instanceid=nil, specification=nil, nodecount=nil, storagesize=nil)
  @InstanceId = instanceid
  @Specification = specification
  @NodeCount = nodecount
  @StorageSize = storagesize
end

Instance Attribute Details

#InstanceIdObject

rocket-vip-basic-1 基础型 rocket-vip-basic-2 标准型 rocket-vip-basic-3 高阶Ⅰ型 rocket-vip-basic-4 高阶Ⅱ型

Parameters:

  • InstanceId:

    专享实例ID

  • Specification:

    实例规格,

  • NodeCount:

    节点数量

  • StorageSize:

    存储空间,GB为单位



9281
9282
9283
# File 'lib/v20200217/models.rb', line 9281

def InstanceId
  @InstanceId
end

#NodeCountObject

rocket-vip-basic-1 基础型 rocket-vip-basic-2 标准型 rocket-vip-basic-3 高阶Ⅰ型 rocket-vip-basic-4 高阶Ⅱ型

Parameters:

  • InstanceId:

    专享实例ID

  • Specification:

    实例规格,

  • NodeCount:

    节点数量

  • StorageSize:

    存储空间,GB为单位



9281
9282
9283
# File 'lib/v20200217/models.rb', line 9281

def NodeCount
  @NodeCount
end

#SpecificationObject

rocket-vip-basic-1 基础型 rocket-vip-basic-2 标准型 rocket-vip-basic-3 高阶Ⅰ型 rocket-vip-basic-4 高阶Ⅱ型

Parameters:

  • InstanceId:

    专享实例ID

  • Specification:

    实例规格,

  • NodeCount:

    节点数量

  • StorageSize:

    存储空间,GB为单位



9281
9282
9283
# File 'lib/v20200217/models.rb', line 9281

def Specification
  @Specification
end

#StorageSizeObject

rocket-vip-basic-1 基础型 rocket-vip-basic-2 标准型 rocket-vip-basic-3 高阶Ⅰ型 rocket-vip-basic-4 高阶Ⅱ型

Parameters:

  • InstanceId:

    专享实例ID

  • Specification:

    实例规格,

  • NodeCount:

    节点数量

  • StorageSize:

    存储空间,GB为单位



9281
9282
9283
# File 'lib/v20200217/models.rb', line 9281

def StorageSize
  @StorageSize
end

Instance Method Details

#deserialize(params) ⇒ Object



9290
9291
9292
9293
9294
9295
# File 'lib/v20200217/models.rb', line 9290

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Specification = params['Specification']
  @NodeCount = params['NodeCount']
  @StorageSize = params['StorageSize']
end