Skip to content

ApplicationProps

Properties for defining a Application.

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

Initializer

import ros_cdk_edas
ros_cdk_edas.ApplicationProps(
  application_name: typing.Union[str, IResolvable],
  cluster_id: typing.Union[str, IResolvable],
  build_pack_id: typing.Union[typing.Union[int, float], IResolvable] = None,
  component_ids: typing.Union[str, IResolvable] = None,
  deployment: typing.Union[IResolvable, DeploymentProperty] = None,
  description: typing.Union[str, IResolvable] = None,
  ecu_info: typing.Union[str, IResolvable] = None,
  health_check_url: typing.Union[str, IResolvable] = None,
  logical_region_id: typing.Union[str, IResolvable] = None,
  package_type: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
application_name typing.Union[str, ros_cdk_core.IResolvable] Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters).
cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property clusterId: Cluster ID of ECS application.
build_pack_id typing.Union[typing.Union[int, float], 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).
component_ids typing.Union[str, 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 typing.Union[ros_cdk_core.IResolvable, DeploymentProperty] Property deployment: Deploy application information to ECS clusters.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Descriptive information.
ecu_info typing.Union[str, 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).
health_check_url typing.Union[str, ros_cdk_core.IResolvable] Property healthCheckUrl: Application Health Check URL.
logical_region_id typing.Union[str, ros_cdk_core.IResolvable] Property logicalRegionId: Namespace ID.
package_type typing.Union[str, ros_cdk_core.IResolvable] Property packageType: Application packet format, possible values: war or jar.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.

application_nameRequired

application_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


cluster_idRequired

cluster_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterId: Cluster ID of ECS application.


build_pack_idOptional

build_pack_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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


component_idsOptional

component_ids: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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


deploymentOptional

deployment: typing.Union[IResolvable, DeploymentProperty]

Property deployment: Deploy application information to ECS clusters.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: Descriptive information.


ecu_infoOptional

ecu_info: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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).


health_check_urlOptional

health_check_url: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property healthCheckUrl: Application Health Check URL.


logical_region_idOptional

logical_region_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property logicalRegionId: Namespace ID.


package_typeOptional

package_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: Resource group id.