Class 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+
Inherited Members
Namespace: Pulumi.AliCloud.Edas
Assembly: Pulumi.AliCloud.dll
Syntax
public class Application : CustomResource
Constructors
View SourceApplication(String, ApplicationArgs, CustomResourceOptions)
Create a Application resource with the given unique name, arguments, and options.
Declaration
public Application(string name, ApplicationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ApplicationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceApplicationName
Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
Declaration
public Output<string> ApplicationName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
BuildPackId
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.
Declaration
public Output<int?> BuildPackId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
ClusterId
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.
Declaration
public Output<string> ClusterId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Descriotion
The description of the application that you want to create.
Declaration
public Output<string> Descriotion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EcuInfos
The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
Declaration
public Output<ImmutableArray<string>> EcuInfos { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
GroupId
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.
Declaration
public Output<string> GroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HealthCheckUrl
The URL for health checking of the application.
Declaration
public Output<string> HealthCheckUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LogicalRegionId
The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
Declaration
public Output<string> LogicalRegionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PackageType
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.
Declaration
public Output<string> PackageType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PackageVersion
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.
Declaration
public Output<string> PackageVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
WarUrl
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.
Declaration
public Output<string> WarUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ApplicationState, CustomResourceOptions)
Get an existing Application resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Application Get(string name, Input<string> id, ApplicationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ApplicationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Application |