public class ImageConfig extends AbstractModel
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 The parameters to start up the container.
|
String |
getCommand()
Get The command to start up the container, such as `python`.
|
Boolean |
getContainerImageAccelerate()
Get Whether to enable image acceleration.
|
String |
getEntryPoint()
Get Disused
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getImagePort()
Get Image function port settings
`-1`: No port-specific image functions
`0`: Default port (Port 9000)
Others: Special ports
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getImageType()
Get Image repository type, which can be `personal` or `enterprise`
|
String |
getImageUri()
Get {domain}/{namespace}/{imageName}:{tag}@{digest}
|
String |
getRegistryId()
Get The temp token that a TCR Enterprise instance uses to obtain an image.
|
void |
setArgs(String Args)
Set The parameters to start up the container.
|
void |
setCommand(String Command)
Set The command to start up the container, such as `python`.
|
void |
setContainerImageAccelerate(Boolean ContainerImageAccelerate)
Set Whether to enable image acceleration.
|
void |
setEntryPoint(String EntryPoint)
Set Disused
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setImagePort(Long ImagePort)
Set Image function port settings
`-1`: No port-specific image functions
`0`: Default port (Port 9000)
Others: Special ports
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setImageType(String ImageType)
Set Image repository type, which can be `personal` or `enterprise`
|
void |
setImageUri(String ImageUri)
Set {domain}/{namespace}/{imageName}:{tag}@{digest}
|
void |
setRegistryId(String RegistryId)
Set The temp token that a TCR Enterprise instance uses to obtain an image.
|
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 ImageConfig()
public ImageConfig(ImageConfig source)
public String getImageType()
public void setImageType(String ImageType)
ImageType
- Image repository type, which can be `personal` or `enterprise`public String getImageUri()
public void setImageUri(String ImageUri)
ImageUri
- {domain}/{namespace}/{imageName}:{tag}@{digest}public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId
- The temp token that a TCR Enterprise instance uses to obtain an image. It’s required when `ImageType` is `enterprise`.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getEntryPoint()
public void setEntryPoint(String EntryPoint)
EntryPoint
- Disused
Note: this field may return `null`, indicating that no valid values can be obtained.public String getCommand()
public void setCommand(String Command)
Command
- The command to start up the container, such as `python`. If it’s not specified, Entrypoint in Dockerfile is used.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getArgs()
public void setArgs(String Args)
Args
- The parameters to start up the container. Separate parameters with spaces, such as `u app.py`. If it’s not specified, `CMD in Dockerfile is used.
Note: This field may return `null`, indicating that no valid value can be found.public Boolean getContainerImageAccelerate()
public void setContainerImageAccelerate(Boolean ContainerImageAccelerate)
ContainerImageAccelerate
- Whether to enable image acceleration. It defaults to `False`.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getImagePort()
public void setImagePort(Long ImagePort)
ImagePort
- Image function port settings
`-1`: No port-specific image functions
`0`: Default port (Port 9000)
Others: Special ports
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.