Class: TencentCloud::Clb::V20180317::ClusterResource
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ClusterResource
- Defined in:
- lib/v20180317/models.rb
Overview
集群内资源类型
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ClustersZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Idle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Isp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LoadBalancerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Vip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, vip = nil, loadbalancerid = nil, idle = nil, clustername = nil, isp = nil, clusterszone = nil) ⇒ ClusterResource
constructor
A new instance of ClusterResource.
Constructor Details
#initialize(clusterid = nil, vip = nil, loadbalancerid = nil, idle = nil, clustername = nil, isp = nil, clusterszone = nil) ⇒ ClusterResource
Returns a new instance of ClusterResource.
1196 1197 1198 1199 1200 1201 1202 1203 1204 |
# File 'lib/v20180317/models.rb', line 1196 def initialize(clusterid=nil, vip=nil, loadbalancerid=nil, idle=nil, clustername=nil, isp=nil, clusterszone=nil) @ClusterId = clusterid @Vip = vip @LoadBalancerId = loadbalancerid @Idle = idle @ClusterName = clustername @Isp = isp @ClustersZone = clusterszone end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def ClusterName @ClusterName end |
#ClustersZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def ClustersZone @ClustersZone end |
#Idle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def Idle @Idle end |
#Isp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def Isp @Isp end |
#LoadBalancerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def LoadBalancerId @LoadBalancerId end |
#Vip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1194 1195 1196 |
# File 'lib/v20180317/models.rb', line 1194 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/v20180317/models.rb', line 1206 def deserialize(params) @ClusterId = params['ClusterId'] @Vip = params['Vip'] @LoadBalancerId = params['LoadBalancerId'] @Idle = params['Idle'] @ClusterName = params['ClusterName'] @Isp = params['Isp'] unless params['ClustersZone'].nil? @ClustersZone = ClustersZone.new @ClustersZone.deserialize(params['ClustersZone']) end end |