Application

Creates an EDAS ecs application on EDAS. The application will be deployed when group_id and war_url are given.

NOTE: Available in 1.82.0+

Example Usage

Basic Usage

Coming soon!

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.edas.Application;
import com.pulumi.alicloud.edas.ApplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var default_ = new Application("default", ApplicationArgs.builder()        
            .applicationName("xxx")
            .clusterId("xxx")
            .packageType("JAR")
            .buildPackId(xxx)
            .descriotion("xxx")
            .healthCheckUrl("xxx")
            .logicalRegionId("cn-xxxx:xxx")
            .componentIds(xxx)
            .ecuInfos("xxx")
            .groupId("xxx")
            .packageVersion("xxx")
            .warUrl("http://xxx")
            .build());

    }
}

Coming soon!

Coming soon!

resources:
  default:
    type: alicloud:edas:Application
    properties:
      applicationName: xxx
      clusterId: xxx
      packageType: JAR
      buildPackId: ${xxx}
      descriotion: xxx
      healthCheckUrl: xxx
      logicalRegionId: cn-xxxx:xxx
      componentIds: ${xxx}
      ecuInfos:
        - xxx
      groupId: xxx
      packageVersion: xxx
      warUrl: http://xxx

Create Application Resource

new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                application_name: Optional[str] = None,
                build_pack_id: Optional[int] = None,
                cluster_id: Optional[str] = None,
                descriotion: Optional[str] = None,
                ecu_infos: Optional[Sequence[str]] = None,
                group_id: Optional[str] = None,
                health_check_url: Optional[str] = None,
                logical_region_id: Optional[str] = None,
                package_type: Optional[str] = None,
                package_version: Optional[str] = None,
                war_url: Optional[str] = None)
@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: alicloud:edas:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Application Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Application resource accepts the following input properties:

ApplicationName string

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

ClusterId string

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

PackageType string

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

BuildPackId int

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

Descriotion string

The description of the application that you want to create.

EcuInfos List<string>

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

GroupId string

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

HealthCheckUrl string

The URL for health checking of the application.

LogicalRegionId string

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

PackageVersion string

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

WarUrl string

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

ApplicationName string

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

ClusterId string

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

PackageType string

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

BuildPackId int

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

Descriotion string

The description of the application that you want to create.

EcuInfos []string

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

GroupId string

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

HealthCheckUrl string

The URL for health checking of the application.

LogicalRegionId string

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

PackageVersion string

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

WarUrl string

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

applicationName String

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

clusterId String

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

packageType String

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

buildPackId Integer

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

descriotion String

The description of the application that you want to create.

ecuInfos List<String>

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

groupId String

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

healthCheckUrl String

The URL for health checking of the application.

logicalRegionId String

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

packageVersion String

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

warUrl String

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

applicationName string

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

clusterId string

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

packageType string

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

buildPackId number

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

descriotion string

The description of the application that you want to create.

ecuInfos string[]

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

groupId string

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

healthCheckUrl string

The URL for health checking of the application.

logicalRegionId string

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

packageVersion string

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

warUrl string

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

application_name str

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

cluster_id str

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

package_type str

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

build_pack_id int

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

descriotion str

The description of the application that you want to create.

ecu_infos Sequence[str]

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

group_id str

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

health_check_url str

The URL for health checking of the application.

logical_region_id str

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

package_version str

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

war_url str

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

applicationName String

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

clusterId String

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

packageType String

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

buildPackId Number

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

descriotion String

The description of the application that you want to create.

ecuInfos List<String>

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

groupId String

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

healthCheckUrl String

The URL for health checking of the application.

logicalRegionId String

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

packageVersion String

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

warUrl String

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

Outputs

All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing Application Resource

Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_name: Optional[str] = None,
        build_pack_id: Optional[int] = None,
        cluster_id: Optional[str] = None,
        descriotion: Optional[str] = None,
        ecu_infos: Optional[Sequence[str]] = None,
        group_id: Optional[str] = None,
        health_check_url: Optional[str] = None,
        logical_region_id: Optional[str] = None,
        package_type: Optional[str] = None,
        package_version: Optional[str] = None,
        war_url: Optional[str] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ApplicationName string

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

BuildPackId int

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

ClusterId string

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

Descriotion string

The description of the application that you want to create.

EcuInfos List<string>

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

GroupId string

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

HealthCheckUrl string

The URL for health checking of the application.

LogicalRegionId string

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

PackageType string

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

PackageVersion string

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

WarUrl string

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

ApplicationName string

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

BuildPackId int

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

ClusterId string

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

Descriotion string

The description of the application that you want to create.

EcuInfos []string

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

GroupId string

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

HealthCheckUrl string

The URL for health checking of the application.

LogicalRegionId string

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

PackageType string

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

PackageVersion string

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

WarUrl string

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

applicationName String

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

buildPackId Integer

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

clusterId String

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

descriotion String

The description of the application that you want to create.

ecuInfos List<String>

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

groupId String

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

healthCheckUrl String

The URL for health checking of the application.

logicalRegionId String

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

packageType String

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

packageVersion String

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

warUrl String

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

applicationName string

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

buildPackId number

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

clusterId string

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

descriotion string

The description of the application that you want to create.

ecuInfos string[]

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

groupId string

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

healthCheckUrl string

The URL for health checking of the application.

logicalRegionId string

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

packageType string

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

packageVersion string

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

warUrl string

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

application_name str

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

build_pack_id int

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

cluster_id str

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

descriotion str

The description of the application that you want to create.

ecu_infos Sequence[str]

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

group_id str

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

health_check_url str

The URL for health checking of the application.

logical_region_id str

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

package_type str

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

package_version str

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

war_url str

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

applicationName String

Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

buildPackId Number

The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.

clusterId String

The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.

descriotion String

The description of the application that you want to create.

ecuInfos List<String>

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

groupId String

The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.

healthCheckUrl String

The URL for health checking of the application.

logicalRegionId String

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

packageType String

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

packageVersion String

The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.

warUrl String

The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.

Import

EDAS application can be imported using the id, e.g.

 $ pulumi import alicloud:edas/application:Application app app_Id

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.