public static final class InsertApplicationRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
InsertApplicationRequest.Builder |
applicationName(String applicationName)
The name of the application.
|
InsertApplicationRequest |
build() |
InsertApplicationRequest.Builder |
buildPackId(Integer buildPackId)
The build package number of EDAS Container.
|
InsertApplicationRequest.Builder |
clusterId(String clusterId)
The ID of the ECS cluster in which you want to create the application.
|
InsertApplicationRequest.Builder |
componentIds(String componentIds)
The ID of the application component.
|
InsertApplicationRequest.Builder |
cpu(Integer cpu)
The number of CPU cores that can be used by the application container in a Swarm cluster.
|
InsertApplicationRequest.Builder |
description(String description)
The description of the application.
|
InsertApplicationRequest.Builder |
ecuInfo(String ecuInfo)
The value of `ecu_id` of the ECS instance to be added during scale-out.
|
InsertApplicationRequest.Builder |
enablePortCheck(Boolean enablePortCheck)
Specifies whether to enable the port health check.
|
InsertApplicationRequest.Builder |
enableUrlCheck(Boolean enableUrlCheck)
Specifies whether to enable the URL health check.
|
InsertApplicationRequest.Builder |
healthCheckUrl(String healthCheckUrl)
The health check URL of the application.
|
InsertApplicationRequest.Builder |
healthCheckURL(String healthCheckURL)
The health check URL of the application.
|
InsertApplicationRequest.Builder |
hooks(String hooks)
The script to mount.
|
InsertApplicationRequest.Builder |
jdk(String jdk)
The version of the Java Development Kit (JDK) used to deploy the application.
|
InsertApplicationRequest.Builder |
jvmOptions(String jvmOptions)
The custom parameters.
|
InsertApplicationRequest.Builder |
logicalRegionId(String logicalRegionId)
The ID of the microservices namespace.
|
InsertApplicationRequest.Builder |
maxHeapSize(Integer maxHeapSize)
The maximum size of the heap memory.
|
InsertApplicationRequest.Builder |
maxPermSize(Integer maxPermSize)
The size of the permanent generation heap memory.
|
InsertApplicationRequest.Builder |
mem(Integer mem)
The memory size that can be used by the application container in a Swarm cluster.
|
InsertApplicationRequest.Builder |
minHeapSize(Integer minHeapSize)
The initial size of the heap memory.
|
InsertApplicationRequest.Builder |
packageType(String packageType)
The type of the application deployment package.
|
InsertApplicationRequest.Builder |
reservedPortStr(String reservedPortStr)
The reserved port for the application.
|
InsertApplicationRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
InsertApplicationRequest.Builder |
webContainer(String webContainer)
The version of Apache Tomcat.
|
public InsertApplicationRequest.Builder applicationName(String applicationName)
public InsertApplicationRequest.Builder buildPackId(Integer buildPackId)
* Call the ListBuildPack operation. For more information, see [ListBuildPack](~~149391~~). * Obtain the value in the **Build package number** column of the [Release notes for EDAS Container](~~92614~~) topic.
public InsertApplicationRequest.Builder clusterId(String clusterId)
public InsertApplicationRequest.Builder componentIds(String componentIds)
This parameter is required if the application runs in Apache Tomcat or in a standard Java application runtime environment. The Apache Tomcat application runtime environment is applicable to Dubbo applications that are deployed by using WAR packages. A standard Java application runtime environment is applicable to Spring Boot or Spring Cloud applications that are deployed by using JAR packages. Valid values for common application components: * 4: Apache Tomcat 7.0.91 * 7: Apache Tomcat 8.5.42 * 5: OpenJDK 1.8.x * 6: OpenJDK 1.7.x This parameter is available only for Java SDK 2.57.3 or later, or Python SDK 2.57.3 or later. Assume that you use an SDK that is not provided by EDAS, for example, aliyun-python-sdk-core, aliyun-java-sdk-core, and Alibaba Cloud CLI. In this case, you can directly specify this parameter.
public InsertApplicationRequest.Builder cpu(Integer cpu)
public InsertApplicationRequest.Builder description(String description)
public InsertApplicationRequest.Builder ecuInfo(String ecuInfo)
public InsertApplicationRequest.Builder enablePortCheck(Boolean enablePortCheck)
* **true**: enable the port health check. * **false**: does not enable the port health check.
public InsertApplicationRequest.Builder enableUrlCheck(Boolean enableUrlCheck)
* **true**: enables the URL health check. * **false**: does not enable the URL health check.
public InsertApplicationRequest.Builder healthCheckURL(String healthCheckURL)
public InsertApplicationRequest.Builder healthCheckUrl(String healthCheckUrl)
public InsertApplicationRequest.Builder hooks(String hooks)
public InsertApplicationRequest.Builder jdk(String jdk)
public InsertApplicationRequest.Builder jvmOptions(String jvmOptions)
public InsertApplicationRequest.Builder logicalRegionId(String logicalRegionId)
* This parameter is required if the cluster you specify is not deployed in the default microservices namespace. Otherwise, the message `application regionId is different with cluster regionId!` appears. * If the cluster you specify is deployed in the default microservices namespace, you do not need to specify this parameter. Set this parameter to the ID of the microservices namespace in which the cluster you specify is deployed.
public InsertApplicationRequest.Builder maxHeapSize(Integer maxHeapSize)
public InsertApplicationRequest.Builder maxPermSize(Integer maxPermSize)
public InsertApplicationRequest.Builder mem(Integer mem)
public InsertApplicationRequest.Builder minHeapSize(Integer minHeapSize)
public InsertApplicationRequest.Builder packageType(String packageType)
public InsertApplicationRequest.Builder reservedPortStr(String reservedPortStr)
public InsertApplicationRequest.Builder resourceGroupId(String resourceGroupId)
public InsertApplicationRequest.Builder webContainer(String webContainer)
public InsertApplicationRequest build()
Copyright © 2023. All rights reserved.