class TencentCloud::Tke::V20180525::EksCluster
弹性集群信息
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @K8SVersion = params['K8SVersion'] @Status = params['Status'] @ClusterDesc = params['ClusterDesc'] @CreatedTime = params['CreatedTime'] @ServiceSubnetId = params['ServiceSubnetId'] unless params['DnsServers'].nil? @DnsServers = [] params['DnsServers'].each do |i| dnsserverconf_tmp = DnsServerConf.new dnsserverconf_tmp.deserialize(i) @DnsServers << dnsserverconf_tmp end end @NeedDeleteCbs = params['NeedDeleteCbs'] @EnableVpcCoreDNS = params['EnableVpcCoreDNS'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| tagspecification_tmp = TagSpecification.new tagspecification_tmp.deserialize(i) @TagSpecification << tagspecification_tmp end end end
def initialize(clusterid=nil, clustername=nil, vpcid=nil, subnetids=nil, k8sversion=nil, status=nil, clusterdesc=nil, createdtime=nil, servicesubnetid=nil, dnsservers=nil, needdeletecbs=nil, enablevpccoredns=nil, tagspecification=nil)
def initialize(clusterid=nil, clustername=nil, vpcid=nil, subnetids=nil, k8sversion=nil, status=nil, clusterdesc=nil, createdtime=nil, servicesubnetid=nil, dnsservers=nil, needdeletecbs=nil, enablevpccoredns=nil, tagspecification=nil) @ClusterId = clusterid @ClusterName = clustername @VpcId = vpcid @SubnetIds = subnetids @K8SVersion = k8sversion @Status = status @ClusterDesc = clusterdesc @CreatedTime = createdtime @ServiceSubnetId = servicesubnetid @DnsServers = dnsservers @NeedDeleteCbs = needdeletecbs @EnableVpcCoreDNS = enablevpccoredns @TagSpecification = tagspecification end