class TencentCloud::Tsf::V20180326::VmGroup

虚拟机部署组信息

def deserialize(params)

def deserialize(params)
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  @GroupStatus = params['GroupStatus']
  @PackageId = params['PackageId']
  @PackageName = params['PackageName']
  @PackageVersion = params['PackageVersion']
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
  @NamespaceId = params['NamespaceId']
  @NamespaceName = params['NamespaceName']
  @ApplicationId = params['ApplicationId']
  @ApplicationName = params['ApplicationName']
  @InstanceCount = params['InstanceCount']
  @RunInstanceCount = params['RunInstanceCount']
  @StartupParameters = params['StartupParameters']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @OffInstanceCount = params['OffInstanceCount']
  @GroupDesc = params['GroupDesc']
  @MicroserviceType = params['MicroserviceType']
  @ApplicationType = params['ApplicationType']
  @GroupResourceType = params['GroupResourceType']
  @UpdatedTime = params['UpdatedTime']
  @DeployDesc = params['DeployDesc']
  @UpdateType = params['UpdateType']
  @DeployBetaEnable = params['DeployBetaEnable']
  @DeployBatch = params['DeployBatch']
  @DeployExeMode = params['DeployExeMode']
  @DeployWaitTime = params['DeployWaitTime']
  @EnableHealthCheck = params['EnableHealthCheck']
  unless params['HealthCheckSettings'].nil?
    @HealthCheckSettings = HealthCheckSettings.new
    @HealthCheckSettings.deserialize(params['HealthCheckSettings'])
  end
  @PackageType = params['PackageType']
  @StartScript = params['StartScript']
  @StopScript = params['StopScript']
  @Alias = params['Alias']
  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
  unless params['GatewayConfig'].nil?
    @GatewayConfig = GatewayConfig.new
    @GatewayConfig.deserialize(params['GatewayConfig'])
  end
  @EnableBatchHealthCheck = params['EnableBatchHealthCheck']
end

def initialize(groupid=nil, groupname=nil, groupstatus=nil, packageid=nil, packagename=nil, packageversion=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, applicationname=nil, instancecount=nil, runinstancecount=nil, startupparameters=nil, createtime=nil, updatetime=nil, offinstancecount=nil, groupdesc=nil, microservicetype=nil, applicationtype=nil, groupresourcetype=nil, updatedtime=nil, deploydesc=nil, updatetype=nil, deploybetaenable=nil, deploybatch=nil, deployexemode=nil, deploywaittime=nil, enablehealthcheck=nil, healthchecksettings=nil, packagetype=nil, startscript=nil, stopscript=nil, _alias=nil, agentprofilelist=nil, warmupsetting=nil, gatewayconfig=nil, enablebatchhealthcheck=nil)

def initialize(groupid=nil, groupname=nil, groupstatus=nil, packageid=nil, packagename=nil, packageversion=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, applicationname=nil, instancecount=nil, runinstancecount=nil, startupparameters=nil, createtime=nil, updatetime=nil, offinstancecount=nil, groupdesc=nil, microservicetype=nil, applicationtype=nil, groupresourcetype=nil, updatedtime=nil, deploydesc=nil, updatetype=nil, deploybetaenable=nil, deploybatch=nil, deployexemode=nil, deploywaittime=nil, enablehealthcheck=nil, healthchecksettings=nil, packagetype=nil, startscript=nil, stopscript=nil, _alias=nil, agentprofilelist=nil, warmupsetting=nil, gatewayconfig=nil, enablebatchhealthcheck=nil)
  @GroupId = groupid
  @GroupName = groupname
  @GroupStatus = groupstatus
  @PackageId = packageid
  @PackageName = packagename
  @PackageVersion = packageversion
  @ClusterId = clusterid
  @ClusterName = clustername
  @NamespaceId = namespaceid
  @NamespaceName = namespacename
  @ApplicationId = applicationid
  @ApplicationName = applicationname
  @InstanceCount = instancecount
  @RunInstanceCount = runinstancecount
  @StartupParameters = startupparameters
  @CreateTime = createtime
  @UpdateTime = updatetime
  @OffInstanceCount = offinstancecount
  @GroupDesc = groupdesc
  @MicroserviceType = microservicetype
  @ApplicationType = applicationtype
  @GroupResourceType = groupresourcetype
  @UpdatedTime = updatedtime
  @DeployDesc = deploydesc
  @UpdateType = updatetype
  @DeployBetaEnable = deploybetaenable
  @DeployBatch = deploybatch
  @DeployExeMode = deployexemode
  @DeployWaitTime = deploywaittime
  @EnableHealthCheck = enablehealthcheck
  @HealthCheckSettings = healthchecksettings
  @PackageType = packagetype
  @StartScript = startscript
  @StopScript = stopscript
  @Alias = _alias
  @AgentProfileList = agentprofilelist
  @WarmupSetting = warmupsetting
  @GatewayConfig = gatewayconfig
  @EnableBatchHealthCheck = enablebatchhealthcheck
end