Module edas

This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-alicloud repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-alicloud repo.

Resources

Functions

Others

Resources

Resource Application

class Application extends CustomResource

Creates an EDAS ecs application on EDAS. The application will be deployed when groupId and warUrl are given.

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.edas.Application("default", {
    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",
});

constructor

new Application(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions)

Create a Application resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Application

Returns true if the given object is an instance of Application. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property applicationName

public applicationName: pulumi.Output<string>;

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

property buildPackId

public buildPackId: pulumi.Output<number | undefined>;

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.

property clusterId

public clusterId: pulumi.Output<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.

property descriotion

public descriotion: pulumi.Output<string | undefined>;

The description of the application that you want to create.

property ecuInfos

public ecuInfos: pulumi.Output<string[] | undefined>;

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

property groupId

public groupId: pulumi.Output<string | undefined>;

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.

property healthCheckUrl

public healthCheckUrl: pulumi.Output<string | undefined>;

The URL for health checking of the application.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property logicalRegionId

public logicalRegionId: pulumi.Output<string | undefined>;

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

property packageType

public packageType: pulumi.Output<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.

property packageVersion

public packageVersion: pulumi.Output<string | undefined>;

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.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property warUrl

public warUrl: pulumi.Output<string | undefined>;

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.

Resource ApplicationDeployment

class ApplicationDeployment extends CustomResource

constructor

new ApplicationDeployment(name: string, args: ApplicationDeploymentArgs, opts?: pulumi.CustomResourceOptions)

Create a ApplicationDeployment resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationDeploymentState, opts?: pulumi.CustomResourceOptions): ApplicationDeployment

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is ApplicationDeployment

Returns true if the given object is an instance of ApplicationDeployment. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property appId

public appId: pulumi.Output<string>;

The ID of the application that you want to deploy.

property groupId

public groupId: pulumi.Output<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.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property lastPackageVersion

public lastPackageVersion: pulumi.Output<string>;

Last package version deployed.

property packageVersion

public packageVersion: pulumi.Output<string | undefined>;

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.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property warUrl

public warUrl: pulumi.Output<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.

Resource ApplicationScale

class ApplicationScale extends CustomResource

constructor

new ApplicationScale(name: string, args: ApplicationScaleArgs, opts?: pulumi.CustomResourceOptions)

Create a ApplicationScale resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationScaleState, opts?: pulumi.CustomResourceOptions): ApplicationScale

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is ApplicationScale

Returns true if the given object is an instance of ApplicationScale. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property appId

public appId: pulumi.Output<string>;

The ID of the application that you want to deploy.

property deployGroup

public deployGroup: pulumi.Output<string>;

The ID of the instance group to which you want to add ECS instances to scale out the application.

property eccInfo

public eccInfo: pulumi.Output<string>;

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

property ecuInfos

public ecuInfos: pulumi.Output<string[]>;

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

property forceStatus

public forceStatus: pulumi.Output<boolean | undefined>;

This parameter specifies whether to forcibly remove an ECS instance where the application is deployed. It is set as true only after the ECS instance expires. In normal cases, this parameter do not need to be specified.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource Cluster

class Cluster extends CustomResource

Provides an EDAS cluster resource.

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.edas.Cluster("default", {
    clusterName: _var.cluster_name,
    clusterType: _var.cluster_type,
    networkMode: _var.network_mode,
    logicalRegionId: _var.logical_region_id,
    vpcId: _var.vpc_id,
});

constructor

new Cluster(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions)

Create a Cluster resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Cluster

Returns true if the given object is an instance of Cluster. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property clusterName

public clusterName: pulumi.Output<string>;

The name of the cluster that you want to create.

property clusterType

public clusterType: pulumi.Output<number>;

The type of the cluster that you want to create. Valid values only: 2: ECS cluster.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property logicalRegionId

public logicalRegionId: pulumi.Output<string | undefined>;

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

property networkMode

public networkMode: pulumi.Output<number>;

The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpcId

public vpcId: pulumi.Output<string | undefined>;

The ID of the Virtual Private Cloud (VPC) for the cluster.

Resource DeployGroup

class DeployGroup extends CustomResource

Provides an EDAS deploy group resource.

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.edas.DeployGroup("default", {
    appId: _var.app_id,
    groupName: _var.group_name,
});

constructor

new DeployGroup(name: string, args: DeployGroupArgs, opts?: pulumi.CustomResourceOptions)

Create a DeployGroup resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeployGroupState, opts?: pulumi.CustomResourceOptions): DeployGroup

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is DeployGroup

Returns true if the given object is an instance of DeployGroup. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property appId

public appId: pulumi.Output<string>;

The ID of the application that you want to deploy.

property groupName

public groupName: pulumi.Output<string>;

The name of the instance group that you want to create.

property groupType

public groupType: pulumi.Output<number>;

The type of the instance group that you want to create. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource InstanceClusterAttachment

class InstanceClusterAttachment extends CustomResource

Provides an EDAS instance cluster attachment resource.

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.edas.InstanceClusterAttachment("default", {
    clusterId: _var.cluster_id,
    instanceIds: _var.instance_ids,
});

constructor

new InstanceClusterAttachment(name: string, args: InstanceClusterAttachmentArgs, opts?: pulumi.CustomResourceOptions)

Create a InstanceClusterAttachment resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceClusterAttachmentState, opts?: pulumi.CustomResourceOptions): InstanceClusterAttachment

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is InstanceClusterAttachment

Returns true if the given object is an instance of InstanceClusterAttachment. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property clusterId

public clusterId: pulumi.Output<string>;

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

property clusterMemberIds

public clusterMemberIds: pulumi.Output<{[key: string]: string}>;

The cluster members map of the resource supplied above. The key is instanceId and the value is cluster_member_id.

property ecuMap

public ecuMap: pulumi.Output<{[key: string]: string}>;

The ecu map of the resource supplied above. The key is instanceId and the value is ecu_id.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceIds

public instanceIds: pulumi.Output<string[]>;

The ID of instance. Type: list.

property statusMap

public statusMap: pulumi.Output<{[key: string]: number}>;

The status map of the resource supplied above. The key is instanceId and the values are 1(running) 0(converting) -1(failed) and -2(offline).

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource SlbAttachment

class SlbAttachment extends CustomResource

Binds SLB to an EDAS application.

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.edas.SlbAttachment("default", {
    appId: _var.app_id,
    slbId: _var.slb_id,
    slbIp: _var.slb_ip,
    type: _var.type,
    listenerPort: _var.listener_port,
    vserverGroupId: _var.vserver_group_id,
});

constructor

new SlbAttachment(name: string, args: SlbAttachmentArgs, opts?: pulumi.CustomResourceOptions)

Create a SlbAttachment resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SlbAttachmentState, opts?: pulumi.CustomResourceOptions): SlbAttachment

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is SlbAttachment

Returns true if the given object is an instance of SlbAttachment. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property appId

public appId: pulumi.Output<string>;

The ID of the applicaton to which you want to bind an SLB instance.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property listenerPort

public listenerPort: pulumi.Output<number | undefined>;

The listening port for the bound SLB instance.

property slbId

public slbId: pulumi.Output<string>;

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

property slbIp

public slbIp: pulumi.Output<string>;

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

property slbStatus

public slbStatus: pulumi.Output<string>;

Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and foward traffic. Active:The instance is running. After the instance is created, the default state is active. Locked:The instance is locked, the instance has been owed or locked by Alibaba Cloud. Expired: The instance has expired.

property type

public type: pulumi.Output<string>;

The type of the bound SLB instance.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vserverGroupId

public vserverGroupId: pulumi.Output<string | undefined>;

The ID of the virtual server (VServer) group associated with the intranet SLB instance.

property vswitchId

public vswitchId: pulumi.Output<string>;

VPC related vswitch ID.

Functions

Function getApplications

getApplications(args?: GetApplicationsArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationsResult>

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

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);

Function getClusters

getClusters(args: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>

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

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const clusters = alicloud.edas.getClusters({
    logicalRegionId: "cn-shenzhen:xxx",
    ids: ["addfs-dfsasd"],
    outputFile: "clusters.txt",
});
export const firstClusterName = data.alicloud_alikafka_consumer_groups.clusters.clusters[0].cluster_name;

Function getDeployGroups

getDeployGroups(args: GetDeployGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetDeployGroupsResult>

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

NOTE: Available in 1.82.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const groups = alicloud.edas.getDeployGroups({
    appId: "xxx",
    ids: ["xxx"],
    outputFile: "groups.txt",
});
export const firstGroupName = groups.then(groups => groups.groups[0].groupName);

Others

interface ApplicationArgs

interface ApplicationArgs

The set of arguments for constructing a Application resource.

property applicationName

applicationName: pulumi.Input<string>;

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

property buildPackId

buildPackId?: pulumi.Input<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.

property clusterId

clusterId: pulumi.Input<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.

property descriotion

descriotion?: pulumi.Input<string>;

The description of the application that you want to create.

property ecuInfos

ecuInfos?: pulumi.Input<pulumi.Input<string>[]>;

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

property groupId

groupId?: pulumi.Input<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.

property healthCheckUrl

healthCheckUrl?: pulumi.Input<string>;

The URL for health checking of the application.

property logicalRegionId

logicalRegionId?: pulumi.Input<string>;

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

property packageType

packageType: pulumi.Input<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.

property packageVersion

packageVersion?: pulumi.Input<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.

property warUrl

warUrl?: pulumi.Input<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.

interface ApplicationDeploymentArgs

interface ApplicationDeploymentArgs

The set of arguments for constructing a ApplicationDeployment resource.

property appId

appId: pulumi.Input<string>;

The ID of the application that you want to deploy.

property groupId

groupId: pulumi.Input<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.

property packageVersion

packageVersion?: pulumi.Input<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.

property warUrl

warUrl: pulumi.Input<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.

interface ApplicationDeploymentState

interface ApplicationDeploymentState

Input properties used for looking up and filtering ApplicationDeployment resources.

property appId

appId?: pulumi.Input<string>;

The ID of the application that you want to deploy.

property groupId

groupId?: pulumi.Input<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.

property lastPackageVersion

lastPackageVersion?: pulumi.Input<string>;

Last package version deployed.

property packageVersion

packageVersion?: pulumi.Input<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.

property warUrl

warUrl?: pulumi.Input<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.

interface ApplicationScaleArgs

interface ApplicationScaleArgs

The set of arguments for constructing a ApplicationScale resource.

property appId

appId: pulumi.Input<string>;

The ID of the application that you want to deploy.

property deployGroup

deployGroup: pulumi.Input<string>;

The ID of the instance group to which you want to add ECS instances to scale out the application.

property ecuInfos

ecuInfos: pulumi.Input<pulumi.Input<string>[]>;

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

property forceStatus

forceStatus?: pulumi.Input<boolean>;

This parameter specifies whether to forcibly remove an ECS instance where the application is deployed. It is set as true only after the ECS instance expires. In normal cases, this parameter do not need to be specified.

interface ApplicationScaleState

interface ApplicationScaleState

Input properties used for looking up and filtering ApplicationScale resources.

property appId

appId?: pulumi.Input<string>;

The ID of the application that you want to deploy.

property deployGroup

deployGroup?: pulumi.Input<string>;

The ID of the instance group to which you want to add ECS instances to scale out the application.

property eccInfo

eccInfo?: pulumi.Input<string>;

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

property ecuInfos

ecuInfos?: pulumi.Input<pulumi.Input<string>[]>;

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

property forceStatus

forceStatus?: pulumi.Input<boolean>;

This parameter specifies whether to forcibly remove an ECS instance where the application is deployed. It is set as true only after the ECS instance expires. In normal cases, this parameter do not need to be specified.

interface ApplicationState

interface ApplicationState

Input properties used for looking up and filtering Application resources.

property applicationName

applicationName?: pulumi.Input<string>;

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

property buildPackId

buildPackId?: pulumi.Input<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.

property clusterId

clusterId?: pulumi.Input<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.

property descriotion

descriotion?: pulumi.Input<string>;

The description of the application that you want to create.

property ecuInfos

ecuInfos?: pulumi.Input<pulumi.Input<string>[]>;

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

property groupId

groupId?: pulumi.Input<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.

property healthCheckUrl

healthCheckUrl?: pulumi.Input<string>;

The URL for health checking of the application.

property logicalRegionId

logicalRegionId?: pulumi.Input<string>;

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

property packageType

packageType?: pulumi.Input<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.

property packageVersion

packageVersion?: pulumi.Input<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.

property warUrl

warUrl?: pulumi.Input<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.

interface ClusterArgs

interface ClusterArgs

The set of arguments for constructing a Cluster resource.

property clusterName

clusterName: pulumi.Input<string>;

The name of the cluster that you want to create.

property clusterType

clusterType: pulumi.Input<number>;

The type of the cluster that you want to create. Valid values only: 2: ECS cluster.

property logicalRegionId

logicalRegionId?: pulumi.Input<string>;

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

property networkMode

networkMode: pulumi.Input<number>;

The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

property vpcId

vpcId?: pulumi.Input<string>;

The ID of the Virtual Private Cloud (VPC) for the cluster.

interface ClusterState

interface ClusterState

Input properties used for looking up and filtering Cluster resources.

property clusterName

clusterName?: pulumi.Input<string>;

The name of the cluster that you want to create.

property clusterType

clusterType?: pulumi.Input<number>;

The type of the cluster that you want to create. Valid values only: 2: ECS cluster.

property logicalRegionId

logicalRegionId?: pulumi.Input<string>;

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

property networkMode

networkMode?: pulumi.Input<number>;

The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

property vpcId

vpcId?: pulumi.Input<string>;

The ID of the Virtual Private Cloud (VPC) for the cluster.

interface DeployGroupArgs

interface DeployGroupArgs

The set of arguments for constructing a DeployGroup resource.

property appId

appId: pulumi.Input<string>;

The ID of the application that you want to deploy.

property groupName

groupName: pulumi.Input<string>;

The name of the instance group that you want to create.

interface DeployGroupState

interface DeployGroupState

Input properties used for looking up and filtering DeployGroup resources.

property appId

appId?: pulumi.Input<string>;

The ID of the application that you want to deploy.

property groupName

groupName?: pulumi.Input<string>;

The name of the instance group that you want to create.

property groupType

groupType?: pulumi.Input<number>;

The type of the instance group that you want to create. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

interface GetApplicationsArgs

interface GetApplicationsArgs

A collection of arguments for invoking getApplications.

property ids

ids?: string[];

An ids string to filter results by the application id.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by the application name.

property outputFile

outputFile?: undefined | string;

interface GetApplicationsResult

interface GetApplicationsResult

A collection of values returned by getApplications.

property applications

applications: GetApplicationsApplication[];

A list of applications.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

A list of application IDs.

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of applications names.

property outputFile

outputFile?: undefined | string;

interface GetClustersArgs

interface GetClustersArgs

A collection of arguments for invoking getClusters.

property ids

ids?: string[];

An ids string to filter results by the cluster id.

property logicalRegionId

logicalRegionId: string;

ID of the namespace in EDAS.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by the cluster name.

property outputFile

outputFile?: undefined | string;

interface GetClustersResult

interface GetClustersResult

A collection of values returned by getClusters.

property clusters

clusters: GetClustersCluster[];

A list of clusters.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

A list of cluster IDs.

property logicalRegionId

logicalRegionId: string;

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of cluster names.

property outputFile

outputFile?: undefined | string;

interface GetDeployGroupsArgs

interface GetDeployGroupsArgs

A collection of arguments for invoking getDeployGroups.

property appId

appId: string;

ID of the EDAS application.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by the deploy group name.

property outputFile

outputFile?: undefined | string;

interface GetDeployGroupsResult

interface GetDeployGroupsResult

A collection of values returned by getDeployGroups.

property appId

appId: string;

The ID of the application that you want to deploy.

property groups

groups: GetDeployGroupsGroup[];

A list of consumer group ids.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of deploy group names.

property outputFile

outputFile?: undefined | string;

interface InstanceClusterAttachmentArgs

interface InstanceClusterAttachmentArgs

The set of arguments for constructing a InstanceClusterAttachment resource.

property clusterId

clusterId: pulumi.Input<string>;

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

property instanceIds

instanceIds: pulumi.Input<pulumi.Input<string>[]>;

The ID of instance. Type: list.

interface InstanceClusterAttachmentState

interface InstanceClusterAttachmentState

Input properties used for looking up and filtering InstanceClusterAttachment resources.

property clusterId

clusterId?: pulumi.Input<string>;

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

property clusterMemberIds

clusterMemberIds?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

The cluster members map of the resource supplied above. The key is instanceId and the value is cluster_member_id.

property ecuMap

ecuMap?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

The ecu map of the resource supplied above. The key is instanceId and the value is ecu_id.

property instanceIds

instanceIds?: pulumi.Input<pulumi.Input<string>[]>;

The ID of instance. Type: list.

property statusMap

statusMap?: pulumi.Input<{[key: string]: pulumi.Input<number>}>;

The status map of the resource supplied above. The key is instanceId and the values are 1(running) 0(converting) -1(failed) and -2(offline).

interface SlbAttachmentArgs

interface SlbAttachmentArgs

The set of arguments for constructing a SlbAttachment resource.

property appId

appId: pulumi.Input<string>;

The ID of the applicaton to which you want to bind an SLB instance.

property listenerPort

listenerPort?: pulumi.Input<number>;

The listening port for the bound SLB instance.

property slbId

slbId: pulumi.Input<string>;

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

property slbIp

slbIp: pulumi.Input<string>;

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

property type

type: pulumi.Input<string>;

The type of the bound SLB instance.

property vserverGroupId

vserverGroupId?: pulumi.Input<string>;

The ID of the virtual server (VServer) group associated with the intranet SLB instance.

interface SlbAttachmentState

interface SlbAttachmentState

Input properties used for looking up and filtering SlbAttachment resources.

property appId

appId?: pulumi.Input<string>;

The ID of the applicaton to which you want to bind an SLB instance.

property listenerPort

listenerPort?: pulumi.Input<number>;

The listening port for the bound SLB instance.

property slbId

slbId?: pulumi.Input<string>;

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

property slbIp

slbIp?: pulumi.Input<string>;

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

property slbStatus

slbStatus?: pulumi.Input<string>;

Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and foward traffic. Active:The instance is running. After the instance is created, the default state is active. Locked:The instance is locked, the instance has been owed or locked by Alibaba Cloud. Expired: The instance has expired.

property type

type?: pulumi.Input<string>;

The type of the bound SLB instance.

property vserverGroupId

vserverGroupId?: pulumi.Input<string>;

The ID of the virtual server (VServer) group associated with the intranet SLB instance.

property vswitchId

vswitchId?: pulumi.Input<string>;

VPC related vswitch ID.