class TencentCloud::Tsf::V20180326::GroupContainerInfo
部署组容器信息
def deserialize(params)
def deserialize(params) @TagName = params['TagName'] @ContainerName = params['ContainerName'] @RepoName = params['RepoName'] @RepoType = params['RepoType'] unless params['TcrRepoInfo'].nil? @TcrRepoInfo = TcrRepoInfo.new @TcrRepoInfo.deserialize(params['TcrRepoInfo']) end @Server = params['Server'] @SecretName = params['SecretName'] @JvmOpts = params['JvmOpts'] @CpuLimit = params['CpuLimit'] @CpuRequest = params['CpuRequest'] @MemRequest = params['MemRequest'] @MemLimit = params['MemLimit'] unless params['HealthCheckSettings'].nil? @HealthCheckSettings = HealthCheckSettings.new @HealthCheckSettings.deserialize(params['HealthCheckSettings']) end unless params['Envs'].nil? @Envs = [] params['Envs'].each do |i| env_tmp = Env.new env_tmp.deserialize(i) @Envs << env_tmp end end unless params['UserEnvs'].nil? @UserEnvs = [] params['UserEnvs'].each do |i| env_tmp = Env.new env_tmp.deserialize(i) @UserEnvs << env_tmp end end unless params['VolumeMountInfoList'].nil? @VolumeMountInfoList = [] params['VolumeMountInfoList'].each do |i| volumemountinfo_tmp = VolumeMountInfo.new volumemountinfo_tmp.deserialize(i) @VolumeMountInfoList << volumemountinfo_tmp end end end
def initialize(tagname=nil, containername=nil, reponame=nil, repotype=nil, tcrrepoinfo=nil, server=nil, secretname=nil, jvmopts=nil, cpulimit=nil, cpurequest=nil, memrequest=nil, memlimit=nil, healthchecksettings=nil, envs=nil, userenvs=nil, volumemountinfolist=nil)
def initialize(tagname=nil, containername=nil, reponame=nil, repotype=nil, tcrrepoinfo=nil, server=nil, secretname=nil, jvmopts=nil, cpulimit=nil, cpurequest=nil, memrequest=nil, memlimit=nil, healthchecksettings=nil, envs=nil, userenvs=nil, volumemountinfolist=nil) @TagName = tagname @ContainerName = containername @RepoName = reponame @RepoType = repotype @TcrRepoInfo = tcrrepoinfo @Server = server @SecretName = secretname @JvmOpts = jvmopts @CpuLimit = cpulimit @CpuRequest = cpurequest @MemRequest = memrequest @MemLimit = memlimit @HealthCheckSettings = healthchecksettings @Envs = envs @UserEnvs = userenvs @VolumeMountInfoList = volumemountinfolist end