Class DeployApplicationRequest

    • Constructor Detail

      • DeployApplicationRequest

        public DeployApplicationRequest()
      • DeployApplicationRequest

        public DeployApplicationRequest​(DeployApplicationRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getApplicationId

        public String getApplicationId()
        Get 应用ID
        Returns:
        ApplicationId 应用ID
      • setApplicationId

        public void setApplicationId​(String ApplicationId)
        Set 应用ID
        Parameters:
        ApplicationId - 应用ID
      • getInitPodNum

        public Long getInitPodNum()
        Get 初始化 pod 数
        Returns:
        InitPodNum 初始化 pod 数
      • setInitPodNum

        public void setInitPodNum​(Long InitPodNum)
        Set 初始化 pod 数
        Parameters:
        InitPodNum - 初始化 pod 数
      • getCpuSpec

        public Float getCpuSpec()
        Get cpu规格
        Returns:
        CpuSpec cpu规格
      • setCpuSpec

        public void setCpuSpec​(Float CpuSpec)
        Set cpu规格
        Parameters:
        CpuSpec - cpu规格
      • getMemorySpec

        public Float getMemorySpec()
        Get 内存规格
        Returns:
        MemorySpec 内存规格
      • setMemorySpec

        public void setMemorySpec​(Float MemorySpec)
        Set 内存规格
        Parameters:
        MemorySpec - 内存规格
      • getEnvironmentId

        public String getEnvironmentId()
        Get 环境ID
        Returns:
        EnvironmentId 环境ID
      • setEnvironmentId

        public void setEnvironmentId​(String EnvironmentId)
        Set 环境ID
        Parameters:
        EnvironmentId - 环境ID
      • getImgRepo

        public String getImgRepo()
        Get 镜像仓库
        Returns:
        ImgRepo 镜像仓库
      • setImgRepo

        public void setImgRepo​(String ImgRepo)
        Set 镜像仓库
        Parameters:
        ImgRepo - 镜像仓库
      • getVersionDesc

        public String getVersionDesc()
        Get 版本描述信息
        Returns:
        VersionDesc 版本描述信息
      • setVersionDesc

        public void setVersionDesc​(String VersionDesc)
        Set 版本描述信息
        Parameters:
        VersionDesc - 版本描述信息
      • getJvmOpts

        public String getJvmOpts()
        Get 启动参数
        Returns:
        JvmOpts 启动参数
      • setJvmOpts

        public void setJvmOpts​(String JvmOpts)
        Set 启动参数
        Parameters:
        JvmOpts - 启动参数
      • getEsInfo

        public EsInfo getEsInfo()
        Get 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
        Returns:
        EsInfo 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
      • setEsInfo

        public void setEsInfo​(EsInfo EsInfo)
        Set 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
        Parameters:
        EsInfo - 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
      • getEnvConf

        public Pair[] getEnvConf()
        Get 环境变量配置
        Returns:
        EnvConf 环境变量配置
      • setEnvConf

        public void setEnvConf​(Pair[] EnvConf)
        Set 环境变量配置
        Parameters:
        EnvConf - 环境变量配置
      • getLogConfs

        public String[] getLogConfs()
        Get 日志配置
        Returns:
        LogConfs 日志配置
      • setLogConfs

        public void setLogConfs​(String[] LogConfs)
        Set 日志配置
        Parameters:
        LogConfs - 日志配置
      • getStorageConfs

        public StorageConf[] getStorageConfs()
        Get 数据卷配置
        Returns:
        StorageConfs 数据卷配置
      • setStorageConfs

        public void setStorageConfs​(StorageConf[] StorageConfs)
        Set 数据卷配置
        Parameters:
        StorageConfs - 数据卷配置
      • getStorageMountConfs

        public StorageMountConf[] getStorageMountConfs()
        Get 数据卷挂载配置
        Returns:
        StorageMountConfs 数据卷挂载配置
      • setStorageMountConfs

        public void setStorageMountConfs​(StorageMountConf[] StorageMountConfs)
        Set 数据卷挂载配置
        Parameters:
        StorageMountConfs - 数据卷挂载配置
      • getDeployMode

        public String getDeployMode()
        Get 部署类型。 - JAR:通过 jar 包部署 - WAR:通过 war 包部署 - IMAGE:通过镜像部署
        Returns:
        DeployMode 部署类型。 - JAR:通过 jar 包部署 - WAR:通过 war 包部署 - IMAGE:通过镜像部署
      • setDeployMode

        public void setDeployMode​(String DeployMode)
        Set 部署类型。 - JAR:通过 jar 包部署 - WAR:通过 war 包部署 - IMAGE:通过镜像部署
        Parameters:
        DeployMode - 部署类型。 - JAR:通过 jar 包部署 - WAR:通过 war 包部署 - IMAGE:通过镜像部署
      • getDeployVersion

        public String getDeployVersion()
        Get 部署类型为 IMAGE 时,该参数表示镜像 tag。 部署类型为 JAR/WAR 时,该参数表示包版本号。
        Returns:
        DeployVersion 部署类型为 IMAGE 时,该参数表示镜像 tag。 部署类型为 JAR/WAR 时,该参数表示包版本号。
      • setDeployVersion

        public void setDeployVersion​(String DeployVersion)
        Set 部署类型为 IMAGE 时,该参数表示镜像 tag。 部署类型为 JAR/WAR 时,该参数表示包版本号。
        Parameters:
        DeployVersion - 部署类型为 IMAGE 时,该参数表示镜像 tag。 部署类型为 JAR/WAR 时,该参数表示包版本号。
      • getPkgName

        public String getPkgName()
        Get 包名。使用 JAR 包或者 WAR 包部署的时候必填。
        Returns:
        PkgName 包名。使用 JAR 包或者 WAR 包部署的时候必填。
      • setPkgName

        public void setPkgName​(String PkgName)
        Set 包名。使用 JAR 包或者 WAR 包部署的时候必填。
        Parameters:
        PkgName - 包名。使用 JAR 包或者 WAR 包部署的时候必填。
      • getJdkVersion

        public String getJdkVersion()
        Get JDK 版本。 - KONA:8:使用 kona jdk 8。 - OPEN:8:使用 open jdk 8。 - KONA:11:使用 kona jdk 11。 - OPEN:11:使用 open jdk 11。
        Returns:
        JdkVersion JDK 版本。 - KONA:8:使用 kona jdk 8。 - OPEN:8:使用 open jdk 8。 - KONA:11:使用 kona jdk 11。 - OPEN:11:使用 open jdk 11。
      • setJdkVersion

        public void setJdkVersion​(String JdkVersion)
        Set JDK 版本。 - KONA:8:使用 kona jdk 8。 - OPEN:8:使用 open jdk 8。 - KONA:11:使用 kona jdk 11。 - OPEN:11:使用 open jdk 11。
        Parameters:
        JdkVersion - JDK 版本。 - KONA:8:使用 kona jdk 8。 - OPEN:8:使用 open jdk 8。 - KONA:11:使用 kona jdk 11。 - OPEN:11:使用 open jdk 11。
      • getSecurityGroupIds

        public String[] getSecurityGroupIds()
        Get 安全组ID s
        Returns:
        SecurityGroupIds 安全组ID s
      • setSecurityGroupIds

        public void setSecurityGroupIds​(String[] SecurityGroupIds)
        Set 安全组ID s
        Parameters:
        SecurityGroupIds - 安全组ID s
      • getLogOutputConf

        public LogOutputConf getLogOutputConf()
        Get 日志输出配置
        Returns:
        LogOutputConf 日志输出配置
      • setLogOutputConf

        public void setLogOutputConf​(LogOutputConf LogOutputConf)
        Set 日志输出配置
        Parameters:
        LogOutputConf - 日志输出配置
      • getSourceChannel

        public Long getSourceChannel()
        Get 来源渠道
        Returns:
        SourceChannel 来源渠道
      • setSourceChannel

        public void setSourceChannel​(Long SourceChannel)
        Set 来源渠道
        Parameters:
        SourceChannel - 来源渠道
      • getDescription

        public String getDescription()
        Get 版本描述
        Returns:
        Description 版本描述
      • setDescription

        public void setDescription​(String Description)
        Set 版本描述
        Parameters:
        Description - 版本描述
      • getImageCommand

        public String getImageCommand()
        Get 镜像命令
        Returns:
        ImageCommand 镜像命令
      • setImageCommand

        public void setImageCommand​(String ImageCommand)
        Set 镜像命令
        Parameters:
        ImageCommand - 镜像命令
      • getImageArgs

        public String[] getImageArgs()
        Get 镜像命令参数
        Returns:
        ImageArgs 镜像命令参数
      • setImageArgs

        public void setImageArgs​(String[] ImageArgs)
        Set 镜像命令参数
        Parameters:
        ImageArgs - 镜像命令参数
      • getUseRegistryDefaultConfig

        public Boolean getUseRegistryDefaultConfig()
        Get 是否添加默认注册中心配置
        Returns:
        UseRegistryDefaultConfig 是否添加默认注册中心配置
      • setUseRegistryDefaultConfig

        public void setUseRegistryDefaultConfig​(Boolean UseRegistryDefaultConfig)
        Set 是否添加默认注册中心配置
        Parameters:
        UseRegistryDefaultConfig - 是否添加默认注册中心配置
      • getSettingConfs

        public MountedSettingConf[] getSettingConfs()
        Get 挂载配置信息
        Returns:
        SettingConfs 挂载配置信息
      • setSettingConfs

        public void setSettingConfs​(MountedSettingConf[] SettingConfs)
        Set 挂载配置信息
        Parameters:
        SettingConfs - 挂载配置信息
      • getService

        public EksService getService()
        Get 应用访问设置
        Returns:
        Service 应用访问设置
      • setService

        public void setService​(EksService Service)
        Set 应用访问设置
        Parameters:
        Service - 应用访问设置
      • getVersionId

        public String getVersionId()
        Get 要回滚到的历史版本id
        Returns:
        VersionId 要回滚到的历史版本id
      • setVersionId

        public void setVersionId​(String VersionId)
        Set 要回滚到的历史版本id
        Parameters:
        VersionId - 要回滚到的历史版本id
      • getPostStart

        public String getPostStart()
        Get 启动后执行的脚本
        Returns:
        PostStart 启动后执行的脚本
      • setPostStart

        public void setPostStart​(String PostStart)
        Set 启动后执行的脚本
        Parameters:
        PostStart - 启动后执行的脚本
      • getPreStop

        public String getPreStop()
        Get 停止前执行的脚本
        Returns:
        PreStop 停止前执行的脚本
      • setPreStop

        public void setPreStop​(String PreStop)
        Set 停止前执行的脚本
        Parameters:
        PreStop - 停止前执行的脚本
      • getLiveness

        public HealthCheckConfig getLiveness()
        Get 存活探针配置
        Returns:
        Liveness 存活探针配置
      • setLiveness

        public void setLiveness​(HealthCheckConfig Liveness)
        Set 存活探针配置
        Parameters:
        Liveness - 存活探针配置
      • getReadiness

        public HealthCheckConfig getReadiness()
        Get 就绪探针配置
        Returns:
        Readiness 就绪探针配置
      • setReadiness

        public void setReadiness​(HealthCheckConfig Readiness)
        Set 就绪探针配置
        Parameters:
        Readiness - 就绪探针配置
      • getDeployStrategyConf

        public DeployStrategyConf getDeployStrategyConf()
        Get 分批发布策略配置
        Returns:
        DeployStrategyConf 分批发布策略配置
      • setDeployStrategyConf

        public void setDeployStrategyConf​(DeployStrategyConf DeployStrategyConf)
        Set 分批发布策略配置
        Parameters:
        DeployStrategyConf - 分批发布策略配置
      • getHorizontalAutoscaler

        public HorizontalAutoscaler[] getHorizontalAutoscaler()
        Get 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
        Returns:
        HorizontalAutoscaler 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
      • setHorizontalAutoscaler

        public void setHorizontalAutoscaler​(HorizontalAutoscaler[] HorizontalAutoscaler)
        Set 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
        Parameters:
        HorizontalAutoscaler - 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
      • getCronHorizontalAutoscaler

        public CronHorizontalAutoscaler[] getCronHorizontalAutoscaler()
        Get 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
        Returns:
        CronHorizontalAutoscaler 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
      • setCronHorizontalAutoscaler

        public void setCronHorizontalAutoscaler​(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
        Set 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
        Parameters:
        CronHorizontalAutoscaler - 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
      • getLogEnable

        public Long getLogEnable()
        Get 是否启用log,1为启用,0为不启用
        Returns:
        LogEnable 是否启用log,1为启用,0为不启用
      • setLogEnable

        public void setLogEnable​(Long LogEnable)
        Set 是否启用log,1为启用,0为不启用
        Parameters:
        LogEnable - 是否启用log,1为启用,0为不启用
      • getConfEdited

        public Boolean getConfEdited()
        Get (除开镜像配置)配置是否修改
        Returns:
        ConfEdited (除开镜像配置)配置是否修改
      • setConfEdited

        public void setConfEdited​(Boolean ConfEdited)
        Set (除开镜像配置)配置是否修改
        Parameters:
        ConfEdited - (除开镜像配置)配置是否修改
      • getSpeedUp

        public Boolean getSpeedUp()
        Get 是否开启应用加速
        Returns:
        SpeedUp 是否开启应用加速
      • setSpeedUp

        public void setSpeedUp​(Boolean SpeedUp)
        Set 是否开启应用加速
        Parameters:
        SpeedUp - 是否开启应用加速
      • getStartupProbe

        public HealthCheckConfig getStartupProbe()
        Get 启动探针配置
        Returns:
        StartupProbe 启动探针配置
      • setStartupProbe

        public void setStartupProbe​(HealthCheckConfig StartupProbe)
        Set 启动探针配置
        Parameters:
        StartupProbe - 启动探针配置
      • getOsFlavour

        public String getOsFlavour()
        Get 操作系统版本; 当选择openjdk时,可选参数: - ALPINE - CENTOS 当选择konajdk时,可选参数: - ALPINE - TENCENTOS
        Returns:
        OsFlavour 操作系统版本; 当选择openjdk时,可选参数: - ALPINE - CENTOS 当选择konajdk时,可选参数: - ALPINE - TENCENTOS
      • setOsFlavour

        public void setOsFlavour​(String OsFlavour)
        Set 操作系统版本; 当选择openjdk时,可选参数: - ALPINE - CENTOS 当选择konajdk时,可选参数: - ALPINE - TENCENTOS
        Parameters:
        OsFlavour - 操作系统版本; 当选择openjdk时,可选参数: - ALPINE - CENTOS 当选择konajdk时,可选参数: - ALPINE - TENCENTOS
      • getEnablePrometheusConf

        public EnablePrometheusConf getEnablePrometheusConf()
        Get metrics业务指标监控配置
        Returns:
        EnablePrometheusConf metrics业务指标监控配置
      • setEnablePrometheusConf

        public void setEnablePrometheusConf​(EnablePrometheusConf EnablePrometheusConf)
        Set metrics业务指标监控配置
        Parameters:
        EnablePrometheusConf - metrics业务指标监控配置
      • getEnableTracing

        public Long getEnableTracing()
        Get 1:开始自动apm采集(skywalking); 0:关闭apm采集;
        Returns:
        EnableTracing 1:开始自动apm采集(skywalking); 0:关闭apm采集;
      • setEnableTracing

        public void setEnableTracing​(Long EnableTracing)
        Set 1:开始自动apm采集(skywalking); 0:关闭apm采集;
        Parameters:
        EnableTracing - 1:开始自动apm采集(skywalking); 0:关闭apm采集;
      • getEnableMetrics

        public Long getEnableMetrics()
        Get 1:开始自动metrics采集(open-telemetry); 0:关闭metrics采集;
        Returns:
        EnableMetrics 1:开始自动metrics采集(open-telemetry); 0:关闭metrics采集;
      • setEnableMetrics

        public void setEnableMetrics​(Long EnableMetrics)
        Set 1:开始自动metrics采集(open-telemetry); 0:关闭metrics采集;
        Parameters:
        EnableMetrics - 1:开始自动metrics采集(open-telemetry); 0:关闭metrics采集;
      • getTcrInstanceId

        public String getTcrInstanceId()
        Get 镜像部署时,选择的tcr实例id
        Returns:
        TcrInstanceId 镜像部署时,选择的tcr实例id
      • setTcrInstanceId

        public void setTcrInstanceId​(String TcrInstanceId)
        Set 镜像部署时,选择的tcr实例id
        Parameters:
        TcrInstanceId - 镜像部署时,选择的tcr实例id
      • getRepoServer

        public String getRepoServer()
        Get 镜像部署时,选择的镜像服务器地址
        Returns:
        RepoServer 镜像部署时,选择的镜像服务器地址
      • setRepoServer

        public void setRepoServer​(String RepoServer)
        Set 镜像部署时,选择的镜像服务器地址
        Parameters:
        RepoServer - 镜像部署时,选择的镜像服务器地址
      • getRepoType

        public Long getRepoType()
        Get 镜像部署时,仓库类型:0:个人仓库;1:企业版;2:公共仓库;3:tem托管仓库;4:demo仓库
        Returns:
        RepoType 镜像部署时,仓库类型:0:个人仓库;1:企业版;2:公共仓库;3:tem托管仓库;4:demo仓库
      • setRepoType

        public void setRepoType​(Long RepoType)
        Set 镜像部署时,仓库类型:0:个人仓库;1:企业版;2:公共仓库;3:tem托管仓库;4:demo仓库
        Parameters:
        RepoType - 镜像部署时,仓库类型:0:个人仓库;1:企业版;2:公共仓库;3:tem托管仓库;4:demo仓库