public class GroupContainerInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
GroupContainerInfo() |
GroupContainerInfo(GroupContainerInfo 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 |
getContainerName()
Get 容器名字
|
String |
getCpuLimit()
Get 容器最大的 CPU 核数,对应 K8S 的 limit
|
String |
getCpuRequest()
Get 容器分配的 CPU 核数,对应 K8S 的 request
|
Env[] |
getEnvs()
Get 环境变量
|
HealthCheckSettings |
getHealthCheckSettings()
Get 健康检查配置信息
|
String |
getJvmOpts()
Get jvm 参数
|
String |
getMemLimit()
Get 容器最大的内存 MiB 数,对应 K8S 的 limit
|
String |
getMemRequest()
Get 容器分配的内存 MiB 数,对应 K8S 的 request
|
String |
getRepoName()
Get 镜像名
|
String |
getRepoType()
Get 仓库类型,tcr,address,personal,默认personal
|
String |
getSecretName()
Get 凭证名字
|
String |
getServer()
Get 镜像server
|
String |
getTagName()
Get 镜像版本名称
|
TcrRepoInfo |
getTcrRepoInfo()
Get tcr仓库信息
|
Env[] |
getUserEnvs()
Get 环境变量,作为入参时不用填
|
VolumeMountInfo[] |
getVolumeMountInfoList()
Get 数据卷挂载点信息
|
void |
setContainerName(String ContainerName)
Set 容器名字
|
void |
setCpuLimit(String CpuLimit)
Set 容器最大的 CPU 核数,对应 K8S 的 limit
|
void |
setCpuRequest(String CpuRequest)
Set 容器分配的 CPU 核数,对应 K8S 的 request
|
void |
setEnvs(Env[] Envs)
Set 环境变量
|
void |
setHealthCheckSettings(HealthCheckSettings HealthCheckSettings)
Set 健康检查配置信息
|
void |
setJvmOpts(String JvmOpts)
Set jvm 参数
|
void |
setMemLimit(String MemLimit)
Set 容器最大的内存 MiB 数,对应 K8S 的 limit
|
void |
setMemRequest(String MemRequest)
Set 容器分配的内存 MiB 数,对应 K8S 的 request
|
void |
setRepoName(String RepoName)
Set 镜像名
|
void |
setRepoType(String RepoType)
Set 仓库类型,tcr,address,personal,默认personal
|
void |
setSecretName(String SecretName)
Set 凭证名字
|
void |
setServer(String Server)
Set 镜像server
|
void |
setTagName(String TagName)
Set 镜像版本名称
|
void |
setTcrRepoInfo(TcrRepoInfo TcrRepoInfo)
Set tcr仓库信息
|
void |
setUserEnvs(Env[] UserEnvs)
Set 环境变量,作为入参时不用填
|
void |
setVolumeMountInfoList(VolumeMountInfo[] VolumeMountInfoList)
Set 数据卷挂载点信息
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GroupContainerInfo()
public GroupContainerInfo(GroupContainerInfo source)
public String getTagName()
public void setTagName(String TagName)
TagName
- 镜像版本名称public String getContainerName()
public void setContainerName(String ContainerName)
ContainerName
- 容器名字public String getRepoName()
public void setRepoName(String RepoName)
RepoName
- 镜像名public String getRepoType()
public void setRepoType(String RepoType)
RepoType
- 仓库类型,tcr,address,personal,默认personalpublic TcrRepoInfo getTcrRepoInfo()
public void setTcrRepoInfo(TcrRepoInfo TcrRepoInfo)
TcrRepoInfo
- tcr仓库信息public String getServer()
public void setServer(String Server)
Server
- 镜像serverpublic String getSecretName()
public void setSecretName(String SecretName)
SecretName
- 凭证名字public String getJvmOpts()
public void setJvmOpts(String JvmOpts)
JvmOpts
- jvm 参数public String getCpuLimit()
public void setCpuLimit(String CpuLimit)
CpuLimit
- 容器最大的 CPU 核数,对应 K8S 的 limitpublic String getCpuRequest()
public void setCpuRequest(String CpuRequest)
CpuRequest
- 容器分配的 CPU 核数,对应 K8S 的 requestpublic String getMemRequest()
public void setMemRequest(String MemRequest)
MemRequest
- 容器分配的内存 MiB 数,对应 K8S 的 requestpublic String getMemLimit()
public void setMemLimit(String MemLimit)
MemLimit
- 容器最大的内存 MiB 数,对应 K8S 的 limitpublic HealthCheckSettings getHealthCheckSettings()
public void setHealthCheckSettings(HealthCheckSettings HealthCheckSettings)
HealthCheckSettings
- 健康检查配置信息public Env[] getEnvs()
public void setEnvs(Env[] Envs)
Envs
- 环境变量public Env[] getUserEnvs()
public void setUserEnvs(Env[] UserEnvs)
UserEnvs
- 环境变量,作为入参时不用填public VolumeMountInfo[] getVolumeMountInfoList()
public void setVolumeMountInfoList(VolumeMountInfo[] VolumeMountInfoList)
VolumeMountInfoList
- 数据卷挂载点信息Copyright © 2025. All rights reserved.