class TencentCloud::Tcbr::V20220217::ServerBaseConfig

服务基础配置信息

def deserialize(params)

def deserialize(params)
  @EnvId = params['EnvId']
  @ServerName = params['ServerName']
  @OpenAccessTypes = params['OpenAccessTypes']
  @Cpu = params['Cpu']
  @Mem = params['Mem']
  @MinNum = params['MinNum']
  @MaxNum = params['MaxNum']
  unless params['PolicyDetails'].nil?
    @PolicyDetails = []
    params['PolicyDetails'].each do |i|
      hpapolicy_tmp = HpaPolicy.new
      hpapolicy_tmp.deserialize(i)
      @PolicyDetails << hpapolicy_tmp
    end
  end
  @CustomLogs = params['CustomLogs']
  @EnvParams = params['EnvParams']
  @InitialDelaySeconds = params['InitialDelaySeconds']
  @CreateTime = params['CreateTime']
  @Port = params['Port']
  @HasDockerfile = params['HasDockerfile']
  @Dockerfile = params['Dockerfile']
  @BuildDir = params['BuildDir']
  @LogType = params['LogType']
  @LogSetId = params['LogSetId']
  @LogTopicId = params['LogTopicId']
  @LogParseType = params['LogParseType']
end

def initialize(envid=nil, servername=nil, openaccesstypes=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policydetails=nil, customlogs=nil, envparams=nil, initialdelayseconds=nil, createtime=nil, port=nil, hasdockerfile=nil, dockerfile=nil, builddir=nil, logtype=nil, logsetid=nil, logtopicid=nil, logparsetype=nil)

def initialize(envid=nil, servername=nil, openaccesstypes=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policydetails=nil, customlogs=nil, envparams=nil, initialdelayseconds=nil, createtime=nil, port=nil, hasdockerfile=nil, dockerfile=nil, builddir=nil, logtype=nil, logsetid=nil, logtopicid=nil, logparsetype=nil)
  @EnvId = envid
  @ServerName = servername
  @OpenAccessTypes = openaccesstypes
  @Cpu = cpu
  @Mem = mem
  @MinNum = minnum
  @MaxNum = maxnum
  @PolicyDetails = policydetails
  @CustomLogs = customlogs
  @EnvParams = envparams
  @InitialDelaySeconds = initialdelayseconds
  @CreateTime = createtime
  @Port = port
  @HasDockerfile = hasdockerfile
  @Dockerfile = dockerfile
  @BuildDir = builddir
  @LogType = logtype
  @LogSetId = logsetid
  @LogTopicId = logtopicid
  @LogParseType = logparsetype
end