public class ImageConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ImageConfig() | 
| ImageConfig(ImageConfig 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 | getArgs()Get 容器的启动参数。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 CMD。传入规范,以“空格”作为参数的分割标识,例如 -u app.py
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getCommand()Get 容器的启动命令。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 Entrypoint。传入规范,填写可运行的指令,例如 python
注意:此字段可能返回 null,表示取不到有效值。 | 
| Boolean | getContainerImageAccelerate()Get 镜像加速开关,默认False
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getEntryPoint()Get 该参数即将下线,不推荐用户使用
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getImagePort()Get 镜像函数端口设置,可指定镜像类型
Web Server镜像:9000
Job 镜像:-1
注意:此字段可能返回 null,表示取不到有效值。
默认值:9000
示例值:9000
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getImageType()Get 镜像仓库类型,个人版或者企业版:personal/enterprise | 
| String | getImageUri()Get {domain}/{namespace}/{imageName}:{tag}@{digest} | 
| String | getRegistryId()Get 用于企业版TCR获取镜像拉取临时凭证,ImageType为"enterprise"时必填
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setArgs(String Args)Set 容器的启动参数。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 CMD。传入规范,以“空格”作为参数的分割标识,例如 -u app.py
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCommand(String Command)Set 容器的启动命令。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 Entrypoint。传入规范,填写可运行的指令,例如 python
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setContainerImageAccelerate(Boolean ContainerImageAccelerate)Set 镜像加速开关,默认False
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEntryPoint(String EntryPoint)Set 该参数即将下线,不推荐用户使用
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setImagePort(Long ImagePort)Set 镜像函数端口设置,可指定镜像类型
Web Server镜像:9000
Job 镜像:-1
注意:此字段可能返回 null,表示取不到有效值。
默认值:9000
示例值:9000
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setImageType(String ImageType)Set 镜像仓库类型,个人版或者企业版:personal/enterprise | 
| void | setImageUri(String ImageUri)Set {domain}/{namespace}/{imageName}:{tag}@{digest} | 
| void | setRegistryId(String RegistryId)Set 用于企业版TCR获取镜像拉取临时凭证,ImageType为"enterprise"时必填
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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, toJsonStringpublic ImageConfig()
public ImageConfig(ImageConfig source)
public String getImageType()
public void setImageType(String ImageType)
ImageType - 镜像仓库类型,个人版或者企业版:personal/enterprisepublic String getImageUri()
public void setImageUri(String ImageUri)
ImageUri - {domain}/{namespace}/{imageName}:{tag}@{digest}public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId - 用于企业版TCR获取镜像拉取临时凭证,ImageType为"enterprise"时必填
注意:此字段可能返回 null,表示取不到有效值。public String getEntryPoint()
public void setEntryPoint(String EntryPoint)
EntryPoint - 该参数即将下线,不推荐用户使用
注意:此字段可能返回 null,表示取不到有效值。public String getCommand()
public void setCommand(String Command)
Command - 容器的启动命令。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 Entrypoint。传入规范,填写可运行的指令,例如 python
注意:此字段可能返回 null,表示取不到有效值。public String getArgs()
public void setArgs(String Args)
Args - 容器的启动参数。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 CMD。传入规范,以“空格”作为参数的分割标识,例如 -u app.py
注意:此字段可能返回 null,表示取不到有效值。public Boolean getContainerImageAccelerate()
public void setContainerImageAccelerate(Boolean ContainerImageAccelerate)
ContainerImageAccelerate - 镜像加速开关,默认False
注意:此字段可能返回 null,表示取不到有效值。public Long getImagePort()
public void setImagePort(Long ImagePort)
ImagePort - 镜像函数端口设置,可指定镜像类型
Web Server镜像:9000
Job 镜像:-1
注意:此字段可能返回 null,表示取不到有效值。
默认值:9000
示例值:9000
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.