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.
1307 1308 1309 1310 1311 1312 1313 1314 1315 |
# File 'lib/v20180317/models.rb', line 1307 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,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def ClusterName @ClusterName end |
#ClustersZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def ClustersZone @ClustersZone end |
#Idle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def Idle @Idle end |
#Isp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def Isp @Isp end |
#LoadBalancerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def LoadBalancerId @LoadBalancerId end |
#Vip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1305 1306 1307 |
# File 'lib/v20180317/models.rb', line 1305 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/v20180317/models.rb', line 1317 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 |