class TencentCloud::Tke::V20220501::Instance

集群的实例信息

def deserialize(params)

def deserialize(params)
  @InstanceId = params['InstanceId']
  @InstanceRole = params['InstanceRole']
  @FailedReason = params['FailedReason']
  @InstanceState = params['InstanceState']
  @Unschedulable = params['Unschedulable']
  @CreatedTime = params['CreatedTime']
  @LanIP = params['LanIP']
  @NodePoolId = params['NodePoolId']
  unless params['Native'].nil?
    @Native = NativeNodeInfo.new
    @Native.deserialize(params['Native'])
  end
  unless params['Regular'].nil?
    @Regular = RegularNodeInfo.new
    @Regular.deserialize(params['Regular'])
  end
  unless params['Super'].nil?
    @Super = SuperNodeInfo.new
    @Super.deserialize(params['Super'])
  end
  unless params['External'].nil?
    @External = ExternalNodeInfo.new
    @External.deserialize(params['External'])
  end
  @NodeType = params['NodeType']
end

def initialize(instanceid=nil, instancerole=nil, failedreason=nil, instancestate=nil, unschedulable=nil, createdtime=nil, lanip=nil, nodepoolid=nil, native=nil, regular=nil, _super=nil, external=nil, nodetype=nil)

def initialize(instanceid=nil, instancerole=nil, failedreason=nil, instancestate=nil, unschedulable=nil, createdtime=nil, lanip=nil, nodepoolid=nil, native=nil, regular=nil, _super=nil, external=nil, nodetype=nil)
  @InstanceId = instanceid
  @InstanceRole = instancerole
  @FailedReason = failedreason
  @InstanceState = instancestate
  @Unschedulable = unschedulable
  @CreatedTime = createdtime
  @LanIP = lanip
  @NodePoolId = nodepoolid
  @Native = native
  @Regular = regular
  @Super = _super
  @External = external
  @NodeType = nodetype
end