class TencentCloud::Tke::V20180525::Instance
集群的实例信息
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @InstanceRole = params['InstanceRole'] @FailedReason = params['FailedReason'] @InstanceState = params['InstanceState'] @DrainStatus = params['DrainStatus'] unless params['InstanceAdvancedSettings'].nil? @InstanceAdvancedSettings = InstanceAdvancedSettings.new @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings']) end @CreatedTime = params['CreatedTime'] @LanIP = params['LanIP'] @NodePoolId = params['NodePoolId'] @AutoscalingGroupId = params['AutoscalingGroupId'] end
def initialize(instanceid=nil, instancerole=nil, failedreason=nil, instancestate=nil, drainstatus=nil, instanceadvancedsettings=nil, createdtime=nil, lanip=nil, nodepoolid=nil, autoscalinggroupid=nil)
def initialize(instanceid=nil, instancerole=nil, failedreason=nil, instancestate=nil, drainstatus=nil, instanceadvancedsettings=nil, createdtime=nil, lanip=nil, nodepoolid=nil, autoscalinggroupid=nil) @InstanceId = instanceid @InstanceRole = instancerole @FailedReason = failedreason @InstanceState = instancestate @DrainStatus = drainstatus @InstanceAdvancedSettings = instanceadvancedsettings @CreatedTime = createdtime @LanIP = lanip @NodePoolId = nodepoolid @AutoscalingGroupId = autoscalinggroupid end