class TencentCloud::Tsf::V20180326::ContainerGroupDetail

容器部署组详情

def deserialize(params)

def deserialize(params)
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  @InstanceNum = params['InstanceNum']
  @CurrentNum = params['CurrentNum']
  @CreateTime = params['CreateTime']
  @Server = params['Server']
  @Reponame = params['Reponame']
  @TagName = params['TagName']
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
  @NamespaceId = params['NamespaceId']
  @NamespaceName = params['NamespaceName']
  @ApplicationId = params['ApplicationId']
  @LbIp = params['LbIp']
  @ApplicationType = params['ApplicationType']
  @ClusterIp = params['ClusterIp']
  @NodePort = params['NodePort']
  @CpuLimit = params['CpuLimit']
  @MemLimit = params['MemLimit']
  @AccessType = params['AccessType']
  @UpdateType = params['UpdateType']
  @UpdateIvl = params['UpdateIvl']
  unless params['ProtocolPorts'].nil?
    @ProtocolPorts = []
    params['ProtocolPorts'].each do |i|
      protocolport_tmp = ProtocolPort.new
      protocolport_tmp.deserialize(i)
      @ProtocolPorts << protocolport_tmp
    end
  end
  unless params['Envs'].nil?
    @Envs = []
    params['Envs'].each do |i|
      env_tmp = Env.new
      env_tmp.deserialize(i)
      @Envs << env_tmp
    end
  end
  @ApplicationName = params['ApplicationName']
  @Message = params['Message']
  @Status = params['Status']
  @MicroserviceType = params['MicroserviceType']
  @CpuRequest = params['CpuRequest']
  @MemRequest = params['MemRequest']
  @SubnetId = params['SubnetId']
  @GroupResourceType = params['GroupResourceType']
  @InstanceCount = params['InstanceCount']
  @UpdatedTime = params['UpdatedTime']
  @MaxSurge = params['MaxSurge']
  @MaxUnavailable = params['MaxUnavailable']
  unless params['HealthCheckSettings'].nil?
    @HealthCheckSettings = HealthCheckSettings.new
    @HealthCheckSettings.deserialize(params['HealthCheckSettings'])
  end
  @AllowPlainYamlDeploy = params['AllowPlainYamlDeploy']
  @IsNotEqualServiceConfig = params['IsNotEqualServiceConfig']
  @RepoName = params['RepoName']
  @Alias = params['Alias']
end

def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, createtime=nil, server=nil, reponame=nil, tagname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, lbip=nil, applicationtype=nil, clusterip=nil, nodeport=nil, cpulimit=nil, memlimit=nil, accesstype=nil, updatetype=nil, updateivl=nil, protocolports=nil, envs=nil, applicationname=nil, message=nil, status=nil, microservicetype=nil, cpurequest=nil, memrequest=nil, subnetid=nil, groupresourcetype=nil, instancecount=nil, updatedtime=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, allowplainyamldeploy=nil, isnotequalserviceconfig=nil, reponame=nil, _alias=nil)

def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, createtime=nil, server=nil, reponame=nil, tagname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, lbip=nil, applicationtype=nil, clusterip=nil, nodeport=nil, cpulimit=nil, memlimit=nil, accesstype=nil, updatetype=nil, updateivl=nil, protocolports=nil, envs=nil, applicationname=nil, message=nil, status=nil, microservicetype=nil, cpurequest=nil, memrequest=nil, subnetid=nil, groupresourcetype=nil, instancecount=nil, updatedtime=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, allowplainyamldeploy=nil, isnotequalserviceconfig=nil, reponame=nil, _alias=nil)
  @GroupId = groupid
  @GroupName = groupname
  @InstanceNum = instancenum
  @CurrentNum = currentnum
  @CreateTime = createtime
  @Server = server
  @Reponame = reponame
  @TagName = tagname
  @ClusterId = clusterid
  @ClusterName = clustername
  @NamespaceId = namespaceid
  @NamespaceName = namespacename
  @ApplicationId = applicationid
  @LbIp = lbip
  @ApplicationType = applicationtype
  @ClusterIp = clusterip
  @NodePort = nodeport
  @CpuLimit = cpulimit
  @MemLimit = memlimit
  @AccessType = accesstype
  @UpdateType = updatetype
  @UpdateIvl = updateivl
  @ProtocolPorts = protocolports
  @Envs = envs
  @ApplicationName = applicationname
  @Message = message
  @Status = status
  @MicroserviceType = microservicetype
  @CpuRequest = cpurequest
  @MemRequest = memrequest
  @SubnetId = subnetid
  @GroupResourceType = groupresourcetype
  @InstanceCount = instancecount
  @UpdatedTime = updatedtime
  @MaxSurge = maxsurge
  @MaxUnavailable = maxunavailable
  @HealthCheckSettings = healthchecksettings
  @AllowPlainYamlDeploy = allowplainyamldeploy
  @IsNotEqualServiceConfig = isnotequalserviceconfig
  @RepoName = reponame
  @Alias = _alias
end