public static final class DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder extends Object
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder acrInstanceId(String acrInstanceId)
The ID of Container Registry Enterprise Edition instance. This parameter is required when the ImageUrl parameter is set to the URL of an image in an ACR Enterprise Edition instance.
example:cri-fhzlneorxala66ip
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder command(String command)
The command that is used to start the image. The command must be an existing executable object in the container. Sample statements:
command:
- echo
- abc
- >
- file0
In this example, the Command parameter is set to Command="echo", CommandArgs=["abc", ">", "file0"].
/bin/sh
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder commandArgs(String commandArgs)
The parameters of the image startup command. The CommandArgs parameter specifies the parameters that are required for the Command parameter. You can specify the name in one of the following formats:
["a","b"]
In the preceding example, the CommandArgs parameter is set to CommandArgs=["abc", ">", "file0"]. The data type of ["abc", ">", "file0"] must be an array of strings in the JSON format. This parameter is optional.
["-c","echo \"test\" > /home/nas/test.log && sleep 10000000s"]
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder configMapMountDesc(List<DescribeApplicationConfigResponseBody.SidecarContainersConfigConfigMapMountDesc> configMapMountDesc)
The description of the ConfigMap instance mounted to the application. Use configurations created on the Configuration Items page to configure containers. The following table describes the parameters that are used in the preceding statements.
You can use the
sae-sys-configmap-allkey to mount all keys.
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder cpu(Integer cpu)
Set the CPU resource limit of the primary container that can be used by Sidecar container.
example:500
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder emptyDirDesc(List<DescribeApplicationConfigResponseBody.SidecarContainersConfigEmptyDirDesc> emptyDirDesc)
Shared temporary storage mounted to the primary container and the Sidecar container.
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder envs(String envs)
The environment variables. You can configure custom environment variables or reference a ConfigMap. If you want to reference a ConfigMap, you must first create a ConfigMap. For more information, see CreateConfigMap. Take note of the following rules:
Customize
Reference ConfigMap
sae-sys-configmap-all-<ConfigMap name>. Example: sae-sys-configmap-all-test1.configMapRef.[{"name":"k1","value":"c8e3a815-e5d3-4adf-abb3-98b106a607c4"}]
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder imageUrl(String imageUrl)
The URL of the image.
example:registry.cn-beijing.aliyuncs.com/sae-dev-test/nginx:stable
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder liveness(String liveness)
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder memory(Integer memory)
Set the memory limit of the primary container that can be used by Sidecar container.
example:1024
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder name(String name)
The container name.
example:test
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder postStart(String postStart)
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder preStop(String preStop)
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder readiness(String readiness)
public DescribeApplicationConfigResponseBody.SidecarContainersConfig.Builder secretMountDesc(List<DescribeApplicationConfigResponseBody.SidecarContainersConfigSecretMountDesc> secretMountDesc)
public DescribeApplicationConfigResponseBody.SidecarContainersConfig build()
Copyright © 2026. All rights reserved.