class TencentCloud::Tke::V20180525::Cluster
集群信息结构体
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @ClusterDescription = params['ClusterDescription'] @ClusterVersion = params['ClusterVersion'] @ClusterOs = params['ClusterOs'] @ClusterType = params['ClusterType'] unless params['ClusterNetworkSettings'].nil? @ClusterNetworkSettings = ClusterNetworkSettings.new @ClusterNetworkSettings.deserialize(params['ClusterNetworkSettings']) end @ClusterNodeNum = params['ClusterNodeNum'] @ProjectId = params['ProjectId'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| tagspecification_tmp = TagSpecification.new tagspecification_tmp.deserialize(i) @TagSpecification << tagspecification_tmp end end @ClusterStatus = params['ClusterStatus'] @Property = params['Property'] @ClusterMaterNodeNum = params['ClusterMaterNodeNum'] @ImageId = params['ImageId'] @OsCustomizeType = params['OsCustomizeType'] @ContainerRuntime = params['ContainerRuntime'] @CreatedTime = params['CreatedTime'] @DeletionProtection = params['DeletionProtection'] @EnableExternalNode = params['EnableExternalNode'] @ClusterLevel = params['ClusterLevel'] @AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel'] @QGPUShareEnable = params['QGPUShareEnable'] @RuntimeVersion = params['RuntimeVersion'] @ClusterEtcdNodeNum = params['ClusterEtcdNodeNum'] @CdcId = params['CdcId'] end
def initialize(clusterid=nil, clustername=nil, clusterdescription=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternetworksettings=nil, clusternodenum=nil, projectid=nil, tagspecification=nil, clusterstatus=nil, property=nil, clustermaternodenum=nil, imageid=nil, oscustomizetype=nil, containerruntime=nil, createdtime=nil, deletionprotection=nil, enableexternalnode=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil, runtimeversion=nil, clusteretcdnodenum=nil, cdcid=nil)
def initialize(clusterid=nil, clustername=nil, clusterdescription=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternetworksettings=nil, clusternodenum=nil, projectid=nil, tagspecification=nil, clusterstatus=nil, property=nil, clustermaternodenum=nil, imageid=nil, oscustomizetype=nil, containerruntime=nil, createdtime=nil, deletionprotection=nil, enableexternalnode=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil, runtimeversion=nil, clusteretcdnodenum=nil, cdcid=nil) @ClusterId = clusterid @ClusterName = clustername @ClusterDescription = clusterdescription @ClusterVersion = clusterversion @ClusterOs = clusteros @ClusterType = clustertype @ClusterNetworkSettings = clusternetworksettings @ClusterNodeNum = clusternodenum @ProjectId = projectid @TagSpecification = tagspecification @ClusterStatus = clusterstatus @Property = property @ClusterMaterNodeNum = clustermaternodenum @ImageId = imageid @OsCustomizeType = oscustomizetype @ContainerRuntime = containerruntime @CreatedTime = createdtime @DeletionProtection = deletionprotection @EnableExternalNode = enableexternalnode @ClusterLevel = clusterlevel @AutoUpgradeClusterLevel = autoupgradeclusterlevel @QGPUShareEnable = qgpushareenable @RuntimeVersion = runtimeversion @ClusterEtcdNodeNum = clusteretcdnodenum @CdcId = cdcid end