Class: TencentCloud::Tke::V20220501::RegularNodeInfo

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

Overview

普通节点信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceadvancedsettings = nil, autoscalinggroupid = nil) ⇒ RegularNodeInfo

Returns a new instance of RegularNodeInfo.



2081
2082
2083
2084
# File 'lib/v20220501/models.rb', line 2081

def initialize(instanceadvancedsettings=nil, autoscalinggroupid=nil)
  @InstanceAdvancedSettings = instanceadvancedsettings
  @AutoscalingGroupId = autoscalinggroupid
end

Instance Attribute Details

#AutoscalingGroupIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceAdvancedSettings:

    节点配置

  • AutoscalingGroupId:

    自动伸缩组ID



2079
2080
2081
# File 'lib/v20220501/models.rb', line 2079

def AutoscalingGroupId
  @AutoscalingGroupId
end

#InstanceAdvancedSettingsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceAdvancedSettings:

    节点配置

  • AutoscalingGroupId:

    自动伸缩组ID



2079
2080
2081
# File 'lib/v20220501/models.rb', line 2079

def InstanceAdvancedSettings
  @InstanceAdvancedSettings
end

Instance Method Details

#deserialize(params) ⇒ Object



2086
2087
2088
2089
2090
2091
2092
# File 'lib/v20220501/models.rb', line 2086

def deserialize(params)
  unless params['InstanceAdvancedSettings'].nil?
    @InstanceAdvancedSettings = InstanceAdvancedSettings.new
    @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings'])
  end
  @AutoscalingGroupId = params['AutoscalingGroupId']
end