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.



1926
1927
1928
1929
1930
1931
# File 'lib/v20200915/models.rb', line 1926

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为滚动重启



1924
1925
1926
# File 'lib/v20200915/models.rb', line 1924

def InstanceId
  @InstanceId
end

#ScaleUpEnableRollingObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

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

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

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



1924
1925
1926
# File 'lib/v20200915/models.rb', line 1924

def ScaleUpEnableRolling
  @ScaleUpEnableRolling
end

#SpecNameObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

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

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

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



1924
1925
1926
# File 'lib/v20200915/models.rb', line 1924

def SpecName
  @SpecName
end

#TypeObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

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

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

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



1924
1925
1926
# File 'lib/v20200915/models.rb', line 1924

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1933
1934
1935
1936
1937
1938
# File 'lib/v20200915/models.rb', line 1933

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