class TencentCloud::Tsf::V20180326::DeployContainerGroupRequest

DeployContainerGroup请求参数结构体

def deserialize(params)

def deserialize(params)
  @GroupId = params['GroupId']
  @TagName = params['TagName']
  @InstanceNum = params['InstanceNum']
  @Server = params['Server']
  @Reponame = params['Reponame']
  @CpuLimit = params['CpuLimit']
  @MemLimit = params['MemLimit']
  @JvmOpts = params['JvmOpts']
  @CpuRequest = params['CpuRequest']
  @MemRequest = params['MemRequest']
  @DoNotStart = params['DoNotStart']
  @RepoName = params['RepoName']
  @UpdateType = params['UpdateType']
  @UpdateIvl = params['UpdateIvl']
  @AgentCpuRequest = params['AgentCpuRequest']
  @AgentCpuLimit = params['AgentCpuLimit']
  @AgentMemRequest = params['AgentMemRequest']
  @AgentMemLimit = params['AgentMemLimit']
  @IstioCpuRequest = params['IstioCpuRequest']
  @IstioCpuLimit = params['IstioCpuLimit']
  @IstioMemRequest = params['IstioMemRequest']
  @IstioMemLimit = params['IstioMemLimit']
  @MaxSurge = params['MaxSurge']
  @MaxUnavailable = params['MaxUnavailable']
  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['ServiceSetting'].nil?
    @ServiceSetting = ServiceSetting.new
    @ServiceSetting.deserialize(params['ServiceSetting'])
  end
  @DeployAgent = params['DeployAgent']
  unless params['SchedulingStrategy'].nil?
    @SchedulingStrategy = SchedulingStrategy.new
    @SchedulingStrategy.deserialize(params['SchedulingStrategy'])
  end
  @IncrementalDeployment = params['IncrementalDeployment']
  @RepoType = params['RepoType']
  unless params['VolumeInfos'].nil?
    @VolumeInfos = VolumeInfo.new
    @VolumeInfos.deserialize(params['VolumeInfos'])
  end
  unless params['VolumeMountInfos'].nil?
    @VolumeMountInfos = VolumeMountInfo.new
    @VolumeMountInfos.deserialize(params['VolumeMountInfos'])
  end
  unless params['VolumeInfoList'].nil?
    @VolumeInfoList = []
    params['VolumeInfoList'].each do |i|
      volumeinfo_tmp = VolumeInfo.new
      volumeinfo_tmp.deserialize(i)
      @VolumeInfoList << volumeinfo_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
  @VolumeClean = params['VolumeClean']
  unless params['AgentProfileList'].nil?
    @AgentProfileList = []
    params['AgentProfileList'].each do |i|
      agentprofile_tmp = AgentProfile.new
      agentprofile_tmp.deserialize(i)
      @AgentProfileList << agentprofile_tmp
    end
  end
  unless params['WarmupSetting'].nil?
    @WarmupSetting = WarmupSetting.new
    @WarmupSetting.deserialize(params['WarmupSetting'])
  end
end

def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, reponame=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil, volumeinfolist=nil, volumemountinfolist=nil, volumeclean=nil, agentprofilelist=nil, warmupsetting=nil)

def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, reponame=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil, volumeinfolist=nil, volumemountinfolist=nil, volumeclean=nil, agentprofilelist=nil, warmupsetting=nil)
  @GroupId = groupid
  @TagName = tagname
  @InstanceNum = instancenum
  @Server = server
  @Reponame = reponame
  @CpuLimit = cpulimit
  @MemLimit = memlimit
  @JvmOpts = jvmopts
  @CpuRequest = cpurequest
  @MemRequest = memrequest
  @DoNotStart = donotstart
  @RepoName = reponame
  @UpdateType = updatetype
  @UpdateIvl = updateivl
  @AgentCpuRequest = agentcpurequest
  @AgentCpuLimit = agentcpulimit
  @AgentMemRequest = agentmemrequest
  @AgentMemLimit = agentmemlimit
  @IstioCpuRequest = istiocpurequest
  @IstioCpuLimit = istiocpulimit
  @IstioMemRequest = istiomemrequest
  @IstioMemLimit = istiomemlimit
  @MaxSurge = maxsurge
  @MaxUnavailable = maxunavailable
  @HealthCheckSettings = healthchecksettings
  @Envs = envs
  @ServiceSetting = servicesetting
  @DeployAgent = deployagent
  @SchedulingStrategy = schedulingstrategy
  @IncrementalDeployment = incrementaldeployment
  @RepoType = repotype
  @VolumeInfos = volumeinfos
  @VolumeMountInfos = volumemountinfos
  @VolumeInfoList = volumeinfolist
  @VolumeMountInfoList = volumemountinfolist
  @VolumeClean = volumeclean
  @AgentProfileList = agentprofilelist
  @WarmupSetting = warmupsetting
end