Class: TencentCloud::Tke::V20180525::ExistedInstancesForNode
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ExistedInstancesForNode
- Defined in:
- lib/v20180525/models.rb
Overview
不同角色的已存在节点配置参数
Instance Attribute Summary collapse
- #DesiredPodNumbers ⇒ Object
- #ExistedInstancesPara ⇒ Object
- #InstanceAdvancedSettingsOverride ⇒ Object
- #NodeRole ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(noderole = nil, existedinstancespara = nil, instanceadvancedsettingsoverride = nil, desiredpodnumbers = nil) ⇒ ExistedInstancesForNode
constructor
A new instance of ExistedInstancesForNode.
Constructor Details
#initialize(noderole = nil, existedinstancespara = nil, instanceadvancedsettingsoverride = nil, desiredpodnumbers = nil) ⇒ ExistedInstancesForNode
Returns a new instance of ExistedInstancesForNode.
11898 11899 11900 11901 11902 11903 |
# File 'lib/v20180525/models.rb', line 11898 def initialize(noderole=nil, existedinstancespara=nil, instanceadvancedsettingsoverride=nil, desiredpodnumbers=nil) @NodeRole = noderole @ExistedInstancesPara = existedinstancespara @InstanceAdvancedSettingsOverride = instanceadvancedsettingsoverride @DesiredPodNumbers = desiredpodnumbers end |
Instance Attribute Details
#DesiredPodNumbers ⇒ Object
11896 11897 11898 |
# File 'lib/v20180525/models.rb', line 11896 def DesiredPodNumbers @DesiredPodNumbers end |
#ExistedInstancesPara ⇒ Object
11896 11897 11898 |
# File 'lib/v20180525/models.rb', line 11896 def ExistedInstancesPara @ExistedInstancesPara end |
#InstanceAdvancedSettingsOverride ⇒ Object
11896 11897 11898 |
# File 'lib/v20180525/models.rb', line 11896 def InstanceAdvancedSettingsOverride @InstanceAdvancedSettingsOverride end |
#NodeRole ⇒ Object
11896 11897 11898 |
# File 'lib/v20180525/models.rb', line 11896 def NodeRole @NodeRole end |
Instance Method Details
#deserialize(params) ⇒ Object
11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 |
# File 'lib/v20180525/models.rb', line 11905 def deserialize(params) @NodeRole = params['NodeRole'] unless params['ExistedInstancesPara'].nil? @ExistedInstancesPara = ExistedInstancesPara.new @ExistedInstancesPara.deserialize(params['ExistedInstancesPara']) end unless params['InstanceAdvancedSettingsOverride'].nil? @InstanceAdvancedSettingsOverride = InstanceAdvancedSettings.new @InstanceAdvancedSettingsOverride.deserialize(params['InstanceAdvancedSettingsOverride']) end @DesiredPodNumbers = params['DesiredPodNumbers'] end |