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.



2892
2893
2894
2895
2896
2897
# File 'lib/v20200915/models.rb', line 2892

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



2890
2891
2892
# File 'lib/v20200915/models.rb', line 2890

def InstanceId
  @InstanceId
end

#ScaleUpEnableRollingObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

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

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

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



2890
2891
2892
# File 'lib/v20200915/models.rb', line 2890

def ScaleUpEnableRolling
  @ScaleUpEnableRolling
end

#SpecNameObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

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

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

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



2890
2891
2892
# File 'lib/v20200915/models.rb', line 2890

def SpecName
  @SpecName
end

#TypeObject

Parameters:

  • InstanceId:

    实例唯一ID

  • Type:

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

  • SpecName:

    clickhouse节点规格。

  • ScaleUpEnableRolling:

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



2890
2891
2892
# File 'lib/v20200915/models.rb', line 2890

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2899
2900
2901
2902
2903
2904
# File 'lib/v20200915/models.rb', line 2899

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