Parameter | Type | Description | Example |
---|---|---|---|
object | Function configurations for a custom container | ||
args | string | The startup parameter of the container. | ["-arg1", "value1"] |
command | string | The startup command of the container. | ["/code/myserver"] |
image | string | The endpoint of the container image. | registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1 |
accelerationType | string | Specifies whether to enable image acceleration. Default value: Default. Valid values:
| Default |
accelerationInfo | AccelerationInfo | The information about the acceleration of the custom container. | |
instanceID | string | The ID of the image repository for the Container Registry Enterprise Edition. You must specify this parameter when you use an image for Container Registry Enterprise Edition. | cri-xxxxxxxxxx |
webServerMode | boolean | Specifies whether to use the web server mode for image running.
Default value: true. | true |