alicloud.edas.Application
Explore with Pulumi AI
Creates an EDAS ecs application on EDAS, see What is EDAS Application. The application will be deployed when group_id
and war_url
are given.
NOTE: Available since v1.82.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const default = alicloud.getRegions({
current: true,
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: `${name}-${defaultInteger.result}`,
cidrBlock: "10.4.0.0/16",
});
const defaultCluster = new alicloud.edas.Cluster("default", {
clusterName: `${name}-${defaultInteger.result}`,
clusterType: 2,
networkMode: 2,
logicalRegionId: _default.then(_default => _default.regions?.[0]?.id),
vpcId: defaultNetwork.id,
});
const defaultApplication = new alicloud.edas.Application("default", {
applicationName: `${name}-${defaultInteger.result}`,
clusterId: defaultCluster.id,
packageType: "JAR",
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default_integer = random.index.Integer("default",
min=10000,
max=99999)
default = alicloud.get_regions(current=True)
default_network = alicloud.vpc.Network("default",
vpc_name=f"{name}-{default_integer['result']}",
cidr_block="10.4.0.0/16")
default_cluster = alicloud.edas.Cluster("default",
cluster_name=f"{name}-{default_integer['result']}",
cluster_type=2,
network_mode=2,
logical_region_id=default.regions[0].id,
vpc_id=default_network.id)
default_application = alicloud.edas.Application("default",
application_name=f"{name}-{default_integer['result']}",
cluster_id=default_cluster.id,
package_type="JAR")
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/edas"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
CidrBlock: pulumi.String("10.4.0.0/16"),
})
if err != nil {
return err
}
defaultCluster, err := edas.NewCluster(ctx, "default", &edas.ClusterArgs{
ClusterName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
ClusterType: pulumi.Int(2),
NetworkMode: pulumi.Int(2),
LogicalRegionId: pulumi.String(_default.Regions[0].Id),
VpcId: defaultNetwork.ID(),
})
if err != nil {
return err
}
_, err = edas.NewApplication(ctx, "default", &edas.ApplicationArgs{
ApplicationName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
ClusterId: defaultCluster.ID(),
PackageType: pulumi.String("JAR"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var @default = AliCloud.GetRegions.Invoke(new()
{
Current = true,
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = $"{name}-{defaultInteger.Result}",
CidrBlock = "10.4.0.0/16",
});
var defaultCluster = new AliCloud.Edas.Cluster("default", new()
{
ClusterName = $"{name}-{defaultInteger.Result}",
ClusterType = 2,
NetworkMode = 2,
LogicalRegionId = @default.Apply(@default => @default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id)),
VpcId = defaultNetwork.Id,
});
var defaultApplication = new AliCloud.Edas.Application("default", new()
{
ApplicationName = $"{name}-{defaultInteger.Result}",
ClusterId = defaultCluster.Id,
PackageType = "JAR",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.edas.Cluster;
import com.pulumi.alicloud.edas.ClusterArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
final var default = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
.current(true)
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(String.format("%s-%s", name,defaultInteger.result()))
.cidrBlock("10.4.0.0/16")
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.clusterName(String.format("%s-%s", name,defaultInteger.result()))
.clusterType("2")
.networkMode("2")
.logicalRegionId(default_.regions()[0].id())
.vpcId(defaultNetwork.id())
.build());
var defaultApplication = new Application("defaultApplication", ApplicationArgs.builder()
.applicationName(String.format("%s-%s", name,defaultInteger.result()))
.clusterId(defaultCluster.id())
.packageType("JAR")
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultInteger:
type: random:integer
name: default
properties:
min: 10000
max: 99999
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: ${name}-${defaultInteger.result}
cidrBlock: 10.4.0.0/16
defaultCluster:
type: alicloud:edas:Cluster
name: default
properties:
clusterName: ${name}-${defaultInteger.result}
clusterType: '2'
networkMode: '2'
logicalRegionId: ${default.regions[0].id}
vpcId: ${defaultNetwork.id}
defaultApplication:
type: alicloud:edas:Application
name: default
properties:
applicationName: ${name}-${defaultInteger.result}
clusterId: ${defaultCluster.id}
packageType: JAR
variables:
default:
fn::invoke:
Function: alicloud:getRegions
Arguments:
current: true
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_name: Optional[str] = None,
cluster_id: Optional[str] = None,
package_type: Optional[str] = None,
build_pack_id: Optional[int] = 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_version: Optional[str] = None,
war_url: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var alicloudApplicationResource = new AliCloud.Edas.Application("alicloudApplicationResource", new()
{
ApplicationName = "string",
ClusterId = "string",
PackageType = "string",
BuildPackId = 0,
Descriotion = "string",
EcuInfos = new[]
{
"string",
},
GroupId = "string",
HealthCheckUrl = "string",
LogicalRegionId = "string",
PackageVersion = "string",
WarUrl = "string",
});
example, err := edas.NewApplication(ctx, "alicloudApplicationResource", &edas.ApplicationArgs{
ApplicationName: pulumi.String("string"),
ClusterId: pulumi.String("string"),
PackageType: pulumi.String("string"),
BuildPackId: pulumi.Int(0),
Descriotion: pulumi.String("string"),
EcuInfos: pulumi.StringArray{
pulumi.String("string"),
},
GroupId: pulumi.String("string"),
HealthCheckUrl: pulumi.String("string"),
LogicalRegionId: pulumi.String("string"),
PackageVersion: pulumi.String("string"),
WarUrl: pulumi.String("string"),
})
var alicloudApplicationResource = new Application("alicloudApplicationResource", ApplicationArgs.builder()
.applicationName("string")
.clusterId("string")
.packageType("string")
.buildPackId(0)
.descriotion("string")
.ecuInfos("string")
.groupId("string")
.healthCheckUrl("string")
.logicalRegionId("string")
.packageVersion("string")
.warUrl("string")
.build());
alicloud_application_resource = alicloud.edas.Application("alicloudApplicationResource",
application_name="string",
cluster_id="string",
package_type="string",
build_pack_id=0,
descriotion="string",
ecu_infos=["string"],
group_id="string",
health_check_url="string",
logical_region_id="string",
package_version="string",
war_url="string")
const alicloudApplicationResource = new alicloud.edas.Application("alicloudApplicationResource", {
applicationName: "string",
clusterId: "string",
packageType: "string",
buildPackId: 0,
descriotion: "string",
ecuInfos: ["string"],
groupId: "string",
healthCheckUrl: "string",
logicalRegionId: "string",
packageVersion: "string",
warUrl: "string",
});
type: alicloud:edas:Application
properties:
applicationName: string
buildPackId: 0
clusterId: string
descriotion: string
ecuInfos:
- string
groupId: string
healthCheckUrl: string
logicalRegionId: string
packageType: string
packageVersion: string
warUrl: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Application resource accepts the following input properties:
- Application
Name string - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- Cluster
Id 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.
- Package
Type 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.
- Build
Pack intId - 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.
- Ecu
Infos List<string> - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- Group
Id 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.
- Health
Check stringUrl - The URL for health checking of the application.
- Logical
Region stringId - 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 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.
- War
Url 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 string - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- Cluster
Id 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.
- Package
Type 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.
- Build
Pack intId - 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.
- Ecu
Infos []string - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- Group
Id 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.
- Health
Check stringUrl - The URL for health checking of the application.
- Logical
Region stringId - 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 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.
- War
Url 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 String - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- cluster
Id 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.
- package
Type 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.
- build
Pack IntegerId - 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.
- ecu
Infos List<String> - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- group
Id 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.
- health
Check StringUrl - The URL for health checking of the application.
- logical
Region StringId - 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 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.
- war
Url 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 string - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- cluster
Id 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.
- package
Type 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.
- build
Pack numberId - 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.
- ecu
Infos string[] - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- group
Id 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.
- health
Check stringUrl - The URL for health checking of the application.
- logical
Region stringId - 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 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.
- war
Url 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_ intid - 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_ strurl - The URL for health checking of the application.
- logical_
region_ strid - 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.
- application
Name String - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- cluster
Id 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.
- package
Type 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.
- build
Pack NumberId - 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.
- ecu
Infos List<String> - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- group
Id 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.
- health
Check StringUrl - The URL for health checking of the application.
- logical
Region StringId - 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 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.
- war
Url 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.
- Application
Name string - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- Build
Pack intId - 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 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.
- Ecu
Infos List<string> - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- Group
Id 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.
- Health
Check stringUrl - The URL for health checking of the application.
- Logical
Region stringId - 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 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.
- Package
Version 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.
- War
Url 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 string - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- Build
Pack intId - 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 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.
- Ecu
Infos []string - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- Group
Id 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.
- Health
Check stringUrl - The URL for health checking of the application.
- Logical
Region stringId - 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 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.
- Package
Version 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.
- War
Url 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 String - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- build
Pack IntegerId - 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 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.
- ecu
Infos List<String> - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- group
Id 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.
- health
Check StringUrl - The URL for health checking of the application.
- logical
Region StringId - 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 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.
- package
Version 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.
- war
Url 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 string - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- build
Pack numberId - 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 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.
- ecu
Infos string[] - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- group
Id 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.
- health
Check stringUrl - The URL for health checking of the application.
- logical
Region stringId - 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 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.
- package
Version 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.
- war
Url 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_ intid - 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_ strurl - The URL for health checking of the application.
- logical_
region_ strid - 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.
- application
Name String - Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
- build
Pack NumberId - 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 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.
- ecu
Infos List<String> - The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- group
Id 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.
- health
Check StringUrl - The URL for health checking of the application.
- logical
Region StringId - 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 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.
- package
Version 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.
- war
Url 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.