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.
- Name
Regex string A regex string to filter results by the application name.
- Output
File 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.
Ali Cloud. Edas. Outputs. Get Applications Application> 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.
- Name
Regex string - Output
File string
- Applications
[]Get
Applications Application 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.
- Name
Regex string - Output
File string
- applications
Get
Applications Application[] 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.
- name
Regex string - output
File string
- applications
List[Get
Applications Application] 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.
- App
Id string The ID of the application that you want to deploy.
- App
Name string The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.
- Application
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
Package intId The package ID of Enterprise Distributed Application Service (EDAS) Container.
- Cluster
Id string The ID of the cluster that you want to create the application.
- Cluster
Type int The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
- Create
Time int Application’s creation time.
- Health
Check stringUrl The URL for health checking of the application.
- Instance
Count int Number of instances.
- Region
Id string The ID of the namespace the application belongs to.
- Running
Instance intCount Number of running instances.
- Slb
Id string The ID of the SLB instance that is going to be bound.
- Slb
Ip string The IP address that is allocated to the bound SLB instance.
- Slb
Port int The port of intranet SLB.
- App
Id string The ID of the application that you want to deploy.
- App
Name string The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.
- Application
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
Package intId The package ID of Enterprise Distributed Application Service (EDAS) Container.
- Cluster
Id string The ID of the cluster that you want to create the application.
- Cluster
Type int The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
- Create
Time int Application’s creation time.
- Health
Check stringUrl The URL for health checking of the application.
- Instance
Count int Number of instances.
- Region
Id string The ID of the namespace the application belongs to.
- Running
Instance intCount Number of running instances.
- Slb
Id string The ID of the SLB instance that is going to be bound.
- Slb
Ip string The IP address that is allocated to the bound SLB instance.
- Slb
Port int The port of intranet SLB.
- app
Id string The ID of the application that you want to deploy.
- app
Name string The name of your EDAS application. Only letters ‘-’ ‘_’ and numbers are allowed. The length cannot exceed 36 characters.
- application
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
Package numberId The package ID of Enterprise Distributed Application Service (EDAS) Container.
- cluster
Id string The ID of the cluster that you want to create the application.
- cluster
Type number The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
- create
Time number Application’s creation time.
- health
Check stringUrl The URL for health checking of the application.
- instance
Count number Number of instances.
- region
Id string The ID of the namespace the application belongs to.
- running
Instance numberCount Number of running instances.
- slb
Id string The ID of the SLB instance that is going to be bound.
- slb
Ip string The IP address that is allocated to the bound SLB instance.
- slb
Port number The port of intranet SLB.
- app
Name 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.
- application
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
Package floatId 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_ strurl The URL for health checking of the application.
- instance
Count float Number of instances.
- region
Id str The ID of the namespace the application belongs to.
- running
Instance floatCount Number of running instances.
- slb
Port 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
alicloudTerraform Provider.