Class: TencentCloud::Tke::V20220501::ExternalNodeInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::ExternalNodeInfo
- Defined in:
- lib/v20220501/models.rb
Overview
第三方节点
Instance Attribute Summary collapse
-
#CPU ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#K8SVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Memory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, cpu = nil, memory = nil, k8sversion = nil) ⇒ ExternalNodeInfo
constructor
A new instance of ExternalNodeInfo.
Constructor Details
#initialize(name = nil, cpu = nil, memory = nil, k8sversion = nil) ⇒ ExternalNodeInfo
Returns a new instance of ExternalNodeInfo.
1118 1119 1120 1121 1122 1123 |
# File 'lib/v20220501/models.rb', line 1118 def initialize(name=nil, cpu=nil, memory=nil, k8sversion=nil) @Name = name @CPU = cpu @Memory = memory @K8SVersion = k8sversion end |
Instance Attribute Details
#CPU ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1116 1117 1118 |
# File 'lib/v20220501/models.rb', line 1116 def CPU @CPU end |
#K8SVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1116 1117 1118 |
# File 'lib/v20220501/models.rb', line 1116 def K8SVersion @K8SVersion end |
#Memory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1116 1117 1118 |
# File 'lib/v20220501/models.rb', line 1116 def Memory @Memory end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1116 1117 1118 |
# File 'lib/v20220501/models.rb', line 1116 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
1125 1126 1127 1128 1129 1130 |
# File 'lib/v20220501/models.rb', line 1125 def deserialize(params) @Name = params['Name'] @CPU = params['CPU'] @Memory = params['Memory'] @K8SVersion = params['K8SVersion'] end |