Class: TencentCloud::Tke::V20180525::ControllerStatus

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

Overview

集群中控制器的状态描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, enabled = nil) ⇒ ControllerStatus

Returns a new instance of ControllerStatus.



1850
1851
1852
1853
# File 'lib/v20180525/models.rb', line 1850

def initialize(name=nil, enabled=nil)
  @Name = name
  @Enabled = enabled
end

Instance Attribute Details

#EnabledObject

Parameters:

  • Name:

    控制器的名字

  • Enabled:

    控制器是否开启



1848
1849
1850
# File 'lib/v20180525/models.rb', line 1848

def Enabled
  @Enabled
end

#NameObject

Parameters:

  • Name:

    控制器的名字

  • Enabled:

    控制器是否开启



1848
1849
1850
# File 'lib/v20180525/models.rb', line 1848

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



1855
1856
1857
1858
# File 'lib/v20180525/models.rb', line 1855

def deserialize(params)
  @Name = params['Name']
  @Enabled = params['Enabled']
end