public static final class DescribeApplicationConfigResponseBody.Data.Builder extends Object
public DescribeApplicationConfigResponseBody.Data.Builder acrAssumeRoleArn(String acrAssumeRoleArn)
The Alibaba Cloud Resource Name (ARN) of the RAM role that is used to pull images across accounts. For more information, see Pull images across Alibaba Cloud accounts and Grant permissions across Alibaba Cloud accounts by using a RAM role.
example:acs:ram::123456789012****:role/adminrole
public DescribeApplicationConfigResponseBody.Data.Builder acrInstanceId(String acrInstanceId)
The ID of the Container Registry Enterprise Edition instance.
example:cri-xxxxxx
public DescribeApplicationConfigResponseBody.Data.Builder agentVersion(String agentVersion)
public DescribeApplicationConfigResponseBody.Data.Builder albIngressReadinessGate(String albIngressReadinessGate)
public DescribeApplicationConfigResponseBody.Data.Builder appDescription(String appDescription)
The description of the application.
example:The application description.
public DescribeApplicationConfigResponseBody.Data.Builder appId(String appId)
The ID of the application.
example:7171a6ca-d1cd-4928-8642-7d5cfe69****
public DescribeApplicationConfigResponseBody.Data.Builder appName(String appName)
The name of the application.
example:demo-app
public DescribeApplicationConfigResponseBody.Data.Builder appSource(String appSource)
The SAE application type.
micro_service
public DescribeApplicationConfigResponseBody.Data.Builder associateEip(Boolean associateEip)
Indicates whether an elastic IP address (EIP) is associated with the application instance. Valid values:
true
public DescribeApplicationConfigResponseBody.Data.Builder baseAppId(String baseAppId)
The base app ID.
example:8c573618-8d72-4407-baf4-f7b64b******
public DescribeApplicationConfigResponseBody.Data.Builder batchWaitTime(Integer batchWaitTime)
The interval between batches in a phased release. Unit: seconds.
example:10
public DescribeApplicationConfigResponseBody.Data.Builder clusterId(String clusterId)
The cluster ID.
example:495fc79c-ae61-4600-866d-a09d68******
public DescribeApplicationConfigResponseBody.Data.Builder cmsServiceId(String cmsServiceId)
public DescribeApplicationConfigResponseBody.Data.Builder command(String command)
The command that is used to start the image. The command must be an existing executable object in the container. Example:
command:
- echo
- abc
- >
- file0
In this example, the Command parameter is set to Command="echo", CommandArgs=["abc", ">", "file0"].
echo
public DescribeApplicationConfigResponseBody.Data.Builder commandArgs(String commandArgs)
The parameters of the image startup command. The CommandArgs parameter contains the parameters that are required for the Command parameter. Format:
["a","b"]
In the preceding Command 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. You do not need to configure this parameter if it does not exist in the Command parameter.
["a","b"]
public DescribeApplicationConfigResponseBody.Data.Builder configMapMountDesc(List<DescribeApplicationConfigResponseBody.ConfigMapMountDesc> configMapMountDesc)
The details of the ConfigMap.
public DescribeApplicationConfigResponseBody.Data.Builder cpu(Integer cpu)
The CPU specifications that are required for each instance. Unit: millicores. You cannot set this parameter to 0. Valid values:
1000
public DescribeApplicationConfigResponseBody.Data.Builder customHostAlias(String customHostAlias)
The custom mappings between hostnames and IP addresses in the container. Valid values:
[{"hostName":"test.host.name","ip":"0.0.0.0"}]
public DescribeApplicationConfigResponseBody.Data.Builder customImageNetworkType(String customImageNetworkType)
The type of custom image. Set to empty string if using pre-built image.
internet: public network image.
intranet: private network image.
internet
public DescribeApplicationConfigResponseBody.Data.Builder deploymentName(String deploymentName)
public DescribeApplicationConfigResponseBody.Data.Builder diskSize(Integer diskSize)
The disk size. Unit: GB.
example:20
public DescribeApplicationConfigResponseBody.Data.Builder dotnet(String dotnet)
The version of .NET.
.NET 8.0
public DescribeApplicationConfigResponseBody.Data.Builder edasContainerVersion(String edasContainerVersion)
The version of the container, such as Ali-Tomcat, in which an application developed based on High-speed Service Framework (HSF) is deployed.
example:3.5.3
public DescribeApplicationConfigResponseBody.Data.Builder emptyDirDesc(List<DescribeApplicationConfigResponseBody.EmptyDirDesc> emptyDirDesc)
Shared temporary storage mounted to the primary container and the Sidecar container.
public DescribeApplicationConfigResponseBody.Data.Builder enableAhas(String enableAhas)
Indicates whether access to Application High Availability Service (AHAS) is enabled. Valid values:
true
public DescribeApplicationConfigResponseBody.Data.Builder enableCpuBurst(String enableCpuBurst)
Enable CPU Burst.
true: enable
false: disable
true
public DescribeApplicationConfigResponseBody.Data.Builder enableGreyTagRoute(Boolean enableGreyTagRoute)
Indicates whether canary release rules are enabled. Canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Valid values:
false
public DescribeApplicationConfigResponseBody.Data.Builder enableIdle(Boolean enableIdle)
Enable idle mode.
true: enable
false: disable
false
public DescribeApplicationConfigResponseBody.Data.Builder enableNamespaceAgentVersion(Boolean enableNamespaceAgentVersion)
public DescribeApplicationConfigResponseBody.Data.Builder enableNewArms(Boolean enableNewArms)
Enable new ARMS feature.
true: enable
false: disable
false
public DescribeApplicationConfigResponseBody.Data.Builder enablePrometheus(Boolean enablePrometheus)
public DescribeApplicationConfigResponseBody.Data.Builder envs(String envs)
The environment variables. Variable description:
[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
public DescribeApplicationConfigResponseBody.Data.Builder gpuCount(String gpuCount)
public DescribeApplicationConfigResponseBody.Data.Builder gpuType(String gpuType)
public DescribeApplicationConfigResponseBody.Data.Builder headlessPvtzDiscovery(String headlessPvtzDiscovery)
public DescribeApplicationConfigResponseBody.Data.Builder html(String html)
public DescribeApplicationConfigResponseBody.Data.Builder idleHour(String idleHour)
public DescribeApplicationConfigResponseBody.Data.Builder imagePullSecrets(String imagePullSecrets)
The ID of the corresponding secret dictionary.
example:10
public DescribeApplicationConfigResponseBody.Data.Builder imageUrl(String imageUrl)
The URL of the image. This parameter is returned only if the PackageType parameter is set to Image.
example:docker.io/library/nginx:1.14.2
public DescribeApplicationConfigResponseBody.Data.Builder initContainersConfig(List<DescribeApplicationConfigResponseBody.InitContainersConfig> initContainersConfig)
Initialize container configuration.
public DescribeApplicationConfigResponseBody.Data.Builder isStateful(Boolean isStateful)
public DescribeApplicationConfigResponseBody.Data.Builder jarStartArgs(String jarStartArgs)
The arguments in the JAR package. The arguments are used to start the application container. The default startup command is $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
start
public DescribeApplicationConfigResponseBody.Data.Builder jarStartOptions(String jarStartOptions)
The option settings in the JAR package. The settings are used to start the application container. The default startup command is $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
-Dtest=true
public DescribeApplicationConfigResponseBody.Data.Builder jdk(String jdk)
The version of the Java development kit (JDK) on which the deployment package of the application depends. The following versions are supported:
This parameter is not returned if the PackageType parameter is set to Image.
example:Open JDK 8
public DescribeApplicationConfigResponseBody.Data.Builder kafkaConfigs(String kafkaConfigs)
The logging configurations of Message Queue for Apache Kafka. The following parameters are involved:
KafkaConfigs: the configurations of Message Queue for Apache Kafka.
createTime: the time when the Message Queue for Apache Kafka instance was created.
kafkaTopic: the message topic that is used to classify messages.
logDir: the path in which logs are stored.
logType: the type of collected logs. Valid values:
kafkaEndpoint: the endpoint of the Message Queue for Apache Kafka service.
kafkaInstanceId: the ID of the Message Queue for Apache Kafka instance.
region: the region where the Message Queue for Apache Kafka instance resides.
public DescribeApplicationConfigResponseBody.Data.Builder labels(Map<String,String> labels)
public DescribeApplicationConfigResponseBody.Data.Builder liveness(String liveness)
The details of the availability check that was performed on the container. If the container fails this health check multiple times, the system disables and restarts the container. You can use one of the following methods to perform the health check:
{"exec":{"command":["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}{"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}{"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}You can use only one method to perform the health check.
The following parameters are involved:
{"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":3}
public DescribeApplicationConfigResponseBody.Data.Builder lokiConfigs(String lokiConfigs)
public DescribeApplicationConfigResponseBody.Data.Builder maxSurgeInstanceRatio(Integer maxSurgeInstanceRatio)
public DescribeApplicationConfigResponseBody.Data.Builder maxSurgeInstances(Integer maxSurgeInstances)
public DescribeApplicationConfigResponseBody.Data.Builder memory(Integer memory)
The size of memory required by each instance. Unit: MB. You cannot set this parameter to 0. The values of this parameter correspond to the values of the Cpu parameter:
2048
public DescribeApplicationConfigResponseBody.Data.Builder microRegistration(String microRegistration)
The Nacos registry. Valid values:
"0"
public DescribeApplicationConfigResponseBody.Data.Builder microRegistrationConfig(String microRegistrationConfig)
The configuration of registration center. Takes effect only the type of registration center is MSE enterprise Nacos.
example:{"instanceId":"mse-cn-1ls43******","namespace":"62ee12fb-c279-4da4-be96-21**********"}
public DescribeApplicationConfigResponseBody.Data.Builder microserviceEngineConfig(String microserviceEngineConfig)
Configure microservices governance
enable: Whether to enable microservices governance
mseLosslessRule: Configure lossless online/offline deployment
{"Enable":true,"MseLosslessRule":{"enable":true,"notice":true,"delayTime":10,"warmupTime":120,"funcType":2,"aligned":false,"related":false,"lossLessDetail":false}}
public DescribeApplicationConfigResponseBody.Data.Builder minReadyInstanceRatio(Integer minReadyInstanceRatio)
The percentage of the minimum number of available instances. Valid values:
example:If the MinReadyInstance and MinReadyInstanceRatio parameters are returned and the value of the MinReadyInstanceRatio parameter is not -1, the value of the MinReadyInstanceRatio parameter takes effect. If the MinReadyInstances parameter is set to 5 and the MinReadyInstanceRatio parameter is set to 50, the value of the MinReadyInstanceRatio parameter determines the minimum number of available instances.
-1
public DescribeApplicationConfigResponseBody.Data.Builder minReadyInstances(Integer minReadyInstances)
The minimum number of available instances. Valid values:
example:Make sure that at least one instance is available during application deployment and rollback to prevent business interruptions.
1
public DescribeApplicationConfigResponseBody.Data.Builder mountDesc(List<DescribeApplicationConfigResponseBody.MountDesc> mountDesc)
The details of the mounted NAS file system.
public DescribeApplicationConfigResponseBody.Data.Builder mountHost(String mountHost)
The mount target of the NAS file system in the VPC where the application is deployed. If you do not need to modify this configuration during the deployment, configure the MountHost parameter only in the first request. You do not need to include this parameter in subsequent requests. If you need to remove this configuration, leave the MountHost parameter empty in the request.
example:example.com
public DescribeApplicationConfigResponseBody.Data.Builder mseApplicationId(String mseApplicationId)
The ID of the microservice application.
example:xxxxxxx@xxxxx
public DescribeApplicationConfigResponseBody.Data.Builder mseApplicationName(String mseApplicationName)
The application name of SAE service registered in MSE.
example:cn-shenzhen-alb-demo-5c****
public DescribeApplicationConfigResponseBody.Data.Builder namespaceId(String namespaceId)
The ID of the namespace.
example:cn-beijing:test
public DescribeApplicationConfigResponseBody.Data.Builder nasConfigs(String nasConfigs)
The configurations for mounting the NAS file system.
example:[{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}]
public DescribeApplicationConfigResponseBody.Data.Builder nasId(String nasId)
The ID of the NAS file system.
example:AKSN89**
public DescribeApplicationConfigResponseBody.Data.Builder newSaeVersion(String newSaeVersion)
The SAE application edition.
pro
public DescribeApplicationConfigResponseBody.Data.Builder oidcRoleName(String oidcRoleName)
The name of the RAM role used to authenticate the user identity.
example:You need to create an OpenID Connect (OIDC) identity provider (IdP) and an identity provider (IdP) for role-based single sign-on (SSO) in advance. For more information, see Creates an OpenID Connect (OIDC) identity provider (IdP) and Creates an identity provider (IdP) for role-based single sign-on (SSO).
sae-test
public DescribeApplicationConfigResponseBody.Data.Builder ossAkId(String ossAkId)
The AccessKey ID that is used to read data from and write data to Object Storage Service (OSS) buckets.
example:xxxxxx
public DescribeApplicationConfigResponseBody.Data.Builder ossAkSecret(String ossAkSecret)
The AccessKey secret that is used to read data from and write data to OSS buckets.
example:xxxxxx
public DescribeApplicationConfigResponseBody.Data.Builder ossMountDescs(List<DescribeApplicationConfigResponseBody.OssMountDescs> ossMountDescs)
The description of the mounted OSS bucket.
public DescribeApplicationConfigResponseBody.Data.Builder packageType(String packageType)
The type of the deployment package. Valid values:
If you deploy the application by using a Java Archive (JAR) package, you can set this parameter to FatJar, War, or Image.
If you deploy the application by using a PHP package, you can set this parameter to one of the following values:
War
public DescribeApplicationConfigResponseBody.Data.Builder packageUrl(String packageUrl)
The URL of the deployment package. This parameter is returned only if the PackageType parameter is set to FatJar or War.
public DescribeApplicationConfigResponseBody.Data.Builder packageVersion(String packageVersion)
The version of the deployment package. This parameter is returned only if the PackageType parameter is set to FatJar or War.
example:1.0
public DescribeApplicationConfigResponseBody.Data.Builder php(String php)
The version of PHP supporting PHP deployment packages. Image is not supported.
example:PHP-FPM 7.0
public DescribeApplicationConfigResponseBody.Data.Builder phpArmsConfigLocation(String phpArmsConfigLocation)
The path on which the PHP configuration file for application monitoring is mounted. Make sure that the PHP server loads the configuration file.
SAE automatically generates the corresponding configuration file. No manual operations are required.
example:/usr/local/etc/php/conf.d/arms.ini
public DescribeApplicationConfigResponseBody.Data.Builder phpConfig(String phpConfig)
The details of the PHP configuration file.
example:k1=v1
public DescribeApplicationConfigResponseBody.Data.Builder phpConfigLocation(String phpConfigLocation)
The path on which the PHP configuration file for application startup is mounted. Make sure that the PHP server uses this configuration file during the startup.
example:/usr/local/etc/php/php.ini
public DescribeApplicationConfigResponseBody.Data.Builder postStart(String postStart)
The script that is run immediately after the container is started. Example: {"exec":{"command":["cat","/etc/group"]}}
{"exec":{"command":["cat","/etc/group"]}}
public DescribeApplicationConfigResponseBody.Data.Builder preStop(String preStop)
The script that is run before the container is stopped. Example: {"exec":{"command":["cat","/etc/group"]}}
{"exec":{"command":["cat","/etc/group"]}}
public DescribeApplicationConfigResponseBody.Data.Builder programmingLanguage(String programmingLanguage)
The programming language that is used to create the application. Valid values:
java
public DescribeApplicationConfigResponseBody.Data.Builder pvtzDiscovery(String pvtzDiscovery)
Enable K8s Service discovery and registration.
example:{"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true}
public DescribeApplicationConfigResponseBody.Data.Builder python(String python)
The Python environment. PYTHON 3.9.15 is supported.
example:PYTHON 3.9.15
public DescribeApplicationConfigResponseBody.Data.Builder pythonModules(String pythonModules)
The configurations for installing custom module dependencies. By default, the dependencies defined by the requirements.txt file in the root directory are installed. If no software package is configured, you can specify dependencies based on your business requirements.
example:Flask==2.0
public DescribeApplicationConfigResponseBody.Data.Builder readiness(String readiness)
The details of the health check that was performed on the container. If the container fails this health check multiple times, the system disables and restarts the container. Containers that fail health checks cannot receive traffic from Server Load Balancer (SLB) instances. You can use the exec, httpGet, or tcpSocket method to perform health checks. For more information, see the description of the Liveness parameter.
example:You can use only one method to perform the health check.
{"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":5}
public DescribeApplicationConfigResponseBody.Data.Builder regionId(String regionId)
The ID of the region.
example:cn-beijing
public DescribeApplicationConfigResponseBody.Data.Builder replicas(Integer replicas)
The number of application instances.
example:2
public DescribeApplicationConfigResponseBody.Data.Builder resourceType(String resourceType)
The type of the resource. Set the value to application.
application
public DescribeApplicationConfigResponseBody.Data.Builder secretMountDesc(List<DescribeApplicationConfigResponseBody.DataSecretMountDesc> secretMountDesc)
Secret mount description.
public DescribeApplicationConfigResponseBody.Data.Builder securityGroupId(String securityGroupId)
The ID of the security group.
example:sg-wz969ngg2e49q5i4****
public DescribeApplicationConfigResponseBody.Data.Builder serviceTags(Map<String,String> serviceTags)
The canary tag configured for the application.
public DescribeApplicationConfigResponseBody.Data.Builder sidecarContainersConfig(List<DescribeApplicationConfigResponseBody.SidecarContainersConfig> sidecarContainersConfig)
The configuration of the Sidecar container.
public DescribeApplicationConfigResponseBody.Data.Builder slsConfigs(String slsConfigs)
The logging configurations of Log Service.
[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].The following parameters are involved:
If you do not need to modify the logging configurations when you deploy the application, configure the SlsConfigs parameter only in the first request. You do not need to include this parameter in subsequent requests. If you no longer need to use Log Service, leave the SlsConfigs parameter empty in the request.
example:[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
public DescribeApplicationConfigResponseBody.Data.Builder slsLogEnvTags(String slsLogEnvTags)
public DescribeApplicationConfigResponseBody.Data.Builder startupProbe(String startupProbe)
Enable startup probe.
example:{"exec":{"command":["/bin/sh","-c","#!Note: If microservice config is enabled, the application will be automatically injected with the prestop configuration for lossless offline. If you delete this prestop configuration, lossless offline will not be effective.\n echo stop > /tmp/prestop; /home/admin/.tools/curl http://127.0.0.1:54199/offline; sleep 30"]}}
public DescribeApplicationConfigResponseBody.Data.Builder swimlanePvtzDiscovery(String swimlanePvtzDiscovery)
Configuration of K8s Service discovery and registration, and full-chain gray-release feature.
example:{"enable":"false","namespaceId":"cn-beijing:test","portAndProtocol":{"2000:TCP":"18081"},"portProtocols":[{"port":2000,"protocol":"TCP","targetPort":18081}],"pvtzDiscoveryName":"cn-beijing-1421801774382676","serviceId":"3513","serviceName":"demo-gray.test"}
public DescribeApplicationConfigResponseBody.Data.Builder tags(List<DescribeApplicationConfigResponseBody.Tags> tags)
The details of the tags.
public DescribeApplicationConfigResponseBody.Data.Builder terminationGracePeriodSeconds(Integer terminationGracePeriodSeconds)
The timeout period for a graceful shutdown. Default value: 30. Unit: seconds. Valid values: 1 to 300.
example:10
public DescribeApplicationConfigResponseBody.Data.Builder timezone(String timezone)
The time zone. Default value: Asia/Shanghai.
example:Asia/Shanghai
public DescribeApplicationConfigResponseBody.Data.Builder tomcatConfig(String tomcatConfig)
The Tomcat configuration. If you want to delete the configuration, set this parameter to {} or leave this parameter empty. The following parameters are involved:
{"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true}
public DescribeApplicationConfigResponseBody.Data.Builder updateStrategy(String updateStrategy)
The deployment policy. If the minimum number of available instances is 1, the value of the UpdateStrategy parameter is an empty string (""). If the minimum number of available instances is greater than 1, the following strategies can be configured:
{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}.{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}.{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}The following parameters are involved:
type: the type of the release policy. Valid values: GrayBatchUpdate and BatchUpdate.
batchUpdate: the phased release policy.
grayUpdate: the number of release batches in the phased release after a canary release. This parameter is returned only if the type parameter is set to GrayBatchUpdate.
{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}
public DescribeApplicationConfigResponseBody.Data.Builder vSwitchId(String vSwitchId)
The ID of the vSwitch.
example:vsw-2ze559r1z1bpwqxwp****
public DescribeApplicationConfigResponseBody.Data.Builder vpcId(String vpcId)
The ID of the virtual private cloud (VPC).
example:vpc-2ze0i263cnn311nvj****
public DescribeApplicationConfigResponseBody.Data.Builder warStartOptions(String warStartOptions)
The option settings in the WAR package. The settings are used to start the application container. The default startup command is java $JAVA_OPTS $CATALINA_OPTS -Options org.apache.catalina.startup.Bootstrap "$@" start.
custom-option
public DescribeApplicationConfigResponseBody.Data.Builder webContainer(String webContainer)
The version of the Tomcat container on which the deployment package depends. Valid values:
This parameter is not returned if the PackageType parameter is set to Image.
example:apache-tomcat-7.0.91
public DescribeApplicationConfigResponseBody.Data build()
Copyright © 2026. All rights reserved.