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.

edas

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.

class pulumi_alicloud.edas.Application(resource_name, opts=None, application_name=None, build_pack_id=None, cluster_id=None, descriotion=None, ecu_infos=None, group_id=None, health_check_url=None, logical_region_id=None, package_type=None, package_version=None, war_url=None, __props__=None, __name__=None, __opts__=None)

Creates an EDAS ecs application on EDAS. The application will be deployed when group_id and war_url are given.

NOTE: Available in 1.82.0+

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.edas.Application("default",
    application_name="xxx",
    cluster_id="xxx",
    package_type="JAR",
    build_pack_id=xxx,
    descriotion="xxx",
    health_check_url="xxx",
    logical_region_id="cn-xxxx:xxx",
    component_ids=xxx,
    ecu_infos=["xxx"],
    group_id="xxx",
    package_version="xxx",
    war_url="http://xxx")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • application*name (pulumi.Input[str]) –

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

  • build_pack_id (pulumi.Input[float]) – 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 (pulumi.Input[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 (pulumi.Input[str]) – The description of the application that you want to create.

  • ecu_infos (pulumi.Input[list]) – The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

  • group_id (pulumi.Input[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_url (pulumi.Input[str]) – The URL for health checking of the application.

  • logical_region_id (pulumi.Input[str]) – 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 (pulumi.Input[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 (pulumi.Input[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 (pulumi.Input[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: pulumi.Output[str] = None

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

build_pack_id: pulumi.Output[float] = None

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: pulumi.Output[str] = None

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: pulumi.Output[str] = None

The description of the application that you want to create.

ecu_infos: pulumi.Output[list] = None

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

group_id: pulumi.Output[str] = None

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_url: pulumi.Output[str] = None

The URL for health checking of the application.

logical_region_id: pulumi.Output[str] = None

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: pulumi.Output[str] = None

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: pulumi.Output[str] = None

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: pulumi.Output[str] = None

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.

static get(resource_name, id, opts=None, application_name=None, build_pack_id=None, cluster_id=None, descriotion=None, ecu_infos=None, group_id=None, health_check_url=None, logical_region_id=None, package_type=None, package_version=None, war_url=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • application*name (pulumi.Input[str]) –

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

  • build_pack_id (pulumi.Input[float]) – 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 (pulumi.Input[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 (pulumi.Input[str]) – The description of the application that you want to create.

  • ecu_infos (pulumi.Input[list]) – The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

  • group_id (pulumi.Input[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_url (pulumi.Input[str]) – The URL for health checking of the application.

  • logical_region_id (pulumi.Input[str]) – 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 (pulumi.Input[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 (pulumi.Input[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 (pulumi.Input[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.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_alicloud.edas.ApplicationDeployment(resource_name, opts=None, app_id=None, group_id=None, package_version=None, war_url=None, __props__=None, __name__=None, __opts__=None)

Create a ApplicationDeployment resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] app_id: The ID of the application that you want to deploy. :param pulumi.Input[str] group_id: 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. :param pulumi.Input[str] package_version: 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. :param pulumi.Input[str] war_url: 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.

app_id: pulumi.Output[str] = None

The ID of the application that you want to deploy.

group_id: pulumi.Output[str] = None

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.

last_package_version: pulumi.Output[str] = None

Last package version deployed.

package_version: pulumi.Output[str] = None

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: pulumi.Output[str] = None

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.

static get(resource_name, id, opts=None, app_id=None, group_id=None, last_package_version=None, package_version=None, war_url=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_id (pulumi.Input[str]) – The ID of the application that you want to deploy.

  • group_id (pulumi.Input[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.

  • last_package_version (pulumi.Input[str]) – Last package version deployed.

  • package_version (pulumi.Input[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 (pulumi.Input[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.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_alicloud.edas.ApplicationScale(resource_name, opts=None, app_id=None, deploy_group=None, ecu_infos=None, force_status=None, __props__=None, __name__=None, __opts__=None)

Create a ApplicationScale resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] app_id: The ID of the application that you want to deploy. :param pulumi.Input[str] deploy_group: The ID of the instance group to which you want to add ECS instances to scale out the application. :param pulumi.Input[list] ecu_infos: The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List. :param pulumi.Input[bool] force_status: 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.

app_id: pulumi.Output[str] = None

The ID of the application that you want to deploy.

deploy_group: pulumi.Output[str] = None

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

ecc_info: pulumi.Output[str] = None

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

ecu_infos: pulumi.Output[list] = None

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

force_status: pulumi.Output[bool] = None

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.

static get(resource_name, id, opts=None, app_id=None, deploy_group=None, ecc_info=None, ecu_infos=None, force_status=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_id (pulumi.Input[str]) – The ID of the application that you want to deploy.

  • deploy_group (pulumi.Input[str]) – The ID of the instance group to which you want to add ECS instances to scale out the application.

  • ecc_info (pulumi.Input[str]) – The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

  • ecu_infos (pulumi.Input[list]) – The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

  • force_status (pulumi.Input[bool]) – 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.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_alicloud.edas.AwaitableGetApplicationsResult(applications=None, id=None, ids=None, name_regex=None, names=None, output_file=None)
class pulumi_alicloud.edas.AwaitableGetClustersResult(clusters=None, id=None, ids=None, logical_region_id=None, name_regex=None, names=None, output_file=None)
class pulumi_alicloud.edas.AwaitableGetDeployGroupsResult(app_id=None, groups=None, id=None, name_regex=None, names=None, output_file=None)
class pulumi_alicloud.edas.Cluster(resource_name, opts=None, cluster_name=None, cluster_type=None, logical_region_id=None, network_mode=None, vpc_id=None, __props__=None, __name__=None, __opts__=None)

Provides an EDAS cluster resource.

NOTE: Available in 1.82.0+

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.edas.Cluster("default",
    cluster_name=var["cluster_name"],
    cluster_type=var["cluster_type"],
    network_mode=var["network_mode"],
    logical_region_id=var["logical_region_id"],
    vpc_id=var["vpc_id"])
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • cluster_name (pulumi.Input[str]) – The name of the cluster that you want to create.

  • cluster_type (pulumi.Input[float]) – The type of the cluster that you want to create. Valid values only: 2: ECS cluster.

  • logical_region_id (pulumi.Input[str]) – The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

  • network_mode (pulumi.Input[float]) – The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

  • vpc_id (pulumi.Input[str]) – The ID of the Virtual Private Cloud (VPC) for the cluster.

cluster_name: pulumi.Output[str] = None

The name of the cluster that you want to create.

cluster_type: pulumi.Output[float] = None

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

logical_region_id: pulumi.Output[str] = None

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

network_mode: pulumi.Output[float] = None

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

vpc_id: pulumi.Output[str] = None

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

static get(resource_name, id, opts=None, cluster_name=None, cluster_type=None, logical_region_id=None, network_mode=None, vpc_id=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • cluster_name (pulumi.Input[str]) – The name of the cluster that you want to create.

  • cluster_type (pulumi.Input[float]) – The type of the cluster that you want to create. Valid values only: 2: ECS cluster.

  • logical_region_id (pulumi.Input[str]) – The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

  • network_mode (pulumi.Input[float]) – The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

  • vpc_id (pulumi.Input[str]) – The ID of the Virtual Private Cloud (VPC) for the cluster.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_alicloud.edas.DeployGroup(resource_name, opts=None, app_id=None, group_name=None, __props__=None, __name__=None, __opts__=None)

Provides an EDAS deploy group resource.

NOTE: Available in 1.82.0+

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.edas.DeployGroup("default",
    app_id=var["app_id"],
    group_name=var["group_name"])
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_id (pulumi.Input[str]) – The ID of the application that you want to deploy.

  • group_name (pulumi.Input[str]) – The name of the instance group that you want to create.

app_id: pulumi.Output[str] = None

The ID of the application that you want to deploy.

group_name: pulumi.Output[str] = None

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

group_type: pulumi.Output[float] = None

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.

static get(resource_name, id, opts=None, app_id=None, group_name=None, group_type=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_id (pulumi.Input[str]) – The ID of the application that you want to deploy.

  • group_name (pulumi.Input[str]) – The name of the instance group that you want to create.

  • group_type (pulumi.Input[float]) – 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.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_alicloud.edas.GetApplicationsResult(applications=None, id=None, ids=None, name_regex=None, names=None, output_file=None)

A collection of values returned by getApplications.

applications = None

A list of applications.

id = None

The provider-assigned unique ID for this managed resource.

ids = None

A list of application IDs.

names = None

A list of applications names.

class pulumi_alicloud.edas.GetClustersResult(clusters=None, id=None, ids=None, logical_region_id=None, name_regex=None, names=None, output_file=None)

A collection of values returned by getClusters.

clusters = None

A list of clusters.

id = None

The provider-assigned unique ID for this managed resource.

ids = None

A list of cluster IDs.

names = None

A list of cluster names.

class pulumi_alicloud.edas.GetDeployGroupsResult(app_id=None, groups=None, id=None, name_regex=None, names=None, output_file=None)

A collection of values returned by getDeployGroups.

app_id = None

The ID of the application that you want to deploy.

groups = None

A list of consumer group ids.

id = None

The provider-assigned unique ID for this managed resource.

names = None

A list of deploy group names.

class pulumi_alicloud.edas.InstanceClusterAttachment(resource_name, opts=None, cluster_id=None, instance_ids=None, __props__=None, __name__=None, __opts__=None)

Provides an EDAS instance cluster attachment resource.

NOTE: Available in 1.82.0+

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.edas.InstanceClusterAttachment("default",
    cluster_id=var["cluster_id"],
    instance_ids=var["instance_ids"])
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • cluster_id (pulumi.Input[str]) – The ID of the cluster that you want to create the application.

  • instance_ids (pulumi.Input[list]) – The ID of instance. Type: list.

cluster_id: pulumi.Output[str] = None

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

cluster_member_ids: pulumi.Output[dict] = None

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

ecu_map: pulumi.Output[dict] = None

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

instance_ids: pulumi.Output[list] = None

The ID of instance. Type: list.

status_map: pulumi.Output[dict] = None

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

static get(resource_name, id, opts=None, cluster_id=None, cluster_member_ids=None, ecu_map=None, instance_ids=None, status_map=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • cluster_id (pulumi.Input[str]) – The ID of the cluster that you want to create the application.

  • cluster_member_ids (pulumi.Input[dict]) – The cluster members map of the resource supplied above. The key is instance_id and the value is cluster_member_id.

  • ecu_map (pulumi.Input[dict]) – The ecu map of the resource supplied above. The key is instance_id and the value is ecu_id.

  • instance_ids (pulumi.Input[list]) – The ID of instance. Type: list.

  • status_map (pulumi.Input[dict]) – The status map of the resource supplied above. The key is instance_id and the values are 1(running) 0(converting) -1(failed) and -2(offline).

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_alicloud.edas.SlbAttachment(resource_name, opts=None, app_id=None, listener_port=None, slb_id=None, slb_ip=None, type=None, vserver_group_id=None, __props__=None, __name__=None, __opts__=None)

Binds SLB to an EDAS application.

NOTE: Available in 1.82.0+

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.edas.SlbAttachment("default",
    app_id=var["app_id"],
    slb_id=var["slb_id"],
    slb_ip=var["slb_ip"],
    type=var["type"],
    listener_port=var["listener_port"],
    vserver_group_id=var["vserver_group_id"])
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_id (pulumi.Input[str]) – The ID of the applicaton to which you want to bind an SLB instance.

  • listener_port (pulumi.Input[float]) – The listening port for the bound SLB instance.

  • slb_id (pulumi.Input[str]) – The ID of the SLB instance that is going to be bound.

  • slb_ip (pulumi.Input[str]) – The IP address that is allocated to the bound SLB instance.

  • type (pulumi.Input[str]) – The type of the bound SLB instance.

  • vserver_group_id (pulumi.Input[str]) – The ID of the virtual server (VServer) group associated with the intranet SLB instance.

app_id: pulumi.Output[str] = None

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

listener_port: pulumi.Output[float] = None

The listening port for the bound SLB instance.

slb_id: pulumi.Output[str] = None

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

slb_ip: pulumi.Output[str] = None

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

slb_status: pulumi.Output[str] = None

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.

type: pulumi.Output[str] = None

The type of the bound SLB instance.

vserver_group_id: pulumi.Output[str] = None

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

vswitch_id: pulumi.Output[str] = None

VPC related vswitch ID.

static get(resource_name, id, opts=None, app_id=None, listener_port=None, slb_id=None, slb_ip=None, slb_status=None, type=None, vserver_group_id=None, vswitch_id=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_id (pulumi.Input[str]) – The ID of the applicaton to which you want to bind an SLB instance.

  • listener_port (pulumi.Input[float]) – The listening port for the bound SLB instance.

  • slb_id (pulumi.Input[str]) – The ID of the SLB instance that is going to be bound.

  • slb_ip (pulumi.Input[str]) – The IP address that is allocated to the bound SLB instance.

  • slb_status (pulumi.Input[str]) – 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.

  • type (pulumi.Input[str]) – The type of the bound SLB instance.

  • vserver_group_id (pulumi.Input[str]) – The ID of the virtual server (VServer) group associated with the intranet SLB instance.

  • vswitch_id (pulumi.Input[str]) – VPC related vswitch ID.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

pulumi_alicloud.edas.get_applications(ids=None, name_regex=None, output_file=None, opts=None)

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+

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"])
Parameters
  • ids (list) – An ids string to filter results by the application id.

  • name_regex (str) – A regex string to filter results by the application name.

pulumi_alicloud.edas.get_clusters(ids=None, logical_region_id=None, name_regex=None, output_file=None, opts=None)

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+

import pulumi
import pulumi_alicloud as alicloud

clusters = alicloud.edas.get_clusters(logical_region_id="cn-shenzhen:xxx",
    ids=["addfs-dfsasd"],
    output_file="clusters.txt")
pulumi.export("firstClusterName", data["actiontrail.getConsumerGroups"]["clusters"]["clusters"][0]["cluster_name"])
Parameters
  • ids (list) – An ids string to filter results by the cluster id.

  • logical_region_id (str) – ID of the namespace in EDAS.

  • name_regex (str) – A regex string to filter results by the cluster name.

pulumi_alicloud.edas.get_deploy_groups(app_id=None, name_regex=None, output_file=None, opts=None)

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+

import pulumi
import pulumi_alicloud as alicloud

groups = alicloud.edas.get_deploy_groups(app_id="xxx",
    ids=["xxx"],
    output_file="groups.txt")
pulumi.export("firstGroupName", groups.groups[0]["group_name"])
Parameters
  • app_id (str) – ID of the EDAS application.

  • name_regex (str) – A regex string to filter results by the deploy group name.