Class: TencentCloud::Tke::V20180525::UpdateTKEEdgeClusterRequest

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

Overview

UpdateTKEEdgeCluster请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustername = nil, clusterdesc = nil, podcidr = nil, servicecidr = nil, publiclb = nil, internallb = nil, coredns = nil, healthregion = nil, health = nil, griddaemon = nil, autoupgradeclusterlevel = nil, clusterlevel = nil) ⇒ UpdateTKEEdgeClusterRequest



19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
# File 'lib/v20180525/models.rb', line 19648

def initialize(clusterid=nil, clustername=nil, clusterdesc=nil, podcidr=nil, servicecidr=nil, publiclb=nil, internallb=nil, coredns=nil, healthregion=nil, health=nil, griddaemon=nil, autoupgradeclusterlevel=nil, clusterlevel=nil)
  @ClusterId = clusterid
  @ClusterName = clustername
  @ClusterDesc = clusterdesc
  @PodCIDR = podcidr
  @ServiceCIDR = servicecidr
  @PublicLB = publiclb
  @InternalLB = internallb
  @CoreDns = coredns
  @HealthRegion = healthregion
  @Health = health
  @GridDaemon = griddaemon
  @AutoUpgradeClusterLevel = autoupgradeclusterlevel
  @ClusterLevel = clusterlevel
end

Instance Attribute Details

#AutoUpgradeClusterLevelObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def AutoUpgradeClusterLevel
  @AutoUpgradeClusterLevel
end

#ClusterDescObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def ClusterDesc
  @ClusterDesc
end

#ClusterIdObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def ClusterId
  @ClusterId
end

#ClusterLevelObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def ClusterLevel
  @ClusterLevel
end

#ClusterNameObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def ClusterName
  @ClusterName
end

#CoreDnsObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def CoreDns
  @CoreDns
end

#GridDaemonObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def GridDaemon
  @GridDaemon
end

#HealthObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def Health
  @Health
end

#HealthRegionObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def HealthRegion
  @HealthRegion
end

#InternalLBObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def InternalLB
  @InternalLB
end

#PodCIDRObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def PodCIDR
  @PodCIDR
end

#PublicLBObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def PublicLB
  @PublicLB
end

#ServiceCIDRObject



19646
19647
19648
# File 'lib/v20180525/models.rb', line 19646

def ServiceCIDR
  @ServiceCIDR
end

Instance Method Details

#deserialize(params) ⇒ Object



19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
# File 'lib/v20180525/models.rb', line 19664

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
  @ClusterDesc = params['ClusterDesc']
  @PodCIDR = params['PodCIDR']
  @ServiceCIDR = params['ServiceCIDR']
  unless params['PublicLB'].nil?
    @PublicLB = EdgeClusterPublicLB.new
    @PublicLB.deserialize(params['PublicLB'])
  end
  unless params['InternalLB'].nil?
    @InternalLB = EdgeClusterInternalLB.new
    @InternalLB.deserialize(params['InternalLB'])
  end
  @CoreDns = params['CoreDns']
  @HealthRegion = params['HealthRegion']
  @Health = params['Health']
  @GridDaemon = params['GridDaemon']
  @AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel']
  @ClusterLevel = params['ClusterLevel']
end