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.
1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/v20180317/models.rb', line 1322 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,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def ClusterName @ClusterName end |
#ClustersZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def ClustersZone @ClustersZone end |
#Idle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def Idle @Idle end |
#Isp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def Isp @Isp end |
#LoadBalancerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def LoadBalancerId @LoadBalancerId end |
#Vip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1320 1321 1322 |
# File 'lib/v20180317/models.rb', line 1320 def Vip @Vip end |
Instance Method Details
#deserialize(params) ⇒ Object
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 |
# File 'lib/v20180317/models.rb', line 1332 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 |