ALIYUN::EDAS::Application is used to create an application in an Elastic Compute Service (ECS) cluster in Enterprise Distributed Application Service (EDAS).
Syntax
{
"Type": "ALIYUN::EDAS::Application",
"Properties": {
"ApplicationName": String,
"HealthCheckURL": String,
"Description": String,
"ClusterId": String,
"PackageType": String,
"BuildPackId": Integer,
"EcuInfo": String,
"ComponentIds": String,
"LogicalRegionId": String,
"ResourceGroupId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
ApplicationName | String | Yes | Yes | The name of the application. | The name must be 1 to 36 characters in length and can contain digits, letters, hyphens (-), and underscores (_). The name must start with a letter. |
HealthCheckURL | String | No | No | The health check URL of the application. | None. |
Description | String | No | Yes | The description of the application. | None. |
ClusterId | String | Yes | No | The ID of the ECS cluster in which you want to create the application. If you leave this property empty, the application is created in the default ECS cluster. | None. |
PackageType | String | No | No | The type of the deployment package. | Valid values:
|
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
BuildPackId | Integer | No | No | The build package number of EDAS Container. To obtain the build package number of EDAS container, you can call the ListBuildPack operation or see the "Build package number" column of the Release notes for EDAS Container topic. | This property must be specified when you create a High-Speed Service Framework (HSF) application. |
EcuInfo | String | No | No | The IDs of the Elastic Compute Units (ECUs) that you want to scale out. The ID of an ECU indicates the unique identifier of an ECS instance that is imported to EDAS. | Separate multiple ECU IDs with commas (,). You can call the ListScaleOutEcu operation to query the ECU IDs. |
ComponentIds | String | No | No | The ID of the application component. Note If you use EDAS SDK for Java or EDAS SDK for Python, make sure that the SDK version is V2.57.3 or later when you specify this property. If you do not use EDAS SDK, you can directly specify this property. For example, you can directly set this property to aliyun-python-sdk-core, aliyun-java-sdk-core, or aliyun cli if you use the relevant component. | This property must be specified when you use the Apache Tomcat runtime to create a Dubbo application based on a WAR package or use the standard Java runtime to create a Spring Boot or Spring Cloud application based on a JAR package. Valid values:
|
LogicalRegionId | String | No | No | The namespace ID. Example: |
Set this property to the ID of the namespace to which the cluster that you specify belongs. To obtain the namespace ID, perform the following operations: Log on to the EDAS console. Choose Resource Management > Microservice Namespaces. On the page that appears, view the namespace ID. |
Return values
Fn::GetAtt
Port: the port number of the application. Default value: 8080.
AppId: the application ID. An application ID uniquely identifies an EDAS application.