GetApplications

This data source provides a list of EDAS application in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.82.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var applications = Output.Create(AliCloud.Edas.GetApplications.InvokeAsync(new AliCloud.Edas.GetApplicationsArgs
        {
            Ids = 
            {
                "xxx",
            },
            OutputFile = "application.txt",
        }));
        this.FirstApplicationName = applications.Apply(applications => applications.Applications[0].AppName);
    }

    [Output("firstApplicationName")]
    public Output<string> FirstApplicationName { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

applications = alicloud.edas.get_applications(ids=["xxx"],
    output_file="application.txt")
pulumi.export("firstApplicationName", applications.applications[0]["appName"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const applications = alicloud.edas.getApplications({
    ids: ["xxx"],
    outputFile: "application.txt",
});
export const firstApplicationName = applications.then(applications => applications.applications[0].appName);

Using GetApplications

function getApplications(args: GetApplicationsArgs, opts?: InvokeOptions): Promise<GetApplicationsResult>
function  get_applications(ids=None, name_regex=None, output_file=None, opts=None)
func GetApplications(ctx *Context, args *GetApplicationsArgs, opts ...InvokeOption) (*GetApplicationsResult, error)
public static class GetApplications {
    public static Task<GetApplicationsResult> InvokeAsync(GetApplicationsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

An ids string to filter results by the application id.

NameRegex string

A regex string to filter results by the application name.

OutputFile string
Ids []string

An ids string to filter results by the application id.

NameRegex string

A regex string to filter results by the application name.

OutputFile string
ids string[]

An ids string to filter results by the application id.

nameRegex string

A regex string to filter results by the application name.

outputFile string
ids List[str]

An ids string to filter results by the application id.

name_regex str

A regex string to filter results by the application name.

output_file str

GetApplications Result

The following output properties are available:

Applications List<Pulumi.AliCloud.Edas.Outputs.GetApplicationsApplication>

A list of applications.

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of application IDs.

Names List<string>

A list of applications names.

NameRegex string
OutputFile string
Applications []GetApplicationsApplication

A list of applications.

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of application IDs.

Names []string

A list of applications names.

NameRegex string
OutputFile string
applications GetApplicationsApplication[]

A list of applications.

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of application IDs.

names string[]

A list of applications names.

nameRegex string
outputFile string
applications List[GetApplicationsApplication]

A list of applications.

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of application IDs.

names List[str]

A list of applications names.

name_regex str
output_file str

Supporting Types

GetApplicationsApplication

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

AppId string

The ID of the application that you want to deploy.

AppName string

The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.

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

BuildPackageId int

The package ID of Enterprise Distributed Application Service (EDAS) Container.

ClusterId string

The ID of the cluster that you want to create the application.

ClusterType int

The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.

CreateTime int

Application’s creation time.

HealthCheckUrl string

The URL for health checking of the application.

InstanceCount int

Number of instances.

RegionId string

The ID of the namespace the application belongs to.

RunningInstanceCount int

Number of running instances.

SlbId string

The ID of the SLB instance that is going to be bound.

SlbIp string

The IP address that is allocated to the bound SLB instance.

SlbPort int

The port of intranet SLB.

AppId string

The ID of the application that you want to deploy.

AppName string

The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.

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

BuildPackageId int

The package ID of Enterprise Distributed Application Service (EDAS) Container.

ClusterId string

The ID of the cluster that you want to create the application.

ClusterType int

The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.

CreateTime int

Application’s creation time.

HealthCheckUrl string

The URL for health checking of the application.

InstanceCount int

Number of instances.

RegionId string

The ID of the namespace the application belongs to.

RunningInstanceCount int

Number of running instances.

SlbId string

The ID of the SLB instance that is going to be bound.

SlbIp string

The IP address that is allocated to the bound SLB instance.

SlbPort int

The port of intranet SLB.

appId string

The ID of the application that you want to deploy.

appName string

The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.

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

buildPackageId number

The package ID of Enterprise Distributed Application Service (EDAS) Container.

clusterId string

The ID of the cluster that you want to create the application.

clusterType number

The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.

createTime number

Application’s creation time.

healthCheckUrl string

The URL for health checking of the application.

instanceCount number

Number of instances.

regionId string

The ID of the namespace the application belongs to.

runningInstanceCount number

Number of running instances.

slbId string

The ID of the SLB instance that is going to be bound.

slbIp string

The IP address that is allocated to the bound SLB instance.

slbPort number

The port of intranet SLB.

appName str

The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.

app_id str

The ID of the application that you want to deploy.

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

buildPackageId float

The package ID of Enterprise Distributed Application Service (EDAS) Container.

cluster_id str

The ID of the cluster that you want to create the application.

cluster_type float

The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.

create_time float

Application’s creation time.

health_check_url str

The URL for health checking of the application.

instanceCount float

Number of instances.

regionId str

The ID of the namespace the application belongs to.

runningInstanceCount float

Number of running instances.

slbPort float

The port of intranet SLB.

slb_id str

The ID of the SLB instance that is going to be bound.

slb_ip str

The IP address that is allocated to the bound SLB instance.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.