public class DeployApplicationRequest extends AbstractModel
Constructor and Description |
---|
DeployApplicationRequest() |
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationId()
Get Application ID
|
Boolean |
getConfEdited()
Get Whether the configuration is modified (except for the image configuration)
|
Float |
getCpuSpec()
Get CPU specification
|
CronHorizontalAutoscaler[] |
getCronHorizontalAutoscaler()
Get Scheduled scaling policy (Disused.
|
String |
getDeployMode()
Get Deployment type
- JAR: deployment through JAR package
- WAR: deployment through WAR package
- IMAGE: deployment through image
|
DeployStrategyConf |
getDeployStrategyConf()
Get Configuration of batch release policies
|
String |
getDeployVersion()
Get When the deployment type is `IMAGE`, this parameter indicates the image tag
When the deployment type is `JAR` or `WAR`, this parameter indicates the package version number
|
String |
getDescription()
Get Version description
|
Long |
getEnableMetrics()
Get `1`: Automatically enable metrics collection (open-telemetry)
`0`: Disable metrics collection
|
EnablePrometheusConf |
getEnablePrometheusConf()
Get Configuration of metrics of this application
|
Long |
getEnableTracing()
Get `1`: Automatically enable APM tracing (Skywalking)
`0`: Disable APM tracing
|
Pair[] |
getEnvConf()
Get Environment variable configuration
|
String |
getEnvironmentId()
Get Environment ID
|
EsInfo |
getEsInfo()
Get Auto scaling configuration (This field is disused.
|
HorizontalAutoscaler[] |
getHorizontalAutoscaler()
Get Auto scaling policy.
|
String[] |
getImageArgs()
Get Image command parameters
|
String |
getImageCommand()
Get Image command
|
String |
getImgRepo()
Get Image repository
|
Long |
getInitPodNum()
Get Number of initialized pods
|
String |
getJdkVersion()
Get JDK version
- KONA: use KONA JDK
- OPEN: use open JDK
- KONA: use KONA JDK
- OPEN: use open JDK
|
String |
getJvmOpts()
Get Launch parameters
|
HealthCheckConfig |
getLiveness()
Get Configuration of aliveness probe
|
String[] |
getLogConfs()
Get Log configuration
|
Long |
getLogEnable()
Get Specifies whether to enable logging.
|
LogOutputConf |
getLogOutputConf()
Get Log output configuration
|
Float |
getMemorySpec()
Get Memory specification
|
String |
getOsFlavour()
Get The version of the operating system
If `openjdk` is selected, the value can be:
- ALPINE
- CENTOS
If `konajdk` is selected, the value can be:
- ALPINE
- TENCENTOS
|
String |
getPkgName()
Get Package name, which is required when using JAR or WAR packages for deployment
|
String |
getPostStart()
Get The script to run after startup
|
String |
getPreStop()
Get The script to run before stop
|
HealthCheckConfig |
getReadiness()
Get Configuration of readiness probe
|
String |
getRepoServer()
Get Image server address for image deployment
|
Long |
getRepoType()
Get Type of the repository.
|
String[] |
getSecurityGroupIds()
Get Security group IDs
|
EksService |
getService()
Get Application access configuration
|
MountedSettingConf[] |
getSettingConfs()
Get Mounting configurations
|
Long |
getSourceChannel()
Get Source channel
|
Boolean |
getSpeedUp()
Get Whether the application acceleration is enabled
|
HealthCheckConfig |
getStartupProbe()
Get Whether to enable probing
|
StorageConf[] |
getStorageConfs()
Get Data volume configuration
|
StorageMountConf[] |
getStorageMountConfs()
Get Data volume mount configuration
|
String |
getTcrInstanceId()
Get ID of the TCR instance used for image deployment
|
Boolean |
getUseRegistryDefaultConfig()
Get Whether to add the registry's default configurations
|
String |
getVersionDesc()
Get Version description
|
String |
getVersionId()
Get ID of the version that you want to roll back to
|
void |
setApplicationId(String ApplicationId)
Set Application ID
|
void |
setConfEdited(Boolean ConfEdited)
Set Whether the configuration is modified (except for the image configuration)
|
void |
setCpuSpec(Float CpuSpec)
Set CPU specification
|
void |
setCronHorizontalAutoscaler(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
Set Scheduled scaling policy (Disused.
|
void |
setDeployMode(String DeployMode)
Set Deployment type
- JAR: deployment through JAR package
- WAR: deployment through WAR package
- IMAGE: deployment through image
|
void |
setDeployStrategyConf(DeployStrategyConf DeployStrategyConf)
Set Configuration of batch release policies
|
void |
setDeployVersion(String DeployVersion)
Set When the deployment type is `IMAGE`, this parameter indicates the image tag
When the deployment type is `JAR` or `WAR`, this parameter indicates the package version number
|
void |
setDescription(String Description)
Set Version description
|
void |
setEnableMetrics(Long EnableMetrics)
Set `1`: Automatically enable metrics collection (open-telemetry)
`0`: Disable metrics collection
|
void |
setEnablePrometheusConf(EnablePrometheusConf EnablePrometheusConf)
Set Configuration of metrics of this application
|
void |
setEnableTracing(Long EnableTracing)
Set `1`: Automatically enable APM tracing (Skywalking)
`0`: Disable APM tracing
|
void |
setEnvConf(Pair[] EnvConf)
Set Environment variable configuration
|
void |
setEnvironmentId(String EnvironmentId)
Set Environment ID
|
void |
setEsInfo(EsInfo EsInfo)
Set Auto scaling configuration (This field is disused.
|
void |
setHorizontalAutoscaler(HorizontalAutoscaler[] HorizontalAutoscaler)
Set Auto scaling policy.
|
void |
setImageArgs(String[] ImageArgs)
Set Image command parameters
|
void |
setImageCommand(String ImageCommand)
Set Image command
|
void |
setImgRepo(String ImgRepo)
Set Image repository
|
void |
setInitPodNum(Long InitPodNum)
Set Number of initialized pods
|
void |
setJdkVersion(String JdkVersion)
Set JDK version
- KONA: use KONA JDK
- OPEN: use open JDK
- KONA: use KONA JDK
- OPEN: use open JDK
|
void |
setJvmOpts(String JvmOpts)
Set Launch parameters
|
void |
setLiveness(HealthCheckConfig Liveness)
Set Configuration of aliveness probe
|
void |
setLogConfs(String[] LogConfs)
Set Log configuration
|
void |
setLogEnable(Long LogEnable)
Set Specifies whether to enable logging.
|
void |
setLogOutputConf(LogOutputConf LogOutputConf)
Set Log output configuration
|
void |
setMemorySpec(Float MemorySpec)
Set Memory specification
|
void |
setOsFlavour(String OsFlavour)
Set The version of the operating system
If `openjdk` is selected, the value can be:
- ALPINE
- CENTOS
If `konajdk` is selected, the value can be:
- ALPINE
- TENCENTOS
|
void |
setPkgName(String PkgName)
Set Package name, which is required when using JAR or WAR packages for deployment
|
void |
setPostStart(String PostStart)
Set The script to run after startup
|
void |
setPreStop(String PreStop)
Set The script to run before stop
|
void |
setReadiness(HealthCheckConfig Readiness)
Set Configuration of readiness probe
|
void |
setRepoServer(String RepoServer)
Set Image server address for image deployment
|
void |
setRepoType(Long RepoType)
Set Type of the repository.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group IDs
|
void |
setService(EksService Service)
Set Application access configuration
|
void |
setSettingConfs(MountedSettingConf[] SettingConfs)
Set Mounting configurations
|
void |
setSourceChannel(Long SourceChannel)
Set Source channel
|
void |
setSpeedUp(Boolean SpeedUp)
Set Whether the application acceleration is enabled
|
void |
setStartupProbe(HealthCheckConfig StartupProbe)
Set Whether to enable probing
|
void |
setStorageConfs(StorageConf[] StorageConfs)
Set Data volume configuration
|
void |
setStorageMountConfs(StorageMountConf[] StorageMountConfs)
Set Data volume mount configuration
|
void |
setTcrInstanceId(String TcrInstanceId)
Set ID of the TCR instance used for image deployment
|
void |
setUseRegistryDefaultConfig(Boolean UseRegistryDefaultConfig)
Set Whether to add the registry's default configurations
|
void |
setVersionDesc(String VersionDesc)
Set Version description
|
void |
setVersionId(String VersionId)
Set ID of the version that you want to roll back to
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DeployApplicationRequest()
public DeployApplicationRequest(DeployApplicationRequest source)
public String getApplicationId()
public void setApplicationId(String ApplicationId)
ApplicationId
- Application IDpublic Long getInitPodNum()
public void setInitPodNum(Long InitPodNum)
InitPodNum
- Number of initialized podspublic Float getCpuSpec()
public void setCpuSpec(Float CpuSpec)
CpuSpec
- CPU specificationpublic Float getMemorySpec()
public void setMemorySpec(Float MemorySpec)
MemorySpec
- Memory specificationpublic String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- Environment IDpublic String getImgRepo()
public void setImgRepo(String ImgRepo)
ImgRepo
- Image repositorypublic String getVersionDesc()
public void setVersionDesc(String VersionDesc)
VersionDesc
- Version descriptionpublic String getJvmOpts()
public void setJvmOpts(String JvmOpts)
JvmOpts
- Launch parameterspublic EsInfo getEsInfo()
public void setEsInfo(EsInfo EsInfo)
EsInfo
- Auto scaling configuration (This field is disused. Please use `HorizontalAutoscaler` to set the auto scaling policy.)public Pair[] getEnvConf()
public void setEnvConf(Pair[] EnvConf)
EnvConf
- Environment variable configurationpublic String[] getLogConfs()
public void setLogConfs(String[] LogConfs)
LogConfs
- Log configurationpublic StorageConf[] getStorageConfs()
public void setStorageConfs(StorageConf[] StorageConfs)
StorageConfs
- Data volume configurationpublic StorageMountConf[] getStorageMountConfs()
public void setStorageMountConfs(StorageMountConf[] StorageMountConfs)
StorageMountConfs
- Data volume mount configurationpublic String getDeployMode()
public void setDeployMode(String DeployMode)
DeployMode
- Deployment type
- JAR: deployment through JAR package
- WAR: deployment through WAR package
- IMAGE: deployment through imagepublic String getDeployVersion()
public void setDeployVersion(String DeployVersion)
DeployVersion
- When the deployment type is `IMAGE`, this parameter indicates the image tag
When the deployment type is `JAR` or `WAR`, this parameter indicates the package version numberpublic String getPkgName()
public void setPkgName(String PkgName)
PkgName
- Package name, which is required when using JAR or WAR packages for deploymentpublic String getJdkVersion()
public void setJdkVersion(String JdkVersion)
JdkVersion
- JDK version
- KONA: use KONA JDK
- OPEN: use open JDK
- KONA: use KONA JDK
- OPEN: use open JDKpublic String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group IDspublic LogOutputConf getLogOutputConf()
public void setLogOutputConf(LogOutputConf LogOutputConf)
LogOutputConf
- Log output configurationpublic Long getSourceChannel()
public void setSourceChannel(Long SourceChannel)
SourceChannel
- Source channelpublic String getDescription()
public void setDescription(String Description)
Description
- Version descriptionpublic String getImageCommand()
public void setImageCommand(String ImageCommand)
ImageCommand
- Image commandpublic String[] getImageArgs()
public void setImageArgs(String[] ImageArgs)
ImageArgs
- Image command parameterspublic Boolean getUseRegistryDefaultConfig()
public void setUseRegistryDefaultConfig(Boolean UseRegistryDefaultConfig)
UseRegistryDefaultConfig
- Whether to add the registry's default configurationspublic MountedSettingConf[] getSettingConfs()
public void setSettingConfs(MountedSettingConf[] SettingConfs)
SettingConfs
- Mounting configurationspublic EksService getService()
public void setService(EksService Service)
Service
- Application access configurationpublic String getVersionId()
public void setVersionId(String VersionId)
VersionId
- ID of the version that you want to roll back topublic String getPostStart()
public void setPostStart(String PostStart)
PostStart
- The script to run after startuppublic String getPreStop()
public void setPreStop(String PreStop)
PreStop
- The script to run before stoppublic HealthCheckConfig getLiveness()
public void setLiveness(HealthCheckConfig Liveness)
Liveness
- Configuration of aliveness probepublic HealthCheckConfig getReadiness()
public void setReadiness(HealthCheckConfig Readiness)
Readiness
- Configuration of readiness probepublic DeployStrategyConf getDeployStrategyConf()
public void setDeployStrategyConf(DeployStrategyConf DeployStrategyConf)
DeployStrategyConf
- Configuration of batch release policiespublic HorizontalAutoscaler[] getHorizontalAutoscaler()
public void setHorizontalAutoscaler(HorizontalAutoscaler[] HorizontalAutoscaler)
HorizontalAutoscaler
- Auto scaling policy. (Disused. Please use APIs for auto scaling policy combinations)public CronHorizontalAutoscaler[] getCronHorizontalAutoscaler()
public void setCronHorizontalAutoscaler(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
CronHorizontalAutoscaler
- Scheduled scaling policy (Disused. Please use APIs for auto scaling policy combinations)public Long getLogEnable()
public void setLogEnable(Long LogEnable)
LogEnable
- Specifies whether to enable logging. `1`: enable; `0`: do not enablepublic Boolean getConfEdited()
public void setConfEdited(Boolean ConfEdited)
ConfEdited
- Whether the configuration is modified (except for the image configuration)public Boolean getSpeedUp()
public void setSpeedUp(Boolean SpeedUp)
SpeedUp
- Whether the application acceleration is enabledpublic HealthCheckConfig getStartupProbe()
public void setStartupProbe(HealthCheckConfig StartupProbe)
StartupProbe
- Whether to enable probingpublic String getOsFlavour()
public void setOsFlavour(String OsFlavour)
OsFlavour
- The version of the operating system
If `openjdk` is selected, the value can be:
- ALPINE
- CENTOS
If `konajdk` is selected, the value can be:
- ALPINE
- TENCENTOSpublic EnablePrometheusConf getEnablePrometheusConf()
public void setEnablePrometheusConf(EnablePrometheusConf EnablePrometheusConf)
EnablePrometheusConf
- Configuration of metrics of this applicationpublic Long getEnableTracing()
public void setEnableTracing(Long EnableTracing)
EnableTracing
- `1`: Automatically enable APM tracing (Skywalking)
`0`: Disable APM tracingpublic Long getEnableMetrics()
public void setEnableMetrics(Long EnableMetrics)
EnableMetrics
- `1`: Automatically enable metrics collection (open-telemetry)
`0`: Disable metrics collectionpublic String getTcrInstanceId()
public void setTcrInstanceId(String TcrInstanceId)
TcrInstanceId
- ID of the TCR instance used for image deploymentpublic String getRepoServer()
public void setRepoServer(String RepoServer)
RepoServer
- Image server address for image deploymentpublic Long getRepoType()
public void setRepoType(Long RepoType)
RepoType
- Type of the repository. `0`: TCR Personal; `1`: TCR Enterprise; `2`: Public repository; `3`: TEM hosted repository; `4`: Demo repositoryCopyright © 2023. All rights reserved.