Skip to content

ApplicationProps

Properties for defining a Application.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-application

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkedas"
&alicloudroscdkedas.ApplicationProps {
    ApplicationName: interface{},
    ClusterId: interface{},
    BuildPackId: interface{},
    ComponentIds: interface{},
    Deployment: interface{},
    Description: interface{},
    EcuInfo: interface{},
    HealthCheckUrl: interface{},
    LogicalRegionId: interface{},
    PackageType: interface{},
    ResourceGroupId: interface{},
}

Properties

Name Type Description
ApplicationName interface{} Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters).
ClusterId interface{} Property clusterId: Cluster ID of ECS application.
BuildPackId interface{} 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 interface{} 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 interface{} Property deployment: Deploy application information to ECS clusters.
Description interface{} Property description: Descriptive information.
EcuInfo interface{} 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 interface{} Property healthCheckUrl: Application Health Check URL.
LogicalRegionId interface{} Property logicalRegionId: Namespace ID.
PackageType interface{} Property packageType: Application packet format, possible values: war or jar.
ResourceGroupId interface{} Property resourceGroupId: Resource group id.

ApplicationNameRequired

ApplicationName interface{}
  • Type: interface{}

Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters).


ClusterIdRequired

ClusterId interface{}
  • Type: interface{}

Property clusterId: Cluster ID of ECS application.


BuildPackIdOptional

BuildPackId interface{}
  • Type: interface{}

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


ComponentIdsOptional

ComponentIds interface{}
  • Type: interface{}

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


DeploymentOptional

Deployment interface{}
  • Type: interface{}

Property deployment: Deploy application information to ECS clusters.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Descriptive information.


EcuInfoOptional

EcuInfo interface{}
  • Type: interface{}

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).


HealthCheckUrlOptional

HealthCheckUrl interface{}
  • Type: interface{}

Property healthCheckUrl: Application Health Check URL.


LogicalRegionIdOptional

LogicalRegionId interface{}
  • Type: interface{}

Property logicalRegionId: Namespace ID.


PackageTypeOptional

PackageType interface{}
  • Type: interface{}

Property packageType: Application packet format, possible values: war or jar.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group id.