Class: TencentCloud::Tke::V20180525::ClusterLevelAttribute

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

托管集群等级属性

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, _alias = nil, nodecount = nil, podcount = nil, configmapcount = nil, rscount = nil, crdcount = nil, enable = nil, othercount = nil) ⇒ ClusterLevelAttribute

Returns a new instance of ClusterLevelAttribute.



1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
# File 'lib/v20180525/models.rb', line 1440

def initialize(name=nil, _alias=nil, nodecount=nil, podcount=nil, configmapcount=nil, rscount=nil, crdcount=nil, enable=nil, othercount=nil)
  @Name = name
  @Alias = _alias
  @NodeCount = nodecount
  @PodCount = podcount
  @ConfigMapCount = configmapcount
  @RSCount = rscount
  @CRDCount = crdcount
  @Enable = enable
  @OtherCount = othercount
end

Instance Attribute Details

#AliasObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def Alias
  @Alias
end

#ConfigMapCountObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def ConfigMapCount
  @ConfigMapCount
end

#CRDCountObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def CRDCount
  @CRDCount
end

#EnableObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def Enable
  @Enable
end

#NameObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def Name
  @Name
end

#NodeCountObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def NodeCount
  @NodeCount
end

#OtherCountObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def OtherCount
  @OtherCount
end

#PodCountObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def PodCount
  @PodCount
end

#RSCountObject

Parameters:

  • Name:

    集群等级

  • Alias:

    等级名称

  • NodeCount:

    节点数量

  • PodCount:

    Pod数量

  • ConfigMapCount:

    Configmap数量

  • RSCount:

    ReplicaSets数量

  • CRDCount:

    CRD数量

  • Enable:

    是否启用

  • OtherCount:

    其他资源数量



1438
1439
1440
# File 'lib/v20180525/models.rb', line 1438

def RSCount
  @RSCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'lib/v20180525/models.rb', line 1452

def deserialize(params)
  @Name = params['Name']
  @Alias = params['Alias']
  @NodeCount = params['NodeCount']
  @PodCount = params['PodCount']
  @ConfigMapCount = params['ConfigMapCount']
  @RSCount = params['RSCount']
  @CRDCount = params['CRDCount']
  @Enable = params['Enable']
  @OtherCount = params['OtherCount']
end