class TencentCloud::Tsf::V20180326::Cluster
集群
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @ClusterDesc = params['ClusterDesc'] @ClusterType = params['ClusterType'] @VpcId = params['VpcId'] @ClusterStatus = params['ClusterStatus'] @ClusterCIDR = params['ClusterCIDR'] @ClusterTotalCpu = params['ClusterTotalCpu'] @ClusterTotalMem = params['ClusterTotalMem'] @ClusterUsedCpu = params['ClusterUsedCpu'] @ClusterUsedMem = params['ClusterUsedMem'] @InstanceCount = params['InstanceCount'] @RunInstanceCount = params['RunInstanceCount'] @NormalInstanceCount = params['NormalInstanceCount'] @DeleteFlag = params['DeleteFlag'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @TsfRegionId = params['TsfRegionId'] @TsfRegionName = params['TsfRegionName'] @TsfZoneId = params['TsfZoneId'] @TsfZoneName = params['TsfZoneName'] @DeleteFlagReason = params['DeleteFlagReason'] @ClusterLimitCpu = params['ClusterLimitCpu'] @ClusterLimitMem = params['ClusterLimitMem'] @RunServiceInstanceCount = params['RunServiceInstanceCount'] @SubnetId = params['SubnetId'] unless params['OperationInfo'].nil? @OperationInfo = OperationInfo.new @OperationInfo.deserialize(params['OperationInfo']) end @ClusterVersion = params['ClusterVersion'] end
def initialize(clusterid=nil, clustername=nil, clusterdesc=nil, clustertype=nil, vpcid=nil, clusterstatus=nil, clustercidr=nil, clustertotalcpu=nil, clustertotalmem=nil, clusterusedcpu=nil, clusterusedmem=nil, instancecount=nil, runinstancecount=nil, normalinstancecount=nil, deleteflag=nil, createtime=nil, updatetime=nil, tsfregionid=nil, tsfregionname=nil, tsfzoneid=nil, tsfzonename=nil, deleteflagreason=nil, clusterlimitcpu=nil, clusterlimitmem=nil, runserviceinstancecount=nil, subnetid=nil, operationinfo=nil, clusterversion=nil)
def initialize(clusterid=nil, clustername=nil, clusterdesc=nil, clustertype=nil, vpcid=nil, clusterstatus=nil, clustercidr=nil, clustertotalcpu=nil, clustertotalmem=nil, clusterusedcpu=nil, clusterusedmem=nil, instancecount=nil, runinstancecount=nil, normalinstancecount=nil, deleteflag=nil, createtime=nil, updatetime=nil, tsfregionid=nil, tsfregionname=nil, tsfzoneid=nil, tsfzonename=nil, deleteflagreason=nil, clusterlimitcpu=nil, clusterlimitmem=nil, runserviceinstancecount=nil, subnetid=nil, operationinfo=nil, clusterversion=nil) @ClusterId = clusterid @ClusterName = clustername @ClusterDesc = clusterdesc @ClusterType = clustertype @VpcId = vpcid @ClusterStatus = clusterstatus @ClusterCIDR = clustercidr @ClusterTotalCpu = clustertotalcpu @ClusterTotalMem = clustertotalmem @ClusterUsedCpu = clusterusedcpu @ClusterUsedMem = clusterusedmem @InstanceCount = instancecount @RunInstanceCount = runinstancecount @NormalInstanceCount = normalinstancecount @DeleteFlag = deleteflag @CreateTime = createtime @UpdateTime = updatetime @TsfRegionId = tsfregionid @TsfRegionName = tsfregionname @TsfZoneId = tsfzoneid @TsfZoneName = tsfzonename @DeleteFlagReason = deleteflagreason @ClusterLimitCpu = clusterlimitcpu @ClusterLimitMem = clusterlimitmem @RunServiceInstanceCount = runserviceinstancecount @SubnetId = subnetid @OperationInfo = operationinfo @ClusterVersion = clusterversion end