ApplicationProps
Properties for defining a Application
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-application
Initializer
import com.aliyun.ros.cdk.edas.ApplicationProps;
ApplicationProps.builder()
.applicationName(java.lang.String)
.applicationName(IResolvable)
.clusterId(java.lang.String)
.clusterId(IResolvable)
// .buildPackId(java.lang.Number)
// .buildPackId(IResolvable)
// .componentIds(java.lang.String)
// .componentIds(IResolvable)
// .deployment(IResolvable)
// .deployment(DeploymentProperty)
// .description(java.lang.String)
// .description(IResolvable)
// .ecuInfo(java.lang.String)
// .ecuInfo(IResolvable)
// .healthCheckUrl(java.lang.String)
// .healthCheckUrl(IResolvable)
// .logicalRegionId(java.lang.String)
// .logicalRegionId(IResolvable)
// .packageType(java.lang.String)
// .packageType(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
applicationName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters). |
clusterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property clusterId: Cluster ID of ECS application. |
buildPackId |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property buildPackId: EDAS-Container construct a packet number (available version list acquired through the ListBuildPack API (ConfigId of response) or "container version" table "Building packet number" column acquisition). |
componentIds |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property componentIds: Application component ID (available through the query interface to obtain a list of components to the interface ListComponents), when creating the application runtime environment using Apache Tomcat (war packet format Dubbo Application required) or standard Java application (jar package format Spring Boot \/ Spring Cloud applications require) you need to specify when the operating environment. |
deployment |
com.aliyun.ros.cdk.core.IResolvable OR DeploymentProperty |
Property deployment: Deploy application information to ECS clusters. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Descriptive information. |
ecuInfo |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecuInfo: Machine capacity is needed ecu_id (ECS Examples introducing another unique identity EDAS EDAS), the plurality of "," separated (by querying ListScaleOutEcu wherein ecu_id Interface to obtain). |
healthCheckUrl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckUrl: Application Health Check URL. |
logicalRegionId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property logicalRegionId: Namespace ID. |
packageType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property packageType: Application packet format, possible values: war or jar. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: Resource group id. |
applicationName
Required
public java.lang.Object getApplicationName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters).
clusterId
Required
public java.lang.Object getClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterId: Cluster ID of ECS application.
buildPackId
Optional
public java.lang.Object getBuildPackId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property buildPackId: EDAS-Container construct a packet number (available version list acquired through the ListBuildPack API (ConfigId of response) or "container version" table "Building packet number" column acquisition).
When creating HSF application, this parameter must be specified
componentIds
Optional
public java.lang.Object getComponentIds();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property componentIds: Application component ID (available through the query interface to obtain a list of components to the interface ListComponents), when creating the application runtime environment using Apache Tomcat (war packet format Dubbo Application required) or standard Java application (jar package format Spring Boot \/ Spring Cloud applications require) you need to specify when the operating environment.
Commonly used application component ID and meaning: 4 represents Apache Tomcat 7.0.91,7 represented Apache Tomcat 8.5.42,5 represented OpenJDK 1.8.x, 6 represents OpenJDK 1.7.x
deployment
Optional
public java.lang.Object getDeployment();
- Type: com.aliyun.ros.cdk.core.IResolvable OR DeploymentProperty
Property deployment: Deploy application information to ECS clusters.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Descriptive information.
ecuInfo
Optional
public java.lang.Object getEcuInfo();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecuInfo: Machine capacity is needed ecu_id (ECS Examples introducing another unique identity EDAS EDAS), the plurality of "," separated (by querying ListScaleOutEcu wherein ecu_id Interface to obtain).
healthCheckUrl
Optional
public java.lang.Object getHealthCheckUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckUrl: Application Health Check URL.
logicalRegionId
Optional
public java.lang.Object getLogicalRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property logicalRegionId: Namespace ID.
packageType
Optional
public java.lang.Object getPackageType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property packageType: Application packet format, possible values: war or jar.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group id.