Class: TencentCloud::Tcm::V20210413::Cluster
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::Cluster
- Defined in:
- lib/v20210413/models.rb
Overview
Mesh集群信息
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#Config ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#DisplayName ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#HostedNamespaces ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#LinkedTime ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#Region ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#Role ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#State ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#Status ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#SubnetId ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#Type ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
-
#VpcId ⇒ Object
-
MASTER:控制面所在的主集群 - REMOTE:主集群管理的远端集群 - TKE - EKS.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, region = nil, role = nil, vpcid = nil, subnetid = nil, displayname = nil, state = nil, linkedtime = nil, config = nil, status = nil, type = nil, hostednamespaces = nil) ⇒ Cluster
constructor
A new instance of Cluster.
Constructor Details
#initialize(clusterid = nil, region = nil, role = nil, vpcid = nil, subnetid = nil, displayname = nil, state = nil, linkedtime = nil, config = nil, status = nil, type = nil, hostednamespaces = nil) ⇒ Cluster
Returns a new instance of Cluster.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/v20210413/models.rb', line 216 def initialize(clusterid=nil, region=nil, role=nil, vpcid=nil, subnetid=nil, displayname=nil, state=nil, linkedtime=nil, config=nil, status=nil, type=nil, hostednamespaces=nil) @ClusterId = clusterid @Region = region @Role = role @VpcId = vpcid @SubnetId = subnetid @DisplayName = displayname @State = state @LinkedTime = linkedtime @Config = config @Status = status @Type = type @HostedNamespaces = hostednamespaces end |
Instance Attribute Details
#ClusterId ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def ClusterId @ClusterId end |
#Config ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def Config @Config end |
#DisplayName ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def DisplayName @DisplayName end |
#HostedNamespaces ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def HostedNamespaces @HostedNamespaces end |
#LinkedTime ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def LinkedTime @LinkedTime end |
#Region ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def Region @Region end |
#Role ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def Role @Role end |
#State ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def State @State end |
#Status ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def Status @Status end |
#SubnetId ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def SubnetId @SubnetId end |
#Type ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def Type @Type end |
#VpcId ⇒ Object
-
MASTER:控制面所在的主集群
-
REMOTE:主集群管理的远端集群
-
TKE
-
EKS
214 215 216 |
# File 'lib/v20210413/models.rb', line 214 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/v20210413/models.rb', line 231 def deserialize(params) @ClusterId = params['ClusterId'] @Region = params['Region'] @Role = params['Role'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @DisplayName = params['DisplayName'] @State = params['State'] @LinkedTime = params['LinkedTime'] unless params['Config'].nil? @Config = ClusterConfig.new @Config.deserialize(params['Config']) end unless params['Status'].nil? @Status = ClusterStatus.new @Status.deserialize(params['Status']) end @Type = params['Type'] @HostedNamespaces = params['HostedNamespaces'] end |