Class: TencentCloud::Cdwch::V20200915::ScaleUpInstanceRequest

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

Overview

ScaleUpInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, type = nil, specname = nil, scaleupenablerolling = nil) ⇒ ScaleUpInstanceRequest

Returns a new instance of ScaleUpInstanceRequest.



3067
3068
3069
3070
3071
3072
# File 'lib/v20200915/models.rb', line 3067

def initialize(instanceid=nil, type=nil, specname=nil, scaleupenablerolling=nil)
  @InstanceId = instanceid
  @Type = type
  @SpecName = specname
  @ScaleUpEnableRolling = scaleupenablerolling
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

    节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

    是否滚动重启,false为不滚动重启,true为滚动重启



3065
3066
3067
# File 'lib/v20200915/models.rb', line 3065

def InstanceId
  @InstanceId
end

#ScaleUpEnableRollingObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

    节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

    是否滚动重启,false为不滚动重启,true为滚动重启



3065
3066
3067
# File 'lib/v20200915/models.rb', line 3065

def ScaleUpEnableRolling
  @ScaleUpEnableRolling
end

#SpecNameObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

    节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

    是否滚动重启,false为不滚动重启,true为滚动重启



3065
3066
3067
# File 'lib/v20200915/models.rb', line 3065

def SpecName
  @SpecName
end

#TypeObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

    节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

    是否滚动重启,false为不滚动重启,true为滚动重启



3065
3066
3067
# File 'lib/v20200915/models.rb', line 3065

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3074
3075
3076
3077
3078
3079
# File 'lib/v20200915/models.rb', line 3074

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Type = params['Type']
  @SpecName = params['SpecName']
  @ScaleUpEnableRolling = params['ScaleUpEnableRolling']
end